TW201419121A - Electronic apparatus, method for terminating the locking state of electronic apparatus - Google Patents
Electronic apparatus, method for terminating the locking state of electronic apparatus Download PDFInfo
- Publication number
- TW201419121A TW201419121A TW101140920A TW101140920A TW201419121A TW 201419121 A TW201419121 A TW 201419121A TW 101140920 A TW101140920 A TW 101140920A TW 101140920 A TW101140920 A TW 101140920A TW 201419121 A TW201419121 A TW 201419121A
- Authority
- TW
- Taiwan
- Prior art keywords
- brightness
- electronic device
- detected
- locked state
- control unit
- Prior art date
Links
Landscapes
- Telephone Function (AREA)
- Controls And Circuits For Display Device (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
本發明係關於一種電子裝置,具體而言,本發明係關於一種電子裝置,其係利用光感測器解除使用者介面於鎖定狀態。 The present invention relates to an electronic device, and more particularly to an electronic device that utilizes a light sensor to release a user interface in a locked state.
傳統觸控式電子裝置以連續滑動解除使用者介面鎖定狀態,但可能因手滑動誤觸,導致解除使用者介面鎖定狀態,因此本發明提供一種有效解決上述問題的電子裝置與方法。 The conventional touch-type electronic device releases the user interface locking state by continuous sliding, but may be unlocked due to hand sliding, thereby releasing the user interface locking state. Therefore, the present invention provides an electronic device and method that effectively solve the above problems.
本發明提供一種電子裝置,包括:一光感測器,用以偵測一環境光亮度;一使用者介面,其具有一鎖定狀態;以及一控制單元,耦接該光感測器與該使用者介面;其中,當該電子裝置進入一解除鎖定狀態的程序後,該光感測器於一第一時間偵測該環境光亮度產生一第一偵測亮度,該光感測器於該第一時間後之一第二時間偵測該環境光亮度產生一第二偵測亮度,若該第一偵測亮度與該第二偵測亮度小於一預設亮度,該控制單元解除該鎖定狀態;若該第一偵測亮度或該第二偵測亮度大於一預設亮度,該控制單元維持該鎖定狀態。 The present invention provides an electronic device including: a light sensor for detecting an ambient light brightness; a user interface having a locked state; and a control unit coupled to the light sensor and the use After the electronic device enters a process of unlocking, the light sensor detects a brightness of the ambient light to generate a first detected brightness at a first time, and the light sensor is in the first Detecting the brightness of the ambient light to generate a second detected brightness at a second time after the second time; if the first detected brightness and the second detected brightness are less than a predetermined brightness, the control unit releases the locked state; The control unit maintains the locked state if the first detected brightness or the second detected brightness is greater than a predetermined brightness.
本發明另提供一種控制電子裝置解除鎖定狀態的方法,其中該 電子裝置具有一光感測器與一使用者介面,該光感測器用以偵測一環境光亮度,該使用者介面具有一鎖定狀態,該方法包括:(a)當該電子裝置進入一解除鎖定狀態的程序後,該光感測器偵測該環境光亮度產生一第一偵測亮度;(b)判斷該第一偵測亮度是否小於一預設亮度,若否,維持該鎖定狀態;若是,進入步驟(c);以及(c)該光感測器於產生一第一偵測亮度後一預定時間內偵測該環境光亮度產生一第二偵測亮度;以及(d)判斷該第二偵測亮度是否小於一預設亮度,若否,維持該鎖定狀態;若是,解除該鎖定狀態。 The present invention further provides a method for controlling an unlock state of an electronic device, wherein the method The electronic device has a light sensor and a user interface, the light sensor is configured to detect an ambient light brightness, and the user mask has a locked state, and the method comprises: (a) when the electronic device enters a release After the state of the locked state, the light sensor detects the brightness of the ambient light to generate a first detected brightness; (b) determines whether the first detected brightness is less than a predetermined brightness, and if not, maintains the locked state; If yes, proceed to step (c); and (c) detecting, by the photosensor, a brightness of the ambient light for a predetermined time after generating a first detected brightness to generate a second detected brightness; and (d) determining the Whether the second detection brightness is less than a preset brightness, and if not, maintaining the locked state; if so, releasing the locked state.
本發明之主要目的,在於提供一種電子裝置,其係利用光感測器解除使用者介面於鎖定狀態。以下提出各種實施例進行詳細說明,實施例僅用以作為範例說明,並非用以限縮本發明欲保護的範圍。 The main object of the present invention is to provide an electronic device that uses a light sensor to release a user interface in a locked state. The various embodiments are described in detail below, and are not intended to limit the scope of the present invention.
首先,請參閱圖1,係為本發明之一較佳實施例之結構示意圖;如圖所示,本發明之電子裝置100係包含有光感測器110、使用者介面120、顯示器150與控制單元130。光感測器110用以偵測環境光亮度,且耦接控制單元130。使用者介面120耦接控制單元130,且可為一具觸控功能的圖像使用者介面(GUI,Graphical User Interface),目前廣泛地應用於智慧型手機、衛星導航裝置或平版電腦,但並非用以限制本發明,其他具備機械式輸入裝置的使用者介面亦不排除。 First, please refer to FIG. 1 , which is a schematic structural view of a preferred embodiment of the present invention. As shown, the electronic device 100 of the present invention includes a photo sensor 110 , a user interface 120 , a display 150 , and a control . Unit 130. The light sensor 110 is configured to detect ambient light brightness and is coupled to the control unit 130. The user interface 120 is coupled to the control unit 130 and can be a graphical user interface (GUI), which is currently widely used in smart phones, satellite navigation devices, or lithographic computers, but not To limit the invention, other user interfaces with mechanical input devices are not excluded.
下面詳細敍述本發明之工作原理,如圖2A-2B所示。於本實施 例中,如圖2A所示,當電子裝置100欲解除的使用者介面於鎖定狀態(待機)時,此時,若使用者欲解除鎖定狀態,使用者只要按壓按鍵140,按鍵140被觸發後,電子裝置100進入解除鎖定狀態的程序,控制單元130喚醒光感測器110,如圖2B所示,使用者欲解除鎖定狀態可用手指遮蔽光感測器110,如圖3A所示,光感測器110於一預定時間內(t1~t2)連續偵測二次環境光亮度產生第一偵測亮度與第二偵測亮度,在此第一偵測亮度與第二偵測亮度皆為B1,用以示意,實際情況中第一偵測亮度與第二偵測亮度有可能不同,並將第一偵測亮度與第二偵測亮度傳送至控制單元130;若第一偵測亮度與第二偵測亮度小於一預設亮度(Bth),控制單元130解除鎖定狀態;若第一偵測亮度或第二偵測亮度大於一預設亮度(Bth),控制單元130維持鎖定狀態。須注意,使用者欲解除鎖定狀態可用手指間歇性地遮蔽光感測器,如圖3A所示,或可用手指持續性地遮蔽光感測器皆有可能達成,如圖3B所示。 The working principle of the present invention will be described in detail below, as shown in Figures 2A-2B. In this implementation For example, as shown in FIG. 2A, when the user interface to be released by the electronic device 100 is in the locked state (standby), at this time, if the user wants to release the locked state, the user only needs to press the button 140, and the button 140 is triggered. The electronic device 100 enters the program of the unlocked state, and the control unit 130 wakes up the light sensor 110. As shown in FIG. 2B, the user wants to release the locked state, and the light sensor 110 can be shielded by the finger, as shown in FIG. 3A. The detector 110 continuously detects the brightness of the secondary ambient light for a predetermined time (t1~t2) to generate the first detection brightness and the second detection brightness, where the first detection brightness and the second detection brightness are both B1 In the actual situation, the first detection brightness and the second detection brightness may be different, and the first detection brightness and the second detection brightness are transmitted to the control unit 130; if the first detection brightness and the first The second detecting brightness is less than a preset brightness (Bth), and the control unit 130 is unlocked; if the first detecting brightness or the second detecting brightness is greater than a predetermined brightness (Bth), the control unit 130 maintains the locked state. It should be noted that the user may want to unlock the state by intermittently shielding the photo sensor with a finger, as shown in FIG. 3A, or it may be possible to continuously shield the photo sensor with a finger, as shown in FIG. 3B.
補充說明,電子裝置100具有按鍵140,當該電子裝置的使用者介面於鎖定狀態(待機)時,按鍵140被觸發後,控制單元130控制電子裝置100進入解除鎖定狀態的程序。另外,一較佳實施例中按鍵140可能為電源鍵、音量鍵、返回首頁鍵或靜音鍵,但非限制條件,其目的在產生一訊號喚醒電子裝置,用以進入解除鎖定狀態的程序。 In addition, the electronic device 100 has a button 140. When the user of the electronic device interfaces to the locked state (standby), after the button 140 is triggered, the control unit 130 controls the electronic device 100 to enter the unlocked state. In addition, in a preferred embodiment, the button 140 may be a power button, a volume button, a back button, or a mute button, but the non-limiting condition is to generate a signal to wake up the electronic device to enter the unlocked state.
其他變化實施例,請參考圖3A,按鍵140被觸發後,電子裝置100進入解除鎖定狀態的程序,控制單元130喚醒光感測器110,如圖2B所示,使用者欲解除鎖定狀態可用手指遮蔽光感測器110,如 圖3A所示,若光感測器110於時間t1與時間t2偵測環境光亮度發現偵測結果皆小於預設亮度(Bth),此時,控制單元130再判斷若時間t1至時間t2小於一預設時間,例如500ms,控制單元130解除鎖定狀態;反之,控制單元130維持鎖定狀態。 For other variant embodiments, please refer to FIG. 3A. After the button 140 is triggered, the electronic device 100 enters the unlocked state program, and the control unit 130 wakes up the light sensor 110. As shown in FIG. 2B, the user wants to unlock the finger. Shielding the light sensor 110, such as As shown in FIG. 3A, if the photo sensor 110 detects the ambient light brightness at time t1 and time t2, the detection result is less than the preset brightness (Bth). At this time, the control unit 130 determines that the time t1 to the time t2 are less than For a preset time, for example 500 ms, the control unit 130 releases the locked state; otherwise, the control unit 130 maintains the locked state.
其他變化實施例,請參考圖3A,按鍵140於t0時間被觸發後,電子裝置100進入解除鎖定狀態的程序,控制單元130喚醒光感測器110,同時於t0時間後但接近t0時間產生一偵測亮度B2,因處理速度日益增進,故產生偵測亮度B2的時間點與t0時間幾乎非常接近。若偵測亮度B2大於預設亮度(Bth),光感測器110直接偵測環境光亮度,且分別於時間t1與t2產生偵測亮度,若偵測結果皆小於一預設亮度(Bth),控制單元130解除鎖定狀態;若任一偵測大於一預設亮度(Bth),控制單元130維持鎖定狀態。若偵測亮度B2小於預設亮度(Bth),表示目前電子裝置100可能處於一夜間或低環境亮度狀態,此時控制單元130將顯示器150做為一光源且顯示面152顯示一全白畫面,用以提供環境光亮度,一較佳實施情況中,光感測器110與顯示器150的顯示面152設置於同一側面。另外,亦可能用相機的閃光燈作為光源。接著,光感測器110再偵測環境光亮度,且分別於時間t1與t2產生偵測亮度,若偵測結果皆小於一預設亮度(Bth),控制單元130解除鎖定狀態;若任一偵測大於一預設亮度(Bth),控制單元130維持鎖定狀態。 For other variant embodiments, please refer to FIG. 3A. After the button 140 is triggered at time t0, the electronic device 100 enters a program of unlocking state, and the control unit 130 wakes up the light sensor 110, and generates a time after t0 time but close to t0 time. The brightness B2 is detected, and as the processing speed is increased, the time point at which the brightness B2 is detected is almost very close to the time t0. If the detected brightness B2 is greater than the preset brightness (Bth), the light sensor 110 directly detects the ambient light brightness, and generates the detected brightness at times t1 and t2, respectively, if the detection result is less than a preset brightness (Bth). The control unit 130 releases the locked state; if any detection is greater than a predetermined brightness (Bth), the control unit 130 maintains the locked state. If the detected brightness B2 is less than the preset brightness (Bth), it indicates that the electronic device 100 may be in a night or low ambient brightness state. At this time, the control unit 130 uses the display 150 as a light source and the display surface 152 displays a full white screen. In order to provide ambient light brightness, in a preferred embodiment, the light sensor 110 and the display surface 152 of the display 150 are disposed on the same side. In addition, it is also possible to use the camera's flash as a light source. Then, the light sensor 110 detects the ambient light brightness again, and generates the detected brightness at times t1 and t2 respectively. If the detection result is less than a preset brightness (Bth), the control unit 130 releases the locked state; The detection is greater than a predetermined brightness (Bth), and the control unit 130 maintains the locked state.
補充說明,光感測器110可能為攝像單元,例如數位相機,當電子裝置100進入解除鎖定狀態的程序後,攝像單元於t1與t2時間分別擷取第一影像與第二影像,控制單元130分析第一影像與第二 影像得到對應偵測亮度,可能採用的方法例如分析影像的灰階分布。 In addition, the photo sensor 110 may be an image capturing unit, such as a digital camera. After the electronic device 100 enters the unlocking state, the camera unit captures the first image and the second image at times t1 and t2, respectively, and the control unit 130 Analyze the first image and the second The image is correspondingly detected, and a possible method such as analyzing the gray scale distribution of the image is used.
如圖4所示,係為本發明之一較佳實施例之方法步驟圖: As shown in FIG. 4, it is a method step diagram of a preferred embodiment of the present invention:
S41:電子裝置100於待機鎖定狀態 S41: The electronic device 100 is in the standby lock state.
S42:電子裝置100是否收到一解除鎖定訊號,若收到,進入S43,若否回到鎖定狀態S41,其中解除鎖定訊號可以透過按壓按鍵140,按鍵140被觸發後產生解除鎖定訊號。 S42: Whether the electronic device 100 receives an unlocking signal, if received, proceeds to S43, and if not, returns to the locked state S41, wherein the unlocking signal can be released by pressing the button 140, and the button 140 is triggered to generate the unlocking signal.
S43:控制單元130控制電子裝置100進入解除鎖定狀態的程序,當電子裝置100進入解除鎖定狀態的程序後,光感測器110偵測環境光亮度產生第一偵測亮度。 S43: The control unit 130 controls the electronic device 100 to enter the unlocking state. After the electronic device 100 enters the unlocking state, the light sensor 110 detects the ambient light brightness to generate the first detected brightness.
S44:判斷第一偵測亮度是否小於一預設亮度(Bth),若否,回到S41維持鎖定狀態;若是,進入步驟S45。 S44: Determine whether the first detected brightness is less than a preset brightness (Bth). If not, return to S41 to maintain the locked state; if yes, proceed to step S45.
S45:光感測器110於產生第一偵測亮度後一預定時間內偵測環境光亮度產生第二偵測亮度,判斷第二偵測亮度是否小於預設亮度(Bth),若否,回到S41維持鎖定狀態;若是,進入步驟S46。 S45: The light sensor 110 detects the ambient light brightness for a predetermined time after generating the first detected brightness to generate a second detected brightness, and determines whether the second detected brightness is less than a preset brightness (Bth), and if not, returns The lock state is maintained until S41; if yes, the process proceeds to step S46.
S46:解除鎖定狀態。 S46: Unlocked state.
其中,當電子裝置100收到解除鎖定訊號時,若偵測亮度小於預設亮度(Bth),表示目前電子裝置100可能處於一夜間或低環境亮度狀態,此時致能顯示器152做為一光源產生光線,用以提供環境光亮度。 When the electronic device 100 receives the unlock signal, if the detected brightness is less than the preset brightness (Bth), it indicates that the electronic device 100 may be in a night or low ambient brightness state, and the display 152 is used as a light source. Produces light to provide ambient light brightness.
補充說明,光感測器110可能為攝像單元,其中步驟S43中攝像單元擷取第一影像,分析第一影像得到第一偵測亮度,其中步驟S45中攝像單元擷取第二影像,分析第二影像得到第二偵測亮度。 In addition, the photo sensor 110 may be an image capturing unit. The image capturing unit captures the first image in step S43, and analyzes the first image to obtain the first detected brightness. In step S45, the image capturing unit captures the second image, and analyzes the first image. The second image obtains the second detected brightness.
補充說明,步驟S45中光感測器110持續偵測預定時間內環境 光亮度產生複數個第三偵測亮度,判斷第二偵測亮度與複數個第三偵測亮度是否小於一預設亮度(Bth),若否,回到S41維持鎖定狀態;若是,進入步驟S46解除鎖定狀態。 In addition, in step S45, the photo sensor 110 continuously detects the environment within a predetermined time. The brightness generates a plurality of third detection brightnesses, determining whether the second detection brightness and the plurality of third detection brightnesses are less than a predetermined brightness (Bth), and if not, returning to S41 to maintain the locked state; if yes, proceeding to step S46 Unlocked.
以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 The above are only the preferred embodiments of the present invention, and all changes and modifications made to the scope of the present invention should be within the scope of the present invention.
100‧‧‧電子裝置 100‧‧‧Electronic devices
110‧‧‧光感測器 110‧‧‧Light sensor
120‧‧‧使用者介面 120‧‧‧User interface
130‧‧‧控制單元 130‧‧‧Control unit
140‧‧‧按鍵 140‧‧‧ button
150‧‧‧顯示器 150‧‧‧ display
152‧‧‧顯示面 152‧‧‧ display surface
B1、B2、Bth‧‧‧亮度 B1, B2, Bth‧‧‧ brightness
t0、t1、t2‧‧‧時間 T0, t1, t2‧‧‧ time
S41-S46‧‧‧步驟 S41-S46‧‧‧Steps
圖1本發明實施例之電子裝置示意圖;圖2A為本發明實施例之電子裝置於解除鎖定狀態的程序之示意圖;圖2B為本發明實施例之電子裝置使用者解除鎖定狀態之示意圖;圖3A-3B為本發明實施例之電子裝置使用者解除鎖定狀態時,光感測器偵測亮度與時間關係圖;圖4本發明實施例之方法步驟圖。 1 is a schematic diagram of an electronic device according to an embodiment of the present invention; FIG. 2A is a schematic diagram of a program for unlocking an electronic device according to an embodiment of the present invention; FIG. 2B is a schematic diagram of a user unlocking state of an electronic device according to an embodiment of the present invention; -3B is a diagram showing the relationship between the brightness and time of the photosensor when the user of the electronic device is unlocked according to the embodiment of the present invention; FIG. 4 is a step diagram of the method of the embodiment of the present invention.
100‧‧‧電子裝置 100‧‧‧Electronic devices
110‧‧‧光感測器 110‧‧‧Light sensor
120‧‧‧使用者介面 120‧‧‧User interface
130‧‧‧控制單元 130‧‧‧Control unit
140‧‧‧按鍵 140‧‧‧ button
150‧‧‧顯示器 150‧‧‧ display
152‧‧‧顯示面 152‧‧‧ display surface
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW101140920A TW201419121A (en) | 2012-11-02 | 2012-11-02 | Electronic apparatus, method for terminating the locking state of electronic apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW101140920A TW201419121A (en) | 2012-11-02 | 2012-11-02 | Electronic apparatus, method for terminating the locking state of electronic apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
TW201419121A true TW201419121A (en) | 2014-05-16 |
Family
ID=51294364
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW101140920A TW201419121A (en) | 2012-11-02 | 2012-11-02 | Electronic apparatus, method for terminating the locking state of electronic apparatus |
Country Status (1)
Country | Link |
---|---|
TW (1) | TW201419121A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110134218A (en) * | 2019-05-15 | 2019-08-16 | 上海创功通讯技术有限公司 | The control method and device of electronic equipment |
-
2012
- 2012-11-02 TW TW101140920A patent/TW201419121A/en unknown
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110134218A (en) * | 2019-05-15 | 2019-08-16 | 上海创功通讯技术有限公司 | The control method and device of electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102171616B1 (en) | Method and device for preventing incorrect contact of terminal | |
RU2645302C1 (en) | Method and apparatus for setting screen brightness | |
EP3413549B1 (en) | Method and device for displaying notification information | |
US9922227B2 (en) | Apparatus and method for implementing touch control and fingerprint identification | |
WO2017221741A1 (en) | Image processing device, image processing method, image sensor, information processing device, and program | |
US20150331491A1 (en) | System and method for gesture based touchscreen control of displays | |
US20130063349A1 (en) | Optical nagivation device | |
CN108319838A (en) | Screen lower fingerprint verifying apparatus, method, storage medium and mobile terminal | |
US20160294823A1 (en) | Displaying content based on device orientation | |
CN110892443B (en) | Personal authentication device | |
TWI501112B (en) | Handheld electronic apparatus and a method for activating an application of the handheld electronic apparatus | |
CN108898126B (en) | Fingerprint identification method and device | |
WO2017088238A1 (en) | Touch gesture determining method and device | |
CN106161728B (en) | Sensing device, electronic equipment and detection method | |
US20090058807A1 (en) | Mouse pointer function execution apparatus and method in portable terminal equipped with camera | |
US8866921B2 (en) | Devices and methods involving enhanced resolution image capture | |
US9400920B2 (en) | Display screen controlling apparatus in mobile terminal and method thereof | |
JP7127105B2 (en) | Optical fingerprint module and signal processing method | |
JP6208609B2 (en) | Mobile terminal device, control method and program for mobile terminal device | |
TW201419121A (en) | Electronic apparatus, method for terminating the locking state of electronic apparatus | |
TWI718559B (en) | Optical fingerprint sensing method, fingerprint identification device and information processing device | |
US20190258843A1 (en) | Electronic device and control method | |
TW201339893A (en) | Method and system for preventing inadvertent touching | |
EP3789849A1 (en) | Contactless gesture control method, apparatus and storage medium | |
TW201616389A (en) | Automatically changing resolution system and method for unlocked screen |