[go: up one dir, main page]

CN101639738B - Method for manipulating application program and its electronic device - Google Patents

Method for manipulating application program and its electronic device Download PDF

Info

Publication number
CN101639738B
CN101639738B CN200810144888.0A CN200810144888A CN101639738B CN 101639738 B CN101639738 B CN 101639738B CN 200810144888 A CN200810144888 A CN 200810144888A CN 101639738 B CN101639738 B CN 101639738B
Authority
CN
China
Prior art keywords
button
application program
coordinate
axis coordinate
touch
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.)
Active
Application number
CN200810144888.0A
Other languages
Chinese (zh)
Other versions
CN101639738A (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
Application filed by HTC Corp filed Critical HTC Corp
Priority to CN200810144888.0A priority Critical patent/CN101639738B/en
Publication of CN101639738A publication Critical patent/CN101639738A/en
Application granted granted Critical
Publication of CN101639738B publication Critical patent/CN101639738B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Abstract

A method for controlling an application program and an electronic device thereof are provided. When the method detects the contact area contacted with the touch screen of the electronic device, touch points covered by each contact area are obtained, and a representative coordinate value is determined according to the coordinate value of each touch point. And finally, controlling the application program to execute the corresponding function according to the representative coordinate value. Therefore, the application program execution function is controlled according to the operation of the touch screen by the user, and the convenience of operating the electronic device is further improved.

Description

操控应用程序的方法与其电子装置Method for manipulating application program and its electronic device

技术领域technical field

本发明是有关于一种操控电子装置的应用程序的方法,且特别是有关于一种通过触摸式屏幕来操控应用程序的方法与其电子装置。The present invention relates to a method for manipulating an application program of an electronic device, and in particular to a method for manipulating an application program through a touch screen and the electronic device thereof.

背景技术Background technique

随着触碰技术的精进,触摸式屏幕不但可以在显示画面的同时做为输入界面,更兼具了成本低廉以及经久耐用等优点,进而逐渐成为显示器市场上的新潮流。也正因如此,许多消费型电子产品的制造商为了使产品更为轻巧,均纷纷以触摸式屏幕取代传统屏幕,据以在设计产品的外观时省下硬件按键的空间,进而提供更大的显示区域来放置大尺寸的触摸式屏幕,或是让产品变得更轻薄。对使用者来说,越大的屏幕除了能提供更完善的视觉享受之外,在进行操作时也会感到更加便利,而产品的轻薄化对于使用者也带来便利。With the advancement of touch technology, touch screens can not only display images but also serve as input interfaces, and have the advantages of low cost and durability, and gradually become a new trend in the display market. Because of this, many manufacturers of consumer electronic products have replaced traditional screens with touch screens in order to make their products lighter and lighter, so as to save space for hardware buttons when designing the appearance of products, thereby providing larger The display area can be used to place a large-size touch screen, or to make the product thinner and lighter. For users, a larger screen can not only provide better visual enjoyment, but also feel more convenient when operating, and the thinner and lighter products also bring convenience to users.

在以触摸式屏幕做为输入界面时,必须研发一套机制来判断使用者的动作并进行反应。其中,软键盘(SoftwareInputPanel,SIP)便是为了通过触摸式屏幕输入文字而开发出来的一项技术。与传统硬件按键不同的地方在于,当使用者操作硬件按键时,消费型电子产品可根据按键所产生的信号来判断被按压的按键。然而,使用软键盘做为输入界面的消费型电子产品,则必须额外设计一套方法来判别使用者所点选的按键是软键盘上的哪个按键。一般来说,在使用者以手指触碰软键盘之后,软键盘应用程序将比较各个按键被手指所覆盖住的面积,并且以被手指覆盖最多的按键来做为使用者选取的按键,然而这样的按键选取机制,根据使用经验以及调查结果显示,往往所选取的按键并非使用者在操作触摸式屏幕时所想要按压的位置。When a touch screen is used as an input interface, a mechanism must be developed to judge the user's actions and react. Among them, the soft keyboard (SoftwareInputPanel, SIP) is a technology developed for inputting text through the touch screen. The difference from traditional hardware buttons is that when a user operates a hardware button, the consumer electronic product can determine the pressed button according to the signal generated by the button. However, for consumer electronic products using a soft keyboard as an input interface, an additional method must be designed to determine which button on the soft keyboard the button clicked by the user is. Generally speaking, after the user touches the soft keyboard with his finger, the soft keyboard application program will compare the areas covered by the fingers of each key, and use the key covered by the finger the most as the key selected by the user. According to the use experience and investigation results, the selected button is not the position that the user wants to press when operating the touch screen.

然而在讲求产品效能的前提之下,如何设计一套算法以更快速且精确地判断使用者的动作,进而减少错误反应并更有效率地通过触摸式屏幕来完成文字输入,便是电子产品制造商在研发过程中所希冀的目标。However, under the premise of emphasizing product performance, how to design a set of algorithms to judge the user's actions more quickly and accurately, thereby reducing error responses and completing text input through the touch screen more efficiently, is the key to electronic product manufacturing. The goal that the businessman hopes for in the research and development process.

发明内容Contents of the invention

有鉴于此,本发明提供一种操控应用程序的方法,在所有触摸式屏幕所感应到的触压点中,决定一个代表坐标值,进而控制应用程序根据代表坐标值执行对应的功能。In view of this, the present invention provides a method for manipulating an application program, which determines a representative coordinate value among all touch points sensed by the touch screen, and then controls the application program to execute corresponding functions according to the representative coordinate value.

本发明提供一种电子装置,在使用者想借由触摸式屏幕进行操作时,决定一个可代表操作动作的坐标值,并使得应用程序执行与此坐标值相对应的功能。The invention provides an electronic device. When a user wants to operate a touch screen, a coordinate value representing an operation action is determined, and an application program is executed to perform a function corresponding to the coordinate value.

为达成上述及其他目的,本发明提出一种操控应用程序的方法,适用于具有触摸式屏幕的电子装置。此方法首先在触摸式屏幕被触碰时,检测与触摸式屏幕接触的每块接触面积,并且取得各接触面积所涵盖的所有触压点。之后根据各触压点的坐标值决定一个代表坐标值。最后,控制应用程序根据代表坐标值以执行对应的功能。To achieve the above and other objectives, the present invention provides a method for controlling an application, which is suitable for an electronic device with a touch screen. In this method, firstly, when the touch screen is touched, each contact area in contact with the touch screen is detected, and all touch points covered by each contact area are obtained. Afterwards, a representative coordinate value is determined according to the coordinate value of each touch point. Finally, the control application program executes corresponding functions according to the representative coordinate values.

在本发明的一实施例中,其中各触压点的坐标值包括x轴坐标值与y轴坐标值。而决定代表坐标值的步骤包括分别定义每个x轴坐标值与每个y轴坐标值的权重值。接着,以每个x轴坐标值以及对应的权重值来计算x轴坐标加权平均值,并且以每个y轴坐标值以及对应的权重值计算y轴坐标加权平均值。最后,以x轴坐标加权平均值与y轴坐标加权平均值做为代表坐标值。In an embodiment of the present invention, the coordinate values of each touch point include an x-axis coordinate value and a y-axis coordinate value. The step of determining the representative coordinate values includes defining weight values for each x-axis coordinate value and each y-axis coordinate value respectively. Next, the x-axis coordinate weighted average is calculated with each x-axis coordinate value and the corresponding weight value, and the y-axis coordinate weighted average is calculated with each y-axis coordinate value and the corresponding weight value. Finally, the weighted average of x-axis coordinates and the weighted average of y-axis coordinates are used as representative coordinate values.

在本发明的一实施例中,其中分别定义每个x轴坐标值与每个y轴坐标值的权重值的步骤,包括取得每个触压点的压力值,并且根据对应的压力值的大小来定义每个触压点的x轴坐标值与y轴坐标值的权重值。In an embodiment of the present invention, the step of respectively defining the weight value of each x-axis coordinate value and each y-axis coordinate value includes obtaining the pressure value of each touch point, and according to the magnitude of the corresponding pressure value To define the weight value of the x-axis coordinate value and y-axis coordinate value of each touch point.

在本发明的一实施例中,其中各触压点的坐标值包括x轴坐标值与y轴坐标值。而决定代表坐标值的步骤包括先分别计算所有x轴坐标值的x轴坐标平均值,与所有y轴坐标值的y轴坐标平均值。接着,以x轴坐标平均值及y轴坐标平均值做为代表坐标值。In an embodiment of the present invention, the coordinate values of each touch point include an x-axis coordinate value and a y-axis coordinate value. The step of determining the representative coordinate value includes firstly calculating the average value of the x-axis coordinates of all the x-axis coordinate values and the average value of the y-axis coordinates of all the y-axis coordinate values. Next, the average value of the x-axis coordinates and the average value of the y-axis coordinates are used as representative coordinate values.

在本发明的一实施例中,其中应用程序包括软键盘应用程序,用以在触摸式屏幕上显示包括数个按键的软键盘。In an embodiment of the present invention, the application program includes a soft keyboard application program for displaying a soft keyboard including several keys on the touch screen.

在本发明的一实施例中,其中控制应用程序根据代表坐标值执行对应的功能的步骤包括将代表坐标值传送至软键盘应用程序。而软键盘应用程序将根据代表坐标值而由软键盘的所有按键中决定一个点选按键。In an embodiment of the present invention, the step of controlling the application program to execute a corresponding function according to the representative coordinate value includes transmitting the representative coordinate value to the soft keyboard application program. And the soft keyboard application program will determine a click button from all the keys of the soft keyboard according to the representative coordinate value.

在本发明的一实施例中,软键盘应用程序将放大显示点选按键,而放大显示点选按键还包括等比例放大显示点选按键。In an embodiment of the present invention, the soft keyboard application program enlarges and displays the selected button, and the enlarged display of the selected button further includes proportionally enlarged and displayed the selected button.

本发明的一实施例中,其中在决定点选按键的步骤之后,还包括在触摸式屏幕上显示图像。其中,图像例如包括输入提示信息,或是与点选按键的外观相同。In an embodiment of the present invention, after the step of determining to click the button, displaying an image on the touch screen is further included. Wherein, the image includes, for example, input prompt information, or has the same appearance as the clicked button.

在本发明的一实施例中,其中由所有按键中决定一个点选按键的步骤包括取得软键盘的键盘显示区域,并依据键盘显示区域及每个按键的按键大小预设值,计算各按键的按键显示区域。接下来,取得涵盖代表坐标值的按键显示区域。最后,以取得的按键显示区域所对应的按键来做为点选按键。In one embodiment of the present invention, the step of determining a selected button from all the buttons includes obtaining the keyboard display area of the soft keyboard, and calculating the size of each button according to the keyboard display area and the preset value of the button size of each button. Key display area. Next, obtain the key display area covering the representative coordinate value. Finally, the key corresponding to the obtained key display area is used as the click key.

在本发明的一实施例中,其中触摸式屏幕包括电阻式触摸屏幕。而电子装置为个人数字助理(PDA)手机、智能型手机(Smartphone)、触摸式手机(Touchphone),或移动电脑(Mobilecomputer)。In an embodiment of the present invention, the touch screen includes a resistive touch screen. The electronic device is a personal digital assistant (PDA) mobile phone, a smart phone (Smartphone), a touch phone (Touchphone), or a mobile computer (Mobilecomputer).

从另一观点来看,本发明提出一种电子装置,此电子装置包括触摸式屏幕以及处理模块。其中,触摸式屏幕用以检测接触触摸式屏幕的至少一块接触面积,并取得上述各块接触面积所涵盖的至少一个触压点。处理模块与触摸式屏幕相连,用以根据每个触压点的坐标值决定代表坐标值,并控制应用程序根据代表坐标值执行对应的功能。From another point of view, the present invention provides an electronic device including a touch screen and a processing module. Wherein, the touch screen is used to detect at least one contact area of the touch screen, and obtain at least one touch pressure point covered by each contact area. The processing module is connected with the touch screen to determine the representative coordinate value according to the coordinate value of each touch point, and control the application program to execute the corresponding function according to the representative coordinate value.

在本发明的一实施例中,其中每个坐标值包括x轴坐标值与y轴坐标值,而处理模块分别定义每个x轴坐标值与每个y轴坐标值的权重值,并以每个x轴坐标值以及对应的权重值计算x轴坐标加权平均值,以及以每个y轴坐标值以及对应的权重值计算y轴坐标加权平均值,最后以x轴坐标加权平均值与y轴坐标加权平均值做为代表坐标值。In an embodiment of the present invention, each coordinate value includes an x-axis coordinate value and a y-axis coordinate value, and the processing module defines a weight value for each x-axis coordinate value and each y-axis coordinate value, and each Calculate the weighted average of the x-axis coordinates with each x-axis coordinate value and the corresponding weight value, and calculate the weighted average of the y-axis coordinates with each y-axis coordinate value and the corresponding weight value, and finally use the weighted average of the x-axis coordinates and the y-axis The coordinate weighted average is used as the representative coordinate value.

在本发明的一实施例中,其中处理模块取得每个触压点的压力值,并根据对应的压力值的大小,定义每个触压点的x轴坐标值与y轴坐标值的权重值。In an embodiment of the present invention, the processing module obtains the pressure value of each pressure point, and defines the weight value of the x-axis coordinate value and the y-axis coordinate value of each pressure point according to the magnitude of the corresponding pressure value .

在本发明的一实施例中,其中每个坐标值包括x轴坐标值与y轴坐标值,而处理模块分别计算上述x轴坐标值的x轴坐标平均值,与上述y轴坐标值的y轴坐标平均值,并且以x轴坐标平均值及y轴坐标平均值做为代表坐标值。In an embodiment of the present invention, each coordinate value includes an x-axis coordinate value and a y-axis coordinate value, and the processing module respectively calculates the x-axis coordinate average value of the above-mentioned x-axis coordinate value, and the y-axis coordinate value of the above-mentioned y-axis coordinate value Axis coordinate average value, and the x-axis coordinate average value and y-axis coordinate average value are used as representative coordinate values.

在本发明的一实施例中,其中应用程序包括软键盘应用程序,用以在触摸式屏幕上显示包括数个按键的软键盘。In an embodiment of the present invention, the application program includes a soft keyboard application program for displaying a soft keyboard including several keys on the touch screen.

在本发明的一实施例中,处理模块将代表坐标值传送至软键盘应用程序,而软键盘应用程序根据代表坐标值而由按键中决定点选按键。In an embodiment of the present invention, the processing module transmits the representative coordinate value to the soft keyboard application program, and the soft keyboard application program determines the selected key from the keys according to the representative coordinate value.

在本发明的一实施例中,在决定点选按键后,软键盘应用程序在触摸式屏幕显示图像。其中,图像包括输入提示信息,或与点选按键的外观相同。In an embodiment of the present invention, after determining to click a button, the soft keyboard application program displays an image on the touch screen. Wherein, the image includes input prompt information, or has the same appearance as the clicked button.

在本发明的一实施例中,软键盘应用程序用以放大显示点选按键,而放大显示包括等比例放大显示点选按键。In an embodiment of the present invention, the soft keyboard application is used to enlarge and display the selected button, and the enlarged display includes proportionally enlarged and displayed the selected button.

在本发明的一实施例中,其中软键盘应用程序取得软键盘的键盘显示区域,依据键盘显示区域及每个按键的按键大小预设值来计算各按键的按键显示区域,并取得涵盖代表坐标值的按键显示区域,以及以取得的按键显示区域所对应的按键做为点选按键。In one embodiment of the present invention, the soft keyboard application obtains the keyboard display area of the soft keyboard, calculates the key display area of each key according to the keyboard display area and the preset value of the key size of each key, and obtains the coordinates covering the representative The key display area of the value, and the key corresponding to the obtained key display area is used as the click key.

在本发明的一实施例中,触摸式屏幕包括电阻式触摸屏幕,而电子装置为个人数字助理手机、智能型手机、触摸式手机,或移动电脑。In an embodiment of the present invention, the touch screen includes a resistive touch screen, and the electronic device is a PDA mobile phone, a smart phone, a touch mobile phone, or a mobile computer.

本发明在使用者触碰触摸式屏幕时,检测每块接触面积所涵盖所有触压点,并根据触压点的坐标值决定一个能表示使用者的操作动作的代表坐标值,进而控制应用程序根据代表坐标值执行相对应的功能。如此一来,使用者将可以通过触摸式屏幕来对电子装置上的应用程序进行操控,进而提升操作电子装置的便利性。When the user touches the touch screen, the present invention detects all touch points covered by each contact area, and determines a representative coordinate value that can represent the user's operation action according to the coordinate value of the touch point, and then controls the application program Execute the corresponding function according to the representative coordinate value. In this way, the user can control the application program on the electronic device through the touch screen, thereby improving the convenience of operating the electronic device.

为让本发明的上述特征和优点能更明显易懂,下文特举优选实施例,并配合附图,作详细说明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, preferred embodiments will be described in detail below together with the accompanying drawings.

附图说明Description of drawings

图1是依照本发明的一实施例的电子装置的方块图。FIG. 1 is a block diagram of an electronic device according to an embodiment of the invention.

图2是依照本发明的一实施例的操控应用程序的方法的流程图。FIG. 2 is a flowchart of a method for manipulating an application program according to an embodiment of the invention.

图3是依照本发明的一实施例的触摸式屏幕的示意图。FIG. 3 is a schematic diagram of a touch screen according to an embodiment of the invention.

图4A、4B是依照本发明的另一实施例的触摸式屏幕的示意图。4A and 4B are schematic diagrams of a touch screen according to another embodiment of the present invention.

图5是依照本发明的一实施例的被按压的触摸式屏幕的示意图。FIG. 5 is a schematic diagram of a pressed touch screen according to an embodiment of the invention.

主要元件符号说明Description of main component symbols

100:电子装置100: Electronics

110:触摸式屏幕110: Touch screen

120:代表坐标值决定模块120: represents the coordinate value determination module

130:处理模块130: processing module

210~240:本发明的一实施例所述的操控应用程序的方法的各步骤210-240: each step of the method for controlling an application program according to an embodiment of the present invention

310:软键盘310: Soft keyboard

320:按键320: button

330:图像330: Image

500:触摸式屏幕500: touch screen

510:接触面积510: contact area

520:软键盘520: soft keyboard

521:按键521: Button

具体实施方式Detailed ways

为了使本发明的内容更为明了,以下特举实施例做为本发明确实能够据以实施的范例。In order to make the content of the present invention more clear, the following specific examples are given as examples in which the present invention can indeed be implemented.

图1是依照本发明的一实施例的电子装置的方块图。请参阅图1,电子装置100包括触摸式屏幕110、代表坐标值决定模块120,以及处理模块130。在本实施例中,电子装置100可以是个人数字助理(PDA)手机、智能型手机(Smartphone)、触摸式手机(Touchphone),或移动电脑(Mobilecomputer)等等,在此并不限制其范围。FIG. 1 is a block diagram of an electronic device according to an embodiment of the invention. Referring to FIG. 1 , the electronic device 100 includes a touch screen 110 , a representative coordinate value determining module 120 , and a processing module 130 . In this embodiment, the electronic device 100 may be a personal digital assistant (PDA) mobile phone, a smart phone (Smartphone), a touch phone (Touchphone), or a mobile computer (Mobilecomputer), etc., and the scope thereof is not limited here.

其中,触摸式屏幕110例如是电阻式触摸屏幕,除了可以用来做为电子装置100的显示界面之外,更能够检测使用者利用输入工具(例如手指或触摸笔)接触触摸式屏幕110时所形成的每块接触面积,并且取得各接触面积所涵盖的所有触压点。Wherein, the touch screen 110 is, for example, a resistive touch screen. In addition to being used as a display interface of the electronic device 100, it can also detect when a user touches the touch screen 110 with an input tool (such as a finger or a stylus). Each contact area is formed, and all contact pressure points covered by each contact area are obtained.

代表坐标值决定模块120与触摸式屏幕110相连,用以在触摸式屏幕110取得所有的触压点之后,根据各个触压点的坐标值决定代表坐标值。其中,代表坐标值决定模块120例如是一个控制器(Controller),或单独配置在电子装置100内部的芯片(Chip)。在此必须特别说明的是,无论触摸式屏幕110是否检测到一块以上的接触面积,代表坐标值决定模块120仅会决定一个唯一的代表坐标值。The representative coordinate value determination module 120 is connected to the touch screen 110 for determining representative coordinate values according to the coordinate values of each touch pressure point after the touch screen 110 obtains all the touch pressure points. Wherein, the representative coordinate value determination module 120 is, for example, a controller (Controller), or a chip (Chip) separately configured inside the electronic device 100 . It should be noted here that no matter whether the touch screen 110 detects more than one contact area, the representative coordinate value determination module 120 will only determine a unique representative coordinate value.

而处理模块130连接至代表坐标值决定模块120,在代表坐标值决定模块120决定代表坐标值之后,控制安装在电子装置100内的应用程序根据代表坐标值执行对应的功能。The processing module 130 is connected to the representative coordinate value determination module 120 , and after the representative coordinate value determination module 120 determines the representative coordinate value, it controls the application program installed in the electronic device 100 to execute the corresponding function according to the representative coordinate value.

接下来的实施例将以电子装置100为例,据以说明通过触摸式屏幕110来操控应用程序的详细步骤。图2是依照本发明的一实施例所示的操控应用程序的方法的流程图。请同时参阅图1与图2,在使用者准备对电子装置100进行操作时,可利用手指或触摸笔等输入工具来触碰触摸式屏幕110。由于输入工具本身具有一定的宽度,因此如步骤210所示,触摸式屏幕110在输入工具与其接触之后,检测与输入工具接触所产生的接触面积。其中,触摸式屏幕110可同时检测到一块或一块以上的接触面积。接着在步骤220中,触摸式屏幕110取得各接触面积所涵盖的每个触压点。The following embodiments will take the electronic device 100 as an example to describe the detailed steps of manipulating the application programs through the touch screen 110 . FIG. 2 is a flowchart of a method for controlling an application program according to an embodiment of the invention. Please refer to FIG. 1 and FIG. 2 at the same time. When the user is ready to operate the electronic device 100 , he can use an input tool such as a finger or a touch pen to touch the touch screen 110 . Since the input tool itself has a certain width, as shown in step 210 , the touch screen 110 detects the contact area generated by the contact with the input tool after the input tool is in contact with it. Wherein, the touch screen 110 can simultaneously detect one or more contact areas. Then in step 220 , the touch screen 110 obtains each touch pressure point covered by each contact area.

接下来,如步骤230所示,由代表坐标值决定模块120根据所有触压点的坐标值决定一个代表坐标值。在一实施例中,每个触压点的坐标值包括了x轴坐标值与y轴坐标值这两个分量,而以下是针对代表坐标值决定模块120如何根据各触压点的坐标值来计算代表坐标值的详细说明。在触摸式屏幕110取得各接触面积所涵盖的触压点之后,代表坐标值决定模块120取得每个触压点的x轴坐标值,并计算上述x轴坐标值的平均(以下称为x轴坐标平均值)。同样地,代表坐标值决定模块120亦会取得所有触压点的y轴坐标值,并计算其平均以取得一y轴坐标平均值。在计算完毕之后,代表坐标值决定模块120便会以x轴坐标平均值以及y轴坐标平均值来做为表示所有触压点的代表坐标值。Next, as shown in step 230 , the representative coordinate value determination module 120 determines a representative coordinate value according to the coordinate values of all touch points. In one embodiment, the coordinate value of each pressure point includes two components, the x-axis coordinate value and the y-axis coordinate value, and the following is how the representative coordinate value determination module 120 determines the Computes detailed instructions for representing coordinate values. After the touch screen 110 obtains the touch pressure points covered by each contact area, the representative coordinate value determination module 120 obtains the x-axis coordinate value of each touch pressure point, and calculates the average of the above-mentioned x-axis coordinate values (hereinafter referred to as x-axis coordinate mean). Similarly, the representative coordinate value determination module 120 also obtains the y-axis coordinate values of all touch points, and calculates the average thereof to obtain a y-axis coordinate average value. After the calculation is completed, the representative coordinate value determining module 120 uses the average value of the x-axis coordinates and the average value of the y-axis coordinates as the representative coordinate values representing all the touch points.

在另一实施例中,代表坐标值决定模块120首先替每个x轴坐标值以及y轴坐标值定义各自的权重值。其中,定义权重值的方式包括取得各触压点的压力值(压力值与使用者触碰触摸式屏幕110的力道有关),并以对应的压力值的大小来定义各触压点的x轴坐标值与y轴坐标值的权重值。比如说,压力值越大则给予较高的权重值。此外,代表坐标值决定模块120也可以根据使用者以往的使用经验来定义权重值。接下来,代表坐标值决定模块120以各x轴坐标值及对应的权重值来计算x轴坐标加权平均值(例如各别计算每个x轴坐标值与对应权重值的乘积,再计算上述乘积的平均值),以及以各y轴坐标值与对应的权重值来计算y轴坐标加权平均值(例如各别计算每个y轴坐标值与对应权重值的乘积,再计算上述乘积的平均值)。最后,以x轴坐标加权平均值以及y轴坐标加权平均值来做为所有触压点的代表坐标值。In another embodiment, the representative coordinate value determining module 120 firstly defines respective weight values for each x-axis coordinate value and y-axis coordinate value. Wherein, the method of defining the weight value includes obtaining the pressure value of each touch point (the pressure value is related to the force with which the user touches the touch screen 110), and defining the x-axis of each touch point with the corresponding pressure value The weight value of the coordinate value and the y-axis coordinate value. For example, a higher pressure value is given a higher weight value. In addition, the representative coordinate value determination module 120 can also define the weight value according to the user's past experience. Next, the representative coordinate value determination module 120 calculates the weighted average value of the x-axis coordinates with each x-axis coordinate value and the corresponding weight value (for example, calculates the product of each x-axis coordinate value and the corresponding weight value, and then calculates the above product ), and calculate the weighted average value of the y-axis coordinates with each y-axis coordinate value and the corresponding weight value (for example, calculate the product of each y-axis coordinate value and the corresponding weight value separately, and then calculate the average value of the above products ). Finally, the weighted average value of the x-axis coordinates and the weighted average value of the y-axis coordinates are used as the representative coordinate values of all touch pressure points.

如上所述可以发现,由代表坐标值决定模块120所计算的代表坐标值是唯一且绝对的坐标值。然而必须特别说明的是,计算x轴坐标平均值以及y轴坐标平均值的方式包括根据触压点的数量来计算其平均,或是根据经验值而以加权平均的方式来计算,在此并不限制计算平均值的方式。As mentioned above, it can be found that the representative coordinate value calculated by the representative coordinate value determination module 120 is a unique and absolute coordinate value. However, it must be noted that the method of calculating the average value of the x-axis coordinates and the average value of the y-axis coordinates includes calculating the average according to the number of touch pressure points, or calculating the weighted average based on empirical values, which is not used here. There is no restriction on the manner in which the average is calculated.

最后如步骤240所示,由处理模块130控制电子装置100中的应用程序根据代表坐标值执行对应的功能,进而完成通过触摸式屏幕110来操控应用程序的流程。必须说明的是,处理模块130可以控制任何执行在电子装置100上的应用程序根据代表坐标值来执行功能,应用程序的种类并不用以限制本发明的范围。Finally, as shown in step 240 , the processing module 130 controls the application program in the electronic device 100 to execute the corresponding function according to the representative coordinate value, thereby completing the process of manipulating the application program through the touch screen 110 . It must be noted that the processing module 130 can control any application program executed on the electronic device 100 to perform functions according to the representative coordinate values, and the type of the application program is not intended to limit the scope of the present invention.

在上述实施例中,由触摸式屏幕110所检测到的触压点对应于使用者的操作动作,而代表坐标值决定模块120所计算的代表坐标值则是用来表示这些触压点。因此,使用者对触摸式屏幕110的操作便能用代表坐标值来表示。据此,在处理模块130将代表坐标值传送至应用程序之后,应用程序依据代表坐标值所执行的功能便是反应使用者的操作动作。In the above embodiments, the touch points detected by the touch screen 110 correspond to the user's operation actions, and the representative coordinate values calculated by the representative coordinate value determination module 120 are used to represent these touch points. Therefore, the user's operations on the touch screen 110 can be represented by representative coordinate values. Accordingly, after the processing module 130 transmits the representative coordinate value to the application program, the function executed by the application program according to the representative coordinate value is to reflect the user's operation action.

值得一提的是,在另一实施例中,电子装置100仅包括相互连接的触摸式屏幕110以及处理模块130。其中,处理模块130除了可执行如上述实施例所公开的功能之外,更可以执行在前述实施例中代表坐标值决定模块120所能执行的各项动作。因此,在此实施例中只需通过处理模块130便能决定用来表示所有触压点的代表坐标值,而不需再额外配置控制器或芯片来实现代表坐标值决定模块120的功能。It is worth mentioning that, in another embodiment, the electronic device 100 only includes the touch screen 110 and the processing module 130 connected to each other. Wherein, in addition to the functions disclosed in the above-mentioned embodiments, the processing module 130 can also perform various actions that can be performed by the representative coordinate value determining module 120 in the above-mentioned embodiments. Therefore, in this embodiment, only the processing module 130 can determine the representative coordinate values used to represent all touch pressure points, and no additional controller or chip is needed to realize the function of the representative coordinate value determination module 120 .

执行在电子装置100上的应用程序种类繁多,以下将以软键盘应用程序为例,进一步地说明处理模块130控制应用程序根据代表坐标值来执行功能的详细步骤。其中,软键盘应用程序用以在触摸式屏幕110上显示包括数个按键的软键盘。There are many kinds of application programs executed on the electronic device 100 , and the following will take the soft keyboard application program as an example to further illustrate the detailed steps of the processing module 130 controlling the application program to perform functions according to the representative coordinate values. Wherein, the soft keyboard application program is used to display a soft keyboard including several keys on the touch screen 110 .

在处理模块130收到由代表坐标值决定模块120所传送的代表坐标值后,便会将此代表坐标值传送至软键盘应用程序。而软键盘应用程序则会根据所接收到的代表坐标值,从软键盘上的所有按键中决定一个点选按键。After the processing module 130 receives the representative coordinate value sent by the representative coordinate value determining module 120, it will send the representative coordinate value to the soft keyboard application program. The soft keyboard application program will determine a click button from all the buttons on the soft keyboard according to the received representative coordinate value.

图3是依照本发明的一实施例所绘示的触摸式屏幕的示意图。请同时参阅图1与图3,软键盘应用程序系根据触摸式屏幕110的尺寸以及预先定义的键盘显示区域,进而在触摸式屏幕110上绘制包括数个按键的软键盘(如图3的软键盘310),并且根据软键盘310的种类以及按键大小预设值绘制数个按键。据此,在软键盘应用程序收到代表坐标值之后,首先根据键盘显示区域以及每个按键的按键大小预设值,计算各按键在触摸式屏幕110上的按键显示区域。接着从各按键的按键显示区域当中,找出可以涵盖代表坐标值的按键显示区域,并以这个按键显示区域所对应的按键来做为点选按键。为了方便说明,在此假设按键320所对应的按键显示区域涵盖了由处理模块130所传送而来的代表坐标值,因此按键320便会被软键盘应用程序视为点选按键。FIG. 3 is a schematic diagram of a touch screen according to an embodiment of the present invention. Please refer to FIG. 1 and FIG. 3 at the same time. The soft keyboard application system draws a soft keyboard comprising several keys on the touch screen 110 according to the size of the touch screen 110 and the predefined keyboard display area (such as the soft keyboard shown in FIG. 3 ). keyboard 310), and draw several buttons according to the type of the soft keyboard 310 and the preset value of the button size. Accordingly, after the soft keyboard application program receives the representative coordinate value, it first calculates the key display area of each key on the touch screen 110 according to the key display area and the preset value of the key size of each key. Then, find out the button display area that can cover the representative coordinate value from the button display area of each button, and use the button corresponding to this button display area as the click button. For the convenience of description, it is assumed that the key display area corresponding to the key 320 covers the representative coordinate value transmitted from the processing module 130 , so the key 320 will be regarded as a click key by the soft keyboard application.

在一实施例中,在软键盘应用程序决定点选按键(例如按键320)之后,将在触摸式屏幕110上放大显示点选按键。举例来说,软键盘应用程序将等比例的放大点选按键,而等比例放大点选按键的结果则如图4A的按键320所示。In one embodiment, after the soft keyboard application program determines to click on a button (such as the button 320 ), the clickable button will be enlarged and displayed on the touch screen 110 . For example, the soft keyboard application will scale up the clicked key, and the result of scaling up the clicked key is shown as the key 320 in FIG. 4A .

在另一实施例中,如图4B所示,在决定点选按键(即按键320)之后,软键盘应用程序将在触摸式屏幕110的其他区域(例如上方区域)显示图像330。其中,图像330与点选按键320的外观相同。In another embodiment, as shown in FIG. 4B , after deciding to click the button (ie, the button 320 ), the soft keyboard application will display an image 330 on another area (eg, the upper area) of the touch screen 110 . Wherein, the appearance of the image 330 is the same as that of the click button 320 .

在又一实施例中,在软键盘应用程序所显示的图像中包括了输入提示信息。其中,输入提示信息例如将轮流显示点选按键所对应的字元,而点选按键的对应字元会与电子装置100目前设定的输入模式有关。通过图像上的输入提示信息,使用者可以得知在放开点选按键后将要输入的字元。In yet another embodiment, the image displayed by the soft keyboard application includes input prompt information. The input prompt information, for example, will display characters corresponding to the clicked buttons in turn, and the corresponding characters of the clicked buttons will be related to the input mode currently set by the electronic device 100 . Through the input prompt information on the image, the user can know the character to be input after releasing the click button.

如上所述,软键盘应用程序根据代表坐标值判断使用者所点选的按键,并且通过各种视觉反馈(visualfeedback)的效果(例如放大显示点选按键,或在其他区域显示图像)让使用者能很容易地判断输入工具是否按压到正确的位置。另一方面,视觉反馈也可以让使用者预示(preview)即将输入的字元,进而避免操作错误而降低使用电子装置100的效率。As mentioned above, the soft keyboard application program judges the button clicked by the user according to the representative coordinate value, and through various visual feedback (visual feedback) effects (such as zooming in on the clicked button, or displaying images in other areas) allows the user to It is easy to judge whether the input tool is pressed to the correct position. On the other hand, the visual feedback can also allow the user to preview the characters to be input, so as to avoid operating errors and reduce the efficiency of using the electronic device 100 .

根据使用经验以及调查结果显示,将触压点的坐标值加以计算后所取得的唯一代表坐标值,往往便是使用者在操作触摸式屏幕时最想要按压的位置。因此如图5所示,当触摸式屏幕500上显示软键盘520时,假设在使用者触碰触摸式屏幕500所产生的接触面积510中,共涵盖了11个触压点(在图5中以“·”符号表示),而根据这些触压点的坐标值所取得的代表坐标值(其位置如“*”符号所示),便是对应到使用者最希望按压的按键(亦即,涵盖代表坐标值的按键521区域)。在本实施例中,按键521将呈现出例如在原地放大显示的视觉反馈效果,以进一步地帮助使用者确认被按压的按键是否就是使用者所希望选取的按键。在另一实施例中,一个与按键521外观相同的图像将显示在触摸式屏幕500的其他区域(例如上方区域),进而让使用者更容易确认是否按压到正确的按键。According to experience and investigation results, the only representative coordinate value obtained after calculating the coordinate value of the touch point is often the position that the user most wants to press when operating the touch screen. Therefore as shown in FIG. 5, when the soft keyboard 520 is displayed on the touch screen 500, it is assumed that in the contact area 510 generated by the user touching the touch screen 500, 11 touch pressure points (in FIG. represented by the "·" symbol), and the representative coordinate values obtained according to the coordinate values of these touch points (its position is shown by the "*" symbol), which correspond to the key that the user most wants to press (that is, Covers the key 521 area representing the coordinate value). In this embodiment, the button 521 will present a visual feedback effect such as zooming in on the spot, so as to further help the user confirm whether the pressed button is the button that the user wants to select. In another embodiment, an image with the same appearance as the key 521 will be displayed on other areas (eg, the upper area) of the touch screen 500 , so that it is easier for the user to confirm whether the correct key is pressed.

