[go: up one dir, main page]

TWI540497B - Electronic device, computer program product and method for unlocking screen and thereof - Google Patents

Electronic device, computer program product and method for unlocking screen and thereof Download PDF

Info

Publication number
TWI540497B
TWI540497B TW101106889A TW101106889A TWI540497B TW I540497 B TWI540497 B TW I540497B TW 101106889 A TW101106889 A TW 101106889A TW 101106889 A TW101106889 A TW 101106889A TW I540497 B TWI540497 B TW I540497B
Authority
TW
Taiwan
Prior art keywords
touch screen
screen
electronic device
movable icon
movable
Prior art date
Application number
TW101106889A
Other languages
Chinese (zh)
Other versions
TW201337718A (en
Inventor
吳嘉隆
Original Assignee
啟碁科技股份有限公司
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 啟碁科技股份有限公司 filed Critical 啟碁科技股份有限公司
Priority to TW101106889A priority Critical patent/TWI540497B/en
Publication of TW201337718A publication Critical patent/TW201337718A/en
Application granted granted Critical
Publication of TWI540497B publication Critical patent/TWI540497B/en

Links

Landscapes

  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Description

電子裝置、電腦程式產品及其解除螢幕鎖定之方法Electronic device, computer program product and method for unlocking the screen

本發明係有關於一種電子裝置及其解除螢幕鎖定之方法,且特別有關於一種可以利用觸控式螢幕顯示相關介面與輸入相應輸入行為從而將觸控式螢幕進行解鎖之方法及應用此方法解除螢幕鎖定之電子裝置。The present invention relates to an electronic device and a method for unlocking the same, and particularly relates to a method for unlocking a touch screen by using a touch screen to display a related interface and inputting a corresponding input behavior, and applying the method Screen-locked electronics.

為配合現代人繁忙的生活節奏,各種不佔空間且攜帶方便的可攜式電子裝置也推陳出新。以個人數位助理(Personal Digital Assistant,PDA)手機為例,其不僅具備了傳統通訊裝置的各項功能,更能讓使用者透過其內建的視窗作業系統來達到撰寫文件、收發電子郵件、瀏覽網路或是使用即時通訊軟體等目的。對凡事講求效率的現代人來說,此種裝置儼然成為生活中不可或缺的工具之一。In order to cope with the busy life pace of modern people, all kinds of portable electronic devices that do not occupy space and are convenient to carry are also innovated. Take the Personal Digital Assistant (PDA) mobile phone as an example. It not only has the functions of the traditional communication device, but also allows users to write files, send and receive emails, and browse through its built-in window operating system. Internet or use instant messaging software. For modern people who are efficient in everything, such devices have become one of the indispensable tools in life.

然而,對於外型要求輕、薄、短、小的可攜式電子裝置來說,其本身的體積受到相當限制,倘若要在電子裝置上同時配置螢幕及鍵盤,則勢必需縮小螢幕之尺寸。而為了能夠在有限的空間中配置較大的螢幕,最近則發展出一種觸控式螢幕,利用將鍵盤整合至螢幕中以做為可攜式電子裝置的輸入介面,而能省去配置傳統鍵盤的成本及所佔用的面積。However, for a portable electronic device that requires a light, thin, short, and small form factor, its own size is quite limited. If the screen and the keyboard are to be simultaneously configured on the electronic device, it is necessary to reduce the size of the screen. In order to be able to configure a larger screen in a limited space, a touch screen has recently been developed, which integrates the keyboard into the screen as an input interface of the portable electronic device, thereby eliminating the need to configure a conventional keyboard. Cost and area occupied.

觸控式螢幕的操作方式相較於傳統的鍵盤輸入來說具有簡單、直覺的優勢。然而,觸控式螢幕對外界觸碰動作非常敏銳,使用者可能不經意地觸碰到觸控式螢幕上的螢幕按鍵,而迫使電子裝置執行螢幕按鍵的功能。因此,電子裝置便需具有一螢幕鎖定狀態,用以防止觸控式螢幕被使用者誤觸。The touch screen operates in a simple, intuitive way compared to traditional keyboard input. However, the touch screen is very sensitive to external touch actions, and the user may inadvertently touch the screen button on the touch screen to force the electronic device to perform the function of the screen button. Therefore, the electronic device needs to have a screen lock state to prevent the touch screen from being accidentally touched by the user.

有鑑於此,本發明提供一種電子裝置、電腦程式產品及其解除螢幕鎖定之方法,以克服前述問題。In view of the above, the present invention provides an electronic device, a computer program product, and a method for unlocking the screen to overcome the aforementioned problems.

本發明實施例之一種解除螢幕鎖定之方法,適用於一電子裝置中。該電子裝置係具有一觸控式螢幕,該方法包括下列步驟:偵測一物件於該觸控式螢幕上之一可動式圖標之一接觸;當該物件丟出該可動式圖標後,偵測該可動式圖標沿一丟出方向之一移動;藉由該丟出方向及該移動之一移動速度計算該可動式圖標之一移動路徑;判斷該可動式圖標沿著該移動路徑移動時是否碰觸該觸控式螢幕之畫面邊緣達一預定次數以上;以及當該可動式圖標碰觸該觸控式螢幕之畫面邊緣達該預定次數以上時,解除該電子裝置之一螢幕鎖定狀態A method for unlocking a screen according to an embodiment of the present invention is applicable to an electronic device. The electronic device has a touch screen, the method includes the following steps: detecting an object contacting one of the movable icons on the touch screen; and detecting the object after the object is thrown out The movable icon moves along one of the throwing directions; calculates a moving path of the movable icon by the throwing direction and the moving speed of the moving; and determines whether the movable icon touches when moving along the moving path Touching the edge of the touch screen for a predetermined number of times or more; and releasing the screen lock state of the electronic device when the movable icon touches the edge of the touch screen for the predetermined number of times or more

本發明實施例之一種電子裝置。該電子裝置包括一觸控式螢幕、一偵測單元及一處理單元。偵測單元耦接於該觸控式螢幕,偵測一物件於該觸控式螢幕上之一可動式圖標之一接觸,當該物件丟出該可動式圖標後,偵測該可動式圖標沿一丟出方向之一移動。處理單元耦接於該觸控式螢幕及該偵測單元,藉由該丟出方向及該移動之一移動速度計算該可動式圖標之一移動路徑,並判斷該可動式圖標沿著該移動路徑移動時是否碰觸該觸控式螢幕之畫面邊緣達一預定次數以上,當該可動式圖標碰觸該觸控式螢幕之畫面邊緣達該預定次數以上時,該處理單元解除一螢幕鎖定狀態。An electronic device according to an embodiment of the invention. The electronic device includes a touch screen, a detecting unit and a processing unit. The detecting unit is coupled to the touch screen to detect an object contacting one of the movable icons on the touch screen, and detecting the movable icon edge after the object throws the movable icon One of the throwing directions moves. The processing unit is coupled to the touch screen and the detecting unit, and calculates a moving path of the movable icon by the throwing direction and the moving speed of the moving, and determines that the movable icon is along the moving path Whether the edge of the screen of the touch screen is touched for a predetermined number of times or more when moving, and when the movable icon touches the edge of the screen of the touch screen for more than the predetermined number of times, the processing unit releases the screen lock state.

本發明實施例之一種電腦程式產品,其係用以執行上述解除螢幕鎖定之方法,此電腦程式產品基本上是由多數個程式碼片段所組成的(例如建立組織圖程式碼片段、簽格表單程式碼片段、設定程式碼片段、以及佈署程式碼片段),訂且這些程式碼片段在載入行動電子裝置中並執行之後,即可完成上述解除螢幕鎖定之方法步驟與上述解除螢幕鎖定裝置之功能。A computer program product for performing the above-mentioned method for unlocking a screen, the computer program product is basically composed of a plurality of code segments (for example, creating an organization chart code segment, a sign form) The code segment, the setting code segment, and the deployment code segment are arranged, and after the code segment is loaded into the mobile electronic device and executed, the method for unlocking the screen and the releasing the screen locking device are completed. The function.

為了讓本發明之目的、特徵、及優點能更明顯易懂,下文特舉較佳實施例,並配合所附圖示第1圖至第5E圖,做詳細之說明。本發明說明書提供不同的實施例來說明本發明不同實施方式的技術特徵。其中,實施例中的各元件之配置係為說明之用,並非用以限制本發明。且實施例中圖式標號之部分重複,係為了簡化說明,並非意指不同實施例之間的關聯性。In order to make the objects, features, and advantages of the present invention more comprehensible, the preferred embodiments of the invention are described in detail in the accompanying drawings. FIG. The present specification provides various embodiments to illustrate the technical features of various embodiments of the present invention. The arrangement of the various elements in the embodiments is for illustrative purposes and is not intended to limit the invention. The overlapping portions of the drawings in the embodiments are for the purpose of simplifying the description and are not intended to be related to the different embodiments.

第1圖係顯示依據本發明實施例之電子裝置100之示意圖。依據本發明實施例之電子裝置100可以是個人電腦與可攜式裝置,如個人數位助理(Personal Digital Assistant,PDA)、智慧型手機、行動電話、行動上網裝置(Mobile Internet Device,MID)、或迷你筆記型電腦(Netbook)等之手持式裝置。1 is a schematic diagram showing an electronic device 100 in accordance with an embodiment of the present invention. The electronic device 100 according to the embodiment of the present invention may be a personal computer and a portable device, such as a Personal Digital Assistant (PDA), a smart phone, a mobile phone, a Mobile Internet Device (MID), or Handheld device such as a mini notebook (Netbook).

第2圖係顯示依據本發明實施例之電子裝置100之系統方塊圖,請同時參照第1圖。電子裝置100至少包括一觸控式螢幕110、一偵測單元120及一處理單元130。值得注意的是,觸控式螢幕110係為一結合觸碰感應裝置(未顯示)之螢幕。觸碰感應裝置具有包括至少一維之感應器的觸摸式表面,用以偵測輸入工具,如手指或觸控筆等在其表面上的接觸與移動。觸控式螢幕110可以顯示相關資料、與/或相關圖示與介面等。另外,觸控式螢幕110亦可接收相應使用者之輸入,並將相關輸入傳送給偵測單元120及處理單元130以進行後續處理。偵測單元120及處理單元130係用以執行本案之電子裝置之解除螢幕鎖定方法,其細節將於後進行說明。2 is a block diagram showing the system of an electronic device 100 according to an embodiment of the present invention. Please refer to FIG. The electronic device 100 includes at least one touch screen 110, a detecting unit 120, and a processing unit 130. It should be noted that the touch screen 110 is a screen combined with a touch sensing device (not shown). The touch sensing device has a touch surface including at least one dimensional sensor for detecting contact and movement of an input tool such as a finger or a stylus on its surface. The touch screen 110 can display related materials, and/or related icons and interfaces, and the like. In addition, the touch screen 110 can also receive input from the corresponding user and transmit the relevant input to the detecting unit 120 and the processing unit 130 for subsequent processing. The detecting unit 120 and the processing unit 130 are used to perform the method for unlocking the screen of the electronic device of the present invention, the details of which will be described later.

第3圖顯示依據本發明實施例之解除螢幕鎖定之方法流程圖。依據本發明實施例之解除螢幕鎖定之方法可以適用於一電子裝置,如個人電腦與可攜式裝置,如個人數位助理、智慧型手機、行動電話、行動上網裝置、或迷你筆記型電腦等之手持式裝置。注意的是,在此實施例中,此電子裝置具有一觸控式螢幕。Figure 3 is a flow chart showing a method of unlocking a screen in accordance with an embodiment of the present invention. The method for unlocking the screen according to the embodiment of the present invention can be applied to an electronic device such as a personal computer and a portable device, such as a personal digital assistant, a smart phone, a mobile phone, a mobile internet device, or a mini notebook computer. Handheld device. It is noted that in this embodiment, the electronic device has a touch screen.

首先,於步驟S301中,偵測一物件(如手指)於該觸控式螢幕上之一可動式圖標之一接觸。提醒的是,在本實施例中,該可動式圖標可於觸控式螢幕中任意位置,並未限定一特定區域。當該物件丟出該可動式圖標後,於步驟S302中,偵測該可動式圖標沿一丟出方向之一移動,並藉由該丟出方向及該移動之一移動速度及根據碰撞偵測、反彈路徑計算、減速計算等處理來計算該可動式圖標之一移動路徑。值得注意的是,該物件可於任意方向丟出該可動式圖標,並未限定其丟出方向。接著,於步驟S303中,判斷該可動式圖標沿著該移動路徑移動時是否碰觸該觸控式螢幕之畫面邊緣達一預定次數以上。值得注意的是,在一些實施例中,此預定次數用來判定是否可以執行電子裝置之解鎖作業。當該可動式圖標沿著該移動路徑移動時並碰觸該觸控式螢幕之畫面邊緣未達該預定次數以上(步驟S303中的「否」),則繼續步驟S301的判斷。當該可動式圖標沿著該移動路徑移動時並碰觸該觸控式螢幕之畫面邊緣達該預定次數以上(步驟S303中的「是」),於步驟S304中,則解除該電子裝置之一螢幕鎖定狀態。First, in step S301, an object (such as a finger) is detected to be in contact with one of the movable icons on the touch screen. It is to be noted that, in this embodiment, the movable icon can be anywhere in the touch screen, and does not define a specific area. After the object is thrown out of the movable icon, in step S302, the movable icon is detected to move along one of the throwing directions, and the moving direction and the collision detecting are performed by the throwing direction and the moving direction. , a rebound path calculation, a deceleration calculation, and the like to calculate a movement path of one of the movable icons. It is worth noting that the object can throw the movable icon in any direction without limiting its direction of throwing. Next, in step S303, it is determined whether the movable icon touches the edge of the screen of the touch screen for a predetermined number of times or more when moving along the moving path. It should be noted that in some embodiments, this predetermined number of times is used to determine whether an unlocking operation of the electronic device can be performed. When the movable icon moves along the movement path and touches the edge of the screen of the touch screen for less than the predetermined number of times (NO in step S303), the determination of step S301 is continued. When the movable icon moves along the moving path and touches the edge of the touch screen for the predetermined number of times or more (YES in step S303), in step S304, one of the electronic devices is released. The screen is locked.

在另一實施例中,本發明更判斷物件接觸觸控式螢幕之接觸時間,並提供一提示以提示使用者丟出可動式圖標,以增加電子裝置操作上的彈性,以下則再舉一實施例詳細說明。In another embodiment, the present invention further determines the contact time of the object contacting the touch screen, and provides a prompt to prompt the user to drop the movable icon to increase the flexibility of the operation of the electronic device. The details are explained.

第4圖顯示依據本發明實施例之解除螢幕鎖定之方法流程圖。依據本發明實施例之解除螢幕鎖定之方法可以適用於一電子裝置,如個人電腦與可攜式裝置,如個人數位助理、智慧型手機、行動電話、行動上網裝置、或迷你筆記型電腦等之手持式裝置。注意的是,在此實施例中,此電子裝置具有一觸控式螢幕。Figure 4 is a flow chart showing a method of unlocking a screen in accordance with an embodiment of the present invention. The method for unlocking the screen according to the embodiment of the present invention can be applied to an electronic device such as a personal computer and a portable device, such as a personal digital assistant, a smart phone, a mobile phone, a mobile internet device, or a mini notebook computer. Handheld device. It is noted that in this embodiment, the electronic device has a touch screen.

首先,於步驟S401中,偵測一物件(如手指)於該觸控式螢幕上之一可動式圖標之一接觸。提醒的是,在本實施例中,該可動式圖標可於觸控式螢幕中任意位置,並未限定一特定區域。於步驟S402中,判斷相應該接觸之一接觸時間是否等於或大於一臨限值。當該接觸時間等於或大於該臨限值時(步驟S402中的「是」),於步驟S403中,顯示一丟出提示以提示丟出該可動式圖標。當此接觸時間並未等於或大於此臨限值時(步驟S402中的「否」),則繼續步驟S401之判斷。接著,當該物件丟出該可動式圖標後,於步驟S404中,偵測該可動式圖標沿一丟出方向之一移動,並藉由該丟出方向及該移動之一移動速度及根據碰撞偵測、反彈路徑計算、減速計算等處理來計算該可動式圖標之一移動路徑。值得注意的是,該物件可於任意方向丟出該可動式圖標,並未限定其丟出方向。於步驟S405中,判斷該可動式圖標沿著該移動路徑移動時是否碰觸該觸控式螢幕之畫面邊緣達一預定次數以上。值得注意的是,在一些實施例中,此預定次數可以用來判定是否可以執行電子裝置之解鎖作業。當該可動式圖標沿著該移動路徑移動時並碰觸該觸控式螢幕之畫面邊緣未達該預定次數以上(步驟S405中的「否」),則繼續步驟S401的判斷。當該可動式圖標沿著該移動路徑移動時並碰觸該觸控式螢幕之畫面邊緣達該預定次數以上(步驟S405中的「是」),於步驟S406中,則解除該電子裝置之一螢幕鎖定狀態。First, in step S401, an object (such as a finger) is detected to be in contact with one of the movable icons on the touch screen. It is to be noted that, in this embodiment, the movable icon can be anywhere in the touch screen, and does not define a specific area. In step S402, it is determined whether the contact time of one of the contacts is equal to or greater than a threshold. When the contact time is equal to or greater than the threshold (YES in step S402), in step S403, a pop-up prompt is displayed to prompt the throwing of the movable icon. When the contact time is not equal to or greater than the threshold (NO in step S402), the determination in step S401 is continued. Then, after the object is thrown out of the movable icon, in step S404, the movable icon is detected to move along one of the throwing directions, and the moving direction and the collision speed according to the throwing direction and the moving Processing such as detection, rebound path calculation, deceleration calculation, etc. to calculate a movement path of one of the movable icons. It is worth noting that the object can throw the movable icon in any direction without limiting its direction of throwing. In step S405, it is determined whether the movable icon touches the edge of the screen of the touch screen for more than a predetermined number of times when moving along the moving path. It should be noted that in some embodiments, this predetermined number of times can be used to determine whether an unlocking operation of the electronic device can be performed. When the movable icon moves along the movement path and touches the edge of the screen of the touch screen for less than the predetermined number of times (NO in step S405), the determination of step S401 is continued. When the movable icon moves along the moving path and touches the edge of the touch screen for the predetermined number of times or more (YES in step S405), in step S406, one of the electronic devices is released. The screen is locked.

值得注意的是,在一些實施例中,當該可動式圖標碰觸該觸控式螢幕之畫面邊緣未達該預定次數以上時,電子裝置仍上鎖,觸控式螢幕可以顯示一閒置畫面,並重新偵測物件的接觸。當該可動式圖標碰觸該觸控式螢幕之畫面邊緣達該預定次數以上時,解除該電子裝置之螢幕鎖定狀態,且透過觸控式螢幕可以顯示一操作介面。提醒的是,在一些實施例中,此操作介面可以係一預設操作介面或電子裝置上鎖前的最後一個操作介面。值得注意的是,在一些實施例中,當物件離開觸控式螢幕且該可動式圖標碰觸該觸控式螢幕之畫面邊緣達該預定次數以上而仍然持續移動時,電子裝置仍然處於上鎖狀態。而當可動式圖標碰觸該觸控式螢幕之畫面邊緣達該預定次數以上且停止移動時,電子裝置才會被進行解鎖。It should be noted that, in some embodiments, when the movable icon touches the edge of the touch screen for less than the predetermined number of times, the electronic device is still locked, and the touch screen can display an idle screen. And re-detect the contact of the object. When the movable icon touches the edge of the touch screen for the predetermined number of times, the screen lock state of the electronic device is released, and an operation interface can be displayed through the touch screen. It is to be noted that in some embodiments, the operation interface may be a preset operation interface or a last operation interface before the electronic device is locked. It should be noted that, in some embodiments, when the object leaves the touch screen and the movable icon touches the edge of the touch screen for more than the predetermined number of times and continues to move, the electronic device is still locked. status. When the movable icon touches the edge of the screen of the touch screen for more than the predetermined number of times and stops moving, the electronic device is unlocked.

舉例來說,第5A圖至第5E圖係顯示本發明一實施例所繪示之解除螢幕鎖定方法之範例,並參照第2圖所示。第5A圖係繪示一電子裝置100之觸控式螢幕110在螢幕鎖定狀態時的螢幕截圖,如圖所示,一用以提示解鎖之可動式圖標501顯示於觸控式螢幕,此螢幕截圖可為一閒置畫面。使用者可以用手指F接觸該可動式圖標501,如第5B圖所示。偵測單元120偵測手指F於該可動式圖標501之一接觸,並透過該觸控式螢幕於該可動式圖標501顯示一提示外框502。偵測單元接著判斷手指F所接觸該位置之一接觸時間是否等於或大於一臨限值。當該接觸時間等於或大於該臨限值時,顯示一丟出提示以提示使用者可丟出可動式圖標501。在此例子中,如第5C圖所示,當手指F持續接觸可動式圖標501的同時,可動式圖標501之提示外框502會隨接觸時間增長而放大。而當接觸時間等於或大於該臨限值時,提示外框502會顯示一箭頭提示或顏色提示,用以告知使用者可丟出可動式圖標301。值得注意的是,在另一實施例中,當接觸時間等於或大於該臨限值時,即會使可動式圖標501的週邊顯示一預設的顏色。如此一來,使用者即可清楚的知道已可丟出可動式圖標501。For example, FIG. 5A to FIG. 5E are diagrams showing an example of the method for unlocking the screen according to an embodiment of the present invention, and refer to FIG. 2 . FIG. 5A is a screenshot of the touch screen 110 of the electronic device 100 in the screen locked state. As shown in the figure, a movable icon 501 for prompting the unlocking is displayed on the touch screen. Can be an idle screen. The user can touch the movable icon 501 with the finger F as shown in FIG. 5B. The detecting unit 120 detects that the finger F is in contact with one of the movable icons 501, and displays a prompting frame 502 on the movable icon 501 through the touch screen. The detecting unit then determines whether the contact time of one of the positions touched by the finger F is equal to or greater than a threshold. When the contact time is equal to or greater than the threshold, a prompt is displayed to prompt the user to drop the movable icon 501. In this example, as shown in FIG. 5C, while the finger F continues to contact the movable icon 501, the prompt frame 502 of the movable icon 501 is enlarged as the contact time increases. When the contact time is equal to or greater than the threshold, the prompt frame 502 displays an arrow prompt or a color prompt to inform the user that the movable icon 301 can be discarded. It should be noted that in another embodiment, when the contact time is equal to or greater than the threshold, the periphery of the movable icon 501 is displayed with a preset color. In this way, the user can clearly know that the movable icon 501 can be discarded.

當丟出該可動式圖標301後,偵測單元120偵測該可動式圖標501沿一丟出方向之一移動。處理單元130藉由該方向及該移動之一移動速度並根據碰撞偵測、反彈路徑計算、減速計算等處理來計算該可動式圖標501之一移動路徑303,如第5D圖所示,移動路徑503以虛線表示。當可動式圖標501沿著該移動路徑503移動且碰觸該觸控式螢幕110之畫面邊緣達一預定次數以上(在此例子中,預定次數為2次),則解除一螢幕鎖定狀態。此時,電子裝置之基本功能才顯示於觸控式螢幕110中,如第5E圖所示,使用者可進行撥打電話、收發電子郵件等一般操作。After the movable icon 301 is discarded, the detecting unit 120 detects that the movable icon 501 moves in one of the throwing directions. The processing unit 130 calculates a moving path 303 of the movable icon 501 by using the direction and the moving speed of the moving one according to the collision detection, the rebound path calculation, the deceleration calculation, and the like, as shown in FIG. 5D, the moving path 503 is indicated by a broken line. When the movable icon 501 moves along the moving path 503 and touches the edge of the screen of the touch screen 110 for a predetermined number of times or more (in this example, the predetermined number of times is 2), the screen lock state is released. At this time, the basic functions of the electronic device are displayed on the touch screen 110. As shown in FIG. 5E, the user can perform general operations such as making a call, sending and receiving an email, and the like.

需注意的是,雖然本發明之前述偵測單元及處理單元中為單獨組件,但此等組件可被整合至一起,因而降低電子裝置內的組件數。It should be noted that although the foregoing detection unit and processing unit of the present invention are separate components, the components can be integrated together, thereby reducing the number of components in the electronic device.

因此,透過本案之解除螢幕鎖定之方法、電子裝置可以利用觸控式螢幕顯示相關介面與輸入相應輸入行為,從而提供多變化與便利的機制來將電子裝置進行解鎖。Therefore, through the method for unlocking the screen in the present case, the electronic device can display the relevant interface and input corresponding input behavior by using the touch screen, thereby providing a multi-change and convenient mechanism for unlocking the electronic device.

本發明之方法,或特定型態或其部份,可以以程式碼的型態存在。程式碼可以包含於實體媒體,如軟碟、光碟片、硬碟、或是任何其他機器可讀取(如電腦可讀取)儲存媒體,亦或不限於外在形式之電腦程式產品,其中,當程式碼被機器,如電腦載入且執行時,此機器變成用以參與本發明之裝置。程式碼也可以透過一些傳送媒體,如電線或電纜、光纖、或是任何傳輸型態進行傳送,其中,當程式碼被機器,如電腦接收、載入且執行時,此機器變成用以參與本發明之裝置。當在一般用途處理單元實作時,程式碼結合處理單元提供一操作類似於應用特定邏輯電路之獨特裝置。The method of the invention, or a particular type or portion thereof, may exist in the form of a code. The code may be included in a physical medium such as a floppy disk, a CD, a hard disk, or any other machine readable (such as computer readable) storage medium, or is not limited to an external computer program product, wherein When the code is loaded and executed by a machine, such as a computer, the machine becomes a device for participating in the present invention. The code can also be transmitted via some transmission medium, such as a wire or cable, fiber optics, or any transmission type, where the machine becomes part of the program when it is received, loaded, and executed by a machine, such as a computer. Invented device. When implemented in a general purpose processing unit, the code combination processing unit provides a unique means of operation similar to application specific logic.

雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明,任何熟悉此項技藝者,在不脫離本發明之精神和範圍內,當可做些許更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。While the present invention has been described in its preferred embodiments, the present invention is not intended to limit the invention, and the present invention may be modified and modified without departing from the spirit and scope of the invention. The scope of protection is subject to the definition of the scope of the patent application.

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

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

120‧‧‧偵測單元 120‧‧‧Detection unit

130‧‧‧處理單元 130‧‧‧Processing unit

S301~S304‧‧‧步驟 S301~S304‧‧‧Steps

S401~S406‧‧‧步驟 S401~S406‧‧‧Steps

501‧‧‧可動式圖標 501‧‧‧ movable icon

502‧‧‧提示外框 502‧‧‧Prompt frame

503‧‧‧移動路徑 503‧‧‧Moving path

F‧‧‧手指 F‧‧‧ finger

第1圖為一示意圖係顯示依據本發明實施例之電子裝置。 Figure 1 is a schematic diagram showing an electronic device in accordance with an embodiment of the present invention.

第2圖為一系統方塊圖係顯示依據本發明實施例之電子裝置。 Figure 2 is a system block diagram showing an electronic device in accordance with an embodiment of the present invention.

第3圖為一方法流程圖係顯示依據本發明實施例之解除螢幕鎖定方法。 Figure 3 is a flow diagram showing a method of unlocking a screen in accordance with an embodiment of the present invention.

第4圖為一方法流程圖係顯示依據本發明實施例之解除螢幕鎖定方法。 Figure 4 is a flow diagram showing a method of unlocking a screen in accordance with an embodiment of the present invention.

第5A圖至第5E圖為一示意圖係顯示依據本發明實施例之解除螢幕鎖定方法。 5A to 5E are diagrams showing a method of unlocking a screen according to an embodiment of the present invention.

S301~S304...步驟S301~S304. . . step

Claims (13)

一種解除螢幕鎖定之方法,適用於一電子裝置中,該電子裝置係具有一觸控式螢幕,該方法包括下列步驟:偵測一物件於該觸控式螢幕上之一可動式圖標之一接觸;當該物件丟出該可動式圖標後,偵測該可動式圖標沿一丟出方向之一移動;藉由該丟出方向及該移動之一移動速度計算該可動式圖標之一移動路徑;判斷該可動式圖標沿著該移動路徑移動時是否碰觸該觸控式螢幕之畫面邊緣達一預定次數以上;當該可動式圖標碰觸該觸控式螢幕之畫面邊緣達該預定次數以上時,解除該電子裝置之一螢幕鎖定狀態;偵測該物件是否離開該觸控式螢幕;以及當該物件離開該觸控式螢幕且該可動式圖標停止移動時,解除該螢幕鎖定狀態。 A method for unlocking a screen is applicable to an electronic device having a touch screen. The method includes the following steps: detecting an object contacting one of the movable icons on the touch screen After the object is thrown out of the movable icon, detecting that the movable icon moves along one of the throwing directions; calculating a moving path of the movable icon by the throwing direction and the moving speed of the moving; Determining whether the movable icon touches the edge of the touch screen for more than a predetermined number of times when moving along the moving path; when the movable icon touches the edge of the touch screen for the predetermined number of times or more Deactivating a screen lock state of the electronic device; detecting whether the object leaves the touch screen; and releasing the screen lock state when the object leaves the touch screen and the movable icon stops moving. 如申請專利範圍第1項所述之解除螢幕鎖定之方法,更包括下列步驟:判斷相應該接觸之一接觸時間是否等於或大於一臨限值;以及當該接觸時間等於或大於該臨限值時,顯示一丟出提示以提示丟出該可動式圖標。 The method for unlocking a screen as described in claim 1 further includes the steps of: determining whether a contact time of one of the contacts is equal to or greater than a threshold; and when the contact time is equal to or greater than the threshold At the time, a prompt is displayed to prompt the user to drop the movable icon. 如申請專利範圍第2項所述之解除螢幕鎖定之方法,更包括下列步驟: 當該接觸時間小於該臨限值時,該電子裝置仍上鎖,並透過該觸控式螢幕顯示一閒置畫面。 The method for unlocking the screen as described in claim 2 of the patent scope further includes the following steps: When the contact time is less than the threshold, the electronic device is still locked, and an idle screen is displayed through the touch screen. 如申請專利範圍第1項所述之解除螢幕鎖定之方法,更包括下列步驟:當該可動式圖標沿著該移動路徑移動且未碰觸該觸控式螢幕之畫面邊緣達一預定次數以上時,該電子裝置仍上鎖,並透過該觸控式螢幕顯示一閒置畫面。 The method for unlocking a screen as described in claim 1 further includes the following steps: when the movable icon moves along the moving path and does not touch the edge of the touch screen for a predetermined number of times or more The electronic device is still locked and displays an idle screen through the touch screen. 一種電子裝置,包括:一觸控式螢幕;一偵測單元,耦接於該觸控式螢幕,偵測一物件於該觸控式螢幕上之一可動式圖標之一接觸,當該物件丟出該可動式圖標後,偵測該可動式圖標沿一丟出方向之一移動;以及一處理單元,耦接於該觸控式螢幕及該偵測單元,藉由該丟出方向及該移動之一移動速度計算該可動式圖標之一移動路徑,並判斷該可動式圖標沿著該移動路徑移動時是否碰觸該觸控式螢幕之畫面邊緣達一預定次數以上,當該可動式圖標碰觸該觸控式螢幕之畫面邊緣達該預定次數以上時,該處理單元解除一螢幕鎖定狀態;其中該處理單元更偵測該物件是否離開該觸控式螢幕,且當該物件離開該觸控式螢幕且該可動式圖標停止移動時,解除該螢幕鎖定狀態。 An electronic device includes: a touch screen; a detecting unit coupled to the touch screen, detecting an object contacting one of the movable icons on the touch screen, when the object is lost After the movable icon is detected, the movable icon is detected to move along one of the throwing directions; and a processing unit is coupled to the touch screen and the detecting unit, by the throwing direction and the moving One moving speed calculates a moving path of the movable icon, and determines whether the movable icon touches the edge of the touch screen for a predetermined number of times or more when the movable icon moves along the moving path, when the movable icon touches The processing unit releases a screen lock state when the edge of the touch screen is touched for the predetermined number of times; wherein the processing unit further detects whether the object leaves the touch screen, and when the object leaves the touch When the screen is stopped and the movable icon stops moving, the screen lock state is released. 如申請專利範圍第5項所述之電子裝置,其中該偵測單元更判斷相應該接觸之一接觸時間是否等於或大於一臨限值,當該接觸時間等於或大於該臨限值時,該 偵測單元透過該觸控式螢幕顯示一丟出提示以提示丟出該可動式圖標。 The electronic device of claim 5, wherein the detecting unit further determines whether a contact time of the contact is equal to or greater than a threshold, and when the contact time is equal to or greater than the threshold, the The detecting unit displays a prompt to discard the movable icon through the touch screen. 如申請專利範圍第6項所述之電子裝置,其中當該接觸時間小於該臨限值時,該電子裝置仍上鎖,且該處理單元透過該觸控式螢幕顯示一閒置畫面。 The electronic device of claim 6, wherein when the contact time is less than the threshold, the electronic device is still locked, and the processing unit displays an idle screen through the touch screen. 如申請專利範圍第5項所述之電子裝置,其中當該可動式圖標沿著該移動路徑移動且未碰觸該觸控式螢幕之畫面邊緣達一預定次數以上時,該電子裝置仍上鎖,以及該處理單元透過該觸控式螢幕顯示一閒置畫面。 The electronic device of claim 5, wherein the electronic device is still locked when the movable icon moves along the moving path and does not touch the edge of the touch screen for a predetermined number of times or more. And the processing unit displays an idle screen through the touch screen. 如申請專利範圍第5項所述之電子裝置,其中該電子裝置為一可攜式電子裝置。 The electronic device of claim 5, wherein the electronic device is a portable electronic device. 一種電腦程式產品,經由一電子裝置載入該程式執行下列步驟:偵測一物件於一觸控式螢幕上之一可動式圖標之一接觸;當該物件丟出該可動式圖標後,偵測該可動式圖標沿一丟出方向之一移動;藉由該丟出方向及該移動之一移動速度計算該可動式圖標之一移動路徑;判斷該可動式圖標沿著該移動路徑移動時是否碰觸該觸控式螢幕之畫面邊緣達一預定次數以上;當該可動式圖標碰觸該觸控式螢幕之畫面邊緣達該預定次數以上時,解除該電子裝置之一螢幕鎖定狀態;偵測該物件是否離開該觸控式螢幕;以及當該物件離開該觸控式螢幕且該可動式圖標停止移 動時,解除該螢幕鎖定狀態。。 A computer program product that loads the program via an electronic device and performs the following steps: detecting an object touching one of the movable icons on a touch screen; detecting the object after the object is thrown out; The movable icon moves along one of the throwing directions; calculates a moving path of the movable icon by the throwing direction and the moving speed of the moving; and determines whether the movable icon touches when moving along the moving path Touching the edge of the touch screen for a predetermined number of times or more; when the movable icon touches the edge of the touch screen for the predetermined number of times or more, releasing the screen lock state of the electronic device; detecting the Whether the object leaves the touch screen; and when the object leaves the touch screen and the movable icon stops moving When the action is activated, the screen lock status is released. . 如申請專利範圍第10項所述之電腦程式產品,更包括下列步驟:判斷相應該接觸之一接觸時間是否等於或大於一臨限值;以及當該接觸時間等於或大於該臨限值時,顯示一丟出提示以提示丟出該可動式圖標。 The computer program product of claim 10, further comprising the steps of: determining whether a contact time of the contact is equal to or greater than a threshold; and when the contact time is equal to or greater than the threshold, A prompt is displayed to prompt the user to drop the movable icon. 如申請專利範圍第10項所述之電腦程式產品,更包括下列步驟:當該接觸時間小於該臨限值時,該電子裝置仍上鎖,並透過該觸控式螢幕顯示一閒置畫面。 The computer program product of claim 10, further comprising the step of: when the contact time is less than the threshold, the electronic device is still locked, and an idle screen is displayed through the touch screen. 如申請專利範圍第10項所述之電腦程式產品,更包括下列步驟:當該可動式圖標沿著該移動路徑移動且未碰觸該觸控式螢幕之畫面邊緣達一預定次數以上時,該電子裝置仍上鎖,並透過該觸控式螢幕顯示一閒置畫面。The computer program product of claim 10, further comprising the steps of: when the movable icon moves along the moving path and does not touch the edge of the touch screen for a predetermined number of times or more, The electronic device is still locked and displays an idle picture through the touch screen.
TW101106889A 2012-03-02 2012-03-02 Electronic device, computer program product and method for unlocking screen and thereof TWI540497B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101106889A TWI540497B (en) 2012-03-02 2012-03-02 Electronic device, computer program product and method for unlocking screen and thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101106889A TWI540497B (en) 2012-03-02 2012-03-02 Electronic device, computer program product and method for unlocking screen and thereof

Publications (2)

Publication Number Publication Date
TW201337718A TW201337718A (en) 2013-09-16
TWI540497B true TWI540497B (en) 2016-07-01

Family

ID=49627906

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101106889A TWI540497B (en) 2012-03-02 2012-03-02 Electronic device, computer program product and method for unlocking screen and thereof

Country Status (1)

Country Link
TW (1) TWI540497B (en)

Also Published As

Publication number Publication date
TW201337718A (en) 2013-09-16

Similar Documents

Publication Publication Date Title
TWI536243B (en) Electronic device, controlling method thereof and computer program product
CN102906682B (en) Use electronic equipment and the method touching detection surface
JP5204286B2 (en) Electronic device and input method
CN102870075B (en) Portable electric appts and control method thereof
CN104641324A (en) Gesture-initiated keyboard functions
CN103455274A (en) Classify the intent of user input
KR20150139573A (en) User interface apparatus and associated methods
CN101566907B (en) Method for releasing screen lock status and mobile electronic device thereof
CN104281401A (en) Method for Controlling Electronic Device with Touch Screen and Electronic Device Thereof
TWI659353B (en) Electronic apparatus and method for operating thereof
EP2144149A2 (en) Touch-sensitive control systems and methods
CN102375597A (en) Information processing apparatus, information processing method, and computer program
US8959620B2 (en) System and method for composing an authentication password associated with an electronic device
CN107506109A (en) A kind of method and mobile terminal for starting application program
CN102835097A (en) user input
TWI460623B (en) Touch-controlled electronic apparatus and related control method
CN102193662A (en) Input device
CN102629184A (en) Handheld terminal and operation method thereof
TWI469040B (en) Electronic device and locking/unlocking screen method
CN101963852A (en) Touch electronic device and related control method
CN105320340B (en) Touch device and control method and unlocking judgment method thereof
CN107743169A (en) The control method and mobile terminal of a kind of mobile terminal
CN105829998B (en) Bind the appliance to the computing device
WO2018112803A1 (en) Touch screen-based gesture recognition method and device
US20150309601A1 (en) Touch input system and input control method