TW201351227A - Operation method for touch panel and electronic apparatus thereof - Google Patents
Operation method for touch panel and electronic apparatus thereof Download PDFInfo
- Publication number
- TW201351227A TW201351227A TW101121571A TW101121571A TW201351227A TW 201351227 A TW201351227 A TW 201351227A TW 101121571 A TW101121571 A TW 101121571A TW 101121571 A TW101121571 A TW 101121571A TW 201351227 A TW201351227 A TW 201351227A
- Authority
- TW
- Taiwan
- Prior art keywords
- touch
- area
- event
- contact area
- effective
- Prior art date
Links
Landscapes
- User Interface Of Digital Computer (AREA)
- Position Input By Displaying (AREA)
Abstract
Description
本發明是有關於一種觸控操作機制,且特別是有關於一種可修正無法操作區域的觸控面板的操作方法與電子裝置。 The present invention relates to a touch operation mechanism, and more particularly to an operation method and an electronic device for a touch panel capable of correcting an inoperable area.
隨著觸控技術的精進,人類對電子裝置的依賴性亦與日俱增,而觸控螢幕也逐漸取代傳統螢幕而成為電子裝置的輸入與輸出工具。目前市面上電子裝置,許多是利用觸控面板(touch panel)來進行操作。許多消費型電子產品為符合使用者對外觀輕巧的要求,也紛紛利用觸控面板以節省實體按鍵的空間。 With the advancement of touch technology, human dependence on electronic devices is increasing day by day, and touch screens have gradually replaced traditional screens as input and output tools for electronic devices. Many of the electronic devices currently on the market operate using a touch panel. Many consumer electronic products meet the user's requirements for light weight, and they also use touch panels to save space on physical buttons.
以具有觸控面板的可攜式電子裝置為例,使用者在操作可攜式電子裝置(例如是手機或平板電腦等)上的觸控面板時,為了盡可能在整個觸控面板進行操控,使用者時常需要減少與觸控面板的接觸面積。然而,隨者使用者與觸控面板的接觸面積變小,使用者在使用這類可攜式電子裝置時,經常會因為可掌控的空間變小而使可攜式電子裝置容易掉落以導致損壞,不僅使用者在掌握住觸控面板時不符合人體工學,且在使用上也不具效率。反之,若為了要能夠掌控住這類可攜式電子裝置,使用者與觸控面板的接觸面積則需擴大。然而以此做法,雖然可較能掌控可攜式電子裝置,但也因為手與觸控面板的接觸面積變大,而使 得觸控面板的可操作區域變小,以及相對地不可操作的區域則會變大,即使用者無法充分在整個觸控面板上進行操作。在此情況下,使用者無法有效率地使用觸控面板。 Taking a portable electronic device with a touch panel as an example, when the user operates the touch panel on the portable electronic device (for example, a mobile phone or a tablet computer), in order to control the entire touch panel as much as possible, Users often need to reduce the contact area with the touch panel. However, the contact area between the user and the touch panel is reduced, and when the user uses such a portable electronic device, the portable electronic device is often easily dropped due to the small space that can be controlled. Damage is not only ergonomic when the user grasps the touch panel, and is not efficient in use. On the other hand, in order to be able to control such portable electronic devices, the contact area between the user and the touch panel needs to be expanded. However, in this way, although the portable electronic device can be controlled more, the contact area between the hand and the touch panel is increased, The operable area of the touch panel becomes smaller, and the relatively inoperable area becomes larger, that is, the user cannot fully operate on the entire touch panel. In this case, the user cannot use the touch panel efficiently.
本發明提供一種觸控面板的操作方法與電子裝置,其可增加使用者操作觸控面板的便利性。 The invention provides a method and an electronic device for operating a touch panel, which can increase the convenience of a user operating the touch panel.
本發明提出一種觸控面板的操作方法,其觸控面板設置於電子裝置中。在本方法中,透過觸控面板接收觸控事件。判斷觸控事件在觸控面板中的接觸區域的面積是否大於預設值。當接觸區域的面積大於預設值,偵測接觸區域的變化量,以比較變化量與對應的門檻值。依據變化量與對應的門檻值的比較結果,判斷觸控事件為有效觸控操作或無效觸控操作。當判定觸控事件為有效觸控操作,觸發有效觸控操作對應的操作事件。當判定觸控事件為無效觸控操作,禁能接觸區域的事件觸發功能。 The invention provides a method for operating a touch panel, wherein the touch panel is disposed in an electronic device. In the method, a touch event is received through the touch panel. It is determined whether the area of the touch area of the touch event in the touch panel is greater than a preset value. When the area of the contact area is greater than a preset value, the amount of change in the contact area is detected to compare the amount of change with the corresponding threshold value. The touch event is determined to be an effective touch operation or an invalid touch operation according to the comparison result of the change amount and the corresponding threshold value. When it is determined that the touch event is an effective touch operation, an operation event corresponding to the effective touch operation is triggered. When it is determined that the touch event is an invalid touch operation, the event trigger function of the contact area is disabled.
在本發明之一實施例中,當接觸區域的面積大於預設值時,還可進一步記錄接觸區域的位置資訊,並且依據位置資訊,將觸控面板劃分為可操作區域以及不可操作區域,其中接觸區域位於不可操作區域中。 In an embodiment of the present invention, when the area of the contact area is greater than a preset value, the location information of the contact area may be further recorded, and the touch panel is divided into an operable area and an inoperable area according to the location information, wherein The contact area is located in the inoperable area.
在本發明之一實施例中,上述在將觸控面板劃分為可操作區域以及不可操作區域的步驟之後,當自不可操作區域中偵測到另一觸控事件時,還可判斷另一觸控事件是否為有效觸控操作,以及當判定另一觸控事件為有效觸控操 作時,還可觸發有效觸控操作對應的操作事件。 In an embodiment of the present invention, after the step of dividing the touch panel into the operable area and the inoperable area, when another touch event is detected from the inoperable area, another touch may be determined. Whether the control event is an effective touch operation, and when it is determined that another touch event is an effective touch operation When it is done, it can also trigger the operation event corresponding to the effective touch operation.
在本發明之一實施例中,上述操作方法中,還可擷取目前執行中的應用程式所允許的觸控操作資料,並儲存至資料庫,以在判定觸控事件為有效觸控操作時,自資料庫中讀取觸控操作資料,藉以查詢有效觸控操作對應的操作事件。 In an embodiment of the present invention, the touch operation data allowed by the currently executing application may be retrieved and stored in the database to determine that the touch event is an effective touch operation. The touch operation data is read from the database to query the operation events corresponding to the effective touch operation.
在本發明之一實施例中,上述之變化量為移動變化量或面積變化量。 In an embodiment of the invention, the amount of change described above is a movement change amount or an area change amount.
本發明提出一種觸控裝置,其包括觸控面板以及處理單元。處理單元耦接至觸控面板,處理單元觸發多個模組,這些模組包括觸控偵測模組、觸控分析模組、以及行為處理模組。觸控偵測模組透過觸控面板來接收觸控事件。觸控分析模組判斷觸控事件在觸控面板中的接觸區域的面積是否大於預設值,並且當接觸區域的面積大於預設值,偵測接觸區域的變化量,以比較變化量與對應的門檻值,藉此判斷觸控事件為有效觸控操作或無效觸控操作。行為處理模組依據觸控事件為有效觸控操作或無效觸控操作,觸發有效觸控操作對應的操作事件或禁能接觸區域的事件觸發功能。 The invention provides a touch device comprising a touch panel and a processing unit. The processing unit is coupled to the touch panel, and the processing unit triggers a plurality of modules, including a touch detection module, a touch analysis module, and a behavior processing module. The touch detection module receives touch events through the touch panel. The touch analysis module determines whether the area of the touch area in the touch panel is greater than a preset value, and when the area of the contact area is greater than a preset value, detecting a change amount of the contact area to compare the change amount and corresponding The threshold value is used to determine whether the touch event is an effective touch operation or an invalid touch operation. The behavior processing module triggers an action event corresponding to the effective touch operation or an event trigger function of the disabled contact area according to the touch event as an effective touch operation or an invalid touch operation.
在本發明之一實施例中,上述之觸控分析模組記錄接觸區域的位置資訊,且依據位置資訊,將觸控面板劃分為可操作區域以及不可操作區域,其中接觸區域位於不可操作區域中。 In an embodiment of the present invention, the touch analysis module records position information of the contact area, and divides the touch panel into an operable area and an inoperable area according to the position information, wherein the contact area is located in the inoperable area. .
在本發明之一實施例中,上述當觸控偵測模組自不可 操作區域中偵測到另一觸控事件時,觸控分析模組會進一步判斷另一觸控事件是否為有效觸控操作,以在判定另一觸控事件為有效觸控操作時,通知行為處理模組觸發有效觸控操作對應的操作事件。 In an embodiment of the present invention, when the touch detection module is self-selectable When another touch event is detected in the operation area, the touch analysis module further determines whether the other touch event is an effective touch operation, so as to notify the behavior when determining that another touch event is an effective touch operation. The processing module triggers an operation event corresponding to the effective touch operation.
在本發明之一實施例中,上述之觸控裝置更包括功能記錄模組,藉以擷取目前執行中的應用程式所允許的觸控操作資料,並儲存至資料庫。在此,當觸控分析模組判定觸控事件為有效觸控操作時,觸控分析模組自資料庫中讀取觸控操作資料,以查詢有效觸控操作對應的操作事件。 In one embodiment of the present invention, the touch device further includes a function recording module for capturing touch operation data allowed by the currently executing application and storing the data to the database. Here, when the touch analysis module determines that the touch event is an effective touch operation, the touch analysis module reads the touch operation data from the data library to query an operation event corresponding to the effective touch operation.
在本發明之一實施例中,上述之變化量為的移動變化量或面積變化量。 In an embodiment of the present invention, the amount of change described above is a change amount of movement or an amount of change in area.
基於上述,透過偵測接觸區域的變化量來判斷觸控事件是否為有效觸控操作,藉以可提升使用者在操作觸控面板時的便利性。 Based on the above, it is determined whether the touch event is an effective touch operation by detecting the amount of change in the contact area, thereby improving the convenience of the user when operating the touch panel.
為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 The above described features and advantages of the present invention will be more apparent from the following description.
圖1是依照本發明第一實施例所繪示之電子裝置的方塊圖。請參照圖1,電子裝置100例如是個人電腦、筆記型電腦、個人數位助理(Personal Digital Assistant,PDA)、股票機、手機、或其他具觸控功能之電子裝置等,不限於上述。在圖1中,電子裝置100包括觸控面板110、處理 單元120,其中處理單元120耦接至觸控面板110。此外,電子裝置100還包括觸控偵測模組130、觸控分析模組140以及行為處理模組150,而上述模組可由處理單元120所觸發。 1 is a block diagram of an electronic device in accordance with a first embodiment of the present invention. Referring to FIG. 1 , the electronic device 100 is, for example, a personal computer, a notebook computer, a personal digital assistant (PDA), a stock machine, a mobile phone, or other electronic device with touch function, and is not limited to the above. In FIG. 1 , the electronic device 100 includes a touch panel 110 and processes The unit 120 is coupled to the touch panel 110. In addition, the electronic device 100 further includes a touch detection module 130 , a touch analysis module 140 , and a behavior processing module 150 , and the module can be triggered by the processing unit 120 .
詳細而言,觸控面板110可以設置於一顯示面板(未繪示)上,其中使用者可透過觸控面板110直接觀看顯示面板所呈現的影像畫面。觸控面板110上可具有多個感應區塊(未繪示),這些感應區塊可依據使用者的觸碰操作產生感應訊號。此外,本實施例之觸控面板110例如為電容式觸控面板或是電阻式觸控面板。 In detail, the touch panel 110 can be disposed on a display panel (not shown), and the user can directly view the image displayed by the display panel through the touch panel 110. The touch panel 110 can have a plurality of sensing blocks (not shown), and the sensing blocks can generate sensing signals according to a user's touch operation. In addition, the touch panel 110 of the embodiment is, for example, a capacitive touch panel or a resistive touch panel.
處理單元120例如是中央處理單元(Central Processing Unit,CPU),或是其他可程式化之微處理器(Microprocessor)、數位訊號處理器(Digital Signal Processor,DSP)、可程式化控制器、特殊應用積體電路(Application Specific Integrated Circuits,ASIC)、可程式化邏輯裝置(Programmable Logic Device,PLD)或其他類似裝置。 The processing unit 120 is, for example, a central processing unit (CPU), or other programmable microprocessor (Microprocessor), a digital signal processor (DSP), a programmable controller, and a special application. Application Specific Integrated Circuits (ASICs), Programmable Logic Devices (PLDs), or the like.
此外,觸控偵測模組130、觸控分析模組140以及行為處理模組150可以是由程式語言所撰寫的程式碼或是為獨立的晶片。舉例來說,觸控偵測模組130、觸控分析模組140以及行為處理模組150可以是由程式語言所撰寫的程式碼,而這些程式碼儲存在一儲存單元(未繪示)中,以供處理單元120來執行之。上述儲存單元例如是非揮發性記憶、快閃記憶體或硬碟等。或者,觸控偵測模組130、觸控分析模組140以及行為處理模組150分別為由一個或 數個邏輯閘組合而成的獨立晶片,而分別耦接至處理單元120,以透過處理單元120來控制上述各晶片。 In addition, the touch detection module 130, the touch analysis module 140, and the behavior processing module 150 may be code written by a programming language or a separate chip. For example, the touch detection module 130, the touch analysis module 140, and the behavior processing module 150 may be code written by a programming language, and the code is stored in a storage unit (not shown). For processing by the processing unit 120. The above storage unit is, for example, a non-volatile memory, a flash memory or a hard disk. Alternatively, the touch detection module 130, the touch analysis module 140, and the behavior processing module 150 are respectively one or The individual wafers of the plurality of logic gates are combined and coupled to the processing unit 120 to control the respective wafers through the processing unit 120.
在本實施例中,處理單元120可在電子裝置100上執行各種指令或程式,以控制電子裝置100的整體運作,並且可藉由觸控偵測模組130、觸控分析模組140以及行為處理模組150來實現觸控面板110的操作方法。於以下將分別針對各模組的功能進行說明。 In this embodiment, the processing unit 120 can execute various commands or programs on the electronic device 100 to control the overall operation of the electronic device 100, and can be controlled by the touch detection module 130, the touch analysis module 140, and the behavior. The processing module 150 implements a method of operating the touch panel 110. The functions of each module will be described below.
觸控偵測模組130透過觸控面板110來接收觸控事件。進一步地說,觸控偵測模組130自觸控面板110接收觸控事件所產生之一連串的感應訊號。 The touch detection module 130 receives the touch event through the touch panel 110. Further, the touch detection module 130 receives a series of sensing signals generated by the touch event from the touch panel 110.
觸控分析模組140用以判斷觸控事件在觸控面板110中的接觸區域的面積是否大於預設值。當接觸區域的面積大於預設值,觸控分析模組140會偵測接觸區域的變化量,以比較變化量與對應的門檻值,藉此判斷觸控事件為有效觸控操作或無效觸控操作。也就是說,觸控分析模組140會偵測接觸區域的變化量是否符合對應的門檻值。在本實施例中,接觸區域的變化量例如為移動變化量或面積變化量,但不限於此。 The touch analysis module 140 is configured to determine whether the area of the touch area of the touch event in the touch panel 110 is greater than a preset value. When the area of the contact area is greater than the preset value, the touch analysis module 140 detects the amount of change in the contact area to compare the change amount with the corresponding threshold value, thereby determining whether the touch event is an effective touch operation or an invalid touch. operating. That is to say, the touch analysis module 140 detects whether the amount of change in the contact area meets the corresponding threshold value. In the present embodiment, the amount of change in the contact area is, for example, a movement change amount or an area change amount, but is not limited thereto.
此外,觸控分析模組140還可記錄接觸區域的位置資訊。並且,依據位置資訊,觸控分析模組140可將觸控面板110劃分為可操作區域以及不可操作區域,其中接觸區域位於不可操作區域中。例如,對於觸控面板110在可操作區域上的觸控事件,觸控分析模組140可直接將此觸控事件視為有效觸控操作。另一方面,若觸控事件在不可操 作區域中,觸控分析模組140則進一步比對此觸控事件於觸控面板110的接觸區域與對應的門檻值,藉此判斷觸控事件是否為有效觸控操作。 In addition, the touch analysis module 140 can also record the location information of the contact area. Moreover, according to the location information, the touch analysis module 140 can divide the touch panel 110 into an operable area and an inoperable area, wherein the contact area is located in the inoperable area. For example, for the touch event of the touch panel 110 on the operable area, the touch analysis module 140 can directly treat the touch event as an effective touch operation. On the other hand, if the touch event is not operational The touch analysis module 140 further compares the contact area of the touch event with the touch panel 110 and the corresponding threshold value, thereby determining whether the touch event is an effective touch operation.
行為處理模組150依據觸控事件為有效觸控操作或無效觸控操作,觸發有效觸控操作對應的操作事件或禁能接觸區域的事件觸發功能。另外,當觸控事件為有效觸控操作時,行為處理模組150還可依據目前執行中的應用程式所允許的觸控操作資料,搭配觸控分析模組140所傳送的有效觸控操作,觸發對應的操作事件。 The behavior processing module 150 triggers an operation event corresponding to the effective touch operation or an event trigger function of the disabled contact area according to the touch event being an effective touch operation or an invalid touch operation. In addition, when the touch event is an effective touch operation, the behavior processing module 150 can also be combined with the effective touch operation transmitted by the touch analysis module 140 according to the touch operation data allowed by the currently executing application. Trigger the corresponding operation event.
舉例來說,當目前執行中的應用程式為電子書的閱讀器時,使用者可在握持住觸控面板110的情況下,利用握持住觸控面板110的手的其中一根手指(如:大姆指)執行一滑動操作。當觸控分析模組140依據上述觸控事件的變化量將其判定為有效觸控操作時,可透過行為處理模組150來觸發對應的操作事件(例如:換頁)。 For example, when the currently executing application is an e-book reader, the user can use one of the fingers of the hand holding the touch panel 110 while holding the touch panel 110 (eg, :Dum refers to performing a sliding operation. When the touch analysis module 140 determines that it is an effective touch operation according to the change amount of the touch event, the action processing module 150 can trigger the corresponding operation event (for example, page change).
此外,電子裝置100還包括功能記錄模組160。功能記錄模組160用以擷取目前執行中的應用程式所允許的觸控操作資料,並儲存至資料庫170中。詳細而言,由於不同應用程式所允許的觸控操作資料可不相同,因此功能記錄模組160可透過資料庫170來記錄各應用程式所對應的觸控操作資料以及對應的操作事件。舉例來說,功能記錄模組160可記錄不同應用程式中,各種觸碰事件所對應的操作事件,以及記錄各操作事件所對應的觸控操作資料。例如滑動操作所觸發的操作事件,以及觸發此操作事件 時,此滑動操作所對應的移動變化量或速度變化量等。如此一來,當觸控分析模組140判定觸控事件為有效觸控操作時,觸控分析模組140自資料庫170中讀取觸控操作資料,以查詢有效觸控操作對應的操作事件。 In addition, the electronic device 100 further includes a function recording module 160. The function recording module 160 is configured to capture the touch operation data allowed by the currently executing application and store the data in the data repository 170. In detail, since the touch operation data allowed by different applications may be different, the function record module 160 can record the touch operation data and the corresponding operation events corresponding to each application through the data library 170. For example, the function recording module 160 can record operation events corresponding to various touch events in different applications, and record touch operation data corresponding to each operation event. For example, an action event triggered by a slide operation, and an action event that triggers the action The amount of change in movement or the amount of change in speed corresponding to this sliding operation, and the like. In this manner, when the touch analysis module 140 determines that the touch event is an effective touch operation, the touch analysis module 140 reads the touch operation data from the data library 170 to query an operation event corresponding to the effective touch operation. .
底下即搭配上述電子裝置100來說明觸控面板的操作方法。圖2是依照本發明第一實施例所繪示之操作方法流程圖。本實施例中的操作方法,適用於具有觸控面板110的電子裝置100。 The operation method of the touch panel will be described below with the electronic device 100 described above. 2 is a flow chart of an operation method according to a first embodiment of the present invention. The operation method in this embodiment is applicable to the electronic device 100 having the touch panel 110.
請同時參照圖1及圖2,於步驟S201中,電子裝置100透過觸控面板110接收觸控事件,其中觸控事件可以是使用者在觸控面板110上所做的觸碰操作,例如是按壓、點擊或滑動操作。 Referring to FIG. 1 and FIG. 2, in step S201, the electronic device 100 receives a touch event through the touch panel 110. The touch event may be a touch operation performed by the user on the touch panel 110, for example, Press, click, or swipe.
接著,於步驟S203中,觸控分析模組130判斷觸控事件在觸控面板110中的接觸區域之面積是否大於預設值。具體而言,倘若接觸區域之面積大於預設值,觸控分析模組130可將接觸區域判斷為手掌誤觸區域(palm rejection),表示觸控區域可能為使用者以手掌握持住觸控面板110所產生之觸控事件或者為使用者誤觸觸控面板110所產生之觸控事件。在此,使用者可依需求設定預設值的大小。 Then, in step S203, the touch analysis module 130 determines whether the area of the touch area of the touch event in the touch panel 110 is greater than a preset value. Specifically, if the area of the contact area is greater than the preset value, the touch analysis module 130 can determine the contact area as a palm rejection, indicating that the touch area may hold the touch by the user. The touch event generated by the panel 110 or the touch event generated by the user accidentally touching the touch panel 110. Here, the user can set the preset value according to requirements.
當步驟S203的判斷結果為否,表示此觸控區域非手掌誤觸區域,執行步驟S213,執行觸控事件解析程序,以在解析出此觸控事件為有效觸控操作時,觸發對應的操作事件。 If the result of the determination in step S203 is NO, the touch area is not the palm touch area, and step S213 is executed to execute the touch event analysis program to trigger the corresponding operation when the touch event is resolved as an effective touch operation. event.
當步驟S203的判斷結果為是,表示此觸控區域可能為手掌誤觸區域,因此進一步執行步驟S205,觸控分析模組130偵測接觸區域的變化量,以比較變化量與對應的門檻值,其中變化量例如為接觸區域的移動變化量或面積變化量。 If the result of the determination in step S203 is YES, it indicates that the touch area may be a palm touch area. Therefore, step S205 is further performed, and the touch analysis module 130 detects the change amount of the contact area to compare the change amount with the corresponding threshold value. The amount of change is, for example, the amount of change in movement or the amount of change in area of the contact area.
舉例來說,圖3是依照本發明第一實施例所繪示之觸控事件的示意圖。在本實施例中,以使用者利用一手來握持住觸控面板110為例進行說明。請參照圖3,使用者以手掌來握持住觸控面板110的右側。在此,假設手掌一開始是接觸於觸控面板110的接觸區域302(以斜線繪示)。並且,假設接觸區域302之面積大於預設值。據此,接觸區域302則被視為是手掌誤觸區域。另外,在圖3中,接觸面積302’為大姆指移動的位置。即,在握持住觸控面板110的同時,使用者還可以大姆指來進行滑動操作。此時,透過觸控分析模組140進一步計算接觸區域302與接觸區域302’之間的面積變化量或移動變化量,以做為觸發有效觸控操作的依據。例如,透過移動變化量得知產生一滑動操作。 For example, FIG. 3 is a schematic diagram of a touch event according to a first embodiment of the present invention. In this embodiment, the user uses a hand to hold the touch panel 110 as an example for description. Referring to FIG. 3, the user holds the right side of the touch panel 110 with the palm of the hand. Here, it is assumed that the palm is initially in contact with the contact area 302 of the touch panel 110 (shown by oblique lines). Also, it is assumed that the area of the contact area 302 is larger than a preset value. Accordingly, the contact area 302 is considered to be a palm touch area. Further, in Fig. 3, the contact area 302' is a position at which the thumb moves. That is, while holding the touch panel 110, the user can also perform a sliding operation with the thumb. At this time, the area change amount or the movement change amount between the contact area 302 and the contact area 302' is further calculated by the touch analysis module 140 as a basis for triggering an effective touch operation. For example, it is known to generate a sliding operation by moving the amount of change.
值得一提的是,觸控分析模組140可依據電子裝置100目前執行中的應用程式來決定欲與接觸區域的變化量進行比對的門檻值的大小。也就是說,對於不同的應用程式,觸控分析模組130可取得不同的門檻值以和接觸區域的變化量做比較。如此一來,由於觸控分析模組130可根據不同的應用程式而選取不同的門檻值,因此本實施例可依據 應用程式而產生不同的判斷結果。 It is to be noted that the touch analysis module 140 can determine the threshold value to be compared with the amount of change in the contact area according to the currently executing application of the electronic device 100. That is to say, for different applications, the touch analysis module 130 can obtain different threshold values to compare with the amount of change in the contact area. In this way, since the touch analysis module 130 can select different threshold values according to different applications, the embodiment can be based on The application produces different judgment results.
返回圖2,在比較接觸區域的變化量與對應的門檻值之後,於步驟S207中,觸控分析模組130依據變化量與對應的門檻值的比較結果,判斷觸控事件為有效觸控操作或無效觸控操作。 Returning to FIG. 2, after comparing the amount of change of the contact area with the corresponding threshold value, in step S207, the touch analysis module 130 determines that the touch event is an effective touch operation according to the comparison result of the change amount and the corresponding threshold value. Or invalid touch operation.
當觸控分析模組130判定為有效觸控操作時,如步驟S209所示,行為處理模組150會觸發有效觸控操作對應的操作事件。其中,觸控分析模組140可自資料庫170中讀取觸控操作資料,以查詢有效觸控操作對應的操作事件。另一方面,當於步驟S207中,觸控分析模組130判定觸控事件為無效觸控操作,此時如步驟S211所示,行為處理模組150會禁能接觸區域的事件觸發功能,使得行為處理模組150不會觸發在接觸區域中之任何的操作事件。 When the touch analysis module 130 determines that the touch operation is effective, as shown in step S209, the behavior processing module 150 triggers an operation event corresponding to the effective touch operation. The touch analysis module 140 can read the touch operation data from the data library 170 to query an operation event corresponding to the effective touch operation. On the other hand, in step S207, the touch analysis module 130 determines that the touch event is an invalid touch operation. At this time, as shown in step S211, the behavior processing module 150 disables the event trigger function of the contact area, so that The behavior processing module 150 does not trigger any operational events in the contact area.
在此,以圖3的操作為例,並假設電子裝置100目前執行的應用程序為一閱讀器來進行說明。使用者在以手掌握持住觸控面板110的情況下,使用者利用手的其中一根手指(如大拇指)執行一滑動操作,來執行閱讀器的頁面切換時,其中手指在執行滑動操作的過程中,先後接觸於觸控面板110的接觸區域302與302’。在此,若接觸區域302與302’之間的移動變化量超出對應的門檻值(例如為20個像素),則觸控分析模組130會將此觸控事件中的滑動操作視為有效觸控操作。接著,觸控分析模組140自資料庫170中讀取滑動操作所對應的移動方向或座標等,以查詢滑動操作所對應的操作事件。據此,行為處理模組150 可依據此滑動操作,而執行閱讀器頁面切換的操作事件。 Here, the operation of FIG. 3 is taken as an example, and it is assumed that the application currently executed by the electronic device 100 is a reader. When the user grasps and holds the touch panel 110 by hand, the user performs a sliding operation by using one of the fingers of the hand (such as a thumb) to perform a slide operation when the page of the reader is switched. During the process, the contact areas 302 and 302' of the touch panel 110 are successively contacted. Here, if the amount of movement change between the contact areas 302 and 302' exceeds the corresponding threshold value (for example, 20 pixels), the touch analysis module 130 regards the sliding operation in the touch event as an effective touch. Control operation. Then, the touch analysis module 140 reads the moving direction or coordinate corresponding to the sliding operation from the data library 170 to query the operation event corresponding to the sliding operation. Accordingly, the behavior processing module 150 The operation event of the page switching of the reader can be performed according to this sliding operation.
另一方面,同樣以閱讀器的頁面切換為例進行說明。當使用者在握持住觸控面板110的同時,執行滑動操作以切換瀏覽器頁面時,若滑動操作對應的接觸區域302與302’之間的移動變化量未超過門檻值(例如為20個像素),則觸控分析模組140會將觸控事件中的滑動操作視為無效觸控操作。換言之,觸控分析模組130不會依據使用者所執行的滑動操作,來執行閱讀器的頁面切換。 On the other hand, the page switching of the reader is also taken as an example for explanation. When the user performs a sliding operation to switch the browser page while holding the touch panel 110, if the movement change between the contact areas 302 and 302' corresponding to the sliding operation does not exceed the threshold value (for example, 20 pixels) The touch analysis module 140 regards the sliding operation in the touch event as an invalid touch operation. In other words, the touch analysis module 130 does not perform page switching of the reader according to the sliding operation performed by the user.
基於上述,在接觸區域大於預設值的情況下,可根據觸控面板110的接觸區域之變化量,來判斷來自使用者的觸控事件是否為有效觸控操作,以在判定為有效觸控操作,觸發對應的操作事件。據此,即便在產生手掌誤觸區域的情況下,亦能夠藉由觸控面板來實現操作事件,可提升使用者在使用處控面板時的便利性。 Based on the above, when the contact area is greater than the preset value, whether the touch event from the user is an effective touch operation may be determined according to the amount of change of the contact area of the touch panel 110, so as to determine that the touch is effective. Operation, trigger the corresponding operation event. According to this, even in the case where the palm touch area is generated, the operation event can be realized by the touch panel, and the convenience of the user when using the control panel can be improved.
圖4是依照本發明第二實施例所繪示之操作方法流程圖。本實施例為第一實施例進一步的應用,在此仍搭配圖1的電子裝置100來進行說明。 4 is a flow chart of a method of operation in accordance with a second embodiment of the present invention. This embodiment is a further application of the first embodiment, and is still described herein in conjunction with the electronic device 100 of FIG.
請參照圖1及圖4,在步驟S401中,觸控偵測模組130透過觸控面板110接收觸控事件。在步驟S403中,觸控分析模組140判斷觸控事件的接觸區域的面積是否大於預設值。若接觸區域的面積未大於預設值,代表未偵測到手掌誤觸區域,執行步驟S411,直接執行觸控事件解析程 序。並且,在解析出此觸控事件為有效觸控操作時,執行步驟S413,觸發對應的操作事件。 Referring to FIG. 1 and FIG. 4 , in step S401 , the touch detection module 130 receives the touch event through the touch panel 110 . In step S403, the touch analysis module 140 determines whether the area of the contact area of the touch event is greater than a preset value. If the area of the contact area is not greater than the preset value, it means that the palm touch area is not detected, and step S411 is performed to directly perform the touch event analysis process. sequence. Moreover, when the touch event is parsed as an effective touch operation, step S413 is executed to trigger a corresponding operation event.
另一方面,若接觸區域的面積大於預設值,代表偵測到手掌誤觸區域,執行步驟S405,觸控分析模組140會記錄接觸區域的位置資訊。位置資訊例如是接觸區域於觸控面板上的座標位置等。接著,於步驟S407中,觸控分析模組140會依據位置資訊,將觸控面板110劃分為可操作區域以及不可操作區域,其中接觸區域位於不可操作區域中。 On the other hand, if the area of the contact area is greater than the preset value, it means that the palm touch area is detected, and in step S405, the touch analysis module 140 records the position information of the contact area. The position information is, for example, a coordinate position of the contact area on the touch panel or the like. Then, in step S407, the touch analysis module 140 divides the touch panel 110 into an operable area and an inoperable area according to the location information, wherein the contact area is located in the inoperable area.
在此,不可操作區域會隨著接觸區域之面積或位置之不同而異。舉例來說,不可操作區域與接觸區域之間面積值可呈比例關係,或者不可操作區域可環繞接觸區域而產生。而排除不可操作區域的區域即為可操作區域。當然,使用者亦可依實際產品的需求而設定可操作區域及不可操作區域的面積或位於觸控面板110上的區域,在此並不限定。 Here, the inoperable area varies depending on the area or position of the contact area. For example, the area value between the inoperable area and the contact area may be proportional, or the inoperable area may be generated around the contact area. The area where the inoperable area is excluded is the operable area. Of course, the user can also set the area of the operable area and the inoperable area or the area on the touch panel 110 according to the requirements of the actual product, which is not limited herein.
在劃分為可操作區域與不可操作區域之後,可同時執行步驟S409及S415。在步驟S409中,觸控偵測模組130判斷是否自不可操作區域中偵測到另一觸控事件。在步驟S415中,觸控偵測模組130會偵測接觸區域的變化量,如步驟S415所示。 After being divided into an operable area and an inoperable area, steps S409 and S415 may be simultaneously performed. In step S409, the touch detection module 130 determines whether another touch event is detected from the inoperable area. In step S415, the touch detection module 130 detects the amount of change in the contact area, as shown in step S415.
當觸控偵測模組130自不可操作區域中偵測到另一觸控事件時,如步驟S411所示,觸控分析模組140直接執行觸控事件解析程序,藉判斷此觸控事件是否為有效觸控 操作。具體而言,上述另一觸控事件例如為使用者在不可操作區域內執行按壓、點擊或滑動操作。一般而言,在由一觸控事件造成觸控面板110被劃分出不可操作區域的情況下,在不可操作區域中接收到另一觸控事件時,此觸控事件是不會觸發任何相關的操作事件。而在本實施例中,則會進一步執行步驟S411。並且,在判定此另一觸控操作事件為有效觸控操作時,執行步驟S413,由行為處理模組150觸發有效觸控操作對應的操作事件。 When the touch detection module 130 detects another touch event from the inoperable area, as shown in step S411, the touch analysis module 140 directly executes the touch event analysis program to determine whether the touch event is For effective touch operating. Specifically, the other touch event described above is, for example, a user performing a pressing, clicking, or sliding operation in an inoperable area. Generally, in the case where the touch panel 110 is divided into an inoperable area by a touch event, when the touch event is received in the inoperable area, the touch event does not trigger any correlation. Operational event. In the present embodiment, step S411 is further performed. When it is determined that the other touch operation event is an effective touch operation, step S413 is executed, and the action processing module 150 triggers an operation event corresponding to the effective touch operation.
返回步驟S409,倘若未在不可操作區域中偵測到另一觸控事件,則執行步驟S415。而在本實施例中,步驟S415、S417、S419及S413分別與第一實施例的步驟S205、S207、S211及S209相同,在此不再贅述。 Returning to step S409, if another touch event is not detected in the inoperable area, step S415 is performed. In the present embodiment, steps S415, S417, S419, and S413 are the same as steps S205, S207, S211, and S209 of the first embodiment, and are not described herein again.
為了更清楚說明,底下再舉一實施例說明。圖5是依照本發明第二實施例所繪示之觸控事件的示意圖。如圖5所示,使用者以手掌握持住觸控面板110的右側,而在觸控面板110上形成接觸區域502(以斜線繪示)。在此,假設接觸區域502之面積大於預設值,即,接觸區域302為手掌誤觸區域。此時,觸控分析模組140會記錄接觸區域502的位置資訊,並且,觸控分析模組140會依據接觸區域502的位置資訊,將觸控面板110劃分為可操作區域520以及不可操作區域510。而接觸區域位502位於不可操作區域504中。 For a clearer explanation, an embodiment will be described below. FIG. 5 is a schematic diagram of a touch event according to a second embodiment of the present invention. As shown in FIG. 5, the user grasps the right side of the touch panel 110 with his hand, and forms a contact area 502 (shown by oblique lines) on the touch panel 110. Here, it is assumed that the area of the contact area 502 is larger than a preset value, that is, the contact area 302 is a palm touch area. At this time, the touch analysis module 140 records the position information of the contact area 502, and the touch analysis module 140 divides the touch panel 110 into the operable area 520 and the inoperable area according to the position information of the contact area 502. 510. The contact area bit 502 is located in the inoperable area 504.
在圖5中,接觸區域502’為大姆指移動的位置。即,在握持住觸控面板110的同時,使用者還可以大姆指來進 行滑動操作。此時,透過觸控分析模組140進一步計算接觸區域502與接觸區域502’之間的面積變化量或移動變化量,以做為觸發有效觸控操作的依據。例如,透過移動變化量得知產生一滑動操作。而關於變化量與門檻值之間的比較方法,已於第一實施例說明,故於此不再贅述。 In Fig. 5, the contact area 502' is the position where the thumb moves. That is, while holding the touch panel 110, the user can also enter the thumb Line sliding operation. At this time, the area change amount or the movement change amount between the contact area 502 and the contact area 502' is further calculated by the touch analysis module 140 as a basis for triggering an effective touch operation. For example, it is known to generate a sliding operation by moving the amount of change. The method for comparing the amount of change with the threshold value has been described in the first embodiment, and thus will not be described again.
另一方面,在手掌握持住接觸區域502的情況下,倘若在不可操作區域510的位置504偵測到另一觸控事件(例如為輕觸事件),則依據上述步驟S411,判定輕觸事件為有效觸控操作,便能夠觸發對應的操作事件。也就是說,當觸控分析模組140將觸控面板110劃分為可操作區域520及不可操作區域510。此時,若在不可操作區域510內偵測到另一觸控事件,且觸控分析模組140判斷其為有效觸控操作時,行為處理模組150亦可觸發對應於有效觸控操作對應的操作事件。 On the other hand, in the case where the hand grasps the contact area 502, if another touch event (for example, a tap event) is detected at the position 504 of the inoperable area 510, the light touch is determined according to the above step S411. The event is an effective touch operation, and the corresponding operation event can be triggered. That is, when the touch analysis module 140 divides the touch panel 110 into an operable area 520 and an inoperable area 510. At this time, if another touch event is detected in the inoperable area 510, and the touch analysis module 140 determines that it is an effective touch operation, the behavior processing module 150 may also trigger the corresponding corresponding to the effective touch operation. Operational event.
又,在判定接觸區域502為手掌誤觸區域而將觸控面板110劃分為可操作區域520及不可操作區域510時,倘若在可操作區域520中的位置506偵測到另一觸控事件時,亦會直接執行觸控事件解析程序(即一般的處理程序)。也就是說,使用者可以正常地在可操作區域520中執行任何的有效觸控操作。綜上所述,在上述實施例中,當觸控面板所接收的觸控事件的接觸區域的面積大於預設值時,亦可依據接觸區域的變化量來判斷觸控事件是否為有效觸控操作,以在判定觸控事件為有效觸控操作時,觸發對應的操作事件。藉此,可提升使用者操作觸控面板時 的便利性。 Moreover, when it is determined that the touch area 110 is the palm touch area and the touch panel 110 is divided into the operable area 520 and the inoperable area 510, if another touch event is detected at the position 506 in the operable area 520 The touch event parser (ie, the general handler) will also be executed directly. That is, the user can normally perform any effective touch operation in the operable area 520. In summary, in the above embodiment, when the area of the touch area of the touch event received by the touch panel is greater than a preset value, whether the touch event is an effective touch may be determined according to the amount of change of the contact area. The operation is to trigger a corresponding operation event when determining that the touch event is an effective touch operation. Thereby, when the user operates the touch panel Convenience.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,故本發明之保護範圍當視後附之申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the invention, and any one of ordinary skill in the art can make some modifications and refinements without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims.
100‧‧‧電子裝置 100‧‧‧Electronic devices
110‧‧‧觸控面板 110‧‧‧Touch panel
120‧‧‧處理單元 120‧‧‧Processing unit
130‧‧‧觸控偵測模組 130‧‧‧Touch Detection Module
140‧‧‧觸控分析模組 140‧‧‧Touch Analysis Module
150‧‧‧行為處理模組 150‧‧‧ Behavior Processing Module
160‧‧‧功能記錄模組 160‧‧‧Function Recording Module
170‧‧‧資料庫 170‧‧‧Database
302、302’、502、502’‧‧‧接觸區域 302, 302', 502, 502'‧‧‧ contact areas
504、506‧‧‧位置 504, 506‧‧‧ position
510‧‧‧不可操作區域 510‧‧‧Inoperable area
520‧‧‧可操作區域 520‧‧‧Operated area
S201~S213‧‧‧觸控面板的操作方法各步驟 S201~S213‧‧‧How to operate the touch panel
S401~S419‧‧‧觸控面板的操作方法各步驟 S401~S419‧‧‧Touch panel operation method steps
圖1是依照本發明第一實施例所繪示之電子裝置的方塊圖。 1 is a block diagram of an electronic device in accordance with a first embodiment of the present invention.
圖2是依照本發明第一實施例所繪示之操作方法流程圖。 2 is a flow chart of an operation method according to a first embodiment of the present invention.
圖3是依照本發明第一實施例所繪示之觸控事件的示意圖。 FIG. 3 is a schematic diagram of a touch event according to a first embodiment of the present invention.
圖4是依照本發明第二實施例所繪示之操作方法流程圖。 4 is a flow chart of a method of operation in accordance with a second embodiment of the present invention.
圖5是依照本發明第二實施例所繪示之觸控事件的示意圖。 FIG. 5 is a schematic diagram of a touch event according to a second embodiment of the present invention.
S201~S213‧‧‧觸控面板的操作方法各步驟 S201~S213‧‧‧How to operate the touch panel
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW101121571A TW201351227A (en) | 2012-06-15 | 2012-06-15 | Operation method for touch panel and electronic apparatus thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW101121571A TW201351227A (en) | 2012-06-15 | 2012-06-15 | Operation method for touch panel and electronic apparatus thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
TW201351227A true TW201351227A (en) | 2013-12-16 |
Family
ID=50158042
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW101121571A TW201351227A (en) | 2012-06-15 | 2012-06-15 | Operation method for touch panel and electronic apparatus thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TW201351227A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9927902B2 (en) | 2013-01-06 | 2018-03-27 | Intel Corporation | Method, apparatus, and system for distributed pre-processing of touch data and display region control |
-
2012
- 2012-06-15 TW TW101121571A patent/TW201351227A/en unknown
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9927902B2 (en) | 2013-01-06 | 2018-03-27 | Intel Corporation | Method, apparatus, and system for distributed pre-processing of touch data and display region control |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9626104B2 (en) | Thumb access area for one-handed touchscreen use | |
US10409490B2 (en) | Assisting input from a keyboard | |
JP6543273B2 (en) | Touch point recognition method and apparatus | |
TWI544369B (en) | Touch event anticipation in a computing device | |
TWI478041B (en) | Method of identifying palm area of a touch panel and a updating method thereof | |
JP5674674B2 (en) | Occurrence of gestures tailored to the hand placed on the surface | |
CN106227520B (en) | Application interface switching method and device | |
US20140340321A1 (en) | Mistouch identification method and device using the same | |
US20100103141A1 (en) | Techniques for Controlling Operation of a Device with a Virtual Touchscreen | |
JP2014529138A (en) | Multi-cell selection using touch input | |
US20150286283A1 (en) | Method, system, mobile terminal, and storage medium for processing sliding event | |
TW201324318A (en) | Electronic device with touch panel and a control method thereof | |
TW201339917A (en) | Method and system for controlling touch-sensitive electronic device | |
US20150309690A1 (en) | Method and system for searching information records | |
US20210223951A1 (en) | Smart desk with gesture detection and control features | |
WO2017028491A1 (en) | Touch control display device and touch control display method | |
EP2899623A2 (en) | Information processing apparatus, information processing method, and program | |
CN110764683A (en) | Processing operation method and terminal | |
TWI545468B (en) | Input device | |
TW201351227A (en) | Operation method for touch panel and electronic apparatus thereof | |
JP2013004001A5 (en) | ||
WO2017193748A1 (en) | Application program data processing method and device | |
WO2016206438A1 (en) | Touch screen control method and device and mobile terminal | |
TWI773194B (en) | Electronic devices and operation method | |
US9898143B2 (en) | Predicting touch events to improve touchscreen usage accuracy |