上述实施例可应用在任何通过触摸式屏幕来进行操作的电子装置中,然而由于电阻式触摸屏幕多半支持的是单点触碰技术,因此本发明尤其适用在配置电阻式触摸屏幕的电子装置。根据电阻式触摸屏幕本身的特性,本发明将能最简单、快速,且精确地反应使用者的操作动作,以提供最佳的操作效果。The above-mentioned embodiments can be applied to any electronic device operated through a touch screen. However, since most resistive touch screens support single-touch technology, the present invention is especially applicable to electronic devices configured with a resistive touch screen. According to the characteristics of the resistive touch screen itself, the present invention can respond to the user's operation action most simply, quickly and accurately, so as to provide the best operation effect.

综上所述,本发明所述的操控应用程序的方法、其电子装置、储存媒体及使用此方法的电脑程序产品,是在取得输入工具与触摸式屏幕接触所产生的接触面积后,将接触面积所涵盖的每个触压点的坐标值加以平均,进而得到唯一的代表坐标值。由于代表坐标值可用来表示使用者的操作动作,因此在控制应用程序根据代表坐标值执行相对应的功能时,便能适当地对使用者的操作进行反应。通过上述方式不但能简单且精确地操控应用程序,同时也能提升使用者利用触摸式屏幕来操作电子装置的便利性。To sum up, the method for manipulating an application program, its electronic device, storage medium, and computer program product using the method described in the present invention obtain the contact area generated by the contact between the input tool and the touch screen, and then touch the touch screen. The coordinate values of each touch point covered by the area are averaged to obtain a unique representative coordinate value. Since the representative coordinate value can be used to represent the user's operation action, when the control application program executes the corresponding function according to the representative coordinate value, it can properly respond to the user's operation. Through the above method, not only can the application program be controlled simply and accurately, but also the convenience for the user to operate the electronic device by using the touch screen can be improved.

