TWI505170B - Method for controlling application program, electronic device thereof, recording medium thereof, and computer program product using the method - Google Patents

Method for controlling application program, electronic device thereof, recording medium thereof, and computer program product using the method Download PDF

Info

Publication number
TWI505170B
TWI505170B TW102138767A TW102138767A TWI505170B TW I505170 B TWI505170 B TW I505170B TW 102138767 A TW102138767 A TW 102138767A TW 102138767 A TW102138767 A TW 102138767A TW I505170 B TWI505170 B TW I505170B
Authority
TW
Taiwan
Prior art keywords
coordinate value
axis coordinate
representative
touch
button
Prior art date
Application number
TW102138767A
Other languages
Chinese (zh)
Other versions
TW201407455A (en
Inventor
yu chuan Chen
Hung I Weng
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 TW102138767A priority Critical patent/TWI505170B/en
Publication of TW201407455A publication Critical patent/TW201407455A/en
Application granted granted Critical
Publication of TWI505170B publication Critical patent/TWI505170B/en

Links

Description

操控應用程式的方法、其電子裝置、儲存媒體,及使用此方 法之電腦程式產品Method of manipulating the application, its electronic device, storage media, and using this party Computer program product

本發明是有關於一種操控電子裝置之應用程式的方法,且特別是有關於一種透過觸控式螢幕來操控應用程式的方法、其電子裝置、儲存媒體及使用此方法之電腦程式產品。The present invention relates to a method of manipulating an application of an electronic device, and more particularly to a method of controlling an application through a touch screen, an electronic device thereof, a storage medium, and a computer program product using the method.

隨著觸碰技術的精進,觸控式螢幕不但可以在顯示畫面的同時做為輸入介面,更兼具了成本低廉以及經久耐用等優點,進而逐漸成為顯示器市場上的新潮流。也正因如此,許多消費型電子產品的製造商為了使產品更為輕巧,均紛紛以觸控式螢幕取代傳統螢幕,據以在設計產品的外觀時省下硬體按鍵的空間,進而提供更大的顯示區域來放置大尺寸的觸控式螢幕,或是讓產品變得更輕薄。對使用者來說,越大的螢幕除了能提供更完善的視覺享受之外,在進行操作時也會感到更加便利,而產品的輕薄化 對於使用者也帶來便利。With the advancement of touch technology, the touch screen can be used as an input interface at the same time as the display screen, and has the advantages of low cost and durability, and gradually becomes a new trend in the display market. For this reason, many manufacturers of consumer electronics have replaced the traditional screen with a touch screen in order to make the products lighter, so as to save the space of the hard keys when designing the appearance of the product, thereby providing more A large display area to place a large touch screen or make the product lighter and thinner. For the user, the bigger the screen, in addition to providing a more complete visual enjoyment, the user will feel more convenient when operating, and the product is lighter and thinner. It also brings convenience to users.

在以觸控式螢幕做為輸入介面時,必須研發一套機制來判斷使用者的動作並進行反應。其中,軟體鍵盤(Software Input Panel,SIP)便是為了透過觸控式螢幕輸入文字而開發出來的一項技術。與傳統硬體按鍵不同的地方在於,當使用者操作硬體按鍵時,消費型電子產品可根據按鍵所產生的訊號來判斷被按壓的按鍵。然而,使用軟體鍵盤做為輸入介面的消費型電子產品,則必須額外設計一套方法來判別使用者所點選的按鍵是軟體鍵盤上的哪個按鍵。一般來說,在使用者以手指觸碰軟體鍵盤之後,軟體鍵盤應用程式將比較各個按鍵被手指所覆蓋住的面積,並且以被手指覆蓋最多的按鍵來做為使用者選取的按鍵,然而這樣的按鍵選取機制,根據使用經驗以及調查結果顯示,往往所選取的按鍵並非使用者在操作觸控式螢幕時所想要按壓的位置。When using a touch screen as an input interface, a mechanism must be developed to determine the user's actions and react. Among them, the Software Input Panel (SIP) is a technology developed for inputting text through a touch screen. The difference from the traditional hardware button is that when the user operates the hardware button, the consumer electronic product can judge the pressed button according to the signal generated by the button. However, for consumer electronics that use a software keyboard as the input interface, an additional method must be devised to determine which button on the software keyboard the button selected by the user is. Generally, after the user touches the software keyboard with a finger, the software keyboard application compares the area covered by each finger with the finger, and uses the button covered by the finger as the button selected by the user, however The button selection mechanism, according to the experience of use and the survey results, often the selected button is not the position that the user wants to press when operating the touch screen.

然而在講求產品效能的前提之下,如何設計一套演算法以更快速且精確地判斷使用者的動作,進而減少錯誤反應並更有效率地透過觸控式螢幕來完成文字輸入,便是電子產品製造商在研發過程中所希冀的目標。However, under the premise of product performance, how to design an algorithm to judge the user's movements more quickly and accurately, thereby reducing the error response and more efficiently inputting the text through the touch screen, is the electronic Product manufacturers' hopes in the R&D process.

有鑑於此,本發明提供一種操控應用程式的方法,在所有觸控式螢幕所感應到的觸壓點中,決定一個代表座標值,進而控制應用程式根據代表座標值執行對應的功能。In view of this, the present invention provides a method for manipulating an application, in which a touch point is sensed by all touch screens, and a representative coordinate value is determined, thereby controlling the application to perform a corresponding function according to the representative coordinate value.

本發明提供一種電子裝置,在使用者想藉由觸控式螢幕進行操作時,決定一個可代表操作動作的座標值,並使得應用程式執行與此座標值相對應的功能。The present invention provides an electronic device that determines a coordinate value representative of an operation action when the user wants to operate by the touch screen, and causes the application to perform a function corresponding to the coordinate value.

為達成上述及其他目的,本發明提出一種操控應用程式的方法,適用於具有觸控式螢幕的電子裝置。此方法首先在觸控式螢幕被觸碰時,偵測與觸控式螢幕接觸的每塊接觸面積,並且取得各接觸面積所涵蓋的所有觸壓點。之後根據各觸壓點的座標值決定一個代表座標值。最後,控制應用程式根據代表座標值以執行對應的功能。To achieve the above and other objects, the present invention provides a method of manipulating an application suitable for an electronic device having a touch screen. This method first detects each contact area in contact with the touch screen when the touch screen is touched, and obtains all the touch points covered by the contact areas. Then, a representative coordinate value is determined according to the coordinate value of each touch point. Finally, the control application performs the corresponding function based on the representative coordinate values.

在本發明之一實施例中,其中各觸壓點的座標值包括x軸座標值與y軸座標值。而決定代表座標值的步驟包括分別定義每個x軸座標值與每個y軸座標值的權重值。接著,以每個x軸座標值以及對應之權重值來計算x軸座標加權平均值,並且以每個y軸座標值以及對應之權重值計算y軸座標加權平均值。最後,以x軸座標加權平均值與y軸座標加權平均值做為代表座標值。In an embodiment of the invention, the coordinate values of the respective touch points include an x-axis coordinate value and a y-axis coordinate value. The step of determining the representative coordinate value includes defining a weight value 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 for each y-axis coordinate value and the corresponding weight value. Finally, the weighted average of the x-axis coordinates and the weighted average of the y-axis coordinates are used as representative coordinate values.

在本發明之一實施例中,其中分別定義每個x軸座標值與每個y軸座標值之權重值的步驟,包括取得每個觸壓點的壓力值,並且根據對應之壓力值的大小來定義每個觸壓點之x軸座標值與y軸座標值的權重值。In an embodiment of the invention, the step of separately defining a weight value for each of the x-axis coordinate values and each of the y-axis coordinate values includes obtaining a pressure value for each of the pressure points, and according to the magnitude of the corresponding pressure value To define the weight value of the x-axis coordinate value and the y-axis coordinate value of each touch point.

在本發明之一實施例中,其中各觸壓點的座標值包括x軸座標值與y軸座標值。而決定代表座標值的步驟包括先分別計算所有x軸座標值的x軸座標平均值,與所有y軸座標值的y軸 座標平均值。接著,以x軸座標平均值及y軸座標平均值做為代表座標值。In an embodiment of the invention, the coordinate values of the respective touch points include an x-axis coordinate value and a y-axis coordinate value. The decision to represent the coordinate value includes first calculating the x-axis coordinate average of all x-axis coordinate values, and the y-axis of all y-axis coordinate values. The average of the coordinates. Next, the x-axis coordinate average and the y-axis coordinate average are used as representative coordinate values.

在本發明之一實施例中,其中應用程式包括軟體鍵盤應用程式,用以在觸控式螢幕上顯示包括數個按鍵的軟體鍵盤。In an embodiment of the invention, the application includes a software keyboard application for displaying a software keyboard including a plurality of buttons on the touch screen.

在本發明之一實施例中,其中控制應用程式根據代表座標值執行對應之功能的步驟包括將代表座標值傳送至軟體鍵盤應用程式。而軟體鍵盤應用程式將根據代表座標值而由軟體鍵盤的所有按鍵中決定一個點選按鍵。In one embodiment of the invention, the step of the control application executing the corresponding function based on the representative coordinate value includes transmitting the representative coordinate value to the software keyboard application. The software keyboard application will determine a click button from all the keys of the software keyboard based on the coordinate value.

在本發明之一實施例中,軟體鍵盤應用程式將放大顯示點選按鍵,而放大顯示點選按鍵更包括等比例放大顯示點選按鍵。In an embodiment of the present invention, the software keyboard application will enlarge the display point selection button, and the enlarged display point selection button further includes a proportional enlargement display point selection button.

本發明之一實施例中,其中在決定點選按鍵的步驟之後,更包括在觸控式螢幕上顯示圖像。其中,圖像例如包括輸入提示資訊,或是與點選按鍵的外觀相同。In an embodiment of the present invention, after the step of determining a button is selected, the image is further displayed on the touch screen. The image includes, for example, input prompt information or the same appearance as the click button.

在本發明之一實施例中,其中由所有按鍵中決定一個點選按鍵的步驟包括取得軟體鍵盤的鍵盤顯示區域,並依據鍵盤顯示區域及每個按鍵的按鍵大小預設值,計算各按鍵的按鍵顯示區域。接下來,取得涵蓋代表座標值的按鍵顯示區域。最後,以取得之按鍵顯示區域所對應的按鍵來做為點選按鍵。In an embodiment of the present invention, the step of determining a click button from all the buttons comprises: obtaining a keyboard display area of the software keyboard, and calculating the button according to the keyboard display area and the button size preset value of each button. Button display area. Next, a key display area covering the representative coordinate value is obtained. Finally, the button corresponding to the obtained button display area is used as the click button.

在本發明之一實施例中,其中觸控式螢幕包括電阻式觸控螢幕。而電子裝置為個人數位助理(PDA)手機、智慧型手機(Smartphone)、觸碰式手機(Touch phone),或行動電腦(Mobile computer)。In an embodiment of the invention, the touch screen includes a resistive touch screen. The electronic device is a personal digital assistant (PDA) mobile phone, a smart phone, a touch phone, or a mobile computer.

從另一觀點來看,本發明提出一種電子裝置。此電子裝置包括觸控式螢幕、代表座標值決定模組,以及處理模組。其中觸控式螢幕係用以偵測接觸觸控式螢幕時的至少一塊接觸面積,並取得各接觸面積所涵蓋的至少一個觸壓點。代表座標值決定模組與觸控式螢幕相連,用以根據各個觸壓點的座標值決定一個代表座標值。而處理模組連接至代表座標值決定模組,用以控制應用程式根據代表座標值執行對應的功能。From another point of view, the present invention proposes an electronic device. The electronic device includes a touch screen, a representative coordinate value determining module, and a processing module. The touch screen is configured to detect at least one contact area when the touch screen is touched, and obtain at least one touch point covered by each contact area. The representative coordinate value determining module is connected to the touch screen to determine a representative coordinate value according to the coordinate value of each touch point. The processing module is connected to the representative coordinate value determining module for controlling the application to perform the corresponding function according to the representative coordinate value.

在本發明之一實施例中,其中每個觸壓點的座標值包括x軸座標值與y軸座標值,而代表座標值決定模組分別定義每個x軸座標值與每個y軸座標值的權重值,以每個x軸座標值以及對應之權重值計算x軸座標加權平均值,並以每個y軸座標值以及對應之權重值計算y軸座標加權平均值。最後以x軸座標加權平均值與y軸座標加權平均值做為代表座標值。In an embodiment of the invention, the coordinate value of each touch point includes an x-axis coordinate value and a y-axis coordinate value, and the coordinate value determination module defines each x-axis coordinate value and each y-axis coordinate respectively. The weight value of the value is calculated by using the x-axis coordinate weighted average value for each x-axis coordinate value and the corresponding weight value, and the y-axis coordinate weighted average value is calculated for each y-axis coordinate value and the corresponding weight value. Finally, the weighted average of the x-axis coordinates and the weighted average of the y-axis coordinates are used as representative coordinate values.

在本發明之一實施例中,其中代表座標值決定模組取得每個觸壓點的壓力值,並根據對應之壓力值的大小,定義每個觸壓點之x軸座標值與y軸座標值的權重值。In an embodiment of the invention, the representative coordinate value determining module obtains the pressure value of each touch point, and defines the x-axis coordinate value and the y-axis coordinate of each touch point according to the corresponding pressure value. The weight value of the value.

在本發明之一實施例中,其中每個觸壓點的座標值包括x軸座標值與y軸座標值,而代表座標值決定模組分別計算所有x軸座標值的x軸座標平均值,與所有y軸座標值的y軸座標平均值,並且以x軸座標平均值以及y軸座標平均值做為代表座標值。In an embodiment of the invention, the coordinate value of each touch point includes an x-axis coordinate value and a y-axis coordinate value, and the coordinate value determination module calculates an x-axis coordinate average value of all the x-axis coordinate values, respectively. The y-axis coordinate average with all y-axis coordinate values, and the x-axis coordinate average and the y-axis coordinate average are used as representative coordinate values.

在本發明之一實施例中,其中應用程式包括軟體鍵盤應用程式,用以在觸控式螢幕上顯示包括數個按鍵的軟體鍵盤。In an embodiment of the invention, the application includes a software keyboard application for displaying a software keyboard including a plurality of buttons on the touch screen.

在本發明之一實施例中,其中處理模組將代表座標值傳送至軟體鍵盤應用程式,而軟體鍵盤應用程式根據代表座標值而從所有的按鍵中決定一個點選按鍵。In one embodiment of the invention, the processing module transmits a representative coordinate value to the software keyboard application, and the software keyboard application determines a click button from all of the keys based on the representative coordinate value.

在本發明之一實施例中,軟體鍵盤應用程式用以在觸控式螢幕顯示圖像。而所顯示之圖像包括輸入提示資訊,或與點選按鍵的外觀相同。In one embodiment of the invention, a software keyboard application is used to display an image on a touch screen. The displayed image includes input prompt information or the same appearance as the click button.

在本發明之一實施例中,軟體鍵盤應用程式用以放大顯示點選按鍵。而放大顯示包括等比例放大顯示點選按鍵。In one embodiment of the invention, the software keyboard application is used to magnify the display of the click buttons. The magnified display includes a proportional zoom display of the click button.

在本發明之一實施例中,其中軟體鍵盤應用程式取得軟體鍵盤的鍵盤顯示區域,並依據鍵盤顯示區域及每個按鍵的按鍵大小預設值來計算各按鍵的按鍵顯示區域。在取得涵蓋代表座標值的按鍵顯示區域之後,將取得之按鍵顯示區域所對應的按鍵做為點選按鍵。In an embodiment of the invention, the software keyboard application obtains the keyboard display area of the software keyboard, and calculates the button display area of each button according to the keyboard display area and the button size preset value of each button. After obtaining the button display area covering the representative coordinate value, the button corresponding to the obtained button display area is used as the click button.

在本發明之一實施例中,其中觸控式螢幕包括電阻式觸控螢幕。而電子裝置為個人數位助理手機、智慧型手機、觸碰式手機,或行動電腦。In an embodiment of the invention, the touch screen includes a resistive touch screen. The electronic device is a personal digital assistant mobile phone, a smart phone, a touch mobile phone, or a mobile computer.

從另一觀點來看,本發明提出一種電子裝置,此電子裝置包括觸控式螢幕以及處理模組。其中,觸控式螢幕用以偵測接觸觸控式螢幕的至少一塊接觸面積,並取得上述各塊接觸面積所涵蓋的至少一個觸壓點。處理模組與觸控式螢幕相連,用以根據每個觸壓點的座標值決定代表座標值,並控制應用程式根據代表座標值執行對應的功能。From another point of view, the present invention provides an electronic device including a touch screen and a processing module. The touch screen is configured to detect at least one contact area of the touch screen and obtain at least one touch point covered by the contact areas of the blocks. The processing module is connected to the touch screen for determining the representative coordinate value according to the coordinate value of each touch point, and controlling the application to perform the corresponding function according to the representative coordinate value.

在本發明之一實施例中,其中每個座標值包括x軸座標值與y軸座標值,而處理模組分別定義每個x軸座標值與每個y軸座標值的權重值,並以每個x軸座標值以及對應之權重值計算x軸座標加權平均值,以及以每個y軸座標值以及對應之權重值計算y軸座標加權平均值,最後以x軸座標加權平均值與y軸座標加權平均值做為代表座標值。In an embodiment of the invention, wherein each coordinate value includes an x-axis coordinate value and a y-axis coordinate value, and the processing module respectively defines a weight value of each x-axis coordinate value and each y-axis coordinate value, and Calculate the weighted average of the x-axis coordinates for each x-axis coordinate value and the corresponding weight value, and calculate the weighted average of the y-axis coordinates for each y-axis coordinate value and the corresponding weight value, and finally weight the average with the x-axis coordinate and y The weighted average of the axis coordinates is taken as the representative coordinate value.

在本發明之一實施例中,其中處理模組取得每個觸壓點的壓力值,並根據對應之壓力值的大小,定義每個觸壓點之x軸座標值與y軸座標值的權重值。In an embodiment of the invention, the processing module obtains the pressure value of each touch point, and defines the weight of the x-axis coordinate value and the y-axis coordinate value of each touch point according to the corresponding pressure value. value.

在本發明之一實施例中,其中每個座標值包括x軸座標值與y軸座標值,而處理模組分別計算上述x軸座標值的x軸座標平均值,與上述y軸座標值的y軸座標平均值,並且以x軸座標平均值及y軸座標平均值做為代表座標值。In an embodiment of the invention, each of the coordinate values includes an x-axis coordinate value and a y-axis coordinate value, and the processing module respectively calculates an x-axis coordinate average value of the x-axis coordinate value, and the y-axis coordinate value The y-axis coordinates are averaged, and the x-axis coordinate average and the y-axis coordinate average are used as representative coordinate values.

在本發明之一實施例中,其中應用程式包括軟體鍵盤應用程式,用以在觸控式螢幕上顯示包括數個按鍵的軟體鍵盤。In an embodiment of the invention, the application includes a software keyboard application for displaying a software keyboard including a plurality of buttons on the touch screen.

在本發明之一實施例中,處理模組將代表座標值傳送至軟體鍵盤應用程式,而軟體鍵盤應用程式根據代表座標值而由按鍵中決定點選按鍵。In one embodiment of the invention, the processing module transmits the representative coordinate value to the software keyboard application, and the software keyboard application determines the button selection by the button based on the representative coordinate value.

在本發明之一實施例中,在決定點選按鍵後,軟體鍵盤應用程式在觸控式螢幕顯示圖像。其中,圖像包括輸入提示資訊,或與點選按鍵的外觀相同。In one embodiment of the invention, the software keyboard application displays an image on the touch screen after determining the click button. The image includes input prompt information or the same appearance as the click button.

在本發明之一實施例中,軟體鍵盤應用程式用以放大顯 示點選按鍵,而放大顯示包括等比例放大顯示點選按鍵。In an embodiment of the invention, the software keyboard application is used to enlarge the display The button is selected, and the enlarged display includes a zoom-in display button.

在本發明之一實施例中,其中軟體鍵盤應用程式取得軟體鍵盤的鍵盤顯示區域,依據鍵盤顯示區域及每個按鍵的按鍵大小預設值來計算各按鍵的按鍵顯示區域,並取得涵蓋代表座標值的按鍵顯示區域,以及以取得之按鍵顯示區域所對應的按鍵做為點選按鍵。In an embodiment of the present invention, the software keyboard application obtains the keyboard display area of the software keyboard, calculates the button display area of each button according to the keyboard display area and the button size preset value of each button, and obtains the covered representative coordinates. The button display area of the value and the button corresponding to the obtained button display area are used as the click button.

在本發明之一實施例中,觸控式螢幕包括電阻式觸控螢幕,而電子裝置為個人數位助理手機、智慧型手機、觸碰式手機,或行動電腦。In an embodiment of the invention, the touch screen includes a resistive touch screen, and the electronic device is a personal digital assistant mobile phone, a smart phone, a touch mobile phone, or a mobile computer.

從又一觀點來看,本發明提出一種儲存媒體,用以儲存電腦程式。上述電腦程式包括複數程式碼,可載入至電子裝置並且使得電子裝置執行上述操控應用程式的方法。From another point of view, the present invention provides a storage medium for storing computer programs. The computer program includes a plurality of code codes that can be loaded into an electronic device and cause the electronic device to execute the above-described method of manipulating the application.

從再一觀點來看,本發明提出一種電腦程式產品,可經由電子裝置載入程式以執行下列步驟:首先,偵測接觸觸控式螢幕的接觸面積。接著取得所有接觸面積所涵蓋的觸壓點,並且根據每個觸壓點的座標值決定代表座標值。最後,控制應用程式根據代表座標值執行對應的功能。From another point of view, the present invention provides a computer program product that can be loaded via an electronic device to perform the following steps: First, the contact area of the touch screen is detected. The touch points covered by all contact areas are then taken, and the representative coordinate values are determined based on the coordinate values of each touch point. Finally, the control application performs the corresponding function based on the representative coordinate values.

本發明在使用者觸碰觸控式螢幕時,偵測每塊接觸面積所涵蓋所有觸壓點,並根據觸壓點的座標值決定一個能表示使用者之操作動作的代表座標值,進而控制應用程式根據代表座標值執行相對應的功能。如此一來,使用者將可以透過觸控式螢幕來對電子裝置上的應用程式進行操控,進而提升操作電子裝置的便 利性。When the user touches the touch screen, the user detects all the touch points covered by each contact area, and determines a representative coordinate value indicating the operation action of the user according to the coordinate value of the touch point, thereby controlling The application performs the corresponding function based on the representative coordinate values. In this way, the user can control the application on the electronic device through the touch screen, thereby improving the operation of the electronic device. Interest.

為讓本發明之上述特徵和優點能更明顯易懂,下文特舉較佳實施例,並配合所附圖式,作詳細說明如下。The above described features and advantages of the present invention will be more apparent from the following description.

100‧‧‧電子裝置100‧‧‧Electronic devices

110‧‧‧觸控式螢幕110‧‧‧Touch screen

120‧‧‧代表座標值決定模組120‧‧‧ represents the coordinate value decision module

130‧‧‧處理模組130‧‧‧Processing module

210~240‧‧‧本發明之一實施例所述之操控應用程式的方法之各步驟210-240‧‧‧ steps of a method of manipulating an application as described in one embodiment of the present invention

310‧‧‧軟體鍵盤310‧‧‧Soft keyboard

320‧‧‧按鍵320‧‧‧ button

330‧‧‧圖像330‧‧‧ Images

500‧‧‧觸控式螢幕500‧‧‧ touch screen

510‧‧‧接觸面積510‧‧‧Contact area

520‧‧‧軟體鍵盤520‧‧‧Soft keyboard

521‧‧‧按鍵521‧‧‧ button

圖1是依照本發明之一實施例所繪示之電子裝置的方塊圖。1 is a block diagram of an electronic device in accordance with an embodiment of the present invention.

圖2是依照本發明之一實施例所繪示之操控應用程式的方法之流程圖。2 is a flow chart of a method of manipulating an application 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 views of a touch screen according to another embodiment of the present invention.

圖5是依照本發明之一實施例所繪示被按壓之觸控式螢幕的示意圖。FIG. 5 is a schematic diagram of a touched touch screen according to an embodiment of the invention.

為了使本發明之內容更為明瞭,以下特舉實施例做為本發明確實能夠據以實施的範例。In order to make the content of the present invention clearer, the following specific embodiments are examples of the invention that can be implemented.

圖1是依照本發明之一實施例所繪示之電子裝置的方塊圖。請參閱圖1,電子裝置100包括觸控式螢幕110、代表座標值決定模組120,以及處理模組130。在本實施例中,電子裝置100可以是個人數位助理(PDA)手機、智慧型手機(Smartphone)、 觸碰式手機(Touch phone),或行動電腦(Mobile computer)等等,在此並不限制其範圍。1 is a block diagram of an electronic device in accordance with an embodiment of the present 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 can be a personal digital assistant (PDA) mobile phone, a smart phone (Smartphone), A touch phone, a mobile computer, etc., does not limit its scope here.

其中,觸控式螢幕110例如是電阻式觸控螢幕,除了可以用來做為電子裝置100的顯示介面之外,更能夠偵測使用者利用輸入工具(例如手指或觸控筆)接觸觸控式螢幕110時所形成的每塊接觸面積,並且取得各接觸面積所涵蓋的所有觸壓點。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, the touch screen 110 can detect that the user touches the touch with an input tool (such as a finger or a stylus). Each contact area formed by the screen 110 is obtained, and all the contact points covered by the respective contact areas are obtained.

代表座標值決定模組120與觸控式螢幕110相連,用以在觸控式螢幕110取得所有的觸壓點之後,根據各個觸壓點的座標值決定代表座標值。其中,代表座標值決定模組120例如是一個控制器(Controller),或單獨配置在電子裝置100內部的晶片(Chip)。在此必須特別說明的是,無論觸控式螢幕110是否偵測到一塊以上的接觸面積,代表座標值決定模組120僅會決定一個唯一的代表座標值。The representative coordinate value determining module 120 is connected to the touch screen 110 for determining the representative coordinate value according to the coordinate value of each touch point after the touch screen 110 obtains all the touch points. The representative coordinate value determining module 120 is, for example, a controller or a chip disposed inside the electronic device 100. It should be particularly noted here that regardless of whether the touch screen 110 detects more than one contact area, the representative coordinate value determining module 120 only determines a unique representative coordinate value.

而處理模組130連接至代表座標值決定模組120,在代表座標值決定模組120決定代表座標值之後,控制安裝在電子裝置100內的應用程式根據代表座標值執行對應的功能。The processing module 130 is connected to the representative coordinate value determining module 120. After the representative coordinate value determining module 120 determines the representative coordinate value, the application installed in the electronic device 100 controls the corresponding function according to the representative coordinate value.

接下來的實施例將以電子裝置100為例,據以說明透過觸控式螢幕110來操控應用程式的詳細步驟。圖2是依照本發明之一實施例所繪示之操控應用程式的方法之流程圖。請同時參閱圖1與圖2,在使用者準備對電子裝置100進行操作時,可利用手指或觸控筆等輸入工具來觸碰觸控式螢幕110。由於輸入工具本身具有一定的寬度,因此如步驟210所示,觸控式螢幕110在輸入 工具與其接觸之後,偵測與輸入工具接觸所產生的接觸面積。其中,觸控式螢幕110可同時偵測到一塊或一塊以上的接觸面積。接著在步驟220中,觸控式螢幕110取得各接觸面積所涵蓋的每個觸壓點。The following embodiment will take the electronic device 100 as an example to illustrate the detailed steps of manipulating the application through the touch screen 110. 2 is a flow chart of a method of manipulating an application according to an embodiment of the invention. Referring to FIG. 1 and FIG. 2 simultaneously, when the user prepares to operate the electronic device 100, the touch screen 110 can be touched by using an input tool such as a finger or a stylus. Since the input tool itself has a certain width, as shown in step 210, the touch screen 110 is input. After the tool comes into contact with it, it detects the contact area produced by contact with the input tool. The touch screen 110 can detect one or more contact areas at the same time. Next, in step 220, the touch screen 110 obtains each touch 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 determining module 120 determines a representative coordinate value based on the coordinate values of all the touch points. In an embodiment, the coordinate value of each touch point includes two components, an x-axis coordinate value and a y-axis coordinate value, and the following is a coordinate value for determining the module 120 according to the coordinates of each touch point. To calculate a detailed description of the coordinates of the coordinates. After the touch screen 110 obtains the touch pressure points covered by the contact areas, the representative coordinate value determining module 120 obtains the x-axis coordinate value of each touch point and calculates an average of the x-axis coordinate values (hereinafter referred to as The average of the x-axis coordinates). Similarly, the representative coordinate value determining module 120 will also obtain the y-axis coordinate values of all the touch points, and calculate the average to obtain a y-axis coordinate average. After the calculation is completed, the representative coordinate value determining module 120 uses the x-axis coordinate average value and the y-axis coordinate average value as the representative coordinate values indicating all the touch pressure points.

在另一實施例中,代表座標值決定模組120首先替每個x軸座標值以及y軸座標值定義各自的權重值。其中,定義權重值的方式包括取得各觸壓點的壓力值(壓力值與使用者觸碰觸控式螢幕110的力道有關),並以對應之壓力值的大小來定義各觸壓點之x軸座標值與y軸座標值的權重值。好比說,壓力值越大則給予較高的權重值。此外,代表座標值決定模組120也可以根據使 用者以往的使用經驗來定義權重值。接下來,代表座標值決定模組120以各x軸座標值及對應的權重值來計算x軸座標加權平均值(例如各別計算每個x軸座標值與對應權重值的乘積,再計算上述乘積的平均值),以及以各y軸座標值與對應的權重值來計算y軸座標加權平均值(例如各別計算每個y軸座標值與對應權重值的乘積,再計算上述乘積的平均值)。最後,以x軸座標加權平均值以及y軸座標加權平均值來做為所有觸壓點的代表座標值。In another embodiment, the representative coordinate value decision module 120 first defines respective weight values for each of the x-axis coordinate values and the y-axis coordinate values. The method for defining the weight value includes obtaining the pressure value of each touch point (the pressure value is related to the force of the user touching the touch screen 110), and defining the pressure point of each touch point according to the magnitude of the corresponding pressure value. The weight value of the axis coordinate value and the y-axis coordinate value. For example, the higher the pressure value, the higher the weight value. In addition, the representative coordinate value determining module 120 can also be The user's previous experience is used to define the weight value. Next, the representative coordinate value determining module 120 calculates the x-axis coordinate weighted average value by using each x-axis coordinate value and the corresponding weight value (for example, calculating the product of each x-axis coordinate value and the corresponding weight value separately, and then calculating the above The average of the product), and the y-axis coordinate weighted average is calculated from each y-axis coordinate value and the corresponding weight value (for example, the product of each y-axis coordinate value and the corresponding weight value is calculated separately, and then the average of the above products is calculated. value). Finally, the x-axis coordinate weighted average and the y-axis coordinate weighted average are used as representative coordinate values for all touch points.

如上所述可以發現,由代表座標值決定模組120所計算的代表座標值是唯一且絕對的座標值。然而必須特別說明的是,計算x軸座標平均值以及y軸座標平均值的方式包括根據觸壓點的數量來計算其平均,或是根據經驗值而以加權平均的方式來計算,在此並不限制計算平均值的方式。As described above, it can be found that the representative coordinate value calculated by the representative coordinate value determining module 120 is a unique and absolute coordinate value. However, it must be specially stated that the way to calculate the average of the x-axis coordinates and the average of the y-axis coordinates includes calculating the average according to the number of touch points, or calculating by weighted average based on empirical values. There is no limit to how the average is calculated.

最後如步驟240所示,由處理模組130控制電子裝置100中的應用程式根據代表座標值執行對應的功能,進而完成透過觸控式螢幕110來操控應用程式的流程。必須說明的是,處理模組130可以控制任何執行在電子裝置100上的應用程式根據代表座標值來執行功能,應用程式的種類並不用以限制本發明的範圍。Finally, as shown in step 240, the processing module 130 controls the application in the electronic device 100 to perform a corresponding function according to the representative coordinate value, thereby completing the process of manipulating the application through the touch screen 110. It should be noted that the processing module 130 can control any application executing on the electronic device 100 to perform functions according to representative coordinate values, and the type of the application is not intended to limit the scope of the present invention.

在上述實施例中,由觸控式螢幕110所偵測到的觸壓點係對應於使用者的操作動作,而代表座標值決定模組120所計算的代表座標值則是用來表示這些觸壓點。因此,使用者對觸控式螢幕110的操作便能用代表座標值來表示之。據此,在處理模組130將代表座標值傳送至應用程式之後,應用程式依據代表座標值 所執行的功能便是反應使用者的操作動作。In the above embodiment, the touch point detected by the touch screen 110 corresponds to the user's operation, and the representative coordinate value calculated by the coordinate value determining module 120 is used to indicate the touch. Press point. Therefore, the user's operation on the touch screen 110 can be represented by a representative coordinate value. Accordingly, after the processing module 130 transmits the representative coordinate value to the application, the application is based on the representative coordinate value. The function performed is to reflect the user's actions.

值得一提的是,在另一實施例中,電子裝置100僅包括相互連接的觸控式螢幕110以及處理模組130。其中,處理模組130除了可執行如上述實施例所揭露的功能之外,更可以執行在前述實施例中代表座標值決定模組120所能執行的各項動作。因此,在此實施例中只需透過處理模組130便能決定用來表示所有觸壓點的代表座標值,而不需再額外配置控制器或晶片來實現代表座標值決定模組120的功能。It is worth mentioning that in another embodiment, the electronic device 100 includes only the touch screen 110 and the processing module 130 that are connected to each other. The processing module 130 can perform various functions that can be performed by the coordinate value determining module 120 in the foregoing embodiment, in addition to the functions disclosed in the foregoing embodiments. Therefore, in this embodiment, the representative coordinate value used to represent all the touch points can be determined through the processing module 130 without additionally configuring the controller or the chip to implement the function of the representative coordinate value determining module 120. .

執行在電子裝置100上的應用程式種類繁多,以下將以軟體鍵盤應用程式為例,進一步地說明處理模組130控制應用程式根據代表座標值來執行功能的詳細步驟。其中,軟體鍵盤應用程式係用以在觸控式螢幕110上顯示包括數個按鍵的軟體鍵盤。There are many types of applications executed on the electronic device 100. The software keyboard application is taken as an example to further describe the detailed steps of the processing module 130 to control the application to perform functions according to the representative coordinate values. The software keyboard application is used to display a software keyboard including a plurality of buttons on the touch screen 110.

在處理模組130收到由代表座標值決定模組120所傳送的代表座標值後,便會將此代表座標值傳送至軟體鍵盤應用程式。而軟體鍵盤應用程式則會根據所接收到的代表座標值,從軟體鍵盤上的所有按鍵中決定一個點選按鍵。After the processing module 130 receives the representative coordinate value transmitted by the representative coordinate value determining module 120, the representative coordinate value is transmitted to the software keyboard application. The software keyboard application determines a click button from all the keys on the software keyboard based on the received representative 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 invention. Please refer to FIG. 1 and FIG. 3 simultaneously. The software keyboard application draws a software keyboard including a plurality of buttons on the touch screen 110 according to the size of the touch screen 110 and a predefined keyboard display area (see FIG. 3). The software keyboard 310), and draws a plurality of buttons according to the type of the software keyboard 310 and the button size preset value. Accordingly, after the software keyboard application receives the representative coordinate value, it is first based on The keyboard display area and the button size preset value of each button calculate the button display area of each button on the touch screen 110. Then, from the button display area of each button, find a button display area that can cover the representative coordinate value, and use the button corresponding to the button display area as a click button. For convenience of explanation, it is assumed here that the button display area corresponding to the button 320 covers the representative coordinate value transmitted by the processing module 130, so the button 320 is regarded as a click button by the software keyboard application.

