TWI522776B - Electronic device unlock method thereof and computer prigram product - Google Patents

Electronic device unlock method thereof and computer prigram product Download PDF

Info

Publication number
TWI522776B
TWI522776B TW101110791A TW101110791A TWI522776B TW I522776 B TWI522776 B TW I522776B TW 101110791 A TW101110791 A TW 101110791A TW 101110791 A TW101110791 A TW 101110791A TW I522776 B TWI522776 B TW I522776B
Authority
TW
Taiwan
Prior art keywords
touch
electronic device
preset
processing unit
unlocking
Prior art date
Application number
TW101110791A
Other languages
Chinese (zh)
Other versions
TW201339801A (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 TW101110791A priority Critical patent/TWI522776B/en
Publication of TW201339801A publication Critical patent/TW201339801A/en
Application granted granted Critical
Publication of TWI522776B publication Critical patent/TWI522776B/en

Links

Landscapes

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

Description

電子裝置及其解除鎖定的方法與電腦程式產品 Electronic device and method for unlocking same and computer program product

本發明是有關於一種電子裝置的操作方法,且特別是有關於一種解除電子裝置之鎖定的方法與使用此方法的電子裝置。The present invention relates to a method of operating an electronic device, and more particularly to a method of unlocking an electronic device and an electronic device using the same.

隨著觸控技術的精進,觸控螢幕(touch screen)日愈受到電子裝置製造商的青睞,已逐漸取代傳統螢幕和鍵盤而成為電子裝置的輸入與輸出介面。使用觸控螢幕能節省配置鍵盤的空間,如此可進一步地縮小電子裝置體積,並提供較大的顯示區域。此外,觸控螢幕不但能接受來自使用者的觸碰操作,更能直接呈現操作的結果。對使用者來說,利用觸控螢幕操作電子裝置可以獲得更直觀且便利的感受。With the advancement of touch technology, touch screens have become more and more popular among electronic device manufacturers, and have gradually replaced traditional screens and keyboards as input and output interfaces for electronic devices. The use of a touch screen saves space in configuring the keyboard, which further reduces the size of the electronic device and provides a larger display area. In addition, the touch screen can not only accept the touch operation from the user, but also directly present the result of the operation. For the user, using the touch screen to operate the electronic device can obtain a more intuitive and convenient feeling.

然而,配置觸控螢幕的電子裝置須具備螢幕鎖定的機制,以防止使用者不經意地接觸到觸控螢幕而啟動不必要的功能。在許多常見的電子裝置解鎖機制中,多半是藉由界定解鎖動作的起點與終點,並要求使用者在觸控螢幕上做出與預設軌跡相符的手勢才能順利解除鎖定。但不難想見的是,在某些使用情境下使用者並不容易做出起點、終點以及軌跡都符合系統定義的解鎖手勢,因此可能在急需使用電子裝置時感到不便。However, the electronic device configured with the touch screen must have a screen locking mechanism to prevent the user from inadvertently touching the touch screen to initiate unnecessary functions. In many common electronic device unlocking mechanisms, most of them are defined by the start and end points of the unlocking action, and the user is required to make a gesture corresponding to the preset trajectory on the touch screen to smoothly unlock. However, it is not difficult to imagine that in some usage scenarios, it is not easy for a user to make a start point, an end point, and a trajectory that conform to a system-defined unlock gesture, and thus may be inconvenient when an electronic device is urgently needed.

有鑑於此,本發明提供一種解除鎖定的方法與電子裝置,以提供更有彈性且兼具操作樂趣的解除鎖定方式。In view of the above, the present invention provides a method and an electronic device for unlocking to provide a more flexible and functionally unlocked manner.

本發明提出一種解除鎖定的方法,用於具有觸控螢幕且被鎖定的電子裝置,此方法包括偵測施於觸控螢幕上任意位置的觸碰。當觸碰移動時,以觸碰移動產生的物理純量作為物體開始預設自主動作的動力,並在觸控螢幕顯示物體受動力驅動並依規則進行預設自主動作的過程,其中預設自主動作的規則是預先定義於電子裝置。當物體依規則進行預設自主動作而到達完成狀態時,便解鎖電子裝置。The present invention provides a method for unlocking an electronic device having a touch screen and being locked, the method comprising detecting a touch applied to any position on the touch screen. When the touch moves, the physical scalar quantity generated by the touch movement is used as the power of the preset autonomous motion, and the touch screen displays the process that the object is driven by the power and presets the autonomous motion according to the rules, wherein the preset autonomy is preset. The rules of action are predefined in the electronic device. When the object performs the preset autonomous action according to the rule and reaches the completion state, the electronic device is unlocked.

在本發明之一實施例中,其中物體在開始預設自主動作之前是顯示於初次偵測到觸碰的位置,或顯示於預設位置。In an embodiment of the invention, the object is displayed at the position where the touch is first detected or displayed at the preset position before starting the preset autonomous motion.

在本發明之一實施例中,其中物理純量為觸碰持續存在時所經過之路徑長,此解除鎖定的方法更包括在物體依規則進行預設自主動作的過程中,隨路徑長的增加提高到達完成狀態的進度。In an embodiment of the present invention, wherein the physical scalar quantity is a path length that is passed when the touch persists, the method for unlocking further includes an increase in the path length in the process of the object performing the preset autonomous action according to the rule. Improve the progress to the completion status.

在本發明之一實施例中,此解除鎖定的方法更包括判斷預設自主動作是否具有對應的完成狀態。若否,則在觸碰存在時依據動力的變化改變預設自主動作的快慢。在觸碰消失時,逐漸降低動力並對應減緩預設自主動作,且直到動力消耗完畢時解鎖電子裝置。In an embodiment of the invention, the method of unlocking further comprises determining whether the preset autonomous action has a corresponding completion state. If not, the speed of the preset autonomous action is changed according to the change of the power when the touch is present. When the touch disappears, the power is gradually reduced and the preset autonomous motion is slowed down, and the electronic device is unlocked until the power consumption is completed.

在本發明之一實施例中,其中物理純量為觸碰移動時的速率。In an embodiment of the invention, wherein the physical scalar amount is the rate at which the touch moves.

從另一觀點來看,本發明提出一種電子裝置,包括觸控螢幕、儲存單元,以及處理單元。其中觸控螢幕用以偵測觸碰。儲存單元記錄有預設自主動作的規則。處理單元耦接觸控螢幕與儲存單元。其中觸控螢幕在電子裝置被鎖定而偵測到觸碰時,處理單元將觸碰移動產生的物理純量作為物體開始預設自主動作的動力,並在觸控螢幕顯示物體受動力驅動並依規則進行預設自主動作的過程。當物體依規則進行預設自主動作而到達完成狀態時,處理單元解鎖電子裝置。From another point of view, the present invention provides an electronic device including a touch screen, a storage unit, and a processing unit. The touch screen is used to detect touch. The storage unit records rules for pre-set autonomous actions. The processing unit is coupled to the touch screen and the storage unit. When the touch screen is locked and the touch is detected, the processing unit uses the physical scalar quantity generated by the touch movement as the power of the preset autonomous motion, and displays the object on the touch screen and is driven by the power. Rules perform the process of prescribing autonomous actions. When the object performs the preset autonomous action according to the rule and reaches the completion state, the processing unit unlocks the electronic device.

在本發明之一實施例中,其中物體在開始預設自主動作之前是顯示於初次偵測到觸碰的位置,或顯示於預設位置。In an embodiment of the invention, the object is displayed at the position where the touch is first detected or displayed at the preset position before starting the preset autonomous motion.

在本發明之一實施例中,其中物理純量為觸碰持續存在時所經過之路徑長,處理單元在物體規則進行預設自主動作的過程中,隨路徑長的增加提高到達完成狀態的進度。In an embodiment of the present invention, wherein the physical scalar quantity is a path length that is passed when the touch persists, the processing unit increases the progress of reaching the completion state as the path length increases during the preset autonomous action of the object rule. .

在本發明之一實施例中,其中處理單元判斷預設自主動作是否具有對應的完成狀態。若否,處理單元在觸碰存在時依據動力的變化改變預設自主動作的快慢,以及在觸碰消失時,逐漸降低動力並對應減緩預設自主動作,直到動力消耗完畢時解鎖電子裝置。In an embodiment of the invention, the processing unit determines whether the preset autonomous action has a corresponding completion status. If not, the processing unit changes the speed of the preset autonomous motion according to the change of the power when the touch exists, and gradually reduces the power when the touch disappears and correspondingly slows down the preset autonomous motion until the power consumption is completed to unlock the electronic device.

在本發明之一實施例中,其中物理純量為觸碰移動時的速率。In an embodiment of the invention, wherein the physical scalar amount is the rate at which the touch moves.

從又一觀點來看,本發明提出一種電腦程式產品,當電子裝置載入電腦程式產品並執行後,可完成上述之解除鎖定的方法。From another point of view, the present invention provides a computer program product that can perform the above-described unlocking method after the electronic device is loaded into the computer program product and executed.

基於上述,本發明在電子裝置被鎖定時,偵測使用者觸碰觸控螢幕並移動手指(或輸入工具)的動作來促使解鎖程序的進行。由於解鎖條件不受觸碰之起訖點以及軌跡形狀的限制,因此能增加解鎖操作的彈性。Based on the above, the present invention detects the user's action of touching the touch screen and moving the finger (or inputting the tool) to cause the unlocking process to proceed when the electronic device is locked. Since the unlocking condition is not limited by the starting point of the touch and the shape of the track, the elasticity of the unlocking operation can be increased.

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

圖1是依照本發明之一實施例所繪示之電子裝置的方塊圖。請參閱圖1,電子裝置100包括觸控螢幕110、儲存單元120,以及處理單元130。在本實施例中,電子裝置100可以是手機、個人數位助理、智慧型手機、平板電腦、電子書,或遊戲機等,在此並不對電子裝置100的種類加以限制。1 is a block diagram of an electronic device in accordance with an embodiment of the present invention. Referring to FIG. 1 , the electronic device 100 includes a touch screen 110 , a storage unit 120 , and a processing unit 130 . In this embodiment, the electronic device 100 may be a mobile phone, a personal digital assistant, a smart phone, a tablet computer, an e-book, or a game machine. The type of the electronic device 100 is not limited herein.

觸控螢幕110為電子裝置100的輸入與輸出介面,能顯示電子裝置100的各式操作畫面,並可接收使用者的觸碰操作。舉例來說,觸控螢幕110可以是電阻式觸控螢幕、電容式觸控螢幕、光學式觸控螢幕或電磁式觸控螢幕。The touch screen 110 is an input and output interface of the electronic device 100, and can display various operation screens of the electronic device 100 and can receive a touch operation of the user. For example, the touch screen 110 can be a resistive touch screen, a capacitive touch screen, an optical touch screen, or an electromagnetic touch screen.

儲存單元120可內建於電子裝置100,或透過特定介面外接於電子裝置100。儲存單元120例如是記憶體、硬碟、光碟、記憶卡、隨身碟等。The storage unit 120 can be built in the electronic device 100 or externally connected to the electronic device 100 through a specific interface. The storage unit 120 is, for example, a memory, a hard disk, a compact disc, a memory card, a flash drive, or the like.

處理單元130耦接觸控螢幕110與儲存單元120。在電子裝置100被鎖定時,處理單元130執行本發明之一實施例所述之解除鎖定的方法以將被鎖定的電子裝置100切換為解鎖狀態。在一實施例中,處理單元130可以是中央處理單元或其他可程式化之微處理器。The processing unit 130 is coupled to the touch screen 110 and the storage unit 120. When the electronic device 100 is locked, the processing unit 130 performs a method of unlocking according to an embodiment of the present invention to switch the locked electronic device 100 to an unlocked state. In an embodiment, processing unit 130 may be a central processing unit or other programmable microprocessor.

值得一提的是,在本實施例中,電子裝置100被鎖定是指觸控螢幕110或鍵盤等輸入介面被鎖定,被鎖定的電子裝置100無法根據使用者對觸控螢幕110或鍵盤等輸入介面的操作而執行大多數的功能。在另一實施例中,電子裝置被鎖定則是指電子裝置呈現特定使用者介面,而只能執行由此特定使用者介面所觸發的功能。It is to be noted that, in the embodiment, the electronic device 100 is locked, that is, the input interface such as the touch screen 110 or the keyboard is locked, and the locked electronic device 100 cannot input according to the user's input to the touch screen 110 or the keyboard. Most of the functions are performed by the operation of the interface. In another embodiment, the electronic device being locked means that the electronic device presents a specific user interface and can only perform functions triggered by the specific user interface.

以下將以圖1配合圖2來說明本實施例所述之解除鎖定的方法的各步驟。Hereinafter, each step of the method of unlocking according to the present embodiment will be described with reference to FIG. 2 with reference to FIG.

首先如步驟S210所示,由觸控螢幕110偵測施於觸控螢幕110上任意位置的觸碰。舉例來說,當電子裝置100被鎖定後,觸控螢幕110的觸控感測元件仍可接收來自使用者施於觸控螢幕110表面之任意位置的觸碰並產生對應的信號,而由觸控螢幕110之控制器進行處理(例如,轉換信號格式並嵌入與觸碰位置有關的資訊)後的信號將被傳送至處理單元130。只要觸碰持續存在,對應於觸碰的信號便會不斷地傳送至處理單元130,因此處理單元130可藉由來自觸控螢幕110的信號判斷觸碰是否仍舊存在以及觸碰的位置是否改變。First, as shown in step S210, the touch screen 110 detects a touch applied to any position on the touch screen 110. For example, after the electronic device 100 is locked, the touch sensing component of the touch screen 110 can still receive a touch from any position applied by the user to the surface of the touch screen 110 and generate a corresponding signal. The signal after the controller of the control screen 110 processes (eg, converts the signal format and embeds information related to the touch location) will be transmitted to the processing unit 130. As long as the touch persists, the signal corresponding to the touch is continuously transmitted to the processing unit 130. Therefore, the processing unit 130 can determine whether the touch is still present and whether the touched position is changed by the signal from the touch screen 110.

接著如步驟S220所示,當觸碰移動時,處理單元130以觸碰移動產生的物理純量作為一物體開始預設自主動作的動力。在本實施例中,觸碰必須發生移動才會驅使物體開始預設自主動作,是故倘若使用者只是以手指(或其他輸入工具)持續接觸觸控螢幕110但未移動,物體則因缺乏動力而不會開始進行預設自主動作。必須說明的是,視為動力的物理純量是指無方向性的物理量。舉例來說,物理純量可以是觸碰移動所經過的路徑長,其是使用者以手指(或其他輸入工具)在觸控螢幕110移動時所經過之軌跡的長度,只有大小而與不限制移動的方向。物理純量亦可以是觸碰移動的速率,亦即觸碰在單位時間內所經過的路徑長。或者,物理純量也可以是觸碰在移動時的力道但不論施力之方向。也就是說,任何只有大小而無關方向的物理純量都可被處理單元130取作預設自主動作的動力。在本實施例中,預設自主動作的規則(例如,動作進行的方式、流程等)已預先定義並記錄在電子裝置100的儲存單元120中。Then, as shown in step S220, when the touch moves, the processing unit 130 starts the power of the preset autonomous motion by using the physical scalar quantity generated by the touch movement as an object. In this embodiment, the touch must be moved to drive the object to start the preset autonomous action. Therefore, if the user only continuously touches the touch screen 110 with a finger (or other input tool) but does not move, the object is lack of power. Instead of starting a preset autonomous action. It must be stated that the physical scalar quantity regarded as power refers to the physical quantity of non-directionality. For example, the physical scalar quantity may be the path length of the touch movement, which is the length of the trajectory that the user passes when the touch screen 110 is moved by the finger (or other input tool), and only the size and the limit are not limited. The direction of movement. The physical scalar quantity can also be the rate at which the touch moves, that is, the length of the path that the touch takes in unit time. Alternatively, the physical scalar quantity may also be the force of the touch when moving, regardless of the direction of the force applied. That is to say, any physical scalar quantity having only size and irrelevant direction can be taken as the power of the preset autonomous action by the processing unit 130. In the present embodiment, the rules for autonomously autonomous actions (eg, the manner in which the actions are performed, the flow, etc.) have been previously defined and recorded in the storage unit 120 of the electronic device 100.

接下來如步驟S230所示,處理單元130在觸控螢幕110顯示物體受動力驅動並依儲存單元120所記錄之規則進行預設自主動作的過程。期間,施於觸控螢幕110之觸碰的移動(例如,使用者在觸控螢幕110上滑動手指或其他輸入工具)可持續為物體提供進行預設自主動作的動力,此動力之增減例如會對物體進行預設自主動作的快慢有所影響,例如動力增加則處理單元130使物體加快進行預設自主動作,動力減少則不改變預設自主動作進行的快慢。但需注意的是,物體的預設自主動作是依照儲存單元120所記錄的規則來進行,觸碰的位置變化並不會改變動作進行的方向。換言之,在進行預設自主動作的過程中,物體在觸控螢幕110的顯示位置與目前的觸碰位置無關,因此使用者不需要觸碰物體來使其移動。Next, as shown in step S230, the processing unit 130 displays on the touch screen 110 a process in which the object is driven by the power and performs a preset autonomous action according to the rules recorded by the storage unit 120. During the touch, the movement of the touch on the touch screen 110 (for example, the user sliding a finger or other input tool on the touch screen 110) can continuously provide the object with the power to perform a preset autonomous action, such as increase or decrease of the power. The speed of the preset autonomous motion of the object is affected. For example, when the power is increased, the processing unit 130 accelerates the object to perform the preset autonomous motion, and the power reduction does not change the speed of the preset autonomous motion. It should be noted, however, that the preset autonomous motion of the object is performed according to the rules recorded by the storage unit 120, and the change in the position of the touch does not change the direction in which the motion is performed. In other words, in the process of performing the preset autonomous motion, the display position of the object on the touch screen 110 is independent of the current touch position, so the user does not need to touch the object to move it.

在本實施例中,物體可以是被打亂的拼圖、被打亂的魔術方塊、球。所對應的預設自主動作例如是進行拼圖、復原魔術方塊、令球朝預設目的地移動。進一步來說,進行拼圖的規則包括各拼圖零片的移動順序與擺放位置,而當打亂之拼圖已拼回完整圖案則稱拼圖這個動作到達完成狀態。復原魔術方塊的規則包括各方塊的轉動順序與方向,而當被打亂的魔術方塊已復原至每一面只有一種顏色則稱此動作到達完成狀態。令球朝預設目的地移動的規則包括滾動的路線,而當球到達預設目的地則稱此動作到達完成狀態。然而,上述物體、預設自主動作、規則以及完成狀態僅是為了說明而舉出的範例,本發明並不以此為限。換言之,預設自主動作可以是任何具有完成狀態的動作,而執行此動作的主體便可作為本實施例之物體。In this embodiment, the object may be a scrambled puzzle, a scrambled magic square, or a ball. The corresponding preset autonomous actions are, for example, performing a puzzle, restoring a magic square, and moving the ball toward a preset destination. Further, the rules for performing the puzzle include the moving order and placement position of the pieces of the puzzle, and when the puzzle has been spelled back to the complete pattern, the action of the puzzle is said to have reached the completion state. The rules for restoring the magic square include the rotation order and direction of the blocks, and when the scrambled magic square has been restored to only one color per side, the action is said to have reached the completion state. The rule that moves the ball toward the preset destination includes a scrolling route, and when the ball reaches the preset destination, the action is said to have reached the completion state. However, the above objects, preset autonomous actions, rules, and completion states are merely examples for the sake of explanation, and the present invention is not limited thereto. In other words, the preset autonomous action can be any action having a completed state, and the subject performing the action can be used as the object of the embodiment.

在步驟S240中,處理單元130判斷物體依規則進行預設自主動作是否到達完成狀態。若否,則回到步驟S240反覆進行判斷,直到物體依規則進行預設自主動作而到達完成狀態時,如步驟S250所示,處理單元130解鎖電子裝置100。其中,電子裝置100被解除鎖定後,使用者便能使用電子裝置100所具有的所有功能。In step S240, the processing unit 130 determines whether the object performs the preset autonomous action according to the rule to reach the completion state. If not, the process returns to step S240 to repeat the determination until the object reaches the completion state by the preset autonomous action according to the rule. As shown in step S250, the processing unit 130 unlocks the electronic device 100. After the electronic device 100 is unlocked, the user can use all the functions of the electronic device 100.

如圖2所示,在電子裝置100被鎖定之後,當觸控螢幕110初次偵測到顯示平面上任意位置的觸碰時,一物體準備開始預設自主動作,此時物體在觸控螢幕110上的顯示位置例如是初次觸碰的位置或系統預設位置。一旦觸碰發生移動,處理單元130令物體正式開始依預先定義之規則進行預設自主動作。期間,持續存在之觸碰移動的物理純量可繼續作為預設自主動作的動力,而可以改變物體進行預設自主動作的快慢。只要物體依預先定義之規則到達完成狀態,不論此時觸碰是否仍存在,電子裝置100都將被解除鎖定。換言之,圖2所示之實施例提供一種不限制觸碰之起始與終止位置,同時也不限制觸碰軌跡便能解除電子裝置100之鎖定的操作方法,據此提升解除鎖定的便利性。As shown in FIG. 2, after the electronic device 100 is locked, when the touch screen 110 first detects a touch at any position on the display plane, an object is ready to start a preset autonomous motion, and the object is on the touch screen 110. The display position on the top is, for example, the position of the first touch or the system preset position. Once the touch has moved, the processing unit 130 causes the object to officially begin to perform a predetermined autonomous action in accordance with predefined rules. During this period, the physical scalar quantity of the continuous touch movement can continue to be the power of the preset autonomous motion, and the speed of the object to perform the preset autonomous motion can be changed. As long as the object reaches the completion state according to a predefined rule, the electronic device 100 will be unlocked regardless of whether the touch still exists. In other words, the embodiment shown in FIG. 2 provides an operation method that does not limit the start and end positions of the touch, and does not limit the touch trajectory to unlock the electronic device 100, thereby improving the convenience of unlocking.

圖3A-3C是依照本發明之一實施例所繪示之物體之預設自主動作的示意圖。在本實施例中,被處理單元130視為動力以啟動解鎖程序的物理純量是觸碰持續存在時所經過之路徑長,而物體是球,預設自主動作是令球朝預設目的地移動,完成狀態則是當球到達預設目的地之際。3A-3C are schematic diagrams of preset autonomous actions of an object according to an embodiment of the invention. In this embodiment, the physical scalar quantity that the processing unit 130 considers as power to start the unlocking program is the path length that is passed when the touch persists, and the object is a ball, and the preset autonomous motion is to make the ball toward the preset destination. Move, the completion status is when the ball reaches the preset destination.

如圖3A所示,電子裝置100被鎖定後,當觸控螢幕110初次偵測到使用者以手指31進行的觸碰(可發生在觸控螢幕110的任意位置)時,處理單元130根據觸碰的初始位置S來顯示球33,並且在例如觸控螢幕110的右下角顯示用以表示預設目的地35的圖示。As shown in FIG. 3A, after the electronic device 100 is locked, when the touch screen 110 first detects a touch by the user with the finger 31 (which can occur anywhere in the touch screen 110), the processing unit 130 according to the touch The initial position S of the touch is used to display the ball 33, and an icon for indicating the preset destination 35 is displayed, for example, in the lower right corner of the touch screen 110.

一旦使用者開始在觸控螢幕110上滑動其手指31,會使球33具有向預設目的地35移動的動力並開始移動。如圖3B所示,處理單元130令球33根據預先定義的規則漸漸朝預設目的地35移動,移動的過程會顯示於觸控螢幕110。舉例來說,預先定義之規則包括移動的軌跡R(在圖3B中以虛線標示),基此無論手指31滑動的軌跡P為何,球33均會沿著預設的移動軌跡R朝預設目的地35移動。也就是說,球33移動的方向與手指31滑動的方向無關,在本實施例中不需要由手指31的滑動來控制球33到達預設目的地35,手指31的位置不影響球33移動的軌跡。然而,在球33依預設移動軌跡R而朝向預設目的地35移動的過程中,隨手指31滑動軌跡P的路徑長增加,到達完成狀態(球33到達預設目的地35)的進度也會隨之提高。舉例來說,到達完成狀態的進度可與路徑長的增加成正比,而當路徑長增加至一預設值則立即到達完成狀態。Once the user begins to slide their finger 31 on the touch screen 110, the ball 33 will have the power to move to the preset destination 35 and begin to move. As shown in FIG. 3B, the processing unit 130 causes the ball 33 to gradually move toward the preset destination 35 according to a predefined rule, and the moving process is displayed on the touch screen 110. For example, the predefined rule includes a moving trajectory R (indicated by a broken line in FIG. 3B), and the ball 33 will follow the preset movement trajectory R for a preset purpose regardless of the trajectory P of the finger 31 sliding. Ground 35 moves. That is to say, the direction in which the ball 33 moves is independent of the direction in which the finger 31 slides. In the present embodiment, it is not necessary to control the ball 33 to reach the preset destination 35 by the sliding of the finger 31, and the position of the finger 31 does not affect the movement of the ball 33. Track. However, in the process in which the ball 33 moves toward the preset destination 35 in accordance with the preset movement trajectory R, the path length of the sliding track P with the finger 31 increases, and the progress of reaching the completion state (the ball 33 reaches the preset destination 35) is also progressed. Will increase accordingly. For example, the progress to the completion state may be proportional to the increase in the path length, and the path state will immediately reach the completion state when the path length is increased to a preset value.

如圖3C所示,只要球33到達預設目的地35,不論此時手指31是否仍觸碰著觸控螢幕110或是否還在滑動,電子裝置100都會被解鎖。As shown in FIG. 3C, as long as the ball 33 reaches the preset destination 35, the electronic device 100 will be unlocked regardless of whether the finger 31 still touches the touch screen 110 or is still sliding.

如圖3B、3C所示,觸控螢幕110所顯示的畫面內容可用來暗示使用者目前解鎖進行的程度,但畫面內容並非用來指示使用者如何進行解鎖操作。As shown in FIG. 3B and FIG. 3C, the screen content displayed on the touch screen 110 can be used to indicate the extent to which the user is currently unlocked, but the screen content is not used to indicate how the user performs the unlocking operation.

在本發明的另一實施例中,電子裝置100可提供更多樣化的解鎖方式。圖4是依照本發明之另一實施例所繪示之解除鎖定的方法的流程圖。請同時參閱圖1與圖4,然由於圖4之步驟S410至步驟S430與圖2之步驟S210至步驟S230相同或相似,故在此不再贅述。In another embodiment of the present invention, the electronic device 100 can provide a more diverse unlocking method. 4 is a flow chart of a method of unlocking according to another embodiment of the present invention. Please refer to FIG. 1 and FIG. 4 at the same time. However, since steps S410 to S430 of FIG. 4 are the same as or similar to steps S210 to S230 of FIG. 2, details are not described herein again.

在本實施例中,如步驟S440所示,處理單元130判斷預設自主動作是否具有對應的完成狀態。舉例來說,儲存單元120會記錄預設自主動作的規則,處理單元130能據此判斷預設自主動作是否具有完成狀態。進一步而言,不具完成狀態的預設自主動作例如是在動力存在的情況下不會停止而可以持續或循環進行的動作,例如滾動藏族喇嘛廟的祈福圓筒、甩動骰子等。而對應的規則例如是祈福圓筒轉動的方向、骰子甩動的幅度等。In this embodiment, as shown in step S440, the processing unit 130 determines whether the preset autonomous action has a corresponding completion state. For example, the storage unit 120 records the rules of the preset autonomous action, and the processing unit 130 can determine whether the preset autonomous action has a completed state. Further, the preset autonomous action that does not have a completed state is, for example, an action that can be continued or circulated without stopping in the presence of power, such as rolling a prayer cylinder of a Tibetan lama temple, inciting a scorpion, and the like. The corresponding rules are, for example, the direction in which the blessing cylinder rotates, the amplitude of the scorpion swaying, and the like.

若預設自主動作不具有完成狀態,則在步驟S460中,處理單元130判斷觸碰是否存在。亦即,判斷使用者是否將手指或輸入工具自觸控螢幕110移開。If the preset autonomous action does not have a completed state, then in step S460, the processing unit 130 determines whether the touch exists. That is, it is determined whether the user removes the finger or the input tool from the touch screen 110.

若觸碰仍存在,在步驟S465中,處理單元130依據動力的變化改變預設自主動作的快慢。例如,當動力增加時則加快進行預設自主動作,動力減少時則令預設自主動作漸緩。接著回到步驟S460再次判斷觸碰是否還存在。If the touch still exists, in step S465, the processing unit 130 changes the speed of the preset autonomous action according to the change of the power. For example, when the power is increased, the preset autonomous motion is accelerated, and when the power is reduced, the preset autonomous motion is gradually slowed down. Next, returning to step S460, it is again determined whether the touch still exists.

倘若觸碰已經消失,此時應存在殘留之動力,故接下來如步驟S470所示,處理單元130逐漸降低動力並對應減緩預設自主動作。此舉是模擬自然界中處於動態的物體因摩擦力消耗動力而減緩其動作。If the touch has disappeared, there should be residual power at this time, so as shown in step S470, the processing unit 130 gradually reduces the power and correspondingly slows down the preset autonomous action. The move is to simulate a dynamic object in nature that slows its action due to frictional power consumption.

接著在步驟S480中,處理單元130判斷動力是否消耗完畢。若否,則回到步驟S470。本實施例將重複步驟S470至S480,直到處理單元130判斷動力已消耗完畢時,則如步驟S490所示,處理單元130解鎖電子裝置100。Next, in step S480, the processing unit 130 determines whether the power is consumed. If no, the process returns to step S470. In this embodiment, steps S470 to S480 are repeated until the processing unit 130 determines that the power has been consumed. Then, as shown in step S490, the processing unit 130 unlocks the electronic device 100.

請回到步驟S440,倘若預設自主動作具有完成狀態,接著反覆在步驟S450中判斷物體依規則進行預設自主動作而是否到達完成狀態,直到到達完成狀態時,如步驟S490所示,處理單元130解鎖電子裝置100。由於步驟S450以及步驟S490與圖2之步驟S240與步驟S250相似,故在此不再贅述。Please return to step S440, if the preset autonomous action has a completed state, and then repeatedly determine in step S450 whether the object performs the preset autonomous action according to the rule and reaches the completion state until the completion state is reached, as shown in step S490, the processing unit 130 unlocks the electronic device 100. Since step S450 and step S490 are similar to step S240 and step S250 of FIG. 2, they are not described herein again.

在本實施例中,針對不具有完成狀態的預設自主動作,是以持續存在之觸碰在移動時產生的物理純量做為動力來驅使物體進行預設自主動作。一旦使用者停止觸碰觸控螢幕110,處理單元130令物體繼續動作直到動力消耗完畢為止。當動力消耗完畢之際才解除電子裝置100的鎖定。In the present embodiment, for a preset autonomous motion that does not have a completed state, the physical autonomous amount generated by the continuous touch is used as a driving force to drive the object to perform a preset autonomous motion. Once the user stops touching the touch screen 110, the processing unit 130 causes the object to continue to operate until the power consumption is completed. The locking of the electronic device 100 is released when the power consumption is completed.

圖5A-5C是依照本發明之另一實施例所繪示之物體之預設自主動作的示意圖。在本實施例中,被處理單元130視為動力以啟動解鎖程序的物理純量是觸碰移動時的速率,物體為藏族喇嘛廟的祈福圓筒,預設自主動作是滾動祈福圓筒,而規則是以逆時針方向滾動祈福圓筒。5A-5C are schematic diagrams showing preset autonomous actions of an object according to another embodiment of the present invention. In this embodiment, the physical scalar quantity that the processing unit 130 considers as the power to start the unlocking program is the speed when the touch moves, the object is the prayer cylinder of the Tibetan Lama Temple, and the preset autonomous motion is the rolling prayer cylinder, and The rule is to scroll the blessing cylinder counterclockwise.

如圖5A所示,在電子裝置100被鎖定的狀態下,當使用者以手指51觸碰觸控螢幕110,處理單元130在觸控螢幕110的預設位置顯示祈福圓筒53。在另一實施例中,處理單元130以可在偵測到手指51的觸碰之前便於觸控螢幕110顯示祈福圓筒53。As shown in FIG. 5A, in a state where the electronic device 100 is locked, when the user touches the touch screen 110 with the finger 51, the processing unit 130 displays the prayer cylinder 53 at a preset position of the touch screen 110. In another embodiment, the processing unit 130 facilitates the display of the blessing cylinder 53 by the touch screen 110 before detecting the touch of the finger 51.

一旦手指51開始在觸控螢幕110上滑動,如圖5B所示,處理單元130以觸碰移動的速率決定動力,並令祈福圓筒53以逆時針方向開始滾動。必須說明的是,圖5A、5B所示之觸碰的初始位置S僅是為了說明舉出的範例,使用者可觸碰觸控螢幕110上的任何位置並移動手指51以驅使祈福圓筒53開始滾動。在本實施例中,祈福圓筒53不會隨手指51滑動的軌跡P而改變其顯示位置,但隨著單位時間內滑動軌跡P之路徑長的變化(亦即,速率的變化),祈福圓筒53滾動的快慢也可隨之改變。Once the finger 51 begins to slide on the touch screen 110, as shown in FIG. 5B, the processing unit 130 determines the power at the rate of the touch movement and causes the prayer cylinder 53 to start scrolling in the counterclockwise direction. It should be noted that the initial position S of the touch shown in FIGS. 5A and 5B is only for illustrative examples. The user can touch any position on the touch screen 110 and move the finger 51 to drive the prayer cylinder 53. Start scrolling. In the present embodiment, the prayer cylinder 53 does not change its display position with the trajectory P of the finger 51 sliding, but with the change of the path length of the sliding trajectory P per unit time (that is, the change of the rate), the blessing circle The speed at which the barrel 53 rolls can also change.

倘若使用者將手指51自觸控螢幕110移開,如圖5C所示,在動力消耗完畢之前,祈福圓筒53仍會以逆時針方向滾動,然隨動力的減少滾動也越慢,直到動力完全消耗完畢時,祈福圓筒53停止滾動且解除電子裝置100的鎖定。If the user removes the finger 51 from the touch screen 110, as shown in FIG. 5C, before the power consumption is completed, the prayer cylinder 53 will still roll in a counterclockwise direction, but the rotation will be slower as the power is reduced until the power is turned. When the complete consumption is completed, the prayer cylinder 53 stops scrolling and unlocks the electronic device 100.

在本發明的一實施例中,處理單元130可包括動力決定單元(未繪示),以根據觸控螢幕110上觸碰移動產生的物理純量決定動力之大小。例如,動力決定單元可透過查表方式決定動力,或利用負責運算的邏輯閘計算動力之大小。處理單元130還可包括物體作動單元(未繪示)與畫面管理單元(未繪示),其中物體作動單元根據動力計算物體如何依規則進行預設自主動作,並由畫面管理單元將進行預設自主動作的過程顯示在觸控螢幕110。處理單元130更可包括解鎖單元(未繪示),以在物體到達完成狀態時解除電子裝置100的鎖定。In an embodiment of the invention, the processing unit 130 may include a power determining unit (not shown) to determine the magnitude of the power according to the physical scalar quantity generated by the touch movement on the touch screen 110. For example, the power decision unit can determine the power by looking up the table, or calculate the power by using the logic gate responsible for the operation. The processing unit 130 may further include an object actuation unit (not shown) and a picture management unit (not shown), wherein the object actuation unit calculates a preset autonomous motion according to the rules according to the dynamics, and the preset is performed by the picture management unit. The process of autonomous motion is displayed on the touch screen 110. The processing unit 130 further includes an unlocking unit (not shown) to release the locking of the electronic device 100 when the object reaches the completed state.

本發明另提供一種電腦程式產品,其係用以執行上述解除鎖定的方法。此電腦程式產品基本上是由數個程式指令所組成(例如設定程式指令或部署程式指令等等),在將這些程式指令載入電子裝置並執行之後,即可完成上述解除鎖定的方法的各步驟。The present invention further provides a computer program product for performing the above method of unlocking. The computer program product basically consists of a plurality of program instructions (such as setting program instructions or deploying program instructions, etc.), and after loading the program instructions into the electronic device and executing them, each of the methods for unlocking the above can be completed. step.

綜上所述,本發明所述之電子裝置及其解除鎖定的方法是根據在觸控螢幕上任意位置的滑動來提供動力以啟動解鎖程序,並將表示解鎖程序之進度的畫面顯示於觸控螢幕,然而畫面上物體的位置不受當前觸碰位置的影響,當物體進行預設自主動作而到達完成狀態或動力消耗完畢時,便解除電子裝置的鎖定。基此,使用者不需要依循預定的觸碰手勢便能以更便利且具有彈性的方式解除電子裝置的鎖定。In summary, the electronic device and the method for unlocking the same according to the present invention provide power to start an unlocking program according to sliding at any position on the touch screen, and display a screen indicating the progress of the unlocking program on the touch. The screen, however, the position of the object on the screen is not affected by the current touch position. When the object performs the preset autonomous motion and reaches the completion state or the power consumption is completed, the electronic device is unlocked. Accordingly, the user can unlock the electronic device in a more convenient and flexible manner without following a predetermined touch gesture.

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

100...電子裝置100. . . Electronic device

110...觸控螢幕110. . . Touch screen

120...儲存單元120. . . Storage unit

130...處理單元130. . . Processing unit

S210~S250...本發明之一實施例所述之解除鎖定的方法的各步驟S210~S250. . . Each step of the method of unlocking according to an embodiment of the present invention

31、51...手指31, 51. . . finger

33...球33. . . ball

35...預設目的地35. . . Default destination

S...初始位置S. . . initial position

P...滑動的軌跡P. . . Sliding track

R...移動的軌跡R. . . Moving track

S410~S490...本發明之另一實施例所述之解除鎖定的方法的各步驟S410~S490. . . Steps of the method for unlocking according to another embodiment of the present invention

53...祈福圓筒53. . . Prayer cylinder

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

圖2是依照本發明之一實施例所繪示之解除鎖定的方法的流程圖。2 is a flow chart of a method of unlocking according to an embodiment of the invention.

圖3A-3C是依照本發明之一實施例所繪示之物體之預設自主動作的示意圖。3A-3C are schematic diagrams of preset autonomous actions of an object according to an embodiment of the invention.

圖4是依照本發明之另一實施例所繪示之解除鎖定的方法的流程圖。4 is a flow chart of a method of unlocking according to another embodiment of the present invention.

圖5A-5C是依照本發明之另一實施例所繪示之物體之預設自主動作的示意圖。5A-5C are schematic diagrams showing preset autonomous actions of an object according to another embodiment of the present invention.

S210~S250‧‧‧本發明之一實施例所述之解除鎖定的方法的各步驟S210~S250‧‧‧ steps of the method for unlocking according to an embodiment of the present invention

Claims (9)

一種解除鎖定的方法,用於具有一觸控螢幕且被鎖定的一電子裝置,該方法包括:偵測施於該觸控螢幕上一任意位置的一觸碰;當該觸碰移動時,以該觸碰移動產生的一物理純量作為一物體開始一預設自主動作的一動力,其中該預設自主動作的一規則是預先定義於該電子裝置;在該觸控螢幕顯示該物體受該動力驅動並依該規則進行該預設自主動作的過程;判斷該預設自主動作是否具有對應的一完成狀態;若否,則在該觸碰存在時依據該動力的變化改變該預設自主動作的快慢;以及在該觸碰消失時,逐漸降低該動力並對應減緩該預設自主動作,且直到該動力消耗完畢時解鎖該電子裝置;以及若是,當該物體依該規則進行該預設自主動作而到達該完成狀態時,解鎖該電子裝置。 A method for unlocking an electronic device having a touch screen and being locked, the method comprising: detecting a touch applied to an arbitrary position on the touch screen; when the touch is moving, A physical scalar quantity generated by the touch movement is used as an object to start a predetermined autonomous motion, wherein a rule of the preset autonomous motion is predefined in the electronic device; and the touch screen displays the object Dynamically driving and performing the preset autonomous action according to the rule; determining whether the preset autonomous action has a corresponding completion state; if not, changing the preset autonomous action according to the change of the power when the touch exists And slowing down; and when the touch disappears, gradually reducing the power and correspondingly slowing down the predetermined autonomous action, and unlocking the electronic device until the power consumption is completed; and if so, when the object performs the preset autonomy according to the rule When the action reaches the completion state, the electronic device is unlocked. 如申請專利範圍第1項所述之解除鎖定的方法,其中該物體在開始該預設自主動作之前是顯示於初次偵測到該觸碰的位置或顯示於一預設位置。 The method for unlocking according to claim 1, wherein the object is displayed at a position where the touch is first detected or displayed at a preset position before starting the preset autonomous action. 如申請專利範圍第1項所述之解除鎖定的方法,其中該物理純量為該觸碰持續存在時所經過之一路徑長,該方法更包括:在該物體依該規則進行該預設自主動作的過程中,隨該路徑長的增加提高到達該完成狀態的一進度。 The method for unlocking according to claim 1, wherein the physical scalar quantity is one of a path length that is passed when the touch persists, and the method further comprises: performing the preset autonomy according to the rule in the object. During the action, as the path length increases, a progress to the completion state is increased. 如申請專利範圍第1項所述之解除鎖定的方法,其中該物理純量為該觸碰移動時的一速率。 The method of unlocking as described in claim 1, wherein the physical scalar quantity is a rate at which the touch moves. 一種電子裝置,包括:一觸控螢幕,以偵測一觸碰;一儲存單元,以記錄一預設自主動作的一規則;一處理單元,耦接該觸控螢幕與該儲存單元,其中該觸控螢幕在該電子裝置被鎖定而偵測到該觸碰時,該處理單元將該觸碰移動產生的一物理純量作為一物體開始該預設自主動作的一動力,並在該觸控螢幕顯示該物體受該動力驅動並依該規則進行該預設自主動作的過程,以及判斷該預設自主動作是否具有對應的一完成狀態,若否,該處理單元在該觸碰存在時依據該動力的變化改變該預設自主動作的快慢,以及在該觸碰消失時,逐漸降低該動力並對應減緩該預設自主動作,直到該動力消耗完畢時解鎖該電子裝置,若是,當該物體依該規則進行該預設自主動作而到達該完成狀態時,該處理單元解鎖該電子裝置。 An electronic device includes: a touch screen to detect a touch; a storage unit to record a predetermined autonomous motion; a processing unit coupled to the touch screen and the storage unit, wherein the When the electronic device is locked and the touch is detected, the processing unit starts a physical scalar amount generated by the touch movement as an object to start a dynamic of the preset autonomous motion, and the touch is The screen displays a process in which the object is driven by the power and performs the preset autonomous action according to the rule, and determines whether the preset autonomous action has a corresponding completion state, and if not, the processing unit according to the The change of the power changes the speed of the preset autonomous action, and when the touch disappears, gradually reduces the power and correspondingly slows down the preset autonomous action until the power consumption is completed, the electronic device is unlocked, and if so, when the object is When the rule performs the preset autonomous action and reaches the completed state, the processing unit unlocks the electronic device. 如申請專利範圍第5項所述之電子裝置,其中該物體在開始該預設自主動作之前是顯示於初次偵測到該觸碰的位置或顯示於一預設位置。 The electronic device of claim 5, wherein the object is displayed at a position where the touch is first detected or displayed at a preset position before starting the preset autonomous action. 如申請專利範圍第5項所述之電子裝置,其中該物理純量為該觸碰持續存在時所經過之一路徑長,該處理單元在該物體依該規則進行該預設自主動作的過程中,隨該路徑長的增加提高到達該完成狀態的一進度。 The electronic device of claim 5, wherein the physical scalar quantity is a path length that is passed when the touch persists, and the processing unit performs the preset autonomous action according to the rule according to the rule. A progress toward the completion state is increased as the path length increases. 如申請專利範圍第5項所述之電子裝置,其中該物理純量為該觸碰移動時的一速率。 The electronic device of claim 5, wherein the physical scalar quantity is a rate at which the touch moves. 一種電腦程式產品,當一電子裝置載入該電腦程式產品並執行後,可完成如申請專利範圍第1至4項中任一項所述之解除鎖定的方法。 A computer program product, when an electronic device is loaded into the computer program product and executed, the method for unlocking as described in any one of claims 1 to 4 can be completed.
TW101110791A 2012-03-28 2012-03-28 Electronic device unlock method thereof and computer prigram product TWI522776B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101110791A TWI522776B (en) 2012-03-28 2012-03-28 Electronic device unlock method thereof and computer prigram product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101110791A TWI522776B (en) 2012-03-28 2012-03-28 Electronic device unlock method thereof and computer prigram product

Publications (2)

Publication Number Publication Date
TW201339801A TW201339801A (en) 2013-10-01
TWI522776B true TWI522776B (en) 2016-02-21

Family

ID=49770906

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101110791A TWI522776B (en) 2012-03-28 2012-03-28 Electronic device unlock method thereof and computer prigram product

Country Status (1)

Country Link
TW (1) TWI522776B (en)

Also Published As

Publication number Publication date
TW201339801A (en) 2013-10-01

Similar Documents

Publication Publication Date Title
JP6429981B2 (en) Classification of user input intent
US10035063B2 (en) Game controller on mobile touch-enabled devices
EP2502130B1 (en) System and method of controlling three dimensional virtual objects on a portable computing device
US20120169776A1 (en) Method and apparatus for controlling a zoom function
KR102052771B1 (en) Cross-slide gesture to select and rearrange
TWI426416B (en) Touch-sensitive depressible button and method ,computer readable storage medium, and computing system for the same
US9772743B1 (en) Implementation of a movable control pad on a touch enabled device
US20100182264A1 (en) Mobile Device Equipped With Touch Screen
US20150160849A1 (en) Bezel Gesture Techniques
US20130239058A1 (en) Handheld devices and controlling methods using the same
JP2014510337A (en) Information display device including at least two touch screens and information display method thereof
TWI540492B (en) Electronic device and electronic device controlling method
US9201587B2 (en) Portable device and operation method thereof
JP2016134052A (en) Interface program and game program
JP2016129579A (en) Interface program and game program
US8907903B2 (en) Handing control of an object from one touch input to another touch input
WO2015039434A1 (en) Terminal, and terminal control method and device
TWI522776B (en) Electronic device unlock method thereof and computer prigram product
KR20170003689A (en) Method and apparatus for controlling automatic rotation of screen, and terminal
JP6530186B2 (en) Game program
CN110249289A (en) The input equipment and method for rolling and being input to application program are provided
CN103365583B (en) Electronic installation and the method unlocked thereof
TWI494791B (en) Method of determining gestures for touch device
JP6114886B2 (en) Information processing apparatus, control method for information processing apparatus, and control program
TWI598800B (en) Hand-held device and method of adjusting display screen