CN101907943A - Method and system for correcting software keyboard input and computer program product using the method - Google Patents

Method and system for correcting software keyboard input and computer program product using the method Download PDF

Info

Publication number
CN101907943A
CN101907943A CN2009101489495A CN200910148949A CN101907943A CN 101907943 A CN101907943 A CN 101907943A CN 2009101489495 A CN2009101489495 A CN 2009101489495A CN 200910148949 A CN200910148949 A CN 200910148949A CN 101907943 A CN101907943 A CN 101907943A
Authority
CN
China
Prior art keywords
model
coordinates
vertical
corrected
horizontal
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
Application number
CN2009101489495A
Other languages
Chinese (zh)
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
Application filed by HTC Corp filed Critical HTC Corp
Priority to CN2009101489495A priority Critical patent/CN101907943A/en
Publication of CN101907943A publication Critical patent/CN101907943A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

本发明是一种修正软件键盘输入的方法、系统以及使用此方法的计算机程序产品,该修正软件键盘输入的方法包括:取得使用者输入的第一触控落点坐标;自校正数据库取得校正水平模型以及校正垂直模型;将第一落点水平坐标以及第一落点垂直坐标分别套用校正水平模型及校正垂直模型以算出校正落点坐标;比较校正落点坐标与中心点坐标以判定使用者所欲输入的按键值。

Figure 200910148949

The present invention relates to a method and system for correcting software keyboard input, and a computer program product using the method. The method for correcting software keyboard input comprises: obtaining the coordinates of the first touch landing point input by the user; obtaining a correction horizontal model and a correction vertical model from a self-correction database; applying the correction horizontal model and the correction vertical model to the first landing point horizontal coordinate and the first landing point vertical coordinate respectively to calculate the correction landing point coordinates; and comparing the correction landing point coordinates with the center point coordinates to determine the key value that the user wants to input.

Figure 200910148949

Description

修正软件键盘输入的方法、系统以及使用此方法的计算机程序产品 Method and system for correcting software keyboard input and computer program product using the method

技术领域technical field

本发明有关一种软件键盘输入的方法、系统以及使用此方法的计算机程序产品,且特别是有关一种修正软件键盘输入的方法、系统以及使用此方法的计算机程序产品。The present invention relates to a method and system for software keyboard input and a computer program product using the method, and in particular relates to a method and system for correcting software keyboard input and a computer program product using the method.

背景技术Background technique

在手持设备上,触控式的软件键盘常被用来作为输入数据的人机界面,而触控式的软件键盘是以软件的方式于画面上绘制按键。使用者以触控的方式,按下这些绘制的按键,通过检测使用者触控时的落点位置,并将触控落点位置和画面上所绘制的按键位置比较后,即可判断使用者当时所欲按下的按键为何。On a handheld device, a touch-sensitive software keyboard is often used as a man-machine interface for inputting data, and the touch-sensitive software keyboard draws keys on the screen in a software manner. The user presses these drawn buttons by touch, and by detecting the position of the touch point of the user, and comparing the position of the touch point with the position of the key drawn on the screen, the user can be judged What is the key to be pressed at that time.

但因为使用者按键的习惯不同,可能因为个人视差、按键时所用的手指不同、握持设备的方式或方向不一等因素,而使得触控时的落点与画面上所绘制按键位置有不同的误差,这会使得软件键盘无法正确判断出使用者真正欲按下的按键为何,而导致输入错误。However, because users have different button habits, personal parallax, different fingers used when pressing buttons, different ways or directions of holding the device, etc., the landing point when touching is different from the button position drawn on the screen. This will make the software keyboard unable to correctly determine the key that the user really wants to press, resulting in input errors.

因此,设计一种新的方法来修正软件键盘输入以改善上述缺点。Therefore, a new method is designed to modify the software keyboard input to improve the above shortcomings.

发明内容Contents of the invention

因此本发明的目的就是提供一种修正软件键盘输入的方法、系统以及使用此方法的计算机程序产品,作为软件键盘于输入数据时的触控落点坐标校正,藉以提高按键判断的准确度。Therefore, the object of the present invention is to provide a method and system for correcting software keyboard input, and a computer program product using the method, as a software keyboard for correcting touch point coordinates when inputting data, so as to improve the accuracy of button judgment.

根据本发明一方面的修正软件键盘输入的方法包括:取得使用者输入的第一触控落点坐标,第一触控落点坐标包括第一落点水平坐标以及第一落点垂直坐标;自校正数据库取得校正水平模型以及校正垂直模型;将第一落点水平坐标以及第一落点垂直坐标分别套用校正水平模型及校正垂直模型以算出校正落点坐标;比较校正落点坐标与中心点坐标以判定使用者所欲输入的按键值。The method for correcting software keyboard input according to one aspect of the present invention includes: obtaining the first touch point coordinates input by the user, the first touch point coordinates including the first touch point horizontal coordinates and the first touch point vertical coordinates; The correction database obtains the correction horizontal model and the correction vertical model; applies the correction horizontal model and the correction vertical model to the first landing point horizontal coordinate and the first landing point vertical coordinate respectively to calculate the correction landing point coordinates; compares the correction landing point coordinates and the center point coordinates To determine the key value that the user wants to input.