在一實施例中,在軟體鍵盤應用程式決定點選按鍵(例如按鍵320)之後,將在觸控式螢幕110上放大顯示點選按鍵。舉例來說,軟體鍵盤應用程式將等比例的放大點選按鍵,而等比例放大點選按鍵的結果則如圖4A之按鍵320所示。In one embodiment, after the software keyboard application determines a click button (eg, button 320), the touch button will be displayed on the touch screen 110 in an enlarged manner. For example, the software keyboard application will zoom in on the buttons in equal proportions, and the results of the proportional zoom buttons will be as shown in button 320 of Figure 4A.

在另一實施例中,如圖4B所示,在決定點選按鍵(即按鍵320)之後,軟體鍵盤應用程式將在觸控式螢幕110的其他區域(例如上方區域)顯示圖像330。其中,圖像330與點選按鍵320的外觀相同。In another embodiment, as shown in FIG. 4B, after determining the click button (ie, button 320), the software keyboard application will display an image 330 in other areas of the touch screen 110 (eg, the upper area). Among them, the image 330 has the same appearance as the click button 320.

在又一實施例中,在軟體鍵盤應用程式所顯示的圖像中包括了輸入提示資訊。其中,輸入提示資訊例如將輪流顯示點選按鍵所對應的字元,而點選按鍵的對應字元會與電子裝置100目前設定的輸入模式有關。透過圖像上的輸入提示資訊,使用者可以得知在放開點選按鍵後將要輸入的字元。In yet another embodiment, the input prompt information is included in the image displayed by the software keyboard application. The input prompt information, for example, will display the characters corresponding to the click button in turn, and the corresponding character of the click button 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.

