TW201430613A - Electronic device having touch screen and screen uncocking method thereof - Google Patents

Electronic device having touch screen and screen uncocking method thereof Download PDF

Info

Publication number
TW201430613A
TW201430613A TW102103372A TW102103372A TW201430613A TW 201430613 A TW201430613 A TW 201430613A TW 102103372 A TW102103372 A TW 102103372A TW 102103372 A TW102103372 A TW 102103372A TW 201430613 A TW201430613 A TW 201430613A
Authority
TW
Taiwan
Prior art keywords
unlocking
screen
distance value
touch screen
user
Prior art date
Application number
TW102103372A
Other languages
Chinese (zh)
Inventor
Yi-Te Wei
Original Assignee
Hon Hai Prec Ind 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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW102103372A priority Critical patent/TW201430613A/en
Publication of TW201430613A publication Critical patent/TW201430613A/en

Links

Landscapes

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

Abstract

An electronic device includes a touch screen, a mechanical key, a storage unit, and a processor is provided. The storage unit stores a predetermined distance value and a predetermined distance value range. The mechanical key is used for generating a signal when being depressed. The touch screen generates screen unlocking signals in response to a user's screen unlocking operation. The processor includes a display control module, a determination module, and an unlocking module. The display control module displays an unlocking interface including unlocking icons on the touch screen. The determination module determines whether the absolute value of the changed distance value between two of the unlocking icons reaches the predetermined distance value or falls within the predetermined distance value range. If yes, the unlocking module unlocks the touch screen. A screen unlocking method is also provided.

Description

具有觸摸屏的電子設備及其螢幕解鎖方法Electronic device with touch screen and screen unlocking method thereof

本發明涉及一種電子設備及其螢幕解鎖方法,尤其涉及一種具有觸摸屏的電子設備及其螢幕解鎖方法。The present invention relates to an electronic device and a screen unlocking method thereof, and more particularly to an electronic device having a touch screen and a screen unlocking method thereof.

隨著觸摸技術的發展,具有觸摸屏的電子設備已經成為廣大消費者不可或缺的使用工具,如具有觸摸屏的手機、平板電腦等可擕式電子設備。這些電子設備螢幕的加解鎖一般通過觸摸觸摸屏上的指定區域、觸摸滑動一圖示至預設區域,或按照一預設的路徑滑動一圖示至預設區域來實現,然而,上述方式操作較為繁瑣,且使用較為普遍,無法滿足用戶的需求。With the development of touch technology, electronic devices with touch screens have become indispensable tools for consumers, such as portable electronic devices such as mobile phones and tablet computers with touch screens. The unlocking of the screens of the electronic devices is generally performed by touching a specified area on the touch screen, touching the slide to a preset area, or sliding a preset to a preset area according to a preset path. However, the above operation is relatively simple. It is cumbersome and widely used, and cannot meet the needs of users.

有鑒於此,有必要提供一種用於具有觸摸屏的電子設備的螢幕解鎖方法,用戶可通過觸摸操作更方便的對螢幕解鎖,以解決上述問題。In view of the above, it is necessary to provide a screen unlocking method for an electronic device having a touch screen, and the user can unlock the screen more conveniently by a touch operation to solve the above problem.

有鑒於此,還有必要提供一種採用上述螢幕解鎖方法的電子設備,以解決上述問題。In view of this, it is also necessary to provide an electronic device using the above-described screen unlocking method to solve the above problem.

一種電子設備,包括觸摸屏、物理按鍵、存儲單元和處理器。所述物理按鍵用於在被按壓時產生一觸發信號。所述觸摸屏用於回應用戶的解鎖螢幕操作而產生螢幕解鎖信號。所述存儲單元存儲有用戶預先設定的用於進行螢幕解鎖的預設距離值和預設距離範圍。所述處理器包括一顯示控制模組、一判斷模組和一解鎖模組。顯示控制模組用於回應所述觸發信號,將一解鎖操作介面顯示於所述觸摸屏,所述解鎖操作介面上顯示有至少一解鎖圖標。判斷模組用於根據所述螢幕解鎖信號判斷用戶滑動解鎖介面上的一或兩個解鎖圖標後,所述兩解鎖圖標的滑動後距離值與所述兩解鎖圖標的初始距離值的差值的絕對值是否達到所述預設距離值或者是否落入所述預設距離範圍。解鎖模組用於當用戶滑動解鎖介面上的一或兩個解鎖圖標後,所述兩解鎖圖標的滑動後距離值與所述兩解鎖圖標的初始距離值的差值的絕對值達到所述預設距離值或者落入所述預設距離範圍時,將所述觸摸屏解鎖。An electronic device includes a touch screen, physical buttons, a storage unit, and a processor. The physical button is used to generate a trigger signal when pressed. The touch screen is configured to generate a screen unlock signal in response to a user unlocking a screen operation. The storage unit stores a preset distance value and a preset distance range preset for the user to perform screen unlocking. The processor includes a display control module, a determination module and an unlock module. The display control module is configured to respond to the trigger signal, and display an unlocking operation interface on the touch screen, and the unlocking operation interface displays at least one unlocking icon. The determining module is configured to determine, after the one or two unlocking icons on the sliding unlocking interface of the user, the difference between the sliding distance value of the two unlocking icons and the initial distance value of the two unlocking icons, according to the screen unlocking signal Whether the absolute value reaches the preset distance value or whether it falls within the preset distance range. The unlocking module is configured to: when the user slides one or two unlocking icons on the unlocking interface, the absolute value of the difference between the sliding distance value of the two unlocking icons and the initial distance value of the two unlocking icons reaches the pre-predetermined value When the distance value is set or falls within the preset distance range, the touch screen is unlocked.