根据本发明另一方面的修正软件键盘输入的系统包括:第一坐标取得模块,用以取得使用者输入的第一触控落点坐标,其中第一触控落点坐标包括第一落点水平坐标以及第一落点垂直坐标;模型取得模块,用以自校正数据库取得校正水平模型以及校正垂直模型;运算模块,用以将第一落点水平坐标以及第一落点垂直坐标分别套用校正水平模型及校正垂直模型以算出校正落点坐标;以及比较模块,用以比较校正落点坐标与中心点坐标以判定使用者所欲输入的按键值。According to another aspect of the present invention, the system for correcting software keyboard input includes: a first coordinate obtaining module, configured to obtain the coordinates of the first touch point input by the user, wherein the first touch point coordinates include the first touch point level coordinates and the vertical coordinates of the first landing point; the model acquisition module is used to obtain the calibration horizontal model and the calibration vertical model from the calibration database; the calculation module is used to apply the calibration level to the horizontal coordinates of the first landing point and the vertical coordinates of the first landing point respectively The model and the calibration vertical model are used to calculate the coordinates of the corrected landing point; and the comparison module is used to compare the coordinates of the corrected landing point and the coordinates of the center point to determine the key value to be input by the user.

根据本发明又一方面的计算机程序产品包括了程序指令用以执行:取得使用者输入的第一触控落点坐标,第一触控落点坐标包括第一落点水平坐标以及第一落点垂直坐标;自校正数据库取得校正水平模型以及校正垂直模型;将第一落点水平坐标以及第一落点垂直坐标分别套用校正水平模型及校正垂直模型以算出校正落点坐标;比较校正落点坐标与中心点坐标以判定使用者所欲输入的按键值。The computer program product according to yet another aspect of the present invention includes program instructions for executing: obtaining the coordinates of the first touch point input by the user, and the first touch point coordinates include the horizontal coordinates of the first touch point and the first touch point Vertical coordinates; get the corrected horizontal model and corrected vertical model from the calibration database; apply the corrected horizontal model and corrected vertical model to the first landing point horizontal coordinates and the first vertical coordinates respectively to calculate the corrected landing point coordinates; compare the corrected landing point coordinates Coordinate with the center point to determine the key value that the user wants to input.

附图说明Description of drawings

为让本发明的上述和其它目的、特征、优点能更明显易懂,以下将配合附图对本发明的较佳实施例进行详细说明,其中:In order to make the above-mentioned and other purposes, features and advantages of the present invention more obvious and understandable, preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, wherein:

图1是依照本发明一实施例的一种利用校正模型来区域修正软件键盘输入的方法流程图。FIG. 1 is a flow chart of a method for regionally correcting software keyboard input using a correction model according to an embodiment of the present invention.

图2是依照本发明另一实施例的一种利用校正模型来区域修正软件键盘输入的方法流程图。Fig. 2 is a flow chart of a method for regionally correcting software keyboard input by using a correction model according to another embodiment of the present invention.

图3A是一种修正软件键盘输入的系统的示意图。FIG. 3A is a schematic diagram of a system for correcting software keyboard input.

图3B是校正数据库建置系统示意图。FIG. 3B is a schematic diagram of a correction database construction system.

具体实施方式Detailed ways

接下来请参照本发明实施例的详细说明,其中所提到的范例会连同附图一同进行说明。在任何可能的情况下,附图及说明中所使用的相同标号都代表了相同或类似的元件。Next, please refer to the detailed description of the embodiments of the present invention, in which the mentioned examples will be described together with the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and description to refer to the same or like elements.

参照图1,其是依照本发明一实施例的一种修正软件键盘输入的方法流程图。本发明另一实施例的计算机程序产品可以程序指令来执行此方法的各步骤。此修正软件键盘输入的方法包括以下步骤(应了解到,在本实施例中所提及的步骤,除特别叙明其顺序者外,均可依实际需要调整其前后顺序,甚至可能同时或部分同时执行):Referring to FIG. 1 , it is a flowchart of a method for correcting software keyboard input according to an embodiment of the present invention. The computer program product in another embodiment of the present invention can execute the steps of the method with program instructions. The method for correcting software keyboard input includes the following steps (it should be understood that the steps mentioned in this embodiment, except those whose order is specifically stated, can be adjusted according to actual needs, and may even be simultaneously or partially run concurrently):

(1)取得使用者输入的第一触控落点坐标,其中第一触控落点坐标包括第一落点水平坐标以及第一落点垂直坐标(步骤112)。(1) Obtain the coordinates of the first touch point input by the user, wherein the first touch point coordinates include the first touch point horizontal coordinate and the first touch point vertical coordinate (step 112 ).

(2)自校正数据库取得校正水平模型以及校正垂直模型(步骤114)。(2) Obtain the corrected horizontal model and the corrected vertical model from the corrected database (step 114).

(3)将第一落点水平坐标以及第一落点垂直坐标分别套用校正水平模型及校正垂直模型以算出校正落点坐标(步骤116)。(3) The horizontal coordinates of the first landing point and the vertical coordinates of the first landing point are respectively applied to the calibration horizontal model and the calibration vertical model to calculate the calibration coordinates of the landing point (step 116 ).

(4)比较校正落点坐标与中心点坐标以判定使用者所欲输入的按键值(步骤118)。(4) Compare the coordinates of the corrected landing point with the coordinates of the center point to determine the key value that the user wants to input (step 118 ).

