TWI408582B - Control method and electronic device - Google Patents

Control method and electronic device Download PDF

Info

Publication number
TWI408582B
TWI408582B TW98139879A TW98139879A TWI408582B TW I408582 B TWI408582 B TW I408582B TW 98139879 A TW98139879 A TW 98139879A TW 98139879 A TW98139879 A TW 98139879A TW I408582 B TWI408582 B TW I408582B
Authority
TW
Taiwan
Prior art keywords
touch panel
angle
line
information
length
Prior art date
Application number
TW98139879A
Other languages
Chinese (zh)
Other versions
TW201118672A (en
Inventor
yu ting Wu
Original Assignee
Giga Byte Tech Co Ltd
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 Giga Byte Tech Co Ltd filed Critical Giga Byte Tech Co Ltd
Priority to TW98139879A priority Critical patent/TWI408582B/en
Publication of TW201118672A publication Critical patent/TW201118672A/en
Application granted granted Critical
Publication of TWI408582B publication Critical patent/TWI408582B/en

Links

Landscapes

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

Abstract

A control method for an electronic device comprising a touch panel is disclosed. It is determined whether an object presses any position on the surface of the touch panel, then slides on the surface of the touch panel from the pressed position, and then leaves the surface of the touch panel. The image displayed on the touch panel is controlled according to the angle of the sliding action.

Description

控制方法及電子裝置Control method and electronic device

本發明係有關於一種控制方法,特別是有關於一種應用於具有觸控面板的電子裝置的控制方法。The present invention relates to a control method, and more particularly to a control method applied to an electronic device having a touch panel.

傳統個人電腦或電子裝置的輸入介面無法達到快速傳輸資訊的目的,其原因在於,上述的輸入介面並非以人類直覺的發聲或手寫方式進行輸入,而是必須使用鍵盤或滑鼠來達成人與電子裝置之間的溝通。The input interface of a traditional personal computer or electronic device cannot achieve the purpose of quickly transmitting information. The reason is that the above input interface is not input by human intuition or handwriting, but must use a keyboard or a mouse to achieve human and electronic. Communication between devices.

隨著科技的進步,利用非鍵盤、非滑鼠的輸入方式,逐漸取代原本的輸入方式。而非鍵盤、非滑鼠式的輸入方法,目前發展最成熟的技術就是觸控面板(touch panel)的使用。With the advancement of technology, the input method of non-keyboard and non-mouse is gradually replaced by the original input method. Instead of keyboard and non-mouse input methods, the most mature technology currently developed is the use of touch panels.

本發明提供一種控制方法,適用於一電子裝置。該電子裝置具有一觸控面板。首先,判斷一物體是否按下觸控面板的任一處並滑動後放開。物體一開始觸碰到觸控面板的位置係為一起始點。物體最後觸碰到觸控面板的位置係為一結束點。當物體按下觸控面板的任一處並滑動後放開,求得起始點及結束點的資訊。由起始點開始,往水平方向延伸後,可得到一第一直線。一第二直線連接於起始點及結束點之間。根據起始點及結束點的資訊,求得第一及第二直線之間的一角度。根據該角度,控制觸控面板所呈現的畫面。The invention provides a control method suitable for an electronic device. The electronic device has a touch panel. First, determine whether an object is pressed anywhere on the touch panel and slide it to release it. The position at which the object first touches the touch panel is a starting point. The position at which the object finally touches the touch panel is an end point. When the object is pressed anywhere on the touch panel and slides and released, the information of the start point and the end point is obtained. Starting from the starting point and extending in the horizontal direction, a first straight line is obtained. A second line is connected between the start point and the end point. According to the information of the starting point and the ending point, an angle between the first line and the second line is obtained. According to the angle, the screen presented by the touch panel is controlled.

本發明另提供一種電子裝置,包括一觸控面板以及一處理單元。當一物體按下觸控面板的任一處並滑動後放開,觸控面板輸出一第一資訊以及一第二資訊。物體一開始觸碰到觸控面板的位置係為一起始點。物體最後觸碰到觸控面板的位置係為一結束點。第一資訊係為起始點的資訊,第二資訊係為結束點的資訊。The invention further provides an electronic device comprising a touch panel and a processing unit. When an object is pressed anywhere on the touch panel and slid and released, the touch panel outputs a first information and a second information. The position at which the object first touches the touch panel is a starting point. The position at which the object finally touches the touch panel is an end point. The first information is the information of the starting point, and the second information is the information of the ending point.

由起始點開始,往水平方向延伸後,可得到一第一直線。一第二直線連接於起始點及結束點之間。處理單元根據第一及第二資訊,求得第一及第二直線之間的一角度,並根據角度,控制觸控面板所呈現的畫面。Starting from the starting point and extending in the horizontal direction, a first straight line is obtained. A second line is connected between the start point and the end point. The processing unit determines an angle between the first and second straight lines according to the first and second information, and controls the image presented by the touch panel according to the angle.

為讓本發明之特徵和優點能更明顯易懂,下文特舉出較佳實施例,並配合所附圖式,作詳細說明如下:In order to make the features and advantages of the present invention more comprehensible, the preferred embodiments are described below, and are described in detail with reference to the accompanying drawings.

第1圖為本發明之控制方法之一可能實施例。本發明之控制方法適用於具有觸控面板的電子裝置。在一可能實施例中,電子裝置為可攜式電子裝置,如手機、個人數位助理(PDA),但並非用以限制本發明。本發明並不限定電子裝置的種類。在其它可能實施例中,電子裝置可為桌上型電腦。Figure 1 is a possible embodiment of a control method of the present invention. The control method of the present invention is applicable to an electronic device having a touch panel. In a possible embodiment, the electronic device is a portable electronic device, such as a mobile phone, a personal digital assistant (PDA), but is not intended to limit the present invention. The invention does not limit the type of electronic device. In other possible embodiments, the electronic device can be a desktop computer.

首先,令電子裝置的觸控面板呈現畫面(步驟S110)。本發明並不限定觸控面板所呈現的畫面。在一可能實施例中,觸控面板所呈現的畫面具許多選項,以供使用者點選。另外,除了上述畫面外,觸控面板更可呈現其它畫面,每一畫面亦可具有許多選項。First, the touch panel of the electronic device is presented with a screen (step S110). The invention does not limit the picture presented by the touch panel. In a possible embodiment, the screen presented by the touch panel has many options for the user to click. In addition, in addition to the above screens, the touch panel can present other screens, and each screen can also have many options.

第2圖為觸控面板可能呈現的畫面配置示意圖。假設,觸控面板可呈現畫面210~290,但並非用以限制本發明。本發明並不限定畫面的數量以及排列方式。在其它實施例中,觸控面板所呈現的畫面數量大於2,但並非同時呈現。在本實施例中,觸控面板每次僅能呈現單一畫面。Figure 2 is a schematic diagram of the screen configuration that the touch panel may present. It is assumed that the touch panel can present the pictures 210-290, but is not intended to limit the present invention. The invention does not limit the number and arrangement of the pictures. In other embodiments, the number of pictures presented by the touch panel is greater than two, but not simultaneously. In this embodiment, the touch panel can only present a single picture at a time.

當觸控面板呈現畫面250時,使用者便可選擇畫面250所呈現的選項(如電話薄或簡訊)。若畫面250沒有使用者所需的選項時,使用者可按住畫面250的任一處並滑動後放開。根據使用者的滑動方向,觸控面板呈現另一相對畫面。本發明並不限定滑動的方向。在第2圖中,使用者可往8個方向移動。When the touch panel presents the screen 250, the user can select an option (such as a phone book or a text message) presented by the screen 250. If the screen 250 does not have the option desired by the user, the user can press and hold anywhere on the screen 250 and slide it to release it. The touch panel presents another relative picture according to the sliding direction of the user. The invention does not limit the direction of sliding. In Figure 2, the user can move in eight directions.

舉例而言,當觸控面板呈現畫面250時,若使用者按住畫面250的任一處,並往右下方移動時,則觸控面板改呈現畫面210。同樣地,若使用者按住畫面250的任一處,並往左下方移動時,則觸控面板改呈現畫面230。For example, when the touch panel presents the screen 250, if the user presses and holds any of the screens 250 and moves to the lower right, the touch panel changes to the screen 210. Similarly, if the user presses and holds anywhere on the screen 250 and moves to the lower left, the touch panel changes to the screen 230.

為了使觸控面板呈現正確的畫面,故在第1圖的步驟S130中,判斷一物體是否按下觸控面板的任一處並滑動後放開。在本實施例中,物體一開始觸碰到觸控面板的位置被定義成一起始點。另外,物體最後觸碰到觸控面板的位置被定義成一結束點。In order to make the touch panel present a correct picture, in step S130 of FIG. 1, it is determined whether an object is pressed at any position of the touch panel, and is slid and released. In this embodiment, the position at which the object initially touches the touch panel is defined as a starting point. In addition, the position at which the object finally touches the touch panel is defined as an end point.

當物體按下觸控面板的任一處並滑動後放開時,求得起始點及結束點的資訊(步驟S150)。在本實施例中,由起始點開始,往水平方向延伸後,可得到一第一直線。另外,一第二直線連接於起始點及結束點之間。When the object is pressed anywhere on the touch panel and slid and released, the information of the start point and the end point is obtained (step S150). In this embodiment, starting from the starting point and extending in the horizontal direction, a first straight line can be obtained. In addition, a second straight line is connected between the start point and the end point.

第3圖為起始點與結束點之示意圖。符號P1代表物體一開始觸碰到觸控面板的位置(即起始點)。符號P2代表物體最後觸碰到觸控面板的位置(即結束點)。如圖所示,由起始點P1開始,往水平方向延伸後,可得到一直線(L1或L3)。直線L2係連接於起始點P1及結束點P2之間。Figure 3 is a schematic diagram of the starting point and the ending point. The symbol P1 represents the position (ie, the starting point) at which the object initially touches the touch panel. The symbol P2 represents the position at which the object finally touches the touch panel (ie, the end point). As shown in the figure, starting from the starting point P1 and extending in the horizontal direction, a straight line (L1 or L3) can be obtained. The straight line L2 is connected between the start point P1 and the end point P2.

在一可能實施例中,由起始點P1開始,往右邊的水平方向延伸後,可得到直線L1。在另一可能實施例中,由起始點P1開始,往左邊的水平方向延伸後,可得到直線L3。In a possible embodiment, starting from the starting point P1 and extending to the right in the horizontal direction, a straight line L1 can be obtained. In another possible embodiment, starting from the starting point P1 and extending to the left horizontal direction, a straight line L3 can be obtained.

接著,根據步驟S150所得到的起始點及結束點的資訊,求得第一直線與第二直線之間的角度(步驟S170)。在本實施例中,第一直線係為起始點往水平方向延伸的直線(如L1或L3),第二直線係為起始點與結束點之間的直線(如L2)。Next, based on the information of the start point and the end point obtained in step S150, the angle between the first straight line and the second straight line is obtained (step S170). In the present embodiment, the first straight line is a straight line (such as L1 or L3) in which the starting point extends in the horizontal direction, and the second straight line is a straight line (such as L2) between the starting point and the ending point.

根據步驟S170所求得的角度,控制觸控面板所呈現的畫面(步驟S190),然後再回到步驟S110。在一可能實施例中,步驟S150所得到的起始點及結束點的資訊均為座標資訊。根據兩座標資訊,便可求得直線L1與L2之間的角度θ1或θ2。The screen presented by the touch panel is controlled according to the angle determined in step S170 (step S190), and then returns to step S110. In a possible embodiment, the information of the starting point and the ending point obtained in step S150 are coordinate information. Based on the two coordinate information, the angle θ1 or θ2 between the straight lines L1 and L2 can be obtained.

舉例而言,若觸控面板呈現第2圖的畫面250,並且步驟S170所得到的角度為90°時,則將觸控面板所呈現的畫面,由原本的畫面250切換至畫面220。由於根據座標求得角度的方法係為本領域人士所深知,故不再加以說明。For example, if the touch panel presents the screen 250 of FIG. 2 and the angle obtained in step S170 is 90°, the screen presented by the touch panel is switched from the original screen 250 to the screen 220. Since the method of obtaining the angle from the coordinates is well known to those skilled in the art, it will not be described.

第4圖為本發明之根據角度切換畫面的一可能實施例。第4圖所呈現的角度切分結果係為一可能實施例,但並非用以限制本發明。在本實施例中,由於觸控面板具有8個可呈現的畫面(如第2圖所示),故第4圖將全圓360°切分成8個範圍,並以3點鐘為0°起始點。在其它實施例中,可將全圓360°切分成其它數量的範圍。Figure 4 is a possible embodiment of the angle switching screen according to the present invention. The angle segmentation results presented in Figure 4 are a possible embodiment, but are not intended to limit the invention. In this embodiment, since the touch panel has 8 displayable images (as shown in FIG. 2), the fourth figure divides the full circle 360° into 8 ranges, and starts at 3 o'clock from 0 o'clock. Start point. In other embodiments, the full circle 360° can be cut into other ranges.

在本實施例中,若角度位於337.5°~22.5°之內時,觸控面板呈現畫面260。若角度位於22.5°~67.5°之內時,觸控面板呈現畫面230。若角度位於67.5°~112.5°之內時,觸控面板呈現畫面220。若角度位於112.5°~157.5°之內時,觸控面板呈現畫面210。In this embodiment, when the angle is within 337.5°~22.5°, the touch panel presents a picture 260. If the angle is within 22.5°~67.5°, the touch panel presents a picture 230. If the angle is within 67.5°~112.5°, the touch panel presents a picture 220. If the angle is within 112.5°~157.5°, the touch panel presents a picture 210.

若角度位於157.5°~202.5°之內時,觸控面板呈現畫面240。若角度位於202.5°~247.5°之內時,觸控面板呈現畫面270。若角度位於247.5°~292.5°之內時,觸控面板呈現畫面280。若角度位於292.5°~337.5°之內時,觸控面板呈現畫面290。If the angle is within 157.5°~202.5°, the touch panel presents a picture 240. If the angle is within 202.5°~247.5°, the touch panel presents a picture 270. If the angle is within 247.5°~292.5°, the touch panel presents a picture 280. If the angle is within 292.5°~337.5°, the touch panel presents a picture 290.

第5圖為本發明之控制方法之另一可能實施例。第5圖相似第1圖,不同之處在於,第5圖多了步驟S560。在本實施例中,首先,令觸控面板呈現畫面(步驟S510)。然後,判斷一物體是否按下觸控面板的任一處並滑動後放開(步驟S530)。Figure 5 is another possible embodiment of the control method of the present invention. Fig. 5 is similar to Fig. 1, except that Fig. 5 has an additional step S560. In the embodiment, first, the touch panel is presented with a screen (step S510). Then, it is judged whether an object is pressed anywhere on the touch panel and is slid and released (step S530).

若無物體按下觸控面板的任一處並滑動後放開,則繼續執行步驟S530。當物體按下觸控面板的任一處並滑動後放開時,求得起始點及結束點的資訊(步驟S550)。If no object is pressed anywhere on the touch panel and slides and then released, step S530 is continued. When the object is pressed at any position of the touch panel and is slid and released, information on the start point and the end point is obtained (step S550).

在本實施例中,起始點係為物體一開始觸碰到觸控面板的位置,而結束點係為物體最後觸碰到觸控面板的位置。由起始點開始,往水平方向延伸後,可得到一第一直線。另外,一第二直線連接於起始點及結束點之間。In this embodiment, the starting point is the position where the object first touches the touch panel, and the ending point is the position where the object finally touches the touch panel. Starting from the starting point and extending in the horizontal direction, a first straight line is obtained. In addition, a second straight line is connected between the start point and the end point.

判斷第二直線的長度是否大於一預設值(步驟S560)。當第二直線的長度小於預設值時,重新判斷物體是否按下該觸控面板的任一處並滑動後放開(步驟S530)。It is determined whether the length of the second straight line is greater than a predetermined value (step S560). When the length of the second line is less than the preset value, it is determined whether the object is pressed anywhere on the touch panel and slides and then released (step S530).

舉例而言,若使用者想點選觸控面板所呈現的畫面裡的選項時,在點選的同時,可能會稍微滑動。然而,藉由步驟S560,便可檢測出使用者並非想切換畫面。因此,當使用者的滑動距離(即第二直線的長度)小於預設值時,將不根據第一及第二直線之間的角度,切換觸控面板所呈現的畫面。For example, if the user wants to click on an option in the screen presented by the touch panel, it may slide slightly while clicking. However, by step S560, it can be detected that the user does not want to switch the screen. Therefore, when the sliding distance of the user (ie, the length of the second straight line) is less than the preset value, the screen presented by the touch panel will not be switched according to the angle between the first and second straight lines.

當第二直線的長度大於預設值時,則根據起始點及結束點的資訊,求得第一與第二直線之間的角度(步驟S570)。在本實施例中,起始點及結束點的資訊均為座標資訊。When the length of the second straight line is greater than the preset value, the angle between the first and second straight lines is obtained based on the information of the start point and the end point (step S570). In this embodiment, the information of the starting point and the ending point are coordinate information.

最後,根據角度,切換觸控面板所呈現的畫面(步驟S590)。在一可能實施例中,可僅根據第一與第二直線之間的角度,切換觸控面板所呈現的畫面。在另一可能實施例中,係根據第一與第二直線之間的角度及第二直線的長度,切換觸控面板所呈現的畫面。Finally, the screen presented by the touch panel is switched according to the angle (step S590). In a possible embodiment, the screen presented by the touch panel can be switched only according to the angle between the first and second straight lines. In another possible embodiment, the screen presented by the touch panel is switched according to an angle between the first and second straight lines and a length of the second straight line.

因此,藉由本發明的控制方法,使用者只需極少的動作,便可使觸控面板直接切換到指定的畫面,而不需反覆操作。Therefore, with the control method of the present invention, the user can switch the touch panel directly to the specified screen with little operation, without repeated operations.

第6圖為本發明之電子裝置之示意圖。如圖所示,電子裝置600包括觸控面板610以及處理單元630。本發明並不限定電子裝置600的種類。只要是具有觸控功能的電子裝置,均可作為本發明所述之電子裝置600。Figure 6 is a schematic view of an electronic device of the present invention. As shown, the electronic device 600 includes a touch panel 610 and a processing unit 630. The invention does not limit the type of electronic device 600. Any electronic device having a touch function can be used as the electronic device 600 of the present invention.

當一物體(如觸碰筆或手指)按下觸控面板610的任一處並滑動後放開,觸控面板610輸出資訊SP1 及SP2 。在本實施例中,物體一開始觸碰到觸控面板610的位置作為一起始點。物體最後觸碰到觸控面板610的位置作為一結束點。When an object (such as a touch pen or a finger) is pressed anywhere on the touch panel 610 and slid and released, the touch panel 610 outputs the information S P1 and S P2 . In this embodiment, the position at which the object initially touches the touch panel 610 serves as a starting point. The position at which the object finally touches the touch panel 610 serves as an end point.

在本實施例中,觸控面板610輸出資訊SP1 及SP2 分別與起始點及結束點有關。舉例而言,資訊SP1 及SP2 與起始點及結束點的座標資訊有關,但並非用以限制本發明。在其它實施例中,觸控面板610可提供其它與起始點及結束點有關的資訊。In this embodiment, the touch panel 610 outputs information S P1 and S P2 are related to the start point and the end point, respectively. For example, the information S P1 and S P2 are related to the coordinate information of the starting point and the ending point, but are not intended to limit the present invention. In other embodiments, the touch panel 610 can provide other information related to the starting point and the ending point.

另外,由起始點開始,往水平方向延伸後,可得到一第一直線,並且一第二直線連接於起始點及結束點之間。處理單元630根據資訊SP1 及SP2 ,求得第一及第二直線之間的一角度,並根據角度,控制觸控面板610所呈現的畫面。In addition, starting from the starting point, after extending in the horizontal direction, a first straight line is obtained, and a second straight line is connected between the starting point and the ending point. The processing unit 630 obtains an angle between the first and second straight lines according to the information S P1 and S P2 , and controls the screen presented by the touch panel 610 according to the angle.

本發明並不限定第一直線延伸的方向。如第3圖所示,從起始點P1開始,往右邊的水平方向延伸後,可得到直線L1。若從起始點P1開始,往左邊的水平方向延伸後,則可得到直線L3。根據直線L1及L2,便可求得直線L1及L2之間的角度θ1。同樣地,根據直線L3及L2,便可求得直線L3及L2之間的角度θ2。The invention does not limit the direction in which the first straight line extends. As shown in Fig. 3, starting from the starting point P1 and extending to the right in the horizontal direction, a straight line L1 can be obtained. When starting from the starting point P1 and extending to the left in the horizontal direction, a straight line L3 can be obtained. According to the straight lines L1 and L2, the angle θ1 between the straight lines L1 and L2 can be obtained. Similarly, the angle θ2 between the straight lines L3 and L2 can be obtained from the straight lines L3 and L2.

在另一可能實施例中,處理單元630更判斷第二直線(即起始點與結束點之間的直線)的長度。處理單元630可僅根據角度、或是根據角度及第二直線的長度,切換觸控面板610所呈現的畫面。In another possible embodiment, processing unit 630 further determines the length of the second line (ie, the line between the starting point and the ending point). The processing unit 630 can switch the screen presented by the touch panel 610 only according to the angle or according to the angle and the length of the second line.

當第二直線的長度小於一預設值時,處理單元630不根據角度,控制觸控面板610所呈現的畫面。換句話說,處理單元630可能維持觸控面板610所呈現的畫面(如第2圖所示的畫面250),或是進入觸控面板610所呈現的畫面的選項(如電話薄或簡訊)之中。When the length of the second line is less than a preset value, the processing unit 630 does not control the picture presented by the touch panel 610 according to the angle. In other words, the processing unit 630 may maintain the screen presented by the touch panel 610 (such as the screen 250 shown in FIG. 2) or the option to enter the screen presented by the touch panel 610 (such as a phone book or a newsletter). in.

當第二直線的長度大於預設值時,處理單元630可僅根據角度,或是根據角度及第二直線的長度,切換觸控面板610所呈現的畫面。以第2圖為例,若觸控面板610起初呈現畫面250時,若使用者按下觸控面板610的任一處並滑動後放開,處理單元630可根據觸控面板610所提供的資訊SP1 及SP2 ,求得滑動的距離及方向。When the length of the second line is greater than a preset value, the processing unit 630 may switch the screen presented by the touch panel 610 only according to the angle or according to the angle and the length of the second line. For example, when the touch panel 610 initially presents the screen 250, if the user presses any part of the touch panel 610 and slides it to release it, the processing unit 630 can provide information according to the touch panel 610. S P1 and S P2 , and find the distance and direction of sliding.

假設,滑動的距離大於預設值,並且滑動的角度為90°,則處理單元630輸出控制信號SC ,用以切換觸控面板610所呈現的畫面。在此例中,觸控面板610的所呈現的畫面將由原本的畫面250切換至畫面220。Assuming that the sliding distance is greater than the preset value and the sliding angle is 90°, the processing unit 630 outputs a control signal S C for switching the screen presented by the touch panel 610. In this example, the rendered screen of touch panel 610 will be switched from the original screen 250 to screen 220.

藉由觸控面板610與處理單元630的動作,便可讓使用者透過極少的動作行為,就可以直接切換至指定畫面,而不需反覆操作。By the action of the touch panel 610 and the processing unit 630, the user can directly switch to the designated screen through little action, without repeated operations.

雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。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 can make some modifications and refinements without departing from the spirit and scope of the invention. Therefore, the scope of the invention is defined by the scope of the appended claims.

210~290...畫面210~290. . . Picture

600...電子裝置600. . . Electronic device

610...觸控面板610. . . Touch panel

630...處理單元630. . . Processing unit

S110~S190、S510~S590...步驟S110~S190, S510~S590. . . step

P1...起始點P1. . . Starting point

P2...結束點P2. . . End point

L1~L3...直線L1~L3. . . straight line

θ1、θ2...角度Θ1, θ2. . . angle

第1圖為本發明之控制方法之一可能實施例。Figure 1 is a possible embodiment of a control method of the present invention.

第2圖為觸控面板可能呈現的畫面配置示意圖。Figure 2 is a schematic diagram of the screen configuration that the touch panel may present.

第3圖為起始點與結束點之示意圖。Figure 3 is a schematic diagram of the starting point and the ending point.

第4圖為本發明之根據角度切換畫面的一可能實施例。Figure 4 is a possible embodiment of the angle switching screen according to the present invention.

第5圖為本發明之控制方法之另一可能實施例。Figure 5 is another possible embodiment of the control method of the present invention.

第6圖為本發明之電子裝置之示意圖。Figure 6 is a schematic view of an electronic device of the present invention.

S110~S190...步驟S110~S190. . . step

Claims (14)

一種控制方法,適用於一電子裝置,該電子裝置具有一觸控面板,該控制方法,包括下列步驟:判斷一物體是否按下該觸控面板的任一處並滑動後放開,其中該物體一開始觸碰到該觸控面板的位置係為一起始點,該物體最後觸碰到該觸控面板的位置係為一結束點;當該物體按下該觸控面板的任一處並滑動後放開,求得該起始點及該結束點的資訊,其中由該起始點開始,往水平方向延伸後,可得到一第一直線,並且一第二直線連接於該起始點及該結束點之間;根據該起始點及該結束點的資訊,求得該第一及第二直線之間的一角度;以及根據該角度,控制該觸控面板所呈現的畫面。A control method is applicable to an electronic device having a touch panel. The control method includes the following steps: determining whether an object is pressed anywhere in the touch panel and sliding and releasing, wherein the object The position at which the touch panel is initially touched is a starting point, and the position at which the object finally touches the touch panel is an end point; when the object is pressed anywhere on the touch panel and slides After releasing, obtaining the information of the starting point and the ending point, wherein starting from the starting point, extending in the horizontal direction, a first straight line is obtained, and a second straight line is connected to the starting point and the Between the end points; determining an angle between the first and second lines according to the information of the starting point and the ending point; and controlling the image presented by the touch panel according to the angle. 如申請專利範圍第1項所述之控制方法,更包括:判斷該第二直線的長度。The control method of claim 1, further comprising: determining a length of the second line. 如申請專利範圍第2項所述之控制方法,其中根據該角度及該第二直線的長度,切換該觸控面板所呈現的畫面。The control method of claim 2, wherein the screen presented by the touch panel is switched according to the angle and the length of the second line. 如申請專利範圍第2項所述之控制方法,其中當該第二直線的長度小於一預設值時,重新判斷該物體是否按下該觸控面板的任一處並滑動後放開。The control method of claim 2, wherein when the length of the second line is less than a predetermined value, it is determined whether the object is pressed anywhere on the touch panel and is slid and released. 如申請專利範圍第2項所述之控制方法,其中當該第二直線的長度大於該預設值時,根據該角度,切換該觸控面板所呈現的畫面。The control method of claim 2, wherein when the length of the second line is greater than the preset value, the picture presented by the touch panel is switched according to the angle. 如申請專利範圍第5項所述之控制方法,其中當該第二直線的長度大於該預設值時,根據該角度及該第二直線的長度,切換該觸控面板所呈現的畫面。The control method of claim 5, wherein when the length of the second line is greater than the preset value, the picture presented by the touch panel is switched according to the angle and the length of the second line. 如申請專利範圍第1項所述之控制方法,其中該起始點及該結束點的資訊均為座標資訊。The control method of claim 1, wherein the information of the starting point and the ending point are coordinate information. 一種電子裝置,包括:一觸控面板,當一物體按下該觸控面板的任一處並滑動後放開,該觸控面板輸出一第一資訊以及一第二資訊,其中該物體一開始觸碰到該觸控面板的位置係為一起始點,該物體最後觸碰到該觸控面板的位置係為一結束點,由該起始點開始,往水平方向延伸後,可得到一第一直線,並且一第二直線連接於該起始點及該結束點之間;一處理單元,根據該第一及第二資訊,求得該第一及第二直線之間的一角度,並根據該角度,控制該觸控面板所呈現的畫面;其中該第一資訊係為該起始點的資訊,該第二資訊係為該結束點的資訊。An electronic device includes: a touch panel, when an object is pressed and pressed anywhere in the touch panel, the touch panel outputs a first information and a second information, wherein the object starts The position touched by the touch panel is a starting point, and the position at which the object touches the touch panel is an end point. Starting from the starting point and extending in the horizontal direction, a first point is obtained. a straight line, and a second line is connected between the starting point and the ending point; a processing unit determines an angle between the first and second lines according to the first and second information, and according to The angle is controlled by the touch panel, wherein the first information is information of the starting point, and the second information is information of the ending point. 如申請專利範圍第8項所述之電子裝置,其中該處理單元更判斷該第二直線的長度。The electronic device of claim 8, wherein the processing unit further determines the length of the second line. 如申請專利範圍第9項所述之電子裝置,其中該處理單元根據該角度及該第二直線的長度,切換該觸控面板所呈現的畫面。The electronic device of claim 9, wherein the processing unit switches the screen presented by the touch panel according to the angle and the length of the second line. 如申請專利範圍第9項所述之電子裝置,其中當該第二直線的長度小於一預設值時,該處理單元不根據該角度,控制該觸控面板所呈現的畫面。The electronic device of claim 9, wherein when the length of the second line is less than a predetermined value, the processing unit does not control the picture presented by the touch panel according to the angle. 如申請專利範圍第9項所述之電子裝置,其中當該第二直線的長度大於該預設值時,該處理單元根據該角度,切換該觸控面板所呈現的畫面。The electronic device of claim 9, wherein when the length of the second line is greater than the preset value, the processing unit switches the picture presented by the touch panel according to the angle. 如申請專利範圍第12項所述之電子裝置,其中當該第二直線的長度大於該預設值時,該處理單元根據該角度及該第二直線的長度,切換該觸控面板所呈現的畫面。The electronic device of claim 12, wherein when the length of the second line is greater than the preset value, the processing unit switches the display of the touch panel according to the angle and the length of the second line. Picture. 如申請專利範圍第8項所述之電子裝置,其中該第一及第二資訊均為座標資訊。The electronic device of claim 8, wherein the first and second information are coordinate information.
TW98139879A 2009-11-24 2009-11-24 Control method and electronic device TWI408582B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98139879A TWI408582B (en) 2009-11-24 2009-11-24 Control method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98139879A TWI408582B (en) 2009-11-24 2009-11-24 Control method and electronic device

Publications (2)

Publication Number Publication Date
TW201118672A TW201118672A (en) 2011-06-01
TWI408582B true TWI408582B (en) 2013-09-11

Family

ID=44935792

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98139879A TWI408582B (en) 2009-11-24 2009-11-24 Control method and electronic device

Country Status (1)

Country Link
TW (1) TWI408582B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI470535B (en) * 2011-11-29 2015-01-21 Multi-dimensional page management method and electronic device using same
CN103150078A (en) * 2011-12-06 2013-06-12 硕彦法律事务所 Multi-dimensional page management method and electronic device using same

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050251748A1 (en) * 2003-03-24 2005-11-10 Microsoft Corporation System and method for viewing and editing multi-value properties
TW200627250A (en) * 2005-01-27 2006-08-01 Inventec Appliances Corp Hand-held device having touch panel disposed thereon
TW200805131A (en) * 2006-05-24 2008-01-16 Lg Electronics Inc Touch screen device and method of selecting files thereon

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050251748A1 (en) * 2003-03-24 2005-11-10 Microsoft Corporation System and method for viewing and editing multi-value properties
TW200627250A (en) * 2005-01-27 2006-08-01 Inventec Appliances Corp Hand-held device having touch panel disposed thereon
TW200805131A (en) * 2006-05-24 2008-01-16 Lg Electronics Inc Touch screen device and method of selecting files thereon

Also Published As

Publication number Publication date
TW201118672A (en) 2011-06-01

Similar Documents

Publication Publication Date Title
US11221752B2 (en) Character recognition on a computing device
US20200293189A1 (en) User interfaces for improving single-handed operation of devices
WO2021143805A1 (en) Widget processing method and related apparatus
US7768503B2 (en) Capacitive touchpad integrated with a graphical input function
TWI585672B (en) Electronic display device and icon control method
JP4372188B2 (en) Information processing apparatus and display control method
EP2372514A1 (en) Device and method to operate a window displayed on a screen via a corresponding thumbnail displayed on a touch sensitive screen.
US8456433B2 (en) Signal processing apparatus, signal processing method and selection method of user interface icon for multi-touch panel
TW201005598A (en) Touch-type mobile computing device and display method thereof
WO2015027505A1 (en) Text processing method and touchscreen device
WO2015168977A1 (en) Screen control method and device
JP5197533B2 (en) Information processing apparatus and display control method
JP2014238755A (en) Input system, input method, and smartphone
US20160026309A1 (en) Controller
JP5102894B1 (en) Character input device and portable terminal device
JP2015050755A (en) Information processing apparatus, control method and program
TW201346656A (en) Signal transmitting method for touch input device
TWI408582B (en) Control method and electronic device
WO2016023298A1 (en) Touch terminal operation method and touch terminal
US20110119579A1 (en) Method of turning over three-dimensional graphic object by use of touch sensitive input device
US20160062633A1 (en) Method of providing user interface and recording medium and character input device comprising the same
JP2016076232A (en) Display device and control method for the same
US20140210732A1 (en) Control Method of Touch Control Device
TWI547862B (en) Multi - point handwriting input control system and method
CN102096491A (en) Control method and electronic device

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees