Unlocking method and electronic device

CN115238255BActive Publication Date: 2026-10-27HUAWEI TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110438415.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-22
Publication Date
2026-10-27
Estimated Expiration
2041-04-22

AI Technical Summary

Technical Problem

可见,相比于使用非折叠屏手机,解锁手机通常只需要花费较短时间,使用折叠屏手机,由于需展开手机后才能开启身份认证,使得解锁效率较低,用户与终端之间的交互效率较低

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115238255B_ABST
    Figure CN115238255B_ABST
Patent Text Reader

Abstract

The application provides an unlocking method and an electronic device, relates to the technical field of communication, and can identify the identity of a user without fully unfolding the mobile phone, so that the unlocking is quickly completed in the case that the identity of the user is legal, and the interaction efficiency between the user and the terminal is improved. The method is applied to an electronic device, the electronic device comprises a first screen and a second screen formed in a screen folding state, wherein the first screen is an inner screen, the second screen is an outer screen, the first screen has an associated first acquisition component, the second screen has an associated second acquisition component, and the method comprises the following steps: acquiring an unlocking intention; in response to the unlocking intention, calling the second acquisition component to acquire the identity information of the user, identifying the identity of the user according to the identity information acquired by the second acquisition component; and if the identity of the user is legal and the electronic device meets the condition of using the first screen, unlocking the first screen.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic technology, and in particular to unlocking methods and electronic devices. Background Technology

[0002] Foldable screen devices typically have larger screens, providing users with a better visual viewing experience. To ensure the security of important user data such as privacy, foldable screen devices generally have a screen lock function. When the screen of a foldable screen device is locked, the user needs to enter valid identity verification information (such as a correct fingerprint, numeric password, or facial data) to trigger the screen unlock and restore the interactivity between the foldable screen device and the user.

[0003] Taking the scenario of unlocking a foldable phone to receive a new message as an example, currently, such as Figure 1 As shown, when a foldable phone receives new messages (such as two WeChat notifications) while the screen is locked, if the user needs to read and reply to the message on the inner screen, they must first unfold the phone and input authentication information (such as facial data via the inner screen camera) while unfolded. It is evident that unlocking a foldable phone typically takes less time compared to using a non-foldable phone. However, with foldable phones, the need to unfold the phone before authentication results in lower unlocking efficiency and reduced user-device interaction efficiency. Summary of the Invention

[0004] The unlocking method and electronic device provided in this application can identify the user's identity without requiring the user to fully unfold the phone, so as to quickly complete the unlocking when the user's identity is legitimate, thereby improving the interaction efficiency between the user and the terminal.

[0005] To achieve the above objectives, this application adopts the following technical solution: In a first aspect, this application provides an unlocking method, which is applied to an electronic device or a device capable of realizing the functions of an electronic device (such as a chip of an electronic device). Taking an electronic device as an example, the electronic device includes a first screen and a second screen formed in a folded state, wherein the first screen is an inner screen and the second screen is an outer screen, the first screen has an associated first acquisition component, and the second screen has an associated second acquisition component.

[0006] The method includes: obtaining an unlocking intent; in response to the unlocking intent, the electronic device invokes a second acquisition component to collect the user's identity information, and identifies the user's identity based on the identity information collected by the second acquisition component. If the user's identity is legitimate and the electronic device meets the conditions for using the first screen, then the first screen is unlocked.

[0007] As can be seen, upon obtaining the user's unlocking intent, the sensor associated with the external screen can be used to collect the user's identity information, and the user's identity can be identified based on this information. Compared with existing technologies that only initiate identity recognition after the phone is fully unfolded, resulting in lower unlocking efficiency, the technical solution of this application can identify the user's identity without requiring the user to fully unfold the phone, thus enabling rapid unlocking when the user's identity is legitimate, improving the interaction efficiency between the user and the terminal. Furthermore, when the terminal detects that it meets the conditions for using the first screen, it indicates that the user wishes to unlock the first screen when unlocking the terminal screen. Therefore, once the user's identity is confirmed to be legitimate, the terminal can intelligently and conveniently unlock the first screen automatically, further improving the interaction efficiency between the terminal and the user.

[0008] As one possible design, the unlocking intent could be an unlocking command input by the user, such as the user inputting an unlocking command to the electronic device by pressing the power button or double-tapping the screen.

[0009] As one possible design, the unlocking intent could also be something the electronic device itself senses and determines. For example, when it detects that a user has raised their phone, the electronic device can initially determine that the user intends to unlock it.

[0010] As one possible design, after verifying the user's legitimacy, before unlocking the first screen, the method also includes: unlocking the second screen and displaying the first interface on the second screen.

[0011] As one possible design, after unlocking the first screen, the method also includes: displaying a second interface associated with the first interface on the first screen.

[0012] In other words, when the user's identity is confirmed to be legitimate based on the identity information collected by the data acquisition component associated with the outer screen, the electronic device can first unlock the outer screen and display the first interface on it. The first interface displayed on the outer screen can also be seamlessly connected to the inner screen. The second interface displayed on the inner screen is associated with the first interface.

[0013] In some designs, the second interface displayed on the inner screen can be the same as the first interface displayed on the outer screen. Here, "the first and second interfaces are the same" means that they contain the same content, but the size, layout of elements, and dimensions of elements in the first and second interfaces can be different.

[0014] In other designs, the second interface displayed on the inner screen is related to the content of the first interface. For example, the second interface might be a detailed display of the first interface. Another example is that if the outer screen is unlocked and the user doesn't tap the music control, the second interface displayed on the inner screen after the phone unfolds is the Home screen. If the outer screen is unlocked and the user taps the music control, the second interface displayed on the inner screen after the phone unfolds is the music interface, such as a music playlist. Alternatively, the content displayed on the first and second interfaces can be the same.

[0015] As a possible design, before unlocking the first screen, the method also includes: if the user's identity cannot be identified based on the identity information collected by the second collection component, then the first collection component is invoked to collect the user's identity information, and the user's identity is identified based on the identity information collected by the first collection component. This could increase the probability of successful unlocking.

[0016] As one possible design, identifying the user's identity based on the identity information collected by the first acquisition component includes: identifying the user's identity based on the identity information collected by the second acquisition component and the identity information collected by the first acquisition component. Taking facial recognition as an example, since the image sensor of the external screen camera has already collected part of the facial image required for facial recognition before the electronic device calls the image sensor of the internal screen camera, the image sensor of the internal screen camera can collect fewer facial images to complete facial recognition, shortening the time from calling the image sensor of the internal screen camera to successful facial recognition and speeding up the facial recognition process.

[0017] As one possible design, if the user's identity cannot be identified based on the identity information collected by the second acquisition component, the first acquisition component is invoked to collect the user's identity information. This includes: if the unfolding angle of the electronic device is detected to reach a preset angle, and the user's identity cannot be identified based on the identity information collected by the second acquisition component, the first acquisition component is invoked to collect the user's identity information.

[0018] As one possible design, the method also includes: Displaying a third interface or playing a prompt voice message. The third interface is used to prompt the user to unfold the electronic device, and the prompt voice message is used to prompt the user to unfold the electronic device.

[0019] As one possible design approach, the method also includes: Receive user input settings instructions, which are used to set one or more of the following: preset application, preset time period, preset geographical location range, and preset unlock instructions.

[0020] As one possible design, obtaining the unlock intent includes: receiving the user's input unlock command; In response to the unlocking intent, the second data collection component is invoked to collect the user's identity information, including: In response to the unlock command, the second acquisition component is invoked to collect the user's identity information.

[0021] As one possible design, the first acquisition component may be the same as or different from the second acquisition component.

[0022] As one possible design, the conditions for using the first screen include a combination of one or more of the following: the current time is within a preset time period, the current location is within a preset geographical location range, a new message is received and the new message is from a preset application, the electronic device is in an open state, and the unlock command entered by the user is a preset unlock command.

[0023] As one possible design, preset unlock commands include any one or more of the following combinations: preset gestures, patterns, numbers, fingerprints, and voice commands for unlocking the first screen.

[0024] As one possible design, the first acquisition component includes one or more of the following components: a fingerprint acquisition component, a voiceprint acquisition component, and an image acquisition component; the second acquisition component includes one or more of the following components: a fingerprint acquisition component, a voiceprint acquisition component, and an image acquisition component.

[0025] In a second aspect, an electronic device is provided, the electronic device including a processor, and a first screen and a second screen formed in a folded state, wherein the first screen is an inner screen and the second screen is an outer screen, the first screen has an associated first acquisition component and the second screen has an associated second acquisition component. The processor is used to obtain the unlocking intention; in response to the unlocking intention, it calls the second acquisition component to collect the user's identity information, and identifies the user's identity based on the identity information collected by the second acquisition component; if the user's identity is legitimate and the electronic device meets the conditions for using the first screen, then the first screen is unlocked.

[0026] In one possible design, the processor is also used to unlock the second screen; The second screen is used to display the first interface.

[0027] In one possible design, a first screen is used to display a second interface associated with the first interface after the first screen is unlocked.

[0028] In one possible design, the processor is further configured to, if the user's identity cannot be identified based on the identity information collected by the second acquisition component, invoke the first acquisition component to collect the user's identity information, and identify the user's identity based on the identity information collected by the first acquisition component.

[0029] In one possible design, the processor is used to identify the user's identity based on the identity information collected by the first acquisition component, including: identifying the user's identity based on the identity information collected by the second acquisition component and the identity information collected by the first acquisition component.

[0030] In one possible design, the processor is configured to invoke the first acquisition component to collect the user's identity information if the user's identity cannot be identified based on the identity information collected by the second acquisition component, including: if the unfolding angle of the electronic device is detected to have reached a preset angle, and the user's identity cannot be identified based on the identity information collected by the second acquisition component, then invoking the first acquisition component to collect the user's identity information.

[0031] In one possible design, the second screen is also used to display a third interface or play a prompt voice, the third interface being used to prompt the user to unfold the electronic device, and the prompt voice being used to prompt the user to unfold the electronic device.

[0032] In one possible design, the processor is also used to receive user input setting instructions, which are used to set one or more of the following: preset application, preset time period, preset geographical location range, and preset unlock instruction.

[0033] In one possible design, the processor, for obtaining the unlocking intent, includes: receiving an unlocking command input by the user; The processor is configured to, in response to an unlocking intent, invoke the second acquisition component to acquire the user's identity information, including: in response to an unlocking command, invoking the second acquisition component to acquire the user's identity information.

[0034] In one possible design, the first acquisition component may be the same as or different from the second acquisition component.

[0035] In one possible design, the conditions for using the first screen include a combination of one or more of the following: the current time is within a preset time period, the current location is within a preset geographical location range, a new message is received and the new message is from a preset application, the electronic device is in an open state, and the unlock command entered by the user is a preset unlock command.

[0036] In one possible design, the preset unlock commands include any one or more of the following combinations: preset gestures, patterns, numbers, fingerprints, and voice commands for unlocking the first screen.

[0037] In one possible design, the first acquisition component includes any one or more of the following components: a fingerprint acquisition component, a voiceprint acquisition component, and an image acquisition component; the second acquisition component includes any one or more of the following components: a fingerprint acquisition component, a voiceprint acquisition component, and an image acquisition component.

[0038] The technical effects of the electronic device in the second aspect can be referenced from the technical effects of the unlocking method in the first aspect, and will not be elaborated here.

[0039] Thirdly, this application provides an electronic device having the function of implementing the unlocking method as described in the first aspect and any of its possible implementations. This function can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-described function.

[0040] Fourthly, this application provides a computer-readable storage medium including computer instructions that, when executed on an electronic device, cause the electronic device to perform an unlocking method as described in the first aspect and any of its possible implementations.

[0041] Fifthly, this application provides a computer program product that, when run on an electronic device, causes the electronic device to execute an unlocking method as described in the first aspect and any of its possible implementations.

[0042] A sixth aspect provides a circuit system including processing circuitry configured to perform an unlocking method as described in the first aspect and any of its possible implementations.