在一实施态样中,当使用者以触控的方式于画面上输入某个按键时,若使用者按下的按键落点坐标为(xt,yt),将xt与yt(线性回归模型中的自变量)分别套用水平和垂直的一元线性回归模型,以得到校正后的落点坐标(线性回归模型中的因变量),然后才以此校正坐标与画面上所绘制的按键位置比较,进而判断使用者当时所欲按下的按键为何。In one implementation, when the user touches a button on the screen, if the coordinates of the button the user presses are (xt, yt), the coordinates of xt and yt (in the linear regression model independent variable) to apply the horizontal and vertical one-element linear regression models respectively to obtain the corrected landing point coordinates (the dependent variable in the linear regression model), and then compare the corrected coordinates with the button positions drawn on the screen, and then Determine which button the user wants to press at that time.

此外,在使用软件键盘进行输入时,因为使用情境的不同,在软件键盘(软件按键所分布的区域)中某些区域的按键可能会需要与其它区域的按键有所区别,进而必须套用不同的一元线性回归模型。举例来说,针对同时以两手握持手机的使用者来说,他可能会同时以左右手拇指操作软件键盘输入文字。一般来说,以右手拇指触控输入时,落点通常会趋向落在按键的右下角,而以左手拇指触控输入时,落点则会趋向落在按键的左下角,因为左右手的拇指在触控时的落点不同,所以若将键盘上所有按键都套用同相同的线性回归修正坐标,可能会产生很大的误差。In addition, when using a software keyboard for input, due to different usage scenarios, the keys in some areas of the software keyboard (the area where the software keys are distributed) may need to be different from the keys in other areas, and then different keys must be applied. Univariate linear regression model. For example, for a user who holds a mobile phone with both hands at the same time, he may use the left and right thumbs to operate the software keyboard to input text. Generally speaking, when using the right thumb to touch the input, the landing point usually tends to fall on the lower right corner of the button, while when using the left thumb to touch the input, the landing point tends to fall on the lower left corner of the button, because the thumbs of the left and right hands are in the The touch points are different, so if the same linear regression correction coordinates are applied to all the keys on the keyboard, a large error may occur.

另外,本方法还可包含提供一校正数据库建置阶段的步骤,以提供修正软件键盘输入时所需的校正数据库,校正数据库建置阶段包括以下步骤(应了解到,在本实施例中所提及的步骤,除特别叙明其顺序者外,均可依实际需要调整其前后顺序,甚至可能同时或部分同时执行):In addition, the method may also include the step of providing a correction database construction stage, to provide the correction database required for correcting software keyboard input, the correction database construction stage includes the following steps (it should be understood that in this embodiment, and steps, unless the sequence is specifically stated, the sequence can be adjusted according to actual needs, and may even be executed at the same time or partially at the same time):

(1)取得使用者输入的第二触控落点坐标,其中第二触控落点坐标包括第二落点水平坐标以及第二落点垂直坐标(步骤104)。就每一输入而言,例如,取得的第二触控落点坐标为(101,42)时,这表示第二落点水平坐标为101,第二落点垂直坐标为42。一种可能实施态样为,要求使用者依照画面中所指示的按键,于软件输入键盘中按下相对应的按键。在此过程中程序将会把使用者触控的落点坐标一一记下。假设使用者被要求按下n次的按键,而且这n次触控落点的坐标分别为(x1,y1),(x2,y2),(x3,y3),...(xn-1,yn-1),(xn,yn),可由此分别得到两个如下的X和Y序列:(1) Obtain the coordinates of the second touch point input by the user, wherein the second touch point coordinates include the second touch point horizontal coordinates and the second touch point vertical coordinates (step 104 ). For each input, for example, when the obtained coordinates of the second touch point are (101, 42), it means that the horizontal coordinate of the second touch point is 101, and the vertical coordinate of the second touch point is 42. One possible implementation is to require the user to press the corresponding key on the software input keyboard according to the key indicated on the screen. During this process, the program will record the coordinates of the touch points touched by the user one by one. Assume that the user is required to press n times of buttons, and the coordinates of the n touch points are (x1, y1), (x2, y2), (x3, y3), ... (xn-1, yn-1), (xn, yn), from which two following X and Y sequences can be obtained respectively:

水平坐标X={x1,x2,x3,...,xn-1,xn}Horizontal coordinate X = {x1, x2, x3, ..., xn-1, xn}

垂直坐标Y={y1,y2,y3,...,yn-1,yn}Vertical coordinate Y = {y1, y2, y3, ..., yn-1, yn}

(2)利用第二落点水平坐标与中心点水平坐标建立校正水平模型(步骤106)。第二落点水平坐标将会被拿来与当时该按下的按键的中心点水平坐标做运算,得出第二落点水平坐标与中心点水平坐标的相对位置,再以此建立校正水平模型。(2) Using the horizontal coordinates of the second landing point and the horizontal coordinates of the central point to establish a corrected horizontal model (step 106). The horizontal coordinates of the second landing point will be calculated with the horizontal coordinates of the center point of the button that should be pressed at that time to obtain the relative position of the horizontal coordinates of the second landing point and the horizontal coordinates of the center point, and then establish a calibration level model .

