Multi-screen unlocking method and electronic device

By using independent applications to control the lock screen interfaces of the main screen and secondary screen in electronic devices, differentiated display and efficient unlocking are achieved, solving the problem of poor real-time performance caused by the secondary screen relying on the main screen operation when unlocking multiple screens, and improving the user experience.

CN116346976BActive Publication Date: 2026-01-09HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111585380.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-22
Publication Date
2026-01-09
Estimated Expiration
2041-12-22

AI Technical Summary

Technical Problem

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.

Method used

The lock screen interfaces of the main screen and the secondary screen are controlled by independent first and second applications respectively. Users can perform the unlock operation on the secondary screen separately, and achieve differentiated display and efficient unlocking through different interaction behaviors.

Benefits of technology

It improves the real-time unlocking speed, enhances the user experience, and prevents main screen operations from affecting the secondary screen lock screen interface.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116346976B_ABST
    Figure CN116346976B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a multi-screen unlocking method and an electronic device. The method is as follows: in response to receiving a first operation of a user on the electronic device, a first display screen displays a first lock screen interface, and a second display screen displays a second lock screen interface, the first lock screen interface being different from the second lock screen interface. In response to receiving a second operation of the user on the second display screen, the second display screen displays a second unlocking interface. The second application instructs the electronic device to switch from a lock screen state to an unlocking state, and sends a first message to the first application. In response to the first message, the first application displays a first unlocking interface through the first display screen. Since the first display screen lock screen is implemented through the first application, and the second display screen lock screen is implemented through the second application, the first application and the second application are two independent applications. In this way, the first display screen and the second display screen can display two different lock screen interfaces, thereby realizing differentiated display of each screen.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the technical field of electronics, and in particular, to a multi-screen unlocking method and electronic device. BACKGROUND

[0002] With the rapid development of electronic devices, the number of display screens of an electronic device is more than one. For example, a foldable-screen mobile phone can include a large screen and a small screen. The large screen can be the display screen most frequently used by a user of the foldable-screen mobile phone, and has complete display capability, such as a complete status bar, navigation bar, and desktop icon, and the like. The user can complete most of the daily operations on the large screen. The small screen can be a relatively small screen, and has weak display capability, and can only display some simple element content, such as time, weather, and power level, and the like. SUMMARY

[0003] Embodiments of the present application provide a multi-screen unlocking method, device, and electronic device, which enriches the lock screen display of the small screen, thereby realizing differentiated display of each screen and improving user experience.

[0004] To achieve the above object, embodiments of the present application adopt the following technical solutions:

[0005] In a first aspect, embodiments of the present application provide a multi-screen unlocking method applied to an electronic device, the electronic device including a first display screen, the first display screen corresponding to a first application, a second display screen, and the second display screen corresponding to a second application. The method can include: in response to receiving a first operation of a user on the electronic device, the electronic device determining that a state of the electronic device is a lock 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 being different from the second lock screen interface. In response to receiving a second operation of the 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 unlocking interface through the first display screen, and instructs the electronic device to switch from the lock screen state to an unlocking state. The first application sends a second message to the second application. In response to the second message, the second application displays a second unlocking interface through the second display screen.

[0006] The first display screen can be a main screen (or large screen), and the second display screen can be an auxiliary screen (or small screen). Of course, the first display screen can be an auxiliary screen, and the second display screen can be a main screen, which is not limited in the embodiments of the present application. In the embodiments of the present application, the first display screen can be a main screen, and the second display screen can be an auxiliary screen.

[0007] In the embodiments of the present application, the first display screen lock is implemented by the first application, and the second display screen lock is implemented by the second application. The first application and the second application are two independent applications. In this way, the first display screen and the second display screen can display two different lock screen interfaces, thereby realizing differentiated display of each screen. Meanwhile, the first display screen and the second display screen can also have different interactive behaviors. The user can individually operate the second display screen to perform unlocking, that is, the user can perform unlocking operation on the second display screen, so that the unlocking real-time performance is higher, and the user experience is improved. When the user individually operates one screen to perform unlocking, the lock screen interface of the other screen is not affected.

[0008] In a specific implementable manner, the electronic device further includes a password manager. In response to receiving the second operation of the second display screen by the user, the second application sends a first message to the first application. Specifically, in response to receiving the second operation of the second display screen by the user, the second display screen displays a first interface, and the first interface includes a password input area. In response to receiving the input of the password in the password input area by the user, the second application sends the first message to the first application, and the first message carries the password. The first application is configured to send the password to the password manager, and the password manager verifies the password. After the password verification is passed, the first application displays a first unlocking interface through the first display screen.

[0009] In a specific implementable manner, the electronic device further includes a password manager. In response to receiving the second operation of the second display screen by the user, the second application sends a first message to the first application. Specifically, in response to receiving the second operation of the second display screen by the user, the second display screen displays a first prompt information, and the first prompt information is used to prompt the user to perform unlocking in a preset unlocking manner.

[0010] In a specific implementable manner, the electronic device further includes a face authentication manager. The first message carries indication information of face authentication. The first application is further configured to send the first message to the face authentication manager. The face authentication manager authenticates a face image collected by the electronic device according to the first message. After the face image authentication is passed, the first application displays a first unlocking interface through the first display screen.

[0011] In some implementable manners, the method can further include: in response to receiving the second operation of the second display screen by the user, the second display screen displays second prompt information, and the second prompt information is used to remind the user to perform face recognition.

[0012] In a specific implementable manner, the display form of the second prompt information includes text, an image, or a breathing state icon.

[0013] In some embodiments, the method can further include: in response to receiving a third operation of the second display screen by the user when the screen state of the second display screen is the lock screen state, the interface of the second display screen is switched from the second lock screen interface to a second interface, and the second interface is configured to display a drop-down notification bar, a notification, a card of the third application, or an application icon of the third application.

[0014] In some embodiments, the first lock screen interface includes time, date, and an icon of a lock; and the second lock screen interface includes at least one of an application icon, a notification message, a weather condition, navigation information, and an unlock prompt message.

[0015] In a second aspect, the embodiments of the present application provide a multi-screen unlocking method applied to an electronic device, the electronic device including a first display screen corresponding to a first application, a second display screen corresponding to a second application, and the method including: in response to receiving a first operation of the electronic device by the user, the electronic device determines that the state of the electronic device is a lock 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 being different from the second lock screen interface; in response to receiving a second operation of the second display screen by the user, the second display screen displays a second unlocking interface; the second application instructs the electronic device to switch from the lock screen state to an unlocked state, and sends a first message to the first application; and in response to the first message, the first application displays a first unlocking interface through the first display screen.

[0016] In the embodiments of the present application, the first display screen can be a main screen (or a large screen), and the second display screen can be an auxiliary screen (or a small screen). Of course, the first display screen can be an auxiliary screen, and the second display screen can be a main screen, which is not limited in the embodiments of the present application. In the embodiments of the present application, the first display screen can be a main screen, and the second display screen can be an auxiliary screen.

[0017] In the embodiments of the present application, the first display screen is locked through the first application, and the second display screen is locked through the second application. The first application and the second application are two independent applications. In this way, the first display screen and the second display screen can display two different lock screen interfaces. Meanwhile, the first display screen and the second display screen can also have different interactive behaviors. The user can individually operate the second display screen to perform unlocking, that is, the user can perform an unlocking operation on the second display screen, so that the real-time performance of unlocking is high, and the user experience is improved. When the user individually operates one screen to perform unlocking, the lock screen interface of the other screen is not affected.

[0018] In the embodiments of the present application, the first display screen lock is implemented by the first application, and the second display screen lock is implemented by the second application. The first application and the second application are two independent applications. The first display screen and the second display screen can also have different interactive behaviors. The user can individually operate the second display screen to perform unlocking, that is, the user can perform unlocking operation on the second display screen, so that the unlocking real-time performance is higher, and the user experience is improved. When the user individually operates one screen to perform unlocking, the lock screen interface of the other screen is not affected.

[0019] In a specific implementable manner, the electronic device further includes a password manager. In response to receiving the second operation of the second display screen by the user, the second application exits the second lock screen interface. Specifically, in response to receiving the second operation of the second display screen by the user, the second display screen displays a first interface, and the first interface includes a password input area. In response to receiving the input of the password in the password input area by the user, 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 passed, the second display screen displays the second unlocking interface.

[0020] In a specific implementable manner, the electronic device further includes a password manager. In response to receiving the second operation of the second display screen by the user, the second application exits the second lock screen interface. Specifically, in response to receiving the second operation of the second display screen by the user, the second display screen displays first prompt information, and the first prompt information is used to prompt the user to perform unlocking in a preset unlocking manner.

[0021] In a specific implementable manner, the electronic device further includes a face authentication manager. In response to receiving the second operation of the second display screen by the user, the second display screen displays the second unlocking interface. Specifically, in response to receiving the second operation of the second display screen by the user, the second application sends a second message to the first application, and the second message carries indication information of face authentication. The first application sends the second message to the face authentication manager. The face authentication manager authenticates the face image collected by the electronic device according to the second message. After the face image authentication is passed, the second display screen displays the second unlocking interface.

[0022] In some implementable manners, the method can further include: in response to receiving the second operation of the second display screen by the user, the second display screen displays second prompt information, and the second prompt information is used to remind the user to perform face recognition.

[0023] In a specific implementable manner, the display form of the second prompt information can include text, an image, or a breathing state icon.

