An unlocking control method and device, electronic equipment and readable storage medium

By obtaining target information to determine user intent while the screen is locked, and delaying the activation of the face recognition module, the problem of mis-locking caused by excessively fast face recognition unlocking speed is solved, improving user experience and device standby time.

CN114283476BActive Publication Date: 2026-03-27VIVO MOBILE COMM CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-27
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

Facial recognition unlocking too quickly can cause electronic devices to mis-lock, affecting the user experience.

Method used

When receiving user input in the locked state, the system obtains target information such as the area of ​​the electronic device's screen that is obscured, the distance between the screen and the user, and the angle between the screen and the horizontal plane. Based on this information, the system determines the user's intention and delays the activation of the face recognition module to avoid misunderstandings when locking the device.

Benefits of technology

It reduces the chances of electronic devices being locked by mistake, decreases the number of times face recognition is triggered, increases standby time, and allows users to quickly access the camera from the lock screen to take photos.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114283476B_ABST
    Figure CN114283476B_ABST
Patent Text Reader

Abstract

The application discloses an unlocking control method and device and electronic equipment, and belongs to the technical field of electronic equipment. The unlocking control comprises the following steps: receiving a first input of a user when the electronic equipment is in a lock screen state; displaying a lock screen interface and acquiring target information related to the electronic equipment in response to the first input; and delaying the starting of a face recognition module when the target information does not meet preset conditions; wherein the target information comprises at least one of the following: a first area of the screen of the electronic equipment that is blocked, a first distance between the screen of the electronic equipment and the user, and a first included angle between the screen of the electronic equipment and a horizontal plane.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of electronic devices, and particularly relates to an unlocking control method and device, an electronic device and a readable storage medium. BACKGROUND

[0002] At present, face recognition unlocking has become the main unlocking method of electronic devices such as mobile phones. Due to the improvement of the chip computing power of electronic devices, the speed of face recognition and unlocking is getting faster and faster, and sometimes the electronic device has been unlocked before the user realizes it. However, in some scenarios, the user does not want to unlock the screen, but only wants to check the screen time or check notification messages, etc., which causes the user to need to lock the screen again, brings unnecessary operation to the user, and reduces the user experience. SUMMARY

[0003] The purpose of the embodiments of the present application is to provide an unlocking control method and device, an electronic device and a readable storage medium, which can solve the problem that the face recognition unlocking speed is too fast in the prior art, causing the screen to be unlocked by mistake, and then affecting the user operation.

[0004] In a first aspect, the embodiments of the present application provide an unlocking control method, which comprises:

[0005] receiving a first input of a user in a case where an electronic device is in a locked screen state;

[0006] displaying a locked screen interface in response to the first input, and obtaining target information related to the electronic device;

[0007] delaying starting a face recognition module in a case where the target information does not meet a preset condition;

[0008] The target information comprises at least one of the following: a first area of the screen of the electronic device being blocked, a first distance between the screen of the electronic device and the user, and a first included angle between the screen of the electronic device and a horizontal plane.

[0009] In a second aspect, the embodiments of the present application provide an unlocking control device, which comprises:

[0010] a receiving module configured to receive a first input of a user in a case where an electronic device is in a locked screen state;

[0011] a processing module configured to display a locked screen interface in response to the first input, and obtain target information related to the electronic device;

[0012] a delaying module configured to delay starting a face recognition module in a case where the target information does not meet a preset condition;

[0013] The target information includes at least one of a first area of the screen of the electronic device being blocked, a first distance between the screen of the electronic device and the user, and a first included angle between the screen of the electronic device and a horizontal plane.

[0014] In a third aspect, an electronic device is provided. The electronic device includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method of the first aspect.

[0015] In a fourth aspect, a readable storage medium is provided. The readable storage medium stores a program or instructions, and the program or instructions, when executed by a processor, implement the steps of the method of the first aspect.

[0016] In a fifth aspect, a chip is provided. The chip includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is configured to execute a program or instructions to implement the method of the first aspect.