(3)利用第二落点垂直坐标及中心点垂直坐标建立校正垂直模型(步骤108)。第二落点垂直坐标将会被拿来与当时该按下的按键的中心点垂直坐标做运算,得出第二落点垂直坐标与中心点垂直坐标的相对位置,再以此建立校正垂直模型。校正水平模型以及校正垂直模型的一种可能实施态样为一元线型回归模型(UnaryLinear Regression Model),一元线性回归分析预测法是根据自变量X和因变量Y的相关关系,建立X与Y的线性回归方程以进行预测的方法。举例来说,利用第二落点水平坐标及中心点水平坐标可求得一元线性回归方程Yt=a+bxt的参数a、b,再将参数a、b代入,就可以建立校正水平模型,同样依此方法建立校正垂直模型,所以,在此依不同坐标方向分别建立了两组的一元线性回归模型。本发明的实施态样不限于线型回归模型,可应用各种合适的方法来建立校正模型。(3) Establish a corrected vertical model by using the vertical coordinates of the second landing point and the vertical coordinates of the center point (step 108). The vertical coordinates of the second landing point will be used to calculate the vertical coordinates of the center point of the button that should be pressed at that time to obtain the relative position of the vertical coordinates of the second landing point and the vertical coordinates of the center point, and then establish a corrected vertical model . One possible implementation of correcting the horizontal model and correcting the vertical model is the Unary Linear Regression Model. The Unary Linear Regression analysis and forecasting method is based on the correlation between the independent variable X and the dependent variable Y to establish the relationship between X and Y. A linear regression equation to make predictions. For example, the parameters a and b of the unary linear regression equation Yt=a+bxt can be obtained by using the horizontal coordinates of the second landing point and the horizontal coordinates of the center point, and then the parameters a and b are substituted to establish a correction level model. According to this method, the correction vertical model is established, so here, the two groups of linear regression models are respectively established according to different coordinate directions. The implementation aspect of the present invention is not limited to the linear regression model, and various suitable methods can be used to establish the calibration model.

(4)储存校正水平模型以及校正垂直模型于校正数据库中(步骤110)。此时已针对水平和垂直两个不同方向,分别建立独立的一元线性回归模型,存入数据库以供使用。(4) Store the corrected horizontal model and the corrected vertical model in the corrected database (step 110). At this time, independent linear regression models have been established for two different directions, horizontal and vertical, and stored in the database for use.

参照图2,其是依照本发明另一实施例的一种修正软件键盘输入的方法流程图。在前述的使用情境中,在校正数据库建置阶段时,可先将软件键盘切割成数个区域,然后可重复执行校正数据库建置阶段的各步骤,以为每一区域分别建立校正水平模型以及校正垂直模型。在此实施例中,先将软件键盘切割成左右两个区域(步骤204),在取得使用者输入的触控落点坐标之后(步骤206),判定触控落点坐标所在的区域(步骤208),各自独立计算出各区域所属的线性回归模型(步骤210),并储存各区域所属的线性回归模型于校正数据库(步骤202)。Referring to FIG. 2 , it is a flowchart of a method for correcting software keyboard input according to another embodiment of the present invention. In the aforementioned usage scenarios, in the calibration database construction stage, the software keyboard can be cut into several areas first, and then the steps in the calibration database construction phase can be repeated to establish a calibration level model and calibration for each area. vertical model. In this embodiment, the software keyboard is first divided into left and right areas (step 204), and after obtaining the touch point coordinates input by the user (step 206), the area where the touch point coordinates are located is determined (step 208 ), independently calculate the linear regression model of each region (step 210), and store the linear regression model of each region in the calibration database (step 202).

然后在应用此修正软件键盘输入的方法时,在取得使用者的触控落点坐标之后(步骤212),判定触控落点坐标所在的区域(步骤214),再自校正数据库取得对应触控落点坐标所位于的区域的线性回归模型(步骤216),然后分别套用对应的线性回归模型加以修正(步骤218)。Then, when applying this method of correcting software keyboard input, after obtaining the coordinates of the user's touch point (step 212), determine the area where the coordinates of the touch point are located (step 214), and then obtain the corresponding touch point from the calibration database. The linear regression model of the area where the falling point coordinates are located (step 216 ), and then apply the corresponding linear regression model to correct it (step 218 ).

这个键盘配置上的区域划分可以依实际状况加以设计,可能是切割成左右两个区域,或区分成田字的四个区块,或设计成井字的九宫格块,实际上区域的划分可以依使用的需求进一步设计。The area division of this keyboard configuration can be designed according to the actual situation. It may be divided into two areas on the left and right, or divided into four blocks of Tian Zi, or designed as Jiugongge blocks of Tic Tac Toe. In fact, the division of areas can be based on the used Further design is required.

本发明又一实施例将描述一种修正软件键盘输入的系统,参照图3A及图3B,图3A是一种修正软件键盘输入的系统350的示意图,图3B是校正数据库建置系统310的示意图。修正软件键盘输入的系统350包括软件键盘312、校正数据库320、第一坐标取得模块314、模型取得模块362、运算模块364、以及比较模块366。使用者通过软件键盘312所提供的触控式输入界面输入数据后,第一坐标取得模块314取得使用者输入的第一触控落点坐标,其中第一触控落点坐标包括第一落点水平坐标以及第一落点垂直坐标。Another embodiment of the present invention will describe a system for correcting software keyboard input. Referring to FIG. 3A and FIG. 3B, FIG. 3A is a schematic diagram of a system 350 for correcting software keyboard input, and FIG. . The system 350 for correcting software keyboard input includes a software keyboard 312 , a calibration database 320 , a first coordinate acquisition module 314 , a model acquisition module 362 , an operation module 364 , and a comparison module 366 . After the user inputs data through the touch input interface provided by the software keyboard 312, the first coordinate acquisition module 314 acquires the coordinates of the first touch point input by the user, wherein the first touch point coordinates include the first touch point The horizontal coordinate and the vertical coordinate of the first drop point.