[0043] In a seventh aspect, embodiments of this application provide a chip system including at least one processor and at least one interface circuit. The at least one interface circuit is used to perform transceiver functions and send instructions to the at least one processor. When the at least one processor executes the instructions, the at least one processor executes the unlocking method as described in the first aspect above and any possible implementation thereof. Attached Figure Description

[0044] Figure 1 The process for unlocking foldable screen phones in existing technology; Figure 2 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application; Figures 3-1 to 3-4 This is a schematic diagram of the form of the foldable screen electronic device provided in the embodiments of this application; Figure 4 A schematic diagram of the included angle of the foldable screen provided in an embodiment of this application; Figure 5 A schematic diagram of the software structure of an electronic device provided in an embodiment of this application; Figure 6 A set of interface schematic diagrams provided for embodiments of this application; Figure 7 This is a schematic diagram of the unlocking method provided in the embodiments of this application; Figures 8-1 to 12 This is a schematic diagram of the interface provided for an embodiment of this application; Figure 13 A schematic diagram of the apparatus provided in the embodiments of this application; Figure 14 This is a schematic diagram of a chip system provided in an embodiment of this application. Detailed Implementation

[0045] The unlocking method and electronic device provided in the embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0046] The unlocking method provided in this application can be applied to electronic devices. For example, the electronic device may specifically be a mobile phone, tablet computer, wearable device, in-vehicle device, augmented reality (AR) / virtual reality (VR) device, laptop computer, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), artificial intelligence device, or dedicated camera (such as SLR camera, point-and-shoot camera), etc. This application does not limit the specific type of electronic device.

[0047] For example, Figure 2 A schematic diagram of an electronic device 100 is shown. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, antenna 1, antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.

[0048] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0049] The controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to the instruction opcode and timing signals to complete the control of fetching and executing instructions.

[0050] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0051] In some embodiments of this application, the processor 110 is used to collect the user's identity information using sensors associated with the external screen when it obtains the user's unlocking intention (receiving an unlocking command input by the user), and to identify the user's identity based on the identity information. When it is determined that the user's identity is legitimate and the terminal meets the conditions for using the first screen, it indicates that the user wishes to unlock the first screen when unlocking the terminal screen. The terminal can then intelligently and conveniently unlock the first screen automatically for the user, thereby improving the interaction efficiency between the terminal and the user.

[0052] The charging management module 140 is used to receive charging input from the charger.

[0053] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, the display 194, the camera 193, etc.

[0054] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.

[0055] Mobile communication module 150 can provide wireless communication solutions including 2G / 3G / 4G / 5G for use on electronic device 100. Wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks) and Bluetooth (BT) for use on electronic device 100.

[0056] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.

[0057] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. In some embodiments, the electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1.

[0058] In some embodiments, the display screen 194 may display a shooting preview interface, a video recording preview interface, and a shooting interface in video recording mode, and may also display a video playback interface during video playback.

[0059] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.

[0060] The ISP (Image Signal Processor) is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the photosensitive element transmits the electrical signal to the ISP for processing, transforming it into an image visible to the naked eye. The ISP can also perform algorithmic optimization of image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set within the camera 193. For example, the ISP can control the photosensitive element for exposure and image capture based on shooting parameters.

[0061] Camera 193 is used to capture still images or videos. An object passes through the lens, generating an optical image that is projected onto a photosensitive element. This photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP (Image Signal Processor) for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP (Digital Signal Processor) for further processing. The DSP converts the digital image signal into standard RGB, YUV, or other image formats.

[0062] In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1. The cameras 193 may be located in the edge area of ​​the electronic device and may be under-display cameras, pop-up cameras, or punch-hole cameras. The cameras 193 may include rear cameras and front cameras. This application does not limit the specific location and shape of the cameras 193.

[0063] For example, the layout of the camera on the electronic device 100 can be seen in Figure 3-1 In this case, the front of the electronic device 100 is the plane where the display screen 194 is located. For example... Figure 3-1 As shown in (a), camera 1931 is located on the front of electronic device 100, therefore the camera is a front-facing camera. Figure 3-1 As shown in (b), the camera 1932 is located on the back of the electronic device 100, so the camera is a rear-facing camera.

[0064] Optionally, the solution of this application embodiment can be applied to an electronic device 100 with a foldable screen (i.e., the screen can be folded) having multiple displays.

[0065] In some embodiments, the foldable screen can be a flexible foldable screen. The flexible foldable screen includes a folding axis made of a flexible material. Part or all of the flexible foldable screen may be made of a flexible material. For example, only the foldable portion (such as the folding axis) of the flexible foldable screen may be made of a flexible material, while the other portions may be made of a rigid material; or, the entire flexible foldable screen may be made of a flexible material. The foldable screen can be folded along the folding axis to form at least two sub-screens.

[0066] For example, Figure 3-1 Figure (c) shows a foldable screen electronic device 100. Responding to user actions, such as... Figure 3-1 As shown in (d), the foldable screen is folded inward (or outward) along the folding edge, such that the foldable screen forms at least two sub-screens (e.g., sub-screen A and sub-screen B). Optionally, as... Figure 3-1 As shown in (e), there is a display screen (e.g., screen C) on the outer side of the fold. If the electronic device 100 has a camera mounted on the surface where screen C is located, then, in the case of... Figure 3-1 In the scenario shown in (c) where the electronic device 100 is not folded, the camera on screen C is located on the back of the electronic device 100 and can be considered a rear-facing camera. In the case of... Figure 3-1 In the scenario shown in (e), where the electronic device 100 is folded, the camera on the C screen becomes the front of the electronic device 100 and can be considered a front-facing camera. That is to say, the front-facing camera and the rear-facing camera in this application do not limit the nature of the camera itself, but are merely an illustration of a positional relationship.

[0067] Optionally, the foldable screen of a foldable electronic device can form multiple (e.g., 2, 3, etc.) sub-screens. For example, such as... Figure 3-2 The flexible folding screen shown in (1) may include folding lines 030 and 031. After being folded longitudinally along folding line 030, it can form a screen as shown in Figure 1. Figure 3-2 Sub-screens 032, 033 and 034 are shown in (2).

[0068] Optionally, the screen arrangement of foldable electronic devices can be such as Figure 3-1 The vertical screen arrangement shown in (d) can also be, for example, Figure 3-3 The left and right screen arrangements shown in (1) or (2) are examples of this application. This application does not limit the screen arrangement of foldable electronic devices. For example... Figure 3-3 The flexible folding screen shown in (1) can be folded laterally along the folding line 040 to form a shape like... Figure 3-3 Sub-screens 041 and 042 are shown in (2). For example, the foldable screen device can be a mobile phone in the folded state and a tablet computer in the unfolded state.

[0069] In a foldable screen, the angle between two adjacent sub-screens is greater than or equal to 0° and less than or equal to 180°. This angle can also be referred to as the unfolded angle of the foldable device, the unfolding angle of the foldable device, or the folding angle of the foldable screen. Based on the range of the angle between two adjacent sub-screens, a foldable screen can include a folded state and a non-folded state. The non-folded state includes an unfolded state and a partially unfolded state.

[0070] The unfolded state indicates that the foldable screen is fully unfolded, meaning the angle between two adjacent sub-screens in the foldable screen is 180°, or close to 180° due to certain industrial design factors. For example, Figure 3-3 (1) shows a schematic diagram of the unfolded state of the foldable screen.

[0071] The folded state indicates that the foldable screen is fully folded, meaning the angle between two adjacent sub-screens in the foldable screen is 0° or close to 0° due to certain industrial design factors. For example, Figure 3-4 (1) shows a schematic diagram of the folded state of the folding screen, with the angle between sub-screen 044 and sub-screen 045 being 0°.

[0072] The state between the unfolded and folded states can be called the semi-unfolded state or the non-folded state, meaning the angle between two adjacent sub-screens in a foldable screen is between 0° and 180°. For example, Figure 3-3 (2) and Figure 3-4 The diagram in (2) shows a foldable screen in a semi-open state. For example, such as... Figure 3-3 As shown in (2), the included angle φ between sub-screen 041 and sub-screen 042 is greater than 0° and less than 180°. The included angle φ can also be called the angle at which the foldable screen device is unfolded, or the folding angle. Optionally, other ranges of included angle φ can be defined as the semi-unfolded state based on industrial design level or user experience, for example, the included angle φ is greater than 10° and less than 170°, while the folded state is defined as when the included angle φ is less than or equal to 10°.

[0073] During the folding or unfolding process of a foldable screen, the included angle between at least two sub-screens formed by the folding screen can change. Figure 3-3 Taking (2) as an example, during the folding process of the folding screen, the angle between sub-screen 41 and sub-screen 42 decreases; during the unfolding process of the folding screen, the angle between sub-screen 41 and sub-screen 42 increases. It can be understood that the at least two sub-screens formed after the folding screen is folded can be multiple independent sub-screens; or it can be a complete screen with an integrated structure, but it is folded to form at least two parts.

[0074] In some other embodiments, the foldable screen can also be a multi-screen foldable screen. This multi-screen foldable screen may include at least two sub-screens. These at least two sub-screens are independent displays, connected sequentially via a folding axis, and can rotate independently around the folding axis to achieve the folding of the multi-screen foldable screen. For example, as shown... Figure 3-4 As shown in Figure (2), the folding screen device includes a folding axis 043, a sub-screen 044, and another sub-screen 045 independent of the sub-screen 044. Sub-screens 044 and 045 can rotate around the folding axis 043. The included angle φ between sub-screens 044 and 045 can be called the unfolding angle or folding angle of the folding screen device.

[0075] In the embodiments of this application, the foldable screen can be a single-sided screen (i.e., only one side can display the user interface) or a double-sided screen (i.e., both opposite sides can display the user interface).

[0076] For single-sided foldable screens, folding the screen towards the side that displays the user interface (i.e., the front of the single-sided foldable screen) is called forward folding; folding the screen towards the opposite side (i.e., the back of the single-sided foldable screen) is called reverse folding. For example, Figure 3-3 (2) shows a schematic diagram of a forward fold. Figure 3-4 (2) shows a schematic diagram of a reverse fold. Foldable screen devices can determine whether the current fold is forward or reverse.

[0077] Folding in either the forward or reverse direction can achieve a semi-open state for the foldable screen. In a forward folding scenario, the angle between the display-enabled sides of two adjacent sub-screens is greater than 0° and less than 180°. In a reverse folding scenario, the angle between the non-display-enabled sides of two adjacent sub-screens is greater than 0° and less than 180°.

[0078] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when electronic device 100 selects a frequency, the DSP can perform Fourier transforms on the frequency energy.

[0079] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. Thus, electronic device 100 can play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0080] An NPU (Neural Processing Unit) is a computational processor for neural networks (NNs). By borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can rapidly process input information and continuously learn on its own. NPUs enable intelligent cognitive applications in electronic devices, such as image recognition, facial recognition, speech recognition, and text understanding.

[0081] In some embodiments, the NPU utilizes image recognition technology to identify whether the image captured by the camera 193 contains a human face image. Furthermore, the NPU can also determine the legitimacy of the user's identity based on the facial image, thereby confirming whether to unlock the screen.

[0082] The external storage interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.

[0083] Internal memory 121 can be used to store computer executable program code, which includes instructions. Processor 110 performs various functional applications and data processing of electronic device 100 by executing instructions stored in internal memory 121 and / or instructions stored in memory disposed in the processor.

[0084] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.

[0085] The audio module 170 is used to convert digital audio data into analog audio electrical signals for output, and also to convert analog audio electrical signals into digital audio data for input. The audio module 170 may include an analog-to-digital converter and a digital-to-analog converter. For example, the audio module 170 is used to convert the analog audio electrical signals output from the microphone 170C into digital audio data. The audio module 170 can also be used to encode and decode audio data. In some embodiments, the audio module 170 may be located in the processor 110, or some functional modules of the audio module 170 may be located in the processor 110.

[0086] The speaker 170A, also known as a "loudspeaker," is used to convert analog audio electrical signals into sound signals. The electronic device 100 can listen to music or make hands-free calls through the speaker 170A.

[0087] The receiver 170B, also known as the "earpiece," is used to convert analog audio electrical signals into sound signals. When the electronic device 100 answers a telephone call or voice message, the receiver 170B can be brought close to the ear to listen to the voice.

[0088] Microphone 170C, also known as a "microphone" or "voice transducer," is used to convert sound signals into analog audio electrical signals. When making a phone call or sending a voice message, the user can speak by bringing their mouth close to microphone 170C, inputting the sound signal into microphone 170C. Microphone 170C can be a built-in component of electronic device 100 or an external accessory of electronic device 100.

[0089] In some embodiments, the electronic device 100 may include one or more microphones 170C, wherein each or more microphones cooperate to acquire sound signals from various directions and convert the acquired sound signals into analog audio electrical signals, and may also perform noise reduction, sound source identification, or directional recording functions, etc.

[0090] The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0091] The gyroscope sensor 180B can be used to determine the motion attitude of the electronic device 100. In some embodiments, the gyroscope sensor 180B can determine the angular velocity of the electronic device 100 around three axes (i.e., the x, y, and z axes). The gyroscope sensor 180B can be used for image stabilization. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the electronic device 100's shake, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to counteract the shake of the electronic device 100 through reverse movement, thus achieving image stabilization. The gyroscope sensor 180B can also be used in navigation and motion-sensing game scenarios.

[0092] In embodiments of this application, each sub-screen can be equipped with a gyroscope sensor 180B for measuring the orientation (i.e., the orientation vector) of the sub-screen. For example, in Figure 3-3 In the electronic device shown in (2), both sub-screens 041 and 042 include gyroscope sensors 180B, which are used to measure the orientation of sub-screens 041 and 042, respectively. The electronic device can determine the included angle between adjacent sub-screens based on the angular change of the orientation of each sub-screen.

[0093] For example, taking electronic device 100 as an example Figure 3-1 The foldable screen device shown is an example. The foldable screen of the electronic device 100 can be folded into shape. Figure 4 Sub-screens 061 and 062 are shown in (1). Sub-screen 061 is equipped with gyroscope sensor 1, and sub-screen 062 is equipped with gyroscope sensor 2.

[0094] The coordinate system of the gyroscope sensor can be, but is not limited to, a geographic coordinate system. For example... Figure 4As shown in Figure (2), the origin O of the geographic coordinate system is located at the point where the carrier (i.e., the device containing the gyroscope sensor, such as electronic device 100) is located. The x-axis points east (E) along the local latitude line, the y-axis points north (N) along the local meridian line, and the z-axis points upward along the local geographic perpendicular line, forming a right-hand rectangular coordinate system with the x-axis and y-axis. The plane formed by the x-axis and y-axis is the local horizontal plane, and the plane formed by the y-axis and z-axis is the local meridian plane. Therefore, it can be understood that the coordinate system of the gyroscope sensor is: with the gyroscope sensor as the origin O, the x-axis points east along the local latitude line, the y-axis points north along the local meridian line, and the z-axis points upward along the local geographic perpendicular line (i.e., the opposite direction of the geographic perpendicular line).

[0095] Electronic device 100 utilizes gyroscope sensors installed in each sub-screen to measure the orientation vector of each sub-screen in the coordinate system of its installed gyroscope sensor. For example, referencing... Figure 4 The side view of the electronic device shown in (1) shows the orientation vector of sub-screen 061 in the coordinate system of gyroscope sensor 1, which is measured by the electronic device. The orientation vector of sub-screen 062 in the coordinate system of gyroscope sensor 2 is vector z1. The electronic device can calculate the angle θ between vector z1 and vector z2 based on vector z1 and z2.

[0096] According to Figure 4 It can be seen that since vector z1 is perpendicular to sub-screen 061 and vector z2 is perpendicular to sub-screen 062, the angle φ between sub-screen 061 and sub-screen 062 can be obtained as 180° - θ. That is, the electronic device can determine the angle φ between sub-screen 061 and sub-screen 062 based on the measured orientation vector of sub-screen 061 in the coordinate system of gyroscope sensor 1 (i.e., vector z1) and the orientation vector of sub-screen 062 in the coordinate system of gyroscope sensor 2 (i.e., vector z2). When the angle φ is greater than 0° and less than 180°, the electronic device is currently in the semi-deployed state corresponding to a forward fold. When the angle φ is greater than 180° and less than 360°, the electronic device is currently in the semi-deployed state corresponding to a reverse fold.

[0097] It should be noted that although the positions of the gyroscope sensors set in sub-screens 061 and 062 do not overlap, that is, the origins of the coordinate systems of the gyroscope sensors in sub-screens 061 and 062 do not overlap, the x-axis, y-axis, and z-axis of the two coordinate systems are parallel. Therefore, it can be considered that the coordinate systems of the gyroscope sensors set in sub-screens 061 and 062 are parallel. In this way, although vectors z1 and z2 are not in the same coordinate system, because the axes of the two coordinate systems are parallel, the angle θ between vectors z1 and z2 can still be calculated by the above formula (1).

[0098] In some embodiments, one or more other sensors may be used in conjunction to measure the angle α between sub-screens 061 and 062. For example, an acceleration sensor may be provided in each sub-screen of the folding screen. The electronic device 100 (such as processor 110) may use the acceleration sensor to measure the motion acceleration of each sub-screen when it is rotated; and then calculate the angle of rotation of one screen relative to another screen, i.e., the angle φ between sub-screens 061 and 062, based on the measured motion acceleration.

[0099] In other embodiments, the aforementioned gyroscope sensor can be a virtual gyroscope sensor formed by the cooperation of multiple other sensors. This virtual gyroscope sensor can be used to calculate the angle between adjacent sub-screens of the foldable screen, namely the angle φ between sub-screen 061 and sub-screen 062.

[0100] Furthermore, in the embodiments of this application, sensors such as gyroscope sensor 180B and accelerometer sensor 180E can also be used to determine the state of each sub-screen, thereby determining whether the folding screen is currently in a forward folding state or a reverse folding state.

[0101] For example, the gyroscope sensor 180B on the sub-screen can measure the angular velocity of the sub-screen when it folds. Integrating the angular velocity yields the angle between the sub-screen and a specific coordinate system (such as a geographic coordinate system), thus determining the sub-screen's attitude. Based on the sub-screen's attitude, its orientation can be determined. Based on the orientation of each sub-screen, it can be determined whether the folding screen is currently folded forward or backward.

[0102] A distance sensor 180F is used to measure distance. The electronic device 100 can measure distance using infrared or laser. In some embodiments, during a shooting scenario, the electronic device 100 can utilize the distance sensor 180F for distance measurement to achieve fast focusing.

[0103] Touch sensor 180K, also known as a "touch panel". Touch sensor 180K can be set on display screen 194. Touch sensor 180K and display screen 194 together form a touch screen, also known as a "touch screen". Touch sensor 180K is used to detect touch operations on or near it.

[0104] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0105] The software system of electronic device 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This embodiment of the invention uses the layered architecture Android system as an example to exemplify the software structure of electronic device 100.

[0106] Figure 5 This is a software structure block diagram of the electronic device 100 according to an embodiment of the present invention.

[0107] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the operating system of an electronic device (such as the Android system) is divided into four layers, from bottom to top: the kernel layer, the hardware abstraction layer (HAL), the application framework layer, and the application layer.

[0108] The kernel layer is the layer between hardware and software. The kernel layer includes at least camera drivers, audio drivers, display drivers, and sensor drivers. Sensor drivers include, but are not limited to, image sensor drivers and acoustic sensor drivers.

[0109] In some embodiments, such as in a face recognition scenario, kernel-level components such as camera drivers are invoked to activate the camera. Another example is the use of an image sensor driver to invoke an image sensor for image acquisition.

[0110] The Hardware Abstraction Layer (HAL) sits between the kernel layer and the application framework layer. It defines the interface for the hardware implementation of driver applications, translating the values ​​from the hardware implementation into software implementation programming languages. For example, it identifies values ​​from a camera driver, translates them into software programming languages, uploads them to the application framework layer, and then enables the invocation of corresponding functions.

[0111] In some embodiments, HAL can upload the facial images captured by camera 193 to the application framework layer for further processing.

[0112] The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer obtains raw input events from the kernel layer via the HAL and identifies the controls corresponding to those input events. The application framework layer includes some predefined functions.

[0113] like Figure 5 As shown, the application framework layer may include a view system, a phone manager, a resource manager, a notification manager, a window manager, etc.

[0114] In some embodiments, the application framework layer includes a first module. The first module is used to invoke the corresponding display driver to display the screen based on the user's unlocking intention. For example, when it is determined that the user wants to unlock the outer screen, the first module invokes the display driver of the outer screen, thereby displaying the unlocked interface on the outer screen.

[0115] Optionally, the first module can be located in other layers, and it can also be divided into more sub-modules. Each sub-module is used to perform a corresponding function.

[0116] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.

[0117] The phone manager is used to provide communication functions for electronic device 100. For example, it manages call status (including connection and disconnection).

[0118] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.

[0119] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of completed downloads or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.

[0120] The window manager is used to manage windowed applications. It can retrieve screen size, determine the presence of a status bar, lock the screen, and capture screenshots, among other things.

[0121] The application layer can include a series of application packages.

[0122] like Figure 5 As shown, the application package may include applications such as camera, video, call, WLAN, music, SMS, Bluetooth, map, calendar, gallery, and navigation.

[0123] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

[0124] The unlocking method provided in this application can be applied to scenarios such as, but not limited to, receiving messages, playing music, making payments, and taking photos. The following will use an electronic device as an example. Figure 1 and Figure 5 Taking the mobile phone with the structure shown as an example, the unlocking method provided by the embodiments of this application is described in different scenarios.

[0125] When using a foldable device, users can interact with their phone through either the outer or inner screen. The roles of the inner and outer screens may change depending on the usage scenario. For example, in situations like... Figure 3-3 In the forward-folding usage scenario shown, the inner screen can be sub-screens 041 and 042, and the outer screen can be the screen set on the back of the foldable screen. For example, in... Figure 3-4 In the reverse folding scenario shown, the outer screen can be sub-screens 044 and 045, and the inner screen can be the screen located on the back of the foldable screen. In other words, the usage scenario does not impose restrictions on the inner or outer screen.

[0126] In this embodiment, when obtaining the user's unlocking intention, the mobile phone can use sensors associated with the external screen to collect the user's identity information and identify the user's identity based on this information. When the terminal determines that the user's identity is legitimate and detects that the terminal meets the conditions for using the first screen, it indicates that the user wishes to unlock the first screen when unlocking the terminal screen. Therefore, the terminal can intelligently and conveniently unlock the first screen automatically for the user. It is evident that the technical solution of this embodiment can identify the user's identity without requiring the user to fully unfold the phone, thus accelerating the unlocking process and improving the interaction efficiency between the terminal and the user. Furthermore, the ability to intelligently unlock the first screen when the user wishes to do so further enhances the interaction efficiency between the terminal and the user.

[0127] Taking a user actively unlocking their phone as an example, for instance, using facial recognition to unlock the phone, such as... Figure 6 As shown in Figure (1), the phone is in a folded state (and the screen is locked). The user can trigger the phone to use the image sensor in the external screen camera to capture their face image by actions such as double-tapping the screen. Based on the face image, facial recognition is performed to identify the user's identity, and the screen unlocking is determined based on the user's identity. Alternatively, when the user intends to unlock the phone, they can trigger the phone to use the image sensor in the external screen camera to capture their face image without double-tapping the screen, but by actions such as lifting the phone. This application does not limit the conditions for triggering the phone to use the image sensor in the external screen camera to capture the user's face image.

[0128] Optionally, during the facial recognition process, the phone can display information such as... Figure 6 The text “Face recognition in progress…” shown in (2) is used to prompt the user that face recognition is in progress.

[0129] In some cases, if the facial image captured by the external screen camera is determined to be a correct facial image, and the phone is folded, it indicates that the user likely wants to unlock the external screen, in which case the phone will unlock the external screen. This allows the user to interact with the phone through the external screen. Optionally, after unlocking the external screen, the phone may display something like... Figure 6 The interface shown in (3) can be the interface displayed on the phone before the screen is locked, or it can be the home screen or other interfaces. This application embodiment does not limit the interface presented after the screen is unlocked. It can be seen that the unlocking method of this application embodiment allows the phone to unlock without needing to be unfolded. Afterwards, the user can unfold the phone for use as needed, or use the phone in a folded state.

[0130] In other cases, if the phone determines that the facial image captured by the external screen camera is a correct facial image, and the phone is not folded, it indicates that the user likely intends to unlock the internal screen. In this case, the phone unlocks the internal screen. Thus, the user can interact with the phone through the internal screen. Optionally, after unlocking the internal screen, the phone may display something like... Figure 6 The interface shown in (4) is an example of the interface displayed before locking the screen. It can be seen that, compared with the prior art, which requires the phone to be unfolded to a large angle before the inner screen camera is called for face recognition, and the face unlock takes a long time and has low unlocking efficiency, the unlocking method provided in this application embodiment can unlock the inner screen when the phone is unfolded to a small angle, which shortens the unlocking time and allows the user to use the inner screen more quickly.

[0131] Furthermore, in scenarios where users need to perform operations with high security requirements, such as viewing confidential documents, since the phone only needs to be unfolded at a small angle to unlock and view the document, it avoids the problem of lower security caused by unfolding the phone to a large angle to unlock and view the document.

[0132] Optionally, users can later fully unfold the phone and, as... Figure 6 Use the phone in the unfolded state shown in (5).

[0133] Optionally, the phone can enable multitasking. With multitasking enabled, users can open multiple applications simultaneously on the screen, or display different interfaces of the same application. Users can switch between multiple applications or between different functions.

[0134] For example, with Figure 6 As shown in (5), in addition to displaying WeChat messages from Sara, the inner screen of the phone can also display information such as a contact list, making it convenient for users to view contacts and new messages on the same screen at the same time.

[0135] For example, with Figure 8-3 Taking the interface shown in (3) as an example, in addition to including email details, this interface can also display a list of emails over a period of time in a split-screen manner, making it convenient for users to browse the overview of different emails.

[0136] Optionally, the split-screen settings can differ for different applications or combinations of applications. Specific split-screen settings can be configured by the system or the user.

[0137] It should be noted that, Figure 6 China is using mobile phones in Figure 6 The unlocking method of this application embodiment will be described using the example of the phone being unfolded by the user after (2). The phone can also be unfolded by the user at other times, for example, when... Figure 6 Between the moments shown in (1) and (2), the phone is unfolded by the user.

[0138] In some embodiments, user actions such as double-tapping the screen, lifting the phone, or using voice commands to "unlock" (to trigger facial recognition, etc.) are referred to as unlocking operations, and the commands input by the user to the phone through unlocking operations are referred to as unlocking commands. Figure 7 A flowchart of an unlocking method provided in this application embodiment is shown, in the event of detecting a user-input unlock command. This method is applied in an electronic device, which includes a screen 1 and a screen 2 formed in a folded state, with screen 1 (e.g., ...) as the unlocking method. Figure 6 Screen 1 shown in (4) is the inner screen, and screen 2 (e.g.) is the inner screen. Figure 6 The screen shown in (3) is an example of an outer screen, such as... Figure 7 As shown, the method includes: S101, The phone obtains the unlocking intent.

[0139] Unlock intent can be a user-inputted unlock command. Users input this command into the phone during the unlock process to indicate their intention to unlock the screen. For example, a user can unlock the phone by double-tapping... Figure 6 As shown in the screen interface (2), input the unlock command. For example, users can input the unlock command via voice or other means.

[0140] Alternatively, the unlocking intent can be something the phone itself senses and determines. For example, when a user lifts their phone, the phone can initially determine that the user intends to unlock it.

[0141] This application does not limit the specific type and implementation method of the unlocking command.

[0142] S102. In response to the unlocking intention, the mobile phone calls the second collection component associated with the outer screen to collect the identity information input by the user.

[0143] Optionally, in response to the user's unlocking intent, the mobile phone may employ one or more unlocking methods. These unlocking methods include, but are not limited to, one or more of the following: face unlock, fingerprint unlock, pattern unlock, password unlock, and voiceprint unlock. Among these, face unlock includes, but is not limited to, three-primary-color (red, green, blue, RGB) face unlock, infrared face unlock, and 3D structured light face unlock. Correspondingly, each unlocking method may correspond to one or more data collection components that can be used to collect user identity information.

[0144] Optionally, the data collection component used for unlocking may include a component for collecting user identity information. This user identity information identifies the user, and the phone unlocks when the user identity information is correct. The identity information includes, but is not limited to, the user's facial image, fingerprint information, voiceprint information, entered pattern information, and entered password information.

[0145] For example, when the unlocking method is facial recognition, the data acquisition component used for unlocking can be an image acquisition component, such as a camera. Image acquisition components include, but are not limited to, image sensors. Image sensors can be, but are not limited to, complementary metal-oxide-semiconductor (CMOS) sensors.

[0146] When the unlocking method is fingerprint unlocking, the acquisition component used for unlocking can be a fingerprint acquisition component, including a fingerprint sensor for acquiring fingerprint information. The fingerprint sensor can employ any type of sensing technology, including but not limited to optical, capacitive, piezoelectric, or ultrasonic sensing technologies.

[0147] When the unlocking method is voiceprint unlocking, the data acquisition component that can be used for unlocking can be a voiceprint acquisition component, such as a sound-sensitive sensor.

[0148] Optionally, the data acquisition component used for unlocking can also be a touch panel, etc.

[0149] In this embodiment, when a user's unlock command is detected, the mobile phone calls a second acquisition component (such as an image sensor) associated with the outer screen to collect the user's input identity information or information used to verify identity. The second acquisition component associated with the outer screen may be, but is not limited to, an image sensor associated with the outer screen, a fingerprint sensor associated with the outer screen, etc.

[0150] For example, when the unlocking method is set to face unlock, the phone calls the camera associated with the external screen to capture the user's facial image.

[0151] It should be noted that the embodiments of this application mainly use the example of collecting facial images through a camera associated with an external screen to perform user identification, but the user identification method of the embodiments of this application is not limited to this, and will be uniformly described here.

[0152] S103. The mobile phone identifies the user's identity based on the identity information collected by the second collection component associated with the outer screen.

[0153] Taking the second acquisition component associated with the outer screen of a mobile phone for collecting identity information as an example, an image sensor is used as a possible implementation method. The image sensor on the outer screen transmits the collected face image to the mobile phone processor. The mobile phone compares the face image with the pre-stored target face image to identify whether the user's identity is legitimate.

[0154] S104. If the user's identity is legitimate and the electronic device meets the conditions for using the inner screen, then the phone unlocks the inner screen.

[0155] The conditions for using the first screen include a combination of one or more of the following: the current time is within a preset time period, the current location is within a preset geographical location range, a new message is received and the new message is from a preset application, the electronic device is in an open state, and the unlock command is a preset unlock command; the preset unlock command includes a combination of one or more of the following: preset gestures, patterns, numbers, and fingerprints for unlocking the first screen.

[0156] Taking the condition that the electronic device is in an open state as an example, the phone can detect whether the foldable screen is in a folded state.

[0157] As one possible implementation, the phone detects whether it is in a folded state by detecting the angle between the first and second sub-screens of the foldable screen. For example, the phone detects... Figure 3-1 The angle between sub-screen A and sub-screen B shown in (d) is used to determine whether the phone is in a folded state.

[0158] Optionally, both the first and second sub-screens are equipped with gyroscopes to measure the orientation (direction vector) of their respective sub-screens. The phone determines the angle between the first and second sub-screens based on the gyroscope measurements.

[0159] Optionally, the phone can periodically detect its folded state, or it can detect whether the phone is in a folded state based on an event trigger. For example, when a user-inputted unlock command is detected, the phone is triggered to detect whether the folded screen is in a folded state. This application embodiment does not limit the triggering conditions for detecting whether the folded screen is in a folded state.

[0160] The phone can determine whether the user wants to unlock the inner or outer screen based on whether the foldable screen is in a folded state. Optionally, when the phone changes from a folded state to an open state, the phone executes S104 to unlock the inner screen; when the phone is in a folded state, the phone executes S105 to unlock the outer screen.

[0161] It's understandable that when a phone detects that its folded state is changing to an open state, it means the user likely wants to unfold the phone and interact with it through the inner screen. Therefore, the phone unlocks the inner screen to meet the user's needs. Optionally, the extent to which the folded screen unfolds in the open state to recognize and determine the user's current intention is to unlock the inner screen can be set as needed.

[0162] S105. If the user's identity is legitimate and the electronic device does not meet the conditions for using the inner screen, then the phone unlocks the outer screen.

[0163] For example, such as Figure 6 As shown in (3), when the user's identity is confirmed to be legitimate and the electronic device is in a folded state, it means that the user wants to unlock the outer screen, so the phone unlocks the outer screen.

[0164] The unlocking method provided in the embodiments of this application will be described below with reference to specific scenarios.

[0165] 1. Receive new messages like Figure 8-1 As shown in Figure (1), after the phone is in a folded and locked state, the phone receives two notification messages from WeChat.

[0166] Optionally, the message details may not be displayed before unlocking (e.g., displaying partial information such as the number of messages), and the message details may be displayed after unlocking.

[0167] In some embodiments, receiving a new message while the phone is locked can trigger the phone to display a message. Figure 8-1 The message notification interface 401 shown in (2) is used to notify the user that a new message has been received.

[0168] Optionally, the message notification interface 401 may not display information such as message content or sender, but only information such as the application to which the new message belongs and the number of new messages, which does not involve privacy data, in order to reduce the probability of user privacy leakage.

[0169] Alternatively, the message notification interface 401 can display the sender but not the specific content of the message, so that the user can choose whether to unlock the phone and view the message if they know the sender. At the same time, by not displaying the specific content of the message, the probability of privacy leakage can be reduced as much as possible.

[0170] Alternatively, the message notification interface 401 can display most of the message information, including but not limited to the message content and sender. Optionally, the received message belongs to a preset type of application. Preset type applications include, but are not limited to, applications with low security requirements. Applications with low security requirements may be those that do not involve user privacy information or involve minimal user privacy information. Applications with low security requirements may be system default low-security applications (such as applications that do not read user phone numbers, location information, etc.), or applications set by the user.

[0171] Optionally, different applications' message notification interfaces can include different information. As one possible implementation, for messages from private applications, the phone can erase the private information when notifying the user of a new message. For messages from non-private applications, the phone can display most of the message's information when notifying the user of a new message. For example, for the phone application, incoming call information for certain contacts can be set to be invisible. Thus, when these contacts call or a call is made to them, some information about these contacts will not be displayed on the call interface, including but not limited to one or more of the following: the contact's phone number and name. Furthermore, some information for certain contacts can also be hidden in the call log, including but not limited to one or more of the following: the contact's phone number, call duration, the contact's location, incoming or outgoing call status, and call date. Alternatively, the call logs for these contacts can be hidden entirely.

[0172] This application embodiment does not limit the specific content displayed on the message notification interface 401.

[0173] In a scenario where a new message is received on the phone, if the user intends to unlock the phone, they can do so by double-tapping the screen to wake it up, triggering the phone to use the external screen's camera to capture the user's facial image. This facial recognition process identifies the user and determines whether to unlock the screen based on their identity. Alternatively, when the user intends to unlock the phone, they don't need to double-tap the screen; instead, they can trigger the screen to wake up and use the external screen's camera to capture their facial image by lifting the phone. This application does not impose any restrictions on the conditions under which the phone triggers the external screen's camera to capture the user's facial image.

[0174] In other embodiments, the phone receives a new message while in a locked state, without triggering the phone to display anything such as... Figure 8-1Instead of the message notification interface 401 shown in (2), the system notifies the user of new messages through other means (such as non-interface methods). For example, the phone indicator light flashes, the phone vibrates, or rings. In this case, the phone screen may remain black. When the user intends to unlock the phone, the user can trigger the phone to light up by pressing the power button, lifting the phone, or double-tapping the screen, and call the external screen camera to collect the user's facial image, thereby authenticating the user's identity. Optionally, during the identity authentication process, the phone may display various notifications such as... Figure 8-1 The interface shown in (3) is used to prompt the user that the phone is performing identity verification.

[0175] In other embodiments, the mobile phone may notify the user of a new message in various ways, such as by flashing an indicator light, vibrating, and displaying a message. Figure 8-1 The message notification interface shown in (2) is shown in this application embodiment. This application embodiment does not limit the way the mobile phone notifies new messages.

[0176] If the facial image captured by the external screen camera is confirmed to be a correct face, and the phone is folded, it indicates the user likely wants to unlock the external screen, in which case the phone will unlock. This allows the user to interact with the phone through the external screen. For example, they can read received WeChat notifications and reply to WeChat messages. Optionally, the phone may display something like... Figure 8-1 The interface related to the new message shown in (4) includes things like message details.

[0177] If the phone determines that the facial image captured by the external screen camera is a correct facial image, and the phone is not folded, it means the user likely wants to unlock the internal screen. In this case, the phone will unlock the internal screen. The user can then interact with the phone through the internal screen, such as reading specific WeChat notifications or replying to WeChat messages.

[0178] In some cases, if the user is Figure 8-1 When an operation such as clicking control 402 is performed on the interface shown in (2), the phone can display something like this after unlocking the inner screen. Figure 8-1 The relevant interface for the new message shown in (5). If the user does not click control 402, the phone can enter the desktop or the previously exited application interface after unlocking the inner screen, or display other interfaces.

[0179] In other cases, considering that users may not be able to easily input commands related to new messages, the phone can determine the user's unlocking intent based on the user's unlocking needs and timing (such as after receiving a new message), such as to view the new message, and display the relevant interface for the new message after unlocking the screen.

[0180] In this embodiment of the application, the interface related to the new message can be an interface that includes message details. Message details include, but are not limited to, one or more of the following: message content, sender, sender's avatar, sending time, etc.

[0181] In some embodiments, in response to a user's action command on a new message (such as, but not limited to, clicking on a new message), the phone displays the relevant interface for the new message after unlocking the screen. This display method can be applied to one or more of the inner or outer screen. If the user does not perform any action on the new message, the desktop or the previous application interface can be displayed.

[0182] For example, such as Figure 8-1 As shown in (2), when a user wants to view two WeChat message notifications, they can click control 402 to trigger the phone to display them after unlocking the screen. Figure 8-1 The WeChat message interface shown in (4) is shown in the middle.

[0183] In other embodiments, it may be inconvenient for the user to input the relevant operation instructions for the new message, such as not clicking on it. Figure 8-1 As shown in control 402 in (2), in this case, considering the timely notification of new messages to the user or other factors, even if the phone does not detect the user's operation command for the new message, the phone can still display the relevant interface of the new message after unlocking the screen. This method of displaying the interface can be applied to one or more of the inner or outer screen.

[0184] For example, see still Figure 8-1 Neutral (1) and Figure 8-1 As shown in Figure (2), the phone receives a new message while in lock screen mode and can optionally display a message notification interface 401. If the user wants to view two WeChat notifications, they can lift the phone (without clicking control 402). The phone recognizes the user's lifting action, determines that the user currently intends to unlock the phone, and since the user unlocks the phone after receiving a WeChat notification message, the phone determines that the user's intention is to view the WeChat notification message. Therefore, during the lifting process, the phone uses the external screen camera to complete face recognition, unlocks the screen based on the face recognition result, and displays... Figure 8-1 The WeChat message interface in (4).

[0185] It can be seen that in some scenarios where it is inconvenient for users to operate on new messages, the mobile phone can determine the user's unlocking intention, such as viewing new messages, based on the user's unlocking needs and unlocking timing (such as after receiving a new message), and display the relevant interface of the new message after unlocking the screen. In this way, the user's interaction experience with the mobile phone can be improved.

[0186] 2. Payment Scenarios In some scenarios, such as Figure 9-1As shown in (1), the phone is in a locked state, and the user needs to complete identity verification in order to make a payment. Figure 9-1 As shown in (2), the mobile phone uses the facial image captured by the external screen camera to determine whether the user's identity is legitimate. If the user's identity is determined to be legitimate and the user has not unfolded the phone, then the mobile phone determines that the user's purpose in unlocking is to unlock the external screen, and the mobile phone unlocks the external screen and can display things such as... Figure 9-1 The interface shown in (3) is shown in the middle.

[0187] In some embodiments, for user convenience, the mobile phone can display one or more functions of an application on the desktop as shortcut icons. Users can then quickly access the corresponding functions by activating these shortcut icons.

[0188] For example, such as Figure 9-1 As shown in (3), after the phone unlocks its outer screen, a shortcut icon for the wallet application's payment function is displayed. Users can trigger the phone to display the shortcut icon by operating it (e.g., clicking the shortcut icon). Figure 9-1 The payment QR code shown in (4) is used by the user to make payments.

[0189] In other scenarios, users can choose to complete the payment process using the phone's internal screen. For example... Figure 9-1 As shown in (1) and (2), when a user unlocks the phone using facial recognition, and the phone confirms the user's identity is legitimate and the phone is not folded, indicating that the user intends to unlock the inner screen, the phone unlocks the inner screen and can display... Figure 9-1 The interface shown in (5) includes an icon for the wallet application (or an icon for a payment function). Subsequently, the user can use one or more functions of the wallet application (such as payment functions) by clicking the wallet icon. Optionally, the user can also choose to unfold the phone to other angles, such as fully unfolding it for use. For example, in response to the user clicking... Figure 9-1 The phone displays the wallet application icon shown in (5), and then enters the wallet application interface. In response to the user selecting the payment / receive function in the wallet application interface, the phone can display... Figure 9-1 The payment and receipt function interface shown in (6) is shown in the middle.

[0190] Optionally, in the payment scenarios of this application embodiment, the payment methods include, but are not limited to, QR code payment, near field communication (NFC) payment, and barcode payment.

[0191] Taking NFC payment as an example, such as Figure 9-2 As shown in (1), when the mobile phone is in a folded state (and locked screen state) and touches the NFC bus card, it displays something like... Figure 9-2The interface shown in (2) allows users to trigger mobile phone verification by clicking options such as "Recharge". Optionally, the phone can use the external screen camera for facial recognition and display information such as... Figure 9-2 The interface shown in (3) is as follows. Once the phone confirms the user's identity is legitimate and the phone is in a folded state, indicating the user wants to unlock the outer screen, the phone unlocks the outer screen and can display displays such as... Figure 9-2 As shown in the interface (4), users can select the corresponding recharge amount to recharge.

[0192] 3. Photo Scenarios like Figure 10 As shown in (1), the phone is in a folded state (locked screen). Users can perform certain operations on the phone to trigger the camera application. For example, the user presses the power button to turn on the external screen, triggering the phone to display something like... Figure 10 The camera app icon shown in (2) allows users to activate the camera app on their phone by clicking the icon. Figure 10 As shown in (3), the phone opens the camera application and enters the camera application interface. This interface may include gallery controls, photo controls, and camera switching controls.

[0193] It should be noted that when the outer screen is not unlocked, you can set some functions in the camera app to be available and others to be unavailable.

[0194] For example, a user can trigger the phone to take a picture by tapping the camera control, meaning that the camera function in the camera app is available even when the outer screen is not unlocked.

[0195] As another example, users can switch between the front and rear cameras by clicking a camera switching control, meaning the camera app's camera switching function is available even when the external screen is not unlocked.

[0196] Optionally, users can attempt to access the gallery by clicking, for example. In this scenario, optionally, to prevent the leakage of certain private photos in the phone's gallery, the phone can only display the photos generated in this recent shot to the user through the gallery. Therefore, the user can only view the photos taken by operating the camera controls after opening the camera app. In other words, with the outer screen locked, only permissions are available to view photos taken while the phone is locked.

[0197] Optionally, if the outer screen is not unlocked, photos stored in the gallery are deleted after closing the camera app or locking the screen.

[0198] Using the same example as above, when the phone displays... Figure 10 After accessing the interface shown in (3), the user can trigger the phone to display the image by performing actions such as clicking the gallery control. Figure 10 Images from the gallery shown in (4). Optional, Figure 10 The interface shown in (4) may include a gallery control. To enhance the security of private images in the phone's gallery, when the phone detects user actions such as clicking the gallery control 2, it may prompt the user to unlock. For example, the phone may display something like... Figure 10 The prompt interface is shown in (5). When the phone detects the user's unlocking operation, such as detecting the user tapping the screen, the phone calls the external screen camera to capture the user's facial image in order to identify the user's identity. If the user's identity is found to be legitimate and the phone is in an open state, the phone unlocks the inner screen and can display something such as... Figure 10 The gallery interface shown in Figure (6) is for users to browse and view. The gallery interface may include one or more pictures on the phone. Conversely, if the user's identity is detected as legitimate and the phone is in a folded state, the phone unlocks the outer screen and can display... Figure 10 The gallery interface shown in (7) is shown in the middle.

[0199] It should be noted that, Figure 10 The unlocking process shown is merely an example. The conditions for triggering the camera activation, such as the user's operation of the gallery control inducing the phone's actual response, can be implemented in other ways, and this application embodiment does not impose limitations. For example, when a user's operation, such as touching the gallery control 1, is detected, and a picture has been taken after the camera application was opened, the phone displays the picture taken by the user. Furthermore, in response to user operations such as left or right swipes, the phone can switch between displaying multiple pictures taken this time. When a user's touch of the gallery control 1 is detected, and no photo has been taken after the camera application was opened, the phone prompts the user to unlock in order to view the phone's gallery.

[0200] 4. Music playback scenarios like Figure 11 As shown in (1), the phone is in a folded state and playing music in the background. The user can turn on the external screen by tapping the screen or pressing the power button. Optionally, when the phone is playing music in the background and is not unlocked, the screen can display something like... Figure 11 The interface shown in (2) is shown in the figure. Optionally, the interface may include control 406.

[0201] Optionally, if the device is not unlocked, users cannot perform music-related operations on the external screen interface, such as switching songs or controlling the pause and play of songs.

[0202] Alternatively, to reduce the frequency of unlocking the phone when it is locked, some functions of the music application can be performed. For example, users can use control 406 to switch songs, pause, and play songs. Optionally, some other functions are not supported. For example, users cannot use control 406 to save music tracks.

[0203] In response to user input for unlocking, such as double-tapping the screen, the phone uses the external screen camera to capture a facial image. It then performs facial recognition based on the captured image to determine the user's identity. Optionally, during the facial recognition process, the phone may display information such as... Figure 11 The interface shown in (3) is shown in the middle.

[0204] Once the user's identity is verified and the phone is in an open position, the phone unlocks its inner screen. Optionally, if the user accesses the phone via, for example... Figure 11 The interface shown in (2) performs an operation on control 406 (e.g., clicking control 406). Then, after the phone unlocks its inner screen, it displays something like... Figure 11 The interface of the music application shown in (4) is shown. If the user does not operate on control 406, the inner screen can enter the desktop or the most recently displayed application interface after the phone unlocks the inner screen.

[0205] Conversely, if the user's identity is verified and the phone is folded, the outer screen will unlock. Optionally, the phone may display something like this after unlocking the outer screen. Figure 11 The interface of the music application shown in (5) is shown in the middle.

[0206] Figure 11 The main example is a user triggering face unlock by double-tapping the music control 406, after which the phone displays a music-related interface. In other embodiments, the user may not need to operate the music control 406, but instead use other methods, such as tapping their finger on the music control 406. Figure 11 Slide your finger across the interface shown in (2) to trigger face unlock. In this case, the phone can be unlocked and you can enter the main interface or the interface that was last displayed on the phone.

[0207] In some embodiments, the mobile phone can unlock directly after successful facial recognition. For example, regarding receiving new messages, see [link to previous document]. Figure 8-1 In (3) and (4), after the face recognition is successful, if it is determined that the phone is in a folded state, the outer screen will be unlocked directly.

[0208] In other embodiments, the phone can also unlock based on user input (such as a swipe on the screen) after successful facial recognition. Taking receiving a new message as an example, see, for instance... Figure 8-2In (1) and (2), the phone responds to the user's unlocking request by performing facial recognition. After successful facial recognition, the phone can display displays such as... Figure 8-2 The interface shown in (3) is as follows. When a user's swipe-up operation is detected, and the phone is in a folded state, the phone unlocks the outer screen and can display things like... Figure 8-2 The unlock screen is shown in (4). When a user's swipe-up input is detected, and the phone is in an open state, the phone unlocks the inner screen and can display, for example, the following: Figure 8-2 The unlock interface is shown in (5).

[0209] The above embodiments primarily illustrate how determining whether a user wants to unlock the outer or inner screen is based on whether the phone is in a folded state. In other embodiments, the phone not only determines whether it is folded but also its specific unfolding angle. When the unfolding angle is determined to be within a preset range, the phone unlocks the inner screen. The preset range can be set according to the actual application, and this application embodiment does not limit this.

[0210] In other embodiments, in addition to determining the folded state of the phone, other judgment conditions can be set to allow the phone to more accurately determine whether the user wants to unlock the inner screen or the outer screen. Optionally, other judgment conditions include, but are not limited to, one or more of the following conditions: the current time is within a preset time period, the current location is within a preset geographical location range, the new message is a message from a preset application, and a preset unlock operation is detected.

[0211] Preset applications include, but are not limited to, office applications. For example, office applications could be email (corporate email, personal email, etc.) or instant messaging applications (such as WeChat for business or personal use).

[0212] Preset unlock actions can be preset unlock gestures, unlock patterns, or other operations used to unlock the inner screen. These preset unlock actions can be set by the system or the user.

[0213] Optionally, the phone may unlock the inner screen if one or more of the above conditions are met.

[0214] For example, a mobile phone can obtain user profiles or collect behavioral data reflecting user behavior characteristics to determine whether a user wants to unlock the outer screen or the inner screen when unlocking the screen at different times, locations, or scenarios. Then, when a user unlocks the terminal screen at the corresponding time, location, or scenario, the terminal can achieve efficient interaction between the user and the terminal based on whether the user currently wants to unlock the inner or outer screen.

[0215] The aforementioned user profile typically includes one or more user tags (such as gender, late-night habits, reading preferences, etc.). This user profile can reflect the complete picture of the user's information, and the terminal can predict the user's current possible behavior or preferences through the user profile.

[0216] For example, a user profile indicates that the user has a habit of engaging in pre-sleep entertainment (such as playing games before bed), and that the user's sleep time is 23:00-7:30. Based on this user profile, the terminal can determine that the user's unlocking purpose between 22:00-23:00 (before bedtime) is to unlock the internal screen and use game application B. Therefore, if the terminal detects that the user has entered correct authentication information (such as correct facial information) between 22:00-23:00, the terminal unlocks the internal screen and can automatically open game application B.

[0217] For example, a user profile might indicate that the user typically uses the inner screen when using their phone at home, and the outer screen in public places like subways. Based on this user profile after authorization, the terminal can determine the user's purpose for unlocking their phone at home as unlocking the inner screen. Therefore, if the terminal detects the user's location as home and the user provides correct authentication information, the inner screen is unlocked. If the terminal detects the user's location as a public place such as a subway and the user provides correct authentication information, the outer screen is unlocked.

[0218] In this embodiment, different unlocking commands can be set for the outer screen and the inner screen. The preset unlocking command is used to unlock the inner screen, and includes any one or more of the following combinations: preset gestures, patterns, numbers, and fingerprints.

[0219] For example, the unlock pattern "M" is set as the preset unlock command for unlocking the inner screen, and the unlock pattern "N" is the user's unlock command for unlocking the outer screen. Then, when the phone detects that the user has drawn the unlock pattern "M" on the outer screen, and the phone is currently in an open state, the phone determines that the user's unlocking intention is to unlock the inner screen, and therefore unlocks the inner screen according to the user's intention.

[0220] For another example, corporate emails often involve trade secrets, thus requiring a high level of security. Considering this characteristic, if a phone receives a corporate email while its screen is locked, it can unlock its inner screen in response to a user's input unlock command (such as a facial image input via the external screen camera), thereby reducing the probability of trade secrets being leaked during the viewing and replying process. For example, as... Figure 8-3As shown in (1), if a mobile phone receives an enterprise email while the phone is locked, then in response to the user's unlocking operation, such as lifting the phone, the phone uses the external screen camera to authenticate the user's identity. If the user's identity is confirmed to be legitimate, and the phone is in [the lock state], [the user will be able to authenticate the user's identity using the external screen camera]. Figure 8-3 In the semi-open state shown in (2), the phone can unlock the inner screen. Optionally, after unlocking the inner screen, the phone displays... Figure 8-3 The interface shown in (3) is shown in the middle. This interface includes the content of the email.

[0221] For another example, in some scenarios, even if the user doesn't actively open their phone, the phone can prompt the user to open it to handle enterprise emails with high security requirements. Figure 8-3 As shown in (4), when the mobile phone determines that the user's identity is legitimate, it can display interface 404 (an example of a third interface) to prompt the user to open and use the mobile phone.

[0222] Optionally, if the phone is detected to be in an open state for a period of time after a 404 error is displayed, indicating that the user's unlocking purpose is indeed to unlock the inner screen, then the phone unlocks the inner screen. Optionally, after unlocking the inner screen, the phone displays something like... Figure 8-3 The interface shown in (5) is an example. For instance, this interface includes email details. Even more exceptionally, this interface includes email details and an email list in a split-screen format.

[0223] Alternatively, if the phone is detected to remain folded for a period of time, it indicates that the user's purpose in unlocking is likely only to unlock the outer screen; in this case, the phone will only unlock the outer screen. Optionally, after unlocking the outer screen, the phone may display something like... Figure 8-3 The interface shown in (6) is shown in the middle.

[0224] In other words, when a phone receives a message from an application with high security requirements (such as a business email), the phone should process the message using its internal screen whenever possible. Specifically, if the user's identity is verified and the phone is not folded, the phone should unlock the internal screen first. Alternatively, if the user's identity is verified but the phone is still folded, the user can be prompted to unfold the phone. This increases the likelihood that the user will use the internal screen to process messages (such as business emails).

[0225] In other embodiments, to further increase the likelihood of users using the internal screen to handle tasks such as corporate emails, the phone can also prompt users to expand the phone through multiple interfaces. For example, in Figure 8-3 The interfaces shown in (2) or (4) both prompt the user to unfold the phone for use. This application embodiment does not limit the specific timing and manner of the prompt.

[0226] The above example illustrates the unlocking method provided in this application embodiment, using a high-security enterprise email as an example. In other embodiments, the new message may be a message from a non-preset application or non-preset function, a message not received within a preset time period, or a message not received within a preset geographical location. For example, it may be a message with relatively low security requirements. For such messages, users can choose whether to interact with the phone through the internal screen based on their usage habits.

[0227] Taking new messages as an example, where the security requirements are not high, for instance... Figure 8-4 As shown in (1) and (2), the phone receives a new email while in lock screen mode and displays an interface such as interface 405. This interface may include basic information about the new email. Then, in response to a user-inputted unlock command, such as a double-tap on the screen, the phone uses the external screen camera to capture a facial image for face recognition. Optionally, during face recognition, the phone may display various visual information such as... Figure 8-4 The interface shown in (3) is shown in the middle.

[0228] In some cases, if the phone determines the user's identity is legitimate based on facial recognition results, and the phone is in an open state, then the phone determines the user's purpose for unlocking is to unlock the inner screen, and thus unlocks the inner screen. Optionally, after unlocking the inner screen, the phone may display something like... Figure 8-4 The interface shown in (4) is shown in the middle.

[0229] In other cases, if the phone determines the user's identity is legitimate based on facial recognition results, and the phone is still in a folded position, then the outer screen will unlock. Optionally, after unlocking the outer screen, the phone may display something such as... Figure 8-4 The interface shown in (5) is shown in the middle.

[0230] As can be seen from the above embodiments, for scenarios where the inner screen is unnecessary (such as messages that do not involve security leakage risks), the phone unlocks the outer screen without user intervention (such as when the user has not unfolded the phone), meaning the phone interacts with the user through the outer screen as much as possible. For scenarios where the inner screen is necessary, the phone unlocks the inner screen and interacts with the user through the inner screen as much as possible.

[0231] In other embodiments, the phone may also prompt the user to unfold the phone for use. For example, in Figure 8-4 The prompt message is displayed in the interface shown in (2) or (3). Alternatively, the prompt message is displayed after the user's identity has been verified and before the screen is unlocked. The way the mobile phone prompts the user to unfold the phone is not limited to the interface method, but can also be, for example, a voice prompt (an example of a voice prompt). The embodiments of this application do not limit the specific timing and method of the prompt.

[0232] In other embodiments, the phone may also determine whether to use the internal screen to interact with the user based on other conditions. For example, it may perform additional checks on email messages to determine whether to recommend unlocking the internal screen to handle email messages.

[0233] For example, the phone can detect if a newly received email has an attachment. If the email does, the phone will unlock its inner screen when it detects that the user needs to unlock the phone and actively unfolds it. Alternatively, the phone can recommend unfolding the phone to the user, with the prompting method not limited to the interface or voice.

[0234] For example, the phone can detect if a newly received email contains an attachment exceeding a certain size threshold. If the email has a large attachment (e.g., over 10MB), the phone will unlock its inner screen when it detects that the user needs to unlock the phone and actively unfolds it. Alternatively, the phone can recommend unfolding the phone to the user.

[0235] The threshold can be flexibly set according to the scenario, and this application embodiment does not impose any restrictions.

[0236] For example, the phone can detect if a newly received email contains a preset type of attachment. If the email does, the phone will unlock its inner screen when it detects that the user needs to unlock the phone and actively unfolds it. Alternatively, the phone can recommend unfolding the phone to the user.

[0237] Optionally, the preset attachment type can be an attachment suitable for viewing on an internal screen (such as a large screen). Optionally, the preset attachment type can be a highly private attachment, such as an encrypted attachment.

[0238] For example, the preset types may include, but are not limited to, images, videos, Word documents, and encrypted attachments. Image types include, but are not limited to, any one or more of the following: jpg, png, tif, gif.

[0239] In other embodiments, the terminal can also combine the detection of the above-mentioned multiple conditions to determine the user's unlocking purpose. Taking the terminal detecting whether the current time is within a preset time period and whether the electronic device is in a folded state as an example, as a possible design, in some cases, if the terminal detects that the user has entered the correct identity authentication information within the preset time period and simultaneously detects that the terminal is not folded, it means that the user is ready to unfold the terminal, and the terminal can directly unlock the inner screen. In other cases, if the terminal detects that the user has entered the correct identity authentication information within the preset time period and simultaneously detects that the terminal is in a folded state, it is possible that the user has not unfolded the terminal in time. In this case, the terminal can present a prompt message, such as "Face recognition successful, unfold the terminal to unlock the inner screen" to prompt the user to unfold the terminal. If the terminal is detected to have unfolded within a certain period of time after the terminal presents the prompt message, the terminal can unlock the inner screen. If the terminal is not detected to have unfolded within a certain period of time after the terminal presents the prompt message, the terminal can unlock the outer screen.

[0240] As another possible design, if the terminal detects that the user has entered the correct identity authentication information within a preset time period, then the terminal can first unlock the outer screen and display the first interface on the outer screen, and then unlock the inner screen when it detects that the user has unfolded the phone, and can display the second interface associated with the first interface on the inner screen. In this way, the interface of the outer screen can be linked to the inner screen.

[0241] In other embodiments, the user needs to interact with the phone using the inner screen, and due to various factors, the phone cannot successfully recognize a face through the outer screen camera. For example, the user unfolds the phone quickly, resulting in fewer facial images captured by the outer screen camera, or the angle of the facial images captured by the outer screen camera is too far off, making it insufficient for the phone to identify the user based on these captured human images.

[0242] In some cases, such as Figure 8-5 As shown in (1) and (2), when face unlock via the external screen camera fails, the phone can call the internal screen camera to continue capturing the user's facial image (an example of user identity information) and identify the user's identity based on the facial image captured by the internal screen camera. Optionally, the phone can display, on the internal screen, information such as... Figure 8-5 The interface shown in (3) prompts the user that face recognition is in progress. Once the user's identity is confirmed as legitimate based on the face recognition result, the phone can unlock the inner screen. Optionally, after unlocking the inner screen, the phone can display something like... Figure 8-5 The interface shown in (4) is shown in the middle.

[0243] In other cases, when face unlock fails via the external screen's image sensor, the phone can utilize the internal screen's image sensor (an example of the first acquisition component) to continue acquiring face images. Furthermore, considering that the external screen camera may have already captured some face images, the phone can use both the external and internal screen camera images to identify the user. Thus, since the external screen camera has already acquired some of the face images required for face recognition before the phone accesses the internal screen camera, the internal screen camera can acquire fewer face images to complete face recognition, shortening the time from accessing the internal screen camera to successful face recognition and accelerating the face recognition process.

[0244] Optionally, in this embodiment, the mobile phone can determine when to call the inner screen camera based on the positional relationship between the user and the mobile phone. For example, if it is determined that the user's face is out of the field of view (FOV) range of the outer screen camera and the duration reaches a preset duration, it means that the outer screen camera is highly likely to be unable to capture face images. If the mobile phone is in an open state at this time, the mobile phone will call the inner screen camera to continue capturing face images to increase the success rate of face recognition.

[0245] Optionally, when the phone determines that the user's face is out of the field of view (FOV) of the external screen camera and the duration reaches a preset duration, it controls the external screen to turn off in order to reduce power consumption.

[0246] Optionally, the phone can also respond to user input commands to determine when to access the internal screen camera. For example, if the phone detects that the user is performing an operation such as pressing the power button, it will access the internal screen camera.

[0247] Optionally, the phone can also determine when to activate the inner screen camera based on the unfolded angle of the folding screen, or more specifically, based on the phone's folding angle. Specifically, when the phone's folding angle is within a preset angle range, the inner screen camera is activated to capture a facial image. The preset angle range can be determined based on the inner screen camera's field of view. When the phone's folding angle is within the preset angle range, the inner screen camera can typically capture a facial image. When the inner screen camera is a wide-angle or ultra-wide-angle camera, its field of view is larger, and the corresponding preset angle range is also larger. When the inner screen camera's field of view is narrower, the preset angle range is correspondingly smaller. This embodiment does not limit the preset angle range. Therefore, in this embodiment, the inner screen camera is only activated and begins working when the user's face falls within its field of view. This reduces power consumption caused by premature activation of the inner screen camera and minimizes the probability of slower facial recognition speed due to delayed activation of the inner screen camera.

[0248] Optionally, the internal screen camera used for facial recognition can be a camera with a wide field of view. This increases the probability that the user's face falls within the field of view of the internal screen camera, which is beneficial for the internal screen camera to capture facial images and thus improves the success rate of facial recognition.

[0249] For example, with a preset angle range of 80 degrees to 145 degrees, see [reference needed]. Figure 8-6 As shown in (1), when the phone receives a new email while the screen is locked, the user picks up the phone to unlock it and use it. In response to the user's unlocking operation, the phone calls the external screen camera to capture a face image for face recognition.

[0250] Optionally, during the facial recognition process, the phone can display, for example, Figure 8-6 The interface shown in (2) is as follows. Afterward, the user gradually unfolds the phone. If the phone detects that the unfolded angle has reached 80 degrees and the phone still has not unlocked successfully, the phone will use the internal screen camera to continue capturing facial images. Optionally, the phone can identify the user based on the facial images captured by the internal screen camera. Alternatively, to further improve the speed of facial recognition, the phone can combine the facial images captured by the external screen camera and the facial images captured by the internal screen camera for facial recognition.

[0251] Optionally, during the user identification process, the phone may display information such as... Figure 8-6 The interface shown in (3) is used to prompt the user that identity verification is in progress. Once the user's identity is confirmed to be legitimate, the phone unlocks its inner screen and can display information such as... Figure 8-6 The interface shown in (4) is shown in the middle.

[0252] In other embodiments, the phone can determine when to call the internal screen camera by combining the angle at which the phone is unfolded and the positional relationship between the user and the phone, so as to call the internal screen camera at a more accurate time. For example, if the phone is detected to be folded at an angle of 80 degrees and the user's face is close to the phone, and the user's identity has not yet been successfully recognized, the phone can call the internal screen camera to capture the user's facial image in order to continue facial recognition.

[0253] In some embodiments, the phone may also prompt the user whether to unfold the phone in order to unlock the inner screen.

[0254] Taking receiving new messages as an example, for instance, Figure 8-7 As shown in (1), the phone is in a locked state. Afterwards, the phone receives a new message. Then, the phone can display... Figure 8-7The message notification interface shown in (2) may include text such as "Unfolding the phone will unlock the inner screen" to prompt the user that the inner screen can be unlocked by unfolding the phone. Then, in response to the user's operation such as double-tapping the screen, the phone uses the external screen camera to capture a facial image for face recognition. Optionally, during face recognition, the phone displays... Figure 8-7 The interface shown in (3) is shown in the middle.

[0255] In some cases, if the phone verifies the user's identity via facial recognition and the phone is not folded, indicating the user has unfolded the phone and their purpose is to unlock the inner screen, then the phone will unlock the inner screen. Optionally, after unlocking the inner screen, the phone will display... Figure 8-7 The message details interface shown in (4) is shown in the middle.

[0256] In other cases, if the phone verifies the user's identity via facial recognition and the phone is folded (meaning the user hasn't unfolded the phone), and the user's purpose is to unlock the outer screen, then the phone will unlock the outer screen. Optionally, after unlocking the inner screen, the phone will display... Figure 8-7 The message details interface shown in (5) is shown in the middle.

[0257] For example, such as Figure 8-7 As shown in (1)-(4), the mobile phone can prompt the user to unfold the phone during the face recognition process in order to unlock the inner screen. If the phone determines that the user's identity is legitimate based on the face recognition result, and the phone is not folded, it means that the user has unfolded the phone and the purpose of unlocking is to unlock the inner screen, so the phone unlocks the inner screen according to the user's unlocking purpose. Conversely, if the phone determines that the user's identity is legitimate based on the face recognition result, but the phone is folded, it means that the user has not unfolded the phone and the purpose of unlocking is to unlock the outer screen, so the phone unlocks the outer screen.

[0258] For example, such as Figure 8-9 As shown in (1)-(5), after the mobile phone determines the user's identity as legitimate based on the facial recognition result, the mobile phone can display the following: Figure 8-9 Interface 403 shown in (3) is used to prompt the user to unfold the phone in order to unlock the inner screen. If the phone detects that the phone has been unfolded within a certain period of time after the prompt interface 403, it means that the user's purpose for unlocking is to unlock the inner screen, and the phone unlocks the inner screen according to the user's purpose. Conversely, if the phone does not detect that the phone has been unfolded within a certain period of time after the prompt interface 403, it means that the user may only want to use the outer screen to interact with the phone, and the phone unlocks the outer screen, restoring the interactivity of the outer screen.

[0259] It should be noted that the way a mobile phone prompts a user to unfold the phone is not limited to displaying messages such as... Figure 8-7 The interface shown in (2) Figure 8-8 Interface 407 shown in (1)-(4) Figure 8-9 The interface shown in (3) is used in this way. For example, it can also be accessed through... Figure 8-2 Add a prompt message to the swipe-up unlock icon shown in (3), such as "Unfold the phone and swipe up to unlock the inner screen". In addition, the interface can also prompt the user at the angle to unfold the phone, such as prompting the user "Please unfold the phone about 15 degrees (for example only) to trigger the unlock of the inner screen".

[0260] Furthermore, the method by which a mobile phone prompts a user to unfold the phone is not limited to a graphical interface; it can also include voice prompts, among others. This application's embodiments do not limit the specific timing or method of the prompt.

[0261] Optionally, if the user determines that the purpose of unlocking is to unlock the inner screen, then the phone unlocks the inner screen. In this case, if the phone detects that the outer screen is still on, it can control the outer screen to turn off, thereby reducing the overall power consumption caused by the outer screen being on.

[0262] Alternatively, when the phone determines that the user's unlocking purpose is to unlock the inner screen, it can also unlock both the inner and outer screens simultaneously. For example, in some photography scenarios, users may need to preview the scene to be captured on both the inner and outer screens in order to take a better picture.

[0263] In some embodiments, shortcut launch methods can be set for specific functions of a particular application to unlock and access the corresponding functions of the application more quickly.

[0264] For example, such as Figure 10 As shown in (2), a quick launch icon is set for the camera application on the lock screen. In this way, users can quickly use the camera application by operating the quick launch icon.

[0265] For example, a quick launch icon can be set for the payment function of the wallet app. After the user operates (e.g., clicks) the quick launch icon for the payment function, the phone verifies the user's identity. If the user's identity is verified, the phone directly displays the payment QR code. This simplifies the payment process for users, eliminating the need to search for the wallet app among multiple applications on the home screen after unlocking and then select to enter the payment QR code interface.

[0266] Taking facial recognition via a mobile phone camera to verify user identity as an example, in some embodiments, if the external screen camera confirms the user's identity is legitimate, the phone can unlock the external screen first. Subsequently, when the phone detects that the user has unfolded it, the phone can associate the external screen's interface with the internal screen for display. For example, see [link to example] for unlocking the phone when receiving a new message. Figure 8-10As shown in (1) and (2), when the phone receives a new message while the screen is locked, the user picks up the phone to unlock it. The phone then captures a facial image through the external screen camera and performs facial recognition on the user. After successful facial recognition, the phone unlocks the external screen and displays information such as... Figure 8-10 The message interface shown in (3) is an example of the first interface. Subsequently, when the user unfolds and uses the phone, the phone can display messages such as... Figure 8-10 The interface shown in (3) is connected to the inner screen and displayed on the inner screen. Figure 8-10 The interface shown in (4) is as follows. In one example, the outer screen interface can be synchronously switched to the inner screen for display, achieving a seamless transition from the outer screen interface to the inner screen interface. In other examples, when the outer screen interface switches to the inner screen display, the interface associated with the outer screen interface can be displayed on the inner screen. For example, the outer screen displays the email details interface, and the inner screen can display the interface in a split-screen manner (an example of the second interface), displaying the email details in one part and the sent and received email list in another part. Another example is that the outer screen displays the interface of the currently playing music, and when switching to the inner screen display, the music list interface is displayed on the inner screen. That is to say, the interface associated with the outer screen interface can be displayed on the inner screen.

[0267] and Figure 8-10 Compared to the above solutions, Figure 6 In the proposed solution, once the user's identity is confirmed to be legitimate and the phone is in use, the phone can unlock the inner screen directly without unlocking the outer screen, which can further reduce the power consumption caused by unlocking the outer screen.

[0268] In some embodiments, considering that the inner screen and the outer screen have different characteristics, for the same function of the same application, the function interface displayed on the inner screen and the function interface displayed on the outer screen of the mobile phone may be different.

[0269] Taking payment scenarios (but not limited to payment scenarios) as an example, for instance, considering that the security of the inner screen is often higher than that of the outer screen, Figure 9-1 (4) The payment function interface displayed on the outer screen includes less information (e.g., only the QR code information shown in the figure for completing the payment function). Figure 9-1 The payment function interface displayed on the inner screen in (6) includes more information (such as QR code information for completing the payment function, as shown in the figure, and barcode information, etc.). In this way, as much important privacy information as possible can be displayed on the inner screen to improve the security of user information.

[0270] For example, considering the difference between the inner and outer screen sizes, for the same function in the same application, the interface for that function displayed on the smaller screen includes less information, while the interface for that function displayed on the larger screen includes more information.

[0271] This application embodiment can also provide users with a settings entry point for setting unlock-related functions.

[0272] For example, such as Figure 12 Figures (1)-(4) show the settings interfaces for applications that operate on the inner screen. The phone can receive settings commands input by the user through the settings interface, which are used to set the aforementioned preset applications. Similarly, the phone can also provide settings entry points for one or more options such as the time period for operating on the inner screen (i.e., preset time period), the location for operating on the inner screen (i.e., preset geographical location range), and the unlock command for unlocking the inner screen (i.e., preset unlock command).

[0273] The above description primarily uses the example of the first acquisition component being the camera on the inner screen and the second acquisition component being the camera on the outer screen. In this case, the first acquisition component can be different from the second acquisition component. In other embodiments, the first acquisition component can also be the same component as the second acquisition component. For example, still taking a foldable screen phone as an example, the first acquisition component and the second acquisition component can be the same fingerprint acquisition component. This fingerprint acquisition component can be used to collect the user's fingerprint information, and then it can be used to unlock the inner screen or the outer screen.

[0274] Other embodiments of this application provide an apparatus, which may be the aforementioned electronic device (such as a foldable screen phone). The apparatus may include a display screen, a memory, and one or more processors. The display screen, memory, and processors are coupled. The memory stores computer program code, which includes computer instructions. When the processor executes the computer instructions, the electronic device can perform various functions or steps performed by the mobile phone in the above method embodiments. The structure of the electronic device can be referred to... Figure 2 The electronic device shown.

[0275] The core structure of this electronic device can be represented as follows: Figure 13 The structure shown may include: a processing module 1301, an input module 1302, a storage module 1303, and a display module 1304.

[0276] The processing module 1301 may include at least one of a central processing unit (CPU), an application processor (AP), or a communication processor (CP). The processing module 1301 can perform operations or data processing related to control and / or communication with at least one of the other components of the user's electronic device. Specifically, the processing module 1301 can be used to control the content displayed on the main screen according to certain triggering conditions, or to determine the content displayed on the screen according to preset rules. The processing module 1301 is also used to process input instructions or data and determine the display style based on the processed data. The processing module 1301 also includes a rendering engine, etc., for rendering interface elements (UI).

[0277] Input module 1302 is used to acquire user-inputted instructions or data and transmit the acquired instructions or data to other modules of the electronic device. Specifically, the input method of input module 1302 may include touch, gesture, proximity to the screen, or voice input. For example, the input module may be the screen of the electronic device, acquiring user input operations and generating input signals based on the acquired input operations, and transmitting the input signals to processing module 1301. In this embodiment, the input module can be used to receive user-inputted unlock commands and / or perform other steps.

[0278] The storage module 1303 may include volatile memory and / or non-volatile memory. The storage module is used to store at least one related instruction or data from other modules of the user terminal device; specifically, the storage module may record the location of the UI element on the terminal interface.

[0279] The display module 1304 may include, for example, a liquid crystal display (LCD), a light-emitting diode (LED) display, an organic light-emitting diode (OLED) display, a microelectromechanical system (MEMS) display, or an electronic paper display. It is used to display content that can be viewed by the user (e.g., text, images, videos, icons, symbols, etc.). In embodiments of this application, the display module may be implemented as a display screen, such as a first screen and / or a second screen.

[0280] Optional, Figure 13The illustrated structure may also include a communication module 1305 for supporting communication between the electronic device and other electronic devices. For example, the communication module may be connected to a network via wireless or wired communication to communicate with other personal terminals or network servers. Wireless communication may employ at least one of the following cellular communication protocols: Long Term Evolution (LTE), LTE-A Advanced, Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Universal Mobile Telecommunications System (UMTS), Wi-Fi, or Global System for Mobile Communications (GSM). Wireless communication may include, for example, short-range communication. Short-range communication may include at least one of Wi-Fi, Bluetooth, Near Field Communication (NFC), Magnetic Stripe Transmission (MST), or GNSS.

[0281] This application also provides a chip system, such as... Figure 14 As shown, the chip system includes at least one processor 1401 and at least one interface circuit 1402. The processor 1401 and the interface circuit 1402 are interconnected via lines. For example, the interface circuit 1402 can be used to receive signals from other devices (e.g., the memory of an electronic device). As another example, the interface circuit 1402 can be used to send signals to other devices (e.g., the processor 1401). Exemplarily, the interface circuit 1402 can read instructions stored in memory and send those instructions to the processor 1401. When the instructions are executed by the processor 1401, the electronic device can perform the steps in the above embodiments. Of course, the chip system may also include other discrete devices, and this application embodiment does not specifically limit this.

[0282] This application also provides a computer storage medium that includes computer instructions. When the computer instructions are executed on the electronic device, the electronic device causes the electronic device to perform various functions or steps performed by the mobile phone in the above method embodiment.

[0283] This application also provides a computer program product that, when run on a computer, causes the computer to perform the various functions or steps performed by the mobile phone in the above method embodiments.

[0284] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0285] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0286] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0287] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0288] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially or in other words, the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0289] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. An unlocking method, characterized in that, The method is applied to an electronic device, which includes a first screen and a second screen formed in a folded state, wherein the first screen is an inner screen and the second screen is an outer screen, the first screen has an associated first acquisition component, and the second screen has an associated second acquisition component, and the method includes: Obtain the unlocking intent; In response to the unlocking intention, the second collection component is invoked to collect the user's identity information, and the user's identity is identified based on the identity information collected by the second collection component; If the unfolding angle of the electronic device is detected to reach a preset angle, and the user's identity cannot be identified based on the identity information collected by the second collection component, then the first collection component is invoked to collect the user's identity information, and the user's identity is identified based on the identity information collected by the first collection component. If the user's identity is legitimate and the electronic device meets the conditions for using the first screen, then the first screen is unlocked.

2. The method according to claim 1, characterized in that, After verifying the user's legitimacy, before unlocking the first screen, the method further includes: unlocking the second screen and displaying the first interface on the second screen.

3. The method according to claim 2, characterized in that, After unlocking the first screen, the method further includes: displaying a second interface associated with the first interface on the first screen.

4. The method according to claim 1, characterized in that, Identifying the user's identity based on the identity information collected by the first collection component includes: identifying the user's identity based on the identity information collected by the second collection component and the identity information collected by the first collection component.

5. The method according to any one of claims 1-4, characterized in that, Before unlocking the first screen, the method further includes: Displaying a third interface or playing a prompt voice, the third interface being used to prompt the user to unfold the electronic device, and the prompt voice being used to prompt the user to unfold the electronic device.

6. The method according to any one of claims 1-4, characterized in that, The method further includes: The system receives user input settings instructions, which are used to set one or more of the following: preset application, preset time period, preset geographical location range, and preset unlock instructions.

7. The method according to any one of claims 1-4, characterized in that, Obtaining unlock intent includes: receiving unlock commands input by the user; In response to the unlocking intent, the second collection component is invoked to collect the user's identity information, including: In response to the unlock command, the second acquisition component is invoked to collect the user's identity information.

8. The method according to any one of claims 1-4, characterized in that, The first acquisition component may be the same as or different from the second acquisition component.

9. The method according to any one of claims 1-4, characterized in that, The conditions for using the first screen include one or more of the following: the current time is within a preset time period, the current location is within a preset geographical location range, a new message is received and the new message is a message from a preset application, the electronic device is in an open state, and the unlock command input by the user is a preset unlock command.

10. The method according to claim 9, characterized in that, The preset unlock command includes any one or more of the following combinations: preset gestures, patterns, numbers, fingerprints, and voice commands for unlocking the first screen.

11. The method according to any one of claims 1-4, characterized in that, The first acquisition component includes one or more of the following components: a fingerprint acquisition component, a voiceprint acquisition component, and an image acquisition component; the second acquisition component includes one or more of the following components: a fingerprint acquisition component, a voiceprint acquisition component, and an image acquisition component.

12. An electronic device, characterized in that, The electronic device includes a processor, and a first screen and a second screen formed in a folded state, wherein the first screen is an inner screen, the second screen is an outer screen, the first screen has an associated first acquisition component, and the second screen has an associated second acquisition component. The processor is configured to: acquire an unlocking intent; respond to the unlocking intent, invoke the second acquisition component to acquire the user's identity information, and identify the user's identity based on the identity information acquired by the second acquisition component; if the unfolding angle of the electronic device is detected to reach a preset angle, and the user's identity cannot be identified based on the identity information acquired by the second acquisition component, then invoke the first acquisition component to acquire the user's identity information, and identify the user's identity based on the identity information acquired by the first acquisition component; if the user's identity is valid, and the electronic device meets the conditions for using the first screen, then unlock the first screen.

13. The electronic device according to claim 12, characterized in that, The processor is also used to unlock the second screen; The second screen is used to display the first interface.

14. The electronic device according to claim 13, characterized in that, The first screen is used to display a second interface associated with the first interface after the first screen is unlocked.

15. The electronic device according to claim 12, characterized in that, The processor is configured to identify the user's identity based on the identity information collected by the first acquisition component, including: identifying the user's identity based on the identity information collected by the second acquisition component and the identity information collected by the first acquisition component.

16. The electronic device according to any one of claims 12-15, characterized in that, The second screen is also used to display a third interface or play a prompt voice, wherein the third interface is used to prompt the user to unfold the electronic device, and the prompt voice is used to prompt the user to unfold the electronic device.

17. The electronic device according to any one of claims 12-15, characterized in that, The processor is also configured to receive setting instructions input by the user, the setting instructions being used to set one or more of the following: preset application, preset time period, preset geographical location range, and preset unlock instruction.

18. The electronic device according to any one of claims 12-15, characterized in that, The processor is configured to acquire an unlocking intent, including receiving an unlocking command input by the user; The processor is configured to, in response to the unlocking intention, invoke the second acquisition component to collect the user's identity information, including: in response to the unlocking instruction, invoking the second acquisition component to collect the user's identity information.

19. The electronic device according to any one of claims 12-15, characterized in that, The first acquisition component may be the same as or different from the second acquisition component.

20. The electronic device according to any one of claims 12-15, characterized in that, The conditions for using the first screen include one or more of the following: the current time is within a preset time period, the current location is within a preset geographical location range, a new message is received and the new message is a message from a preset application, the electronic device is in an open state, and the unlock command input by the user is a preset unlock command.

21. The electronic device according to claim 20, characterized in that, The preset unlock command includes any one or more of the following combinations: preset gestures, patterns, numbers, fingerprints, and voice commands for unlocking the first screen.

22. The electronic device according to any one of claims 12-15, characterized in that, The first acquisition component includes one or more of the following components: a fingerprint acquisition component, a voiceprint acquisition component, and an image acquisition component; the second acquisition component includes one or more of the following components: a fingerprint acquisition component, a voiceprint acquisition component, and an image acquisition component.

23. An electronic device, characterized in that, include: A processor, a memory coupled to the processor, the memory for storing computer program code including computer instructions, wherein when the processor reads the computer instructions from the memory, the electronic device causes the electronic device to perform the unlocking method as described in any one of claims 1-11.

24. A computer-readable storage medium storing instructions, characterized in that, When the instructions are executed on the electronic device, the electronic device causes the electronic device to perform the unlocking method as described in any one of claims 1-11.

25. A computer program product containing instructions, characterized in that, When the computer program product is run on an electronic device, it causes the electronic device to perform the unlocking method as described in any one of claims 1-11.

Citation Information

Patent Citations

  • Screen unlocking method and terminal equipment

    CN110232266A