一種螢幕解鎖方法,用於包括觸摸屏和物理按鍵的電子設備。所述物理按鍵用於在被按壓時產生一觸發信號。所述方法包括如下步驟:將一解鎖操作介面顯示於所述觸摸屏,所述解鎖操作介面上顯示有至少一解鎖圖標;所述觸摸屏回應用戶的解鎖螢幕操作而產生螢幕解鎖信號;根據所述螢幕解鎖信號判斷用戶滑動解鎖介面上的一或兩個解鎖圖標後,所述兩解鎖圖標的滑動後距離值與所述兩解鎖圖標的初始距離值的差值的絕對值是否達到所述預設距離值或者是否落入所述預設距離範圍;及當用戶滑動解鎖介面上的一或兩個解鎖圖標後,所述兩解鎖圖標的滑動後距離值與所述兩解鎖圖標的初始距離值的差值的絕對值達到所述預設距離值或者落入所述預設距離範圍時,將所述觸摸屏解鎖。A screen unlocking method for an electronic device including a touch screen and physical buttons. The physical button is used to generate a trigger signal when pressed. The method includes the following steps: displaying an unlocking operation interface on the touch screen, and displaying, by the unlocking operation interface, at least one unlocking icon; the touch screen generating a screen unlocking signal in response to the unlocking operation of the user; according to the screen After the unlocking signal determines one or two unlocking icons on the sliding unlocking interface of the user, whether the absolute value of the difference between the sliding distance value of the two unlocking icons and the initial distance value of the two unlocking icons reaches the preset distance Whether the value falls within the preset distance range; and the difference between the sliding distance value of the two unlocking icons and the initial distance value of the two unlocking icons after the user slides one or two unlocking icons on the unlocking interface The touch screen is unlocked when the absolute value of the value reaches the preset distance value or falls within the preset distance range.

相對於現有技術,上述電子設備及其螢幕解鎖方法,當觸摸屏上顯示解鎖操作介面時,用戶只需滑動觸摸屏上顯示的一或兩個解鎖圖標,使得該兩個解鎖圖標之間的距離變化值的絕對值達到一預設距離值或落入一預設距離範圍內時,即該兩個解鎖圖標之間的滑動後距離值與滑動前的初始距離值之間的絕對值達到該預設距離值或落入該預設距離範圍內時,即可解鎖觸摸屏。Compared with the prior art, the electronic device and the screen unlocking method thereof, when the unlocking operation interface is displayed on the touch screen, the user only needs to slide one or two unlocking icons displayed on the touch screen, so that the distance between the two unlocking icons changes. When the absolute value reaches a preset distance value or falls within a preset distance range, that is, the absolute value between the sliding distance value between the two unlocking icons and the initial distance value before sliding reaches the preset distance When the value falls within the preset distance range, the touch screen can be unlocked.

100...電子設備100. . . Electronic equipment

10...存儲單元10. . . Storage unit

20...觸摸屏20. . . touch screen

21...解鎖操作介面twenty one. . . Unlock the operation interface

30...處理器30. . . processor

31...判斷模組31. . . Judging module

32...解鎖模組32. . . Unlock module

33...顯示控制模組33. . . Display control module

34...設置模組34. . . Setting module

40...物理按鍵40. . . Physical button

210、A、B、C、K、A’、B’、C’...解鎖圖標210, A, B, C, K, A', B', C'. . . Unlock icon

211...解鎖提示框211. . . Unlock prompt

d0...初始距離值D0. . . Initial distance value

d1...滑動後距離值D1. . . Sliding distance value

步驟S61...根據物理按鍵回應用戶操作產生的解鎖觸發信號控制將一解鎖操作介面顯示於觸摸屏Step S61. . . Displaying an unlocking operation interface on the touch screen according to the unlocking trigger signal generated by the physical button in response to the user operation

步驟S62...回應用戶的解鎖螢幕操作而產生一螢幕解鎖信號Step S62. . . Respond to the user's unlock screen operation to generate a screen unlock signal

步驟S63...判斷用戶滑動解鎖操作面上的解鎖圖標後,該兩解鎖圖標的滑動後距離值與初始距離值的差值的絕對值是否達到預設距離值?Step S63. . . After determining whether the unlocking icon on the sliding operation surface of the user is unlocked, does the absolute value of the difference between the sliding distance value of the two unlocking icons and the initial distance value reach the preset distance value?

步驟S64...將觸摸屏解鎖Step S64. . . Unlock the touch screen

步驟S65...控制觸摸屏顯示電子設備的一用戶使用介面Step S65. . . Controlling a user interface of a touch screen display electronic device

圖1為本發明一實施方式的電子設備的功能模組圖。1 is a functional block diagram of an electronic device according to an embodiment of the present invention.

圖2為圖1所示的電子設備的一實施方式中的解鎖操作介面的示意圖。2 is a schematic diagram of an unlocking operation interface in an embodiment of the electronic device shown in FIG. 1.

圖3為圖2所示的實施方式中的電子設備的解鎖操作介面示意圖。FIG. 3 is a schematic diagram of an unlocking operation interface of the electronic device in the embodiment shown in FIG. 2. FIG.

圖4為圖1所示的電子設備的另一實施方式的解鎖操作介面的示意圖。4 is a schematic diagram of an unlocking operation interface of another embodiment of the electronic device shown in FIG. 1.

圖5為圖4所示的實施方式中的電子設備的解鎖操作介面示意圖。FIG. 5 is a schematic diagram of an unlocking operation interface of the electronic device in the embodiment shown in FIG. 4. FIG.

圖6為本發明中電子設備的螢幕解鎖方法的步驟流程圖。6 is a flow chart showing the steps of a method for unlocking a screen of an electronic device according to the present invention.

請參閱圖1,其為本發明的一實施方式的電子設備100的功能模組圖。用戶通過將電子設備100的觸摸屏上的兩解鎖圖標分別滑動至使兩者之間的距離變化值達到一預設距離值或落入一預設距離範圍內,或滑動電子設備100的觸摸屏上的一解鎖圖標至與一預設解鎖圖標的距離變化值達到一預設距離值或落入一預設距離範圍內,即可將電子設備100的螢幕解鎖。在本實施方式中,電子設備100為一具有觸摸屏20的移動通信終端如手機,在其他實施方式中,電子設備100還可以是平板電腦、個人數位助理、電子閱讀器等具有觸摸屏的電子設備。Please refer to FIG. 1 , which is a functional block diagram of an electronic device 100 according to an embodiment of the present invention. The user slides the two unlock icons on the touch screen of the electronic device 100 to make the distance change value between the two reach a preset distance value or fall within a preset distance range, or slide on the touch screen of the electronic device 100. The screen of the electronic device 100 can be unlocked when the unlocking icon reaches a predetermined distance value or falls within a predetermined distance range from the preset unlocking icon. In the embodiment, the electronic device 100 is a mobile communication terminal having a touch screen 20, such as a mobile phone. In other embodiments, the electronic device 100 may also be a touch screen electronic device such as a tablet computer, a personal digital assistant, or an electronic reader.

電子設備100包括一存儲單元10、一觸摸屏20、一處理器30和一物理按鍵40。存儲單元10存儲了用戶預先設定的用於進行螢幕解鎖的一預設距離值,例如該預設距離值為M。處理器30包括一判斷模組31、一解鎖模組32、一顯示控制模組33和一設置模組34。在本實施方式中,當物理按鍵40被按下時,生成一觸發信號並傳輸至處理器30,處理器30即可根據該觸發信號喚醒或鎖定電子設備100,顯示控制模組33則回應該觸發信號控制觸摸屏20顯示一解鎖操作介面21。如圖2和圖4所示,該解鎖操作介面21包括至少一個解鎖圖標210和一解鎖提示框211。解鎖提示框211用於提示用戶滑動解鎖操作介面上的一或多個解鎖圖標以解鎖。該至少一個解鎖圖標210包括至少一供用戶滑動以解鎖的解鎖圖標。該至少一解鎖圖標210的形狀和個數可以根據需要設置,還可以不設置解鎖提示框211。The electronic device 100 includes a storage unit 10, a touch screen 20, a processor 30, and a physical button 40. The storage unit 10 stores a preset distance value preset by the user for performing screen unlocking, for example, the preset distance value is M. The processor 30 includes a determination module 31, an unlocking module 32, a display control module 33, and a setting module 34. In this embodiment, when the physical button 40 is pressed, a trigger signal is generated and transmitted to the processor 30, and the processor 30 can wake up or lock the electronic device 100 according to the trigger signal, and the display control module 33 responds. The trigger signal controls the touch screen 20 to display an unlocking operation interface 21. As shown in FIG. 2 and FIG. 4, the unlocking operation interface 21 includes at least one unlocking icon 210 and an unlocking prompting frame 211. The unlocking prompt box 211 is used to prompt the user to slide one or more unlocking icons on the unlocking operation interface to unlock. The at least one unlock icon 210 includes at least one unlock icon for the user to slide to unlock. The shape and the number of the at least one unlocking icon 210 may be set as needed, and the unlocking prompt box 211 may not be provided.

