TWI467422B - Touch-controlled electronic apparatus and control method thereof - Google Patents
Touch-controlled electronic apparatus and control method thereof Download PDFInfo
- Publication number
- TWI467422B TWI467422B TW97144873A TW97144873A TWI467422B TW I467422 B TWI467422 B TW I467422B TW 97144873 A TW97144873 A TW 97144873A TW 97144873 A TW97144873 A TW 97144873A TW I467422 B TWI467422 B TW I467422B
- Authority
- TW
- Taiwan
- Prior art keywords
- touch
- electronic device
- area
- region
- sensitive electronic
- Prior art date
Links
Landscapes
- User Interface Of Digital Computer (AREA)
- Position Input By Displaying (AREA)
Description
本發明係有關於觸控式電子裝置及其相關控制方法,尤指一種於休眠模式下仍能夠使用部分觸控式螢幕(例如觸控式按鍵)來喚醒觸控式電子裝置之裝置與方法。The present invention relates to a touch-sensitive electronic device and related control method thereof, and more particularly to an apparatus and method for using a partial touch screen (for example, a touch-sensitive button) to wake up a touch-type electronic device in a sleep mode.
在現今各式消費性電子產品市場中,個人數位助理(PDA)、行動電話(mobile Phone)及PDA手機等可攜式電子產品皆已廣泛使用具有觸控式面板(touch panel)作為其資料溝通的界面工具。由於目前電子產品的設計皆以輕、薄、短、小為方向,因此在產品上無足夠空間容納如鍵盤、滑鼠等傳統輸入裝置,尤其在講求人性化設計的平板電腦需求的帶動下,搭配觸控式面板的顯示裝置已逐漸成為各式電子產品的關鍵零組件之一。In today's consumer electronics market, portable electronic products such as personal digital assistants (PDAs), mobile phones and PDA phones have been widely used with touch panels as their data communication. Interface tool. Since the design of electronic products is currently in the direction of light, thin, short and small, there is not enough space on the product to accommodate traditional input devices such as keyboards and mice, especially driven by the demand for tablet PCs with humanized design. Display devices with touch panels have gradually become one of the key components of various electronic products.
為了更節省成本,目前已有廠商利用觸控式按鍵(touch pad)來取代行動裝置上的一般按鍵(button),然而,卻因此產生了一些缺點:當行動裝置處於休眠模式(Sleep mode)的狀況下,其系統無法被喚醒(wake up),即使系統可以被喚醒,但系統必須不斷地監控是否有中斷(interrupt)被觸發,如此一來,需要消耗更多的功率,對於要求低功耗的行動裝置而言,十分不適合。In order to save costs, manufacturers have used touch pads to replace the general buttons on mobile devices. However, they have some disadvantages: when the mobile device is in sleep mode. In this case, the system cannot be woken up, even if the system can be woken up, the system must constantly monitor whether an interrupt is triggered, thus requiring more power to be consumed, requiring low power consumption. The mobile device is very unsuitable.
因此,本發明的目的之一在於提出一種觸控式電子裝置及其相關控制方法,以解決上述之問題。Therefore, one of the objects of the present invention is to provide a touch type electronic device and related control method thereof to solve the above problems.
本發明係揭露一種觸控式電子裝置,其包含一觸控式螢幕、一 運算與判斷模組以及一中央處理單元。該觸控式螢幕包含用來顯示影像之一第一區域以及用來根據一接觸而產生一輸出訊號之一第二區域。該運算與判斷模組係耦接於該觸控式螢幕之該第二區域,用來對該輸出訊號進行運算以產生一判斷結果,並根據該判斷結果觸發一中斷要求。該中央處理單元係包含一處理模組,該處理模組係耦接於該運算與判斷模組,用來接收該中斷要求。其中,當該觸控式電子裝置係處於一第一特定模式時,該第一區域係處於失能狀態(disabled state)且該第二區域係處於致能狀態(enabled state)。當該處理模組於該觸控式電子裝置處於該第一特定模式之下接收到該中斷要求時,該處理模組控制該觸控式電子裝置由該第一特定模式進入一第二特定模式。該第一特定模式係為休眠模式(sleep mode),且該第二特定模式係為正常運作模式(normal mode)。The invention discloses a touch type electronic device, which comprises a touch screen, a An arithmetic and judgment module and a central processing unit. The touch screen includes a first area for displaying an image and a second area for generating an output signal according to a contact. The operation and determination module is coupled to the second area of the touch screen for calculating the output signal to generate a determination result, and triggering an interrupt request according to the determination result. The central processing unit includes a processing module coupled to the computing and determining module for receiving the interrupt request. Wherein, when the touch-sensitive electronic device is in a first specific mode, the first region is in a disabled state and the second region is in an enabled state. When the processing module receives the interrupt request in the first specific mode, the processing module controls the touch control electronic device to enter a second specific mode from the first specific mode. . The first specific mode is a sleep mode, and the second specific mode is a normal mode.
於一實施例中,該觸控式電子裝置另包含一液晶顯示面板(LCD panel),其中該液晶顯示面板的面積等於該觸控式螢幕之該第一區域與該第二區域的面積總和。In one embodiment, the touch control electronic device further includes a liquid crystal display panel (LCD panel), wherein the area of the liquid crystal display panel is equal to the sum of the area of the first area and the second area of the touch screen.
於一實施例中,該觸控式電子裝置另包含一液晶顯示面板,其中該液晶顯示面板的面積等於該觸控式螢幕之該第一區域的面積。In one embodiment, the touch control electronic device further includes a liquid crystal display panel, wherein the area of the liquid crystal display panel is equal to the area of the first area of the touch screen.
本發明係揭露一種觸控式電子裝置,其包含一觸控式螢幕以及一中央處理單元。該觸控式螢幕包含一第一區域以及一第二區域,其中該第一區域係用來顯示影像,而該第二區域係根據一接觸而產生一輸出訊號。該中央處理單元包含一運算與判斷模組以 及一處理模組。該運算與判斷模組係耦接於該觸控式螢幕之該第二區域,用來對該輸出訊號進行運算以產生一判斷結果,並根據該判斷結果觸發一中斷要求。該處理模組係耦接於運算與判斷模組,用來接收該中斷要求。The present invention discloses a touch-sensitive electronic device including a touch screen and a central processing unit. The touch screen includes a first area for displaying an image and a second area for generating an output signal according to a contact. The central processing unit includes an operation and determination module And a processing module. The operation and determination module is coupled to the second area of the touch screen for calculating the output signal to generate a determination result, and triggering an interrupt request according to the determination result. The processing module is coupled to the computing and determining module for receiving the interrupt request.
本發明係揭露一種控制一觸控式電子裝置之方法。該觸控式電子裝置包含一觸控式螢幕,該觸控制螢幕具有用來顯示影像之一第一區域以及用來根據一接觸而產生一輸出訊號之一第二區域。該方法包含:當該第二區域產生該輸出訊號時,對該輸出訊號進行運算以產生一判斷結果;根據該判斷結果觸發一中斷要求;以及接收該中斷要求。The present invention discloses a method of controlling a touch electronic device. The touch control device includes a touch screen having a first area for displaying an image and a second area for generating an output signal according to a contact. The method includes: when the second area generates the output signal, calculating the output signal to generate a determination result; triggering an interrupt request according to the determination result; and receiving the interrupt request.
請參考第1圖,第1圖為本發明一觸控式電子裝置100之第一實施例的方塊圖。如第1圖所示,該觸控式電子裝置100包含(但不侷限於)一觸控式螢幕130、一運算與判斷模組140以及一中央處理單元180,其中該觸控式螢幕130係包含用來顯示影像之一第一區域110以及用來根據一接觸(touch)TUIN 而產生一輸出訊號SOUT 之一第二區域120。該運算與判斷模組140係耦接於該觸控式螢幕130之該第二區域120,用來對輸出訊號SOUT 進行運算以產生一判斷結果DR1,並根據判斷結果DR1觸發一中斷要求(interrupt)IR1。於本實施例中,該中央處理單元180包含一處理模組160以及一執行模組170。該處理模組160係耦接於該運算與判斷模組140,用來接收中斷要求IR1,而該執行模組170則耦接於該處理模組160,用來於該處理模組160接收到中斷要求IR1 時,執行該接觸TUIN 之位置相對應之一特定應用程式AP1。值得注意的是,當該觸控式電子裝置100處於一第一特定模式時,該觸控式螢幕130之該第一區域110係處於失能狀態(disabled state),而該第二區域120係處於致能狀態(enabled state);當該處理模組160於該觸控式電子裝置處100於該第一特定模式之下接收到中斷要求IR1時,會控制該觸控式電子裝置100由該第一特定模式進入一第二特定模式,其中該第一特定模式係為休眠模式(sleep mode),且該第二特定模式係為正常運作模式(normal mode)。Please refer to FIG. 1 . FIG. 1 is a block diagram of a touch control electronic device 100 according to a first embodiment of the present invention. As shown in FIG. 1 , the touch control device 100 includes, but is not limited to, a touch screen 130 , an operation and determination module 140 , and a central processing unit 180 , wherein the touch screen 130 is The first region 110 for displaying an image and the second region 120 for generating an output signal S OUT according to a touch TU IN are included. The operation and determination module 140 is coupled to the second area 120 of the touch screen 130 for calculating the output signal S OUT to generate a determination result DR1, and triggering an interrupt request according to the determination result DR1 ( Interrupt) IR1. In the embodiment, the central processing unit 180 includes a processing module 160 and an execution module 170. The processing module 160 is coupled to the operation and determination module 140 for receiving the interrupt request IR1, and the execution module 170 is coupled to the processing module 160 for receiving the processing module 160. When the interrupt request IR1, the position of the contact TU IN is executed corresponding to one of the specific application programs AP1. It should be noted that when the touch-sensitive electronic device 100 is in a first specific mode, the first region 110 of the touch screen 130 is in a disabled state, and the second region 120 is When the processing module 160 receives the interrupt request IR1 in the first specific mode, the touch control electronic device 100 controls the touch electronic device 100 to be controlled by the touch control device 100. The first specific mode enters a second specific mode, wherein the first specific mode is a sleep mode, and the second specific mode is a normal mode.
簡而言之,當該觸控式電子裝置100處於休眠模式之下,該觸控式螢幕130之該第一區域110(例如影像顯示區域)係無法作用,而該第二區域120(例如觸控式按鍵區域)則可以正常運作。此時使用者若接觸到該第二區域120的任一位置時,該第二區域120便會依據此接觸TUIN 而產生輸出訊號SOUT 給該運算與判斷模組140以進行運算,之後該運算與判斷模組140會根據運算後所產生的判斷結果DR1來觸發中斷要求IR1,當該處理模組160接收到中斷要求IR1後,便會控制該觸控式電子裝置100由休眠模式進入到正常運作模式(亦即喚醒觸控式電子裝置100),並透過該執行模組170來執行該接觸TUIN 之位置相對應之一特定應用程式AP1。關於該觸控式電子裝置100之各元件的電路架構與運作方式,將於下列的實施例中進一步詳加說明。In short, when the touch-sensitive electronic device 100 is in the sleep mode, the first area 110 (eg, image display area) of the touch screen 130 cannot function, and the second area 120 (eg, touch The control button area) can work normally. When the user touches any position of the second area 120, the second area 120 generates an output signal S OUT to the operation and judgment module 140 according to the contact TU IN , and then the operation is performed. The operation and determination module 140 triggers the interrupt request IR1 according to the judgment result DR1 generated after the operation. When the processing module 160 receives the interrupt request IR1, the touch control electronic device 100 is controlled to enter the sleep mode. The normal operation mode (ie, the wake-up electronic device 100 is awakened), and the specific application AP1 corresponding to the position of the contact TU IN is executed through the execution module 170. The circuit architecture and operation mode of each component of the touch-sensitive electronic device 100 will be further described in detail in the following embodiments.
請注意,上述之觸控式電子裝置100係為一手持觸控式電子裝置,例如一個人數位助理(PDA)或者一手機,但並不侷限於此, 亦可為其它種類之觸控式電子裝置。再者,該觸控式螢幕130係可為一電阻式觸控面板或者一電容式觸控面板,且可由四線式或五線式之電阻式觸控面板來實現之,熟知此項技藝者應可了解,此並非本發明之限制條件。此外,上述該觸控式螢幕130之該第一區域110係可作為一影像顯示區域,而該第二區域120係可作為一觸控式按鍵區域,且該第二區域120係位於該觸控式螢幕130之邊緣,如第2圖所示,然而熟知此項技藝者應可了解,這並非本發明之限制條件。Please note that the above-mentioned touch-sensitive electronic device 100 is a handheld touch-type electronic device, such as a PDA or a mobile phone, but is not limited thereto. Other types of touch electronic devices are also available. Furthermore, the touch screen 130 can be a resistive touch panel or a capacitive touch panel, and can be implemented by a four-wire or five-wire resistive touch panel, which is well known to those skilled in the art. It should be understood that this is not a limitation of the invention. In addition, the first area 110 of the touch screen 130 can be used as an image display area, and the second area 120 can be used as a touch button area, and the second area 120 is located in the touch. The edge of the screen 130 is shown in Fig. 2, but it will be understood by those skilled in the art that this is not a limitation of the invention.
請再注意,該處理模組160、該執行模組170以及該運算與判斷模組140係可由軟體及/或硬體來實現。於第一實施例中,該處理模組160以及該執行模組170係屬於軟體,且由該中央處理單元180執行程式碼所實現,舉例而言,該處理模組160係由該中央處理單元180執行程式碼PC1所實現,該執行模組170則係用來執行接觸TUIN 之位置相對應之特定應用程式AP1。另外,於本實施例中,該運算與判斷模組140係採用硬體來實作,其係設置於該中央處理單元180之外部,且該運算與判斷模組140係包含一比較器150。該比較器150係用來接收輸出訊號SOUT 與一臨界值TH1以對兩者進行比較,並於輸出訊號SOUT 係大於臨界值TH1時,觸發中斷要求IR1。Please note that the processing module 160, the execution module 170, and the operation and determination module 140 can be implemented by software and/or hardware. In the first embodiment, the processing module 160 and the execution module 170 are software and implemented by the central processing unit 180. For example, the processing module 160 is configured by the central processing unit. The implementation code 170 is implemented by the implementation module 170, and the execution module 170 is used to execute the specific application AP1 corresponding to the location of the contact TU IN . In addition, in the embodiment, the operation and determination module 140 is implemented by using a hardware, and is disposed outside the central processing unit 180, and the operation and determination module 140 includes a comparator 150. The comparator 150 is configured to receive the output signal S OUT and a threshold TH1 for comparing the two, and trigger the interrupt request IR1 when the output signal S OUT is greater than the threshold TH1.
當然,以上所述之實施例僅用來作為本發明的範例說明,並非本發明的限制條件,熟知此項技藝者應可了解,在不違背本發明之精神下,以其他方式或是其他元件來實現該處理模組160、該執行模組170以及該運算與判斷模組140皆屬於本發明之範疇。The embodiments described above are only intended to be illustrative of the invention, and are not intended to be limiting of the invention, and those skilled in the art should understand that other embodiments or other elements are possible without departing from the spirit of the invention. The processing module 160, the execution module 170, and the operation and determination module 140 are all within the scope of the present invention.
請參考第2圖,第2圖為第1圖所示之該觸控式螢幕130之外觀示意圖。如第2圖所示,該觸控式螢幕130包含該第一區域110以及該第二區域120,其中該第一區域110係設置於該觸控式螢幕130之中間部分,用來顯示影像,而該第二區域120則係設置於該觸控式螢幕130之邊緣,僅作為觸控式按鍵(touch pad)。舉例而言,該第二區域120上具有複數個網膜印刷之按鍵圖樣(pattern)210~260,以作為觸控式按鍵,且該複數個觸控式按鍵係為可透光或不透光,然而熟知此項技藝者應可了解,此並非本發明之限制條件。此外,每一按鍵圖樣係可代表不同之特定應用程式,例如,當使用者按壓按鍵圖樣210時,該執行模組170可執行調整音量之動作;當使用者按壓按鍵圖樣250時,執行模組170可執行播放音樂之動作。Please refer to FIG. 2 , which is a schematic diagram of the appearance of the touch screen 130 shown in FIG. 1 . As shown in FIG. 2 , the touch screen 130 includes the first area 110 and the second area 120 , wherein the first area 110 is disposed in a middle portion of the touch screen 130 for displaying images. The second area 120 is disposed on the edge of the touch screen 130 and functions only as a touch pad. For example, the second area 120 has a plurality of button-printing patterns 210-260 for use as a touch-sensitive button, and the plurality of touch-type buttons are permeable or opaque. However, it should be understood by those skilled in the art that this is not a limitation of the invention. In addition, each button pattern can represent a different specific application. For example, when the user presses the button pattern 210, the execution module 170 can perform an action of adjusting the volume; when the user presses the button pattern 250, the execution module 170 can perform the action of playing music.
請注意,該觸控式電子裝置100另包含一液晶顯示面板(未顯示於第2圖中),設置於該觸控式螢幕130之下。於第一種配置下,該液晶顯示面板的面積等於該觸控式螢幕130之該第一區域110與該第二區域120的面積總和,則該液晶顯示面板之背光模組係用以提供該第一區域110與該第二區域120所需之光源。於第二種情況下,該液晶顯示面板的面積僅等於該觸控式螢幕130之該第一區域110的面積,則該液晶顯示面板之背光模組僅用以提供該第一區域110所需之光源,該第二區域120所需之光源則需要另外設置一發光元件(例如發光二極體(LED))來提供之。換言之,該液晶顯示面板的面積係可等於該觸控式螢幕130之該第一區域110與該第二區域120的面積總和,或者可等於該觸控式螢 幕130之該第一區域110的面積,上述兩者皆應屬於本發明所涵蓋之範疇。Please note that the touch-sensitive electronic device 100 further includes a liquid crystal display panel (not shown in FIG. 2 ) disposed under the touch screen 130 . In the first configuration, the area of the liquid crystal display panel is equal to the sum of the area of the first area 110 and the second area 120 of the touch screen 130, and the backlight module of the liquid crystal display panel is used to provide the The light source required for the first region 110 and the second region 120. In the second case, the area of the liquid crystal display panel is only equal to the area of the first area 110 of the touch screen 130. The backlight module of the liquid crystal display panel is only used to provide the first area 110. The light source required for the second region 120 needs to be additionally provided with a light-emitting element (such as a light-emitting diode (LED)). In other words, the area of the liquid crystal display panel may be equal to the sum of the areas of the first area 110 and the second area 120 of the touch screen 130, or may be equal to the touch type The area of the first region 110 of the curtain 130, both of which are within the scope of the present invention.
於上述的實施例中,該第一區域110係設置於該觸控式螢幕130之中間部分,而該第二區域120則係設置於該觸控式螢幕130之邊緣,但並不侷限於此。熟知此項技藝者應可了解,在不違背本發明之精神下,該第二區域120的擺放位置之各種變化皆是可行的。舉例而言,該第二區域120可設置於第2圖所示之虛線AA’的左側、虛線BB’的右側、虛線CC’的上方或者虛線DD’的下方之其中之一個或者複數個位置。In the above embodiment, the first area 110 is disposed at an intermediate portion of the touch screen 130, and the second area 120 is disposed at an edge of the touch screen 130, but is not limited thereto. . It will be appreciated by those skilled in the art that various changes in the placement of the second region 120 are possible without departing from the spirit of the invention. For example, the second region 120 may be disposed on one of the left side of the broken line AA' shown in FIG. 2, the right side of the broken line BB', the upper side of the broken line CC', or one of the lower positions of the broken line DD'.
於一實施例中,若是採用四線式或五線式的電阻式觸控面板來實現該觸控式螢幕130,並採用比較器150來實踐該運算與判斷模組140,則可利用一個(或者複數個)比較器150將輸出訊號SOUT 與一個或者複數個臨界值TH1進行比較,此輸出訊號SOUT 係可代表接觸TUIN 的座標電壓,如此一來,當輸出訊號SOUT 係大於臨界值TH1時,則判斷接觸TUIN 係位於該第二區域120中並送出中斷要求IR1;當輸出訊號SOUT 係小於臨界值TH1時,則判斷接觸TUIN 並非位於該第二區域120中。當然,臨界值TH1的數值以及個數並非固定的,其係可視實際需求而做調整。In an embodiment, if the touch screen 130 is implemented by using a four-wire or five-wire resistive touch panel, and the comparator 150 is used to implement the operation and judgment module 140, one ( Or a plurality of comparators 150 compare the output signal S OUT with one or a plurality of threshold values TH1, the output signal S OUT representing the coordinate voltage of the contact TU IN , such that when the output signal S OUT is greater than the critical value When the value TH1 is determined, it is determined that the contact TU IN is located in the second region 120 and the interrupt request IR1 is sent; when the output signal S OUT is less than the threshold TH1, it is determined that the contact TU IN is not located in the second region 120. Of course, the value and number of the threshold TH1 are not fixed, and they can be adjusted according to actual needs.
請參考第3圖,第3圖為本發明一觸控式電子裝置300之第二實施例的方塊圖。第二實施例中所述之元件與第一實施例中所述之元件編號相同者,表示其具有相同之功能或相對位置。第3圖之該觸控式電子裝置300之架構與第1圖之該觸控式電子裝置100類似,兩者不同之處在於第二實施例中的一運算與判斷模組340 係採用軟體來實作,且該處理模組160、該執行模組170以及該運算與判斷模組340皆是由同一中央處理單元380執行程式碼所實現,舉例而言,該運算與判斷模組340係由該中央處理單元380執行程式碼PC2所實現,以此類推。於此實施例中,該運算與判斷模組340必須先喚醒該中央處理單元380,才能透過該中央處理單元380執行程式碼PC2來計算輸出訊號SOUT 以算出該接觸TUIN 之位置,且於該運算與判斷模組340計算出接觸TUIN 之位置係位於該第二區域120中時,會發出中斷要求IR1給該中央處理單元380之該處理模組160。與第一實施例中的該觸控式電子裝置100相較,由於該觸控式電子裝置300不需要採用實際的硬體(比較器150)來實踐運算與判斷模組,可以更節省成本,但該中央處理單元380的速度較慢且較耗電。Please refer to FIG. 3 , which is a block diagram of a second embodiment of a touch control electronic device 300 according to the present invention. The elements described in the second embodiment are the same as those described in the first embodiment, indicating that they have the same function or relative position. The structure of the touch-sensitive electronic device 300 of FIG. 3 is similar to that of the touch-type electronic device 100 of FIG. 1 . The difference between the two is that the computing and determining module 340 in the second embodiment uses software. The operation module 160, the execution module 170, and the operation and determination module 340 are all implemented by the same central processing unit 380. For example, the operation and determination module 340 is implemented by The central processing unit 380 executes the code PC2, and so on. In this embodiment, the operation and determination module 340 must first wake up the central processing unit 380 to execute the program code PC2 through the central processing unit 380 to calculate the output signal S OUT to calculate the position of the contact TU IN , and When the operation and determination module 340 calculates that the position of the contact TU IN is in the second area 120, the interrupt request IR1 is sent to the processing module 160 of the central processing unit 380. Compared with the touch-type electronic device 100 in the first embodiment, since the touch-type electronic device 300 does not need to use an actual hardware (the comparator 150) to practice the operation and judgment module, the cost can be further reduced. However, the central processing unit 380 is slower and more power hungry.
請參考第4圖,第4圖為本發明一觸控式電子裝置400之第三實施例的方塊圖。第三實施例中所述之元件與第一實施例中所述之元件編號相同者,表示其具有相同之功能或相對位置。第4圖之該觸控式電子裝置400之架構與第1圖之該觸控式電子裝置100類似,兩者不同之處在於第三實施例中一運算與判斷模組440係採用一微處理單元442來實現之,而非第1圖所示之該比較器150,且該運算與判斷模組440係由該微處理單元442執行程式碼PC3所實現。與第二實施例中的該觸控式電子裝置300相較,由於該觸控式電子裝置400係透過額外的該微處理單元442來處理該運算與判斷模組440的運算,無須喚醒該中央處理單元180即可自行處理,如此一來可避免該中央處理單元180的速度被拖累 以及降低功耗。另外,若是有很多位置皆須使用到比較器,則第一實施例中的該觸控式電子裝置100勢必得設置很多個比較器,於成本的考量上並不經濟,若能使用一個微處理單元來取代複數個比較器,也可以有效控制成本。Please refer to FIG. 4 , which is a block diagram of a third embodiment of a touch control electronic device 400 according to the present invention. The elements described in the third embodiment are the same as those described in the first embodiment, indicating that they have the same function or relative position. The structure of the touch-sensitive electronic device 400 of FIG. 4 is similar to that of the touch-sensitive electronic device 100 of FIG. 1 . The difference between the two is that the computing and determining module 440 in the third embodiment adopts a micro processing. The unit 442 is implemented instead of the comparator 150 shown in FIG. 1, and the operation and determination module 440 is implemented by the micro processing unit 442 executing the code PC3. Compared with the touch control electronic device 300 in the second embodiment, since the touch control electronic device 400 processes the operation of the operation and determination module 440 through the additional micro processing unit 442, it is not necessary to wake up the central unit. The processing unit 180 can process it by itself, so as to avoid the speed of the central processing unit 180 being dragged down. And reduce power consumption. In addition, if the comparator is used in many locations, the touch-type electronic device 100 in the first embodiment is bound to have a plurality of comparators, which is not economical in terms of cost, if a micro-processing can be used. Instead of a plurality of comparators, the unit can also effectively control costs.
請參考第5圖,第5圖為本發明控制一觸控式電子裝置之方法之第一操作範例的流程圖,其包含以下的步驟(請注意,假若可得到大致相同的結果,則下列步驟並非限定要依據第5圖所示之順序來執行):步驟502:流程開始。Please refer to FIG. 5. FIG. 5 is a flow chart showing a first operation example of the method for controlling a touch electronic device according to the present invention, which includes the following steps (note that if substantially the same result is obtained, the following steps are performed. It is not limited to be performed in the order shown in FIG. 5): Step 502: The process starts.
步驟504:提供一觸控式電子裝置,其包含一觸控式螢幕,該觸控制螢幕具有用來顯示影像之一第一區域以及用來根據一接觸而產生一輸出訊號之一第二區域。Step 504: Providing a touch-sensitive electronic device, comprising a touch screen, the touch control screen having a first area for displaying an image and a second area for generating an output signal according to a contact.
步驟506:該觸控式電子裝置係處於一第一特定模式,其中該第一區域係處於失能狀態且該第二區域係處於致能狀態。Step 506: The touch-sensitive electronic device is in a first specific mode, wherein the first region is in a disabled state and the second region is in an enabled state.
步驟508:當該第二區域產生該輸出訊號時,將該輸出訊號與一臨界值進行比較以產生一判斷結果。當該輸出訊號係大於該臨界值時,執行步驟510;否則,回到步驟506。Step 508: When the second area generates the output signal, compare the output signal with a threshold to generate a determination result. When the output signal is greater than the threshold, step 510 is performed; otherwise, step 506 is returned.
步驟510:觸發一中斷要求。Step 510: Trigger an interrupt request.
步驟512:判斷該接觸是否為誤觸。若該接觸並非為誤觸,則執行步驟514;否則,回到步驟506。Step 512: Determine whether the contact is a false touch. If the contact is not a false touch, step 514 is performed; otherwise, return to step 506.
步驟514:接收該中斷要求。Step 514: Receive the interrupt request.
步驟516:控制該觸控式電子裝置由該第一特定模式進入一第二特定模式。Step 516: Control the touch electronic device to enter a second specific mode by the first specific mode.
步驟518:執行該接觸之位置相對應之一特定應用程式。Step 518: Performing the location of the contact corresponds to one of the specific applications.
關於第5圖所示之各步驟請搭配第1圖(或第4圖)與第2圖所示之各元件,即可了解各元件之間如何運作,而為了說明書內容簡潔起見,故第5圖中各步驟的操作便不再贅述。請注意,上述流程之步驟僅為本發明所舉可行的實施例,並非限制本發明的限制條件,且在不違背本發明之精神的情況下,此方法可另包含其它的中間步驟或者可將幾個步驟合併成單一步驟,以做適當之變化。舉例而言,步驟512係可省略。值得注意的是,於第一個實施例中,該觸控式電子裝置100係採用該運算與判斷模組140中的該比較器150來實踐步驟508的比較功能;而於第三個實施例中,該觸控式電子裝置400則採用該運算與判斷模組440中的該微處理單元442執行程式碼PC3來實現步驟508的比較功能。For each step shown in Figure 5, please use the components shown in Figure 1 (or Figure 4) and Figure 2 to understand how each component works. For the sake of brevity of the description, The operation of each step in the figure will not be described again. It should be noted that the above steps of the present invention are only the embodiments of the present invention, and are not intended to limit the present invention, and the method may further include other intermediate steps or may be included without departing from the spirit of the present invention. Several steps are combined into a single step to make the appropriate changes. For example, step 512 can be omitted. It should be noted that, in the first embodiment, the touch control electronic device 100 uses the comparator 150 in the operation and determination module 140 to perform the comparison function of step 508; and in the third embodiment The touch-type electronic device 400 uses the micro-processing unit 442 in the operation and determination module 440 to execute the program code PC3 to implement the comparison function of step 508.
請參考第6圖,第6圖為本發明控制一觸控式電子裝置之方法之第二操作範例的流程圖,其包含以下的步驟:步驟502:流程開始。Please refer to FIG. 6. FIG. 6 is a flow chart showing a second operation example of the method for controlling a touch electronic device according to the present invention, which includes the following steps: Step 502: The process starts.
步驟504:提供一觸控式電子裝置,其包含一觸控式螢幕,該觸控制螢幕具有用來顯示影像之一第一區域以及用來根據一接觸而產生一輸出訊號之一第二區域。Step 504: Providing a touch-sensitive electronic device, comprising a touch screen, the touch control screen having a first area for displaying an image and a second area for generating an output signal according to a contact.
步驟506:該觸控式電子裝置係處於一第一特定模式,其中該第一區域係處於失能狀態且該第二區域係處於致能狀態。Step 506: The touch-sensitive electronic device is in a first specific mode, wherein the first region is in a disabled state and the second region is in an enabled state.
步驟610:當該第二區域產生該輸出訊號時,計算該輸出訊號以算出該接觸之位置。Step 610: When the second area generates the output signal, calculate the output signal to calculate the position of the contact.
步驟620:判斷該接觸之位置是否位於該第二區域中。當該接觸之 位置係位於該第二區域中時,執行步驟510;否則,回到步驟506。Step 620: Determine whether the location of the contact is located in the second area. When the contact When the location is in the second region, step 510 is performed; otherwise, step 506 is returned.
步驟510:觸發一中斷要求。Step 510: Trigger an interrupt request.
步驟512:判斷該接觸是否為誤觸。若該接觸並非為誤觸,則執行步驟514;否則,回到步驟506。Step 512: Determine whether the contact is a false touch. If the contact is not a false touch, step 514 is performed; otherwise, return to step 506.
步驟514:接收該中斷要求。Step 514: Receive the interrupt request.
步驟516:控制該觸控式電子裝置由該第一特定模式進入一第二特定模式。Step 516: Control the touch electronic device to enter a second specific mode by the first specific mode.
步驟518:執行該接觸之位置相對應之一特定應用程式。Step 518: Performing the location of the contact corresponds to one of the specific applications.
關於第6圖所示之各步驟請搭配第3圖與第2圖所示之各元件,即可了解各元件之間如何運作,而為了說明書內容簡潔起見,故第6圖中各步驟的操作便不再贅述。值得注意的是,第6圖的步驟與第5圖的步驟類似,其係為第5圖的變化實施例,兩者不同之處在於以第6圖中的步驟610、620來取代第5圖中的步驟508。第6圖中的步驟610、620係採用第3圖中的該運算與判斷模組340來實作,其係由該中央處理單元380執行程式碼PC2所實現;而第5圖的步驟508則是採用第1圖中之該運算與判斷模組140的該比較器150或者第4圖中之該運算與判斷模組440的該微處理單元442來實現,兩者不同。For each step shown in Figure 6, please match the components shown in Figures 3 and 2 to understand how each component works. For the sake of brevity of the description, the steps in Figure 6 are The operation will not be described again. It should be noted that the steps of FIG. 6 are similar to the steps of FIG. 5, which is a modified embodiment of FIG. 5, and the difference is that the fifth figure is replaced by steps 610 and 620 in FIG. Step 508 in . Steps 610 and 620 in FIG. 6 are implemented by the operation and determination module 340 in FIG. 3, which is implemented by the central processing unit 380 executing the code PC2; and the step 508 of FIG. 5 is performed. This is implemented by the comparator 150 of the operation and determination module 140 in FIG. 1 or the micro-processing unit 442 of the operation and determination module 440 in FIG. 4, which is different.
以上所述的實施例僅用來說明本發明之技術特徵,並非用來侷限本發明之範疇。由上可知,本發明提供一種觸控式電子裝置及其相關控制方法。透過定義部分區域之觸控式螢幕來作為觸控式按鍵,以讓使用者在休眠模式下仍可以透過此部分區域的觸控式 按鍵來喚醒該觸控式電子裝置。如此一來,不但可以減少按鍵還可以節省成本。再者,由於本發明所揭露之觸控式電子裝置在休眠模式下仍可以自動被喚醒,可以進一步節省功率的消耗,達到省電的目的。此外,可透過軟體及/或硬體來實現觸發中斷要求(亦即該處理模組160以及該運算與判斷模組140),兩者皆具有製作簡單以及使用方便的優點,十分適合應用在像是手機、個人數位助理等手持觸控式電子裝置上。The embodiments described above are only intended to illustrate the technical features of the present invention and are not intended to limit the scope of the present invention. As can be seen from the above, the present invention provides a touch electronic device and related control method. By using a touch screen that defines a part of the area as a touch button, the user can still touch the touch area in the sleep mode. Press the button to wake up the touch electronic device. In this way, not only can the button be reduced, but also the cost can be saved. Furthermore, since the touch-sensitive electronic device disclosed in the present invention can be automatically woken up in the sleep mode, power consumption can be further saved to achieve power saving. In addition, the trigger interrupt requirement (that is, the processing module 160 and the operation and determination module 140) can be implemented through software and/or hardware, both of which have the advantages of simple fabrication and convenient use, and are very suitable for application in the image. It is a handheld touch-sensitive electronic device such as a mobile phone or a personal digital assistant.
以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。The above are only the preferred embodiments of the present invention, and all changes and modifications made to the scope of the present invention should be within the scope of the present invention.
100、300、400‧‧‧觸控式電子裝置100, 300, 400‧‧‧ touch electronic devices
130‧‧‧觸控式螢幕130‧‧‧Touch screen
110‧‧‧第一區域110‧‧‧First area
120‧‧‧第二區域120‧‧‧Second area
140、340、440‧‧‧運算與判斷模組140, 340, 440‧‧‧ Calculation and Judgment Module
150‧‧‧比較器150‧‧‧ comparator
160‧‧‧處理模組160‧‧‧Processing module
170‧‧‧執行模組170‧‧‧Execution module
180、380‧‧‧中央處理單元180, 380‧‧‧ central processing unit
TUIN ‧‧‧接觸TU IN ‧‧‧Contact
SOUT ‧‧‧輸出訊號S OUT ‧‧‧ output signal
TH1‧‧‧臨界值TH1‧‧‧ threshold
DR1‧‧‧判斷結果DR1‧‧‧ judgment result
IR1‧‧‧中斷要求IR1‧‧‧ interrupt request
PC1、PC2、PC3‧‧‧程式碼PC1, PC2, PC3‧‧‧ code
AP1‧‧‧特定應用程式AP1‧‧‧ specific application
210~260‧‧‧按鍵圖樣210~260‧‧‧ button pattern
AA’、BB’、CC’、DD’‧‧‧虛線AA’, BB’, CC’, DD’‧‧‧ dotted lines
442‧‧‧微處理單元442‧‧‧Microprocessing unit
502~518、610、620‧‧‧步驟502~518, 610, 620‧ ‧ steps
第1圖為本發明一觸控式電子裝置之第一實施例的方塊圖。1 is a block diagram of a first embodiment of a touch electronic device of the present invention.
第2圖為第1圖所示之觸控式螢幕之外觀示意圖。Fig. 2 is a schematic view showing the appearance of the touch screen shown in Fig. 1.
第3圖為本發明一觸控式電子裝置之第二實施例的方塊圖。3 is a block diagram of a second embodiment of a touch electronic device of the present invention.
第4圖為本發明一觸控式電子裝置之第三實施例的方塊圖。4 is a block diagram of a third embodiment of a touch electronic device of the present invention.
第5圖為本發明控制一觸控式電子裝置之方法之第一操作範例的流程圖。FIG. 5 is a flow chart showing a first operation example of a method for controlling a touch electronic device according to the present invention.
第6圖為本發明控制一觸控式電子裝置之方法之第二操作範例的流程圖。FIG. 6 is a flow chart showing a second operation example of the method for controlling a touch electronic device according to the present invention.
100‧‧‧觸控式電子裝置100‧‧‧Touch electronic device
130‧‧‧觸控式螢幕130‧‧‧Touch screen
110‧‧‧第一區域110‧‧‧First area
120‧‧‧第二區域120‧‧‧Second area
140‧‧‧運算與判斷模組140‧‧‧Operation and judgment module
150‧‧‧比較器150‧‧‧ comparator
160‧‧‧處理模組160‧‧‧Processing module
170‧‧‧執行模組170‧‧‧Execution module
180‧‧‧中央處理單元180‧‧‧Central Processing Unit
TUIN ‧‧‧接觸TU IN ‧‧‧Contact
SOUT ‧‧‧輸出訊號S OUT ‧‧‧ output signal
TH1‧‧‧臨界值TH1‧‧‧ threshold
DR1‧‧‧判斷結果DR1‧‧‧ judgment result
IR1‧‧‧中斷要求IR1‧‧‧ interrupt request
PC1‧‧‧程式碼PC1‧‧‧ code
AP1‧‧‧特定應用程式AP1‧‧‧ specific application
Claims (27)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW97144873A TWI467422B (en) | 2008-11-20 | 2008-11-20 | Touch-controlled electronic apparatus and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW97144873A TWI467422B (en) | 2008-11-20 | 2008-11-20 | Touch-controlled electronic apparatus and control method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201020872A TW201020872A (en) | 2010-06-01 |
TWI467422B true TWI467422B (en) | 2015-01-01 |
Family
ID=44832420
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW97144873A TWI467422B (en) | 2008-11-20 | 2008-11-20 | Touch-controlled electronic apparatus and control method thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI467422B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102010014796A1 (en) * | 2010-02-03 | 2011-08-04 | Emerging Display Technologies Corp. | Screen unit with a touch screen |
US8674959B2 (en) * | 2010-06-28 | 2014-03-18 | Intel Corporation | Dynamic bezel for a mobile device |
CN103150050B (en) * | 2013-02-04 | 2016-09-28 | 中兴通讯股份有限公司 | Touch screen terminal and method of work thereof |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6504530B1 (en) * | 1999-09-07 | 2003-01-07 | Elo Touchsystems, Inc. | Touch confirming touchscreen utilizing plural touch sensors |
US20080218486A1 (en) * | 2007-03-09 | 2008-09-11 | Todd Haseyama | Contextual Touch Panel |
TW200837609A (en) * | 2007-01-22 | 2008-09-16 | Lg Electronics Inc | Mobile communication device and method of controlling operation of the mobile communication device |
-
2008
- 2008-11-20 TW TW97144873A patent/TWI467422B/en active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6504530B1 (en) * | 1999-09-07 | 2003-01-07 | Elo Touchsystems, Inc. | Touch confirming touchscreen utilizing plural touch sensors |
TW200837609A (en) * | 2007-01-22 | 2008-09-16 | Lg Electronics Inc | Mobile communication device and method of controlling operation of the mobile communication device |
US20080218486A1 (en) * | 2007-03-09 | 2008-09-11 | Todd Haseyama | Contextual Touch Panel |
Also Published As
Publication number | Publication date |
---|---|
TW201020872A (en) | 2010-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI463361B (en) | Control method and system by partial touch panel | |
US9733822B2 (en) | Electronic device and state controlling method | |
CN107908353B (en) | Electronic system, touch control processing device and method thereof | |
CN107066158B (en) | Touch-sensitive button with two gears | |
TWI608407B (en) | Touch device and control method thereof | |
JP5555200B2 (en) | Method for waking up an electronic device having a touch panel and electronic device | |
US20100265209A1 (en) | Power reduction for touch screens | |
JP2014501990A (en) | Touch signal processing method and apparatus in touch sensor controller | |
TW201344552A (en) | Mobile device and gesture determination method | |
JP6643276B2 (en) | Image forming apparatus, image forming apparatus control method, and program | |
US8769326B2 (en) | Computer system and operation method for changing operation state by capacitive button group | |
TWI604346B (en) | Touch-screen input/output device techniques | |
TWI399672B (en) | Method for controlling touch screen apparatus | |
TWI460623B (en) | Touch-controlled electronic apparatus and related control method | |
KR101833281B1 (en) | Method and apparatus preventing malfunction of touchpad in electronic device | |
TWI467422B (en) | Touch-controlled electronic apparatus and control method thereof | |
JP5280989B2 (en) | Mobile terminal and control program | |
JP2014176019A (en) | Portable information processing device, input method for the same, and computer-executable program | |
CN104714643B (en) | A kind of method, system and mobile terminal that simulated touch screen is realized using sensor | |
TWI641987B (en) | Electronic devices and methods for generating display image | |
TWM615933U (en) | Fingerprint sensing device | |
TWI442280B (en) | Power saving method and touch display apparatus | |
CN103729133A (en) | Touch display method and electronic device using same | |
CN101751205A (en) | Power management method for electronic device and related device thereof | |
CN104615377A (en) | Information processing method and electronic equipment |