[0024] In some embodiments, the method can further include: in response to receiving a third operation of the second display screen by the user when the screen state of the second display screen is the lock screen state, the interface of the second display screen is switched from the second lock screen interface to a second interface, and the second interface is configured to display a drop-down notification bar, a notification, a card of the third application, or an application icon of the third application.

[0025] In some embodiments, the first lock screen interface includes time, date, and an icon of a lock; and the second lock screen interface includes at least one of an application icon, a notification message, a weather condition, navigation information, and an unlocking prompt message.

[0026] In a third aspect, the embodiments of the present application provide a multi-screen unlocking device applied to an electronic device, the electronic device including a first display screen corresponding to a first application, a second display screen corresponding to a second application, and the device can include: in response to receiving a first operation of the electronic device by the user, the electronic device determines that the state of the electronic device is a lock 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, and the first lock screen interface is different from the second lock screen interface. In response to receiving a second operation of the second display screen by the user, the second application sends a first message to the first application. In response to the first message, the first application displays a first unlocking interface through the first display screen and instructs the electronic device to switch from the lock screen state to an 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 unlocking interface through the second display screen.

[0027] In some embodiments, the first display screen can be a main screen (or a large screen), and the second display screen can be an auxiliary screen (or a small screen). Of course, the first display screen can be an auxiliary screen, and the second display screen can be a main screen, which is not limited in the embodiments of the present application. In the embodiments of the present application, the first display screen can be a main screen, and the second display screen can be an auxiliary screen.

[0028] In the embodiments of the present application, the first display screen lock is implemented through the first application, the second display screen lock is implemented through the second application, and the first application and the second application are two independent applications. In this way, the first display screen and the second display screen can display two different lock screen interfaces, thereby realizing differentiated display of each screen. Meanwhile, the first display screen and the second display screen can also have different interactive behaviors. The user can individually operate the second display screen to perform unlocking, that is, the user can perform unlocking operations on the second display screen, so that the real-time performance of unlocking is higher, and the user experience is improved. When the user individually operates one screen to perform unlocking, the lock screen interface of the other screen is not affected.

[0029] In an embodiment, the electronic device further comprises a password manager, and in response to receiving the second operation of the second display screen by the user, the second application sends a first message to the first application, which can be: in response to receiving the second operation of the second display screen by the user, the second display screen displays a first interface, and the first interface comprises a password input area. In response to receiving the input of the password in the password input area by the user, the second application sends the first message to the first application, and the first message carries the password. The first application is configured to send the password to the password manager, and the password manager verifies the password. After the password verification is passed, the first application displays a first unlocking interface through the first display screen.

[0030] In an embodiment, the electronic device further comprises a password manager, and in response to receiving the second operation of the second display screen by the user, the second application sends a first message to the first application, which can be: in response to receiving the second operation of the second display screen by the user, the second display screen displays a first prompt information, and the first prompt information is used to prompt the user to unlock by using a preset unlocking mode.

[0031] In an embodiment, the electronic device further comprises a face authentication manager, and the first message carries indication information of face authentication. The first application is further configured to send the first message to the face authentication manager, and the face authentication manager authenticates a face image collected by the electronic device according to the first message. After the face image authentication is passed, the first application displays a first unlocking interface through the first display screen.

[0032] In some embodiments, the apparatus can further comprise: in response to receiving the second operation of the second display screen by the user, the second display screen displays second prompt information, and the second prompt information is used to remind the user to perform face recognition.

[0033] In an embodiment, the display form of the second prompt information comprises text, image or breathing state icon.

[0034] In some embodiments, the apparatus can further comprise: when the screen state of the second display screen is a lock screen state, in response to receiving a third operation of the second display screen by the user, the interface of the second display screen is switched from a second lock screen interface to a second interface, and the second interface is used to display a drop-down notification bar, notification, card of the third application or application icon of the third application.

[0035] In an embodiment, the first lock screen interface comprises time, date and icon of lock; and the second lock screen interface comprises at least one of the following: application icon, notification message, weather condition, navigation information and unlocking prompt information.

[0036] In a fourth aspect, the embodiments of the present application provide a multi-screen unlocking apparatus applied to an electronic device, the electronic device comprising a first display screen corresponding to a first application, a second display screen, and a second application corresponding to the second display screen. The apparatus can comprise: in response to receiving a first operation of the electronic device by a user, the electronic device determining that the state of the electronic device is a lock 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 being different from the second lock screen interface. In response to receiving a second operation of the second display screen by the user, the second display screen displays a second unlocking interface. The second application instructs the electronic device to switch from the lock screen state to an unlocking state, and sends a first message to the first application. In response to the first message, the first application displays a first unlocking interface through the first display screen.

[0037] In the embodiments of the present application, the first display screen can be a main screen (or a large screen), and the second display screen can be an auxiliary screen (or a small screen). Of course, the first display screen can be an auxiliary screen, and the second display screen can be a main screen, which is not limited in the embodiments of the present application. In the embodiments of the present application, the first display screen can be a main screen, and the second display screen can be an auxiliary screen.

[0038] In the embodiments of the present application, the first display screen is locked through the first application, and the second display screen is locked through the second application. The first application and the second application are two independent applications. In this way, the first display screen and the second display screen can display two different lock screen interfaces. Meanwhile, the first display screen and the second display screen can also have different interactive behaviors. The user can individually operate the second display screen to perform unlocking, that is, the user can perform unlocking operations on the second display screen, so that the unlocking real-time performance is higher, and the user experience is improved. When the user individually operates one screen to perform unlocking, the lock screen interface of the other screen is not affected.

[0039] In the embodiments of the present application, the first display screen is locked through the first application, and the second display screen is locked through the second application. The first application and the second application are two independent applications. The first display screen and the second display screen can also have different interactive behaviors. The user can individually operate the second display screen to perform unlocking, that is, the user can perform unlocking operations on the second display screen, so that the unlocking real-time performance is higher, and the user experience is improved. When the user individually operates one screen to perform unlocking, the lock screen interface of the other screen is not affected.

[0040] In an embodiment, the electronic device further includes a password manager, and in response to receiving the second operation of the second display screen by the user, the second application exits the second lock screen interface, specifically, the second display screen displays a first interface including a password input area in response to receiving the second operation of the second display screen by the user. In response to receiving the input of the password in the password input area by the user, 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 passed, the second display screen displays the second unlock interface.

[0041] In an embodiment, the electronic device further includes a password manager, and in response to receiving the second operation of the second display screen by the user, the second application exits the second lock screen interface, specifically, the second display screen displays first prompt information in response to receiving the second operation of the second display screen by the user, the first prompt information prompting the user to unlock by using a preset unlocking mode.

[0042] In an embodiment, the electronic device further includes a face authentication manager, and in response to receiving the second operation of the second display screen by the user, the second display screen displays the second unlock interface, specifically, in response to receiving the second operation of the second display screen by the user, the second application sends a second message to the first application, the second message carrying indication information of face authentication. The first application sends the second message to the face authentication manager. The face authentication manager authenticates the face image collected by the electronic device according to the second message. After the face image authentication is passed, the second display screen displays the second unlock interface.

[0043] In some embodiments, the apparatus can further include: in response to receiving the second operation of the second display screen by the user, the second display screen displays second prompt information, the second prompt information prompting the user to perform face recognition.

[0044] In an embodiment, the display form of the second prompt information can include text, an image, or a breathing state icon.

[0045] In some embodiments, the apparatus can further include: in response to receiving a third operation of the second display screen by the user when the screen state of the second display screen is a lock screen state, the interface of the second display screen is switched from the second lock screen interface to a second interface, the second interface being used to display a drop-down notification bar, a notification, a card of a third application, or an application icon of the third application.

[0046] In an embodiment, the first lock screen interface includes time, date, and an icon of a lock; and the second lock screen interface includes at least one of the following: an application icon, a notification message, a weather condition, navigation information, and unlocking prompt information.

[0047] In a fifth aspect, an electronic device is provided. The device includes one or more processors and memory storing code. The code, when executed by the electronic device, causes the electronic device to perform the method of the first aspect.

[0048] In a sixth aspect, a chip system is provided. The chip system is applied to an electronic device. The chip system includes one or more interface circuits and one or more processors. The interface circuits and the processors are interconnected by lines. The interface circuits are configured to receive signals from a memory of the electronic device and send signals to the processors. The signals include computer instructions stored in the memory. When the processors execute the computer instructions, the electronic device performs the method of the first aspect.

[0049] In a seventh aspect, a computer-readable storage medium is provided. The computer-readable storage medium includes computer instructions. When the computer instructions are executed on an electronic device and a server, the electronic device performs the method of the first aspect.

[0050] In an eighth aspect, a computer program product is provided. When the computer program product is executed on a computer, the computer performs the method of the first aspect.

[0051] The specific embodiments and corresponding technical effects of the various embodiments of the third aspect to the eighth aspect can be referred to the specific embodiments and technical effects of the first aspect and the second aspect.

[0052] In the embodiments of the present application, the first display screen lock screen is implemented by the first application, and the second display screen lock screen is implemented by the second application. The first application and the second application are two independent applications. In this way, the first display screen and the second display screen can display two different lock screen interfaces. At the same time, the first display screen and the second display screen can also have different interactive behaviors. The user can individually operate the second display screen to perform unlocking, that is, the user can perform unlocking operation on the second display screen, so that the unlocking real-time performance is higher, and the user experience is improved. When the user individually operates one screen to perform unlocking, the lock screen interface of the other screen is not affected. BRIEF DESCRIPTION OF DRAWINGS