觸摸屏20則在處於鎖定狀態時,用於回應用戶的解鎖螢幕操作而產生解鎖螢幕操作信號。The touch screen 20 is used to generate an unlock screen operation signal in response to the user's unlocking screen operation while in the locked state.

請參閱圖1-圖3,在一實施方式中,觸摸屏20上顯示的解鎖操作介面21包括兩個解鎖圖標210,分別為圖示中的解鎖圖標A和解鎖圖標B。如圖3所示,該實施方式中,觸摸屏20解鎖前,兩個解鎖圖標210之間的距離值為初始距離值d0,用戶將該兩個解鎖圖標210分別滑動後至兩者之間的距離值為滑動後距離值d1,即圖3中滑動後的解鎖圖標A’和解鎖圖標B’之間的距離值,此時,若判斷模組31根據觸摸屏20產生的操作信號判斷該初始距離值d0與滑動後距離值d1之間的差值的絕對值達到存儲單元10中存儲的預設距離值M時,解鎖模組32則解鎖觸摸屏20。Referring to FIGS. 1-3, in an embodiment, the unlocking operation interface 21 displayed on the touch screen 20 includes two unlocking icons 210, which are an unlocking icon A and an unlocking icon B, respectively. As shown in FIG. 3, in this embodiment, before the touch screen 20 is unlocked, the distance between the two unlock icons 210 is an initial distance value d0, and the user slides the two unlock icons 210 to the distance between the two. The value is the distance value d1 after the sliding, that is, the distance between the unlocking icon A′ and the unlocking icon B′ after sliding in FIG. 3 . At this time, if the determining module 31 determines the initial distance value according to the operation signal generated by the touch screen 20 . The unlock module 32 unlocks the touch screen 20 when the absolute value of the difference between the d0 and the post-sliding distance value d1 reaches the preset distance value M stored in the storage unit 10.

請參閱圖1、圖4和圖5,在另一實施方式中,觸摸屏20上顯示的解鎖操作介面21包括兩個解鎖圖標210,分別為圖示中的解鎖圖標C和解鎖圖標K。如圖5所示,本實施方式中,解鎖圖標K為一定點解鎖圖標,即用戶無需滑動該解鎖圖標來解鎖。觸摸屏20解鎖前,兩個解鎖圖標210之間的距離值為初始距離值d0,用戶將其中一解鎖圖標C滑動後至解鎖圖標C和解鎖圖標K兩者之間的距離值為滑動後距離值d1,即圖5中滑動後的解鎖圖標C’和解鎖圖標K之間的距離值,此時,若判斷模組31根據觸摸屏20產生的操作信號判斷該初始距離值d0與滑動後距離值d1之間的差值的絕對值達到存儲單元10中存儲的預設距離值M時,解鎖模組32則解鎖觸摸屏20。在另一實施方式中,該定點解鎖圖標K也可以省略而不顯示在解鎖操作介面上。Referring to FIG. 1 , FIG. 4 and FIG. 5 , in another embodiment, the unlocking operation interface 21 displayed on the touch screen 20 includes two unlocking icons 210 , which are an unlocking icon C and an unlocking icon K respectively in the illustration. As shown in FIG. 5 , in the embodiment, the unlock icon K is a fixed point unlock icon, that is, the user does not need to slide the unlock icon to unlock. Before the touch screen 20 is unlocked, the distance between the two unlocking icons 210 is an initial distance value d0, and the distance between the unlocking icon C and the unlocking icon K by the user is one of the distance values after sliding. D1, that is, the distance value between the unlocking icon C' and the unlocking icon K after sliding in FIG. 5, at this time, if the determining module 31 determines the initial distance value d0 and the sliding distance value d1 according to the operation signal generated by the touch screen 20 The unlock module 32 unlocks the touch screen 20 when the absolute value of the difference between the two reaches the preset distance value M stored in the storage unit 10. In another embodiment, the fixed point unlock icon K may also be omitted and not displayed on the unlocking operation interface.

在其他實施方式中,存儲單元10還存儲了用戶設定的用於進行螢幕解鎖的預設距離範圍,例如M±N範圍以內。當判斷模組31根據觸摸屏20產生的操作信號判斷用戶在觸摸屏20的解鎖操作介面21的操作使得圖3或圖5中所示的初始距離值d0與滑動後距離值d1之間的差值的絕對值落在該預定距離範圍內時,解鎖模組32即可解鎖觸摸屏20。In other embodiments, the storage unit 10 also stores a preset distance range set by the user for screen unlocking, such as within the M±N range. When the judging module 31 judges the operation of the unlocking operation interface 21 of the touch screen 20 by the operation signal generated by the touch screen 20 such that the difference between the initial distance value d0 and the post-sliding distance value d1 shown in FIG. 3 or FIG. When the absolute value falls within the predetermined distance range, the unlocking module 32 can unlock the touch screen 20.

設置模組34用於回應用戶的觸摸操作而產生相應的設置信號,如設定用於螢幕解鎖的預設距離值或預設距離範圍。The setting module 34 is configured to generate a corresponding setting signal in response to the user's touch operation, such as setting a preset distance value or a preset distance range for screen unlocking.

顯示控制模組33則用於在解鎖模組32控制將觸摸屏20解鎖時,控制觸摸屏20顯示電子設備100解鎖後的用戶使用介面。在另一實施方式中,顯示控制模組33還用於在解鎖模組32控制不解鎖觸摸屏20時,控制觸摸屏20顯示一解鎖失敗的提示框。The display control module 33 is configured to control the touch screen 20 to display the user usage interface after the electronic device 100 is unlocked when the unlocking module 32 controls the unlocking of the touch screen 20. In another embodiment, the display control module 33 is further configured to control the touch screen 20 to display a prompt box for unlocking failure when the unlocking module 32 controls not to unlock the touch screen 20.

請參閱圖6,其為本發明的電子設備100的螢幕解鎖方法的流程圖,用於包括觸摸屏、物理按鍵、存儲單元的電子設備,所述觸摸屏用於回應用戶的觸摸操作而產生相應的觸摸操作信號,所述物理按鍵用於在被按壓時,產生一觸發信號,所述存儲單元存儲了用戶預先設定的用於進行螢幕解鎖的預設距離值和/或預設距離範圍。該方法包括:Please refer to FIG. 6 , which is a flowchart of a method for unlocking a screen of an electronic device 100 according to the present invention, for an electronic device including a touch screen, a physical button, and a storage unit, the touch screen is configured to generate a corresponding touch in response to a touch operation of the user. An operation signal, the physical button is configured to generate a trigger signal when being pressed, and the storage unit stores a preset distance value and/or a preset distance range preset by the user for performing screen unlocking. The method includes:

步驟S61,顯示控制模組33根據物理按鍵40回應用戶操作產生的解鎖觸發信號控制將一解鎖操作介面顯示於觸摸屏20。解鎖操作介面上顯示有一或多個解鎖圖標及一解鎖提示框。在本實施方式中,該解鎖操作介面上顯示有兩個解鎖圖標,且該兩解鎖圖標的初始距離值為d0。在一實施方式中,解鎖操作介面上不顯示解鎖提示框。In step S61, the display control module 33 controls an unlock operation interface to be displayed on the touch screen 20 according to the unlock trigger signal generated by the physical button 40 in response to the user operation. One or more unlock icons and an unlocking prompt box are displayed on the unlocking operation interface. In this embodiment, two unlock icons are displayed on the unlocking operation interface, and the initial distance values of the two unlock icons are d0. In an embodiment, the unlocking prompt box is not displayed on the unlocking operation interface.

步驟S62,觸摸屏20回應用戶的解鎖螢幕操作而產生一螢幕解鎖信號。In step S62, the touch screen 20 generates a screen unlocking signal in response to the unlocking operation of the user.