虽然本发明已以优选实施例公开如上,然其并非用以限定本发明,任何所属技术领域中具有通常知识者,在不脱离本发明的精神和范围内,当可作些许的更动与润饰,因此本发明的保护范围当视权利要求书所界定者为准。Although the present invention has been disclosed as above with preferred embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the technical field may make some changes and modifications without departing from the spirit and scope of the present invention. , so the scope of protection of the present invention should be defined by the claims.

Claims (16)

1. a method for operating application program, for having an electronic installation of a touch-screen, the method comprises:
After at least one contact area detecting this touch-screen of contact, obtain at least one touch point that above-mentioned respectively this contact area contains;
Determine that one represents coordinate figure according to a coordinate figure of each above-mentioned touch point; And
Control an application program and represent according to this function that coordinate figure performs correspondence,
Wherein each above-mentioned coordinate figure comprises an x-axis coordinate figure and a y-axis coordinate figure, and determines that the step that this represents coordinate figure comprises:
Obtain a force value of each above-mentioned touch point;
According to the size of this force value of correspondence, define this x-axis coordinate figure of each above-mentioned touch point and a weighted value of this y-axis coordinate figure respectively;
An x-axis coordinate weighted mean value is calculated with this weighted value of each above-mentioned x-axis coordinate figure and correspondence;
A y-axis coordinate weighted mean value is calculated with this weighted value of each above-mentioned y-axis coordinate figure and correspondence; And
Coordinate figure is represented as this with this x-axis coordinate weighted mean value and this y-axis coordinate weighted mean value.
2. the method for operating application program according to claim 1, determines that the step that this represents coordinate figure more comprises:
Calculate an x-axis coordinate mean value of above-mentioned x-axis coordinate figure respectively, with a y-axis coordinate mean value of above-mentioned y-axis coordinate figure; And
Coordinate figure is represented as this with this x-axis coordinate mean value and this y-axis coordinate mean value.
3. the method for operating application program according to claim 1, wherein this application program comprises a soft keyboard application program, comprise a soft keyboard of multiple button in order to display on this touch-screen, and control this application program and represent the step that coordinate figure performs this corresponding function comprise according to this:
Transmit this and represent coordinate figure to this soft keyboard application program; And
This soft keyboard application program represents coordinate figure according to this, by determining in those buttons that one clicks button.
4. the method for operating application program according to claim 3, wherein in decision, this also comprises after clicking the step of button:
Show an image at this touch-screen, wherein this image comprises an input prompt information, or identical with the outward appearance that this clicks button.
5. the method for operating application program according to claim 3, wherein in decision, this also comprises after clicking the step of button:
This clicks button to amplify display.
6. the method for operating application program according to claim 5, wherein amplify this step clicking button of display and comprise:
Equal proportion amplifies display, and this clicks button.
7. the method for operating application program according to claim 3, wherein by determining in those buttons that the step that this clicks button comprises:
Obtain a keyboard & display region of this soft keyboard;
According to a button size preset value of this keyboard & display region and each those button, calculate a button viewing area of each those button;
Obtain and contain this button viewing area that this represents coordinate figure; And
Button is clicked as this with this button corresponding to this button viewing area obtained.
8. the method for operating application program according to claim 1, wherein this touch-screen comprises a resistive touch screen.
9. an electronic installation, comprising:
One touch-screen, in order to detect at least one contact area of this touch-screen of contact, and is detecting at least one touch point respectively obtaining above-mentioned respectively this contact area after this contact area and contain; And
One processing module, is coupled to this touch-screen, in order to determine that one represents coordinate figure according to a coordinate figure of each above-mentioned touch point, and controls an application program and represents coordinate figure perform a corresponding function according to this,
Wherein each above-mentioned coordinate figure comprises an x-axis coordinate figure and a y-axis coordinate figure, and this processing module obtains a force value of each above-mentioned touch point, according to the size of this force value of correspondence, define this x-axis coordinate figure of each above-mentioned touch point and a weighted value of this y-axis coordinate figure respectively, an x-axis coordinate weighted mean value is calculated with this weighted value of each above-mentioned x-axis coordinate figure and correspondence, a y-axis coordinate weighted mean value is calculated with this weighted value of each above-mentioned y-axis coordinate figure and correspondence, and represent coordinate figure with this x-axis coordinate weighted mean value and this y-axis coordinate weighted mean value as this.
10. electronic installation according to claim 9, this processing module calculates an x-axis coordinate mean value of above-mentioned x-axis coordinate figure respectively, with a y-axis coordinate mean value of above-mentioned y-axis coordinate figure, and represent coordinate figure with this x-axis coordinate mean value and this y-axis coordinate mean value as this.
11. electronic installations according to claim 9, wherein this application program comprises a soft keyboard application program, a soft keyboard of multiple button is comprised in order to display on this touch-screen, wherein this processing module transmits this and represents coordinate figure to this soft keyboard application program, and this soft keyboard application program represents coordinate figure according to this, by determining in those buttons that one clicks button.
12. electronic installations according to claim 11, wherein this soft keyboard application program shows an image at this touch-screen, and wherein this image comprises an input prompt information, or identical with the outward appearance that this clicks button.
13. electronic installations according to claim 11, wherein this soft keyboard application program amplify display this click button.
14. electronic installations according to claim 13, wherein this soft keyboard application program equal proportion amplify display this click button.
15. electronic installations according to claim 11, wherein this soft keyboard application program obtains a keyboard & display region of this soft keyboard, according to a button size preset value of this keyboard & display region and each those button, calculate a button viewing area of each those button, and obtain and contain this button viewing area that this represents coordinate figure, and click button with this button corresponding to this button viewing area obtained as this.
16. electronic installations according to claim 9, wherein this touch-screen comprises a resistive touch screen.
CN200810144888.0A 2008-07-31 2008-07-31 Method for manipulating application program and its electronic device Active CN101639738B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810144888.0A CN101639738B (en) 2008-07-31 2008-07-31 Method for manipulating application program and its electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810144888.0A CN101639738B (en) 2008-07-31 2008-07-31 Method for manipulating application program and its electronic device