[0017] In the embodiments of the present application, when the user's unlocking input is received in the lock screen state, target information related to the electronic device is obtained, such as the first area of the screen of the electronic device being blocked, the first distance between the screen of the electronic device and the user, the first included angle between the screen of the electronic device and the horizontal plane, etc., so as to identify the operation intention of the user according to the target information, to accurately determine whether the user really needs to unlock the screen, that is, when the target information does not meet the preset condition, the face recognition module is delayed to start, so as to delay unlocking the electronic device, thereby reducing the occurrence of the situation that the electronic device is unlocked by mistake, and the user can quickly enter the camera from the lock screen interface to realize snapshotting when the user needs to snapshot, thereby avoiding additional operations of the user. In addition, since the intention of the user whether to need to unlock can be accurately identified, the number of times that the face recognition triggers the electronic device to unlock can be reduced, thereby increasing the standby time of the electronic device. BRIEF DESCRIPTION OF DRAWINGS

[0018] Figure 1 A flowchart of an unlocking control method provided by the embodiments of the present application is shown;

[0019] Figure 2 A schematic diagram of a lock screen interface provided by the embodiments of the present application is shown;

[0020] Figure 3 A schematic diagram of a target display mode provided by the embodiments of the present application is shown;

[0021] Figure 4 A schematic diagram of the electronic device in a landscape posture provided by the embodiments of the present application is shown;

[0022] Figure 5 A schematic diagram provided by an embodiment of the present application for displaying an icon of a target shooting application on a lock screen interface is shown in FIG. 1.

[0023] Figure 6 A structural schematic diagram of an unlocking control device provided by an embodiment of the present application is shown in FIG. 2.

[0024] Figure 7 A structural schematic diagram of an electronic device provided by an embodiment of the present application is shown in FIG. 3.

[0025] Figure 8 A hardware structural schematic diagram of an electronic device for implementing an embodiment of the present application is shown in FIG. 4. DETAILED DESCRIPTION

[0026] The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art belong to the scope of protection of the present application.

[0027] The terms "first", "second", and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of a kind and do not limit the number of objects, for example, the first object can be one or more. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / ", generally represents a "or" relationship between the front and rear associated objects.

[0028] The unlocking control method, device, electronic device and readable storage medium provided by the embodiments of the present application will be described in detail below with reference to the drawings, specific embodiments and application scenarios.

[0029] Reference is made to Figure 1 , Figure 1 A flowchart of an unlocking control method provided by an embodiment of the present application is shown in FIG. 5. As shown in FIG. 5, the present application provides an unlocking control method, which can be applied to an electronic device, and the method includes the following steps: Figure 1

[0030] Step 101: receiving a first input of a user in a case where the electronic device is in a lock screen state;

[0031] ​Step 102: in response to the first input, display a lock screen interface, and acquire target information related to the electronic device.

[0032] The target information includes at least one of the following: a first area of the screen of the electronic device that is blocked, a first distance between the screen of the electronic device and the user, and a first included angle between the screen of the electronic device and a horizontal plane.

[0033] In the embodiment of the present application, when the electronic device is in a lock screen state and the screen is not bright, if a first input of the user is received, for example, the first input can be an operation of holding the electronic device and lifting the electronic device, or an input of holding the electronic device and pressing a physical button for turning on / off the screen, or an input of holding the electronic device and double-clicking a preset screen area of the electronic device, the embodiment of the present application does not make specific limitation, then the electronic device will display a lock screen interface in response to the first input. Various components will be displayed in the lock screen interface, including a time component, a weather component, a music playing component, etc. Various notification messages will also be displayed, so that the user can still quickly obtain time, weather, notification messages, etc. without unlocking the electronic device.

[0034] In the embodiment of the present application, target information related to the electronic device will also be acquired in response to the first input. The target information includes a first area of the screen of the electronic device that is blocked, for example, an area blocked by the user's hand when holding the electronic device. The target information can also include a first distance between the screen of the electronic device and the user, for example, a distance between the screen of the electronic device and the user's eyes. The target information can also include a first included angle between the screen of the electronic device and a horizontal plane, for example, when the posture of the electronic device is vertical, the first included angle between the screen of the electronic device and the horizontal plane is 90°. The above-mentioned various target information can include one, two or more of them. It can be known that the more categories of target information acquired, the more accurate the subsequent judgment of the intention of the first input of the user.

