TW202117600A - Device control method and electronic device - Google Patents

Device control method and electronic device Download PDF

Info

Publication number
TW202117600A
TW202117600A TW108137525A TW108137525A TW202117600A TW 202117600 A TW202117600 A TW 202117600A TW 108137525 A TW108137525 A TW 108137525A TW 108137525 A TW108137525 A TW 108137525A TW 202117600 A TW202117600 A TW 202117600A
Authority
TW
Taiwan
Prior art keywords
electronic device
lens
brightness change
top cover
perform
Prior art date
Application number
TW108137525A
Other languages
Chinese (zh)
Other versions
TWI723589B (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 TW108137525A priority Critical patent/TWI723589B/en
Application granted granted Critical
Publication of TWI723589B publication Critical patent/TWI723589B/en
Publication of TW202117600A publication Critical patent/TW202117600A/en

Links

Images

Abstract

A device control method and an electronic device are provided. The device control method is configured to control the electronic device. The electronic device includes a frosted glass cover and an image capturing device. The device control method includes: in a default status, shading lens of the image capturing device by the frosted glass cover; detecting a lightness variation through the frosted glass cover by the lens; and triggering the electronic device to perform a default operation according to the lightness variation.

Description

裝置控制方法與電子裝置Device control method and electronic device

本發明是有關於一種裝置控制技術,且特別是有關於一種裝置控制方法與電子裝置。The present invention relates to a device control technology, and particularly relates to a device control method and an electronic device.

臉部辨識技術已廣泛運用於智慧型手機或筆記型電腦等電子裝置之使用者的身分認證。然而,為了支援即時臉部辨識功能,電子裝置上的影像辨識模組需隨時維持在啟動狀態,造成電子裝置的耗電量增加。雖然某些電子裝置可另外藉由接近傳感器(proximity sensor)來偵測使用者靠近或藉由偵測使用者觸碰螢幕等輸入操作來啟動影像辨識模組,但除了接近傳感器較為昂貴外,使用人工啟動影像辨識模組在使用上也較為被動。Facial recognition technology has been widely used to authenticate users of electronic devices such as smart phones or notebook computers. However, in order to support the real-time facial recognition function, the image recognition module on the electronic device needs to be kept in the activated state at any time, which causes the power consumption of the electronic device to increase. Although some electronic devices can additionally use proximity sensors (proximity sensors) to detect the user’s approach or to activate the image recognition module by detecting the user’s touch on the screen and other input operations, in addition to the fact that proximity sensors are more expensive, use Manually activated image recognition modules are also relatively passive in use.

本發明提供一種裝置控制方法與電子裝置,可藉由售價較為便宜的毛玻璃上蓋搭配電子裝置本身支援的影像辨識技術來提供更佳的裝置性能及/或提高使用者體驗。The present invention provides a device control method and an electronic device, which can provide better device performance and/or improve user experience by using a cheaper frosted glass top cover with image recognition technology supported by the electronic device itself.

本發明的實施例提供一種裝置控制方法,其用於控制電子裝置。所述電子裝置具有毛玻璃上蓋與影像擷取裝置。所述裝置控制方法包括:在預設狀態下,由所述毛玻璃上蓋遮蔽所述影像擷取裝置的鏡頭;由所述鏡頭經由所述毛玻璃上蓋偵測亮度變化;以及根據所述亮度變化觸發所述電子裝置執行預設操作。The embodiment of the present invention provides a device control method, which is used to control an electronic device. The electronic device has a ground glass top cover and an image capturing device. The device control method includes: in a preset state, the lens of the image capturing device is covered by the frosted glass cover; the brightness change is detected by the lens through the frosted glass cover; The electronic device performs a preset operation.

本發明的實施例另提供一種電子裝置,其包括毛玻璃上蓋、影像擷取裝置及處理器。所述處理器耦接至所述影像擷取裝置。在預設狀態下,所述毛玻璃上蓋用以遮蔽所述鏡頭。所述鏡頭用以經由所述毛玻璃上蓋偵測亮度變化。所述處理器用以根據所述亮度變化控制所述電子裝置執行預設操作。An embodiment of the present invention further provides an electronic device, which includes a ground glass top cover, an image capture device, and a processor. The processor is coupled to the image capturing device. In a preset state, the ground glass top cover is used to shield the lens. The lens is used for detecting brightness changes through the ground glass top cover. The processor is used for controlling the electronic device to perform a preset operation according to the brightness change.

基於上述,在預設狀態下,電子裝置上的毛玻璃上蓋可遮蔽影像擷取裝置的鏡頭。所述鏡頭可經由所述毛玻璃上蓋偵測亮度變化。接著,所述電子裝置可根據所述亮度變化而被觸發以執行預設操作。藉此,可提供更佳的裝置性能及/或提高使用者體驗。Based on the above, in the default state, the frosted glass cover on the electronic device can shield the lens of the image capturing device. The lens can detect the brightness change through the ground glass top cover. Then, the electronic device can be triggered to perform a preset operation according to the brightness change. In this way, better device performance and/or user experience can be improved.

圖1是根據本發明的一實施例所繪示的電子裝置的功能方塊圖。請參照圖1,電子裝置10包括毛玻璃上蓋11、影像擷取裝置12及處理器13。毛玻璃上蓋11包括可透光之玻璃上蓋。例如,毛玻璃上蓋11的可透光材料可包括毛玻璃、霧面玻璃及/或噴砂玻璃。當光線照射至毛玻璃上蓋11後,通過毛玻璃上蓋11的光線可發生散射與漫射。相較於一般的透明玻璃,若將鏡頭設置於毛玻璃上蓋11之後方,則此鏡頭經由毛玻璃上蓋11所擷取的外部影像往往較為模糊。FIG. 1 is a functional block diagram of an electronic device according to an embodiment of the invention. Please refer to FIG. 1, the electronic device 10 includes a ground glass top cover 11, an image capturing device 12 and a processor 13. The frosted glass upper cover 11 includes a transparent glass upper cover. For example, the light-permeable material of the ground glass cover 11 may include ground glass, matte glass and/or sandblasted glass. When the light irradiates the ground glass cover 11, the light passing through the ground glass cover 11 can be scattered and diffused. Compared with general transparent glass, if the lens is arranged behind the ground glass cover 11, the external image captured by the lens through the ground glass cover 11 is often blurred.

影像擷取裝置12用以擷取外部影像。例如,影像擷取裝置12可包括至少一個鏡頭與至少一個感光元件。影像擷取裝置12可用以經由所述鏡頭與所述感光元件擷取外部影像。例如,影像擷取裝置12可包括內建於電子裝置10的至少一攝影機。The image capturing device 12 is used to capture external images. For example, the image capturing device 12 may include at least one lens and at least one photosensitive element. The image capturing device 12 can be used to capture external images through the lens and the photosensitive element. For example, the image capturing device 12 may include at least one camera built in the electronic device 10.

處理器13耦接至影像擷取裝置12。在一實施例中,處理器13可用以控制影像擷取裝置12。在一實施例中,若毛玻璃上蓋11為可移動的,則處理器13也可耦接至毛玻璃上蓋11並控制毛玻璃上蓋11移動。在一實施例中,處理器13還可用以控制電子裝置10的整體或部分操作。例如,處理器13可包括中央處理單元(CPU)、圖形處理器(GPU),或是其他可程式化之一般用途或特殊用途的微處理器、數位訊號處理器(Digital Signal Processor, DSP)、可程式化控制器、特殊應用積體電路(Application Specific Integrated Circuits, ASIC)、可程式化邏輯裝置(Programmable Logic Device, PLD)或其他類似裝置或這些裝置的組合。The processor 13 is coupled to the image capturing device 12. In one embodiment, the processor 13 can be used to control the image capturing device 12. In an embodiment, if the frosted glass top cover 11 is movable, the processor 13 can also be coupled to the frosted glass top cover 11 and control the frosted glass top cover 11 to move. In an embodiment, the processor 13 may also be used to control the whole or part of the operation of the electronic device 10. For example, the processor 13 may include a central processing unit (CPU), a graphics processing unit (GPU), or other programmable general-purpose or special-purpose microprocessors, digital signal processors (DSP), Programmable controller, Application Specific Integrated Circuits (ASIC), Programmable Logic Device (PLD) or other similar devices or a combination of these devices.

在一實施例中,電子裝置10還包括儲存電路、輸入/輸出介面及/或電源電路等各式電子元件,本發明不加以限制。例如,輸入/輸出介面可包括螢幕、觸控螢幕、鍵盤、滑鼠、觸控板、揚聲器、麥克風、有線通訊介面卡、及/或無線通訊介面卡等,本發明不加以限制。In an embodiment, the electronic device 10 further includes various electronic components such as a storage circuit, an input/output interface, and/or a power supply circuit, which is not limited by the present invention. For example, the input/output interface may include a screen, a touch screen, a keyboard, a mouse, a touchpad, a speaker, a microphone, a wired communication interface card, and/or a wireless communication interface card, etc., which is not limited by the present invention.

在一實施例中,在預設狀態下,毛玻璃上蓋11可遮蔽影像擷取裝置12的鏡頭。影像擷取裝置12的鏡頭可經由毛玻璃上蓋11偵測亮度變化。此亮度變化例如是指經由毛玻璃上蓋11所擷取之影像的亮度變化。然後,處理器13可根據此亮度變化觸發電子裝置10執行預設操作。In one embodiment, in a preset state, the ground glass top cover 11 can shield the lens of the image capturing device 12. The lens of the image capturing device 12 can detect the brightness change through the ground glass top cover 11. The brightness change refers to, for example, the brightness change of the image captured by the ground glass top cover 11. Then, the processor 13 can trigger the electronic device 10 to perform a preset operation according to the brightness change.

在以下實施例中,是以筆記型電腦做為圖1的電子裝置10的範例。然而,在其他實施例中,圖1的電子裝置10亦可以是桌上型電腦、工業電腦、平板電腦或智慧型手機等同時配置有毛玻璃上蓋11與影像擷取裝置12的電子裝置,本發明不加以限制。In the following embodiments, a notebook computer is used as an example of the electronic device 10 in FIG. 1. However, in other embodiments, the electronic device 10 in FIG. 1 can also be an electronic device equipped with a ground glass cover 11 and an image capturing device 12 at the same time, such as a desktop computer, an industrial computer, a tablet computer, or a smart phone. No restrictions.

圖2是根據本發明的一實施例所繪示的電子裝置的外觀示意圖。請參照圖2,以筆記型電腦作為電子裝置10的範例,在預設狀態下,鏡頭21是被毛玻璃上蓋11遮蔽。當鏡頭21被毛玻璃上蓋11遮蔽時,鏡頭21可經由毛玻璃上蓋11擷取外部影像。FIG. 2 is a schematic diagram of the appearance of an electronic device according to an embodiment of the present invention. Please refer to FIG. 2, taking a notebook computer as an example of the electronic device 10. In the default state, the lens 21 is shielded by the frosted glass top cover 11. When the lens 21 is shielded by the ground glass cover 11, the lens 21 can capture external images through the ground glass cover 11.

圖3是根據本發明的一實施例所繪示的鏡頭通過毛玻璃上蓋接收光線的示意圖。請參照圖3,當鏡頭21被毛玻璃上蓋11遮蔽時,光線301是通過毛玻璃上蓋11後才被鏡頭21接收。因此,相較於鏡頭21未被毛玻璃上蓋11上蓋遮蔽時所擷取的影像,當鏡頭21被毛玻璃上蓋11遮蔽時,所擷取的影像較為模糊。例如,假設此時鏡頭21前方有某一物體,則在經由毛玻璃上蓋11所擷取的影像中,此物體的輪廓是模糊且不清楚的。FIG. 3 is a schematic diagram of a lens according to an embodiment of the invention receiving light through a frosted glass top cover. Please refer to FIG. 3, when the lens 21 is shielded by the ground glass cover 11, the light 301 is received by the lens 21 after passing through the ground glass cover 11. Therefore, compared to the image captured when the lens 21 is not covered by the top cover 11 of the ground glass, the captured image is blurred when the lens 21 is covered by the top cover 11 of the ground glass. For example, assuming that there is an object in front of the lens 21 at this time, in the image captured through the ground glass cover 11, the outline of the object is blurred and unclear.

在一實施例中,在鏡頭21經由毛玻璃上蓋11擷取外部影像後,處理器13可分析此外部影像以獲得此外部影像之亮度變化。處理器13可判斷所述亮度變化是否符合預設條件。若所述亮度變化符合預設條件,處理器13可響應於所述亮度變化符合預設條件而觸發電子裝置10執行預設操作。然而,若所述亮度變化不符合預設條件,處理器13可不執行所述預設操作。In one embodiment, after the lens 21 captures an external image through the ground glass cover 11, the processor 13 can analyze the external image to obtain the brightness change of the external image. The processor 13 can determine whether the brightness change meets a preset condition. If the brightness change meets the preset condition, the processor 13 can trigger the electronic device 10 to perform a preset operation in response to the brightness change meets the preset condition. However, if the brightness change does not meet the preset condition, the processor 13 may not perform the preset operation.

在一實施例中,處理器13可分析此外部影像以獲得此外部影像中至少一個像素點的亮度資訊。例如,每一個像素點可具有一個亮度值。若此外部影像中預先定義的至少一個像素點的亮度值的變化幅度超過一預設幅度,處理器13可判定所述亮度變化符合預設條件。此外,若預先定義的至少一個像素點的亮度值的變化幅度未超過此預設幅度,則處理器13可判定所述亮度變化不符合預設條件。In one embodiment, the processor 13 may analyze the external image to obtain brightness information of at least one pixel in the external image. For example, each pixel can have a brightness value. If the change range of the brightness value of at least one pixel in the external image is defined by more than a preset range, the processor 13 may determine that the change in brightness meets the preset condition. In addition, if the change range of the brightness value of at least one pixel point defined in advance does not exceed the preset range, the processor 13 may determine that the brightness change does not meet the preset condition.

在一實施例中,所述亮度變化是否符合預設條件是用以偵測是否有使用者靠近及/或準備操作電子裝置10。例如,在圖2與圖3的預設狀態下,當使用者靠近及/或準備操作電子裝置10時,使用者的臉或手可能會遮擋至少一部分原先由鏡頭21接收的光線301,導致所擷取的外部影像中預先定義的至少一個像素點的亮度值下降。若所述像素點的亮度值下降至超過預設幅度,處理器13可判定當前有使用者靠近及/或準備操作電子裝置10並自動執行預設操作。In one embodiment, whether the brightness change meets a preset condition is used to detect whether a user is approaching and/or preparing to operate the electronic device 10. For example, in the default state of FIGS. 2 and 3, when the user approaches and/or prepares to operate the electronic device 10, the user's face or hand may block at least a part of the light 301 originally received by the lens 21, resulting in The brightness value of at least one pre-defined pixel in the captured external image decreases. If the brightness value of the pixel drops to more than a preset range, the processor 13 can determine that a user is currently approaching and/or preparing to operate the electronic device 10 and automatically perform a preset operation.

在一實施例中,所述預設操作包括切換電子裝置10的工作模式。在一實施例中,切換電子裝置10的工作模式包括將電子裝置10從睡眠(例如S3)、休眠或閒置狀態喚醒。在一實施例中,切換電子裝置10的工作模式包括將電子裝置10從鎖定狀態解鎖。In an embodiment, the preset operation includes switching the working mode of the electronic device 10. In an embodiment, switching the working mode of the electronic device 10 includes waking the electronic device 10 from a sleep (for example, S3), hibernation or idle state. In an embodiment, switching the working mode of the electronic device 10 includes unlocking the electronic device 10 from the locked state.

在一實施例中,在切換電子裝置10的工作模式後,處理器13可經由電子裝置10的至少一輸入介面接收驗證資訊。然後,處理器13可根據此驗證資訊執行登入驗證。In one embodiment, after the operating mode of the electronic device 10 is switched, the processor 13 may receive verification information through at least one input interface of the electronic device 10. Then, the processor 13 can perform login verification according to the verification information.

圖4是根據本發明的一實施例所繪示的輸入介面的示意圖。請參照圖4,在一實施例中,在決定執行預設操作後,輸入介面41可呈現於電子裝置10的顯示器。輸入介面41可提示使用者輸入驗證資訊(例如帳號及/或密碼)。處理器13可經由輸入介面41接收使用者輸入的驗證資訊並執行登入驗證。在登入驗證中,處理器13可將此驗證資訊與資料庫中的預設資訊進行比對。若比對結果為吻合,處理器13可判定此驗證資訊通過驗證並將電子裝置10切換至對應於此驗證資訊的登入狀態。此外,若比對結果為不吻合,則處理器13可判定此驗證資訊未通過驗證並將電子裝置10維持於未登入狀態(例如鎖定狀態)。Fig. 4 is a schematic diagram of an input interface according to an embodiment of the present invention. Please refer to FIG. 4, in an embodiment, after a predetermined operation is determined to be performed, the input interface 41 may be presented on the display of the electronic device 10. The input interface 41 can prompt the user to input authentication information (such as an account and/or password). The processor 13 can receive the verification information input by the user via the input interface 41 and perform login verification. In the login verification, the processor 13 can compare the verification information with the preset information in the database. If the comparison results are consistent, the processor 13 can determine that the verification information is verified and switch the electronic device 10 to a login state corresponding to the verification information. In addition, if the comparison result is inconsistent, the processor 13 can determine that the verification information has not passed the verification and maintain the electronic device 10 in an unlogged state (for example, a locked state).

在一實施例中,毛玻璃上蓋11是可以移動的。以圖2為例,在預設狀態下,毛玻璃上蓋11可移動至可遮蔽鏡頭21的位置。在離開預設狀態後,毛玻璃上蓋11可移動至不遮蔽鏡頭21的位置,以暴露鏡頭21。In an embodiment, the ground glass upper cover 11 is movable. Taking FIG. 2 as an example, in a preset state, the frosted glass upper cover 11 can be moved to a position where the lens 21 can be shielded. After leaving the preset state, the frosted glass top cover 11 can be moved to a position where the lens 21 is not shielded to expose the lens 21.

圖5是根據本發明的一實施例所繪示的移動毛玻璃上蓋的示意圖。請參照圖5,在離開預設狀態後,毛玻璃上蓋11可沿著方向501移動至不遮蔽鏡頭21的位置,以暴露鏡頭21。在暴露鏡頭21後,鏡頭21可不經由毛玻璃上蓋11而擷取外部影像。Fig. 5 is a schematic diagram of a moving frosted glass top cover according to an embodiment of the present invention. Please refer to FIG. 5, after leaving the preset state, the frosted glass upper cover 11 can be moved along the direction 501 to a position where the lens 21 is not shielded, so as to expose the lens 21. After the lens 21 is exposed, the lens 21 can capture external images without going through the ground glass cover 11.

圖6是根據本發明的一實施例所繪示的鏡頭未通過毛玻璃上蓋接收光線的示意圖。請參照圖6,在將毛玻璃上蓋11沿著方向501移動後,所暴露的鏡頭21可直接接收光線601。相較於圖3的實施例,藉由接收光線601所獲得的外部影像中可帶有較為清晰的物體影像及物體輪廓。FIG. 6 is a schematic diagram illustrating that the lens according to an embodiment of the present invention does not receive light through the frosted glass cover. Please refer to FIG. 6, after the frosted glass cover 11 is moved along the direction 501, the exposed lens 21 can directly receive the light 601. Compared with the embodiment of FIG. 3, the external image obtained by receiving the light 601 may contain clearer object images and object contours.

在一實施例中,所述預設操作包括移動毛玻璃上蓋11之操作。例如,在一實施例中,在判定所述亮度變化符合預設條件後,處理器13可控制毛玻璃上蓋11沿著方向501移動,以暴露鏡頭21。在一實施例中,將毛玻璃上蓋11移動至暴露鏡頭21的位置,可視為離開所述預設狀態。In one embodiment, the preset operation includes the operation of moving the frosted glass upper cover 11. For example, in one embodiment, after determining that the brightness change meets a preset condition, the processor 13 may control the ground glass top cover 11 to move along the direction 501 to expose the lens 21. In one embodiment, moving the frosted glass top cover 11 to a position where the lens 21 is exposed can be regarded as leaving the preset state.

在一實施例中,所述預設操作還包括在移動毛玻璃上蓋11以暴露鏡頭21(即離開預設狀態後)後,經由鏡頭21擷取目標影像以及根據目標影像執行臉部辨識。相較於在預設狀態下經由毛玻璃上蓋11所擷取的影像,由於目標影像之擷取並未通過毛玻璃上蓋11,故目標影像中的物體可具有較為清晰的影像輪廓。In one embodiment, the preset operation further includes, after moving the frosted glass cover 11 to expose the lens 21 (that is, after leaving the preset state), capturing a target image through the lens 21 and performing face recognition based on the target image. Compared with the image captured through the ground glass cover 11 in the default state, since the target image is not captured through the ground glass cover 11, the object in the target image can have a clearer image outline.

圖7是根據本發明的一實施例所繪示的目標影像的示意圖。請參照圖7,在一實施例中,在離開預設狀態後,所擷取的目標影像71可包括使用者的臉部影像。此臉部影像的清晰度只受到影像擷取裝置12本身的性能(例如影像解析度)影響,而不受毛玻璃上蓋11影響。FIG. 7 is a schematic diagram of a target image drawn according to an embodiment of the invention. Referring to FIG. 7, in one embodiment, after leaving the default state, the captured target image 71 may include the user's face image. The sharpness of the facial image is only affected by the performance (such as image resolution) of the image capturing device 12 itself, and not affected by the ground glass cover 11.

在一實施例中,處理器13可根據目標影像執行臉部辨識。根據臉部辨識結果,處理器13可切換電子裝置10的工作狀態。例如,若臉部辨識結果反映目標影像中的使用者確實為電子裝置10的合法使用者,則處理器13可將電子裝置10切換至對應於此合法使用者的登入狀態。或者,若臉部辨識結果反映目標影像中的使用者非為電子裝置10的合法使用者,則處理器13可將電子裝置10維持於未登入狀態(例如鎖定狀態)。In an embodiment, the processor 13 may perform face recognition based on the target image. According to the facial recognition result, the processor 13 can switch the working state of the electronic device 10. For example, if the facial recognition result reflects that the user in the target image is indeed a legal user of the electronic device 10, the processor 13 may switch the electronic device 10 to the login state corresponding to the legal user. Alternatively, if the facial recognition result reflects that the user in the target image is not a legitimate user of the electronic device 10, the processor 13 may maintain the electronic device 10 in an unlogged state (for example, a locked state).

在一實施例中,處理器13可進一步判斷毛玻璃上蓋11是否可移動。若毛玻璃上蓋11是可移動的,則在判定亮度變化符合預設條件後,處理器13可將毛玻璃上蓋11移動至可暴露鏡頭21的位置,如圖5所示。在暴露鏡頭21後,處理器13可分析經由鏡頭21擷取的目標影像並執行臉部辨識。然而,若毛玻璃上蓋11是不可移動的,則在判定亮度變化符合預設條件後,處理器13可呈現如圖4的輸入介面41以接收使用者輸入的驗證資訊並執行登入驗證。In an embodiment, the processor 13 may further determine whether the frosted glass upper cover 11 is movable. If the ground glass cover 11 is movable, after determining that the brightness change meets the preset condition, the processor 13 can move the ground glass cover 11 to a position where the lens 21 can be exposed, as shown in FIG. 5. After the lens 21 is exposed, the processor 13 can analyze the target image captured by the lens 21 and perform face recognition. However, if the frosted glass top cover 11 is not movable, after determining that the brightness change meets the preset condition, the processor 13 may present the input interface 41 as shown in FIG. 4 to receive the verification information input by the user and perform login verification.

在一實施例中,毛玻璃上蓋11可由使用者手動鎖定(例如經由實體卡榫進行卡合鎖定)或由處理器13鎖定毛玻璃上蓋11。在預設狀態下鎖定毛玻璃上蓋11後,毛玻璃上蓋11即不可移動。此外,若使用者手動或由處理器13解除毛玻璃上蓋11的鎖定,則處理器13可根據所測得的亮度變化移動毛玻璃上蓋11,以暴露影像擷取裝置12的鏡頭。In one embodiment, the frosted glass top cover 11 can be manually locked by the user (for example, by a physical latch for snap-locking) or the processor 13 can lock the frosted glass top cover 11. After the frosted glass top cover 11 is locked in the preset state, the frosted glass top cover 11 cannot be moved. In addition, if the user manually or the processor 13 unlocks the frosted glass cover 11, the processor 13 can move the frosted glass cover 11 according to the measured brightness change to expose the lens of the image capturing device 12.

須注意的是,在圖3與圖5的實施例中,是以筆記型電腦作為電子裝置10的範例。然而,在其他實施例中,無論電子裝置10的類型為何,毛玻璃上蓋11的設置位置、鏡頭21的設置位置、毛玻璃上蓋11的移動方向、毛玻璃上蓋11的移動軌跡、毛玻璃上蓋11的外型、及/或鏡頭21的數目皆可以視實務需求加以調整,本發明不加以限制。It should be noted that in the embodiments of FIGS. 3 and 5, a notebook computer is used as an example of the electronic device 10. However, in other embodiments, regardless of the type of electronic device 10, the setting position of the ground glass cover 11, the setting position of the lens 21, the movement direction of the ground glass cover 11, the movement track of the ground glass cover 11, the appearance of the ground glass cover 11, And/or the number of lenses 21 can be adjusted according to practical requirements, and the present invention is not limited.

圖8是根據本發明的一實施例所繪示的裝置控制方法的流程圖。請參照圖8,在步驟S801中,在預設狀態下,由毛玻璃上蓋遮蔽影像擷取裝置的鏡頭。在步驟S802中,由所述鏡頭經由所述毛玻璃上蓋偵測亮度變化。在步驟S803中,根據所述亮度變化觸發所述電子裝置執行預設操作。Fig. 8 is a flowchart of a device control method according to an embodiment of the present invention. Referring to FIG. 8, in step S801, in a preset state, the lens of the image capturing device is covered by the ground glass cover. In step S802, the lens detects the brightness change through the ground glass top cover. In step S803, the electronic device is triggered to perform a preset operation according to the brightness change.

圖9是根據本發明的一實施例所繪示的裝置控制方法的流程圖。請參照圖9,在步驟S901中,在預設狀態下,由毛玻璃上蓋遮蔽影像擷取裝置的鏡頭。在步驟S902中,由所述鏡頭經由所述毛玻璃上蓋偵測亮度變化。在步驟S903中,判斷所述亮度變化是否符合預設條件。若所述亮度變化不符合預設條件,可回到步驟S901。若所述亮度變化符合預設條件,在步驟S904中,判斷所述毛玻璃上蓋是否可移動。Fig. 9 is a flowchart of a device control method according to an embodiment of the present invention. Referring to FIG. 9, in step S901, in a preset state, the lens of the image capturing device is covered by the ground glass cover. In step S902, the brightness change is detected by the lens through the ground glass top cover. In step S903, it is determined whether the brightness change meets a preset condition. If the brightness change does not meet the preset condition, return to step S901. If the brightness change meets the preset condition, in step S904, it is determined whether the frosted glass top cover is movable.

若所述毛玻璃上蓋可移動,在步驟S905中,移動所述毛玻璃上蓋,以暴露影像擷取裝置的鏡頭。在步驟S906中,經由所暴露的鏡頭截取目標影像並根據所述目標影像執行臉部辨識。此外,若所述毛玻璃上蓋不可移動,在步驟S907中,切換電子裝置的工作模式。在步驟S908中,經由所述電子裝置的輸入介面接收驗證資訊並根據所述驗證資訊執行登入驗證。If the ground glass top cover is movable, in step S905, the ground glass top cover is moved to expose the lens of the image capturing device. In step S906, a target image is captured through the exposed lens and face recognition is performed based on the target image. In addition, if the ground glass top cover cannot be moved, in step S907, the operating mode of the electronic device is switched. In step S908, the verification information is received through the input interface of the electronic device and login verification is performed according to the verification information.

然而,圖8與圖9中各步驟已詳細說明如上,在此便不再贅述。值得注意的是,圖8與圖9中各步驟可以實作為多個程式碼或是電路,本發明不加以限制。此外,圖8與圖9的方法可以搭配以上範例實施例使用,也可以單獨使用,本發明不加以限制。However, each step in FIG. 8 and FIG. 9 has been described in detail as above, and will not be repeated here. It is worth noting that each step in FIG. 8 and FIG. 9 can be implemented as multiple program codes or circuits, and the present invention is not limited. In addition, the methods of FIGS. 8 and 9 can be used in conjunction with the above exemplary embodiments, or can be used alone, and the present invention is not limited.

綜上所述,在預設狀態下,電子裝置上的毛玻璃上蓋可遮蔽影像擷取裝置的鏡頭。所述鏡頭可經由所述毛玻璃上蓋偵測亮度變化。接著,所述電子裝置可根據所述亮度變化而被觸發以執行預設操作。在一實施例中,毛玻璃上蓋可根據所述亮度變化而被移動以暴露所述鏡頭。所暴露的鏡頭可用於擷取清晰的影像以執行臉部辨識。或者,在一實施例中,亦可根據所述亮度變化提供輸入介面以接收使用者輸入的驗證資訊並執行登入驗證。藉此,可提供更佳的裝置性能及/或提高使用者體驗。In summary, in the default state, the frosted glass cover on the electronic device can shield the lens of the image capturing device. The lens can detect the brightness change through the ground glass top cover. Then, the electronic device can be triggered to perform a preset operation according to the brightness change. In an embodiment, the frosted glass top cover can be moved according to the brightness change to expose the lens. The exposed lens can be used to capture clear images to perform facial recognition. Alternatively, in an embodiment, an input interface can also be provided according to the brightness change to receive the verification information input by the user and perform login verification. In this way, better device performance and/or user experience can be improved.

10:電子裝置 11:毛玻璃上蓋 12:影像擷取裝置 13:處理器 21:鏡頭 301、601:光線 41:輸入介面 501:方向 71:目標影像 S801~S803、S901~S908:步驟10: Electronic device 11: Frosted glass upper cover 12: Image capture device 13: processor 21: lens 301, 601: light 41: Input interface 501: direction 71: target image S801~S803, S901~S908: steps

圖1是根據本發明的一實施例所繪示的電子裝置的功能方塊圖。 圖2是根據本發明的一實施例所繪示的電子裝置的外觀示意圖。 圖3是根據本發明的一實施例所繪示的鏡頭通過毛玻璃上蓋接收光線的示意圖。 圖4是根據本發明的一實施例所繪示的輸入介面的示意圖。 圖5是根據本發明的一實施例所繪示的移動毛玻璃上蓋的示意圖。 圖6是根據本發明的一實施例所繪示的鏡頭未通過毛玻璃上蓋接收光線的示意圖。 圖7是根據本發明的一實施例所繪示的目標影像的示意圖。 圖8是根據本發明的一實施例所繪示的裝置控制方法的流程圖。 圖9是根據本發明的一實施例所繪示的裝置控制方法的流程圖。FIG. 1 is a functional block diagram of an electronic device according to an embodiment of the invention. FIG. 2 is a schematic diagram of the appearance of an electronic device according to an embodiment of the present invention. FIG. 3 is a schematic diagram of a lens according to an embodiment of the invention receiving light through a frosted glass top cover. Fig. 4 is a schematic diagram of an input interface according to an embodiment of the present invention. Fig. 5 is a schematic diagram of a moving frosted glass top cover according to an embodiment of the present invention. FIG. 6 is a schematic diagram illustrating that the lens according to an embodiment of the present invention does not receive light through the frosted glass cover. FIG. 7 is a schematic diagram of a target image drawn according to an embodiment of the invention. Fig. 8 is a flowchart of a device control method according to an embodiment of the present invention. Fig. 9 is a flowchart of a device control method according to an embodiment of the present invention.

S801~S803:步驟S801~S803: steps

Claims (10)

一種裝置控制方法,用於控制一電子裝置,該電子裝置具有一毛玻璃上蓋與一影像擷取裝置,該裝置控制方法包括: 在一預設狀態下,由該毛玻璃上蓋遮蔽該影像擷取裝置的一鏡頭; 由該鏡頭經由該毛玻璃上蓋偵測一亮度變化;以及 根據該亮度變化觸發該電子裝置執行一預設操作。A device control method for controlling an electronic device, the electronic device has a ground glass top cover and an image capture device, the device control method includes: In a preset state, a lens of the image capturing device is covered by the ground glass cover; Detecting a brightness change by the lens through the frosted glass top cover; and The electronic device is triggered to perform a preset operation according to the brightness change. 如申請專利範圍第1項所述的裝置控制方法,其中根據該亮度變化觸發該電子裝置執行該預設操作之步驟包括: 判斷該亮度變化是否符合一預設條件;以及 響應於該亮度變化符合該預設條件,觸發該電子裝置執行該預設操作。According to the device control method described in item 1 of the scope of patent application, the step of triggering the electronic device to perform the preset operation according to the brightness change includes: Determine whether the brightness change meets a preset condition; and In response to the brightness change meeting the preset condition, the electronic device is triggered to perform the preset operation. 如申請專利範圍第1項所述的裝置控制方法,其中該預設操作包括: 移動該毛玻璃上蓋,以暴露該影像擷取裝置的該鏡頭。For the device control method described in item 1 of the scope of patent application, the preset operation includes: Move the top cover of the ground glass to expose the lens of the image capturing device. 如申請專利範圍第3項所述的裝置控制方法,其中該預設操作更包括: 在移動該毛玻璃上蓋後,經由該鏡頭擷取一目標影像;以及 根據該目標影像執行一臉部辨識。For the device control method described in item 3 of the scope of patent application, the preset operation further includes: After moving the frosted glass top cover, capture a target image through the lens; and Perform a face recognition based on the target image. 如申請專利範圍第1項所述的裝置控制方法,其中該預設操作包括: 切換該電子裝置的一工作模式; 在切換該電子裝置的該工作模式後,經由該電子裝置的一輸入介面接收一驗證資訊;以及 根據該驗證資訊執行一登入驗證。For the device control method described in item 1 of the scope of patent application, the preset operation includes: Switch a working mode of the electronic device; After switching the working mode of the electronic device, receiving a verification information through an input interface of the electronic device; and Perform a login verification based on the verification information. 一種電子裝置,包括: 一毛玻璃上蓋; 一影像擷取裝置,具有一鏡頭;以及 一處理器,耦接至該影像擷取裝置, 其中在一預設狀態下,該毛玻璃上蓋用以遮蔽該鏡頭, 該鏡頭用以經由該毛玻璃上蓋偵測一亮度變化,並且 該處理器用以根據該亮度變化控制該電子裝置執行一預設操作。An electronic device, including: A frosted glass top cover; An image capture device with a lens; and A processor coupled to the image capturing device, In a preset state, the ground glass cover is used to cover the lens, The lens is used to detect a brightness change through the frosted glass top cover, and The processor is used for controlling the electronic device to perform a predetermined operation according to the brightness change. 如申請專利範圍第6項所述的電子裝置,其中該處理器根據該亮度變化控制該電子裝置執行該預設操作之操作包括: 判斷該亮度變化是否符合一預設條件;以及 響應於該亮度變化符合該預設條件,控制該電子裝置執行該預設操作。For the electronic device described in item 6 of the scope of patent application, the operation of the processor to control the electronic device to perform the preset operation according to the brightness change includes: Determine whether the brightness change meets a preset condition; and In response to the brightness change meeting the preset condition, the electronic device is controlled to perform the preset operation. 如申請專利範圍第6項所述的電子裝置,其中該預設操作包括: 移動該毛玻璃上蓋,以暴露該影像擷取裝置的該鏡頭。For the electronic device described in item 6 of the scope of patent application, the preset operation includes: Move the top cover of the ground glass to expose the lens of the image capturing device. 如申請專利範圍第8項所述的電子裝置,其中該預設操作更包括: 在移動該毛玻璃上蓋後,經由該鏡頭擷取一目標影像;以及 根據該目標影像執行一臉部辨識。For the electronic device described in item 8 of the scope of patent application, the preset operation further includes: After moving the frosted glass top cover, capture a target image through the lens; and Perform a face recognition based on the target image. 如申請專利範圍第6項所述的電子裝置,其中該預設操作包括: 切換該電子裝置的一工作模式; 在切換該電子裝置的該工作模式後,經由該電子裝置的一輸入介面接收一驗證資訊;以及 根據該驗證資訊執行一登入驗證。For the electronic device described in item 6 of the scope of patent application, the preset operation includes: Switch a working mode of the electronic device; After switching the working mode of the electronic device, receiving a verification information through an input interface of the electronic device; and Perform a login verification based on the verification information.
TW108137525A 2019-10-17 2019-10-17 Device control method and electronic device TWI723589B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108137525A TWI723589B (en) 2019-10-17 2019-10-17 Device control method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108137525A TWI723589B (en) 2019-10-17 2019-10-17 Device control method and electronic device

Publications (2)

Publication Number Publication Date
TWI723589B TWI723589B (en) 2021-04-01
TW202117600A true TW202117600A (en) 2021-05-01

Family

ID=76604968

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108137525A TWI723589B (en) 2019-10-17 2019-10-17 Device control method and electronic device

Country Status (1)

Country Link
TW (1) TWI723589B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI350486B (en) * 2007-11-26 2011-10-11 Ind Tech Res Inst Biometrics method and apparatus and biometric data encryption method thereof
US8374422B2 (en) * 2008-04-14 2013-02-12 Xid Technologies Pte Ltd. Face expressions identification
TWI539386B (en) * 2011-11-21 2016-06-21 Pixart Imaging Inc The use of a variety of physiological information mixed identification of the identity of the system and methods

Also Published As

Publication number Publication date
TWI723589B (en) 2021-04-01

Similar Documents

Publication Publication Date Title
WO2018121428A1 (en) Living body detection method, apparatus, and storage medium
US11567637B2 (en) Display control method and device
CN107181913B (en) A kind of photographic method and mobile terminal
US9288373B2 (en) System and method for human computer interaction
RU2639648C1 (en) Method and device for recognizing fingerprints
WO2017215567A1 (en) Method for fingerprint unlocking while in screen-off state, terminal and storage medium
US8831295B2 (en) Electronic device configured to apply facial recognition based upon reflected infrared illumination and related methods
US20130050133A1 (en) Method and apparatus for precluding operations associated with accidental touch inputs
US10969955B2 (en) Electronic device
CN107124543B (en) Shooting method and mobile terminal
WO2017071050A1 (en) Mistaken touch prevention method and device for terminal with touch screen
KR20200034183A (en) Display apparatus and control methods thereof
CN107172347B (en) Photographing method and terminal
CN110858860B (en) Electronic device control responsive to finger rotation on a fingerprint sensor and corresponding method
JP2018133019A (en) Information processing system, information processing method, and program
US10007771B2 (en) User interface for a mobile device
TW201727467A (en) User interface for a mobile device
CN108683845A (en) Image processing method, device, storage medium and mobile terminal
TWI718559B (en) Optical fingerprint sensing method, fingerprint identification device and information processing device
CN107563259B (en) Method for detecting action information, photosensitive array and image sensor
TWI723589B (en) Device control method and electronic device
US9697649B1 (en) Controlling access to a device
CN112866541A (en) Device control method and electronic device
WO2018150757A1 (en) Information processing system, information processing method, and program
US20190129609A1 (en) Electronic apparatus