Publications (2)

Publication Number Publication Date
CN101639738A CN101639738A (en) 2010-02-03
CN101639738B true CN101639738B (en) 2015-12-16

Family

ID=41614748

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810144888.0A Active CN101639738B (en) 2008-07-31 2008-07-31 Method for manipulating application program and its electronic device

Country Status (1)

Country Link
CN (1) CN101639738B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101957722A (en) * 2010-09-28 2011-01-26 华为终端有限公司 Touch screen input control method and device as well as mobile phone
KR101824388B1 (en) * 2011-06-10 2018-02-01 삼성전자주식회사 Apparatus and method for providing dynamic user interface in consideration of physical characteristics of user
CN104254420B (en) * 2012-03-28 2017-09-15 瑟克公司 Extracted using the single and multiple finger of weighting masks and position is calculated
KR20130123691A (en) * 2012-05-03 2013-11-13 삼성전자주식회사 Method for inputting touch input and touch display apparatus thereof
CN105022561A (en) * 2014-04-30 2015-11-04 中国电信股份有限公司 Touch screen control apparatus and method and mobile terminal
CN104111797B (en) * 2014-06-24 2017-07-21 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN113467656B (en) * 2021-06-24 2023-03-24 亿咖通(湖北)技术有限公司 Screen touch event notification method and vehicle machine

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0229713A2 (en) * 1986-01-15 1987-07-22 Tektronix, Inc. Touch panel
US6340979B1 (en) * 1997-12-04 2002-01-22 Nortel Networks Limited Contextual gesture interface
CN1815428A (en) * 2005-01-31 2006-08-09 株式会社东海理化电机制作所 Touch input device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0229713A2 (en) * 1986-01-15 1987-07-22 Tektronix, Inc. Touch panel
US6340979B1 (en) * 1997-12-04 2002-01-22 Nortel Networks Limited Contextual gesture interface
CN1815428A (en) * 2005-01-31 2006-08-09 株式会社东海理化电机制作所 Touch input device