[0053] FIG. 1A FIG. 1 is a schematic diagram of a lock screen interface of a main screen of a folding screen mobile phone according to an embodiment of the present application;

[0054] FIG. 1B FIG. 2 is a schematic diagram of a lock screen interface of a secondary screen of a folding screen mobile phone according to an embodiment of the present application;

[0055] FIG. 2A FIG. 1 is a schematic diagram of a lock screen interface of a main screen of a folding screen mobile phone according to an embodiment of the present application;

[0056] FIG. 2B A schematic diagram of a lock screen interface of an auxiliary screen of a foldable-screen mobile phone provided by an embodiment of the present application;

[0057] FIG. 3 A structural schematic diagram of an electronic device provided by an embodiment of the present application;

[0058] FIG. 4 A software architecture schematic diagram of an electronic device provided by an embodiment of the present application;

[0059] FIG. 5A A multi-screen unlocking method flowchart provided by an embodiment of the present application;

[0060] FIG. 5B A multi-screen unlocking method flowchart provided by an embodiment of the present application;

[0061] FIG. 6A An interface schematic diagram of a second display screen of an electronic device provided by an embodiment of the present application;

[0062] FIG. 6B An interface schematic diagram of a second display screen of an electronic device provided by an embodiment of the present application;

[0063] FIG. 6C An interface schematic diagram of a second display screen of an electronic device provided by an embodiment of the present application;

[0064] FIG. 7A An interface schematic diagram of a second display screen of an electronic device provided by an embodiment of the present application;

[0065] FIG. 7B An interface schematic diagram of a second display screen of an electronic device provided by an embodiment of the present application;

[0066] FIG. 7C An interface schematic diagram of a second display screen of an electronic device provided by an embodiment of the present application;

[0067] FIG. 7D An interface schematic diagram of a second display screen of an electronic device provided by an embodiment of the present application;

[0068] FIG. 8A An interface schematic diagram of a first display screen of an electronic device provided by an embodiment of the present application;

[0069] FIG. 8B An interface schematic diagram of a first display screen of an electronic device provided by an embodiment of the present application;

[0070] FIG. 8CA schematic diagram of an interface of a first display screen of an electronic device provided by an embodiment of the present application;

[0071] FIG. 8D A schematic diagram of an interface of a second display screen of an electronic device provided by an embodiment of the present application;

[0072] FIG. 9A A schematic diagram of an interface of a second display screen of an electronic device provided by an embodiment of the present application;

[0073] FIG. 9B A schematic diagram of an interface of a second display screen of an electronic device provided by an embodiment of the present application;

[0074] FIG. 10 Another schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0075] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " represents the meaning of or, for example, A / B can represent A or B; in this document, "and / or" only describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which means that there are three cases of A alone, A and B together, and B alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0076] 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 indicating the number of indicated technical features. Therefore, the features defined with "first" and "second" can explicitly or implicitly include one or more features. In the description of the embodiments, unless otherwise specified, the meaning of "multiple" is two or more than two.

[0077] At present, the number of display screens of an electronic device is more than one. For example, the electronic device can be a folding screen mobile phone. FIG. 1A The folding screen mobile phone in FIG. 1 is in an unfolded state, FIG. 1A The folding screen mobile phone in FIG. 1 is in an unfolded state, FIG. 1B The folding screen mobile phone in FIG. 1 is in an unfolded state, FIG. 1A The folding screen mobile phone in FIG. 1 is in an unfolded state, FIG. 1BThe lock screen interface 102 is shown. It can be seen that the lock screen interface 101 and the lock screen interface 102 are the same. When the user unlocks the secondary screen, the user needs to perform an unlocking operation on the lock screen interface 101 of the primary screen. The primary screen of the foldable phone receives the unlocking operation of the user. In response to the unlocking operation, the primary screen of the foldable phone is unlocked, and the secondary screen of the foldable phone is instructed to be unlocked. In this way, in the process of the user unlocking the secondary screen of the foldable phone, the user needs to operate the primary screen to perform an unlocking operation, thereby unlocking the secondary screen, so that the real-time performance of unlocking the secondary screen is poor, and the user experience is poor.

[0078] To solve the above technical problems, in the embodiments of the present application, in response to receiving a first operation of a user on an electronic device, the electronic device determines that the state of the electronic device is a lock screen state. At this time, the first display screen displays a first lock screen interface, and the second display screen displays a second lock screen interface, and the first lock screen interface is different from the second lock screen interface. In response to receiving a second operation of the 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 unlocking interface through the first display screen, and instructs the electronic device to switch from the lock 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 unlocking interface through the second display screen. Since the first display screen lock is realized by the first application, and the second display screen lock is realized by the second application, the first application and the second application are two independent applications. In this way, the first display screen and the second display screen can display two different lock screen interfaces. At the same time, the first display screen and the second display screen can also have different interactive behaviors. The user can individually operate the second display screen to perform unlocking, that is, the user can perform an unlocking operation on the second display screen, so that the unlocking real-time performance is high, and the user experience is improved. When the user individually operates one screen to perform unlocking, the lock screen interface of the other screen is not affected.

[0079] Among them, "the first application displays a first unlocking interface through the first display screen, and instructs the electronic device to switch from the lock screen state to the unlocked state" can be understood as: after the first application displays a first unlocking interface through the first display screen, the first application instructs the electronic device to switch from the lock screen state to the unlocked state; or, in response to the first message, the first application displays a first unlocking interface through the first display screen. And, in response to the first message, the first application instructs the electronic device to switch from the lock screen state to the unlocked state. That is, in response to the first message, the first application can do two things at the same time, one thing is to display a first unlocking interface through the first display screen, and the other thing is to instruct the electronic device to switch from the lock screen state to the unlocked state. The embodiments of the present application can not be specifically limited.

[0080] To solve the above technical problems, in some embodiments, in response to receiving a first operation of the electronic device by the user, the electronic device determines that the state of the electronic device is a lock screen state. At this time, the first display screen displays a first lock screen interface, and the second display screen displays a second lock screen interface, which is different from the first lock screen interface. In response to receiving a second operation of the second display screen by the user, the second display screen displays a second unlock interface. The second application instructs the electronic device to switch from the lock 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 a first unlock interface through the first display screen. Since the first display screen lock screen is realized by the first application, and the second display screen lock screen is realized by the second application, the first application and the second application are two independent applications. In this way, the first display screen and the second display screen can display two different lock screen interfaces. At the same time, the first display screen and the second display screen can also have different interactive behaviors. The user can individually operate the second display screen to perform unlocking, i.e., the user can perform unlocking operations on the second display screen, so that the unlocking real-time performance is higher, and the user experience is improved. When the user individually operates one screen to perform unlocking, the lock screen interface of the other screen is not affected.

[0081] The above electronic device can be a device with multiple display screens. In the embodiments of the present application, the form of the electronic device is not limited. For example, the electronic device can be a foldable device, the electronic device can also be a detachable device, and the electronic device can also be a device of a normal form.

[0082] In some embodiments, the electronic device can include a foldable device. When the foldable device is in an unfolded state, the first display screen tiles the unfolded surface of the foldable device. When the foldable device is in a folded state, the second display screen is located on the outer surface of the foldable device. For example, the foldable device can be a foldable screen mobile phone. Since the first display screen lock screen is realized by the first application, and the second display screen lock screen is realized by the second application, the first application and the second application are two independent applications. In this way, the first display screen and the second display screen can display two different lock screen interfaces. FIG. 2A A schematic diagram of a first lock screen interface of a first display screen 1 of a foldable screen mobile phone. FIG. 2B A schematic diagram of a second lock screen interface of a second display screen 2 of a foldable screen mobile phone. As shown in FIG. 2A and FIG. 2B The first lock screen interface 201 and the second lock screen interface 202 are different. Of course, for the first lock screen interface and the second lock screen interface, the interfaces shown in FIG. 2A and FIG. 2B are included but not limited thereto. The embodiments of the present application are not limited.

[0083] For example, the electronic device can be a mobile phone, a tablet computer, a vehicle-mounted device, a notebook computer, a smart screen, a wearable device (such as a smart watch), an augmented reality (AR) / virtual reality (VR) device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), and the like. The device type of the electronic device is not limited in the embodiments of the present application. Exemplary electronic devices include, but are not limited to, devices carrying or other operating systems.

[0084] Exemplary, FIG. 3 A structural schematic diagram of the electronic device 100 is shown.

[0085] As FIG. 3 shown, the device 100 can 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 loudspeaker 370A, a receiver 370B, a microphone 370C, a headset interface 370D, a sensor module 380, a key 390, a motor 393, an indicator 392, a camera 393, a display screen 394, and a subscriber identification module (SIM) card interface 395, and the like. The sensor module 380 can include a pressure sensor 380A, a gyroscope sensor 380B, a barometric pressure sensor 380C, a magnetic sensor 380D, an acceleration 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, and the like.

[0086] It can be understood that the structure shown in the embodiments of the present application does not constitute a specific limitation on the device 100. In other embodiments of the present application, the device 100 can include more or fewer components than shown, or combine certain components, or split certain components, or different component arrangements. The components shown can be implemented in hardware, software, or a combination of software and hardware.

[0087] The processor 310 can include one or more processing units, for example: the processor 310 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units can be independent devices or integrated in one or more processors.

[0088] The controller can generate operation control signals according to the instruction operation code and the timing signal, complete the control of fetching and executing instructions.