校正数据库320储存了校正数据库建置系统310所建置的校正水平模型以及校正垂直模型。模型取得模块362用以自校正数据库320取得对应第一触控落点坐标所位于的区域的校正水平模型以及校正垂直模型。运算模块364用以将第一落点水平坐标以及第一落点垂直坐标分别套用校正水平模型及校正垂直模型以算出校正落点坐标(包括校正水平坐标及校正垂直坐标)。比较模块366用以比较校正落点坐标与中心点坐标以判定使用者所欲输入的按键值。The correction database 320 stores the correction horizontal model and the correction vertical model built by the correction database construction system 310 . The model obtaining module 362 is used for obtaining a corrected horizontal model and a corrected vertical model corresponding to the area where the first touch point coordinates are located from the calibration database 320 . The calculation module 364 is used for applying the corrected horizontal model and the corrected vertical model to the first landing horizontal coordinate and the first vertical coordinate respectively to calculate the corrected landing coordinates (including the corrected horizontal coordinate and the corrected vertical coordinate). The comparing module 366 is used for comparing the coordinates of the corrected landing point and the coordinates of the center point to determine the key value to be input by the user.

此外,修正软件键盘输入的系统350还可包括判定模块342。当软件键盘被切割为数个区域时,判定模块342可在第一坐标取得模块314取得第一触控落点坐标后用来判定第一触控落点坐标所在的区域,而此时模型取得模块362会自校正数据库320取得对应第一触控落点坐标所位于的区域的的校正水平模型以及校正垂直模型。然后,运算模块364会根据第一触控落点坐标所在的区域,将第一落点水平坐标以及第一落点垂直坐标分别套用校正水平模型及校正垂直模型以算出校正落点坐标。最后,比较模块366比较校正落点坐标与中心点坐标以判定使用者所欲输入的按键值。In addition, the system 350 for correcting software keyboard input may further include a determination module 342 . When the software keyboard is divided into several areas, the determining module 342 can be used to determine the area where the coordinates of the first touch point are located after the first coordinate obtaining module 314 obtains the coordinates of the first touch point. At this time, the model obtaining module 362 obtains from the calibration database 320 a calibration horizontal model and a calibration vertical model corresponding to the area where the coordinates of the first touch point are located. Then, the calculation module 364 applies the corrected horizontal model and the corrected vertical model to the horizontal coordinates of the first touched point and the vertical coordinates of the first touched point respectively according to the area where the coordinates of the first touched point are located to calculate the corrected touched coordinates. Finally, the comparing module 366 compares the coordinates of the corrected landing point and the coordinates of the center point to determine the key value that the user wants to input.

参照图3B,其是校正数据库建置系统示意图。校正数据库建置系统310包括:软件键盘312、第二坐标取得模块324、校正水平模型建立模块316、校正垂直模型建立模块318、以及校正数据库320。软件键盘312用以提供使用者一种触控式输入界面。第二坐标取得模块324用以取得使用者输入的第二触控落点坐标,其中第二触控落点坐标包括第二落点水平坐标以及第二落点垂直坐标。校正水平模型建立模块316用以利用第二坐标取得模块324取得的第二落点水平坐标与中心点水平坐标建立校正水平模型。校正垂直模型建立模块318用以利用第二坐标取得模块324取得的第二落点垂直坐标及中心点垂直坐标建立校正垂直模型。校正水平模型以及校正垂直模型可利用线型回归模型来完成,特别是一元线型回归模型。校正数据库320用以储存校正水平模型以及校正垂直模型。Referring to FIG. 3B , it is a schematic diagram of a calibration database construction system. The correction database building system 310 includes: a software keyboard 312 , a second coordinate acquisition module 324 , a correction horizontal model building module 316 , a correction vertical model building module 318 , and a correction database 320 . The software keyboard 312 is used to provide the user with a touch input interface. The second coordinate obtaining module 324 is used for obtaining the second touch point coordinates input by the user, wherein the second touch point coordinates include the second touch point horizontal coordinates and the second touch point vertical coordinates. The correction level model building module 316 is used for building a correction level model by using the second landing point horizontal coordinate and the center point horizontal coordinate obtained by the second coordinate obtaining module 324 . The corrected vertical model building module 318 is used for establishing the corrected vertical model by using the vertical coordinates of the second landing point and the vertical coordinates of the center point obtained by the second coordinate obtaining module 324 . Calibrating the horizontal model as well as calibrating the vertical model can be done using a linear regression model, especially a univariate linear regression model. The calibration database 320 is used to store the calibration horizontal model and the calibration vertical model.

此外,校正数据库建置系统310还可包括切割模块332及判定模块342。因为使用情境的不同,在某些情况下不同的软件键盘区域可能必须套用不同的校正模型,切割模块330可视实际需求而将软件键盘切割为数个区域。切割为数个区域后,判定模块342可在第二坐标取得模块324取得第二触控落点坐标后用来判定第二触控落点坐标所在的区域,再就每一区域分别建立校正水平模型以及校正垂直模型。In addition, the correction database construction system 310 may further include a cutting module 332 and a determining module 342 . Due to different use scenarios, different calibration models may be applied to different software keyboard regions in some cases, and the cutting module 330 may cut the software keyboard into several regions according to actual needs. After cutting into several areas, the determination module 342 can use it to determine the area where the coordinates of the second touch point are located after the second coordinate obtaining module 324 obtains the coordinates of the second touch point, and then establish a calibration level model for each area As well as correcting the vertical model.