[0035] Step 103: in the case where the target information does not meet a preset condition, delaying starting a face recognition module.

[0036] That is, the electronic device in the embodiment of the present application has a face recognition unlocking capability. After receiving the first input of the user, the purpose of acquiring the target information related to the electronic device is to analyze the above-mentioned target information to obtain the intention of the user to perform the first input on the electronic device, that is, to determine whether the user wants to unlock the electronic device to use the electronic device, and finally to determine whether to normally start the face recognition module for unlocking the electronic device through a face recognition algorithm.

[0037] For example, if the target information does not meet the preset condition, it can be determined that the user does not have the intention to unlock the electronic device, and the purpose of the first input to the electronic device can be only to view the information in the lock screen interface or to take a quick shot (i.e., a snapshot), so the face recognition module can be delayed to start, so that the electronic device cannot be quickly unlocked by face recognition in this period of time. Understandably, the delay to start means that the start time of the face recognition module is delayed, but the face recognition module will eventually start. After the face recognition module is started, the face can be obtained by the front camera, so that the electronic device can be unlocked if the face matches. If the user really only wants to view the information in the lock screen interface, for example, the first input is to hold the electronic device and lift the electronic device to make the screen face the user's eyes, then after viewing, the electronic device is put back in place. Because the start of the face recognition module is delayed, the user's face information cannot be obtained when the face recognition module starts later, so the electronic device will not be unlocked.

[0038] Therefore, in the embodiments of the present application, when the user's unlocking input is received in the lock screen state, the target information related to the electronic device is obtained, such as the first area of the screen of the electronic device being blocked, the first distance between the screen of the electronic device and the user, the first angle between the screen of the electronic device and the horizontal plane, etc., so as to identify the user's operation intention according to the target information, to accurately determine whether the user really needs to unlock the screen, that is, when the target information does not meet the preset condition, the face recognition module is delayed to start, so as to delay the unlocking of the electronic device, thereby reducing the occurrence of the false unlocking of the electronic device. When the user needs to take a snapshot, the user can quickly enter the camera application from the lock screen interface to realize the snapshot, avoiding additional operations of the user (in related technologies, the user can quickly enter the camera from the lock screen interface, but the face unlocking is too fast, which can cause the electronic device to enter the system deep menu, so the user needs to input multiple times to return to the home page, and then click and enter the camera interface, which can cause the user to miss the snapshot opportunity). Moreover, because the intention of the user to unlock can be accurately identified, the number of times of triggering the electronic device to be unlocked by face recognition can be reduced, thereby increasing the standby time of the electronic device.

[0039] In some embodiments of the present application, the target information not meeting the preset condition includes:

[0040] The first area exceeds a preset area threshold;

[0041] The first distance exceeds a preset distance threshold;

[0042] The first angle is greater than a preset angle threshold.

[0043] If the first area is greater than a preset area threshold, for example, the electronic device is held by the user and the user's hand blocks more area of the front of the electronic device when holding the electronic device, it indicates that the user does not want to unlock the electronic device, because if the user wants to unlock the electronic device for use, the user will not block the electronic device too much to affect use. For another example, the electronic device is placed on a table, the first input is an input of the user pressing the screen-on button, at this time, the back of the electronic device is blocked by the table and the like, and the user does not hold the electronic device, which indicates that the user only wants to view information in the lock screen interface and does not want to unlock the electronic device. Therefore, it is determined that the target information does not meet the preset condition, and the face recognition module should be delayed to start.

[0044] If the first distance exceeds a preset distance threshold, for example, the distance between the screen of the electronic device and the eyes of the user exceeds the preset distance threshold, which indicates that the user only wants to view information in the lock screen interface and does not want to unlock the electronic device. Therefore, it is determined that the target information does not meet the preset condition, and the face recognition module should be delayed to start. The first distance can be detected by a distance sensor, a front camera or the like.