[0089] The processor 310 can also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 310 is a cache memory. The memory can save instructions or data that have just been used or are used repeatedly by the processor 310. If the processor 310 needs to use the instructions or data again, it can directly call from the memory. This avoids repeated access and reduces the waiting time of the processor 310, thereby improving the efficiency of the system.

[0090] In some embodiments, the processor 310 can include one or more interfaces. The interfaces can 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.

[0091] It can be understood that the interface connection relationship between the modules shown in the embodiments of the present application is only illustrative and does not constitute a structural limitation of the device 100. In other embodiments of the present application, the device 100 can also use different interface connection modes or a combination of multiple interface connection modes in the above embodiments.

[0092] The charging management module 340 is configured to receive 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 can receive charging input from a wired charger through the USB interface 330. In some wireless charging embodiments, the charging management module 340 can receive wireless charging input through a wireless charging coil of the device 100. The charging management module 340 can charge the battery 342 and also supply power to the electronic device through the power management module 341.

[0093] The power management module 341 is configured to connect 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, the internal memory 331, the display screen 394, the camera 393, and the wireless communication module 360. The power management module 341 can also be configured to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In other embodiments, the power management module 341 can also be arranged in the processor 310. In other embodiments, the power management module 341 and the charging management module 340 can also be arranged in the same device.

[0094] The wireless communication function of the device 100 can be realized through the antenna 1, the antenna 2, the mobile communication module 350, the wireless communication module 360, the modem processor, and the baseband processor.

[0095] The antenna 1 and the antenna 2 are configured to transmit and receive electromagnetic wave signals. Each antenna in the device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example, the antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In other embodiments, the antenna can be used in combination with a tuning switch.

[0096] The mobile communication module 350 can provide a solution including 2G / 3G / 4G / 5G, etc. wireless communication applied on the device 100. The mobile communication module 350 can include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 350 can receive electromagnetic waves by the antenna 1, and perform filtering, amplification, etc. on the received electromagnetic waves, and transfer to the modem processor for demodulation. The mobile communication module 350 can also amplify the signal modulated by the modem processor, and radiate as electromagnetic waves through the antenna 1. In some embodiments, at least part of the function modules of the mobile communication module 350 can be disposed in the processor 310. In some embodiments, at least part of the function modules of the mobile communication module 350 can be disposed in the same device as at least part of the modules of the processor 310.

[0097] The modem processor can include a modulator and a demodulator. The modulator is configured to modulate a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is configured to demodulate a 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. The low-frequency baseband signal processed by the baseband processor is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 370A, the microphone 370B, etc.), or displays an image or a video through the display screen 394. In some embodiments, the modem processor can be a separate device. In other embodiments, the modem processor can be independent of the processor 310, and disposed in the same device as the mobile communication module 350 or other function modules.

[0098] The wireless communication module 360 can provide a solution for wireless communication including wireless local area networks (WLAN) (e.g., wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, etc. applied to the device 100. The wireless communication module 360 can be one or more devices that integrate at least one communication processing module. The wireless communication module 360 receives electromagnetic waves via the antenna 2, frequency-modulates and filters the electromagnetic wave signals, and transmits the processed signals to the processor 310. The wireless communication module 360 can also receive signals to be transmitted from the processor 310, frequency-modulate them, amplify them, and radiate them as electromagnetic waves via the antenna 2.

[0099] In some embodiments, antenna 1 and mobile communication module 350 of device 100 are coupled, and antenna 2 and wireless communication module 360 are coupled, so that device 100 can communicate with a network and other devices through wireless communication technology. The wireless communication technology can 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 technology, etc. The GNSS can include global positioning system (GPS), global navigation satellite system (GLONASS), beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS), and / or satellite based augmentation systems (SBAS).

[0100] Device 100 implements a display function through a GPU, display screen 394, and an application processor, etc. The GPU is a microprocessor for image processing, connected to display screen 394 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 310 can include one or more GPUs that execute program instructions to generate or change display information.

[0101] The display screen 394 is configured to display images, videos, and the like. The display screen 394 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flex light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light emitting diodes (QLED), or the like. In some embodiments, the device 100 can include N display screens 394, where N is a positive integer greater than 2. In some embodiments, the N display screens 394 can include a first display screen and a second display screen. The first display screen displays the interface as shown in FIG. 8A-FIG. 8C , FIG. 6A-FIG. 7D , FIG. 8D to FIG. 9B

[0102] The device 100 can implement the photographing function through the ISP, the camera 393, the video codec, the GPU, the display screen 394, and the application processor, and the like.

[0103] The ISP is configured to process the data fed back by the camera 393. For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing to convert it into an image visible to the naked eye. The ISP can also optimize the algorithm for the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature, and other parameters of the shooting scene. In some embodiments, the ISP can be arranged in the camera 393.

[0104] ​The camera 393 is used to capture still images or videos. An object projects an optical image through a lens to a photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical 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 a standard image signal in a format such as RGB, YUV, etc. In some embodiments, the device 100 can include one or N cameras 393, where N is a positive integer greater than one.

[0105] The digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.

[0106] The video codec is used to compress or decompress digital videos. The device 100 can support one or more video codecs. In this way, the device 100 can play or record videos in multiple encoding formats, such as moving picture experts group (MPEG) 1, MPEG 2, MPEG 3, MPEG 4, etc.

[0107] The NPU is a neural-network (NN) computing processor that processes input information quickly by drawing on the structure of a biological neural network, such as the transmission mode between human brain neurons, and can also constantly self-learn. Through the NPU, the device 100 can implement intelligent cognitive applications, such as image recognition, face recognition, speech recognition, text understanding, etc.

[0108] The external memory interface 320 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the device 100. The external memory card communicates with the processor 310 through the external memory interface 320 to implement data storage functions. For example, music, video, etc. Files are saved in the external memory card.

[0109] The internal memory 331 can be used to store computer executable program codes including instructions. The internal memory 331 can include a program storage area and a data storage area. The program storage area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.), and the like. The data storage area can store data (such as audio data, a phone book, etc.) created during use of the device 100, and the like. In addition, the internal memory 331 can include a high-speed random access memory, and can further include a non-volatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like. The processor 310 executes various function applications and data processing of the device 100 by running instructions stored in the internal memory 331 and / or instructions stored in a memory disposed in the processor.

[0110] The device 100 can implement an audio function through an audio module 370, a speaker 370A, a receiver 370B, a microphone 370C, an earphone interface 370D, an application processor, and the like. For example, music playing, recording, and the like.

[0111] The audio module 370 is used to convert digital audio information into an analog audio signal output, and is also used to convert an analog audio input into a digital audio signal. The audio module 370 can also be used to encode and decode an audio signal. In some embodiments, the audio module 370 can be disposed in the processor 310, or part of the function modules of the audio module 370 can be disposed in the processor 310.

[0112] The speaker 370A, also referred to as a “loudspeaker”, is used to convert an audio electrical signal into a sound signal. The device 100 can listen to music or listen to a hands-free call through the speaker 370A.

[0113] The receiver 370B, also referred to as a “earpiece”, is used to convert an audio electrical signal into a sound signal. When the device 100 answers a call or a voice message, the receiver 370B can be held close to a human ear to listen to the voice.

[0114] The microphone 370C, also referred to as a “microphone”, “sound transducer”, is used to convert a sound signal into an electrical signal. When making a call or sending a voice message, a user can speak into the microphone 370C close to the human mouth to input a sound signal into the microphone 370C. The device 100 can be provided with at least one microphone 370C. In other embodiments, the device 100 can be provided with two microphones 370C, in addition to collecting a sound signal, a noise reduction function can also be realized. In other embodiments, the device 100 can also be provided with three, four or more microphones 370C, in addition to collecting a sound signal, noise reduction, and can also identify the source of the sound, realize directional recording function, etc.

[0115] The earphone interface 370D is configured to connect a wired earphone. The earphone interface 370D can be a USB interface 330, or a 3.5 mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0116] The pressure sensor 380A is configured to sense a pressure signal and convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 380A can be disposed on the display screen 394. The pressure sensor 380A can be of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, etc. The capacitive pressure sensor can include at least two parallel plates of conductive material. When a force is applied to the pressure sensor 380A, the capacitance between the electrodes changes. The device 100 determines the intensity of the force according to the change in capacitance. When a touch operation is applied to the display screen 394, the device 100 detects the intensity of the touch operation according to the pressure sensor 380A. The device 100 can also calculate the position of the touch according to the detection signal of the 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 instructions. For example, when a touch operation with an intensity less than a first pressure threshold is applied to a short message application icon, an instruction to view a short message is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to the short message application icon, an instruction to create a new short message is executed.

[0117] The gyroscope sensor 380B can be configured to determine the motion attitude of the device 100. In some embodiments, the angular velocity of the device 100 around three axes (i.e., the x, y, and z axes) can be determined by the gyroscope sensor 380B. The gyroscope sensor 380B can be used for anti-shake photography. For example, when the shutter is pressed, the gyroscope sensor 380B detects the angle of shaking of the device 100, calculates the distance that the lens module needs to compensate according to the angle, and lets the lens offset the shaking of the device 100 by reverse movement to achieve anti-shake. The gyroscope sensor 380B can also be used for navigation and motion sensing game scenarios.

[0118] The barometric pressure sensor 380C is configured to measure air pressure. In some embodiments, the device 100 calculates the altitude, assists positioning and navigation by using the air pressure value measured by the barometric pressure sensor 380C.