综上所述,前述实施例中所揭露的修正软件键盘输入的方法、系统、及使用此方法的计算机程序产品是通过软件于校正数据库建置阶段(提供一种训练模式)预先学习使用者的操作特征,建立坐标修正用的校正数据,并储存于校正数据库中,使用者于未来按键时可运用合适的校正模型,特别是数学上的统计与线性回归的技巧,作为软件键盘于输入数据时的触控落点坐标校正,藉以提高按键判断的准确度。In summary, the method and system for correcting software keyboard input disclosed in the foregoing embodiments, and the computer program product using this method, learn the user's knowledge in advance through the software in the correction database construction phase (providing a training mode). Operational features, establish correction data for coordinate correction, and store it in the correction database, users can use the appropriate correction model when pressing keys in the future, especially mathematical statistics and linear regression techniques, as a software keyboard when inputting data The coordinates of the touch point are corrected to improve the accuracy of button judgment.

虽然本发明已以实施例揭露如上,然而其并非用以限定本发明,任何熟悉此技术者,在不脱离本发明的精神和范围内,当可作各种等同的改变或替换,因此本发明的保护范围当视后附的本申请权利要求范围所界定的为准。Although the present invention has been disclosed above with embodiments, it is not intended to limit the present invention. Any person skilled in the art can make various equivalent changes or substitutions without departing from the spirit and scope of the present invention. Therefore, the present invention The scope of protection shall prevail as defined by the appended claims of the application.

Claims (16)