步驟S63,判斷模組31根據觸摸屏20傳輸的螢幕解鎖信號判斷用戶滑動解鎖操作介面上的解鎖圖標後,該兩解鎖圖標的滑動後距離值d1與該兩解鎖圖標的初始距離值d0的差值的絕對值是否達到存儲單元10中存儲的預設距離值。如果是,則進入步驟S64,否則,解鎖模組32控制將觸摸屏20保持待解鎖狀態,而不將觸摸屏20解鎖,流程返回步驟S62。在另一實施方式中,判斷模組31根據觸摸屏20傳輸的螢幕解鎖信號判斷用戶滑動解鎖操作介面上的解鎖圖標後,該兩解鎖圖標的滑動後距離值d1與該兩解鎖圖標的初始距離值d0的差值的絕對值是否落入存儲單元10中存儲的預設距離範圍。如果是,則進入步驟S64,否則,解鎖模組32控制將觸摸屏20保持待解鎖狀態,而不將觸摸屏20解鎖,流程返回步驟S62。Step S63, the determining module 31 determines, according to the screen unlocking signal transmitted by the touch screen 20, the difference between the sliding distance value d1 of the two unlocking icons and the initial distance value d0 of the two unlocking icons after the unlocking icon on the sliding unlocking operation interface of the user Whether the absolute value reaches the preset distance value stored in the storage unit 10. If yes, go to step S64. Otherwise, the unlocking module 32 controls to keep the touch screen 20 in the unlocked state without unlocking the touch screen 20, and the flow returns to step S62. In another embodiment, after the determining module 31 determines the unlocking icon on the sliding unlocking operation interface of the user according to the screen unlocking signal transmitted by the touch screen 20, the sliding distance value d1 of the two unlocking icons and the initial distance value of the two unlocking icons Whether the absolute value of the difference of d0 falls within the preset distance range stored in the storage unit 10. If yes, go to step S64. Otherwise, the unlocking module 32 controls to keep the touch screen 20 in the unlocked state without unlocking the touch screen 20, and the flow returns to step S62.

步驟S64,解鎖模組32控制將觸摸屏20解鎖。In step S64, the unlocking module 32 controls to unlock the touch screen 20.

步驟S65,顯示控制模組33控制觸摸屏20顯示電子設備100的一用戶使用介面。In step S65, the display control module 33 controls the touch screen 20 to display a user usage interface of the electronic device 100.

使用上述電子設備100及其螢幕解鎖方法,當觸摸屏20上顯示解鎖操作介面時,用戶只需用手指滑動觸摸屏20上顯示的一或兩個解鎖圖標,使得該兩個解鎖圖標之間的距離變化值的絕對值達到一預設距離值或落入一預設距離範圍內時,即該兩個解鎖圖標之間的滑動後距離值與滑動前的初始距離值之間的絕對值達到該預設距離值或落入該預設距離範圍內時,即可解鎖觸摸屏20。Using the electronic device 100 and the screen unlocking method thereof, when the unlocking operation interface is displayed on the touch screen 20, the user only needs to slide one or two unlocking icons displayed on the touch screen 20 with a finger, so that the distance between the two unlocking icons changes. When the absolute value of the value reaches a preset distance value or falls within a preset distance range, that is, the absolute value between the sliding distance value between the two unlocking icons and the initial distance value before sliding reaches the preset When the distance value falls within the preset distance range, the touch screen 20 can be unlocked.

本技術領域的普通技術人員應當認識到,以上的實施方式僅是用來說明本發明,而並非用作為對本發明的限定,只要在本發明的實質精神範圍之內,對以上實施例所作的適當改變和變化都落在本發明要求保護的範圍之內。It is to be understood by those skilled in the art that the above embodiments are only intended to illustrate the invention, and are not intended to limit the invention, as long as it is within the spirit of the invention Changes and modifications are intended to fall within the scope of the invention.

步驟S61...根據物理按鍵回應用戶操作產生的解鎖觸發信號控制將一解鎖操作介面顯示於觸摸屏Step S61. . . Displaying an unlocking operation interface on the touch screen according to the unlocking trigger signal generated by the physical button in response to the user operation

步驟S62...回應用戶的解鎖螢幕操作而產生一螢幕解鎖信號Step S62. . . Respond to the user's unlock screen operation to generate a screen unlock signal

步驟S63...判斷用戶滑動解鎖操作面上的解鎖圖標後,該兩解鎖圖標的滑動後距離值與初始距離值的差值的絕對值是否達到預設距離值?Step S63. . . After determining whether the unlocking icon on the sliding operation surface of the user is unlocked, does the absolute value of the difference between the sliding distance value of the two unlocking icons and the initial distance value reach the preset distance value?

步驟S64...將觸摸屏解鎖Step S64. . . Unlock the touch screen

步驟S65...控制觸摸屏顯示電子設備的一用戶使用介面Step S65. . . Controlling a user interface of a touch screen display electronic device

Claims (10)