如上所述,軟體鍵盤應用程式根據代表座標值判斷使用者所點選的按鍵,並且透過各種視覺反饋(visual feedback)的效 果(例如放大顯示點選按鍵,或在其他區域顯示圖像)讓使用者能很容易地判斷輸入工具是否按壓到正確的位置。另一方面,視覺反饋也可以讓使用者預示(preview)即將輸入的字元,進而避免操作錯誤而降低使用電子裝置100的效率。As described above, the software keyboard application determines the button selected by the user based on the representative coordinate value, and through various visual feedback effects. The result (such as zooming in on the click button or displaying the image in other areas) allows the user to easily determine if 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, thereby avoiding operational errors and reducing the efficiency of using the electronic device 100.

根據使用經驗以及調查結果顯示,將觸壓點的座標值加以計算後所取得的唯一代表座標值,往往便是使用者在操作觸控式螢幕時最想要按壓的位置。因此如圖5所示,當觸控式螢幕500上顯示軟體鍵盤520時,假設在使用者觸碰觸控式螢幕500所產生的接觸面積510中,共涵蓋了11個觸壓點(在圖5中以「‧」符號表示),而根據這些觸壓點之座標值所取得的代表座標值(其位置如「*」符號所示),便是對應到使用者最希望按壓的按鍵(亦即,涵蓋代表座標值的按鍵521區域)。在本實施例中,按鍵521將呈現出例如在原地放大顯示的視覺反饋效果,以進一步地幫助使用者確認被按壓的按鍵是否就是使用者所希望選取的按鍵。在另一實施例中,一個與按鍵521外觀相同的圖像將顯示在觸控式螢幕500的其他區域(例如上方區域),進而讓使用者更容易確認是否按壓到正確的按鍵。According to the experience and survey results, the unique representative coordinate value obtained by calculating the coordinate value of the touch point is often the position that the user wants to press when operating the touch screen. Therefore, as shown in FIG. 5, when the software keyboard 520 is displayed on the touch screen 500, it is assumed that 11 contact points are covered in the contact area 510 generated by the user touching the touch screen 500 (in the figure). 5 is indicated by the "‧" symbol, and the representative coordinate value obtained by the coordinate value of these touch points (the position is indicated by the "*" symbol) corresponds to the button that the user most desires to press (also That is, the area of the button 521 representing the coordinate value is covered. In this embodiment, the button 521 will present a visual feedback effect, such as an enlarged display in situ, to further assist the user in confirming whether the pressed button is the button that the user desires to select. In another embodiment, an image having the same appearance as the button 521 will be displayed on other areas of the touch screen 500 (eg, the upper area), thereby making it easier for the user to confirm whether the correct button is pressed.

上述實施例可應用在任何透過觸控式螢幕來進行操作的電子裝置中,然而由於電阻式觸控螢幕多半支援的是單點觸碰技術,因此本發明尤其適用在配置電阻式觸控螢幕的電子裝置。根據電阻式觸控螢幕本身的特性,本發明將能最簡單、快速,且精確地反應使用者的操作動作,以提供最佳的操作效果。The above embodiments can be applied to any electronic device that operates through a touch screen. However, since the resistive touch screen mostly supports a single touch technology, the present invention is particularly suitable for configuring a resistive touch screen. Electronic device. According to the characteristics of the resistive touch screen itself, the present invention can most easily, quickly, and accurately reflect the user's operating actions to provide optimal operational results.

值得一提的是,上述操控應用程式的方法可於任何具有處理器的電子裝置上來執行。換言之,將上述實施例設計為包括複數程式碼的電腦程式,並利用電腦可讀取之儲存媒體(例如光碟片、磁碟片與抽取式硬碟等等)來儲存此電腦程式,在將電腦程式載入至電子裝置之後,便可在電子裝置上執行上述實施例所述之操控應用程式的方法。It is worth mentioning that the above method of manipulating an application can be performed on any electronic device having a processor. In other words, the above embodiment is designed as a computer program including a plurality of code codes, and the computer readable storage medium (for example, a CD, a floppy disk and a removable hard disk, etc.) is used to store the computer program. After the program is loaded into the electronic device, the method for manipulating the application described in the above embodiments can be executed on the electronic device.

本發明另提供一種電腦程式產品,其係用以執行上述操控應用程式的方法,此電腦程式產品代表上是由多數個程式碼片段所組成的(例如設定程式碼片段、以及部署程式碼片段),並且這些程式碼片段在載入電子裝置中並執行之後,即可完成上述操控應用程式的方法的步驟與上述操控應用程式的系統的功能。The present invention further provides a computer program product for performing the above method for manipulating an application. The computer program product is represented by a plurality of code segments (for example, setting a code segment and deploying a code segment). After the code segments are loaded into the electronic device and executed, the steps of the method for manipulating the application and the functions of the system for controlling the application are completed.

綜上所述,本發明所述之操控應用程式的方法、其電子裝置、儲存媒體及使用此方法之電腦程式產品,係在取得輸入工具與觸控式螢幕接觸所產生的接觸面積後,將接觸面積所涵蓋之每個觸壓點的座標值加以平均,進而得到唯一的代表座標值。由於代表座標值可用來表示使用者的操作動作,因此在控制應用程式根據代表座標值執行相對應的功能時,便能適當地對使用者的操作進行反應。透過上述方式不但能簡單且精確地操控應用程式,同時也能提升使用者利用觸控式螢幕來操作電子裝置的便利性。In summary, the method for controlling an application, the electronic device, the storage medium, and the computer program product using the method of the present invention are obtained after obtaining the contact area between the input tool and the touch screen. The coordinate values of each touch point covered by the contact area are averaged to obtain a unique representative coordinate value. Since the representative coordinate value can be used to indicate the user's operation action, when the control application performs the corresponding function according to the representative coordinate value, the user's operation can be appropriately reacted. In this way, not only can the application be easily and accurately controlled, but also the convenience of the user to operate the electronic device using the touch screen.

雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發 明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed in the above preferred embodiments, it is not intended to limit the invention, and any one of ordinary skill in the art, without departing from the present invention. In the spirit and scope of the invention, the scope of protection of the invention is defined by the scope of the appended claims.

210~240‧‧‧本發明之一實施例所述之操控應用程式的方法之各步驟210-240‧‧‧ steps of a method of manipulating an application as described in one embodiment of the present invention

Claims (18)

一種操控應用程式的方法,適用於具有一觸控式螢幕的一電子裝置,該觸控式螢幕至少包括一接觸面積接觸面積,且該接觸面積包括多個觸壓點,各所述觸壓點包括一x軸座標值與一y軸座標值,該方法包括:偵測一第一觸控訊號;根據該第一觸控訊號,取得位在該接觸面積內的多個第一觸壓點;決定各所述第一觸壓點的該x軸座標值與該y軸座標值;藉由加權平均所述第一觸壓點的所述x軸座標值以及所述第一觸壓點的所述y軸座標值,決定該接觸面積的一第一代表x軸座標值與一第一代表y軸座標值;以及控制一應用程式執行該第一代表x軸座標值與該第一代表y軸座標值對應的一第一功能。 A method for controlling an application is applicable to an electronic device having a touch screen, the touch screen includes at least a contact area contact area, and the contact area includes a plurality of touch points, each of the touch points The method includes: detecting an x-axis coordinate value and a y-axis coordinate value, the method comprising: detecting a first touch signal; and obtaining a plurality of first touch points located in the contact area according to the first touch signal; Determining the x-axis coordinate value of each of the first contact pressure points and the y-axis coordinate value; by weighting the x-axis coordinate value of the first contact pressure point and the first touch point Determining a y-axis coordinate value, determining a first representative x-axis coordinate value of the contact area and a first representative y-axis coordinate value; and controlling an application to execute the first representative x-axis coordinate value and the first representative y-axis The coordinate value corresponds to a first function. 如申請專利範圍第1項所述之操控應用程式的方法,其中藉由加權平均所述第一觸壓點的所述x軸座標值以及所述第一觸壓點的所述y軸座標值,決定該接觸面積的該第一代表x軸座標值與該第一代表y軸座標值的步驟包括:對於各所述第一觸壓點,根據一特定使用者設定檔(profile)定義該x軸座標值的一預設x軸權重值與該y軸座標值的一預設y軸權重值;對於各所述第一觸壓點,將該x軸座標值乘上該預設x軸權 重值,以產生一加權x軸座標值,以及將該y軸座標值乘上該預設y軸權重值,以產生一加權y軸座標值;以及對於該接觸面積,平均所述觸壓點的所述加權x軸座標值,以決定該第一代表x軸座標值,以及平均所述觸壓點的所述加權y軸座標值,以決定該第一代表y軸座標值。 The method of controlling an application according to claim 1, wherein the x-axis coordinate value of the first touch pressure point and the y-axis coordinate value of the first touch pressure point are weighted and averaged Determining the first representative x-axis coordinate value of the contact area and the first representative y-axis coordinate value comprises: defining, for each of the first touch points, a x according to a specific user profile a preset x-axis weight value of the axis coordinate value and a preset y-axis weight value of the y-axis coordinate value; for each of the first touch pressure points, multiplying the x-axis coordinate value by the preset x-axis weight Re-valued to generate a weighted x-axis coordinate value, and multiplying the y-axis coordinate value by the predetermined y-axis weight value to generate a weighted y-axis coordinate value; and for the contact area, averaging the touch pressure point The weighted x-axis coordinate value is used to determine the first representative x-axis coordinate value, and the weighted y-axis coordinate value of the touch point is averaged to determine the first representative y-axis coordinate value. 如申請專利範圍第1項所述之操控應用程式的方法,更包括:偵測一第二觸控訊號;根據該第二觸控訊號,取得位在該接觸面積內的多個第二觸壓點;決定該接觸面積的一第二代表x軸座標值及一第二代表y軸座標值;以及根據該第二代表x軸座標值及該第二代表y軸座標值,控制該應用程式執行不同於該第一功能的一第二功能。 The method for controlling an application according to claim 1 further includes: detecting a second touch signal; and obtaining a plurality of second touch voltages in the contact area according to the second touch signal a second representative x-axis coordinate value and a second representative y-axis coordinate value of the contact area; and controlling the application execution according to the second representative x-axis coordinate value and the second representative y-axis coordinate value Different from a second function of the first function. 如申請專利範圍第1項所述之操控應用程式的方法,其中該應用程式包括一軟體鍵盤應用程式,用以在該觸控式螢幕上顯示包括多個按鍵的一軟體鍵盤,其中控制該應用程式執行該第一代表x軸座標值與該第一代表y軸座標值對應的該第一功能的步驟包括:傳送該第一代表x軸座標值與該第一代表y軸座標值至該軟體鍵盤應用程式;以及該軟體鍵盤應用程式根據該第一代表x軸座標值與該第一代 表y軸座標值,由該些按鍵中決定一點選按鍵。 The method of controlling an application according to claim 1, wherein the application comprises a software keyboard application for displaying a software keyboard including a plurality of buttons on the touch screen, wherein the application is controlled The step of executing the first function of the first representative x-axis coordinate value corresponding to the first representative y-axis coordinate value comprises: transmitting the first representative x-axis coordinate value and the first representative y-axis coordinate value to the software a keyboard application; and the software keyboard application is based on the first representative x-axis coordinate value and the first generation Table y-axis coordinate value, from which the button is selected. 如申請專利範圍第4項所述之操控應用程式的方法,其中在決定該點選按鍵的步驟之後更包括:在該觸控式螢幕顯示一圖像。 The method for controlling an application according to claim 4, wherein after the step of determining the button is selected, the image is displayed on the touch screen. 如申請專利範圍第5項所述之操控應用程式的方法,其中該圖像包括一輸入提示資訊。 The method of controlling an application according to claim 5, wherein the image includes an input prompt information. 如申請專利範圍第5項所述之操控應用程式的方法,其中該圖像與該點選按鍵的外觀相同。 A method of manipulating an application as described in claim 5, wherein the image has the same appearance as the click button. 如申請專利範圍第4項所述之操控應用程式的方法,其中在決定該點選按鍵的步驟之後更包括:等比例放大顯示該點選按鍵。 The method for controlling an application according to claim 4, wherein after the step of determining the click button, the method further comprises: scaling the display button. 如申請專利範圍第4項所述之操控應用程式的方法,其中由該些按鍵中決定該點選按鍵的步驟包括:取得該軟體鍵盤的一鍵盤顯示區域;依據該鍵盤顯示區域及每一該些按鍵的一按鍵大小預設值,計算每一該些按鍵的一按鍵顯示區域;取得涵蓋該代表座標值的該按鍵顯示區域;以及以取得之該按鍵顯示區域所對應的該按鍵做為該點選按鍵。 The method for controlling an application according to claim 4, wherein the step of determining the click button from the buttons comprises: obtaining a keyboard display area of the software keyboard; and displaying the area according to the keyboard and each of the keyboard a button size preset value of each button, calculating a button display area of each of the buttons; obtaining the button display area covering the representative coordinate value; and obtaining the button corresponding to the button display area as the Click the button. 一種電子裝置,包括:一觸控式螢幕,至少包括一接觸面積,且該接觸面積包括多個觸壓點,各所述觸壓點包括一x軸座標值與一y軸座標值,配置用以偵測一第一觸控訊號,並根據該第一觸控訊號,取得位在 該接觸面積內的多個第一觸壓點;一代表座標值決定模組,耦接該觸控式螢幕,配置用以決定各所述第一觸壓點的該x軸座標值與該y軸座標值,並藉由加權平均所述第一觸壓點的所述x軸座標值以及所述第一觸壓點的所述y軸座標值,決定該接觸面積的一第一代表x軸座標值與一第一代表y軸座標值;以及一處理模組,耦接該代表座標值決定模組,配置用以控制一應用程式執行該第一代表x軸座標值與該第一代表y軸座標值對應的一第一功能。 An electronic device comprising: a touch screen comprising at least one contact area, wherein the contact area comprises a plurality of contact points, each of the touch points comprising an x-axis coordinate value and a y-axis coordinate value, configured Detecting a first touch signal and obtaining a bit according to the first touch signal a plurality of first touch points in the contact area; a representative coordinate value determining module coupled to the touch screen, configured to determine the x-axis coordinate value of each of the first touch points and the y a shaft coordinate value, and determining a first representative x-axis of the contact area by weighting the x-axis coordinate value of the first contact pressure point and the y-axis coordinate value of the first contact pressure point a coordinate value and a first representative y-axis coordinate value; and a processing module coupled to the representative coordinate value determining module, configured to control an application to execute the first representative x-axis coordinate value and the first representative y A first function corresponding to the axis coordinate value. 如申請專利範圍第10項所述之電子裝置,其中該代表座標值決定模組配置用以:對於各所述第一觸壓點,根據一特定使用者設定檔(profile)定義該x軸座標值的一預設x軸權重值與該y軸座標值的一預設y軸權重值;對於各所述第一觸壓點,將該x軸座標值乘上該預設x軸權重值,以產生一加權x軸座標值,以及將該y軸座標值乘上該預設y軸權重值,以產生一加權y軸座標值;以及對於該接觸面積,平均所述觸壓點的所述加權x軸座標值,以決定該第一代表x軸座標值,以及平均所述觸壓點的所述加權y軸座標值,以決定該第一代表y軸座標值。 The electronic device of claim 10, wherein the representative coordinate value determining module is configured to: define, for each of the first touch points, the x-axis coordinate according to a specific user profile a preset x-axis weight value of the value and a preset y-axis weight value of the y-axis coordinate value; for each of the first touch pressure points, multiplying the x-axis coordinate value by the preset x-axis weight value, Generating a weighted x-axis coordinate value, and multiplying the y-axis coordinate value by the predetermined y-axis weight value to generate a weighted y-axis coordinate value; and for the contact area, averaging the touch point The x-axis coordinate value is weighted to determine the first representative x-axis coordinate value, and the weighted y-axis coordinate value of the touch point is averaged to determine the first representative y-axis coordinate value. 如申請專利範圍第10項所述之電子裝置,其中當該觸控式螢幕偵測到一第二觸控訊號,並根據該第二觸控訊號,取得位 在該接觸面積內的多個第二觸壓點時,該代表座標值決定模組決定該接觸面積的一第二代表x軸座標值及一第二代表y軸座標值,以及該處理模組根據該第二代表x軸座標值及該第二代表y軸座標值,控制該應用程式執行不同於該第一功能的一第二功能。 The electronic device of claim 10, wherein the touch screen detects a second touch signal and obtains a bit according to the second touch signal And a plurality of second touch points in the contact area, the representative coordinate value determining module determines a second representative x-axis coordinate value of the contact area and a second representative y-axis coordinate value, and the processing module Controlling the application to perform a second function different from the first function based on the second representative x-axis coordinate value and the second representative y-axis coordinate value. 如申請專利範圍第10項所述之電子裝置,其中該應用程式包括一軟體鍵盤應用程式,用以在該觸控式螢幕上顯示包括多個按鍵的一軟體鍵盤,該處理模組傳送該第一代表x軸座標值與該第一代表y軸座標值至該軟體鍵盤應用程式,以及該軟體鍵盤應用程式根據該第一代表x軸座標值與該第一代表y軸座標值,由該些按鍵中決定一點選按鍵。 The electronic device of claim 10, wherein the application comprises a software keyboard application for displaying a software keyboard including a plurality of buttons on the touch screen, the processing module transmitting the One representing an x-axis coordinate value and the first representative y-axis coordinate value to the software keyboard application, and the software keyboard application is based on the first representative x-axis coordinate value and the first representative y-axis coordinate value A button is selected in the button. 如申請專利範圍第13項所述之電子裝置,其中該軟體鍵盤應用程式在該觸控式螢幕顯示包括一輸入提示資訊一圖像。 The electronic device of claim 13, wherein the software keyboard application includes an input prompt information-image on the touch screen display. 如申請專利範圍第13項所述之電子裝置,其中該圖像與該點選按鍵的外觀相同。 The electronic device of claim 13, wherein the image has the same appearance as the click button. 如申請專利範圍第13項所述之電子裝置,其中該軟體鍵盤應用程式等比例放大顯示該點選按鍵。 The electronic device of claim 13, wherein the software keyboard application displays the selected button in a proportional manner. 如申請專利範圍第13項所述之電子裝置,其中該軟體鍵盤應用程式取得該軟體鍵盤的一鍵盤顯示區域,依據該鍵盤顯示區域及每一該些按鍵的一按鍵大小預設值,計算每一該些按鍵的一按鍵顯示區域,並取得涵蓋該代表座標值的該按鍵顯示區域,並以取得之該按鍵顯示區域所對應的該按鍵做為該點選按鍵。 The electronic device of claim 13, wherein the software keyboard application obtains a keyboard display area of the software keyboard, and calculates a preset value according to the keyboard display area and a button size of each of the buttons. a button display area of the buttons, and obtaining the button display area covering the representative coordinate value, and using the button corresponding to the obtained button display area as the click button. 一種非暫態儲存媒體,用以儲存一電腦程式,上述電腦程 式包括多個程式碼,其用以載入至具有一觸控式螢幕的一電子裝置中並且使得該電子裝置執行一種操控應用程式的方法,該觸控式螢幕至少包括一接觸面積,且該接觸面積包括多個觸壓點,各所述觸壓點包括一x軸座標值與一y軸座標值,該方法包括下列步驟:偵測一第一觸控訊號;根據該第一觸控訊號,取得位在該接觸面積內的多個第一觸壓點;決定各所述第一觸壓點的該x軸座標值與該y軸座標值;藉由加權平均所述第一觸壓點的所述x軸座標值以及所述第一觸壓點的所述y軸座標值,決定該接觸面積的一第一代表x軸座標值與一第一代表y軸座標值;以及控制一應用程式執行該第一代表x軸座標值與該第一代表y軸座標值對應的一第一功能。A non-transitory storage medium for storing a computer program The method includes a plurality of code for loading into an electronic device having a touch screen and causing the electronic device to perform a method of manipulating the application, the touch screen including at least one contact area, and The contact area includes a plurality of touch points, each of the touch points includes an x-axis coordinate value and a y-axis coordinate value, and the method includes the following steps: detecting a first touch signal; and determining the first touch signal according to the first touch signal Obtaining a plurality of first contact points located in the contact area; determining the x-axis coordinate value of each of the first contact points and the y-axis coordinate value; and weighting the first touch point The x-axis coordinate value and the y-axis coordinate value of the first contact pressure point, determining a first representative x-axis coordinate value of the contact area and a first representative y-axis coordinate value; and controlling an application The program performs a first function corresponding to the first representative x-axis coordinate value and the first representative y-axis coordinate value.
TW102138767A 2008-07-18 2008-07-18 Method for controlling application program, electronic device thereof, recording medium thereof, and computer program product using the method TWI505170B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102138767A TWI505170B (en) 2008-07-18 2008-07-18 Method for controlling application program, electronic device thereof, recording medium thereof, and computer program product using the method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102138767A TWI505170B (en) 2008-07-18 2008-07-18 Method for controlling application program, electronic device thereof, recording medium thereof, and computer program product using the method

Publications (2)

Publication Number Publication Date
TW201407455A TW201407455A (en) 2014-02-16
TWI505170B true TWI505170B (en) 2015-10-21

Family

ID=50550505

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102138767A TWI505170B (en) 2008-07-18 2008-07-18 Method for controlling application program, electronic device thereof, recording medium thereof, and computer program product using the method

Country Status (1)

Country Link
TW (1) TWI505170B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW341684B (en) * 1996-07-15 1998-10-01 Synaptics Inc Object position detector
US20070229477A1 (en) * 1998-05-15 2007-10-04 Ludwig Lester F High parameter-count touchpad controller

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW341684B (en) * 1996-07-15 1998-10-01 Synaptics Inc Object position detector
US20070229477A1 (en) * 1998-05-15 2007-10-04 Ludwig Lester F High parameter-count touchpad controller

Also Published As

Publication number Publication date
TW201407455A (en) 2014-02-16

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
US9740321B2 (en) Method for operating application program and mobile electronic device using the same
JP4372188B2 (en) Information processing apparatus and display control method
JP5270485B2 (en) Touch panel device and method, program, and recording medium
US20070263014A1 (en) Multi-function key with scrolling in electronic devices
US20090167715A1 (en) User interface of portable device and operating method thereof
JP5197533B2 (en) Information processing apparatus and display control method
TWI482064B (en) Portable device and operating method thereof
JP2009169825A (en) Display input device, electronic device, and display input control program
CN101639738B (en) The method of operating application program and its electronic installation
TW201331812A (en) Electronic apparatus and method for controlling the same
JP2007226571A (en) Electronic equipment device depending on touch panel input, and program performing input operation of touch panel
JP6017995B2 (en) Portable information processing apparatus, input method thereof, and computer-executable program
JP5384706B2 (en) Multi-touch operation method and system
JP5414134B1 (en) Touch-type input system and input control method
JP2016015181A (en) User interface device, program, and function starting method capable of starting different function according to degree of pressing force
TWI505170B (en) Method for controlling application program, electronic device thereof, recording medium thereof, and computer program product using the method
TWI439922B (en) Handheld electronic apparatus and control method thereof
JP5165624B2 (en) Information input device, object display method, and computer-executable program
WO2012046295A1 (en) Information processing device and input device display method
JP2015102946A (en) Information processing apparatus, control method of information processing apparatus, and program
JP2011008633A (en) Information processor and electronic file operation program
JP6210664B2 (en) Information processing apparatus, control method therefor, program, and storage medium
TWI383314B (en) Input method for touch panel and related touch panel and electronic device
WO2016158125A1 (en) Electronic device