1.一种修正软件键盘输入的方法,包含以下步骤:1. A method for correcting software keyboard input, comprising the following steps: 取得一使用者输入的一第一触控落点坐标,其中该第一触控落点坐标包含一第一落点水平坐标以及一第一落点垂直坐标;Obtaining a first touch point coordinate input by a user, wherein the first touch point coordinate includes a first touch point horizontal coordinate and a first touch point vertical coordinate; 自一校正数据库取得一校正水平模型以及一校正垂直模型;obtaining a calibration horizontal model and a calibration vertical model from a calibration database; 将该第一落点水平坐标以及该第一落点垂直坐标分别套用该校正水平模型及该校正垂直模型以算出一校正落点坐标;以及Applying the horizontal coordinate of the first drop point and the vertical coordinate of the first drop point to the corrected horizontal model and the corrected vertical model respectively to calculate a corrected drop point coordinate; and 比较该校正落点坐标与一中心点坐标以判定该使用者所欲输入的按键值。The coordinates of the corrected landing point are compared with the coordinates of a center point to determine the key value that the user wants to input. 2.根据权利要求1所述的方法,其特征在于还包含提供一校正数据库建置阶段的步骤,该校正数据库建置阶段包含以下步骤:2. The method according to claim 1, further comprising the step of providing a calibration database construction phase, the calibration database construction phase comprising the following steps: 取得该使用者输入的至少一第二触控落点坐标,其中该第二触控落点坐标包含一第二落点水平坐标以及一第二落点垂直坐标;Obtaining at least one second touch point coordinates input by the user, wherein the second touch point coordinates include a second touch point horizontal coordinate and a second touch point vertical coordinate; 利用该第二落点水平坐标与该中心点水平坐标建立该校正水平模型;Establishing the calibration horizontal model by using the horizontal coordinates of the second landing point and the horizontal coordinates of the central point; 利用该第二落点垂直坐标及该中心点垂直坐标建立该校正垂直模型;以及establishing the corrected vertical model using the vertical coordinates of the second landing point and the vertical coordinates of the center point; and 储存该校正水平模型以及该校正垂直模型于该校正数据库中。The calibration horizontal model and the calibration vertical model are stored in the calibration database. 3.根据权利要求2所述的方法,其特征在于该校正水平模型以及该校正垂直模型是线型回归模型。3. The method of claim 2, wherein the corrected horizontal model and the corrected vertical model are linear regression models. 4.根据权利要求3所述的方法,其特征在于该校正水平模型以及该校正垂直模型是一元线型回归模型。4. The method according to claim 3, wherein the corrected horizontal model and the corrected vertical model are unary linear regression models. 5.根据权利要求2所述的方法,其特征在于还包含以下步骤于该取得该使用者输入的至少一第二触控落点坐标的步骤之前:5. The method according to claim 2, further comprising the following steps before the step of obtaining at least one second touch point coordinates input by the user: 将一软件键盘切割为至少一区域。A software keyboard is divided into at least one area. 6.根据权利要求5所述的方法,其特征在于还包含当该软件键盘被切割为多个区域时,重复执行该校正数据库建置阶段,以为每一该些区域分别建立一校正水平模型以及一校正垂直模型。6. The method according to claim 5, further comprising, when the software keyboard is divided into a plurality of regions, repeatedly executing the correction database building stage, so as to establish a correction level model for each of the regions and A corrected vertical model. 7.根据权利要求5所述的方法,其特征在于还包含判定该第一触控落点坐标位于该至少一区域其中之一的步骤,并且该自一校正数据库取得一校正水平模型以及一校正垂直模型的步骤包含自该校正数据库取得对应该第一触控落点坐标所位于的该区域的该校正水平模型以及该校正垂直模型的步骤。7. The method according to claim 5, further comprising a step of determining that the first touch point coordinates are located in one of the at least one area, and obtaining a calibration level model and a calibration from a calibration database The step of the vertical model includes the step of obtaining the corrected horizontal model and the corrected vertical model corresponding to the region where the first touch point coordinates are located from the corrected database. 8.根据权利要求7所述的方法,其特征在于该将该第一落点水平坐标以及该第一落点垂直坐标分别套用该校正水平模型及该校正垂直模型的步骤包含以下步骤:8. The method according to claim 7, wherein the step of applying the horizontal coordinate of the first drop point and the vertical coordinate of the first drop point to the corrected horizontal model and the corrected vertical model respectively comprises the following steps: 将该第一落点水平坐标以及该第一落点垂直坐标分别套用对应该第一触控落点坐标所位于的该区域的该校正水平模型及该校正垂直模型,以算出该校正落点坐标。The horizontal coordinates of the first touch point and the vertical coordinates of the first touch point are respectively applied to the corrected horizontal model and the corrected vertical model corresponding to the area where the coordinates of the first touch point are located, so as to calculate the coordinates of the corrected touch point . 9.一种修正软件键盘输入的系统,包含:9. A system for correcting software keyboard input, comprising: 一第一坐标取得模块,用以取得一使用者输入的一第一触控落点坐标,其中该触控落点坐标包含一第一落点水平坐标以及一第一落点垂直坐标;A first coordinate obtaining module, configured to obtain a first touch point coordinate input by a user, wherein the touch point coordinate includes a first touch point horizontal coordinate and a first touch point vertical coordinate; 一模型取得模块,用以自一校正数据库取得一校正水平模型以及一校正垂直模型;A model acquisition module, used to acquire a calibration horizontal model and a calibration vertical model from a calibration database; 一运算模块,用以将该落点水平坐标以及该落点垂直坐标分别套用该校正水平模型及该校正垂直模型以算出一校正落点坐标;以及an operation module, used for applying the horizontal coordinate of the drop point and the vertical coordinate of the drop point to the corrected horizontal model and the corrected vertical model respectively to calculate a corrected drop point coordinate; and 一比较模块,用以比较该校正落点坐标与一中心点坐标以判定该使用者所欲输入的按键值。A comparison module is used to compare the coordinates of the corrected landing point with a center point coordinate to determine the key value that the user wants to input. 10.根据权利要求9所述的系统,其特征在于还包含一校正数据库建置系统,该校正数据库建置系统包含:10. The system according to claim 9, further comprising a correction database construction system, the correction database construction system comprising: 一软件键盘,用以提供一触控式输入界面;A software keyboard for providing a touch input interface; 一第二坐标取得模块,用以取得该使用者输入的至少一第二触控落点坐标,其中该触控落点坐标包含一第二落点水平坐标以及一第二落点垂直坐标;A second coordinate obtaining module, configured to obtain at least one second touch point coordinates input by the user, wherein the touch point coordinates include a second horizontal coordinate of the touch point and a second vertical coordinate of the touch point; 一校正水平模型建立模块,用以利用该第二落点水平坐标与一中心点水平坐标建立该校正水平模型;A correction level model building module, used for building the correction level model by using the horizontal coordinate of the second landing point and a center point horizontal coordinate; 一校正垂直模型建立模块,用以利用该第二落点垂直坐标及一中心点垂直坐标建立该校正垂直模型;以及A correction vertical model building module, used to use the vertical coordinates of the second landing point and a center point vertical coordinates to build the correction vertical model; and 一校正数据库,用以储存该校正水平模型以及该校正垂直模型。A calibration database is used to store the calibration horizontal model and the calibration vertical model. 11.根据权利要求10所述的系统,其特征在于该校正水平模型以及该校正垂直模型是线型回归模型。11. The system of claim 10, wherein the corrected horizontal model and the corrected vertical model are linear regression models. 12.根据权利要求11所述的系统,其特征在于该校正水平模型以及该校正垂直模型是一元线型回归模型。12. The system according to claim 11, wherein the corrected horizontal model and the corrected vertical model are unary linear regression models. 13.根据权利要求11所述的系统,其特征在于该校正数据库建置系统还包含一切割模块,用以将该软件键盘切割为至少一区域。13. The system according to claim 11, wherein the correction database construction system further comprises a cutting module for cutting the software keyboard into at least one area. 14.根据权利要求13所述的系统,其特征在于当该软件键盘被切割为多个区域时,该校正数据库建置系统为每一该些区域分别建立一校正水平模型以及一校正垂直模型。14. The system according to claim 13, wherein when the software keyboard is divided into a plurality of regions, the correction database construction system establishes a correction horizontal model and a correction vertical model for each of the regions. 15.根据权利要求13所述的系统,其特征在于还包含一判定模块,用以判定该第一触控落点坐标位于该至少一区域其中之一,并且该模型取得模块用以自该校正数据库取得对应该第一触控落点坐标所位于的该区域的该校正水平模型以及该校正垂直模型。15. The system according to claim 13, further comprising a judging module for judging that the coordinates of the first touch point are located in one of the at least one area, and the model obtaining module is used for correcting The database obtains the corrected horizontal model and the corrected vertical model corresponding to the area where the first touch point coordinates are located. 16.根据权利要求15所述的系统,其特征在于该运算模块用以将该第一落点水平坐标以及该第一落点垂直坐标分别套用对应该第一触控落点坐标所位于的该区域的该校正水平模型及该校正垂直模型,以算出该校正落点坐标。16. The system according to claim 15, wherein the calculation module is used to respectively apply the horizontal coordinates of the first touch point and the vertical coordinates of the first touch point to the coordinates of the first touch point where the coordinates of the first touch point are located. The corrected horizontal model and the corrected vertical model of the area to calculate the corrected drop point coordinates.
CN2009101489495A 2009-06-05 2009-06-05 Method and system for correcting software keyboard input and computer program product using the method Pending CN101907943A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101489495A CN101907943A (en) 2009-06-05 2009-06-05 Method and system for correcting software keyboard input and computer program product using the method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101489495A CN101907943A (en) 2009-06-05 2009-06-05 Method and system for correcting software keyboard input and computer program product using the method

Publications (1)

Publication Number Publication Date
CN101907943A true CN101907943A (en) 2010-12-08

Family

ID=43263417

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101489495A Pending CN101907943A (en) 2009-06-05 2009-06-05 Method and system for correcting software keyboard input and computer program product using the method

Country Status (1)

Country Link
CN (1) CN101907943A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102207827A (en) * 2011-03-28 2011-10-05 罗蒙明 Method for judging virtual keyboard finger key of touch screen mobile phone
CN102207828A (en) * 2011-04-06 2011-10-05 罗蒙明 Method for determining finger key-press on virtual keyboard of touch mobile phone
CN102231095A (en) * 2011-03-17 2011-11-02 罗蒙明 Virtual keyboard finger key judgment method for touch mobile phone
CN102256015A (en) * 2011-04-06 2011-11-23 罗蒙明 Virtual keyboard finger key-pressing judgment method for touch mobile phone
CN104407801A (en) * 2014-11-05 2015-03-11 深圳市金立通信设备有限公司 Terminal
CN104407800A (en) * 2014-11-05 2015-03-11 深圳市金立通信设备有限公司 Terminal operating method
CN104636028A (en) * 2013-11-12 2015-05-20 株式会社东海理化电机制作所 Information processor
CN104636060A (en) * 2014-04-29 2015-05-20 汉王科技股份有限公司 Soft key locating method and system
CN110837305A (en) * 2018-08-16 2020-02-25 北京搜狗科技发展有限公司 Input method error correction method and device

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231095A (en) * 2011-03-17 2011-11-02 罗蒙明 Virtual keyboard finger key judgment method for touch mobile phone
CN102207827B (en) * 2011-03-28 2013-09-25 罗蒙明 Method for judging virtual keyboard finger key of touch screen mobile phone
CN102207827A (en) * 2011-03-28 2011-10-05 罗蒙明 Method for judging virtual keyboard finger key of touch screen mobile phone
CN102207828A (en) * 2011-04-06 2011-10-05 罗蒙明 Method for determining finger key-press on virtual keyboard of touch mobile phone
CN102256015A (en) * 2011-04-06 2011-11-23 罗蒙明 Virtual keyboard finger key-pressing judgment method for touch mobile phone
CN102207828B (en) * 2011-04-06 2013-09-25 罗蒙明 Method for determining finger key-press on virtual keyboard of touch mobile phone
CN104636028A (en) * 2013-11-12 2015-05-20 株式会社东海理化电机制作所 Information processor
CN104636060A (en) * 2014-04-29 2015-05-20 汉王科技股份有限公司 Soft key locating method and system
CN104636060B (en) * 2014-04-29 2018-04-10 汉王科技股份有限公司 A kind of soft-key button localization method and system
CN104407800A (en) * 2014-11-05 2015-03-11 深圳市金立通信设备有限公司 Terminal operating method
CN104407801A (en) * 2014-11-05 2015-03-11 深圳市金立通信设备有限公司 Terminal
CN104407800B (en) * 2014-11-05 2019-10-22 深圳市金立通信设备有限公司 A kind of method of terminal operation
CN104407801B (en) * 2014-11-05 2019-10-22 深圳市金立通信设备有限公司 A kind of terminal
CN110837305A (en) * 2018-08-16 2020-02-25 北京搜狗科技发展有限公司 Input method error correction method and device

Similar Documents

Publication Publication Date Title
CN101907943A (en) Method and system for correcting software keyboard input and computer program product using the method
US8358277B2 (en) Virtual keyboard based activation and dismissal
TWI478015B (en) Method for controlling electronic apparatus and apparatus and computer program product using the method
US8850349B2 (en) Smart user-customized graphical keyboard
US20120007816A1 (en) Input Control Method and Electronic Device for a Software Keyboard
KR101376286B1 (en) touchscreen text input
JP6105818B2 (en) Apparatus, method, and mobile terminal for adaptively adjusting layout of touch input panel
TWI432996B (en) A method for adjusting the display appearance of a keyboard interface being displayed on a touch display unit
JP5520273B2 (en) Information input device, method and program
CN103677637A (en) Method for deleting words displayed on touch screen and electronic device
JP5965540B2 (en) Method and apparatus for recognizing key input on virtual keyboard
CN101639738B (en) Method for manipulating application program and its electronic device
US7855719B2 (en) Touch input method and portable terminal apparatus
US20100312511A1 (en) Method, System and Computer Program Product for Correcting Software Keyboard Input
CN104156148B (en) A kind of method and apparatus for being used to provide the dummy keyboard in mobile equipment
CN104007865A (en) Recognition method and electronic device
TWI511021B (en) Virtual keyboard operation method
JP6058243B1 (en) Waveform display device, waveform display method, and waveform display program
CN111367459A (en) Text input method and smart electronic device using pressure touchpad
CN104111797B (en) A kind of information processing method and electronic equipment
CN111868675B (en) Method, device, chip, equipment and storage medium for identifying palm false touch
US8896568B2 (en) Touch sensing method and apparatus using the same
CN105718069A (en) Information processing method and electronic equipment
JP6391247B2 (en) Emulation device
CN105278726A (en) Operation method of electronic device and touch device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20101208