[0119] The magnetic sensor 380D includes a Hall sensor. The device 100 can detect the opening and closing of a flip cover using the magnetic sensor 380D. In some embodiments, when the device 100 is a flip phone, the device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 380D. In turn, according to the detected opening and closing state of the cover or the flip cover, the device 100 can set a feature such as automatic unlocking of the flip cover.

[0120] The acceleration sensor 380E can detect the magnitude of acceleration of the device 100 in various directions (typically three axes). The acceleration sensor 380E can detect the magnitude and direction of gravity when the device 100 is stationary. The acceleration sensor 380E can also be used to identify the posture of the electronic device, and can be applied to a screen rotation function, a pedometer, and the like.

[0121] The distance sensor 380F can measure a distance. The device 100 can measure a distance using infrared or laser. In some embodiments, the device 100 can measure a distance using the distance sensor 380F to achieve fast focusing when capturing a scene.

[0122] The proximity light sensor 380G can include, for example, a light emitting diode (LED) and a light detector such as a photodiode. The light emitting diode can be an infrared light emitting diode. The device 100 can emit infrared light outwardly through the light emitting diode. The device 100 can detect infrared reflected light from a nearby object using the photodiode. When sufficient reflected light is detected, the device 100 can determine that there is an object near the device 100. When insufficient reflected light is detected, the device 100 can determine that there is no object near the device 100. The device 100 can detect that a user is holding the device 100 close to the ear for a call using the proximity light sensor 380G, and can automatically turn off the screen to save power. The proximity light sensor 380G can also be used for automatic unlocking and locking of a cover mode or a pocket mode.

[0123] The ambient light sensor 380L can sense the brightness of ambient light. The device 100 can adaptively adjust the brightness of the display 394 according to the sensed brightness of ambient light. The ambient light sensor 380L can also be used to automatically adjust white balance when capturing an image. The ambient light sensor 380L can also cooperate with the proximity light sensor 380G to detect whether the device 100 is in a pocket to prevent a false touch.

[0124] The fingerprint sensor 380H can capture a fingerprint. The device 100 can use the captured fingerprint to implement a fingerprint unlock function, an application lock function, a fingerprint image capturing function, a fingerprint call answering function, and the like.

[0125] The temperature sensor 380J is configured to detect temperature. In some embodiments, the device 100 performs temperature handling strategies based on the temperature detected by the temperature sensor 380J. For example, when the temperature reported by the temperature sensor 380J exceeds a threshold, the device 100 performs a performance reduction of a processor located near the temperature sensor 380J to reduce power consumption and implement thermal protection. In some other embodiments, when the temperature is below another threshold, the device 100 heats the battery 342 to avoid abnormal shutdown of the device 100 caused by low temperature. In some other embodiments, when the temperature is below yet another threshold, the device 100 performs a boost of the output voltage of the battery 342 to avoid abnormal shutdown caused by low temperature.

[0126] The touch sensor 380K is also referred to as a "touch device". The touch sensor 380K can be disposed on the display screen 394, and the touch sensor 380K and the display screen 394 form a touch screen, also referred to as a "touch panel". The touch sensor 380K is configured to detect a touch operation acting on or near the touch sensor 380K. The touch sensor 380K 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 the display screen 394. In some other embodiments, the touch sensor 380K can also be disposed on the surface of the device 100, which is different from the position where the display screen 394 is located.

[0127] The bone conduction sensor 380M can obtain a vibration signal. In some embodiments, the bone conduction sensor 380M can obtain a vibration signal of a human body sound vibration bone block. The bone conduction sensor 380M can also contact a human body pulse to receive a blood pressure pulsation signal. In some embodiments, the bone conduction sensor 380M can also be disposed in a headset to form a bone conduction headset. The audio module 370 can analyze a voice signal based on the vibration signal of the sound vibration bone block obtained by the bone conduction sensor 380M to implement a voice function. The application processor can analyze heart rate information based on the blood pressure pulsation signal obtained by the bone conduction sensor 380M to implement a heart rate detection function.

[0128] The keys 390 include a power key, a volume key, and the like. The keys 390 can be mechanical keys. They can also be touch keys. The device 100 can receive key input and generate key signal input related to user settings and function control of the device 100.

[0129] The motor 391 can generate a vibration prompt. The motor 391 can be used for incoming call vibration prompt, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, playing audio, etc.) can correspond to different vibration feedback effects. The touch operation acting on different regions of the display screen 394 can also correspond to different vibration feedback effects. Different application scenarios (such as time reminders, received messages, alarms, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also be customized.

[0130] In the embodiment of the present application, the number of display screens 394 can be multiple. For example, the display screen 394 can include a first display screen and a second display screen. When the first display screen and the second display screen are in a locked state, the first display screen displays a first lock screen interface through a first application, and the second display screen 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 can store the code of the first application and the code of the second application. In some embodiments, when the user operates the second display screen, the second application sends a first message to the first application, and the first message is used to instruct the first application not to display the lock screen interface. The processor 310 runs the code of the first application to make the first application display a first unlock interface through the first display screen. At this time, the processor 310 determines that the state of the electronic device is switched from the locked state to the unlocked state. At the same time, the first application sends a second message to the second application, and the second message is used to instruct the second application not to display the lock screen interface. The processor 310 runs the code of the second application to make the second application display a second unlock interface through the second display screen. In other embodiments, when the user operates the second display screen, the second display screen displays the second unlock interface. At this time, the second application instructs the processor 310 to determine that the state of the electronic device is switched to the unlocked state. The second application sends a first message to the first application, and the first message is used to instruct the first application not to display the lock screen interface. At this time, the processor 310 runs the code of the first application to make the first application display a first unlock interface through the first display screen.

[0131] The indicator 392 can be an indicator light, which can be used to indicate the charging state, the power change, and can also be used to indicate messages, missed calls, notifications, etc.

[0132] Of course, the device 100 can also include other functional units, which are not limited in the embodiments of the present application.

[0133] It should be noted that the device 100 can be a desktop computer, a portable computer, a network server, a mobile phone, a tablet computer, a wireless terminal, an embedded device, a chip system or a device with a similar structure. In addition, FIG. 3 FIG. 3 ​The constituent structures shown in the figures do not constitute a limitation on the communication device, except FIG. 3 The communication device can include more or fewer components than shown, or combine certain components, or have different arrangements of components, in addition to the components shown.

[0134] In the embodiments of the present application, the chip system can be composed of a chip, or can include a chip and other discrete devices.

[0135] It can be understood that the structure shown in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 can include more or fewer components than shown, or combine certain components, or split certain components, or have different arrangements of components. The components shown can be implemented in hardware, software, or a combination of software and hardware.

[0136] FIG. 4 is a software structure block diagram of the electronic device 100 of the embodiments of the present application.

[0137] The layered architecture divides the software into several layers, each layer having a clear role and division of labor. 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, application layer, application framework layer, and kernel layer.

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

[0139] As shown in FIG. 4 The application package can include a first lock screen application (i.e., a first application), a second lock screen application (i.e., a second application), a camera, a gallery, a calendar, a call, a map, a navigation, a WLAN, a Bluetooth, a music, a video, a short message, and the like.

[0140] The first lock screen application mainly provides interface display in the first display screen (or main screen) lock screen state, main screen unlocking operation, system lock / unlock state change management, multiple display screen lock / unlock synchronization processing, and the like.

[0141] The second lock screen application is mainly responsible for content display in the second display screen (or auxiliary screen) lock screen state, user unlocking operation under the screen, prompting, and synchronization with the system state, and the like.

[0142] The application framework layer provides application programming interfaces (APIs) and programming frameworks for the applications of the application layer. The application framework layer includes some pre-defined functions.

[0143] As shown in FIG. 4As shown, the application framework layer can include a keyguard manager, an AMS, a power manager, a multi-screen manager, a fingerprint manager, a face authentication manager, a password manager, a voiceprint authentication, and the like.

[0144] The keyguard manager is mainly responsible for synchronization of the unlocking and locking states of multiple screens.

[0145] The kernel layer is a layer between hardware and software. The kernel layer at least includes a binder driver, a first display screen display driver, a second display screen display driver, a camera driver, an audio driver, a sensor driver, and the like.

[0146] The working flow of the software and the hardware of the electronic device 100 is exemplarily described below in combination with a lock screen scenario.

[0147] When the touch sensor 180K receives a touch operation, a corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into a raw input event (including touch coordinates, a timestamp of the touch operation, and the like). The raw input event is stored in the kernel layer. The application framework layer obtains the raw input event from the kernel layer, and identifies a control corresponding to the input event. Taking the touch operation as a touch single-click operation and the control corresponding to the single-click operation as a control of the first lock screen application icon as an example, the first lock screen application calls an interface of the application framework layer, starts the first lock screen application, and then starts the first display screen display driver by calling the kernel layer. The first display screen reads a lock screen interface in the first screen container, and displays the lock screen interface.

[0148] The application embodiment provides a multi-screen unlocking method. The method is applied to an electronic device. The electronic device can include multiple display screens, and each display screen corresponds to a lock screen application. Exemplarily, the electronic device can include a first display screen and a second display screen. The first display screen corresponds to a first lock screen application (such as the first application described above), and the second display screen corresponds to a second lock screen application (such as the second application described above). In the application embodiment, the first display screen of the electronic device is taken as a main screen, and the second display screen of the electronic device is taken as an auxiliary screen as an example for description. Further, as shown in the figure, the electronic device can further include a keyguard manager. The second lock screen application registers a communication interface and a callback interface through the keyguard 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 for calling the second lock screen application by the first lock screen application. FIG. 4

[0149] FIG. 5A A flowchart of a multi-screen unlocking method provided in the application embodiment; FIG. 5B A flowchart of a multi-screen unlocking method provided in the application embodiment.

[0150] Referring to FIG. 5A and FIG. 5B ​The specific flow of the multi-screen unlocking method provided in the embodiments of the present application can be introduced in different stages, and is specifically as follows:

[0151] The first stage is the lock screen stage.

[0152] S501, the electronic device receives a lock screen operation of the electronic device by a user.

[0153] The lock screen operation can include a screen-out operation, a gesture operation, etc. The gesture operation can include a sliding operation, a pressing operation, a clicking operation, etc. The embodiments of the present application do not make specific limitations.

[0154] Of course, the lock screen operation can also be different according to different electronic devices. For example, the electronic device can be a folding screen mobile phone, and the corresponding lock screen operation can include a folding operation. For example, the folding screen mobile phone is folded. The electronic device can also be a normal mobile phone, and the corresponding lock screen operation can include a SIM card. The electronic device can also be a tablet computer, and the corresponding lock screen operation can include clicking the Home key.

[0155] S502, in response to the lock screen operation, the first display screen of the electronic device displays a first lock screen interface, and the second display screen of the electronic device displays a second lock screen interface, the second lock screen interface being different from the first lock screen interface.

[0156] In a specific implementable manner, in response to the first lock screen operation, the first lock screen application (such as the first application described above) of the electronic device performs the lock screen. At this time, the first display screen reads the first lock screen interface in the first screen container and displays the first lock screen interface. The first lock screen application sends a broadcast message, and the broadcast message carries the identifier of the second lock screen application (such as the second application described above) and the lock screen indication information. The second lock screen application receives the broadcast message, at this time, the second display screen reads the second lock screen interface in the second screen container and displays the second lock screen interface, which is different from the first lock screen interface.

[0157] The display content of the first display screen and the display content of the second display screen are different, and can be specifically implemented as:

[0158] The first, the electronic device can identify the relevant specification information of the first display screen, such as resolution, dots per inch (DPI), etc. The electronic device can establish a first screen container for the first display screen according to the relevant specification information of the first display screen. The first screen container can store the first lock screen interface of the first lock screen application. Similarly, the electronic device can also identify the relevant specification information of the second display screen. The electronic device can establish a second screen container for the second display screen according to the relevant specification information of the second display screen. The second screen container can store the second lock screen interface of the second lock screen application, which is different from the first lock screen interface. The first screen container and the second screen container can be distinguished by different display identifiers (Display IDs).

[0159] In this way, the first display screen of the electronic device can display the first lock screen interface by reading the first lock screen interface in the first screen container. Similarly, the second display screen of the electronic device can display the second lock screen interface by reading the second lock screen interface in the second screen container. At this time, the first lock screen interface displayed by the first display screen is different from the second lock screen interface displayed by the second display screen.

[0160] The second, compared to the first, the difference is that the electronic device can convert the application icon, application interface, short message received by the electronic device, status bar, specified lock screen interface, etc. Information into a second lock screen interface matching the specification information of the second display screen, and store the second lock screen interface in the second screen container. Subsequently, the first display screen can display the first lock screen interface by reading the first lock screen interface in the first screen container. The second display screen can read the second lock screen interface in the second screen container, and the second lock screen interface is different from the first lock screen interface. In this way, two different lock screen interfaces are independently run under the same operating system.

[0161] In a specific implementation, assuming that the electronic device is a folding screen phone. When the user uses the folding phone to play music, and the folding screen phone is in an unfolded state, the user triggers a lock screen operation, for example, the user clicks the screen-off button. At this time, the folding screen phone performs the lock screen operation, and the folding screen phone can display the lock screen interface 103 as shown. FIG. 2A When the user uses the folding phone to play music, and the folding screen phone is in a folded state, that is, the auxiliary screen (second display screen) of the folding screen phone displays the interface as shown. FIG. 6A At this time, the folding screen phone is in a lock screen operation, and the folding screen phone can display the lock screen interface 104 as shown. FIG. 6B Of course, the folding screen phone can display the lock screen interface 104 as shown. FIG. 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 auxiliary screen (i.e., the second lock screen interface).

[0162] Of course, the second lock screen interface described above can also be displayed as a pull-down notification bar, a notification, a card of the third application, or an application icon of the third application. For example, the second display screen can display, as shown in FIG. 7A The lock screen interface 107 is shown, on which information such as positioning and weather conditions can be displayed, for example, the positioning is Jiangxia District, the current temperature is 15°C, the highest temperature today is 15°C, the lowest temperature today is 7°C, and the weather is sunny. The second display screen can also display, as shown in FIG. 7B The lock screen interface 108 is shown, on which navigation information can be displayed. For example, an icon of a positioning application, a road sign, and prompt information, which can be "23 meters ahead into Shenjiang Road". The second display screen can also display, as shown in FIG. 7C The lock screen interface 109 is shown, on which a notification can be displayed. For example, a short message, which can be "Anber has sunrise at Shanghai Oriental Art Center this weekend, director of Venus …". The second display screen can also display, as shown in FIG. 7D The lock screen interface 110 is shown, on which an application icon of the third application can be displayed. For example, an application icon of the third application and prompt information, which can be "screen lock protection". Of course, the second display screen can also display other content, which will not be listed one by one in the embodiments of the present application.

[0163] In some embodiments, the multi-screen unlocking method provided by the embodiments of the present application can further include: when the screen state of the second display screen is the lock screen state, in response to receiving a first operation (such as the third operation described above) of the user on the second display screen, the interface of the second display screen is switched from the second lock screen interface to an interface one (such as the second interface described above). The first operation can include a gesture operation, which can include a sliding operation. For example, the sliding operation can be an operation of sliding along one end of the first display screen to the other end. The sliding operation can also be a sliding operation of a specified track. The embodiments of the present application do not make specific limitations. The interface one can be a lock screen interface different from the second lock screen interface. For example, the second lock screen interface is FIG. 6B or FIG. 6C The lock screen interface is shown, and the interface one is FIG. 7A to FIG. 7D The lock screen interface is shown.

[0164] It should be noted that in response to the lock screen operation, the electronic device can also determine that the state of the electronic device is the lock screen state. This step is not necessary. Therefore, this step can be simply mentioned in the embodiments of the present application.

[0165] The second stage is the unlocking stage.

[0166] The electronic device unlocking can be implemented in the following manners:

[0167] Firstly, the user operates the second display screen, and the second application executes unlocking. Specifically, as shown in FIG. 5A

[0168] S503, the electronic device receives the user's unlocking operation (i.e., the second operation) on the second display screen.

[0169] The unlocking operation can include a password unlocking operation, a face authentication unlocking operation, a fingerprint unlocking operation, etc. Of course, the unlocking operation can also include other unlocking operations, such as a voiceprint unlocking operation, etc. The embodiments of the present application are not limited specifically.

[0170] S504, in response to receiving the user's unlocking operation (i.e., the second operation) on the second display screen, the second display screen displays a second unlocking interface.

[0171] Specifically, in response to the user's unlocking operation, the second application exits the second lock screen interface. That is, the second display screen displays the second unlocking interface through the second application.

[0172] S505, the second application instructs the electronic device to switch from the lock screen state to the unlocked state, and sends a first message to the first application. Correspondingly, the first application receives the first message.

[0173] The first message is used to instruct the first application not to display the lock screen interface. The first message can carry the user's operation information.

[0174] S506, in response to the first message, the first application displays a first unlocking interface through the first display screen.

[0175] For example, the first display screen can be a main screen (or large screen), and the second display screen can be an auxiliary screen (or small screen); or the first display screen can be an auxiliary screen, and the second display screen can be a main screen. The following will be described in detail with respect to S503-S506, which can be specifically as follows:

[0176] Manner one, password unlocking.

[0177] S11, in response to receiving the user's operation two on the second display screen, the second display screen displays interface two, which includes a password input area.

[0178] The operation two can include a gesture operation, which can include a sliding operation. For example, the sliding operation can be an operation of sliding along one end of the second display screen to the other end. The sliding operation can also be a sliding operation of a specified track. The embodiments of the present application are not limited specifically.

[0179] ​The password input area can include a number keypad or a gesture area.

[0180] For example, when the second display screen is the main screen, the user performs an upward swipe operation on the lock screen interface. FIG. 8A The display interface of the electronic device jumps from the interface 103 shown in FIG. 10A to the interface 111 shown in FIG. 10B. FIG. 8A The display interface of the electronic device jumps from the interface 103 shown in FIG. 10A to the interface 111 shown in FIG. 10B. FIG. 8B The interface 111 shown in FIG. 10B. The password input area is displayed on the interface 111. After the user inputs the password, the interface of the electronic device can jump to the interface 112 shown in FIG. 10C. FIG. 8C Of course, if the electronic device plays a song before the lock screen, after the user inputs the password, the interface of the electronic device can jump to the playing interface of the song.

[0181] S12, in response to receiving the password input 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.

[0182] S13, the password manager receives the password and verifies the password. After the password verification is passed, the password manager generates verification success information and sends the verification success information to the second lock screen application.

[0183] S14, the second display screen displays the second unlock screen interface through the second lock screen application, and the second lock screen application sends a message one to the first lock screen application corresponding to the first display screen, the message one being used to instruct the first lock screen application to perform lock screen unlocking.

[0184] The message one can be a broadcast message, and the broadcast message can be represented as android.intent.action.USER_PRESENT, for example.

[0185] The second display screen displays the second unlock screen interface through the second lock screen application, and the second display screen can be implemented as follows: the second screen container can store the second lock screen interface of the second lock screen application. Therefore, the second lock screen application does not drive the second display screen to read the second lock screen interface in the second screen container, or the second lock screen application drives the second display screen to stop reading the second lock screen interface in the second screen container. Of course, other implementation manners can also exist, and the embodiments of the present application are not limited in this regard.

[0186] S15, in response to the message one, the first lock screen application displays the first lock screen interface through the first display screen.

[0187] Mode two, face authentication unlocking.

[0188] S31, in response to receiving the operation four of the user on the second display screen, the second lock screen application sends a message two to the face authentication manager, and the message two carries indication information of face authentication.

[0189] The operation four can be the same as operation one, and specific details are described above. Embodiments of the present application will not be described again.

[0190] S32, the face authentication manager triggers the electronic device to collect the face image according to the second message.

[0191] Specifically, the electronic device starts the camera (such as a camera), and collects the face image of the user through the camera.

[0192] S33, the face authentication manager authenticates the face image collected by the electronic device.

[0193] Specifically, the face authentication manager compares the face image collected by the electronic device with the face image of the legitimate user stored in advance.

[0194] S34, after the face image authentication passes, the face authentication manager generates authentication passing information, and sends the authentication passing information to the second lock screen application. At the same time, the electronic device determines that the screen state is switched from the lock screen state to the unlock state.

[0195] S35, the second lock screen application sends a broadcast message to the first lock screen application, and the broadcast message carries the authentication passing information and the prompt information of the screen state update.

[0196] Exemplarily, the broadcast message can be represented as com.huawei.keyguard.action.KEYGUARD_AUTH_STATE. The broadcast message carries the parameters including the biometric authentication mode such as fingerprint, face, bone voiceprint, intelligent device, and authentication result.

[0197] S36, the second lock screen application displays the second unlock interface through the second display screen.

[0198] After the second lock screen application is successfully unlocked, the second lock screen application can send an unlock broadcast. Exemplarily, the unlock broadcast can be represented as android.intent.action.USER_PRESENT.

[0199] S37, in response to the broadcast message, the first lock screen application displays the first unlock interface through the first display screen.

[0200] Secondly, the user operates the second display screen, and the first application executes the unlocking. Specifically, as shown in FIG. 5B

[0201] S503', the electronic device receives the unlocking operation (such as the second operation described above) of the user on the second display screen.

[0202] Wherein, S503' is the same as S503, and details are described above and will not be described again.​

[0203] S504', in response to receiving the user's unlocking operation on the second display screen (the second operation described above), the second application sends a first message to the first application. Correspondingly, the first application receives the first message.

[0204] The first message is used to instruct the first application not to display the lock screen interface. The first message can carry the user's operation information. For example, the user's face authentication indication information triggered on the second interface described below.

[0205] S505', in response to the first message, the first application displays a first unlocking interface through the first display screen.

[0206] S506', the first application instructs the electronic device to switch from the lock screen state to the unlocked state.

[0207] S507', the first application sends a second message to the second application. Correspondingly, the second application receives the second message.

[0208] The second message is used to instruct the second application not to display the lock screen interface.

[0209] S508', in response to the second message, the second application displays a second unlocking interface through the second display screen.

[0210] 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 detailed description of S503-S506, S503'-S508' can be:

[0211] Method one, password unlocking.

[0212] S21, in response to receiving the user's operation three on the second display screen (the second operation described above), the second display screen displays the third interface (the first interface described above), and the first interface includes a password input area.

[0213] S22, in response to receiving the user's input of the password in the password input area, the second application sends a first message to the first application, the first message application instructs the first application not to display the lock screen interface, and the first message carries the password. The first application sends the first message to the password manager.

[0214] S23, the password manager verifies the password.

[0215] S24, after the password verification is passed, the first application displays a first unlocking interface through the first display screen.

[0216] S25, the first application sends a second message to the second application, the second message being used to instruct the second application not to display the unlocking interface. Correspondingly, the second application receives the second message.

[0217] S26, in response to the second message, the second application displays a second unlocking interface through the second display screen.

[0218] In the embodiments of the present application, S23-S24 are the same as the description of S13-S15, and will not be repeated.

[0219] In one case, the size of the second display screen is small, and the user is not convenient to input the password on the second display screen. In order to solve the above problem, the multi-screen unlocking method provided in the embodiments of the present application can further include: in response to receiving a second operation of the user on the second display screen, the second display screen displays first prompt information, the first prompt information being used to prompt the user to unlock in a preset unlocking manner. For example, taking a folding screen mobile phone as an example, the second operation can be an operation of the user on the second display screen, for example, an operation of double-clicking the second lock screen interface of the second display screen. When the user double-clicks the second lock screen interface, the interface of the folding screen mobile phone is displayed as the interface 113 shown in the figure, on which interface 113, since the size of the second display screen is small and not convenient to display the password input area, prompt information is displayed on the interface. For example, the prompt information can be "please unfold the mobile phone to unlock". Of course, the prompt information can also be "please swipe up or fingerprint unlock". The embodiments of the present application are not limited here. FIG. 8D

[0220] Method two, face authentication unlocking.

[0221] S41, in response to receiving the fifth operation of the user on the second display screen (such as the second operation described above), the second application sends a third message (such as the first message described above) to the first application, the third message carrying indication information of face authentication.

[0222] For example, the third message can be a broadcast message, which can be represented as com.huawei.keyguard.action.KEYGUARD_ASSISTAN_SCREEN. The broadcast message carries parameters containing an indication of triggering face recognition.

[0223] In some embodiments, in response to receiving the second operation of the user on the second display screen, the second display screen displays second prompt information, the second prompt information being used to remind the user to perform face recognition.

[0224] The display form of the second prompt information can include text, image or breathing state icon.

[0225] ​S42, the first application sends message three to the face authentication manager.

[0226] S43, the face authentication manager authenticates the face image collected by the electronic device according to message three.

[0227] S44, after the face image authentication passes, the face authentication manager generates authentication pass information and sends the authentication pass information to the first lock screen application. At the same time, the electronic device determines that the state of the electronic device is switched from the lock screen state to the unlocked state.

[0228] S45, the first lock screen application sends a broadcast message to the second lock screen application, and the broadcast message carries authentication pass information and screen state update prompt information.

[0229] S46, the first lock screen application displays a first unlocking interface through the first display screen.

[0230] S47, in response to the broadcast message, the second lock screen application displays a second unlocking interface through the second display screen.

[0231] In the embodiments of the present application, S43-S47 are the same as the description of S32-S37 described above, and will not be repeated here.

[0232] Of course, in addition to the first and second ways described above, the electronic device can also be unlocked in a third way, which is as follows:

[0233] Third, fingerprint unlocking.

[0234] The user performs fingerprint unlocking on the electronic device. Specifically as follows:

[0235] S51, the electronic device collects the fingerprint information of the user.

[0236] S52, the fingerprint manager of the electronic device compares the collected fingerprint information with the pre-stored fingerprint information of the legal user.

[0237] S53, after the fingerprint authentication passes, the fingerprint manager generates fingerprint authentication pass information and sends the fingerprint authentication pass information to the first lock screen application.

[0238] S54, the first lock screen application sends a broadcast message to the second lock screen application, and the broadcast message carries fingerprint authentication pass information and state update indication information.

[0239] S55, the first display screen displays a first unlocking interface through the first lock screen application.

[0240] S56, the first lock screen application sends an unlocking broadcast to the second lock screen application, and the unlocking broadcast carries a lock screen unlocking indication.

[0241] S57, in response to the broadcast information, the second lock screen application displays a second unlocking interface through the second display screen.

[0242] For example, the lock screen interface of the electronic device is displayed as an application icon. For example, the electronic device displays FIG. 9A the lock screen interface shown in FIG. 1A. After the user inputs a fingerprint in the fingerprint collection area of the electronic device, the display interface of the electronic device jumps from FIG. 9A the interface 110 shown in FIG. 1B to FIG. 9B the interface 114 shown in FIG. 1C. The interface 114 displays a login two-dimensional code of an application. The user can log in to the corresponding application by scanning the login two-dimensional code through the electronic device.

[0243] The above is described by taking the electronic device as a mobile phone as an example. The multi-screen unlocking method provided in the embodiments of the present application can also be applied to other electronic devices such as a tablet computer or a vehicle machine. The embodiments of the present application will not be described in detail.

[0244] It can be understood that, in order to implement the above functions, the electronic device contains corresponding hardware and / or software modules for executing various functions. The algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is implemented in hardware or computer software driven 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 the present application.

[0245] The embodiments can divide the functional modules of the electronic device according to the above method examples. For example, each functional module can be divided according to each function, or two or more functions can be integrated in one processing module. The integrated module can be implemented in the form of hardware. It should be noted that the division of modules in the embodiments is illustrative, and is only a logical functional division. Actual implementation can have another division manner.

[0246] For example, in one division manner, referring to FIG. 10 the electronic device 1000 can include a display module 1001, a processing module 1002, a communication module 1003, and a storage module 1004.

[0247] The display module 1001 can be used to support the electronic device 1000 to display a user interface. For example, the display module 1001 can be used to support the electronic device 1000 to perform S502, S506, FIG. 5A S505', S508', etc. in the flow shown in FIG. 5, and / or other processes for the technology described herein. FIG. 5B S505', S508', etc. in the flow shown in FIG. 5, and / or other processes for the technology described herein.

[0248] 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... FIG. 5A S501, S503, S504, and S505 in the process shown, FIG. 5B S503', S504', S505', S506', S507', etc. in the process shown, and / or other processes used in the technology described herein.

[0249] 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... FIG. 5A S504 in the process shown, FIG. 5B S504', S506', etc. in the process shown, and / or other processes used in the technology described herein.

[0250] 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.

[0251] The display module 1001 can be a display, for example, it can be a specific display. FIG. 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... FIG. 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... FIG. 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... FIG. 3 The internal memory 331 in the hardware structure shown.

[0252] 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.

[0253] The embodiment of the present application further provides an electronic device, comprising 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 for storing computer program codes, the computer program codes comprising computer instructions, which, when executed by the one or more processors, cause the electronic device to perform the related method steps and realize the multi-screen unlocking method in the above embodiment.

[0254] The embodiment of the present application further provides a computer storage medium, which stores computer instructions, and when the computer instructions are run on an electronic device, the electronic device performs the related method steps and realizes the multi-screen unlocking method in the above embodiment.

[0255] The embodiment of the present application further provides a computer program product, which, when run on a computer, causes the computer to perform the related steps and realize the multi-screen unlocking method performed by the electronic device in the above embodiment.

[0256] In addition, the embodiment of the present application further provides a device, which can be a chip, a component or a module. The device can comprise a processor and a memory connected to each other. When the device is running, the processor can execute the computer execution instructions stored in the memory, so that the chip performs the multi-screen unlocking method performed by the electronic device in the above method embodiments.

[0257] The embodiment of the present application further provides a chip system applied to an electronic device, which comprises one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected through a circuit. The interface circuit is used for receiving signals from the memory of the electronic device and sending signals to the processor. The signals comprise computer instructions stored in the memory. When the processor executes the computer instructions, the electronic device performs the multi-screen unlocking method provided in the above method embodiments.

[0258] The electronic device, the computer storage medium, the computer program product or the chip provided by the embodiment can be used to execute the corresponding method provided above, and the beneficial effects thereof can refer to the beneficial effects of the corresponding method provided above, which will not be described here.

[0259] The embodiment of the present application further provides a system, and each device in the system can be used to realize the multi-screen unlocking method in the above method embodiments.

[0260] Through the description of the above embodiments, those skilled in the art can understand that, for the convenience and brevity of description, only the division of the above functional modules is exemplified, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

[0261] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the modules or units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another device, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed units can be indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0262] The units described as separate components can or can not be physically separated, and the components shown as units can be one physical unit or multiple physical units, that is, they can be located in one place or distributed to multiple different places. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.

[0263] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.

[0264] When the integrated unit is realized in the form of 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 the present application essentially or the parts that make contributions to the prior art or all or part of the technical solutions can be embodied in the form of a software product, which is stored in a storage medium and includes a plurality of instructions for causing an apparatus (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the methods described in the embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various storage medium that can store program codes.

[0265] The above merely provides the specific implementation of the present application, but the protection scope of the present application is not limited to this. Any person skilled in the art can easily think of the changes or replacements within the technical range disclosed by the present application, which should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A method for unlocking multiple screens, applied to an electronic device, the electronic device comprising a first display screen, the 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, Comprising: In response to receiving a first operation of the user on the electronic device, the electronic device determines the state of the electronic device as a lock screen state; The first display screen realizes the display of a first lock screen interface through the first application, and the second display screen realizes the display of a second lock screen interface through the second application, the first lock screen interface being different from the second lock screen interface; In response to receiving a second operation of the 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 unlocking interface through the first display screen, and instructs the electronic device to switch from the lock screen state to an 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 unlocking interface through the second display screen.

2. The method of claim 1, wherein, The electronic device further comprises a password manager, in response to receiving a second operation of the user on the second display screen, the second application sends a first message to the first application, comprising: In response to receiving a second operation of the user on the second display screen, the second display screen displays a first interface, the first interface comprising a password input area; In response to receiving a user input of a password 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 is configured to send the password to the password manager, and the password manager verifies the password; after the password verification is passed, the first application displays a first unlocking interface through the first display screen.

3. The method of claim 1, wherein, Further comprising: In response to receiving a second operation of the user on the second display screen, the second display screen displays first prompt information, the first prompt information being used to prompt the user to unlock in a preset unlocking manner.

4. The method of claim 1, wherein, The electronic device further comprises a face authentication manager, and the first message carries indication information of face authentication; The first application is further configured to send the first message to the face authentication manager, and the face authentication manager authenticates a face image collected by the electronic device according to the first message; after the face image authentication is passed, the first application displays a first unlocking interface through the first display screen.

5. The method of claim 4, wherein, Further comprising: In response to receiving a second operation of the user on the second display screen, the second display screen displays second prompt information, the second prompt information being used to remind the user to perform face recognition.

6. The method of claim 5, wherein, The display form of the second prompt information comprises text, image or breathing state icon.

7. The method according to any one of claims 1 to 6, characterized in that, Further comprising: When the screen state of the second display screen is a lock screen state, in response to receiving a third operation of the user on the second display screen, the interface of the second display screen is switched from the second lock screen interface to a second interface, the second interface being used to display a pull-down notification bar, notification, card of a third application or application icon of the third application.

8. The method according to any one of claims 1 to 7, characterized in that, The first lock screen interface comprises time, date and icon of a lock; the second lock screen interface comprises at least one of the following: application icon, notification message, weather condition, navigation information, unlocking prompt information. 9.A method for unlocking multiple screens, applied to an electronic device, the electronic device comprising a first display screen, the 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, Comprising: In response to receiving a first operation of the electronic device by a user, the electronic device determines a state of the electronic device as a lock 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 being different from the second lock screen interface; In response to receiving a second operation of the second display screen by a user, the second display screen displays a second unlock interface; The second application instructs the electronic device to switch from the lock screen state to an unlock state and sends a first message to the first application; In response to the first message, the first application displays a first unlock interface through the first display screen.

10. The method of claim 9, wherein, The electronic device further comprises a password manager, in response to receiving a second operation of the second display screen by a user, the second display screen displays a second unlock interface, comprising: In response to receiving a second operation of the second display screen by a user, the second display screen displays a first interface, the first interface comprising a password input area; In response to receiving a password input by a 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 passed, the second display screen displays a second unlock interface.

11. The method of claim 9, wherein, The electronic device further comprises a password manager, in response to receiving a second operation of the second display screen by a user, the second display screen displays a second unlock interface, comprising: In response to receiving a second operation of the second display screen by a user, the second display screen displays first prompt information, the first prompt information being used to prompt a user to unlock in a preset unlocking mode.

12. The method of claim 9, wherein, The electronic device further comprises a face authentication manager, in response to receiving a second operation of the second display screen by a user, the second display screen displays a second unlock interface, comprising: In response to receiving a second operation of the second display screen by a user, the second application sends a second message to the first application, the second message carrying indication information of face authentication; The first application sends the second message to the face authentication manager; The face authentication manager authenticates a face image collected by the electronic device according to the second message; After the face image authentication is passed, the second display screen displays a second unlock interface.

13. The method of claim 12, wherein, Further comprising: In response to receiving a second operation of the second display screen by a user, the second display screen displays second prompt information, the second prompt information being used to remind a user to perform face recognition.

14. The method of claim 13, wherein, The display form of the second prompt information comprises text, an image or a breathing state icon.

15. The method according to any one of claims 9-14, characterized in that, Further comprising: When the screen state of the second display screen is a lock screen state, in response to receiving a third operation of the second display screen by a user, the interface of the second display screen switches from the second lock screen interface to a second interface, the second interface being used to display a drop-down notification bar, a notification, a card of a third application or an application icon of the third application.

16. The method according to any one of claims 9-15, characterized in that, The first lock screen interface comprises time, date and a lock icon; and the second lock screen interface comprises at least one of the following: an application icon, a notification message, weather conditions, navigation information and unlock prompt information.

17. An electronic device, comprising: Comprising: one or more processors; and a memory having code stored therein; when the code is executed by the one or more processors, the electronic device performs the method of any one of claims 1-8, or the electronic device performs the method of any one of claims 9-16.

18. A chip system, characterized by The chip system is applied to an electronic device, and the chip system comprises one or more interface circuits and one or more processors; the interface circuit and the processor are interconnected through a circuit; the interface circuit is used for receiving a signal from a memory of the electronic device and sending the signal to the processor, and the signal comprises computer instructions stored in the memory; when the processor executes the computer instructions, the electronic device performs the method of any one of claims 1-8, or the electronic device performs the method of any one of claims 9-16.

19. A computer-readable storage medium, characterized in that, Comprising computer instructions, when the computer instructions run on an electronic device, the electronic device performs the method of any one of claims 1-8, or the electronic device performs the method of any one of claims 9-16.

20. A computer program product, characterised in that, When the computer program product runs on a computer, the computer performs the method of any one of claims 1-8, or the electronic device performs the method of any one of claims 9-16.

Citation Information

Patent Citations

  • Display control method, terminal and computer readable storage medium

    CN108415781A

  • A screen unlocking method and a terminal

    CN109190356A