[0045] When the first included angle is greater than a preset included angle threshold, for example, the user holds the electronic device to make the electronic device in a vertical state, the first included angle between the screen of the electronic device and the horizontal plane is close to 90°, which is greater than the preset included angle threshold (for example, 45°), and it is considered that the user wants to take a vertical screen shot in this case, rather than unlocking the electronic device. Therefore, it is determined that the target information does not meet the preset condition, and the face recognition module should be delayed to start. For another example, the first included angle greater than the preset included angle threshold can also be that the posture of the electronic device is detected to change, for example, the posture of the electronic device changes to a horizontal screen, and the included angle between the screen of the electronic device and the horizontal plane is also close to 90°. It is considered that the user wants to take a horizontal screen shot in this case, rather than unlocking the electronic device. Therefore, it is determined that the target information does not meet the preset condition, and the face recognition module should be delayed to start. It can be understood that when the user uses the electronic device to take a picture, the angle between the screen and the horizontal plane will be larger (closer to vertical). In addition, the user lifting the electronic device and other actions that can be determined to be using the electronic device to take a picture can also be detected.

[0046] In some embodiments of the present application, the delayed start of the face recognition module includes:

[0047] delaying the face recognition module to start for a first time period;

[0048] The first time period is associated with a difference degree between the target information and the preset condition.

[0049] Optionally, the target information and the preset condition can be information of the same type. For example, in a case where the target information is a first area of the screen of the electronic device that is blocked, and the preset condition is that the first area exceeds a preset area threshold, the difference degree between the target information and the preset condition is the difference between the first area and the preset area threshold.

[0050] Specifically, the length of the first time length of the delay can be determined according to the difference degree between the target information and the preset condition. The greater the difference degree, the longer the first time length, and vice versa. For example, the greater the difference between the first area and the preset area threshold, the greater the difference degree, or the greater the difference between the first distance and the preset distance threshold, the greater the difference degree, or the greater the difference between the first angle and the preset angle threshold, the greater the difference degree, and accordingly the first time length is longer, and vice versa.

[0051] Optionally, the above various difference degree measurement methods can also be combined together, for example, a weight is given to each type of target information, the weighted sum of the difference degrees is calculated, and the difference degree is determined comprehensively to make the first time length of the delay closer to the user's demand.

[0052] In some other embodiments of the present application, after displaying the lock screen interface and obtaining the target information related to the electronic device in response to the first input, the method further includes:

[0053] In a case where the target information does not meet the preset condition, if it is detected that the user's line of sight falls on the screen of the electronic device, the first information in the lock screen interface is displayed in a first display mode.

[0054] The first information includes at least one of time information, weather information, notification messages, and power information.

[0055] It can be understood that the first information is content that can be displayed in the lock screen interface (unlocked) by itself.

[0056] That is, in the case that the acquired target information does not meet the preset condition, the gaze of the user can be further detected by the front camera of the electronic device, and if the gaze of the user is detected to fall on the screen of the electronic device, the first information on the lock screen interface is processed and displayed in the first display mode, so as to realize the highlight display of the first information. That is, if the user only wants to view the first information such as time, weather, notification message, etc. in the lock screen interface, the target information usually does not meet the preset condition, and at this time, the gaze of the user can be further detected to fall on the electronic device, and if the gaze of the user falls on the electronic device, it indicates that the user pays attention to the first information such as time, weather, notification message, etc. in the lock screen interface, so that the first information in the lock screen interface can be displayed in the first display mode, so as to facilitate the user to view the first information.

[0057] In some embodiments of the present application, displaying the first information in the lock screen interface in the first display mode can be highlight display processing of the first information, for example, enlarging the font of the first information, bolding the font of the first information, highlighting the first information, highlighting the first information with background color, centering the first information, etc., so as to facilitate the user to view. Wherein, the first information includes at least one of time information, weather information, notification message, and the user usually pays attention to the above first information, so that the highlight display of these first information can facilitate the user to view.

[0058] Please refer to Figure 2 and Figure 3 , Figure 2 a schematic diagram of a lock screen interface provided by an embodiment of the present application, Figure 3 a schematic diagram of a first display mode provided by an embodiment of the present application. As Figure 2 shown, the time information and the notification message are displayed in the lock screen interface, as Figure 3 shown, the time information and the notification message in the lock screen interface are processed and displayed in an enlarged manner, so that the user can more conveniently and quickly view the information.

[0059] In still some embodiments of the present application, after the lock screen interface is displayed in response to the first input and the target information related to the electronic device is acquired, the method further includes:

[0060] In the case that the first included angle is greater than the preset included angle threshold, the icon of the target shooting application is displayed on the lock screen interface in the second display mode.

[0061] That is, the embodiment of the present application can determine whether the user has the intention of taking a picture by acquiring the first included angle between the electronic device and the horizontal plane, that is, when the first included angle is greater than the preset included angle threshold, it is determined that the user wants to take a picture, and the icon of the target shooting application is displayed in the lock screen interface in the second display mode, so that the user can quickly see and click the icon in the lock screen state, thereby realizing the quick start of the target shooting application, so that the user can quickly take a picture (such as a snapshot).

[0062] Specifically, if the first included angle is greater than the preset included angle threshold, the face recognition module is delayed to start, and since the first included angle is greater than the preset included angle threshold, it can be determined that the user has the intention of taking a picture, and the icon of the target shooting application can be displayed on the lock screen interface in the second display mode, so that the user can enter the shooting interface of the target shooting application directly from the lock screen interface by inputting the icon, and realize quick shooting. Therefore, it can reduce or even avoid the situation that the face recognition unlocking speed is too fast to enter the deep menu of the system, and then multiple interactions are required to enter the target shooting application.

[0063] In some embodiments of the present application, displaying the icon of the target shooting application in the lock screen interface in the second display mode can be highlighting the icon of the target shooting application, such as enlarging the icon of the target shooting application, highlighting the icon of the target shooting application, highlighting the icon of the target shooting application with background color, displaying the icon of the target shooting application in the center, and the like, so as to facilitate the user to view.

[0064] Please refer to Figure 4 and Figure 5 , Figure 4 the schematic view of the electronic device in the landscape posture provided by the embodiment of the present application, Figure 5 the schematic view of displaying the icon of the target shooting application in the lock screen interface provided by the embodiment of the present application. As Figure 4 shown, the electronic device is in a landscape state, and at this time, it is detected that the first included angle is greater than the preset included angle threshold, so it can be determined that the user has the intention of taking a picture, and as Figure 5 shown, the icon of the target shooting application can be displayed on the lock screen interface, which can cover part of the content displayed in the original lock screen interface, and the icon can occupy a large display area of the lock screen interface to facilitate the user to click and enter the shooting state.

[0065] In summary, in the embodiments of the present application, when receiving the unlocking input of the user in the lock screen state, the target information related to the electronic device is obtained, such as the first area of the screen of the electronic device being blocked, the first distance between the screen of the electronic device and the user, the first included angle between the screen of the electronic device and the horizontal plane, etc., so as to identify the operation intention of the user according to the target information, to accurately determine whether the user really needs to unlock the screen, that is, when the target information does not meet the preset condition, the face recognition module is delayed to start, so as to delay unlocking the electronic device, thereby reducing the occurrence of the situation of the electronic device being unlocked by mistake. In addition, when the user needs to take a snapshot, the user can also quickly enter the camera interface from the lock screen interface to realize the snapshot, thereby avoiding the additional operation of the user; and since the intention of the user to need to unlock can be accurately identified, the number of times of triggering the electronic device to be unlocked by the face recognition can be reduced, thereby increasing the standby time of the electronic device.

[0066] It should be noted that the unlocking control method provided in the embodiments of the present application can be executed by the unlocking control device or the control module in the unlocking control device for executing the unlocking control method. In the embodiments of the present application, the unlocking control device executes the unlocking control method as an example to illustrate the face recognition unlocking device provided in the embodiments of the present application.

[0067] Please refer to Figure 6 , Figure 6 FIG. 6 is a structural schematic diagram of an unlocking control device provided in the embodiments of the present application. As shown in FIG. 6, another aspect of the embodiments of the present application further provides an unlocking control device, which can be applied to an electronic device, and the device 600 includes:

[0068] The receiving module 601 is configured to receive a first input of a user when the electronic device is in a lock screen state.

[0069] The processing module 602 is configured to display a lock screen interface in response to the first input, and obtain target information related to the electronic device.

[0070] The delaying module 603 is configured to delay starting a face recognition module when the target information does not meet a preset condition.

[0071] The target information includes at least one of the following: a first area of the screen of the electronic device being blocked, a first distance between the screen of the electronic device and the user, and a first included angle between the screen of the electronic device and the horizontal plane.

[0072] In the embodiments of the present application, when the user's unlocking input is received in the lock screen state, target information related to the electronic device is obtained, for example, a first area of the screen of the electronic device that is blocked, a first distance between the screen of the electronic device and the user, a first included angle between the screen of the electronic device and the horizontal plane, etc., so as to identify the operation intention of the user according to the target information, to accurately determine whether the user really needs to unlock the screen, that is, when the target information does not meet the preset condition, the face recognition module is delayed to start, so as to delay unlocking the electronic device, thereby reducing the occurrence of screen false unlocking, and the user can quickly enter the camera from the lock screen interface to realize snapshot when needing to take snapshot, thereby avoiding additional user operations. And, since the intention of whether the user needs to unlock can be accurately identified, the face recognition unlocking can be triggered frequently, thereby increasing the standby time of the electronic device.

[0073] Optionally, the target information not meeting the preset condition comprises:

[0074] The first area exceeds a preset area threshold;

[0075] The first distance exceeds a preset distance threshold;

[0076] The first included angle is greater than a preset included angle threshold.

[0077] Optionally, the delay module comprises:

[0078] a delay unit, configured to delay starting the face recognition module for a first time length;

[0079] The first time length is associated with a difference degree between the target information and the preset condition.

[0080] Optionally, the apparatus further comprises:

[0081] a first display module, configured to, if the target information does not meet the preset condition, display first information in the lock screen interface in a first display mode if it is detected that the user's line of sight falls on the screen of the electronic device.

[0082] The first information comprises at least one of time information, weather information, notification messages, and power information.

[0083] Optionally, the apparatus further comprises:

[0084] a second display module, configured to, if the first included angle is greater than a preset included angle threshold, display an icon of a target shooting application program on the lock screen interface in a second display mode.

[0085] The unlocking control apparatus in the embodiments of the present applicationapplicationbe an apparatus, a component in a terminal, an integrated circuit, or a chip. The apparatusapplicationbe a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic deviceapplicationbe a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc., and the non-mobile electronic deviceapplicationbe a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc., and the embodiments of the present application do not make a specific limitation.

[0086] The unlocking control apparatus in the embodiments of the present applicationapplicationbe an apparatus having an operating system. The operating systemapplicationbe an Android operating system, an iOS operating system, or other possible operating systems, and the embodiments of the present application do not make a specific limitation.

[0087] The unlocking control apparatus provided in the embodiments of the present applicationapplicationbe capable of implementing the method embodiments. Figures 1 to 5 The processes implemented by the method embodimentsapplicationbe described above, and thus will not be described herein again.

[0088] Optionally, as shown in Figure 7 The embodiments of the present application further provide an electronic device 700, which includes a processor 701, a memory 702, a program or instruction stored in the memory 702 and capable of running on the processor 701. The program or instruction is executed by the processor 701 to implement the processes of the above-mentioned unlocking control method embodiments and achieve the same technical effects. The processesapplicationnot be described herein again to avoid repetition.

[0089] It should be noted that the electronic device in the embodiments of the present applicationapplicationinclude the above-mentioned mobile electronic device and non-mobile electronic device.

[0090] Figure 8 A hardware structure schematic diagram of an electronic device for implementing the embodiments of the present application.

[0091] The electronic device 800 includes, but is not limited to, a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810, etc.

[0092] Those skilled in the art can understand that the electronic device 800 can further include a power supply (such as a battery) for supplying power to each component, and the power supply can be logically connected to the processor 810 through a power management system, so that the power management system can realize functions such as management of charging, discharging, and power consumption management. Figure 8 The electronic device structure shown in the foregoing embodiments does not constitute a limitation on the electronic device, and the electronic device can include more or fewer components than those shown, or combine certain components, or arrange different components, which will not be described here.

[0093] The user input unit 807 is configured to receive a first input of a user when the electronic device is in a locked screen state.

[0094] The display unit 806 is configured to display a locked screen interface in response to the first input.

[0095] The sensor 805 is configured to acquire target information related to the electronic device.

[0096] The processor 810 is configured to delay starting a face recognition module when the target information does not meet a preset condition.

[0097] The target information includes at least one of the following: a first area of the screen of the electronic device that is blocked, a first distance between the screen of the electronic device and the user, and a first included angle between the screen of the electronic device and a horizontal plane.

[0098] In the embodiments of the present application, when a user's unlocking input is received in a locked screen state, target information related to the electronic device is acquired, such as a first area of the screen of the electronic device that is blocked, a first distance between the screen of the electronic device and the user, a first included angle between the screen of the electronic device and a horizontal plane, and the like, so that the operation intention of the user is recognized according to the target information, to accurately determine whether the user really needs to unlock the screen, that is, when the target information does not meet a preset condition, the face recognition module is delayed to start, to delay unlocking the electronic device, so as to reduce the occurrence of screen false unlocking, and when the user needs to take a snapshot, the user can quickly enter the camera from the locked screen interface to take a snapshot, thereby avoiding additional user operations. In addition, since the intention of the user whether to need to unlock can be accurately recognized, the face recognition unlocking can be triggered less frequently, thereby increasing the standby time of the electronic device.

[0099] Optionally, the target information not meeting the preset condition includes:

[0100] The first area exceeds a preset area threshold.

[0101] The first distance exceeds a preset distance threshold.

[0102] The first included angle is greater than a preset included angle threshold.

[0103] Optionally, the processor 810 is configured to delay starting the face recognition module for a first time period.

[0104] The first time period is associated with a difference degree between the target information and a preset condition.

[0105] Optionally, the display unit 806 is further configured to, in a case where the target information does not meet the preset condition, display first information in the lock screen interface in a first display mode if it is detected that the line of sight of the user falls on the screen of the electronic device.

[0106] The first information includes at least one of time information, weather information, a notification message, and power information.

[0107] Optionally, the display unit 806 is further configured to, in a case where the first included angle is greater than a preset included angle threshold, display an icon of a target photographing application on the lock screen interface in a second display mode.

[0108] It should be understood that, in the embodiments of the present application, the input unit 804 can include a graphics processing unit (GPU) 8041 and a microphone 8042. The graphics processing unit 8041 processes image data of a still picture or a video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 806 can include a display panel 8061, which can be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 can include a touch detection device and a touch controller. The other input devices 8072 can include, but are not limited to, a physical keyboard, function keys (such as volume control keys, on-off keys, etc.), a trackball, a mouse, a joystick, etc., which will not be described here in detail. The memory 809 can be used to store software programs and various data, including but not limited to application programs and an operating system. The processor 810 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, the user interface, and the application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 810.

[0109] The embodiments of the present application also provide a readable storage medium having a program or instructions stored thereon, which, when executed by a processor, implements various processes of the above-mentioned unlocking control method embodiments and achieves the same technical effects. To avoid repetition, details will not be described here.

[0110] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0111] The chip provided in the embodiments of the present application includes a processor and a communication interface, the communication interface is coupled with the processor, the processor is used to run programs or instructions, realizes the processes of the above-mentioned unlocking control method embodiments, and can achieve the same technical effects. To avoid repetition, it will not be described here.

[0112] It should be understood that the chip mentioned in the embodiments of the present application can also be referred to as a system-level chip, a system chip, a chip system, or a system-on-chip chip, etc.

[0113] It should be noted that in this document, the terms "comprising", "including", or any other variant thereof are intended to cover non-exclusive inclusion, so that processes, methods, articles, or devices including a series of elements not only include those elements, but also include other elements not explicitly listed, or include elements inherent to such processes, methods, articles, or devices. Without more limitations, the element defined by the statement "including a" does not exclude the presence of additional identical elements in the process, method, article, or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to the order of performing the functions as shown or discussed, but can also include performing the functions in a substantially simultaneous manner or in reverse order, for example, the described method can be performed in an order different from the described order, and various steps can also be added, omitted, or combined. In addition, the features described with reference to certain examples can be combined in other examples.

[0114] From the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment method can be realized by means of software and necessary general hardware platform, of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a plurality of instructions for making a terminal (which can be a mobile phone, computer, server, or network equipment, etc.) execute the methods described in various embodiments of the present application.

[0115] The embodiments of the present application are described above with reference to the accompanying drawings, but the present application is not limited to the specific embodiments described above, and the specific embodiments described above are merely illustrative, but not restrictive, and a person of ordinary skill in the art can make many forms under the inspiration of the present application without departing from the purpose of the present application and the scope protected by the claims.

Claims

1. An unlocking control method, characterized in that, include: When the electronic device is locked, receive the user's first input; In response to the first input, the lock screen interface is displayed, and target information related to the electronic device is obtained; If the target information does not meet the preset conditions, the face recognition module will be delayed in starting. The target information includes at least one of the following: a first area of ​​the screen of the electronic device being obscured, a first distance between the screen of the electronic device and the user, and a first angle between the screen of the electronic device and the horizontal plane; The target information does not meet the preset conditions, including: The first area exceeds a preset area threshold; The first distance exceeds a preset distance threshold; The first included angle is greater than a preset included angle threshold; The delayed-start face recognition module includes: Delay the activation of the face recognition module for the first duration; The first duration is related to the degree of difference between the target information and the preset conditions.

2. The method according to claim 1, characterized in that, After responding to the first input, displaying the lock screen interface, and obtaining target information related to the electronic device, the method further includes: If the target information does not meet the preset conditions, and if the user's gaze is detected falling on the screen of the electronic device, the first information in the lock screen interface is displayed in the first display mode. The first information includes at least one of time information, weather information, notification messages, and battery information.

3. The method according to claim 1, characterized in that, After responding to the first input, displaying the lock screen interface, and obtaining target information related to the electronic device, the method further includes: If the first included angle is greater than a preset included angle threshold, the icon of the target shooting application is displayed on the lock screen interface in a second display mode.

4. An unlocking control device, characterized in that, include: The receiving module is used to receive the user's first input when the electronic device is in a locked state; The processing module is used to respond to the first input, display the lock screen interface, and obtain target information related to the electronic device; A delay module is used to delay the activation of the face recognition module if the target information does not meet preset conditions; The target information includes at least one of the following: a first area of ​​the screen of the electronic device being obscured, a first distance between the screen of the electronic device and the user, and a first angle between the screen of the electronic device and the horizontal plane; The target information does not meet the preset conditions, including: The first area exceeds a preset area threshold; The first distance exceeds a preset distance threshold; The first included angle is greater than a preset included angle threshold; The delay module includes: The delay unit is used to delay the activation of the face recognition module for a first duration. The first duration is related to the degree of difference between the target information and the preset conditions.

5. The apparatus according to claim 4, characterized in that, Also includes: The first display module is used to display the first information in the lock screen interface in a first display mode if the user's gaze falls on the screen of the electronic device when the target information does not meet the preset conditions. The first information includes at least one of time information, weather information, notification messages, and battery information.

6. The apparatus according to claim 4, characterized in that, Also includes: The second display module is used to display the icon of the target shooting application on the lock screen interface in a second display mode when the first included angle is greater than a preset included angle threshold.

7. An electronic device, characterized in that, It includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the unlocking control method as described in any one of claims 1-3.

8. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the unlocking control method as described in any one of claims 1-3.

Citation Information

Patent Citations

  • Black screen unlocking method and device

    CN107589968A

  • Method and terminal for starting camera and computer readable storage medium

    CN107741786A

  • Method for preventing accidental unlocking and mobile terminal

    CN107835286A

  • Under-screen fingerprint control method and device, display equipment and storage medium

    CN111339900A