Also Published As

Publication number Publication date
CN101639738A (en) 2010-02-03

Similar Documents

Publication Publication Date Title
TWI428812B (en) Method for controlling application program, electronic device thereof, recording medium thereof, and computer program product using the method
TWI420379B (en) Method for selecting functional icons on a touch screen
US9740321B2 (en) Method for operating application program and mobile electronic device using the same
JP4372188B2 (en) Information processing apparatus and display control method
CN101098533B (en) Keypad touch user interface method and mobile terminal using the same
US20140380209A1 (en) Method for operating portable devices having a touch screen
US20110216015A1 (en) Apparatus and method for directing operation of a software application via a touch-sensitive surface divided into regions associated with respective functions
US20150149968A1 (en) Touch device and control method thereof
TWI463355B (en) Signal processing apparatus, signal processing method and selecting method of user-interface icon for multi-touch interface
CN101639738B (en) Method for manipulating application program and its electronic device
US20090167715A1 (en) User interface of portable device and operating method thereof
US8130198B2 (en) Electronic device and method for operating application programs in the same
KR20070080879A (en) Document correction method and apparatus for a document display device having a touch screen
CN101551723A (en) Electronic device and related control method
JP5197533B2 (en) Information processing apparatus and display control method
JP2014052988A (en) Touch panel input device, touch input method, and touch input control program
AU2011318454B2 (en) Scrubbing touch infotip
CN102129338A (en) Image enlargement method and computer system thereof
CN103729104B (en) Electronic apparatus provided with resistive film type touch panel
JP2014176019A (en) Portable information processing device, input method for the same, and computer-executable program
JP2016015181A (en) User interface device, program and function activating method capable of activating different functions depending on degree of pressing
CN101620482A (en) How the computer system works
CN103713840B (en) Portable device and key clicking range adjusting method thereof
TWI439922B (en) Handheld electronic apparatus and control method thereof
CN100361063C (en) Composite cursor input method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant