Multi-screen unlocking method and electronic equipment
By using independent applications to control the lock screen interface of multiple screens in electronic devices, differentiated display and interactive behavior are achieved, the real-time problem of unlocking multiple screens is solved, and the user experience is improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2021-12-22
- Publication Date
- 2026-05-08
AI Technical Summary
In existing electronic devices, when unlocking multiple screens, the secondary screen relies on the main screen for unlocking, resulting in poor real-time performance and a poor user experience.
By using separate first and second applications to control the lock screen interfaces of the first and second displays in electronic devices, users can perform unlocking operations separately on the second display, achieving differentiated display and interactive behavior.
It improves the real-time performance of unlocking and user experience, and avoids the impact of main screen operations on the secondary screen lock screen interface.
Smart Images

Figure CN122001972A_ABST
Abstract
Description
[0001] This application is a divisional application. The original application has the application number 202111585380.6 and the original application date is December 22, 2021. The entire contents of the original application are incorporated herein by reference. Technical Field
[0002] This application relates to the field of electronic technology, and more particularly to a multi-screen unlocking method and electronic device. Background Technology
[0003] With the rapid development of electronic devices, they now often have more than one display screen. For example, foldable phones can include both large and small screens. The large screen is the most frequently used display for foldable phone users, offering full display capabilities, including a complete status bar, navigation bar, and desktop icons. Users can perform most daily operations on the large screen. The small screen, on the other hand, is a smaller display with limited capabilities, only able to show simple elements such as time, weather, and battery level. Summary of the Invention
[0004] This application provides a multi-screen unlocking method, device, and electronic device, which enriches the lock screen display of small screens, thereby achieving differentiated display of each screen and improving user experience.
[0005] To achieve the above objectives, the embodiments of this application adopt the following technical solutions: In a first aspect, embodiments of this application provide a multi-screen unlocking method applied to an electronic device. The electronic device includes a first display screen, a first application corresponding to the first display screen, a second display screen, and a second application corresponding to the second display screen. The method may include: in response to receiving a first operation from a user on the electronic device, the electronic device determines that its state is a locked screen state. The first display screen displays a first lock screen interface through the first application, and the second display screen displays a second lock screen interface through the second application. The first lock screen interface and the second lock screen interface are different. In response to receiving a second operation from a user on the second display screen, the second application sends a first message to the first application. In response to the first message, the first application displays a first unlock interface on the first display screen and instructs the electronic device to switch from the locked screen state to the unlocked state. The first application sends a second message to the second application. In response to the second message, the second application displays a second unlock interface on the second display screen.
[0006] In this embodiment, the first display screen can be the main screen (or large screen), and the second display screen can be the auxiliary screen (or small screen). Of course, the first display screen can be the auxiliary screen, and the second display screen can be the main screen; this application does not specifically limit this. In this application embodiment, the example of "the first display screen can be the main screen, and the second display screen can be the auxiliary screen" is used for illustration.
[0007] In this embodiment, the first display screen lock is implemented through a first application, and the second display screen lock is implemented through a second application; the first and second applications are two independent applications. Thus, the first and second displays can show two different lock screen interfaces, achieving differentiated display for each screen. Simultaneously, the first and second displays can also have different interactive behaviors. Users can operate the second display screen independently to unlock, meaning the user can perform the unlocking operation on the second display screen, resulting in high real-time unlocking and improved user experience. When a user operates one screen to unlock, it does not affect the lock screen interface of the other screen.
[0008] In one specific implementation, the electronic device further includes a password manager. In response to receiving a second operation from the user on the second display screen, the second application sends a first message to the first application. Specifically, in response to receiving the second operation from the user on the second display screen, the second display screen displays a first interface, which includes a password input area. In response to receiving a password input by the user in the password input area, the second application sends a first message to the first application, the first message carrying the password. The first application sends the password to the password manager, and the password manager verifies the password. After successful password verification, the first application displays a first unlock interface on the first display screen.
[0009] In one specific implementation, the electronic device further includes a password manager. In response to receiving a second operation from the user on the second display screen, the second application sends a first message to the first application. Specifically, in response to receiving a second operation from the user on the second display screen, the second display screen displays a first prompt message, which prompts the user to unlock using a preset unlocking method.
[0010] In one specific implementation, the electronic device further includes a face authentication manager, and the first message carries indication information for face authentication. The first application is also used to send the first message to the face authentication manager, which authenticates the face image captured by the electronic device based on the first message; after the face image authentication is successful, the first application displays a first unlock interface through a first display screen.
[0011] In some possible implementations, the method may further include: in response to receiving a second operation from a user on a second display screen, the second display screen displays a second prompt message, the second prompt message being used to remind the user to perform face recognition.
[0012] In one possible implementation, the second prompt message may be displayed as text, an image, or a breathing status icon.
[0013] In some implementations, the method may further include: when the screen state of the second display is locked, in response to receiving a third operation from the user on the second display, the interface of the second display is switched from the second lock screen interface to a second interface, the second interface being used to display a pull-down notification bar, notifications, cards of the third application, or application icons of the third application.
[0014] In one specific implementation, the first lock screen interface includes the time, date, and lock icon; the second lock screen interface includes at least one of the following: application icon, notification message, weather conditions, navigation information, and unlock prompt information.
[0015] Secondly, embodiments of this application provide a multi-screen unlocking method applied to an electronic device. The electronic device includes a first display screen, a first application corresponding to the first display screen, a second display screen, and a second application corresponding to the second display screen. The method may include: in response to receiving a first operation from a user on the electronic device, the electronic device determines that its state is a locked screen state. The first display screen displays a first lock screen interface through the first application, and the second display screen displays a second lock screen interface through the second application. The first lock screen interface and the second lock screen interface are different. In response to receiving a second operation from a user on the second display screen, the second display screen displays a second unlock interface. The second application instructs the electronic device to switch from a locked screen state to an unlocked state and sends a first message to the first application. In response to the first message, the first application displays the first unlock interface through the first display screen.
[0016] In this embodiment, the first display screen can be the main screen (or large screen), and the second display screen can be the auxiliary screen (or small screen). Of course, the first display screen can be the auxiliary screen, and the second display screen can be the main screen; this application does not specifically limit this. In this application embodiment, the example of "the first display screen can be the main screen, and the second display screen can be the auxiliary screen" is used for illustration.
[0017] In this embodiment, the first display screen lock is implemented through a first application, and the second display screen lock is implemented through a second application; the first and second applications are two independent applications. Thus, the first and second displays can show two different lock screen interfaces. Simultaneously, the first and second displays can also have different interactive behaviors. The user can operate the second display screen independently to unlock, meaning the user can perform the unlocking operation on the second display screen, resulting in high real-time unlocking and improved user experience. When the user operates one screen to unlock, it will not affect the lock screen interface of the other screen.
[0018] In this embodiment, the first display screen lock is implemented through a first application, and the second display screen lock is implemented through a second application; the first and second applications are two independent applications. The first and second displays screens can also have different interactive behaviors. Users can operate the second display screen independently to unlock, meaning users can perform the unlocking operation on the second display screen, resulting in high real-time unlocking and improved user experience. When a user operates one screen to unlock, it does not affect the lock screen interface of the other screen.
[0019] In one specific implementation, the electronic device further includes a password manager. In response to receiving a second operation from the user on the second display screen, the second application exits the second lock screen interface. Specifically, in response to receiving the second operation from the user on the second display screen, the second display screen displays a first interface, which includes a password input area. In response to receiving a password entered by the user in the password input area, the second application sends the password to the password manager through the first application. The password manager verifies the password. After successful password verification, the second display screen displays a second unlock interface.
[0020] In one specific implementation, the electronic device further includes a password manager. In response to receiving a second operation from the user on the second display screen, the second application exits the second lock screen interface. Specifically, in response to receiving a second operation from the user on the second display screen, the second display screen displays a first prompt message, which prompts the user to unlock using a preset unlocking method.
[0021] In one specific implementation, the electronic device further includes a face authentication manager. In response to receiving a second operation from the user on the second display screen, the second display screen displays a second unlock interface. Specifically, in response to receiving the second operation from the user on the second display screen, a second application sends a second message to a first application, the second message carrying face authentication indication information. The first application sends the second message to the face authentication manager. The face authentication manager authenticates the face image captured by the electronic device based on the second message. After successful face image authentication, the second display screen displays the second unlock interface.
[0022] In some possible implementations, the method may further include: in response to receiving a second operation from a user on a second display screen, the second display screen displays a second prompt message, the second prompt message being used to remind the user to perform face recognition.
[0023] In one possible implementation, the second prompt message may be displayed as text, an image, or a breathing status icon.
[0024] In some implementations, the method may further include: when the screen state of the second display is locked, in response to receiving a third operation from the user on the second display, the interface of the second display is switched from the second lock screen interface to a second interface, the second interface being used to display a pull-down notification bar, notifications, cards of the third application, or application icons of the third application.
[0025] In one specific implementation, the first lock screen interface includes the time, date, and lock icon; the second lock screen interface includes at least one of the following: application icon, notification message, weather conditions, navigation information, and unlock prompt information.
[0026] Thirdly, embodiments of this application provide a multi-screen unlocking device applied to an electronic device. The electronic device includes a first display screen corresponding to a first application, a second display screen, and a second application corresponding to the second display screen. The device may include: in response to receiving a first operation from a user on the electronic device, the electronic device determines that its state is a locked screen state. The first display screen displays a first lock screen interface through the first application, and the second display screen displays a second lock screen interface through the second application. The first lock screen interface and the second lock screen interface are different. In response to receiving a second operation from a user on the second display screen, the second application sends a first message to the first application. In response to the first message, the first application displays a first unlock interface on the first display screen and instructs the electronic device to switch from the locked screen state to the unlocked state. The first application sends a second message to the second application. In response to the second message, the second application displays a second unlock interface on the second display screen.
[0027] In this embodiment, the first display screen can be the main screen (or large screen), and the second display screen can be the auxiliary screen (or small screen). Of course, the first display screen can be the auxiliary screen, and the second display screen can be the main screen; this application does not specifically limit this. In this application embodiment, the example of "the first display screen can be the main screen, and the second display screen can be the auxiliary screen" is used for illustration.
[0028] In this embodiment, the first display screen lock is implemented through a first application, and the second display screen lock is implemented through a second application; the first and second applications are two independent applications. Thus, the first and second displays can show two different lock screen interfaces, achieving differentiated display for each screen. Simultaneously, the first and second displays can also have different interactive behaviors. Users can operate the second display screen independently to unlock, meaning the user can perform the unlocking operation on the second display screen, resulting in high real-time unlocking and improved user experience. When a user operates one screen to unlock, it does not affect the lock screen interface of the other screen.
[0029] In one specific implementation, the electronic device further includes a password manager. In response to receiving a second operation from the user on the second display screen, the second application sends a first message to the first application. Specifically, in response to receiving the second operation from the user on the second display screen, the second display screen displays a first interface, which includes a password input area. In response to receiving a password input by the user in the password input area, the second application sends a first message to the first application, the first message carrying the password. The first application sends the password to the password manager, and the password manager verifies the password. After successful password verification, the first application displays a first unlock interface on the first display screen.
[0030] In one specific implementation, the electronic device further includes a password manager. In response to receiving a second operation from the user on the second display screen, the second application sends a first message to the first application. Specifically, in response to receiving a second operation from the user on the second display screen, the second display screen displays a first prompt message, which prompts the user to unlock using a preset unlocking method.
[0031] In one specific implementation, the electronic device further includes a face authentication manager, and the first message carries indication information for face authentication. The first application is also used to send the first message to the face authentication manager, which authenticates the face image captured by the electronic device based on the first message; after the face image authentication is successful, the first application displays a first unlock interface through a first display screen.
[0032] In some possible implementations, the device may further include: in response to receiving a second operation from a user on a second display screen, the second display screen displays a second prompt message, the second prompt message being used to remind the user to perform face recognition.
[0033] In one possible implementation, the second prompt message may be displayed as text, an image, or a breathing status icon.
[0034] In some possible implementations, the device may further include: when the screen state of the second display is locked, in response to receiving a third operation from the user on the second display, the interface of the second display switches from the second lock screen interface to a second interface, the second interface being used to display a pull-down notification bar, notifications, cards of a third application, or application icons of a third application.
[0035] In one specific implementation, the first lock screen interface includes the time, date, and lock icon; the second lock screen interface includes at least one of the following: application icon, notification message, weather conditions, navigation information, and unlock prompt information.
[0036] Fourthly, embodiments of this application provide a multi-screen unlocking device applied to an electronic device. The electronic device includes a first display screen corresponding to a first application, a second display screen, and a second application corresponding to the second display screen. The device may include: in response to receiving a first operation from a user on the electronic device, the electronic device determines that its state is a locked screen state. The first display screen displays a first lock screen interface through the first application, and the second display screen displays a second lock screen interface through the second application. The first lock screen interface and the second lock screen interface are different. In response to receiving a second operation from a user on the second display screen, the second display screen displays a second unlock interface. The second application instructs the electronic device to switch from a locked screen state to an unlocked state and sends a first message to the first application. In response to the first message, the first application displays the first unlock interface through the first display screen.
[0037] In this embodiment, the first display screen can be the main screen (or large screen), and the second display screen can be the auxiliary screen (or small screen). Of course, the first display screen can be the auxiliary screen, and the second display screen can be the main screen; this application does not specifically limit this. In this application embodiment, the example of "the first display screen can be the main screen, and the second display screen can be the auxiliary screen" is used for illustration.
[0038] In this embodiment, the first display screen lock is implemented through a first application, and the second display screen lock is implemented through a second application; the first and second applications are two independent applications. Thus, the first and second displays can show two different lock screen interfaces. Simultaneously, the first and second displays can also have different interactive behaviors. The user can operate the second display screen independently to unlock, meaning the user can perform the unlocking operation on the second display screen, resulting in high real-time unlocking and improved user experience. When the user operates one screen to unlock, it will not affect the lock screen interface of the other screen.
[0039] In this embodiment, the first display screen lock is implemented through a first application, and the second display screen lock is implemented through a second application; the first and second applications are two independent applications. The first and second displays screens can also have different interactive behaviors. Users can operate the second display screen independently to unlock, meaning users can perform the unlocking operation on the second display screen, resulting in high real-time unlocking and improved user experience. When a user operates one screen to unlock, it does not affect the lock screen interface of the other screen.
[0040] In one specific implementation, the electronic device further includes a password manager. In response to receiving a second operation from the user on the second display screen, the second application exits the second lock screen interface. Specifically, in response to receiving the second operation from the user on the second display screen, the second display screen displays a first interface, which includes a password input area. In response to receiving a password entered by the user in the password input area, the second application sends the password to the password manager through the first application. The password manager verifies the password. After successful password verification, the second display screen displays a second unlock interface.
[0041] In one specific implementation, the electronic device further includes a password manager. In response to receiving a second operation from the user on the second display screen, the second application exits the second lock screen interface. Specifically, in response to receiving a second operation from the user on the second display screen, the second display screen displays a first prompt message, which prompts the user to unlock using a preset unlocking method.
[0042] In one specific implementation, the electronic device further includes a face authentication manager. In response to receiving a second operation from the user on the second display screen, the second display screen displays a second unlock interface. Specifically, in response to receiving the second operation from the user on the second display screen, a second application sends a second message to a first application, the second message carrying face authentication indication information. The first application sends the second message to the face authentication manager. The face authentication manager authenticates the face image captured by the electronic device based on the second message. After successful face image authentication, the second display screen displays the second unlock interface.
[0043] In some possible implementations, the device may further include: in response to receiving a second operation from a user on a second display screen, the second display screen displays a second prompt message, the second prompt message being used to remind the user to perform face recognition.
[0044] In one possible implementation, the second prompt message may be displayed as text, an image, or a breathing status icon.
[0045] In some possible implementations, the device may further include: when the screen state of the second display is locked, in response to receiving a third operation from the user on the second display, the interface of the second display switches from the second lock screen interface to a second interface, the second interface being used to display a pull-down notification bar, notifications, cards of a third application, or application icons of a third application.
[0046] In one specific implementation, the first lock screen interface includes the time, date, and lock icon; the second lock screen interface includes at least one of the following: application icon, notification message, weather conditions, navigation information, and unlock prompt information.
[0047] Fifthly, embodiments of this application provide an electronic device, the device comprising: one or more processors; and a memory storing code; when the code is executed by the electronic device, the electronic device causes the electronic device to perform the method as described in the first aspect.
[0048] In a sixth aspect, embodiments of this application provide a chip system applied to an electronic device. The chip system includes one or more interface circuits and one or more processors; the interface circuits and processors are interconnected via lines; the interface circuits are used to receive signals from the electronic device's memory and send signals to the processors, the signals including computer instructions stored in the memory; when the processor executes the computer instructions, it causes the electronic device to perform the method described in the first aspect.
[0049] In a seventh aspect, embodiments of this application provide a computer-readable storage medium including computer instructions that, when executed on an electronic device and a server, cause the electronic device to perform the method described in the first aspect.
[0050] Eighthly, embodiments of this application provide a computer program product, characterized in that, when the computer program product is run on a computer, it causes the computer to perform the method described in the first aspect.
[0051] For the specific implementation methods and corresponding technical effects of the embodiments in the third to eighth aspects mentioned above, please refer to the specific implementation methods and technical effects of the first and second aspects mentioned above.
[0052] In this embodiment, the first display screen lock is implemented through a first application, and the second display screen lock is implemented through a second application; the first and second applications are two independent applications. Thus, the first and second displays can show two different lock screen interfaces. Simultaneously, the first and second displays can also have different interactive behaviors. The user can operate the second display screen independently to unlock, meaning the user can perform the unlocking operation on the second display screen, resulting in high real-time unlocking and improved user experience. When the user operates one screen to unlock, it will not affect the lock screen interface of the other screen. Attached Figure Description
[0053] Figure 1A A schematic diagram of the lock screen interface of a foldable screen phone. Figure 1B A schematic diagram of the lock screen interface of a secondary screen of a foldable screen phone; Figure 2A A schematic diagram of the lock screen interface of the main screen of a foldable screen phone provided in an embodiment of this application; Figure 2BA schematic diagram of the lock screen interface of the secondary screen of a foldable screen phone provided in an embodiment of this application; Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application; Figure 4 A schematic diagram of the software architecture of an electronic device provided in an embodiment of this application; Figure 5A A flowchart illustrating a multi-screen unlocking method provided in this application embodiment; Figure 5B A flowchart illustrating a multi-screen unlocking method provided in this application embodiment; Figure 6A A schematic diagram of the interface of a second display screen of an electronic device provided in an embodiment of this application; Figure 6B A schematic diagram of the interface of a second display screen of an electronic device provided in an embodiment of this application; Figure 6C A schematic diagram of the interface of a second display screen of an electronic device provided in an embodiment of this application; Figure 7A A schematic diagram of the interface of a second display screen of an electronic device provided in an embodiment of this application; Figure 7B A schematic diagram of the interface of a second display screen of an electronic device provided in an embodiment of this application; Figure 7C A schematic diagram of the interface of a second display screen of an electronic device provided in an embodiment of this application; Figure 7D A schematic diagram of the interface of a second display screen of an electronic device provided in an embodiment of this application; Figure 8A A schematic diagram of the interface of a first display screen of an electronic device provided in an embodiment of this application; Figure 8B A schematic diagram of the interface of a first display screen of an electronic device provided in an embodiment of this application; Figure 8C A schematic diagram of the interface of a first display screen of an electronic device provided in an embodiment of this application; Figure 8D A schematic diagram of the interface of a second display screen of an electronic device provided in an embodiment of this application; Figure 9A A schematic diagram of the interface of a second display screen of an electronic device provided in an embodiment of this application; Figure 9B A schematic diagram of the interface of a second display screen of an electronic device provided in an embodiment of this application; Figure 10This is another structural schematic diagram of the electronic device provided in the embodiments of this application. Detailed Implementation
[0054] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; "and / or" in this text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.
[0055] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this embodiment, unless otherwise stated, "a plurality of" means two or more.
[0056] Currently, electronic devices often have more than one display screen. For example, an electronic device can be a foldable screen phone. Figure 1A The foldable phone is in its unfolded state. Figure 1A The number 2 shown is a crease. Figure 1B The foldable phone is in a folded state. This foldable phone can include a main screen 1 and a secondary screen 3. When both the main screen and the secondary screen are locked, the main screen 1 displays... Figure 1A The lock screen interface 101 and secondary screen 3 shown are displayed. Figure 1B The lock screen interface 102 is shown. It can be seen that lock screen interfaces 101 and 102 are identical. When the user unlocks the secondary screen, the user needs to unlock the main screen's lock screen interface 101. The main screen of the foldable phone receives the user's unlock operation. In response to this unlock operation, the main screen of the foldable phone unlocks and instructs the secondary screen to unlock as well. Thus, during the process of unlocking the secondary screen, the user needs to operate the main screen to unlock, thereby unlocking the secondary screen. This results in poor real-time unlocking of the secondary screen and a poor user experience.
[0057] To address the aforementioned technical problems, in this embodiment, in response to receiving a first operation from a user on the electronic device, the electronic device determines its state to be locked. At this time, the first display screen shows a first lock screen interface, and the second display screen shows a second lock screen interface, which are different from each other. In response to receiving a second operation from a user on the second display screen, the second application sends a first message to the first application. In response to the first message, the first application displays a first unlock interface on the first display screen and instructs the electronic device to switch from the lock screen state to the unlock state. The first application sends a second message to the second application. In response to the second message, the second application displays a second unlock interface on the second display screen. Since the first display screen lock is implemented through the first application, and the second display screen lock is implemented through the second application, the first and second applications are two independent applications. Thus, the first and second display screens can display two different lock screen interfaces. Simultaneously, the first and second display screens can also have different interactive behaviors. The user can operate the second display screen independently to unlock, meaning the user can perform the unlock operation on the second display screen, resulting in higher real-time unlocking and improved user experience. When the user operates one screen independently to unlock, it does not affect the lock screen interface of the other screen.
[0058] The phrase "the first application displays a first unlock interface on the first display screen and instructs the electronic device to switch from a locked screen state to an unlocked state" can be understood as follows: after the first application displays the first unlock interface on the first display screen, the first application instructs the electronic device to switch from a locked screen state to an unlocked state; or, in response to a first message, the first application displays the first unlock interface on the first display screen. That is, in response to a first message, the first application can perform two tasks simultaneously: displaying the first unlock interface on the first display screen and instructing the electronic device to switch from a locked screen state to an unlocked state. This application's embodiments are not specifically limited to these details.
[0059] To address the aforementioned technical problems, in some embodiments, in response to receiving a first operation from the user on the electronic device, the electronic device determines its state to be locked. At this time, a first display screen displays a first lock screen interface, and a second display screen displays a second lock screen interface, which are different from each other. In response to receiving a second operation from the user on the second display screen, the second display screen displays a second unlock interface. A second application instructs the electronic device to switch from the lock screen state to the unlock state and sends a first message to the first application. In response to the first message, the first application displays the first unlock interface on the first display screen. Since the first display screen locks through the first application, and the second display screen locks through the second application, the first and second applications are two independent applications. Thus, the first and second display screens can display two different lock screen interfaces. Simultaneously, the first and second display screens can also have different interactive behaviors. The user can operate the second display screen independently to unlock, meaning the user can perform the unlock operation on the second display screen, resulting in higher real-time unlocking and improved user experience. When the user operates one screen independently to unlock, it does not affect the lock screen interface of the other screen.
[0060] The aforementioned electronic device can be a device with multiple displays. The form of the electronic device is not specifically limited in the embodiments of this application. For example, the electronic device can be a foldable device, a detachable device, or a device in a conventional form.
[0061] In some embodiments, the electronic device may include a foldable device. When the foldable device is in an unfolded state, a first display screen lies flat on the unfolded surface of the foldable device. When the foldable device is in a folded state, a second display screen is located on the outer surface of the foldable device. For example, the foldable device may be a foldable screen phone. Since the first display screen locks via a first application, and the second display screen locks via a second application, the first and second applications are two independent applications. Thus, the first and second displays can show two different lock screen interfaces. Figure 2A This is a schematic diagram of the first lock screen interface of the first display screen 1 of a foldable screen phone. Figure 2B This is a schematic diagram of the second lock screen interface of the second display screen 2 of a foldable phone. Figure 2A and Figure 2B As shown, the first lock screen interface 201 and the second lock screen interface 202 are different. Of course, the first lock screen interface and the second lock screen interface include, but are not limited to, [other types of interfaces]. Figure 2A and Figure 2B The interface shown in this application embodiment is not specifically limited.
[0062] For example, the electronic device may specifically be a mobile phone, tablet computer, in-vehicle device, laptop computer, smart screen, wearable device (such as a smartwatch), augmented reality (AR) / virtual reality (VR) device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. This application embodiment does not impose any limitations on the type of electronic device. Exemplary electronic devices include, but are not limited to, devices running Harmony®, Android®, Windows®, or other operating systems.
[0063] For example, Figure 3 A schematic diagram of the structure of the electronic device 100 is shown.
[0064] like Figure 3 As shown, device 100 may include a processor 310, an external memory interface 320, an internal memory 331, a universal serial bus (USB) interface 330, a charging management module 340, a power management module 341, a battery 342, an antenna 3, an antenna 2, a mobile communication module 350, a wireless communication module 360, an audio module 370, a speaker 370A, a receiver 370B, a microphone 370C, a headphone jack 370D, a sensor module 380, buttons 390, a motor 393, an indicator 392, a camera 393, a display screen 394, and a subscriber identification module (SIM) card interface 395, etc. The sensor module 380 may include a pressure sensor 380A, a gyroscope sensor 380B, a barometric pressure sensor 380C, a magnetic sensor 380D, an accelerometer sensor 380E, a distance sensor 380F, a proximity light sensor 380G, a fingerprint sensor 380H, a temperature sensor 380J, a touch sensor 380K, an ambient light sensor 380L, a bone conduction sensor 380M, etc.
[0065] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on device 100. In other embodiments of this application, 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.
[0066] Processor 310 may include one or more processing units, such as application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU). These different processing units may be independent devices or integrated into one or more processors.
[0067] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.
[0068] The processor 310 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 310 is a cache memory. This memory can store instructions or data that the processor 310 has just used or that are used repeatedly. If the processor 310 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 310, and thus improves the efficiency of the system.
[0069] In some embodiments, the processor 310 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0070] It is understood that the interface connection relationships between the modules illustrated in the embodiments of the present invention are merely illustrative and do not constitute a structural limitation on the device 100. In other embodiments of this application, the device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.
[0071] The charging management module 340 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 340 receives charging input from the wired charger via a USB interface 330. In some wireless charging embodiments, the charging management module 340 receives wireless charging input via the wireless charging coil of the device 100. While charging the battery 342, the charging management module 340 can also supply power to the electronic device via the power management module 341.
[0072] The power management module 341 connects the battery 342, the charging management module 340, and the processor 310. The power management module 341 receives input from the battery 342 and / or the charging management module 340, and supplies power to the processor 310, internal memory 331, display screen 394, camera 393, and wireless communication module 360. The power management module 341 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 341 may also be located within the processor 310. In other embodiments, the power management module 341 and the charging management module 340 may be housed in the same device.
[0073] The wireless communication function of device 100 can be implemented through antenna 1, antenna 2, mobile communication module 350, wireless communication module 360, modem processor and baseband processor, etc.
[0074] Antennas 1 and 2 are used to transmit and receive electromagnetic wave signals. Each antenna in device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.
[0075] The mobile communication module 350 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the device 100. The mobile communication module 350 may include at least one filter, switch, power amplifier, low-noise amplifier (LNA), etc. The mobile communication module 350 can receive electromagnetic waves via the antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to the modem processor for demodulation. The mobile communication module 350 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via the antenna 1. In some embodiments, at least some functional modules of the mobile communication module 350 may be housed in the processor 310. In some embodiments, at least some functional modules of the mobile communication module 350 and at least some modules of the processor 310 may be housed in the same device.
[0076] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 370A, receiver 370B, etc.) or displays images or videos through a display screen 394. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 310 and may be housed in the same device as the mobile communication module 350 or other functional modules.
[0077] The wireless communication module 360 can provide solutions for wireless communication applications on device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 360 can be one or more devices integrating at least one communication processing module. The wireless communication module 360 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 310. The wireless communication module 360 can also receive signals to be transmitted from processor 310, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0078] In some embodiments, antenna 1 of device 100 is coupled to mobile communication module 350, and antenna 2 is coupled to wireless communication module 360, enabling device 100 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).
[0079] Device 100 implements display functions through a GPU, display screen 394, and application processor. The GPU is a microprocessor for image processing, connected to the display screen 394 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 310 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0080] Display screen 394 is used to display images, videos, etc. Display screen 394 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, device 100 may include N displays screens 394, where N is a positive integer greater than 2. In some embodiments, the N displays screens 394 may include a first display screen and a second display screen. The first display screen displays images, videos, etc. Figures 8A-8C The interface shown is shown below. The second display screen shows, as follows: Figures 6A-7D , Figures 8D to 9B The interface shown.
[0081] Device 100 can perform shooting functions through ISP, camera 393, video codec, GPU, display 394 and application processor.
[0082] The ISP (Image Signal Processor) is used to process data fed back from the camera 393. 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 camera's 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 in the camera 393.
[0083] Camera 393 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The 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 for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, device 100 may include one or N cameras 393, where N is a positive integer greater than 1.
[0084] A digital signal processor (DSP) is used to process digital signals. Besides digital image signals, it can also process other digital signals. For example, when device 100 selects a frequency, the DSP can perform Fourier transforms on the frequency energy.
[0085] Video codecs are used to compress or decompress digital video. Device 100 may support one or more video codecs. Thus, device 100 can play or record video in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG 2, MPEG 3, MPEG 4, etc.
[0086] NPU stands for Neural Network (NN) Computing Processor. 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 such as image recognition, facial recognition, speech recognition, and text understanding.
[0087] The external storage interface 320 can be used to connect an external storage card, such as a Micro SD card, to expand the storage capacity of the device 100. The external storage card communicates with the processor 310 through the external storage interface 320 to perform data storage functions. For example, music, video, and other files can be saved on the external storage card.
[0088] Internal memory 331 can be used to store computer executable program code, which includes instructions. Internal memory 331 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of device 100 (such as audio data, phonebook, etc.). Furthermore, internal memory 331 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. Processor 310 executes various functional applications and data processing of device 100 by running instructions stored in internal memory 331 and / or instructions stored in memory disposed in the processor.
[0089] Device 100 can perform audio functions, such as music playback and recording, through audio module 370, speaker 370A, receiver 370B, microphone 370C, headphone jack 370D, and application processor.
[0090] The audio module 370 is used to convert digital audio information into analog audio signal output, and also to convert analog audio input into digital audio signal. The audio module 370 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 370 may be located in the processor 310, or some functional modules of the audio module 370 may be located in the processor 310.
[0091] The speaker 370A, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. Device 100 can listen to music or make hands-free calls through the speaker 370A.
[0092] The receiver 370B, also known as the "earpiece," is used to convert audio electrical signals into sound signals. When the device 100 is answering a phone call or voice message, the receiver 370B can be brought close to the listener's ear to receive the voice message.
[0093] Microphone 370C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can speak by bringing their mouth close to microphone 370C, inputting the sound signal into microphone 370C. Device 100 may have at least one microphone 370C. In some embodiments, device 100 may have two microphones 370C, which, in addition to collecting sound signals, can also perform noise reduction. In other embodiments, device 100 may have three, four, or more microphones 370C, which can collect sound signals, reduce noise, identify the sound source, and perform directional recording, etc.
[0094] The 370D headphone jack is used to connect wired headphones. The 370D headphone jack can be a USB 330 interface or a 3.5mm Open Mobile Terminal Platform (OMTP) standard interface, a CTIA (Cellular Telecommunications Industry Association of the USA) standard interface.
[0095] Pressure sensor 380A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 380A can be disposed on display screen 394. There are many types of pressure sensors 380A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When force is applied to pressure sensor 380A, the capacitance between the electrodes changes. Device 100 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to display screen 394, device 100 detects the intensity of the touch operation based on pressure sensor 380A. Device 100 can also calculate the touch position based on the detection signal from pressure sensor 380A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation commands. For example: when a touch operation with an intensity less than a first pressure threshold is applied to the SMS application icon, a command to view an SMS is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to the SMS application icon, a command to create a new SMS is executed.
[0096] The gyroscope sensor 380B can be used to determine the motion attitude of the device 100. In some embodiments, the gyroscope sensor 380B can determine the angular velocity of the device 100 about three axes (i.e., the x, y, and z axes). The gyroscope sensor 380B can be used for image stabilization. For example, when the shutter is pressed, the gyroscope sensor 380B detects the angle of the 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 device 100 through reverse movement, thus achieving image stabilization. The gyroscope sensor 380B can also be used in navigation and motion-sensing game scenarios.
[0097] The barometric pressure sensor 380C is used to measure air pressure. In some embodiments, the device 100 calculates altitude using the air pressure value measured by the barometric pressure sensor 380C to assist in positioning and navigation.
[0098] The magnetic sensor 380D includes a Hall sensor. The device 100 can use the magnetic sensor 380D to detect the opening and closing of the flip cover. In some embodiments, when the device 100 is a flip phone, the device 100 can detect the opening and closing of the flip cover using the magnetic sensor 380D. Then, based on the detected opening and closing state of the cover or the flip cover, features such as automatic flip unlocking can be set.
[0099] The 380E accelerometer can detect the magnitude of acceleration of device 100 in various directions (typically three axes). When device 100 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the posture of electronic devices, and is applied to applications such as screen orientation switching and pedometers.
[0100] A distance sensor 380F is used to measure distance. Device 100 can measure distance via infrared or laser. In some embodiments, during a shooting scene, device 100 can utilize the distance sensor 380F to measure distance for rapid focusing.
[0101] The proximity sensor 380G may include, for example, a light-emitting diode (LED) and a light detector, such as a photodiode. The LED may be an infrared LED. Device 100 emits infrared light outward through the LED. Device 100 uses the photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that an object is near device 100. When insufficient reflected light is detected, device 100 can determine that no object is near device 100. Device 100 may use the proximity sensor 380G to detect when a user holds device 100 close to their ear for a call, so as to automatically turn off the screen to save power. The proximity sensor 380G can also be used in holster mode and pocket mode for automatic unlocking and locking of the screen.
[0102] The ambient light sensor 380L is used to sense ambient light intensity. Device 100 can adaptively adjust the brightness of the display screen 394 based on the sensed ambient light intensity. The ambient light sensor 380L can also be used to automatically adjust the white balance when taking photos. The ambient light sensor 380L can also work in conjunction with the proximity sensor 380G to detect whether device 100 is in a pocket, preventing accidental activation.
[0103] The fingerprint sensor 380H is used to collect fingerprints. Device 100 can utilize the characteristics of the collected fingerprints to achieve fingerprint unlocking, access to application locks, fingerprint photography, fingerprint answering of incoming calls, etc.
[0104] Temperature sensor 380J is used to detect temperature. In some embodiments, device 100 uses the temperature detected by temperature sensor 380J to execute a temperature handling strategy. For example, when the temperature reported by temperature sensor 380J exceeds a threshold, device 100 reduces the performance of a processor located near temperature sensor 380J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is below another threshold, device 100 heats battery 342 to prevent abnormal shutdown of device 100 due to low temperature. In still other embodiments, when the temperature is below yet another threshold, device 100 boosts the output voltage of battery 342 to prevent abnormal shutdown due to low temperature.
[0105] Touch sensor 380K, also known as a "touch device," can be located on display screen 394. The touch sensor 380K and display screen 394 together form a touchscreen, also known as a "touchscreen." Touch sensor 380K detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 394. In other embodiments, touch sensor 380K may also be located on the surface of device 100, in a different position than display screen 394.
[0106] The bone conduction sensor 380M can acquire vibration signals. In some embodiments, the bone conduction sensor 380M can acquire vibration signals from the vibrating bone segments of the human vocal cords. The bone conduction sensor 380M can also contact the human pulse to receive blood pressure signals. In some embodiments, the bone conduction sensor 380M can also be incorporated into headphones to form bone conduction headphones. The audio module 370 can parse the voice signals from the vibrating bone segments of the vocal cords acquired by the bone conduction sensor 380M to realize voice functionality. The application processor can parse heart rate information from the blood pressure signals acquired by the bone conduction sensor 380M to realize heart rate detection functionality.
[0107] Buttons 390 include a power button, volume buttons, etc. Buttons 390 can be mechanical buttons or touch-sensitive buttons. Device 100 can receive button input and generate key signal inputs related to user settings and function control of device 100.
[0108] Motor 391 can generate vibration alerts. Motor 391 can be used for incoming call vibration alerts or for touch vibration feedback. For example, different vibration feedback effects can be corresponding to touch operations applied to different applications (such as taking photos, playing audio, etc.). Motor 391 can also correspond to different vibration feedback effects for touch operations applied to different areas of the display screen 394. Different application scenarios (such as time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also be customized.
[0109] In embodiments of this application, the number of displays 394 can be multiple. For example, displays 394 may include a first display and a second display. When the first display and the second display are in a locked state, the first display displays a first lock screen interface through a first application, and the second display displays a second lock screen interface through a second application. The first application and the second application can be system applications of the electronic device. The internal memory 331 may store the code of the first application and the code of the second application. In some embodiments, when a user operates the second display, the second application sends a first message to the first application, which instructs the first application not to display the lock screen interface. The processor 310 executes the code of the first application to cause the first application to display a first unlock interface through the first display. At this time, the processor 310 determines that the state of the electronic device has switched from the locked state to the unlocked state. Simultaneously, the first application sends a second message to the second application, which instructs the second application not to display the lock screen interface. The processor 310 executes the code of the second application to cause the second application to display a second unlock interface through the second display. In other embodiments, when a user operates the second display, the second display displays a second unlock interface. At this time, the second application instructs the processor 310 to determine to switch the state of the electronic device to the unlocked state. The second application sends a first message to the first application, instructing the first application not to display the lock screen interface. At this time, the processor 310 executes the code of the first application so that the first application displays the first unlock interface through the first display screen.
[0110] Indicator 392 can be an indicator light, used to indicate charging status, power changes, or to indicate messages, missed calls, notifications, etc.
[0111] Of course, the device 100 may also include other functional units, but this application embodiment does not limit this.
[0112] It should be noted that device 100 can be a desktop computer, laptop computer, network server, mobile phone, tablet computer, wireless terminal, embedded device, chip system, or something else. Figure 3 Equipment with a similar structure. Furthermore... Figure 3The structural composition shown does not constitute a limitation on the communication device, except... Figure 3 In addition to the components shown, the communication device may include more or fewer components than illustrated, or combine certain components, or have different component arrangements.
[0113] In this embodiment of the application, the chip system may be composed of chips or may include chips and other discrete devices.
[0114] 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.
[0115] Figure 4 This is a software structure block diagram of the electronic device 100 according to an embodiment of the present invention.
[0116] 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 software structure of the electronic device 100 can be divided into three layers, from top to bottom: the application layer, the application framework layer, and the kernel layer.
[0117] The application layer can include a series of application packages.
[0118] like Figure 4 As shown, the application package may include a first lock screen application (i.e., the first application), a second lock screen application (i.e., the second application), camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, SMS and other applications.
[0119] The first lock screen application primarily provides interface display in the lock state of the first display screen (or main screen), main screen unlocking operation, system lock / unlock status change management, and synchronous processing of lock / unlocking of multiple displays.
[0120] The second lock screen application is mainly responsible for displaying content on the second display screen (or auxiliary screen) in the lock screen state, handling user unlocking operations on this screen, providing prompts, and keeping synchronized with the system state.
[0121] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
[0122] like Figure 4As shown, the application framework layer may include a lock screen manager (Keyguard management service), AMS, power manager, multi-screen manager, fingerprint manager, face authentication manager, password manager, voiceprint authentication, etc.
[0123] The lock screen manager is primarily responsible for synchronizing the unlock status of multiple screens.
[0124] The kernel layer is the layer between hardware and software. The kernel layer includes at least the binder driver, the primary display driver, the secondary display driver, the camera driver, the audio driver, and the sensor driver.
[0125] The following example, using a lock screen scenario, illustrates the workflow of the software and hardware of electronic device 100.
[0126] When the touch sensor 180K receives a touch operation, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into a raw input event (including touch coordinates, touch operation timestamp, etc.). The raw input event is stored in the kernel layer. The application framework layer retrieves the raw input event from the kernel layer and identifies the control corresponding to the input event. Taking a touch click as an example, where the corresponding control is the icon of the first lock screen application, the first lock screen application calls the interface of the application framework layer to start the first lock screen application, and then calls the kernel layer to start the first display screen driver. The first display screen reads the lock screen interface in the first screen container and displays the lock screen interface.
[0127] This application provides a multi-screen unlocking method applied to an electronic device. The electronic device may include multiple displays, each corresponding to a lock screen application. For example, the electronic device may include a first display and a second display. The first display corresponds to a first lock screen application (as described above), and the second display corresponds to a second lock screen application (as described above). In this application embodiment, the first display of the electronic device is taken as the main screen, and the second display of the electronic device is taken as the secondary screen. Further, as... Figure 4 As shown, the electronic device may also include a lock screen manager. The second lock screen application registers a communication interface and a callback interface through the lock screen manager. The communication interface is used for communication between the second lock screen application and the first lock screen application. The callback interface is used by the first lock screen application to call the second lock screen application.
[0128] Figure 5A A flowchart illustrating a multi-screen unlocking method provided in an embodiment of this application; Figure 5B This is a flowchart illustrating a multi-screen unlocking method provided in an embodiment of this application.
[0129] See Figure 5A and Figure 5BThe specific process of the multi-screen unlocking method provided in this application embodiment can be described in different stages, as follows: The first stage is the screen lock stage.
[0130] S501, The electronic device receives the user's screen lock operation.
[0131] The screen lock operation can include screen off operation, gesture operation, etc. Gesture operation can include swipe operation, press operation, click operation, etc. This application embodiment does not impose specific limitations.
[0132] Of course, the screen lock operation can vary depending on the electronic device. For example, if the electronic device is a foldable phone, the screen lock operation could include folding it. For instance, a foldable phone folds. The electronic device can also be a regular phone, in which case the screen lock operation could include inserting or removing a SIM card. The electronic device can also be a tablet, in which case the screen lock operation could include pressing the Home button.
[0133] S502. In response to the screen lock operation, the first display screen of the electronic device displays a first screen lock interface, and the second display screen of the electronic device displays a second screen lock interface, which is different from the first screen lock interface.
[0134] In one possible implementation, in response to a first screen lock operation, a first screen lock application (such as the first application described above) of the electronic device locks the screen. At this time, a first display screen reads the first screen interface from a first screen container and displays the first screen interface. The first screen lock application sends a broadcast message carrying the identifier of a second screen lock application (such as the second application described above) and screen lock indication information. The second screen lock application receives the broadcast message, and at this time, a second display screen reads the second screen interface from a second screen container and displays the second screen interface, which is different from the first screen lock interface.
[0135] The content displayed on the first display screen is different from the content displayed on the second display screen, which can be specifically implemented as follows: The first method involves an electronic device recognizing the specifications of a first display screen, such as resolution and dots per inch (DPI). The device can then create a first screen container for the first display screen, containing the first lock screen interface of a first lock screen application. Similarly, the electronic device can also recognize the specifications of a second display screen. It can create a second screen container for this second display screen, containing the second lock screen interface of a second lock screen application, which differs from the first lock screen interface. The first and second screen containers can be distinguished by different Display IDs.
[0136] In this way, the first display screen of the electronic device can read the first lock screen interface in the first screen container and display the first lock screen interface. Similarly, the second display screen of the electronic device can read the second lock screen interface in the second screen container and display the second lock screen interface. At this time, the first lock screen interface displayed on the first display screen is different from the second lock screen interface displayed on the second display screen.
[0137] The second method differs from the first in that the electronic device can convert information such as application icons, application interfaces, received SMS messages, status bars, and specified lock screen interfaces into a second lock screen interface that matches the specifications of the second display screen, and store this second lock screen interface in a second screen container. Subsequently, the first display screen can read the first lock screen interface from the first screen container and display it. The second display screen can read the second lock screen interface from the second screen container, and this second lock screen interface is different from the first lock screen interface. In this way, two different lock screen interfaces can run independently under the same operating system.
[0138] In one possible implementation, assume the electronic device is a foldable phone. When a user plays music on the foldable phone and it is in its unfolded state, the user triggers a screen lock operation, for example, by clicking the screen-off button. At this time, the foldable phone performs a screen lock operation, and the foldable phone can display... Figure 2A The lock screen interface 103 is shown. When the user plays music using the foldable phone, and the foldable phone is in a folded state, that is, the secondary screen (second display screen) of the foldable phone displays as shown. Figure 6A When the user triggers the screen lock operation on the displayed interface, the foldable phone is in a locked screen state. The foldable phone can then display... Figure 6B The lock screen interface shown is 104. Of course, this foldable phone can display... Figure 6CThe lock screen interface 104 is shown. It can be seen that the lock screen interface of the main screen (i.e., the first lock screen interface) is different from the lock screen interface of the secondary screen (i.e., the second lock screen interface).
[0139] Of course, the aforementioned second lock screen interface can also be displayed as a pull-down notification bar, notifications, a card for a third application, or an application icon for a third application. For example, the second display screen can show, as shown below... Figure 7A The lock screen interface 107 shown can display information such as location and weather conditions, for example, location is Jiangxia District, current temperature is 15℃, today's high temperature is 15℃, today's low temperature is 7℃, and the weather is sunny. The second display screen can also display information such as... Figure 7B The lock screen interface 108 shown can display navigation information, such as icons for location-based applications, road signs, and prompts, such as "Enter Shenjiang Road in 23 meters." The second display screen can also display... Figure 7C The lock screen interface 109 shown can display notifications, such as text messages like, "Amber is having a sunrise at the Shanghai Oriental Art Center this weekend, directed by Jin Xing...". The second display screen can also display other notifications. Figure 7D The lock screen interface 110 shown can display the application icon of a third application. For example, the application icon of the third application and a prompt message such as "Screen lock in progress" may be displayed. Of course, the second display screen can also display other content, which will not be listed in detail in this embodiment.
[0140] In some embodiments, the multi-screen unlocking method provided in this application may further include: when the screen state of the second display screen is locked, in response to receiving a user's operation one on the second display screen (such as the third operation described above), the interface of the second display screen switches from the second lock screen interface to interface one (such as the second interface described above). The operation one may include a gesture operation, which may include a swipe operation. For example, the swipe operation may be a swipe operation along one end of the first display screen to the other. The swipe operation may also be a swipe operation along a specified trajectory. This application does not impose specific limitations. The interface one may be a lock screen interface different from the second lock screen interface. For example, the second lock screen interface is... Figure 6B or Figure 6C The lock screen interface shown is interface one. Figures 7A to 7D The lock screen interface shown.
[0141] It should be noted that, in response to this screen-locking operation, the electronic device can also determine that its state is locked. This step is not essential. Therefore, in the embodiments of this application, this step can be briefly mentioned.
[0142] The second phase is the unlocking phase.
[0143] Electronic devices can be unlocked in the following ways: The first method involves the user interacting with a second display screen, which then triggers the unlocking process via a second application. Specifically, for example... Figure 5A As shown: S503, The electronic device receives the user's unlocking operation on the second display screen (as described in the second operation above).
[0144] The unlocking operation can include password unlocking, facial recognition unlocking, fingerprint unlocking, etc. Of course, it can also include other unlocking operations, such as voiceprint unlocking. This application's embodiments do not impose specific limitations.
[0145] S504. In response to receiving a user's unlock operation on the second display screen (as described in the second operation above), the second display screen displays the second unlock interface.
[0146] Specifically, in response to the user's unlocking action, the second application exits the second lock screen interface. In other words, the second display screen uses the second application to display the second unlock interface.
[0147] S505, the second application instructs the electronic device to switch from the locked screen state to the unlocked state and sends a first message to the first application. Correspondingly, the first application receives the first message.
[0148] The first message is used to instruct the first application not to display the lock screen interface. This first message may carry user operation information.
[0149] S506, In response to the first message, the first application displays the first unlock interface through the first display screen.
[0150] For example, the first display screen can be the main screen (or large screen), and the second display screen can be the auxiliary screen (or small screen); or, the first display screen can be the auxiliary screen, and the second display screen can be the main screen. The following provides a detailed description of S503-S506, which can be: Method 1: Password unlock.
[0151] S11. In response to receiving a second operation from the user on the second display screen, the second display screen displays an interface second, which includes a password input area.
[0152] The second operation may include gesture operations, which may include swiping operations. For example, the swiping operation may be a swipe along one end of the second display screen to the other. The swiping operation may also be a swipe along a specified trajectory. This application embodiment does not impose specific limitations.
[0153] The password input area may include a numeric keypad or a gesture area.
[0154] For example, taking the second display screen as the main screen, the user in Figure 8A The lock screen interface shown is accessed by swiping up. The electronic device's display interface consists of... Figure 8A The interface shown in 103 redirects to... Figure 8B The interface 111 shown above displays a password input area. After the user enters the password, the electronic device's interface can redirect to... Figure 8C The interface shown is 112. Of course, if the electronic device plays a song before locking the screen, then after the user enters the password, the electronic device's interface can jump to the song playback interface.
[0155] S12. In response to receiving the password entered by the user in the password input area, the second lock screen application corresponding to the second display screen sends the password to the password manager of the electronic device.
[0156] S13. The password manager receives the password and verifies it. After successful password verification, the password manager generates a verification success message and sends the message to the second lock screen application.
[0157] S14. The second display screen displays the second unlock screen interface through the second lock screen application, and the second lock screen application sends message 1 to the first lock screen application corresponding to the first display screen. Message 1 is used to instruct the first lock screen application to unlock the lock screen.
[0158] This message can be a broadcast message; for example, a broadcast message can be represented as android.intent.action.USER_PRESENT.
[0159] In this embodiment, the second display screen shows the second unlock screen interface through the second lock screen application. Specifically, this can be achieved as follows: since the second screen container can store the second lock screen interface of the second lock screen application, the second lock screen application does not drive the second display screen to read the second lock screen interface within the second screen container; or, the second lock screen application drives the second display screen to stop reading the second lock screen interface within the second screen container. Of course, other implementation methods are also possible, and this application embodiment does not specifically limit them.
[0160] S15. In response to message one, the first lock screen application displays the first lock screen interface through the first display screen.
[0161] Method 2: Unlock via facial recognition.
[0162] S31. In response to receiving the user's operation four on the second display screen, the second lock screen application sends message two to the face authentication manager, which carries face authentication instruction information.
[0163] Operation four can be the same as operation one, as detailed in the above description. Further details will not be repeated in the embodiments of this application.
[0164] S32. Based on message two, the face authentication manager triggers the electronic device to collect a face image.
[0165] Specifically, electronic devices activate a camera (such as a webcam) to capture images of the user's face.
[0166] S33. The face authentication manager authenticates the face images collected by the electronic device.
[0167] Specifically, the face authentication manager compares the face image captured by the electronic device with the pre-stored face images of legitimate users.
[0168] S34. After successful facial image authentication, the facial authentication manager generates authentication success information and sends it to the second lock screen application. Simultaneously, the electronic device determines that the screen state has switched from locked to unlocked.
[0169] S35. The second lock screen application sends a broadcast message to the first lock screen application, which carries authentication information and a notification message indicating that the screen status has been updated.
[0170] For example, this broadcast message can be represented as com.huawei.keyguard.action.KEYGUARD_AUTH_STATE. The broadcast message carries parameters including the biometric authentication method (such as fingerprint, face, bone conduction, voiceprint, smart device), and the authentication result.
[0171] S36, The second lock screen application displays a second unlock interface via a second display screen.
[0172] After the second lock screen application successfully unlocks the device, it can send an unlock broadcast. For example, this unlock broadcast can be represented as android.intent.action.USER_PRESENT.
[0173] S37. In response to a broadcast message, the first lock screen application displays the first unlock screen via the first display.
[0174] The second method involves the user operating a second display screen, while the first application unlocks the device. Specifically, for example... Figure 5B As shown: S503' The electronic device receives the user's unlocking operation on the second display screen (as described in the second operation above).
[0175] S503' is the same as S503, as detailed above and will not be repeated here.
[0176] S504' In response to receiving a user's unlock operation on the second display screen (as described in the second operation above), the second application sends a first message to the first application. Accordingly, the first application receives the first message.
[0177] The first message instructs the first application not to display the lock screen. This first message may carry user operation information, such as the face authentication instruction information triggered by the user on the second interface, as described below.
[0178] S505', In response to the first message, the first application displays the first unlock interface through the first display screen.
[0179] S506', The first application indicates that the electronic device switches from the locked state to the unlocked state.
[0180] S507', The first application sends a second message to the second application. Correspondingly, the second application receives the second message.
[0181] The second message is used to instruct the second application not to display the lock screen interface.
[0182] S508', in response to the second message, the second application displays the second unlock interface via the second display screen.
[0183] For example, the first display screen can be the main screen (or large screen), and the second display screen can be the auxiliary screen (or small screen); or, the first display screen can be the auxiliary screen, and the second display screen can be the main screen. The following provides a detailed description of S503-S506 and S503'-S508', which can be specifically as follows: Method 1: Password unlock.
[0184] S21. In response to receiving a third operation from the user on the second display screen (as described in the second operation above), the second display screen displays a third interface (as described in the first interface above), the first interface including a password input area.
[0185] S22. In response to receiving a password input by the user in the password input area, the second application sends a first message to the first application, instructing the first application not to display the lock screen interface. This first message carries the password. The first application then sends the first message to the password manager.
[0186] S23. Password manager verifies password.
[0187] S24. After the password verification is successful, the first application displays the first unlock interface on the first display screen.
[0188] S25, the first application sends a second message to the second application, which instructs the second application not to display the unlock screen. Correspondingly, the second application receives the second message.
[0189] S26. In response to the second message, the second application displays the second unlock interface via the second display screen.
[0190] In the embodiments of this application, the descriptions of S23-S24 and S13-S15 are the same, and will not be repeated here.
[0191] In some cases, the second display screen is small, making it inconvenient for the user to enter a password on it. To address this issue, an embodiment of this application provides a multi-screen unlocking method that further includes: in response to receiving a second operation from the user on the second display screen, the second display screen displays a first prompt message, which prompts the user to unlock using a preset unlocking method. For example, taking a foldable phone as an example, the second operation can be an operation performed by the user on the second display screen, such as double-tapping the second lock screen interface. When the user double-taps the second lock screen interface, the foldable phone's interface displays... Figure 8D The interface 113 shown here displays a prompt message because the second display screen is too small to easily show the password input area. For example, the prompt message could be "Please unfold your phone to unlock." Alternatively, it could be "Please swipe up or use your fingerprint to unlock." This embodiment of the application does not impose specific limitations here.
[0192] Method 2: Unlock via facial recognition.
[0193] S41. In response to receiving a user's operation five on the second display screen (as described in the second operation above), the second application sends a message three (as described in the first message above) to the first application, the message three carrying facial authentication indication information.
[0194] For example, message three can be a broadcast message, which can be represented as com.huawei.keyguard.action.KEYGUARD_ASSISTAN_SCREEN. This broadcast message carries parameters including an indication to trigger face recognition.
[0195] In some embodiments, in response to receiving a second operation from the user on the second display screen, the second display screen displays a second prompt message to remind the user that facial recognition is in progress.
[0196] The second prompt message may be displayed as text, an image, or a breathing status icon.
[0197] S42, The first application sends message three to the face authentication manager.
[0198] S43. The face authentication manager authenticates the face image captured by the electronic device based on message three.
[0199] S44. After successful facial image authentication, the facial authentication manager generates authentication success information and sends it to the first lock screen application. Simultaneously, the electronic device determines that its state has changed from lock screen to unlocked.
[0200] S45. The first lock screen application sends a broadcast message to the second lock screen application, which carries authentication information and a notification message indicating that the screen status has been updated.
[0201] S46. The first lock screen application displays the first unlock interface through the first display screen.
[0202] S47. In response to a broadcast message, the second lock screen application displays a second unlock interface via a second display screen.
[0203] In the embodiments of this application, the contents of S43-S47 are the same as those of S32-S37 described above, and will not be repeated here.
[0204] Of course, in addition to the first and second methods mentioned above, electronic devices can also be unlocked using a third method, as follows: The third method is fingerprint unlocking.
[0205] Users unlock their electronic devices using their fingerprints. Details are as follows: S51. Electronic devices collect users' fingerprint information.
[0206] S52. The fingerprint manager of the electronic device compares the collected fingerprint information with the pre-stored fingerprint information of legitimate users.
[0207] S53. After successful fingerprint authentication, the fingerprint manager generates fingerprint authentication success information and sends it to the first lock screen application.
[0208] S54. The first lock screen application sends a broadcast message to the second lock screen application, which carries fingerprint authentication success information and status update indication information.
[0209] S55, The first display screen shows the first unlock interface through the first lock screen application.
[0210] S56. The first lock screen application sends an unlock broadcast to the second lock screen application, which carries a lock screen unlock instruction.
[0211] S57. In response to broadcast information, the second lock screen application displays a second unlock interface via a second display screen.
[0212] For example, the lock screen of an electronic device displays application icons, such as when the electronic device displays... Figure 9A The lock screen interface shown changes after the user enters their fingerprint in the fingerprint sensor area of the electronic device. Figure 9A The interface shown 110 redirects to Figure 9B The interface shown is 114. This interface displays a login QR code for the application. Users can log in to the corresponding application by scanning the login QR code using their electronic devices.
[0213] The above description uses a mobile phone as an example of an electronic device. The multi-screen unlocking method provided in this application embodiment can also be applied to other electronic devices such as tablets or in-vehicle systems, which will not be described in detail in this application embodiment.
[0214] It is understood that, in order to achieve the above functions, the electronic device includes hardware and / or software modules that perform the respective functions. Based on the algorithmic steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is implemented in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in conjunction with the embodiments, but such implementation should not be considered beyond the scope of this application.
[0215] This embodiment can divide the electronic device into functional modules according to the above method example. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing module. The integrated modules can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.
[0216] For example, in one method of division, see [link to relevant documentation]. Figure 10 The electronic device 1000 may include: a display module 1001, a processing module 1002, a communication module 1003, and a storage module 1004.
[0217] The display module 1001 can be used to support the electronic device 1000 in displaying a user interface. For example, the display module 1001 can be used to support the electronic device 1000 in performing... Figure 5A S502 and S506 in the process shown, Figure 5B S505', S508', etc. in the process shown, and / or other processes used in the technology described herein.
[0218] The processing module 1002 can be used to control and manage the actions of the electronic device 1000. For example, the processing module 1002 can be used to support the electronic device 1000 in performing... Figure 5A S501, S503, S504, and S505 in the process shown, Figure 5B S503', S504', S505', S506', S507', etc. in the process shown, and / or other processes used in the technology described herein.
[0219] The communication module 1003 can be used to support communication between the electronic device 1000 and other devices. For example, the communication module 1003 can be used to support the electronic device 1000 in performing... Figure 5A S504 in the process shown, Figure 5B S504', S506', etc. in the process shown, and / or other processes used in the technology described herein.
[0220] The storage module 1004 can be used to store instructions and data, such as storing the code of the first application, storing the OpenID obtained by the electronic device 1000 through the communication module, and storing user account information entered by the user.
[0221] The display module 1001 can be a display, for example, it can be a specific display. Figure 3 The hardware structure shown includes a display screen 394. The processing module 1002 can be a processor or a controller. It can implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor can also be a combination of functions that implement computing capabilities, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. For example, the processing module 1002 may specifically be... Figure 3 The processor 310 is shown in the hardware structure. The communication module 1003 can be a device that interacts with other electronic devices, such as a radio frequency circuit, a Bluetooth chip, or a Wi-Fi chip. For example, the communication module 1003 may include... Figure 3 The hardware structure shown includes a mobile communication module 350, a wireless communication module 360, and antenna 1 or antenna 2. The storage module 1004 can be a memory, for example, specifically... Figure 3 The internal memory 331 in the hardware structure shown.
[0222] It should be noted that all relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here.
[0223] This application also provides an electronic device, including one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, including computer instructions. When the one or more processors execute the computer instructions, the electronic device performs the aforementioned method steps to implement the multi-screen unlocking method described in the above embodiments.
[0224] Embodiments of this application also provide a computer storage medium storing computer instructions. When the computer instructions are executed on an electronic device, the electronic device performs the aforementioned method steps to implement the multi-screen unlocking method described in the above embodiments.
[0225] Embodiments of this application also provide a computer program product that, when run on a computer, causes the computer to perform the aforementioned related steps to implement the multi-screen unlocking method executed by the electronic device in the above embodiments.
[0226] In addition, embodiments of this application also provide an apparatus, which may specifically be a chip, component or module. The apparatus may include a connected processor and a memory. The memory is used to store computer execution instructions. When the apparatus is running, the processor can execute the computer execution instructions stored in the memory to cause the chip to execute the multi-screen unlocking method executed by the electronic device in the above method embodiments.
[0227] Embodiments of this application also provide a chip system applied to an electronic device. The chip system includes one or more interface circuits and one or more processors. The interface circuits and processors are interconnected via lines. The interface circuits are used to receive signals from the electronic device's memory and send signals to the processors, the signals including computer instructions stored in the memory. When the processor executes the computer instructions, it causes the electronic device to perform the multi-screen unlocking method provided in the above-described method embodiments.
[0228] In this embodiment, the electronic device, computer storage medium, computer program product or chip are all used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding method provided above, and will not be repeated here.
[0229] Another embodiment of this application provides a system in which devices can be used to implement the multi-screen unlocking methods described in the above method embodiments.
[0230] Through the above description of the embodiments, those skilled in the art will 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.
[0231] 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 mutual 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.
[0232] 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.
[0233] 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.
[0234] 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.
[0235] 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 that can be easily conceived by those skilled in the art within the scope of the technology 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. A multi-screen unlocking method, applied to an electronic device, the electronic device comprising a first display screen corresponding to a first application, a second display screen, and the second display screen corresponding to a second application; characterized in that, include: In response to receiving a first operation from the user on the electronic device, the electronic device determines that the state of the electronic device is a locked screen state; The first display screen displays the first lock screen interface through the first application, and the second display screen displays the second lock screen interface through the second application. The first lock screen interface and the second lock screen interface are different. In response to receiving a second operation from the user on the second display screen, the first application displays a first unlock screen on the first display screen, and the second application displays a second unlock screen on the second display screen.
2. The method according to claim 1, characterized in that, The first application displays a first unlock screen via the first display screen, and the second application displays a second unlock screen via the second display screen, including: The second application sends a first message to the first application; In response to the first message, the first application displays a first unlock interface on the first display screen and instructs the electronic device to switch from the locked screen state to the unlocked state; The first application sends a second message to the second application; In response to the second message, the second application displays the second unlock interface via the second display screen.
3. The method according to claim 2, characterized in that, The electronic device further includes a password manager, and in response to receiving a second operation from the user on the second display screen, the second application sends a first message to the first application, including: In response to receiving a second operation from the user on the second display screen, the second display screen displays a first interface, the first interface including a password input area; In response to receiving a password entered by a user in the password input area, the second application sends the first message to the first application, the first message carrying the password; The first application sends the password to the password manager, which verifies the password; after the password is verified, the first application displays a first unlock interface on the first display screen.
4. The method according to any one of claims 1-3, characterized in that, Also includes: In response to receiving a second operation from the user on the second display screen, the second display screen displays a first prompt message, which prompts the user to unlock the device using a preset unlocking method.
5. The method according to any one of claims 2-4, characterized in that, The electronic device also includes a face authentication manager, and the first message carries face authentication indication information; The first application is further configured to send the first message to the face authentication manager, which authenticates the face image captured by the electronic device based on the first message; after the face image is successfully authenticated, the first application displays a first unlock interface through the first display screen.
6. The method according to claim 5, characterized in that, Also includes: In response to receiving a second operation from the user on the second display screen, the second display screen displays a second prompt message, which is used to remind the user to perform face recognition.
7. The method according to claim 6, characterized in that, The second prompt message may be displayed as text, an image, or a breathing status icon.
8. The method according to any one of claims 1-7, characterized in that, Also includes: When the screen state of the second display is locked, in response to receiving a third operation from the user on the second display, the interface of the second display switches from the second lock screen interface to the second interface, which is used to display a pull-down notification bar, notifications, cards of the third application, or application icons of the third application.
9. The method according to any one of claims 1-8, characterized in that, The first lock screen interface includes the time, date, and lock icon; the second lock screen interface includes at least one of the following: application icon, notification message, weather conditions, navigation information, and unlock prompt message.
10. A multi-screen unlocking method, applied to an electronic device, the electronic device comprising a first display screen corresponding to a first application, a second display screen, and the second display screen corresponding to a second application; characterized in that, include: In response to receiving a first operation from the user on the electronic device, the electronic device determines that the state of the electronic device is a locked screen state; The first display screen displays the first lock screen interface through the first application, and the second display screen displays the second lock screen interface through the second application. The first lock screen interface and the second lock screen interface are different. In response to receiving a second operation from the user on the second display screen, the second application instructs the electronic device to switch from the locked screen state to the unlocked state, and sends a first message to the first application; In response to the first message, the first application displays a first unlock interface on the first display screen.
11. The method according to claim 10, characterized in that, The electronic device further includes a password manager, and the response to receiving a second operation from the user on the second display screen includes: In response to receiving a second operation from the user on the second display screen, the second display screen displays a first interface, the first interface including a password input area; In response to receiving a password entered by the user in the password input area, the second application sends the password to the password manager through the first application; The password manager verifies the password; After the password verification is successful, the second display screen shows the second unlock interface.
12. The method according to claim 10, characterized in that, The electronic device further includes a password manager, which, in response to receiving a second operation from the user on the second display screen, includes: In response to receiving a second operation from the user on the second display screen, the second display screen displays a first prompt message, which prompts the user to unlock the device using a preset unlocking method.
13. The method according to claim 10, characterized in that, The electronic device further includes a face authentication manager, which, in response to receiving a second operation from the user on the second display screen, includes: In response to receiving a second operation from the user on the second display screen, the second application sends a second message to the first application, the second message carrying facial authentication indication information; The first application sends the second message to the face authentication manager; The face authentication manager authenticates the face image captured by the electronic device based on the second message; After the facial image authentication is successful, the second display screen shows the second unlock interface.
14. The method according to claim 13, characterized in that, Also includes: In response to receiving a second operation from the user on the second display screen, the second display screen displays a second prompt message, which is used to remind the user to perform face recognition.
15. The method according to claim 14, characterized in that, The second prompt message may be displayed as text, an image, or a breathing status icon.
16. The method according to any one of claims 10-15, characterized in that, Also includes: When the screen state of the second display is locked, in response to receiving a third operation from the user on the second display, the interface of the second display switches from the second lock screen interface to the second interface, which is used to display a pull-down notification bar, notifications, cards of the third application, or application icons of the third application.
17. The method according to any one of claims 10-16, characterized in that, The first lock screen interface includes the time, date, and lock icon; the second lock screen interface includes at least one of the following: application icon, notification message, weather conditions, navigation information, and unlock prompt message.
18. An electronic device, characterized in that, include: One or more processors; And a memory storing code; when the code is executed by the one or more processors, the electronic device causes the electronic device to perform the method as claimed in any one of claims 1-9, or the electronic device performs the method as claimed in any one of claims 10-17.
19. A chip system, characterized in that, The chip system is applied to an electronic device, the chip system including one or more interface circuits and one or more processors; the interface circuits and processors are interconnected by lines; the interface circuits are used to receive signals from the memory of the electronic device and send signals to the processor, the signals including computer instructions stored in the memory; when the processor executes the computer instructions, it causes the electronic device to perform the method as described in any one of claims 1-9, or the electronic device performs the method as described in any one of claims 10-17.
20. A computer-readable storage medium, characterized in that, The method includes computer instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in any one of claims 1-9, or the electronic device to perform the method as described in any one of claims 10-17.
21. A computer program product, characterized in that, When the computer program product is run on a computer, it causes the computer to perform the method as described in any one of claims 1-9, or the electronic device to perform the method as described in any one of claims 10-17.