一種電子設備,包括觸摸屏、物理按鍵、存儲單元和處理器,所述物理按鍵用於在被按壓時產生一觸發信號,所述觸摸屏用於回應用戶的解鎖螢幕操作而產生螢幕解鎖信號,其改良在於,所述存儲單元存儲有用戶預先設定的用於進行螢幕解鎖的預設距離值和預設距離範圍,所述處理器包括:
一顯示控制模組,用於回應所述觸發信號,將一解鎖操作介面顯示於所述觸摸屏,所述解鎖操作介面上顯示有至少一解鎖圖標;
一判斷模組,用於根據所述螢幕解鎖信號判斷用戶滑動解鎖介面上的一或兩個解鎖圖標後,所述兩解鎖圖標的滑動後距離值與所述兩解鎖圖標的初始距離值的差值的絕對值是否達到所述預設距離值或者是否落入所述預設距離範圍;及
一解鎖模組,用於當用戶滑動解鎖介面上的一或兩個解鎖圖標後,所述兩解鎖圖標的滑動後距離值與所述兩解鎖圖標的初始距離值的差值的絕對值達到所述預設距離值或者落入所述預設距離範圍時,將所述觸摸屏解鎖。
An electronic device includes a touch screen, a physical button, a storage unit, and a processor, wherein the physical button is configured to generate a trigger signal when pressed, and the touch screen is configured to generate a screen unlock signal in response to a user unlocking a screen operation, and the improved The storage unit stores a preset distance value and a preset distance range that are preset by the user for performing screen unlocking, and the processor includes:
a display control module for responding to the trigger signal, displaying an unlocking operation interface on the touch screen, and displaying at least one unlocking icon on the unlocking operation interface;
a judging module, configured to determine, after the one or two unlocking icons on the sliding unlocking interface of the user, the difference between the sliding distance value of the two unlocking icons and the initial distance value of the two unlocking icons according to the screen unlocking signal Whether the absolute value of the value reaches the preset distance value or falls within the preset distance range; and an unlocking module, configured to: when the user slides one or two unlocking icons on the unlocking interface, the two unlocking The touch screen is unlocked when the absolute value of the difference between the sliding distance value of the icon and the initial distance value of the two unlocking icons reaches the preset distance value or falls within the preset distance range.
如申請專利範圍第1項所述之電子設備,其中:還包括一設置模組,用於回應用戶設定螢幕解鎖的預設距離值或預設距離範圍觸摸操作而產生相應的設置信號。The electronic device of claim 1, wherein the method further comprises: a setting module, configured to generate a corresponding setting signal in response to a preset distance value or a preset distance range touch operation of the user setting screen unlocking. 如申請專利範圍第1項所述之電子設備,其中:所述解鎖操作介面上顯示的所述至少一解鎖圖標包括至少一供用戶滑動以解鎖的解鎖圖標。The electronic device of claim 1, wherein the at least one unlocking icon displayed on the unlocking operation interface comprises at least one unlocking icon for the user to slide to unlock. 如申請專利範圍第3項所述之電子設備,其中:所述解鎖操作介面上顯示的所述至少一解鎖圖標還包括一定點解鎖圖標,所述定點解鎖圖標為用戶執行解鎖操作時無需滑動的解鎖圖標。The electronic device of claim 3, wherein the at least one unlocking icon displayed on the unlocking operation interface further comprises a certain point unlocking icon, wherein the fixed point unlocking icon does not need to slide when the user performs the unlocking operation. Unlock the icon. 如申請專利範圍第1項所述之電子設備,其中:所述解鎖操作介面上還顯示一解鎖提示框。The electronic device of claim 1, wherein: the unlocking operation interface further displays an unlocking prompt box. 一種螢幕解鎖方法,用於包括觸摸屏和物理按鍵的電子設備,所述物理按鍵用於在被按壓時產生一觸發信號,所述方法包括如下步驟:
將一解鎖操作介面顯示於所述觸摸屏,所述解鎖操作介面上顯示有至少一解鎖圖標;
所述觸摸屏回應用戶的解鎖螢幕操作而產生螢幕解鎖信號;
根據所述螢幕解鎖信號判斷用戶滑動解鎖介面上的一或兩個解鎖圖標後,所述兩解鎖圖標的滑動後距離值與所述兩解鎖圖標的初始距離值的差值的絕對值是否達到所述預設距離值或者是否落入所述預設距離範圍;及
當用戶滑動解鎖介面上的一或兩個解鎖圖標後,所述兩解鎖圖標的滑動後距離值與所述兩解鎖圖標的初始距離值的差值的絕對值達到所述預設距離值或者落入所述預設距離範圍時,將所述觸摸屏解鎖。
A screen unlocking method for an electronic device including a touch screen and a physical button for generating a trigger signal when pressed, the method comprising the steps of:
Displaying an unlocking operation interface on the touch screen, and displaying at least one unlocking icon on the unlocking operation interface;
The touch screen generates a screen unlocking signal in response to the unlocking operation of the user;
After determining, by the screen unlocking signal, one or two unlocking icons on the sliding unlocking interface of the user, whether the absolute value of the difference between the sliding distance value of the two unlocking icons and the initial distance value of the two unlocking icons reaches The preset distance value or whether it falls within the preset distance range; and the sliding distance value of the two unlocking icons and the initial of the two unlocking icons after the user slides one or two unlocking icons on the unlocking interface The touch screen is unlocked when the absolute value of the difference value of the distance values reaches the preset distance value or falls within the preset distance range.
如申請專利範圍第6項所述之方法,其中還包括:回應用戶設定用於螢幕解鎖的預設距離值或預設距離範圍觸摸操作而產生相應的設置信號。The method of claim 6, further comprising: generating a corresponding setting signal in response to a user setting a preset distance value for the screen unlocking or a preset distance range touch operation. 如申請專利範圍第6項所述之方法,其中:所述解鎖操作介面上顯示的所述至少一解鎖圖標包括至少一供用戶滑動以解鎖的解鎖圖標。The method of claim 6, wherein the at least one unlocking icon displayed on the unlocking operation interface comprises at least one unlocking icon for the user to slide to unlock. 如申請專利範圍第8項所述之方法,其中:所述解鎖操作介面上顯示的所述至少一解鎖圖標還包括一定點解鎖圖標,所述定點解鎖圖標為用戶執行解鎖操作時無需滑動的解鎖圖標。The method of claim 8, wherein the at least one unlocking icon displayed on the unlocking operation interface further comprises a certain point unlocking icon, wherein the fixed point unlocking icon is an unlocking operation when the user performs the unlocking operation without sliding icon. 如申請專利範圍第6項所述之方法,其中:所述解鎖操作介面上還顯示一解鎖提示框。The method of claim 6, wherein: the unlocking operation interface further displays an unlocking prompt box.
TW102103372A 2013-01-29 2013-01-29 Electronic device having touch screen and screen uncocking method thereof TW201430613A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102103372A TW201430613A (en) 2013-01-29 2013-01-29 Electronic device having touch screen and screen uncocking method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102103372A TW201430613A (en) 2013-01-29 2013-01-29 Electronic device having touch screen and screen uncocking method thereof

Publications (1)

Publication Number Publication Date
TW201430613A true TW201430613A (en) 2014-08-01

Family

ID=51796898

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102103372A TW201430613A (en) 2013-01-29 2013-01-29 Electronic device having touch screen and screen uncocking method thereof

Country Status (1)

Country Link
TW (1) TW201430613A (en)

Similar Documents

Publication Publication Date Title
TWI469038B (en) Electronic device with touch screen and screen unlocking method thereof
WO2017096944A1 (en) Virtual keyboard based content input method and apparatus, and touch device
US8928593B2 (en) Selecting and updating location of virtual keyboard in a GUI layout in response to orientation change of a portable device
Hoggan et al. Audio or tactile feedback: which modality when?
US9207860B2 (en) Method and apparatus for detecting a gesture
US20150185953A1 (en) Optimization operation method and apparatus for terminal interface
WO2013183208A1 (en) Input device, input support method, and program
US20130318475A1 (en) Unlocking method for a touch screen
JP5982689B2 (en) Method and wireless handheld device for automatically switching handheld modes
JP2015533250A (en) Method for unlocking an electronic device and apparatus therefor
TWI610194B (en) Electronic device for fingerprint sensing and method for invoking applications thereof
TWM509928U (en) Electronic device having fingerprint-sensing function
JP6266833B1 (en) Electronic device, program, and control method
JP2013532877A (en) Pseudo hardware button operation method and touch screen terminal
KR20150081657A (en) Mobile terminal and method for control thereof
CN109491573B (en) Electronic device control method and electronic device for executing the method
JP2019030000A (en) Electronic apparatus, program, and control method
WO2018076384A1 (en) Screen locking method, terminal and screen locking device
TW201430613A (en) Electronic device having touch screen and screen uncocking method thereof
TW201415349A (en) Electrical device and virtual keyboard positioning method
JP2014153956A (en) Electronic apparatus
CN109032441B (en) Interface management method, device, equipment and storage medium
US10871851B2 (en) Electronic device and method for one-handed operation
KR20090130784A (en) User authentication method for video processing apparatus with touch input device and video processing apparatus performing the method
TW201435645A (en) Electronic device having touch screen and screen unlocking method thereof