WO2023116414A1 - 一种多屏的解锁方法和电子设备 - Google Patents

一种多屏的解锁方法和电子设备 Download PDF

Info

Publication number
WO2023116414A1
WO2023116414A1 PCT/CN2022/136860 CN2022136860W WO2023116414A1 WO 2023116414 A1 WO2023116414 A1 WO 2023116414A1 CN 2022136860 W CN2022136860 W CN 2022136860W WO 2023116414 A1 WO2023116414 A1 WO 2023116414A1
Authority
WO
WIPO (PCT)
Prior art keywords
display screen
application
screen
interface
electronic device
Prior art date
Application number
PCT/CN2022/136860
Other languages
English (en)
French (fr)
Inventor
李自领
张明
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023116414A1 publication Critical patent/WO2023116414A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/66Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
    • H04M1/667Preventing unauthorised calls from a telephone set
    • H04M1/67Preventing unauthorised calls from a telephone set by electronic means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets

Definitions

  • the embodiments of the present application relate to the field of electronic technology, and in particular, to a multi-screen unlocking method and an electronic device.
  • a folding screen mobile phone can include a large screen and a small screen.
  • the large screen can be the display screen most commonly used by users of folding screen mobile phones, with complete display capabilities, complete status bar, navigation bar, desktop icons, etc. Users can complete most of the daily operations on the large screen.
  • the small screen can be a relatively small screen with weak display capability, and can only display some simple elements, such as time, weather, power, etc.
  • Embodiments of the present application provide a multi-screen unlocking method, device, and electronic device, which enrich the lock screen display of small screens, thereby realizing differentiated display of each screen and improving user experience.
  • the embodiment of the present application provides a multi-screen unlocking method, which is applied to an electronic device, and the electronic device includes a first display screen, the first display screen corresponds to the first application, a second display screen, and a second display screen Corresponding to the second application; the method may include: in response to receiving the user's first operation on the electronic device, the electronic device determines that the state of the electronic device is a lock screen state. The first display screen realizes the display of the first lock screen interface through the first application, and the second display screen realizes the display of the 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 user operation on the second display screen, the second application sends the first message to the first application.
  • 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 a locked screen state to an unlocked state.
  • the first application sends a second message to the second application.
  • the second application In response to the second message, the second application displays a second unlocking interface through the second display screen.
  • the first display screen may be a main screen (or called a large screen), and the second display screen may be an auxiliary screen (or called a small screen).
  • the first display screen may be an auxiliary screen, and the second display screen may be a main screen, which are not specifically limited in this embodiment of the present application.
  • the first display screen may be the main screen, and the second display screen may be the auxiliary screen" is taken as an example for description.
  • the first application and the second application are two independent applications.
  • the first display screen and the second display screen can display two different lock screen interfaces, thereby realizing differentiated display of each screen.
  • the first display screen and the second display screen may also have different interactive behaviors.
  • the user can independently 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 is more real-time and improves user experience. When the user independently operates one screen to unlock, it will not affect the lock screen interface of the other screen.
  • the electronic device further includes a password manager, and in response to receiving a second operation on the second display screen by the user, the second application sends the first message to the first application, which may specifically be: in response to After receiving the user's second operation on the second display screen, the second display screen displays a first interface, and the first interface includes a password input area.
  • the second application sends a first message to the first application, the first message carrying the password.
  • the first application is used 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.
  • the electronic device further includes a password manager, and in response to receiving a second operation on the second display screen by the user, the second application sends the first message to the first application, which may specifically be: in response to After receiving the user's second operation on the second display screen, the second display screen displays first prompt information, and the first prompt information is used to prompt the user to use a preset unlocking method to unlock.
  • the electronic device further includes a face authentication manager, and the first message carries instruction information for face authentication.
  • the first application is also used to send the first message to the face authentication manager, and the face authentication manager authenticates the face image collected by the electronic device according to the first message; after the face image authentication is passed, the first application The first unlocking interface is displayed through the first display screen.
  • the method may further include: in response to receiving a second operation by the user on the second display screen, the second display screen displays second prompt information, and the second prompt information is used to remind the user to perform face recognition middle.
  • the display form of the second prompt information includes text, image or breathing state icon.
  • the method may further include: when the screen state of the second display screen is in the lock screen state, in response to receiving a third operation on the second display screen by the user, the interface of the second display screen is activated by the first The second lock screen interface is switched to the second interface, and the second interface is used to display the pull-down notification bar, the notification, the card of the third application, or the application icon of the third application.
  • the first lock screen interface includes time, date and lock icons; the second lock screen interface includes at least one of the following: application icons, notification messages, weather conditions, navigation information, and unlock prompt information.
  • the embodiment of the present application provides a multi-screen unlocking method, which is applied to an electronic device.
  • the electronic device includes a first display screen, the first display screen corresponds to the first application, a second display screen, and a second display screen Corresponding to the second application; the method may include: in response to receiving the user's first operation on the electronic device, the electronic device determines that the state of the electronic device is a lock screen state.
  • the first display screen realizes the display of the first lock screen interface through the first application
  • the second display screen realizes the display of the second lock screen interface through the second application, and the first lock screen interface is different from the second lock screen interface.
  • the second display screen displays a second unlocking interface.
  • the second application instructs the electronic device to switch from the lock screen state to the unlock state, and sends a first message to the first application.
  • the first application displays a first unlocking interface through the first display screen.
  • the first display screen may be a main screen (or called a large screen), and the second display screen may be an auxiliary screen (or called a small screen).
  • the first display screen may be an auxiliary screen, and the second display screen may be a main screen, which are not specifically limited in this embodiment of the present application.
  • the first display screen may be the main screen, and the second display screen may be the auxiliary screen" is taken as an example for description.
  • the first application and the second application are two independent applications.
  • the first display screen and the second display screen can display two different lock screen interfaces.
  • the first display screen and the second display screen may also have different interactive behaviors.
  • the user can independently operate the second display screen to unlock, that is, the user can perform the unlocking operation on the second display screen, so that the real-time unlocking is relatively high and the user experience is improved.
  • the user independently operates one screen to unlock, it will not affect the lock screen interface of the other screen.
  • the first application and the second application are two independent applications.
  • the first display screen and the second display screen may also have different interactive behaviors.
  • the user can independently 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 is more real-time and improves user experience.
  • the user independently operates one screen to unlock, it will not affect the lock screen interface of the other screen.
  • the electronic device further includes a password manager, and in response to receiving a second operation on the second display screen by the user, the second application exits the second lock screen interface, which may specifically be: in response to receiving In the second operation performed by the user on the second display screen, the second display screen displays the first interface, and the first interface includes a password input area.
  • the second application sends the password to the password manager through the first application.
  • Password managers verify passwords. After the password verification is passed, the second display screen displays a second unlocking interface.
  • the electronic device further includes a password manager, and in response to receiving a second operation on the second display screen by the user, the second application exits the second lock screen interface, which may specifically be: in response to receiving When the user performs the second operation on the second display screen, the second display screen displays first prompt information, and the first prompt information is used to prompt the user to use a preset unlocking method to unlock.
  • the electronic device further includes a face authentication manager, and in response to receiving a second operation on the second display screen by the user, the second display screen displays a second unlocking interface, which may specifically be: in response to After receiving the user's second operation on the second display screen, the second application sends a second message to the first application, and the second message carries face authentication instruction information.
  • 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 a second unlocking interface.
  • the method may further include: in response to receiving a second operation by the user on the second display screen, the second display screen displays second prompt information, and the second prompt information is used to remind the user to perform face recognition middle.
  • the display form of the second prompt information may include text, image or breathing state icon.
  • the method may further include: when the screen state of the second display screen is in the lock screen state, in response to receiving a third operation on the second display screen by the user, the interface of the second display screen is activated by the first The second lock screen interface is switched to the second interface, and the second interface is used to display the pull-down notification bar, the notification, the card of the third application, or the application icon of the third application.
  • the first lock screen interface includes time, date and lock icons; the second lock screen interface includes at least one of the following: application icons, notification messages, weather conditions, navigation information, and unlock prompt information.
  • the embodiment of the present application provides a multi-screen unlocking device, which is applied to an electronic device, and the electronic device includes a first display screen, the first display screen corresponds to the first application, a second display screen, and a second display screen Corresponding to the second application; the apparatus may include: in response to receiving the user's first operation on the electronic device, the electronic device determines that the state of the electronic device is a lock screen state. The first display screen realizes the display of the first lock screen interface through the first application, and the second display screen realizes the display of the 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 user operation on the second display screen, the second application sends the first message to the first application.
  • 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 locked screen state to the unlocked state.
  • the first application sends a second message to the second application.
  • the second application In response to the second message, the second application displays a second unlocking interface through the second display screen.
  • the first display screen may be a main screen (or called a large screen), and the second display screen may be an auxiliary screen (or called a small screen).
  • the first display screen may be an auxiliary screen, and the second display screen may be a main screen, which are not specifically limited in this embodiment of the present application.
  • the first display screen may be the main screen, and the second display screen may be the auxiliary screen" is taken as an example for description.
  • the first application and the second application are two independent applications.
  • the first display screen and the second display screen can display two different lock screen interfaces, thereby realizing differentiated display of each screen.
  • the first display screen and the second display screen may also have different interactive behaviors.
  • the user can independently 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 is more real-time and improves user experience. When the user independently operates one screen to unlock, it will not affect the lock screen interface of the other screen.
  • the electronic device further includes a password manager, and in response to receiving a second operation on the second display screen by the user, the second application sends the first message to the first application, which may specifically be: in response to After receiving the user's second operation on the second display screen, the second display screen displays a first interface, and the first interface includes a password input area.
  • the second application sends a first message to the first application, the first message carrying the password.
  • the first application is used 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.
  • the electronic device further includes a password manager, and in response to receiving a second operation on the second display screen by the user, the second application sends the first message to the first application, which may specifically be: in response to After receiving the user's second operation on the second display screen, the second display screen displays first prompt information, and the first prompt information is used to prompt the user to use a preset unlocking method to unlock.
  • the electronic device further includes a face authentication manager, and the first message carries instruction information for face authentication.
  • the first application is also used to send the first message to the face authentication manager, and the face authentication manager authenticates the face image collected by the electronic device according to the first message; after the face image authentication is passed, the first application The first unlocking interface is displayed through the first display screen.
  • the device may further include: in response to receiving a second operation by the user on the second display screen, the second display screen displays second prompt information, and the second prompt information is used to remind the user to perform face recognition middle.
  • the display form of the second prompt information includes text, image or breathing state icon.
  • the device may further include: when the screen state of the second display screen is in the lock screen state, in response to receiving a third operation on the second display screen by the user, the interface of the second display screen is activated by the first The second lock screen interface is switched to the second interface, and the second interface is used to display the pull-down notification bar, the notification, the card of the third application, or the application icon of the third application.
  • the first lock screen interface includes time, date and lock icons; the second lock screen interface includes at least one of the following: application icons, notification messages, weather conditions, navigation information, and unlock prompt information.
  • the embodiment of the present application provides a multi-screen unlocking device, which is applied to an electronic device, and the electronic device includes a first display screen corresponding to a first application, a second display screen, and a second display screen Corresponding to the second application; the apparatus may include: in response to receiving the user's first operation on the electronic device, the electronic device determines that the state of the electronic device is a lock screen state. The first display screen realizes the display of the first lock screen interface through the first application, and the second display screen realizes the display of the 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 user operation on the second display screen, the second display screen displays a second unlocking interface. The second application instructs the electronic device to switch from the lock screen state to the unlock state, and sends a first message to the first application. In response to the first message, the first application displays a first unlocking interface through the first display screen.
  • the first display screen may be a main screen (or called a large screen), and the second display screen may be an auxiliary screen (or called a small screen).
  • the first display screen may be an auxiliary screen, and the second display screen may be a main screen, which are not specifically limited in this embodiment of the present application.
  • the first display screen may be the main screen, and the second display screen may be the auxiliary screen" is taken as an example for description.
  • the first application and the second application are two independent applications.
  • the first display screen and the second display screen can display two different lock screen interfaces.
  • the first display screen and the second display screen may also have different interactive behaviors.
  • the user can independently 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 is more real-time and improves user experience.
  • the user independently operates one screen to unlock, it will not affect the lock screen interface of the other screen.
  • the first application and the second application are two independent applications.
  • the first display screen and the second display screen may also have different interactive behaviors.
  • the user can independently 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 is more real-time and improves user experience.
  • the user independently operates one screen to unlock, it will not affect the lock screen interface of the other screen.
  • the electronic device further includes a password manager, and in response to receiving a second operation on the second display screen by the user, the second application exits the second lock screen interface, which may specifically be: in response to receiving In the second operation performed by the user on the second display screen, the second display screen displays the first interface, and the first interface includes a password input area.
  • the second application sends the password to the password manager through the first application.
  • Password managers verify passwords. After the password verification is passed, the second display screen displays a second unlocking interface.
  • the electronic device further includes a password manager, and in response to receiving a second operation on the second display screen by the user, the second application exits the second lock screen interface, which may specifically be: in response to receiving When the user performs the second operation on the second display screen, the second display screen displays first prompt information, and the first prompt information is used to prompt the user to use a preset unlocking method to unlock.
  • the electronic device further includes a face authentication manager, and in response to receiving a second operation on the second display screen by the user, the second display screen displays a second unlocking interface, which may specifically be: in response to After receiving the user's second operation on the second display screen, the second application sends a second message to the first application, and the second message carries face authentication instruction information.
  • 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 a second unlocking interface.
  • the device may further include: in response to receiving a second operation by the user on the second display screen, the second display screen displays second prompt information, and the second prompt information is used to remind the user to perform face recognition middle.
  • the display form of the second prompt information may include text, image or breathing state icon.
  • the device may further include: when the screen state of the second display screen is in the lock screen state, in response to receiving a third operation on the second display screen by the user, the interface of the second display screen is activated by the first The second lock screen interface is switched to the second interface, and the second interface is used to display the pull-down notification bar, the notification, the card of the third application, or the application icon of the third application.
  • the first lock screen interface includes time, date and lock icons; the second lock screen interface includes at least one of the following: application icons, notification messages, weather conditions, navigation information, and unlock prompt information.
  • the embodiment of the present application provides an electronic device, which includes: one or more processors; and a memory, in which code is stored; when the code is executed by the electronic device, the The electronic device executes the method described in the first aspect.
  • the embodiment of the present application provides a chip system, and 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 processors are interconnected by lines; the interface circuits are used to receive signals from the memory of the electronic device and send signals to the processor, and the signals include Stored computer instructions; when the processor executes the computer instructions, the electronic device executes the method as described in the first aspect.
  • the embodiment of the present application provides a computer-readable storage medium, including computer instructions, and when the computer instructions are run on the electronic device and the server, the electronic device executes the method as described in the first aspect .
  • the embodiment of the present application provides a computer program product.
  • the computer program product runs on a computer, the computer executes the method described in the first aspect.
  • the first application and the second application are two independent applications.
  • the first display screen and the second display screen can display two different lock screen interfaces.
  • the first display screen and the second display screen may also have different interactive behaviors.
  • the user can independently 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 is more real-time and improves user experience.
  • the user independently operates one screen to unlock, it will not affect the lock screen interface of the other screen.
  • FIG. 1A is a schematic diagram of a lock screen interface of a main screen of a folding screen mobile phone
  • FIG. 1B is a schematic diagram of a lock screen interface of an auxiliary screen of a folding screen mobile phone
  • FIG. 2A is a schematic diagram of a lock screen interface of a main screen of a folding screen mobile phone provided by an embodiment of the present application;
  • FIG. 2B is a schematic diagram of a lock screen interface of an auxiliary screen of a folding screen mobile phone provided in an embodiment of the present application;
  • FIG. 3 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a software architecture of an electronic device provided in an embodiment of the present application.
  • FIG. 5A is a flow chart of a multi-screen unlocking method provided by an embodiment of the present application.
  • FIG. 5B is a flowchart of a multi-screen unlocking method provided by the embodiment of the present application.
  • FIG. 6A is a schematic interface diagram of a second display screen of an electronic device provided in an embodiment of the present application.
  • FIG. 6B is a schematic diagram of an interface of a second display screen of an electronic device provided in an embodiment of the present application.
  • FIG. 6C is a schematic diagram of an interface of a second display screen of an electronic device provided in an embodiment of the present application.
  • FIG. 7A is a schematic interface diagram of a second display screen of an electronic device provided in an embodiment of the present application.
  • FIG. 7B is a schematic interface diagram of a second display screen of an electronic device provided in an embodiment of the present application.
  • FIG. 7C is a schematic interface diagram of a second display screen of an electronic device provided in an embodiment of the present application.
  • FIG. 7D is a schematic interface diagram of a second display screen of an electronic device provided in an embodiment of the present application.
  • FIG. 8A is a schematic diagram of an interface of a first display screen of an electronic device provided in an embodiment of the present application.
  • FIG. 8B is a schematic diagram of an interface of a first display screen of an electronic device provided in an embodiment of the present application.
  • FIG. 8C is a schematic diagram of an interface of a first display screen of an electronic device provided in an embodiment of the present application.
  • FIG. 8D is a schematic interface diagram of a second display screen of an electronic device provided in an embodiment of the present application.
  • FIG. 9A is a schematic diagram of an interface of a second display screen of an electronic device provided in an embodiment of the present application.
  • FIG. 9B is a schematic interface diagram of a second display screen of an electronic device provided in an embodiment of the present application.
  • FIG. 10 is another schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • first and second are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, a feature defined as “first” and “second” may explicitly or implicitly include one or more of these features. In the description of this embodiment, unless otherwise specified, “plurality” means two or more.
  • the electronic device may be a folding screen mobile phone.
  • the folding screen mobile phone In FIG. 1A , the folding screen mobile phone is in an unfolded state, 2 shown in FIG. 1A is a crease, and in FIG. 1B the folding screen mobile phone is in a folded state.
  • the folding screen mobile phone may include a main screen 1 and an auxiliary screen 3 .
  • the main screen 1 displays the lock screen interface 101 shown in FIG. 1A
  • the auxiliary screen 3 displays the lock screen interface 102 shown in FIG. 1B . It can be seen that the lock screen interface 101 is the same as the lock screen interface 102 .
  • the user When the user unlocks the auxiliary screen, the user needs to perform an unlocking operation on the lock screen interface 101 of the main screen.
  • the main screen of the folding screen mobile phone receives the user's unlocking operation.
  • the main screen of the folding screen mobile phone is unlocked, and an auxiliary screen of the folding screen mobile phone is instructed to be unlocked.
  • the user when the user unlocks the auxiliary screen of the folding screen mobile phone, the user needs to operate the main screen to unlock, thereby unlocking the auxiliary screen, making the unlocking of the auxiliary screen poor in real-time and user experience poor.
  • the electronic device determines that the state of the electronic device is a lock screen state.
  • the first display screen displays the first lock screen interface
  • the second display screen displays the second lock screen interface
  • the first lock screen interface is different from the second lock screen interface.
  • the second application sends the first message to the first application.
  • the first application displays a first unlocking interface through the first display screen, and instructs the electronic device to switch from a locked screen state to an unlocked state.
  • the first application sends a second message to the second application.
  • the second application displays a second unlocking interface through the second display screen. Since the lock screen of the first display screen is realized by the first application, and the lock screen of the second display 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. Meanwhile, the first display screen and the second display screen may also have different interactive behaviors.
  • the user can independently 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 is more real-time and improves user experience. When the user independently operates one screen to unlock, it will not affect the lock screen interface of the other screen.
  • the first application displays the first unlocking interface through the first display screen, and instructs the electronic device to switch from the locked screen state to the unlocked state
  • the first application instructs the electronic device to switch from the locked screen state to the unlocked state; or, in response to the first message, the first application displays the 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 unlock state.
  • the first application in response to the first message, can do two things at the same time, one thing is to display the first unlocking interface through the first display screen, and the other thing is to instruct the electronic device to switch from the locked screen state to the unlocked state state.
  • the embodiments of the present application may not be specifically limited.
  • the electronic device determines that the state of the electronic device is a lock screen state.
  • the first display screen displays the first lock screen interface
  • the second display screen displays the second lock screen interface
  • the first lock screen interface is different from the second lock screen interface.
  • the second display screen displays a second unlocking interface.
  • the second application instructs the electronic device to switch from the lock screen state to the unlock state, and sends a first message to the first application.
  • the first application displays a first unlocking interface through the first display screen.
  • the first application and the second application are two independent applications.
  • the first display screen and the second display screen can display two different lock screen interfaces.
  • the first display screen and the second display screen may also have different interactive behaviors.
  • the user can independently 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 is more real-time and improves user experience.
  • the user independently operates one screen to unlock, it will not affect the lock screen interface of the other screen.
  • the above-mentioned electronic device may be a device with multiple display screens.
  • the form of the electronic device is not specifically limited.
  • the electronic device may be a foldable device, the electronic device may also be a detachable device, or the electronic device may be a device in a common form.
  • an electronic device may include a foldable device.
  • the first display screen tiles the unfolded surface of the foldable device.
  • the second display screen is located on the outer surface of the foldable device.
  • the foldable device may be a foldable screen mobile phone. Since the lock screen of the first display screen is realized through the first application, and the lock screen of the second display screen is realized 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.
  • FIG. 2A is a schematic diagram of the first lock screen interface of the first display screen 1 of the folding screen mobile phone.
  • FIG. 2B is a schematic diagram of the second lock screen interface of the second display screen 2 of the folding screen mobile phone.
  • the first lock screen interface 103 and the second lock screen interface 104 are different.
  • the first lock screen interface and the second lock screen interface include but are not limited to the interfaces shown in FIG. 2A and FIG. 2B , which are not specifically limited in this embodiment of the present application.
  • the electronic device may specifically 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 (augmented reality, AR)/virtual reality (virtual reality, VR) device,
  • a wearable device such as a smart watch
  • an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) device
  • UMPC ultra-mobile personal computer
  • netbook or a personal digital assistant
  • PDA personal digital assistant
  • Exemplary electronic devices include, but are not limited to or other operating systems.
  • FIG. 3 shows a schematic structural diagram of the electronic device 100 .
  • the device 100 may include a processor 310, an external memory interface 320, an internal memory 331, a universal serial bus (universal serial bus, USB) interface 330, a charging management module 340, a power management module 341, a battery 342, Antenna 3, antenna 2, mobile communication module 350, wireless communication module 360, audio module 370, speaker 370A, receiver 370B, microphone 370C, earphone jack 370D, sensor module 380, button 390, motor 393, indicator 392, camera 393, A display screen 394, and a subscriber identification module (subscriber identification module, SIM) card interface 395, etc.
  • SIM subscriber identification module
  • the sensor module 380 may include a pressure sensor 380A, a gyroscope sensor 380B, an air 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, and an ambient light sensor.
  • the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the device 100 .
  • the device 100 may include more or fewer components than shown in the figure, or some components may be combined, or some components may be separated, or different component arrangements may be made.
  • the illustrated components can be realized in hardware, software or a combination of software and hardware.
  • the processor 310 may include one or more processing units, for example: the processor 310 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • the controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
  • a memory may also be provided in the processor 310 for storing instructions and data.
  • the memory in processor 310 is a cache memory.
  • the memory may hold instructions or data that the processor 310 has just used or recycled. If the processor 310 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 310 is reduced, thereby improving the efficiency of the system.
  • processor 310 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and /or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input and output
  • subscriber identity module subscriber identity module
  • SIM subscriber identity module
  • USB universal serial bus
  • the interface connection relationship between the modules shown in the embodiment of the present invention is only a schematic illustration, and does not constitute a structural limitation of the device 100 .
  • the device 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
  • the charging management module 340 is configured to receive charging input from the charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 340 can receive charging input from a wired charger through the USB interface 330 .
  • the charging management module 340 may receive wireless charging input through a wireless charging coil of the device 100 . While the charging management module 340 is charging the battery 342 , it can also supply power to the electronic device through the power management module 341 .
  • the power management module 341 is used for connecting 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 used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the power management module 341 may also be disposed in the processor 310 .
  • the power management module 341 and the charging management module 340 may also be set in the same device.
  • the wireless communication function of the device 100 can be realized by the antenna 1, the antenna 2, the mobile communication module 350, the wireless communication module 360, the modem processor and the baseband processor.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in device 100 may be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 350 can provide wireless communication solutions including 2G/3G/4G/5G applied on the device 100 .
  • the mobile communication module 350 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like.
  • the mobile communication module 350 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation.
  • the mobile communication module 350 can also amplify the signal modulated by the modem processor, convert it into electromagnetic wave and radiate it through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 350 may be set in the processor 310 .
  • at least part of the functional modules of the mobile communication module 350 and at least part of the modules of the processor 310 may be set in the same device.
  • a modem processor may include a modulator and a demodulator.
  • the modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator sends the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low-frequency baseband signal is passed to the application processor after being processed by the baseband processor.
  • the application processor outputs sound signals through audio equipment (not limited to speaker 370A, receiver 370B, etc.), or displays images or videos through display screen 394 .
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent from the processor 310, and be set in the same device as the mobile communication module 350 or other functional modules.
  • the wireless communication module 360 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wireless Fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite system, etc. (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • the wireless communication module 360 may be one or more devices integrating 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 sends the processed signals to the processor 310 .
  • the wireless communication module 360 can also receive the signal to be sent from the processor 310, frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
  • the antenna 1 of the device 100 is coupled to the mobile communication module 350, and the antenna 2 is coupled to the wireless communication module 360, so that the device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC , FM, and/or IR techniques, etc.
  • GSM global system for mobile communications
  • GPRS general packet radio service
  • code division multiple access code division multiple access
  • CDMA broadband Code division multiple access
  • WCDMA wideband code division multiple access
  • time division code division multiple access time-division code division multiple access
  • LTE long term evolution
  • BT GNSS
  • WLAN NFC
  • FM
  • the GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou navigation satellite system (beidou navigation satellite system, BDS), a quasi-zenith satellite system (quasi -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • Beidou navigation satellite system beidou navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the device 100 implements a display function through a GPU, a display screen 394, an application processor, and the like.
  • the GPU is a microprocessor for image processing, connected to the display screen 394 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 310 may include one or more GPUs that execute program instructions to generate or alter display information.
  • the display screen 394 is used to display images, videos and the like.
  • Display 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 or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
  • the device 100 may include N display screens 394 , where N is a positive integer greater than 2.
  • N display screens 394 may include a first display screen and a second display screen.
  • the first display screen displays the interfaces shown in FIGS. 8A-8C .
  • the second display screen displays the interfaces shown in FIGS. 6A-7D , and 8D-9B.
  • the device 100 can realize the shooting function through ISP, camera 393 , video codec, GPU, display screen 394 and application processor.
  • the ISP is used for processing the data fed back by the camera 393 .
  • the light is transmitted to the photosensitive element of the camera through the lens, and the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin color.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be located in the camera 393 .
  • Camera 393 is used to capture still images or video.
  • the object generates an optical image through the lens and projects it to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other image signals.
  • the device 100 may include 1 or N cameras 393, where N is a positive integer greater than 1.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • Device 100 may support one or more video codecs.
  • the device 100 can play or record videos in various encoding formats, for example: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
  • the NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • Applications such as intelligent cognition of the device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
  • the external memory interface 320 may 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 a data storage function. Such as saving music, video and other files in the external memory card.
  • Internal memory 331 may be used to store computer-executable program code, which includes instructions.
  • the internal memory 331 may include an area for storing programs and an area for storing data.
  • the stored program 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 may store data created during use of the device 100 (such as audio data, phonebook, etc.) and the like.
  • the internal memory 331 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like.
  • the processor 310 executes various functional applications and data processing of the device 100 by executing instructions stored in the internal memory 331 and/or instructions stored in a memory provided in the processor.
  • the device 100 may implement an audio function through an audio module 370 , a speaker 370A, a receiver 370B, a microphone 370C, an earphone interface 370D, and an application processor. Such as music playback, recording, etc.
  • the audio module 370 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal.
  • the audio module 370 may also be used to encode and decode audio signals.
  • the audio module 370 can be set in the processor 310 , or some functional modules of the audio module 370 can be set in the processor 310 .
  • Speaker 370A also called “horn” is used to convert audio electrical signals into sound signals.
  • Device 100 may listen to music through speaker 370A, or to listen to hands-free calls.
  • Receiver 370B also called “earpiece” is used to convert audio electrical signals into audio signals.
  • the receiver 370B can be placed close to the human ear to listen to the voice.
  • the microphone 370C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the user can put his mouth close to the microphone 370C to make a sound, and input the sound signal to the microphone 370C.
  • the device 100 may be provided with at least one microphone 370C. In some other embodiments, the device 100 may be provided with two microphones 370C, which may also implement a noise reduction function in addition to collecting sound signals. In some other embodiments, the device 100 can also be provided with three, four or more microphones 370C to realize sound signal collection, noise reduction, identify sound sources, and realize directional recording functions, etc.
  • the earphone interface 370D is used to connect wired earphones.
  • the earphone interface 370D can be a USB interface 330, or a 3.5mm open mobile terminal platform (open mobile terminal platform, OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the pressure sensor 380A is used to sense the pressure signal and convert the pressure signal into an electrical signal.
  • pressure sensor 380A may be located on display screen 394 .
  • pressure sensors 380A such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors.
  • a capacitive pressure sensor may be comprised of at least two parallel plates with conductive material.
  • the device 100 determines the intensity of the pressure from the change in capacitance.
  • the device 100 detects the intensity of the touch operation according to the pressure sensor 380A.
  • the device 100 may also calculate the touched position according to the detection signal of the pressure sensor 380A.
  • touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view short messages is executed. When a touch operation whose intensity is greater than or equal to the first pressure threshold acts on the icon of the short message application, the instruction of creating a new short message is executed.
  • Gyro sensor 380B may be used to determine the motion pose of device 100 .
  • the angular velocity of device 100 about three axes ie, x, y, and z axes
  • the gyro sensor 380B can be used for image stabilization.
  • the gyro sensor 380B detects the shake angle of the device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shake of the device 100 through reverse motion to achieve anti-shake.
  • the gyroscope sensor 380B can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor 380C is used to measure air pressure. In some embodiments, the device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 380C to assist in positioning and navigation.
  • the magnetic sensor 380D includes a Hall sensor.
  • Device 100 may utilize magnetic sensor 380D to detect opening and closing of the flip holster.
  • the device 100 when the device 100 is a flip machine, the device 100 can detect the opening and closing of the flip according to the magnetic sensor 380D.
  • features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 380E can detect the acceleration of the device 100 in various directions (generally three axes).
  • the magnitude and direction of gravity can be detected when the device 100 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • the distance sensor 380F is used to measure the distance.
  • the device 100 can measure distance by infrared or laser. In some embodiments, when shooting a scene, the device 100 may use the distance sensor 380F for distance measurement to achieve fast focusing.
  • Proximity light sensor 380G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the light emitting diodes may be infrared light emitting diodes.
  • the device 100 emits infrared light outwards through light emitting diodes.
  • Device 100 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it may be determined that there is an object in the vicinity of the device 100 . When insufficient reflected light is detected, device 100 may determine that there is no object in the vicinity of device 100 .
  • the device 100 can use the proximity light sensor 380G to detect that the user holds the device 100 close to the ear to make a call, so as to automatically turn off the screen to save power.
  • the proximity light sensor 380G can also be used in leather case mode, automatic unlock and lock screen in pocket mode.
  • the ambient light sensor 380L is used for sensing ambient light brightness.
  • the device 100 can adaptively adjust the brightness of the display screen 394 according to the perceived ambient light brightness.
  • the ambient light sensor 380L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 380L can also cooperate with the proximity light sensor 380G to detect whether the device 100 is in the pocket, so as to prevent accidental touch.
  • the fingerprint sensor 380H is used to collect fingerprints.
  • the device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access to the application lock, take pictures with fingerprints, answer incoming calls with fingerprints, and so on.
  • the temperature sensor 380J is used to detect temperature.
  • the device 100 implements a temperature handling strategy using 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 may reduce the performance of a processor located near the temperature sensor 380J, so as to reduce power consumption and implement thermal protection.
  • the device 100 when the temperature is lower than another threshold, the device 100 heats the battery 342 to avoid abnormal shutdown of the device 100 due to low temperature.
  • the device 100 boosts the output voltage of the battery 342 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 380K also known as "touch device”.
  • the touch sensor 380K can be arranged on the display screen 394, and the touch sensor 380K and the display screen 394 form a touch screen, also called “touch screen”.
  • the touch sensor 380K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to touch operations can be provided through the display screen 394 .
  • the touch sensor 380K may also be disposed on the surface of the device 100 , which is different from the position of the display screen 394 .
  • the bone conduction sensor 380M can acquire vibration signals. In some embodiments, the bone conduction sensor 380M can acquire the vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 380M can also contact the human pulse and receive the blood pressure beating signal. In some embodiments, the bone conduction sensor 380M can also be disposed in the earphone, combined into a bone conduction earphone.
  • the audio module 370 can analyze the voice signal based on the vibration signal of the vibrating bone mass of the vocal part acquired by the bone conduction sensor 380M, so as to realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 380M, so as to realize the heart rate detection function.
  • the keys 390 include a power key, a volume key and the like.
  • the key 390 may be a mechanical key. It can also be a touch button.
  • the device 100 may receive key input and generate key signal input related to user settings and function control of the device 100 .
  • the motor 391 can generate a vibrating prompt.
  • the motor 391 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
  • touch operations applied to different applications may correspond to different vibration feedback effects.
  • the motor 391 can also correspond to different vibration feedback effects for touch operations acting on different areas of the display screen 394 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • display screen 394 may include a first display screen and a second display screen.
  • first display screen realizes the display of the first lock screen interface through the first application
  • second display screen realizes the display of the second lock screen interface through the second application.
  • the first application and the second application may be system applications of the electronic device.
  • the internal memory 331 may store codes of the first application and codes of the second application.
  • the second application sends a first message to the first application, where 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, so that the first application displays the first unlocking interface through the first display screen. At this time, the processor 310 determines that the state of the electronic device is switched from the lock screen state to the unlock 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, so that the second application displays the second unlocking interface through the second display screen. In some other embodiments, when the user operates the second display screen, the second display screen displays a second unlocking interface. At this time, the second application instructs the processor 310 to determine to switch the state of the electronic device to the unlocked state.
  • the second application sends a first message to the first application, where 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, so that the first application displays the first unlocking interface through the first display screen.
  • the indicator 392 can be an indicator light, which can be used to indicate the charging status, the change of the battery capacity, and can also be used to indicate messages, missed calls, notifications and the like.
  • the device 100 may also include other functional units, which is not limited in this embodiment of the present application.
  • the device 100 may 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 having a structure similar to that shown in FIG. 3 .
  • the composition structure shown in FIG. 3 does not constitute a limitation to the communication device.
  • the communication device may include more or less components than those shown in the illustration, or combine certain components , or different component arrangements.
  • system-on-a-chip may be composed of chips, or may include chips and other discrete devices.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components.
  • the illustrated components can be realized in hardware, software or a combination of software and hardware.
  • FIG. 4 is a block diagram of the software structure of the electronic device 100 according to the embodiment of the present invention.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate through software interfaces.
  • the software structure of the electronic device 100 can be divided into three layers, which are respectively an application program layer, an application program framework layer, and a kernel layer from top to bottom.
  • the application layer can consist of a series of application packages.
  • the application package can include the first lock screen application (i.e. the first application), the second lock screen application (i.e. the second application), camera, gallery, calendar, call, map, navigation, WLAN, bluetooth , music, video, SMS and other applications.
  • the first lock screen application mainly provides the interface display in the lock screen state of the first display screen (or main screen), the operation of unlocking the main screen, the management of system lock and unlock status changes, and the simultaneous processing of lock and unlock of multiple display screens, etc.
  • the second lock screen application is mainly responsible for displaying content in the lock screen state of the second display screen (or auxiliary screen), user's unlocking operation on the screen, prompting, and maintaining synchronization with the system status, etc.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer can include lock screen manager (Keyguard management service), AMS, power manager, multi-screen manager, fingerprint manager, face authentication manager, password manager, voiceprint authentication wait.
  • lock screen manager Keyguard management service
  • AMS Keyguard management service
  • power manager multi-screen manager
  • fingerprint manager face authentication manager
  • password manager voiceprint authentication wait.
  • the lock screen manager is mainly responsible for the synchronization of multiple screens plus unlock status.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer includes at least binder driver, first display driver, second display driver, camera driver, audio driver, sensor driver, etc.
  • a corresponding hardware interrupt is sent to the kernel layer.
  • the kernel layer processes touch operations into original input events (including touch coordinates, time stamps of touch operations, and other information). Raw input events are stored at the kernel level.
  • the application framework layer obtains the original input event from the kernel layer, and identifies the control corresponding to the input event. Assuming that the touch operation is a touch and click operation, and the control corresponding to the click operation is the control of the first lock screen application icon as an example, the first lock screen application calls the interface of the application framework layer to start the first lock screen application, and then By invoking the kernel layer to start the display driver of the first display screen, the first display screen reads the lock screen interface in the first screen container and displays the lock screen interface.
  • the embodiment of the application provides a multi-screen unlocking method, which is applied to an electronic device.
  • An electronic device may include multiple display screens, and each display screen corresponds to a lock screen application.
  • the electronic device may include a first display screen and a second display screen.
  • the first display screen corresponds to the first lock screen application (such as the above-mentioned first application)
  • the second display screen corresponds to the second lock screen application (such as the above-mentioned second application).
  • the first display screen of the electronic device is the main screen
  • the second display screen of the electronic device is the auxiliary screen as an example for description.
  • the electronic device may further include a lock screen manager.
  • the second lock screen application registers the communication interface and the callback interface through the lock screen manager.
  • the communication interface is used for the second lock screen application to communicate with the first lock screen application.
  • the callback interface is used for the first lock screen application to call the second lock screen application.
  • FIG. 5A is a schematic flowchart of a multi-screen unlocking method provided by an embodiment of the present application
  • FIG. 5B is a schematic flowchart of a multi-screen unlocking method provided by an embodiment of the present application.
  • the first stage is the lock screen stage.
  • the electronic device receives a user's screen lock operation on the electronic device.
  • the screen locking operation may include an off-screen operation, a gesture operation, and the like.
  • the gesture operation may include a slide operation, a press operation, a click operation, and the like.
  • the screen locking operation may also be different according to different electronic devices.
  • the electronic device may be a folding screen mobile phone, and correspondingly, the screen locking operation may include a folding operation.
  • folding screen mobile phones fold may also be an ordinary mobile phone.
  • the screen locking operation may include removing and inserting a smart (subscriber identity module, SIM) card.
  • SIM subscriber identity module
  • the electronic device may also be a tablet computer, and correspondingly, the screen locking operation may include clicking a Home button.
  • the first display screen of the electronic device displays a first lock screen interface
  • the second display screen of the electronic device displays a second lock screen interface, where the second lock screen interface is different from the first lock screen interface.
  • a first screen lock application (such as the above-mentioned first application) of the electronic device executes the screen lock.
  • the first display screen reads the first lock screen interface in the first screen container, and displays the first lock screen interface.
  • the first screen lock application sends a broadcast message, and the broadcast message carries the identification of the second screen lock application (such as the above-mentioned second application) and screen lock instruction information.
  • the second lock screen application receives the broadcast message.
  • the second display screen reads the second lock screen interface in the second screen container and displays the second lock screen interface.
  • the second lock screen interface is the same as the first lock screen interface.
  • the lock screen interface is different.
  • the display content of the first display screen is different from that of the second display screen, which can be specifically realized as follows:
  • the electronic device can identify relevant specification information of the first display screen, such as resolution, dots per inch (dots per inch, DPI), and the like.
  • the electronic device may establish a first screen container for the first display screen according to relevant specification information of the first display screen.
  • a first lock screen interface of a first lock screen application may be stored in the first screen container.
  • the electronic device may also identify relevant specification information of the second display screen.
  • the electronic device may establish a second screen container for the second display screen according to relevant specification information of the second display screen.
  • the second screen container can store a second lock screen interface of the second lock screen application, and the second lock screen interface is different from the first lock screen interface.
  • the first screen container and the second screen container can be distinguished by different display IDs.
  • 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.
  • 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.
  • the first lock screen interface displayed on the first display screen is different from the second lock screen interface displayed on the second display screen.
  • the second type compared with the first type, is that the electronic device can convert information such as application icons, application interfaces, SMS messages received by the electronic device, status bar, and designated lock screen interface into information related to the first type.
  • the specification information of the two display screens matches the second lock screen interface, and stores the second lock screen interface in the second screen container.
  • the first display screen may display the first lock screen interface by reading the first lock screen interface in the first screen container.
  • the second display screen may 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 run independently under the same operating system.
  • the electronic device is a folding screen mobile phone.
  • the user uses the foldable mobile phone to play music and the foldable screen mobile phone is in an unfolded state
  • the user triggers a screen lock operation, for example, the user clicks a screen off button.
  • the folding screen mobile phone performs a screen locking operation, and the folding screen mobile phone can display the locking screen interface 103 shown in FIG. 2A .
  • the user uses the folding mobile phone to play music, and the folding screen mobile phone is in the folded state, that is, when the auxiliary screen (second display) of the folding screen mobile phone displays the interface shown in Figure 6A, the user triggers the screen lock operation.
  • the folding screen mobile phone is in the lock screen operation, and the folding screen mobile phone can display the lock screen interface 104 shown in FIG. 6B .
  • the folding screen mobile phone can display the lock screen interface 104 shown in FIG. 6C . It can be seen that the lock screen interface of the main screen (ie, the first lock screen interface) is different from the lock screen interface of the auxiliary screen (ie, the second lock screen interface).
  • the second lock screen interface may 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.
  • the second display screen can display a lock screen interface 107 as shown in FIG. 7A , and the lock screen interface 107 can display information such as location and weather conditions, for example, the location is Jiangxia District, the current temperature is 15°C, today's The highest temperature is 15°C, the lowest temperature is 7°C today, and the weather is fine.
  • the second display screen may also display a lock screen interface 108 as shown in FIG. 7B , and navigation information may be displayed on the lock screen interface 108 .
  • the prompt information may be "Enter Shenjiang Road after 23 meters”.
  • the second display screen can also display a lock screen interface 109 as shown in FIG. 7C , and notifications can be displayed on the lock screen interface 109 .
  • a short message message the short message message may be "Amber has a sunrise at the Shanghai Oriental Art Center this weekend, Director Venus".
  • the second display screen may also display a lock screen interface 110 as shown in FIG. 7D , on the lock screen interface 110 may be an application icon of a third application.
  • the application icon and prompt information of the third application, the prompt information is "screen lock protection" and the like.
  • the second display screen may also display other contents, which are not listed one by one in this embodiment of the present application.
  • the multi-screen unlocking method provided by the embodiment of the present application may further include: when the screen state of the second display screen is the lock screen state, in response to receiving a user operation on the second display screen— (Such as the above-mentioned third operation), the interface of the second display screen is switched from the second lock screen interface to interface one (such as the above-mentioned second interface).
  • the first operation may include a gesture operation, and the gesture operation may include a sliding operation.
  • the sliding operation may be an operation of sliding along one end of the first display screen to the other end.
  • the sliding operation may also be a sliding operation of a specified track.
  • the embodiments of this application do not make specific limitations.
  • the interface one may be a lock screen interface different from the second lock screen interface.
  • the second lock screen interface is the lock screen interface shown in Figure 6B or Figure 6C
  • the first interface is the lock screen interface shown in Figure 7A to Figure 7D.
  • the electronic device may also determine that the state of the electronic device is the screen lock state. This step is not required. Therefore, this step can be briefly mentioned in the embodiment of the present application.
  • the second stage is the unlocking stage.
  • Electronic device unlocking can be achieved in the following ways:
  • the electronic device receives a user's unlocking operation on the second display screen (such as the above-mentioned second operation).
  • the unlocking operation may include a password unlocking operation, a face authentication unlocking operation, a fingerprint unlocking operation, and the like.
  • the unlocking operation may also include other unlocking operations, such as voiceprint unlocking operations.
  • the embodiments of this application do not make specific limitations.
  • the second display screen In response to receiving an unlocking operation (such as the above-mentioned second operation) on the second display screen by the user, the second display screen displays a second unlocking interface.
  • an unlocking operation such as the above-mentioned second operation
  • the second application exits the second lock screen interface. That is to say, the second display screen implements the display of the second unlocking interface through the second application.
  • the second application instructs the electronic device to switch from a locked screen state to an unlocked state, and sends a first message to the first application.
  • the first application receives the first message.
  • the first message is used to instruct the first application not to display the lock screen interface.
  • the first message may carry user operation information.
  • the first application displays a first unlocking interface through the first display screen.
  • the first display screen may be the main screen (or large screen), and the second display screen may be the auxiliary screen (or small screen); or, the first display screen may be the auxiliary screen, and the second display screen may be the home screen.
  • the details of S503-S506 are described below, specifically:
  • the second display screen In response to receiving the user's operation 2 on the second display screen, the second display screen displays an interface 2, where the interface 2 includes a password input area.
  • the second operation may include a gesture operation, and the gesture operation may include a sliding operation.
  • the sliding operation may be an operation of sliding along one end of the second display screen to the other end.
  • the sliding operation may also be a sliding operation of a specified track.
  • the password input area may include a numeric keypad or a gesture area.
  • the user slides up on the lock screen interface shown in FIG. 8A .
  • the display interface of the electronic device jumps from the interface 103 shown in FIG. 8A to the interface 111 shown in FIG. 8B .
  • a password input area is displayed on the interface 111 .
  • the interface of the electronic device may jump to the interface 112 shown in FIG. 8C .
  • the interface of the electronic device can jump to the song playing interface.
  • the second lock screen application corresponding to the second display screen sends the password to the password manager of the electronic device.
  • 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.
  • 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 1 to the first lock screen application corresponding to the first display screen, and the message 1 is used to indicate the first lock screen screen application to unlock the lock screen.
  • the message one may be a broadcast message, for example, the broadcast message may be expressed as android.intent.action.USER_PRESENT.
  • the second display screen displays the second unlocking lock screen interface through the second lock screen application, which may specifically be realized as follows: the second screen lock interface of the second lock screen application can be stored in the second screen container. Therefore, the second lock screen application does not drive the second display to read the second lock screen interface in the second screen container; or, the second lock screen application drives the second display to stop reading the second screen interface in the second screen container. Lock screen.
  • the second lock screen application does not drive the second display to read the second lock screen interface in the second screen container. Therefore, the second lock screen application does not drive the second display to read the second lock screen interface in the second screen container; or, the second lock screen application drives the second display to stop reading the second screen interface in the second screen container. Lock screen.
  • Lock screen there may also be other implementation manners, which are not specifically limited in this embodiment of the present application.
  • the first screen lock application displays the first screen lock interface through the first display screen.
  • the second lock screen application In response to receiving the user's operation 4 on the second display screen, the second lock screen application sends a message 2 to the face authentication manager, and the message 2 carries instruction information of face authentication.
  • the fourth operation may be the same as the first operation, and for details, refer to the relevant description above. The embodiments of this application will not be described in detail.
  • the face authentication manager triggers the electronic device to collect the face image according to the second message.
  • the electronic device activates a camera (such as a camera), and collects a user's face image through the camera.
  • a camera such as a camera
  • the face authentication manager authenticates the face image collected by the electronic device.
  • the face authentication manager compares the face image collected by the electronic device with the pre-stored face image of the legitimate user.
  • the face authentication manager After the face image authentication is passed, 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 locked screen state to the unlocked state.
  • the second screen lock application sends a broadcast message to the first screen lock application, where the broadcast message carries authentication passing information and screen status update prompt information.
  • the broadcast message may be expressed as com.huawei.keyguard.action.KEYGUARD_AUTH_STATE.
  • the broadcast message carries parameters including biometric authentication methods such as fingerprints, faces, bone voiceprints, smart devices, and authentication results.
  • the second screen-locking application displays a second unlocking interface through the second display screen.
  • the second screen lock application may send an unlock broadcast.
  • the unlocking broadcast can be expressed as android.intent.action.USER_PRESENT.
  • the first screen lock application displays the first unlock interface through the first display screen.
  • the electronic device receives the user's unlocking operation on the second display screen (such as the above-mentioned second operation).
  • S503' is the same as S503, see the above description for details and will not repeat them here.
  • the second application In response to receiving the user's unlocking operation on the second display screen (such as the above-mentioned second operation), the second application sends the first message to the first application. Correspondingly, the first application receives the first message.
  • the first message is used to instruct the first application not to display the lock screen interface.
  • the first message may carry user operation information. For example, the face authentication instruction information triggered by the user on the second interface described below.
  • the first application displays the first unlocking interface through the first display screen.
  • the first application instructs the electronic device to switch from a locked screen state to an unlocked state.
  • the first application sends a second message to the second application.
  • the second application receives the second message.
  • the second message is used to instruct the second application not to display the lock screen interface.
  • the second application displays a second unlocking interface through the second display screen.
  • the first display screen may be the main screen (or large screen), and the second display screen may be the auxiliary screen (or small screen); or, the first display screen may be the auxiliary screen, and the second display screen may be the home screen.
  • S503-S506, S503'-S508' which can be specifically:
  • the second display screen In response to receiving the user's operation three (such as the above-mentioned second operation) on the second display screen, the second display screen displays interface three (such as the above-mentioned first interface), and the first interface includes a password input area.
  • interface three such as the above-mentioned first interface
  • the second application In response to receiving the password input by the user 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 a first message to the password manager.
  • the first application After passing the password verification, the first application displays the first unlocking interface through the first display screen.
  • the first application sends a second message to the second application, where the second message is used to instruct the second application not to display the unlocking interface.
  • the second application receives the second message.
  • the second application displays a second unlocking interface through the second display screen.
  • the multi-screen unlocking method provided by the embodiment of the present application may further include: in response to receiving a second operation on the second display screen by the user, the second display screen displays first prompt information, and the first prompt The information is used to prompt the user to use a preset unlocking method to unlock.
  • the second operation may be an operation performed by the user on the second display screen, for example, an operation of double-clicking the second lock screen interface of the second display screen.
  • the interface of the folding screen mobile phone is displayed as the interface 113 shown in FIG.
  • Prompt information is displayed on this interface.
  • the prompt information may be "please unfold the phone to unlock”.
  • the prompt message can also be "Please slide up or unlock with your fingerprint”.
  • the embodiment of the present application does not make specific limitations here.
  • the second application In response to receiving the user's operation five on the second display screen (such as the above-mentioned second operation), the second application sends a message three (such as the above-mentioned first message) to the first application, and the message three carries the face authentication information Instructions.
  • the message three may be a broadcast message, and the broadcast message may be expressed as com.huawei.keyguard.action.KEYGUARD_ASSISTAN_SCREEN.
  • the parameters carried in the broadcast message include an indication to trigger face recognition.
  • the second display screen in response to receiving the user's second operation on the second display screen, displays second prompt information, and the second prompt information is used to remind the user that face recognition is in progress.
  • the display form of the second prompt information may include text, image or breathing state icon.
  • the first application sends the message three to the face authentication manager.
  • the face authentication manager authenticates the face image collected by the electronic device according to the third message.
  • the face authentication manager After the face image authentication is passed, the face authentication manager generates authentication passing information, and sends the authentication passing 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 a locked screen state to an unlocked state.
  • the first screen lock application sends a broadcast message to the second screen lock application, where the broadcast message carries authentication passing information and screen status update prompt information.
  • the first screen-locking application displays a first unlocking interface through the first display screen.
  • the second screen lock application displays a second unlock interface through the second display screen.
  • S43-S47 is the same as the above-mentioned description of S32-S37, and will not be repeated here.
  • the unlocking of the electronic device can also be achieved by a third method, specifically:
  • the third is fingerprint unlocking.
  • the user performs fingerprint unlocking on the electronic device. Details as follows:
  • the electronic device collects fingerprint information of the user.
  • the fingerprint manager of the electronic device compares the collected fingerprint information with the pre-stored fingerprint information of the legal user.
  • the fingerprint manager After the fingerprint authentication is passed, the fingerprint manager generates fingerprint authentication pass information, and sends the fingerprint authentication pass information to the first lock screen application.
  • the first screen lock application sends a broadcast message to the second screen lock application, where the broadcast message carries fingerprint authentication passing information and status update indication information.
  • the first display screen displays the first unlocking interface through the first lock screen application.
  • the first screen lock application sends an unlock broadcast to the second screen lock application, where the unlock broadcast carries a lock screen unlock instruction.
  • the second screen lock application displays a second unlock interface through the second display screen.
  • the lock screen interface of the electronic device is displayed as an application icon.
  • the electronic device displays the lock screen interface shown in FIG.
  • the shown interface 110 jumps to the interface 114 shown in FIG. 9B .
  • a login QR code of the application is displayed. Users can log in to the corresponding application by scanning the login QR code with the electronic device.
  • the above is described by taking the electronic device as a mobile phone as an example.
  • the multi-screen unlocking method provided by the embodiment of the present application can also be applied to other electronic devices such as a tablet or a car, and the embodiment of the present application will not describe it in detail.
  • the electronic device includes hardware and/or software modules corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions in combination with the embodiments for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
  • the functional modules of the electronic device may be divided according to the above method example.
  • each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
  • the above integrated modules may be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic, and is only a logical function division, and there may be other division methods in actual implementation.
  • the electronic device 1000 may include: a display module 1001 , a processing module 1002 , a communication module 1003 and a storage module 1004 .
  • the display module 1001 can be used to support the electronic device 1000 to display a user interface.
  • the display module 1001 can be used to support the electronic device 1000 to execute S502 and S506 in the flow shown in FIG. 5A, S505' and S508' in the flow shown in FIG. 5B, and/or other steps for the technology described herein. process.
  • the processing module 1002 may be used to control and manage actions of the electronic device 1000 .
  • the processing module 1002 can be used to support the electronic device 1000 to execute S501, S503, S504, S505 in the flow shown in FIG. 5A, S503', S504', S505', S506', S507' in the flow shown in FIG. 5B, etc. , and/or other processes for the techniques described herein.
  • the communication module 1003 can be used to support communication between the electronic device 1000 and other devices.
  • the communication module 1003 may be used to support the electronic device 1000 to execute S504 in the process shown in FIG. 5A , S504', S506' in the process shown in FIG. 5B , and/or other processes for the technologies described herein.
  • 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 information such as user account input by the user.
  • the display module 1001 may be a display, for example specifically, it may be the display screen 394 in the hardware structure shown in FIG. 3 .
  • the processing module 1002 may be a processor or a controller. It can implement or execute the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor can also be a combination of computing functions, for example, a combination of one or more microprocessors, a combination of digital signal processing (digital signal processing, DSP) and a microprocessor, and the like.
  • the processing module 1002 may specifically be the processor 310 in the hardware structure shown in FIG. 3 .
  • the communication module 1003 may be a device that interacts with other electronic devices, such as a radio frequency circuit, a Bluetooth chip, and a Wi-Fi chip.
  • the communication module 1003 may include the mobile communication module 350, the wireless communication module 360, the antenna 1 or the antenna 2, etc. in the hardware structure shown in FIG. 3 .
  • the storage module 1004 may be a memory, for example, specifically the internal memory 331 in the hardware structure shown in FIG. 3 .
  • the embodiment of the present application also provides an electronic device, including one or more processors and one or more memories.
  • the one or more memories are coupled with one or more processors, the one or more memories are used to store computer program codes, the computer program codes include computer instructions, and when the one or more processors execute the computer instructions, the electronic device performs The above related method steps implement the multi-screen unlocking method in the above embodiment.
  • Embodiments of the present application also provide a computer storage medium, in which computer instructions are stored, and when the computer instructions are run on the electronic device, the electronic device executes the above-mentioned related method steps to realize the multi-screen display in the above-mentioned embodiment. unlock method.
  • Embodiments of the present application also provide a computer program product, which, when running on a computer, causes the computer to execute the above-mentioned related steps, so as to implement the multi-screen unlocking method performed by the electronic device in the above-mentioned embodiments.
  • an embodiment of the present application also provides a device, which may specifically be a chip, a component or a module, and the device may include a connected processor and a memory; wherein the memory is used to store computer-executable instructions, and when the device is running, The processor can execute the computer-executable instructions stored in the memory, so that the chip executes the multi-screen unlocking method performed by the electronic device in the above method embodiments.
  • Embodiments of the present application also provide a chip system, which is applied to an electronic device, and the chip system includes one or more interface circuits and one or more processors.
  • the interface circuit and the processor are interconnected through wires; the interface circuit is used to receive signals from the memory of the electronic device and send signals to the processor, and the signals include computer instructions stored in the memory.
  • the processor executes the computer instructions, the electronic device is made to execute the multi-screen unlocking methods provided by the above method embodiments.
  • the electronic device, computer storage medium, computer program product or chip provided in this embodiment is all used to execute the corresponding method provided above, therefore, the beneficial effects it can achieve can refer to the corresponding method provided above The beneficial effects in the method will not be repeated here.
  • Another embodiment of the present application provides a system, and each device in the system can be used to implement the multi-screen unlocking method in the above method embodiments.
  • the disclosed devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be Incorporation or may be integrated into another device, or some features may be omitted, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may be one physical unit or multiple physical units, that is, it may be located in one place, or may be distributed to multiple different places . Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a readable storage medium.
  • the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium Among them, several instructions are included to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: various media that can store program codes such as U disk, mobile hard disk, read only memory (ROM), random access memory (random access memory, RAM), magnetic disk or optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请实施例提供一种多屏的解锁方法和电子设备。该方法为:响应于接收到用户对电子设备的第一操作,第一显示屏显示第一锁屏界面,第二显示屏显示第二锁屏界面,第一锁屏界面与第二锁屏界面不同。响应于接收到用户对第二显示屏的第二操作,第二显示屏显示第二解锁界面。第二应用指示电子设备由锁屏状态切换至解锁状态,及向第一应用发送第一消息。响应于第一消息,第一应用通过第一显示屏显示第一解锁界面。由于第一显示屏锁屏是通过第一应用实现,第二显示屏锁屏是通过第二应用实现,第一应用和第二应用是两个独立的应用。这样,第一显示屏和第二显示屏可以显示两个不同的锁屏界面,从而实现了各个屏幕差异化显示。

Description

一种多屏的解锁方法和电子设备
本申请要求于2021年12月22日提交国家知识产权局、申请号为202111585380.6、申请名称为“一种多屏的解锁方法和电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及电子技术领域,尤其涉及一种多屏的解锁方法和电子设备。
背景技术
随着电子设备的迅速发展,电子设备的显示屏个数不止一个。例如,折叠屏手机可以包括大屏和小屏。其中,大屏可以是折叠屏手机的用户最常使用的显示屏,显示能力完备,有完备的状态栏、导航栏和桌面图标等等。用户可以在大屏上完成日常的大部分操作。小屏可以是一种比较小的屏,其显示能力较弱,只能显示一些简单的元素内容,例如,时间、天气、电量等。
发明内容
本申请实施例提供一种多屏的解锁方法、装置和电子设备,丰富小屏的锁屏显示,从而实现了各个屏幕差异化显示,提高用户体验。
为达到上述目的,本申请实施例采用如下技术方案:
第一方面,本申请实施例提供了一种多屏的解锁方法,应用于电子设备,电子设备包括第一显示屏,第一显示屏对应第一应用,第二显示屏,及第二显示屏对应第二应用;该方法可以包括:响应于接收到用户对电子设备的第一操作,电子设备确定电子设备的状态为锁屏状态。第一显示屏通过第一应用实现第一锁屏界面的显示,第二显示屏通过第二应用实现第二锁屏界面的显示,第一锁屏界面与第二锁屏界面不同。响应于接收到用户对第二显示屏的第二操作,第二应用向第一应用发送第一消息。响应于第一消息,第一应用通过第一显示屏显示第一解锁界面,并指示电子设备由锁屏状态切换至解锁状态。第一应用向第二应用发送第二消息。响应于第二消息,第二应用通过第二显示屏显示第二解锁界面。
其中,第一显示屏可以为主屏(或称大屏),第二显示屏可以为辅屏(或称小屏)。当然,第一显示屏可以为辅屏,第二显示屏可以为主屏,本申请实施例不做具体限定。在本申请实施例中,以“第一显示屏可以为主屏,第二显示屏可以为辅屏”为例进行说明。
在本申请实施例中,由于第一显示屏锁屏是通过第一应用实现,第二显示屏锁屏是通过第二应用实现,第一应用和第二应用是两个独立的应用。这样,第一显示屏和第二显示屏可以显示两个不同的锁屏界面,从而实现了各个屏幕差异化显示。同时,第一显示屏和第二显示屏也可以有不同的交互行为。用户可以单独操作第二显示屏来进行解锁,即用户可以在第二显示屏上进行解锁操作,使得解锁实时性较高,提高用户体验。当用户单独操作一个屏幕进行解锁时,不会影响另一个屏幕的锁屏界面。
在一种具体可实施方式中,电子设备还包括密码管理器,响应于接收到用户对第 二显示屏的第二操作,第二应用向第一应用发送第一消息,具体可以为:响应于接收到用户对第二显示屏的第二操作,第二显示屏显示第一界面,第一界面包括密码输入区域。响应于接收到用户在密码输入区域内输入密码,第二应用向第一应用发送第一消息,第一消息携带密码。第一应用用于将密码发送给密码管理器,密码管理器验证密码;在密码验证通过之后,第一应用通过第一显示屏显示第一解锁界面。
在一种具体可实施方式中,电子设备还包括密码管理器,响应于接收到用户对第二显示屏的第二操作,第二应用向第一应用发送第一消息,具体可以为:响应于接收到用户对第二显示屏的第二操作,第二显示屏显示第一提示信息,第一提示信息用于提示用户采用预设的解锁方式进行解锁。
在一种具体可实施方式中,电子设备还包括人脸认证管理器,第一消息中携带人脸认证的指示信息。第一应用还用于将第一消息发送给人脸认证管理器,人脸认证管理器根据第一消息,对电子设备采集的人脸图像进行认证;在人脸图像认证通过之后,第一应用通过第一显示屏显示第一解锁界面。
在一些可实施方式中,该方法还可以包括:响应于接收到用户对第二显示屏的第二操作,第二显示屏显示第二提示信息,第二提示信息用于提醒用户进行人脸识别中。
在一种具体可实施方式中,第二提示信息的显示形式包括文本、图像或呼吸状态图标。
在一些可实施方式中,该方法还可以包括:在第二显示屏的屏幕状态为锁屏状态时,响应于接收到用户对第二显示屏的第三操作,第二显示屏的界面由第二锁屏界面切换至第二界面,第二界面用于显示下拉通知栏、通知、第三应用的卡片或第三应用的应用图标。
在一种具体可实施方式中,第一锁屏界面包括时间、日期和锁的图标;第二锁屏界面包括以下至少一项:应用图标、通知消息、天气状况、导航信息、解锁提示信息。
第二方面,本申请实施例提供了一种多屏的解锁方法,应用于电子设备,电子设备包括第一显示屏,第一显示屏对应第一应用,第二显示屏,及第二显示屏对应第二应用;该方法可以包括:响应于接收到用户对电子设备的第一操作,电子设备确定电子设备的状态为锁屏状态。第一显示屏通过第一应用实现第一锁屏界面的显示,第二显示屏通过第二应用实现第二锁屏界面的显示,第一锁屏界面与第二锁屏界面不同。响应于接收到用户对第二显示屏的第二操作,第二显示屏显示第二解锁界面。第二应用指示电子设备由锁屏状态切换至解锁状态,及向第一应用发送第一消息。响应于第一消息,第一应用通过第一显示屏显示第一解锁界面。
其中,第一显示屏可以为主屏(或称大屏),第二显示屏可以为辅屏(或称小屏)。当然,第一显示屏可以为辅屏,第二显示屏可以为主屏,本申请实施例不做具体限定。在本申请实施例中,以“第一显示屏可以为主屏,第二显示屏可以为辅屏”为例进行说明。
本申请实施例中,由于第一显示屏锁屏是通过第一应用实现,第二显示屏锁屏是通过第二应用实现,第一应用和第二应用是两个独立的应用。这样,第一显示屏和第二显示屏可以显示两个不同的锁屏界面。同时,第一显示屏和第二显示屏也可以有不同的交互行为。用户可以单独操作第二显示屏来进行解锁,即用户可以在第二显示屏 上进行解锁操作,使得解锁实时性较高,提高用户体验。当用户单独操作一个屏幕进行解锁时,不会影响另一个屏幕的锁屏界面。
本申请实施例中,由于第一显示屏锁屏是通过第一应用实现,第二显示屏锁屏是通过第二应用实现,第一应用和第二应用是两个独立的应用。第一显示屏和第二显示屏也可以有不同的交互行为。用户可以单独操作第二显示屏来进行解锁,即用户可以在第二显示屏上进行解锁操作,使得解锁实时性较高,提高用户体验。当用户单独操作一个屏幕进行解锁时,不会影响另一个屏幕的锁屏界面。
在一种具体可实施方式中,电子设备还包括密码管理器,响应于接收到用户对第二显示屏的第二操作,第二应用退出第二锁屏界面,具体可以为:响应于接收到用户对第二显示屏的第二操作,第二显示屏显示第一界面,第一界面包括密码输入区域。响应于接收到用户在密码输入区域内输入密码,第二应用通过第一应用将密码发送给密码管理器。密码管理器验证密码。在密码验证通过之后,第二显示屏显示第二解锁界面。
在一种具体可实施方式中,电子设备还包括密码管理器,响应于接收到用户对第二显示屏的第二操作,第二应用退出第二锁屏界面,具体可以为:响应于接收到用户对第二显示屏的第二操作,第二显示屏显示第一提示信息,第一提示信息用于提示用户采用预设的解锁方式进行解锁。
在一种具体可实施方式中,电子设备还包括人脸认证管理器,响应于接收到用户对第二显示屏的第二操作,第二显示屏显示第二解锁界面,具体可以为:响应于接收到用户对第二显示屏的第二操作,第二应用向第一应用发送第二消息,第二消息中携带人脸认证的指示信息。第一应用将第二消息发送给人脸认证管理器。人脸认证管理器根据第二消息,对电子设备采集的人脸图像进行认证。在人脸图像认证通过之后,第二显示屏显示第二解锁界面。
在一些可实施方式中,该方法还可以包括:响应于接收到用户对第二显示屏的第二操作,第二显示屏显示第二提示信息,第二提示信息用于提醒用户进行人脸识别中。
在一种具体可实施方式中,第二提示信息的显示形式可以包括文本、图像或呼吸状态图标。
在一些可实施方式中,该方法还可以包括:在第二显示屏的屏幕状态为锁屏状态时,响应于接收到用户对第二显示屏的第三操作,第二显示屏的界面由第二锁屏界面切换至第二界面,第二界面用于显示下拉通知栏、通知、第三应用的卡片或第三应用的应用图标。
在一种具体可实施方式中,第一锁屏界面包括时间、日期和锁的图标;第二锁屏界面包括以下至少一项:应用图标、通知消息、天气状况、导航信息、解锁提示信息。
第三方面,本申请实施例提供了一种多屏的解锁装置,应用于电子设备,电子设备包括第一显示屏,第一显示屏对应第一应用,第二显示屏,及第二显示屏对应第二应用;该装置可以包括:响应于接收到用户对电子设备的第一操作,电子设备确定电子设备的状态为锁屏状态。第一显示屏通过第一应用实现第一锁屏界面的显示,第二显示屏通过第二应用实现第二锁屏界面的显示,第一锁屏界面与第二锁屏界面不同。响应于接收到用户对第二显示屏的第二操作,第二应用向第一应用发送第一消息。响 应于第一消息,第一应用通过第一显示屏显示第一解锁界面,并指示电子设备由锁屏状态切换至解锁状态。第一应用向第二应用发送第二消息。响应于第二消息,第二应用通过第二显示屏显示第二解锁界面。
其中,第一显示屏可以为主屏(或称大屏),第二显示屏可以为辅屏(或称小屏)。当然,第一显示屏可以为辅屏,第二显示屏可以为主屏,本申请实施例不做具体限定。在本申请实施例中,以“第一显示屏可以为主屏,第二显示屏可以为辅屏”为例进行说明。
在本申请实施例中,由于第一显示屏锁屏是通过第一应用实现,第二显示屏锁屏是通过第二应用实现,第一应用和第二应用是两个独立的应用。这样,第一显示屏和第二显示屏可以显示两个不同的锁屏界面,从而实现了各个屏幕差异化显示。同时,第一显示屏和第二显示屏也可以有不同的交互行为。用户可以单独操作第二显示屏来进行解锁,即用户可以在第二显示屏上进行解锁操作,使得解锁实时性较高,提高用户体验。当用户单独操作一个屏幕进行解锁时,不会影响另一个屏幕的锁屏界面。
在一种具体可实施方式中,电子设备还包括密码管理器,响应于接收到用户对第二显示屏的第二操作,第二应用向第一应用发送第一消息,具体可以为:响应于接收到用户对第二显示屏的第二操作,第二显示屏显示第一界面,第一界面包括密码输入区域。响应于接收到用户在密码输入区域内输入密码,第二应用向第一应用发送第一消息,第一消息携带密码。第一应用用于将密码发送给密码管理器,密码管理器验证密码;在密码验证通过之后,第一应用通过第一显示屏显示第一解锁界面。
在一种具体可实施方式中,电子设备还包括密码管理器,响应于接收到用户对第二显示屏的第二操作,第二应用向第一应用发送第一消息,具体可以为:响应于接收到用户对第二显示屏的第二操作,第二显示屏显示第一提示信息,第一提示信息用于提示用户采用预设的解锁方式进行解锁。
在一种具体可实施方式中,电子设备还包括人脸认证管理器,第一消息中携带人脸认证的指示信息。第一应用还用于将第一消息发送给人脸认证管理器,人脸认证管理器根据第一消息,对电子设备采集的人脸图像进行认证;在人脸图像认证通过之后,第一应用通过第一显示屏显示第一解锁界面。
在一些可实施方式中,该装置还可以包括:响应于接收到用户对第二显示屏的第二操作,第二显示屏显示第二提示信息,第二提示信息用于提醒用户进行人脸识别中。
在一种具体可实施方式中,第二提示信息的显示形式包括文本、图像或呼吸状态图标。
在一些可实施方式中,该装置还可以包括:在第二显示屏的屏幕状态为锁屏状态时,响应于接收到用户对第二显示屏的第三操作,第二显示屏的界面由第二锁屏界面切换至第二界面,第二界面用于显示下拉通知栏、通知、第三应用的卡片或第三应用的应用图标。
在一种具体可实施方式中,第一锁屏界面包括时间、日期和锁的图标;第二锁屏界面包括以下至少一项:应用图标、通知消息、天气状况、导航信息、解锁提示信息。
第四方面,本申请实施例提供了一种多屏的解锁装置,应用于电子设备,电子设备包括第一显示屏,第一显示屏对应第一应用,第二显示屏,及第二显示屏对应第二 应用;该装置可以包括:响应于接收到用户对电子设备的第一操作,电子设备确定电子设备的状态为锁屏状态。第一显示屏通过第一应用实现第一锁屏界面的显示,第二显示屏通过第二应用实现第二锁屏界面的显示,第一锁屏界面与第二锁屏界面不同。响应于接收到用户对第二显示屏的第二操作,第二显示屏显示第二解锁界面。第二应用指示电子设备由锁屏状态切换至解锁状态,及向第一应用发送第一消息。响应于第一消息,第一应用通过第一显示屏显示第一解锁界面。
其中,第一显示屏可以为主屏(或称大屏),第二显示屏可以为辅屏(或称小屏)。当然,第一显示屏可以为辅屏,第二显示屏可以为主屏,本申请实施例不做具体限定。在本申请实施例中,以“第一显示屏可以为主屏,第二显示屏可以为辅屏”为例进行说明。
本申请实施例中,由于第一显示屏锁屏是通过第一应用实现,第二显示屏锁屏是通过第二应用实现,第一应用和第二应用是两个独立的应用。这样,第一显示屏和第二显示屏可以显示两个不同的锁屏界面。同时,第一显示屏和第二显示屏也可以有不同的交互行为。用户可以单独操作第二显示屏来进行解锁,即用户可以在第二显示屏上进行解锁操作,使得解锁实时性较高,提高用户体验。当用户单独操作一个屏幕进行解锁时,不会影响另一个屏幕的锁屏界面。
本申请实施例中,由于第一显示屏锁屏是通过第一应用实现,第二显示屏锁屏是通过第二应用实现,第一应用和第二应用是两个独立的应用。第一显示屏和第二显示屏也可以有不同的交互行为。用户可以单独操作第二显示屏来进行解锁,即用户可以在第二显示屏上进行解锁操作,使得解锁实时性较高,提高用户体验。当用户单独操作一个屏幕进行解锁时,不会影响另一个屏幕的锁屏界面。
在一种具体可实施方式中,电子设备还包括密码管理器,响应于接收到用户对第二显示屏的第二操作,第二应用退出第二锁屏界面,具体可以为:响应于接收到用户对第二显示屏的第二操作,第二显示屏显示第一界面,第一界面包括密码输入区域。响应于接收到用户在密码输入区域内输入密码,第二应用通过第一应用将密码发送给密码管理器。密码管理器验证密码。在密码验证通过之后,第二显示屏显示第二解锁界面。
在一种具体可实施方式中,电子设备还包括密码管理器,响应于接收到用户对第二显示屏的第二操作,第二应用退出第二锁屏界面,具体可以为:响应于接收到用户对第二显示屏的第二操作,第二显示屏显示第一提示信息,第一提示信息用于提示用户采用预设的解锁方式进行解锁。
在一种具体可实施方式中,电子设备还包括人脸认证管理器,响应于接收到用户对第二显示屏的第二操作,第二显示屏显示第二解锁界面,具体可以为:响应于接收到用户对第二显示屏的第二操作,第二应用向第一应用发送第二消息,第二消息中携带人脸认证的指示信息。第一应用将第二消息发送给人脸认证管理器。人脸认证管理器根据第二消息,对电子设备采集的人脸图像进行认证。在人脸图像认证通过之后,第二显示屏显示第二解锁界面。
在一些可实施方式中,该装置还可以包括:响应于接收到用户对第二显示屏的第二操作,第二显示屏显示第二提示信息,第二提示信息用于提醒用户进行人脸识别中。
在一种具体可实施方式中,第二提示信息的显示形式可以包括文本、图像或呼吸状态图标。
在一些可实施方式中,该装置还可以包括:在第二显示屏的屏幕状态为锁屏状态时,响应于接收到用户对第二显示屏的第三操作,第二显示屏的界面由第二锁屏界面切换至第二界面,第二界面用于显示下拉通知栏、通知、第三应用的卡片或第三应用的应用图标。
在一种具体可实施方式中,第一锁屏界面包括时间、日期和锁的图标;第二锁屏界面包括以下至少一项:应用图标、通知消息、天气状况、导航信息、解锁提示信息。
第五方面,本申请实施例提供了一种电子设备,该设备包括:一个或多个处理器;以及存储器,所述存储器中存储有代码;当所述代码被所述电子设备执行时,使得所述电子设备执行如第一方面所述的方法。
第六方面,本申请实施例提供了一种芯片系统,该芯片系统应用于电子设备。该芯片系统包括一个或多个接口电路和一个或多个处理器;接口电路和处理器通过线路互联;接口电路用于从电子设备的存储器接收信号,并向处理器发送信号,信号包括存储器中存储的计算机指令;当处理器执行计算机指令时,使得电子设备执行如第一方面所述的方法。
第七方面,本申请实施例提供了一种计算机可读存储介质,包括计算机指令,当所述计算机指令在电子设备和服务器上运行时,使得所述电子设备执行如第一方面所述的方法。
第八方面,本申请实施例提供了一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如第一方面所述的方法。
其中,上述第三方面至第八方面中各个实施例的具体实施方式及对应的技术效果可以参见上述第一方面和第二方面的具体实施方式及技术效果。
在本申请实施例中,由于第一显示屏锁屏是通过第一应用实现,第二显示屏锁屏是通过第二应用实现,第一应用和第二应用是两个独立的应用。这样,第一显示屏和第二显示屏可以显示两个不同的锁屏界面。同时,第一显示屏和第二显示屏也可以有不同的交互行为。用户可以单独操作第二显示屏来进行解锁,即用户可以在第二显示屏上进行解锁操作,使得解锁实时性较高,提高用户体验。当用户单独操作一个屏幕进行解锁时,不会影响另一个屏幕的锁屏界面。
附图说明
图1A为一种折叠屏手机的主屏的锁屏界面的示意图;
图1B为一种折叠屏手机的辅屏的锁屏界面的示意图;
图2A为本申请实施例提供的一种折叠屏手机的主屏的锁屏界面的示意图;
图2B为本申请实施例提供的一种折叠屏手机的辅屏的锁屏界面的示意图;
图3为本申请实施例提供的一种电子设备的结构示意图;
图4为本申请实施例提供的一种电子设备的软件架构示意图;
图5A为本申请实施例提供的一种多屏的解锁方法流程图;
图5B为本申请实施例提供的一种多屏的解锁方法流程图;
图6A为本申请实施例提供的一种电子设备的第二显示屏的一种界面示意图;
图6B为本申请实施例提供的一种电子设备的第二显示屏的一种界面示意图;
图6C为本申请实施例提供的一种电子设备的第二显示屏的一种界面示意图;
图7A为本申请实施例提供的一种电子设备的第二显示屏的一种界面示意图;
图7B为本申请实施例提供的一种电子设备的第二显示屏的一种界面示意图;
图7C为本申请实施例提供的一种电子设备的第二显示屏的一种界面示意图;
图7D为本申请实施例提供的一种电子设备的第二显示屏的一种界面示意图;
图8A为本申请实施例提供的一种电子设备的第一显示屏的一种界面示意图;
图8B为本申请实施例提供的一种电子设备的第一显示屏的一种界面示意图;
图8C为本申请实施例提供的一种电子设备的第一显示屏的一种界面示意图;
图8D为本申请实施例提供的一种电子设备的第二显示屏的一种界面示意图;
图9A为本申请实施例提供的一种电子设备的第二显示屏的一种界面示意图;
图9B为本申请实施例提供的一种电子设备的第二显示屏的一种界面示意图;
图10为本申请实施例提供的电子设备的另一种结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,在本申请实施例的描述中,“多个”是指两个或多于两个。
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
目前,电子设备的显示屏个数不止一个。例如,电子设备可以为折叠屏手机。图1A中折叠屏手机处于展开状态,图1A中所示的2为折痕,图1B中折叠屏手机处于折叠状态。该折叠屏手机可以包括主屏1和辅屏3。当主屏和辅屏均处于锁屏状态时,主屏1显示图1A所示的锁屏界面101和辅屏3显示图1B所示的锁屏界面102。可见,锁屏界面101和锁屏界面102相同。当用户对辅屏进行解锁时,用户需要对主屏的锁屏界面101进行解锁操作。折叠屏手机的主屏接收用户的解锁操作。响应于该解锁操作,折叠屏手机的主屏进行解锁,并指示折叠屏手机的辅屏进行解锁。这样,在用户对折叠屏手机的辅屏进行解锁的过程中,用户需要操作主屏进行解锁,从而解锁辅屏,使得辅屏的解锁实时性较差,用户体验较差。
为了解决上述技术问题,在本申请实施例中,响应于接收到用户对电子设备的第一操作,电子设备确定电子设备的状态为锁屏状态。此时,第一显示屏显示第一锁屏界面,第二显示屏显示第二锁屏界面,第一锁屏界面与第二锁屏界面不同。响应于接收到用户对第二显示屏的第二操作,第二应用向第一应用发送第一消息。响应于第一消息,第一应用通过第一显示屏显示第一解锁界面,并指示电子设备由锁屏状态切换至解锁状态。第一应用向第二应用发送第二消息。响应于第二消息,第二应用通过第二显示屏显示第二解锁界面。由于第一显示屏锁屏是通过第一应用实现,第二显示屏 锁屏是通过第二应用实现,第一应用和第二应用是两个独立的应用。这样,第一显示屏和第二显示屏可以显示两个不同的锁屏界面。同时,第一显示屏和第二显示屏也可以有不同的交互行为。用户可以单独操作第二显示屏来进行解锁,即用户可以在第二显示屏上进行解锁操作,使得解锁实时性较高,提高用户体验。当用户单独操作一个屏幕进行解锁时,不会影响另一个屏幕的锁屏界面。
其中,“第一应用通过第一显示屏显示第一解锁界面,并指示电子设备由锁屏状态切换至解锁状态”,可以理解为,在第一应用通过第一显示屏显示第一解锁界面之后,第一应用指示电子设备由锁屏状态切换至解锁状态;或者,响应于第一消息,第一应用通过第一显示屏显示第一解锁界面。及,响应于第一消息,第一应用指示电子设备由锁屏状态切换至解锁状态。也就是说,响应于第一消息,第一应用可以同时做两件事,一件事是通过第一显示屏显示第一解锁界面,另一件事是指示电子设备由锁屏状态切换至解锁状态。本申请实施例可以不做具体限定。
为了解决上述技术问题,在另一些实施例中,响应于接收到用户对电子设备的第一操作,电子设备确定电子设备的状态为锁屏状态。此时,第一显示屏显示第一锁屏界面,第二显示屏显示第二锁屏界面,第一锁屏界面与第二锁屏界面不同。响应于接收到用户对第二显示屏的第二操作,第二显示屏显示第二解锁界面。第二应用指示电子设备由锁屏状态切换至解锁状态,及向第一应用发送第一消息。响应于第一消息,第一应用通过第一显示屏显示第一解锁界面。由于第一显示屏锁屏是通过第一应用实现,第二显示屏锁屏是通过第二应用实现,第一应用和第二应用是两个独立的应用。这样,第一显示屏和第二显示屏可以显示两个不同的锁屏界面。同时,第一显示屏和第二显示屏也可以有不同的交互行为。用户可以单独操作第二显示屏来进行解锁,即用户可以在第二显示屏上进行解锁操作,使得解锁实时性较高,提高用户体验。当用户单独操作一个屏幕进行解锁时,不会影响另一个屏幕的锁屏界面。
上述电子设备可以为具有多个显示屏的设备。在本申请实施例中电子设备的形态不做具体限定。例如,电子设备可以为可折叠设备,电子设备也可以为可拆分设备,电子设备还可以为普通形态的设备。
在一些实施例中,电子设备可以包括可折叠设备。当可折叠设备处于展开状态时,第一显示屏平铺可折叠设备的展开面。当可折叠设备处于折叠状态时,第二显示屏位于可折叠设备的外表面上。示例性的,可折叠设备可以为折叠屏手机。由于第一显示屏锁屏是通过第一应用实现,第二显示屏锁屏是通过第二应用实现,第一应用和第二应用是两个独立的应用。这样,第一显示屏和第二显示屏可以显示两个不同的锁屏界面。图2A为折叠屏手机的第一显示屏1的第一锁屏界面的示意图。图2B为折叠屏手机的第二显示屏2的第二锁屏界面的示意图。如图2A和图2B所示,第一锁屏界面103和第二锁屏界面104不同。当然,对于第一锁屏界面和第二锁屏界面包括但不限于图2A和图2B所示的界面,本申请实施例不做具体限定。
例如,该电子设备具体可以是手机、平板电脑、车载设备、笔记本电脑、智慧屏、可穿戴设备(如智能手表)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或个人数字助理(personal digital assistant,PDA)等设备,本申请实施例 对电子设备的设备类型不作任何限制。示例性的电子设备包括但不限于搭载
Figure PCTCN2022136860-appb-000001
Figure PCTCN2022136860-appb-000002
或者其他操作系统。
示例性的,图3示出了电子设备100的结构示意图。
如图3所示,设备100可以包括处理器310,外部存储器接口320,内部存储器331,通用串行总线(universal serial bus,USB)接口330,充电管理模块340,电源管理模块341,电池342,天线3,天线2,移动通信模块350,无线通信模块360,音频模块370,扬声器370A,受话器370B,麦克风370C,耳机接口370D,传感器模块380,按键390,马达393,指示器392,摄像头393,显示屏394,以及用户标识模块(subscriber identification module,SIM)卡接口395等。其中传感器模块380可以包括压力传感器380A,陀螺仪传感器380B,气压传感器380C,磁传感器380D,加速度传感器380E,距离传感器380F,接近光传感器380G,指纹传感器380H,温度传感器380J,触摸传感器380K,环境光传感器380L,骨传导传感器380M等。
可以理解的是,本发明实施例示意的结构并不构成对设备100的具体限定。在本申请另一些实施例中,设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器310可以包括一个或多个处理单元,例如:处理器310可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器310中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器310中的存储器为高速缓冲存储器。该存储器可以保存处理器310刚用过或循环使用的指令或数据。如果处理器310需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器310的等待时间,因而提高了系统的效率。
在一些实施例中,处理器310可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对设备100的结构限定。在本申请另一些实施例中,设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块340用于从充电器接收充电输入。其中,充电器可以是无线充电器, 也可以是有线充电器。在一些有线充电的实施例中,充电管理模块340可以通过USB接口330接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块340可以通过设备100的无线充电线圈接收无线充电输入。充电管理模块340为电池342充电的同时,还可以通过电源管理模块341为电子设备供电。
电源管理模块341用于连接电池342,充电管理模块340与处理器310。电源管理模块341接收电池342和/或充电管理模块340的输入,处理器310,内部存储器331,显示屏394,摄像头393,和无线通信模块360等供电。电源管理模块341还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块341也可以设置于处理器310中。在另一些实施例中,电源管理模块341和充电管理模块340也可以设置于同一个器件中。
设备100的无线通信功能可以通过天线1,天线2,移动通信模块350,无线通信模块360,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块350可以提供应用在设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块350可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块350可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块350还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块350的至少部分功能模块可以被设置于处理器310中。在一些实施例中,移动通信模块350的至少部分功能模块可以与处理器310的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器370A,受话器370B等)输出声音信号,或通过显示屏394显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器310,与移动通信模块350或其他功能模块设置在同一个器件中。
无线通信模块360可以提供应用在设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块360可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块360经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器310。无线通信模块360还可以从处理器310接收待发送的信号,对其进行调频,放大,经天线2转为电磁波 辐射出去。
在一些实施例中,设备100的天线1和移动通信模块350耦合,天线2和无线通信模块360耦合,使得设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(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,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
设备100通过GPU,显示屏394,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏394和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器310可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏394用于显示图像,视频等。显示屏394包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,设备100可以包括N个显示屏394,N为大于2的正整数。在一些实施例中,N个显示屏394可以包括第一显示屏和第二显示屏。第一显示屏显示如图8A-图8C所示的界面。第二显示屏显示如图6A-图7D、图8D至图9B所示的界面。
设备100可以通过ISP,摄像头393,视频编解码器,GPU,显示屏394以及应用处理器等实现拍摄功能。
ISP用于处理摄像头393反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头393中。
摄像头393用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,设备100可以包括1个或N个摄像头393,N为大于1的正 整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。设备100可以支持一种或多种视频编解码器。这样,设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口320可以用于连接外部存储卡,例如Micro SD卡,实现扩展设备100的存储能力。外部存储卡通过外部存储器接口320与处理器310通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器331可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器331可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器331可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器310通过运行存储在内部存储器331的指令,和/或存储在设置于处理器中的存储器的指令,执行设备100的各种功能应用以及数据处理。
设备100可以通过音频模块370,扬声器370A,受话器370B,麦克风370C,耳机接口370D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块370用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块370还可以用于对音频信号编码和解码。在一些实施例中,音频模块370可以设置于处理器310中,或将音频模块370的部分功能模块设置于处理器310中。
扬声器370A,也称“喇叭”,用于将音频电信号转换为声音信号。设备100可以通过扬声器370A收听音乐,或收听免提通话。
受话器370B,也称“听筒”,用于将音频电信号转换成声音信号。当设备100接听电话或语音信息时,可以通过将受话器370B靠近人耳接听语音。
麦克风370C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风370C发声,将声音信号输入到麦克风370C。设备100可以设置至少一个麦克风370C。在另一些实施例中,设备100可以设置两个麦克风370C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,设备100还可以设置三个,四个或更多麦克风370C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口370D用于连接有线耳机。耳机接口370D可以是USB接口330,也可以 是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器380A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器380A可以设置于显示屏394。压力传感器380A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器380A,电极之间的电容改变。设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏394,设备100根据压力传感器380A检测所述触摸操作强度。设备100也可以根据压力传感器380A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器380B可以用于确定设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器380B确定设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器380B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器380B检测设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消设备100的抖动,实现防抖。陀螺仪传感器380B还可以用于导航,体感游戏场景。
气压传感器380C用于测量气压。在一些实施例中,设备100通过气压传感器380C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器380D包括霍尔传感器。设备100可以利用磁传感器380D检测翻盖皮套的开合。在一些实施例中,当设备100是翻盖机时,设备100可以根据磁传感器380D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器380E可检测设备100在各个方向上(一般为三轴)加速度的大小。当设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器380F,用于测量距离。设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,设备100可以利用距离传感器380F测距以实现快速对焦。
接近光传感器380G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。设备100通过发光二极管向外发射红外光。设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定设备100附近有物体。当检测到不充分的反射光时,设备100可以确定设备100附近没有物体。设备100可以利用接近光传感器380G检测用户手持设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器380G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器380L用于感知环境光亮度。设备100可以根据感知的环境光亮度自适应调节显示屏394亮度。环境光传感器380L也可用于拍照时自动调节白平衡。环境 光传感器380L还可以与接近光传感器380G配合,检测设备100是否在口袋里,以防误触。
指纹传感器380H用于采集指纹。设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器380J用于检测温度。在一些实施例中,设备100利用温度传感器380J检测的温度,执行温度处理策略。例如,当温度传感器380J上报的温度超过阈值,设备100执行降低位于温度传感器380J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,设备100对电池342加热,以避免低温导致设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,设备100对电池342的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器380K,也称“触控器件”。触摸传感器380K可以设置于显示屏394,由触摸传感器380K与显示屏394组成触摸屏,也称“触控屏”。触摸传感器380K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏394提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器380K也可以设置于设备100的表面,与显示屏394所处的位置不同。
骨传导传感器380M可以获取振动信号。在一些实施例中,骨传导传感器380M可以获取人体声部振动骨块的振动信号。骨传导传感器380M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器380M也可以设置于耳机中,结合成骨传导耳机。音频模块370可以基于所述骨传导传感器380M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器380M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键390包括开机键,音量键等。按键390可以是机械按键。也可以是触摸式按键。设备100可以接收按键输入,产生与设备100的用户设置以及功能控制有关的键信号输入。
马达391可以产生振动提示。马达391可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏394不同区域的触摸操作,马达391也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
在本申请的实施例中,显示屏394的数量可以为多个。例如,显示屏394可以包括第一显示屏和第二显示屏。在第一显示屏和第二显示屏处于锁屏状态时,第一显示屏通过第一应用实现第一锁屏界面的显示,第二显示屏通过第二应用实现第二锁屏界面的显示。其中,第一应用和第二应用可以为电子设备的系统应用。内部存储器331可以存储有第一应用的代码,以及第二应用的代码。在一些实施例中,在用户操作第二显示屏时,第二应用向第一应用发送第一消息,该第一消息用于指示第一应用不显示锁屏界面。处理器310运行第一应用的代码,以使得第一应用通过第一显示屏显示第一解锁界面。此时,处理器310确定电子设备的状态由锁屏状态切换至解锁状态。同时,第一应用发送第二消息给第二应用,第二消息用于指示第二应用不显示锁屏界 面。处理器310运行第二应用的代码,以使得第二应用通过第二显示屏显示第二解锁界面。在另一些实施例中,在用户操作第二显示屏时,第二显示屏显示第二解锁界面。此时,第二应用指示处理器310确定将电子设备的状态切换至解锁状态。第二应用向第一应用发送第一消息,该第一消息用于指示第一应用不显示锁屏界面。此时,处理器310运行第一应用的代码,以使得第一应用通过第一显示屏显示第一解锁界面。
指示器392可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
当然,设备100还可以包括其他功能单元,本申请实施例对此不进行限定。
需要说明的是,设备100可以是台式机、便携式电脑、网络服务器、移动手机、平板电脑、无线终端、嵌入式设备、芯片系统或有图3中类似结构的设备。此外,图3中示出的组成结构并不构成对该通信装置的限定,除图3所示部件之外,该通信装置可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
本申请实施例中,芯片系统可以由芯片构成,也可以包括芯片和其他分立器件。
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
图4是本发明实施例的电子设备100的软件结构框图。
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将电子设备100的软件结构可以分为三层,从上至下分别为应用程序层,应用程序框架层,内核层。
应用程序层可以包括一系列应用程序包。
如图4所示,应用程序包可以包括第一锁屏应用(即第一应用),第二锁屏应用(即第二应用),相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。
第一锁屏应用,主要提供第一显示屏(或称主屏)锁屏状态下界面显示,主屏幕解锁操作,系统的加锁解锁状态变更管理,多个显示屏加锁解锁同步处理等。
第二锁屏应用,主要负责第二显示屏(或称辅屏)锁屏状态下的内容显示,用户在该屏幕下的解锁操作,提示,以及和系统状态保持同步等。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图4所示,应用程序框架层可以包括锁屏管理器(Keyguard管理服务),AMS,电源管理器,多屏管理器,指纹管理器,人脸认证管理器,密码管理器、声纹认证等。
锁屏管理器主要负责多个屏幕加解锁状态同步。
内核层是硬件和软件之间的层。内核层至少包含binder驱动,第一显示屏显示驱动,第二显示屏显示驱动,摄像头驱动,音频驱动,传感器驱动等。
下面结合锁屏场景,示例性说明电子设备100软件以及硬件的工作流程。
当触摸传感器180K接收到触摸操作,相应的硬件中断被发给内核层。内核层将触摸操作加工成原始输入事件(包括触摸坐标,触摸操作的时间戳等信息)。原始输入事 件被存储在内核层。应用程序框架层从内核层获取原始输入事件,识别该输入事件所对应的控件。以该触摸操作是触摸单击操作,该单击操作所对应的控件为第一锁屏应用图标的控件为例,第一锁屏应用调用应用框架层的接口,启动第一锁屏应用,进而通过调用内核层启动第一显示屏显示驱动,第一显示屏读取第一屏幕容器中的锁屏界面,并显示该锁屏界面。
申请实施例提供的一种多屏的解锁方法,该方法应用于电子设备。电子设备可以包括多个显示屏,每个显示屏对应一个锁屏应用。示例性的,电子设备可以包括第一显示屏和第二显示屏。第一显示屏对应第一锁屏应用(如上述第一应用),第二显示屏对应第二锁屏应用(如上述第二应用)。在本申请实施例中,以电子设备的第一显示屏是主屏,电子设备的第二显示屏是辅屏为例进行说明。进一步地,如图4所示,电子设备还可以包括锁屏管理器。第二锁屏应用通过锁屏管理器注册通信接口和回调接口。通信接口用于所述第二锁屏应用与第一锁屏应用通信。回调接口用于第一锁屏应用调用第二锁屏应用。
图5A为本申请实施例提供的一种多屏的解锁方法的流程示意图;图5B为本申请实施例提供的一种多屏的解锁方法的流程示意图。
参见图5A和图5B,本申请实施例提供的一种多屏的解锁方法的具体流程可以分不同阶段进行介绍,具体如下所述:
第一阶段,锁屏阶段。
S501、电子设备接收用户对电子设备的锁屏操作。
该锁屏操作可以包括灭屏操作、手势操作等。其中,手势操作可以包括滑动操作、按压操作、点击操作等。本申请实施例不做具体限定。
当然,该锁屏操作也可以根据电子设备的不同而不同。例如,电子设备可以是折叠屏手机,相应的,该锁屏操作可以包括折叠操作。例如,折叠屏手机折叠。电子设备也可以是普通的手机,相应的,该锁屏操作可以包括拔插智能(subscriber identity module,SIM)卡。电子设备还可以是平板电脑,相应的,该锁屏操作可以包括点击Home键。
S502、响应于该锁屏操作,电子设备的第一显示屏显示第一锁屏界面,电子设备的第二显示屏显示第二锁屏界面,第二锁屏界面与第一锁屏界面不同。
在一种具体可实现方式中,响应于第一锁屏操作,电子设备的第一锁屏应用(如上述第一应用)执行锁屏。此时,第一显示屏读取第一屏幕容器中的第一锁屏界面,并显示该第一锁屏界面。第一锁屏应用发送广播消息,该广播消息中携带第二锁屏应用(如上述第二应用)的标识和锁屏指示信息。第二锁屏应用接收到该广播消息,此时,第二显示屏读取第二屏幕容器中的第二锁屏界面,并显示该第二锁屏界面,该第二锁屏界面与第一锁屏界面不同。
其中,第一显示屏的显示内容和第二显示屏的显示内容不同,具体可实现为:
第一种,电子设备可以识别第一显示屏的相关规格信息,如,分辨率、每英寸点数(dots per inch,DPI)等。电子设备可以根据第一显示屏的相关规格信息为第一显示屏建立第一屏幕容器。该第一屏幕容器中可以存放第一锁屏应用的第一锁屏界面。同理,电子设备也可以识别第二显示屏的相关规格信息。电子设备可以根据第二显示 屏的相关规格信息为第二显示屏建立第二屏幕容器。该第二屏幕容器中可以存放第二锁屏应用的第二锁屏界面,第二锁屏界面与第一锁屏界面不同。其中,第一屏幕容器与第二屏幕容器可以通过不同的显示标识(Display ID)区分。
这样,电子设备的第一显示屏可以通过读取该第一屏幕容器中的第一锁屏界面,并显示第一锁屏界面。同理,电子设备的第二显示屏可以通过读取该第二屏幕容器中的第二锁屏界面,并显示第二锁屏界面。此时,第一显示屏显示的第一锁屏界面与第二显示屏显示的第二锁屏界面不同。
第二种,相较于第一种不同之处在于,电子设备可以将电子设备内的应用图标、应用界面、电子设备接收到的短信消息、状态栏、指定锁屏界面等信息转换成与第二显示屏的规格信息匹配的第二锁屏界面,并将该第二锁屏界面存放在第二屏幕容器中。后续,第一显示屏可以通过读取第一屏幕容器中的第一锁屏界面,并显示该第一锁屏界面。第二显示屏可以通过读取第二屏幕容器中的第二锁屏界面,并该第二锁屏界面与第一锁屏界面不同。这样,在同一操作系统下独立运行两种不同的锁屏界面。
在一种具体可实现方式中,假设电子设备为折叠屏手机。当用户使用该折叠手机播放音乐,且该折叠屏手机处于展开状态时,用户触发锁屏操作,例如,用户点击灭屏按钮。此时,折叠屏手机执行锁屏操作,该折叠屏手机可以显示图2A所示的锁屏界面103。当用户使用该折叠手机播放音乐,且该折叠屏手机处于折叠状态,即折叠屏手机的辅屏(第二显示屏)显示如图6A所示的界面时,用户触发锁屏操作,此时,折叠屏手机处于锁屏操作,该折叠屏手机可以显示图6B所示的锁屏界面104。当然,该折叠屏手机可以显示图6C所示的锁屏界面104。可见,主屏的锁屏界面(即第一锁屏界面)与辅屏的锁屏界面(即第二锁屏界面)不同。
当然,上述第二锁屏界面也可以显示为下拉通知栏、通知、第三应用的卡片或第三应用的应用图标。示例性的,第二显示屏可以显示如图7A所示的锁屏界面107,该锁屏界面107上可以显示定位、天气状况等信息,如,定位为江夏区、当前温度为15℃、今天最高气温为15℃、今天最低气温为7℃、天气为晴。第二显示屏也可以显示如图7B所示的锁屏界面108,该锁屏界面108上可以显示导航信息。如,定位类应用的图标、路标、及提示信息等,该提示信息可以为“23米后进入申江路”。第二显示屏还可以显示如图7C所示的锁屏界面109,该锁屏界面109上可以显示通知。例如,短信消息,该短信消息可以为“安柏这周末在上海东方艺术中心有日出,金星导演……”。第二显示屏还可以显示如图7D所示的锁屏界面110,该锁屏界面110上可以第三应用的应用图标。例如,第三应用的应用图标及提示信息,该提示信息为“屏幕锁保护中”等。当然,第二显示屏还可以显示其他内容,本申请实施例不再一一列举。
在一些实施例中,本申请实施例提供的一种多屏的解锁方法还可以包括:在第二显示屏的屏幕状态为锁屏状态时,响应于接收到用户对第二显示屏的操作一(如上述的第三操作),第二显示屏的界面由第二锁屏界面切换至界面一(如上述的第二界面)。该操作一可以包括手势操作,该手势操作可以包括滑动操作。例如,该滑动操作可以为沿着第一显示屏的一端向另一端滑动的操作。该滑动操作也可以为指定轨迹的滑动操作。本申请实施例不做具体限定。该界面一可以为与第二锁屏界面不同的锁屏界面。例如,第二锁屏界面为图6B或图6C所示的锁屏界面,界面一为图7A至图7D所示的 锁屏界面。
这里需要说明的是,响应于该锁屏操作,电子设备也可以确定电子设备的状态为锁屏状态。本步骤并非必要步骤。故,本申请实施例中对此步骤可以简单提及。
第二阶段,解锁阶段。
电子设备解锁可以采用以下方式实现:
第一种,用户操作第二显示屏,第二应用执行解锁。具体的如图5A所示:
S503、电子设备接收到用户对第二显示屏的解锁操作(如上述的第二操作)。
该解锁操作可以包括密码解锁操作、人脸认证解锁操作、指纹解锁操作等。当然,该解锁操作还可以包括其他解锁操作,如,声纹解锁操作等。本申请实施例不做具体限定。
S504、响应于接收到用户对第二显示屏的解锁操作(如上述的第二操作),第二显示屏显示第二解锁界面。
具体为,响应于用户的解锁操作,第二应用退出第二锁屏界面。也就是说,第二显示屏通过第二应用实现第二解锁界面的显示。
S505、第二应用指示电子设备由锁屏状态切换至解锁状态,及向第一应用发送第一消息。相应的,第一应用接收第一消息。
其中,第一消息用于指示第一应用不显示锁屏界面。该第一消息中可以携带用户的操作信息。
S506、响应于第一消息,第一应用通过第一显示屏显示第一解锁界面。
示例性的,第一显示屏可以为主屏(或称大屏),第二显示屏可以为辅屏(或称小屏);或者,第一显示屏可以为辅屏、第二显示屏可以为主屏。以下以对S503-S506进行详细说明,具体可以为:
方式一,密码解锁。
S11、响应于接收到用户对第二显示屏的操作二,第二显示屏显示界面二,该界面二上包括密码输入区。
该操作二可以包括手势操作,该手势操作可以包括滑动操作。例如,该滑动操作可以为沿着第二显示屏的一端向另一端滑动的操作。该滑动操作也可以为指定轨迹的滑动操作。本申请实施例不做具体限定。
该密码输入区可以包括数字键盘或手势区。
示例性的,以第二显示屏是主屏为例,用户在图8A所示的锁屏界面上上滑操作。电子设备的显示界面由图8A所示的界面103跳转在图8B所示的界面111。在该界面111上显示密码输入区。当用户输入密码之后,电子设备的界面可以跳转至图8C所示的界面112。当然,若电子设备在锁屏之前播放歌曲,那么,在用户输入密码之后,电子设备的界面可以跳转至歌曲的播放界面。
S12、响应于接收到用户在密码输入区中输入的密码,第二显示屏对应的第二锁屏应用向电子设备的密码管理器发送密码。
S13、密码管理器接收到密码,并对该密码进行验证。在密码验证通过之后,密码管理器生成验证成功信息,并向第二锁屏应用发送验证成功信息。
S14、第二显示屏通过第二锁屏应用显示第二解锁屏界面,并第二锁屏应用向第一 显示屏对应的第一锁屏应用发送消息一,该消息一用于指示第一锁屏应用进行锁屏解锁。
该消息一可以为广播消息,示例性的,该广播消息可以表示为android.intent.action.USER_PRESENT。
其中,第二显示屏通过第二锁屏应用显示第二解锁锁屏界面,具体可实现为:由于第二屏幕容器中可以存放第二锁屏应用的第二锁屏界面。所以,第二锁屏应用不驱动第二显示屏读取第二屏幕容器内的第二锁屏界面;或者,第二锁屏应用驱动第二显示屏停止读取第二屏幕容器内的第二锁屏界面。当然,还可以存在其他实现方式,本申请实施例不做具体限定。
S15、响应于消息一,第一锁屏应用通过第一显示屏显示第一锁屏界面。
方式二,人脸认证解锁。
S31、响应于接收到用户对第二显示屏的操作四,第二锁屏应用向人脸认证管理器发送消息二,消息二中携带人脸认证的指示信息。
该操作四可以与操作一相同,具体详见上述相关描述。本申请实施例不再赘述。
S32、人脸认证管理器根据消息二,触发电子设备采集人脸图像。
具体地,电子设备启动相机(如摄像头),通过相机采集用户的人脸图像。
S33、人脸认证管理器对电子设备采集的人脸图像进行认证。
具体地,人脸认证管理器将电子设备采集的人脸图像与预先存储的合法用户的人脸图像进行比对。
S34、在人脸图像认证通过之后,人脸认证管理器生成认证通过信息,并将该认证通过信息发送给第二锁屏应用。同时,电子设备确定屏幕状态由锁屏状态切换为解锁状态。
S35、第二锁屏应用向第一锁屏应用发送广播消息,该广播消息中携带认证通过信息和屏幕状态更新的提示信息。
示例性的,该广播消息可以表示为com.huawei.keyguard.action.KEYGUARD_AUTH_STATE。该广播消息携带参数包含生物认证方式如指纹,人脸,骨声纹,智能设备,以及认证结果。
S36、第二锁屏应用通过第二显示屏显示第二解锁界面。
第二锁屏应用解锁成功之后,第二锁屏应用可以发送解锁广播。示例性的,该解锁广播可以表示为android.intent.action.USER_PRESENT。
S37、响应于广播消息,第一锁屏应用通过第一显示屏显示第一解锁界面。
第二种,用户操作第二显示屏,第一应用执行解锁。具体的如图5B所示:
S503’、电子设备接收到用户对第二显示屏的解锁操作(如上述的第二操作)。
其中,S503’与S503相同,详见上述描述在此不做赘述。
S504’、响应于接收到用户对第二显示屏的解锁操作(如上述的第二操作),第二应用向第一应用发送第一消息。相应的,第一应用接收第一消息。
其中,第一消息用于指示第一应用不显示锁屏界面。该第一消息中可以携带用户的操作信息。例如,下文中所述的用户在第二界面上触发的人脸认证指示信息。
S505’、响应于第一消息,第一应用通过第一显示屏显示第一解锁界面。
S506’、第一应用指示电子设备由锁屏状态切换至解锁状态。
S507’、第一应用向第二应用发送第二消息。相应的,第二应用接收第二消息。
其中,第二消息用于指示第二应用不显示锁屏界面。
S508’、响应于第二消息,第二应用通过第二显示屏显示第二解锁界面。
示例性的,第一显示屏可以为主屏(或称大屏),第二显示屏可以为辅屏(或称小屏);或者,第一显示屏可以为辅屏、第二显示屏可以为主屏。以下以对S503-S506、S503’-S508’进行详细说明,具体可以为:
方式一,密码解锁。
S21、响应于接收到用户对第二显示屏的操作三(如上述的第二操作),第二显示屏显示界面三(如上述的第一界面),第一界面包括密码输入区域。
S22、响应于接收到用户在密码输入区域内输入密码,第二应用向第一应用发送第一消息,第一消息应用指示第一应用不显示锁屏界面,该第一消息中携带密码。第一应用将第一消息发送给密码管理器。
S23、密码管理器验证密码。
S24、在密码验证通过之后,第一应用通过第一显示屏显示第一解锁界面。
S25、第一应用向第二应用发送第二消息,该第二消息用于指示第二应用不显示解锁界面。相应的,第二应用接收到第二消息。
S26、响应于第二消息,第二应用通过第二显示屏显示第二解锁界面。
在本申请实施例中,S23-S24与S13-S15的描述相关内容相同,在彼此不再赘述。
在一种情况下,第二显示屏的尺寸较小,用户不便于在第二显示屏上输入密码。为了解决上述问题,本申请实施例提供的一种多屏的解锁方法还可以包括:响应于接收到用户对第二显示屏的第二操作,第二显示屏显示第一提示信息,第一提示信息用于提示用户采用预设的解锁方式进行解锁。示例性的,以电子设备是折叠屏手机为例,第二操作可以为用户在第二显示屏上的操作,例如,双击第二显示屏的第二锁屏界面的操作。当用户双击第二锁屏界面时,折叠屏手机的界面显示为图8D所示的界面113,在该界面113上,由于第二显示屏的尺寸较小不便于展示密码输入区,所以,在该界面上显示提示信息。例如,提示信息可以为“请展开手机解锁”。当然,提示信息也可以为“请上滑或指纹解锁”。本申请实施例在此不做具体限定。
方式二,人脸认证解锁。
S41、响应于接收到用户对第二显示屏的操作五(如上述第二操作),第二应用向第一应用发送消息三(如上述第一消息),该消息三中携带人脸认证的指示信息。
示例性的,该消息三可以为广播消息,该广播消息可以表示为com.huawei.keyguard.action.KEYGUARD_ASSISTAN_SCREEN。该广播消息携带参数包含触发人脸识别的指示。
在一些实施例中,响应于接收到用户对第二显示屏的第二操作,第二显示屏显示第二提示信息,第二提示信息用于提醒用户进行人脸识别中。
其中,第二提示信息的显示形式可以包括文本、图像或呼吸状态图标。
S42、第一应用将消息三发送给人脸认证管理器。
S43、人脸认证管理器根据消息三,对电子设备采集的人脸图像进行认证。
S44、在人脸图像认证通过之后,人脸认证管理器生成认证通过信息,并将该认证通 过信息发送给第一锁屏应用。同时,电子设备确定电子设备的状态由锁屏状态切换为解锁状态。
S45、第一锁屏应用向第二锁屏应用发送广播消息,该广播消息中携带认证通过信息和屏幕状态更新的提示信息。
S46、第一锁屏应用通过第一显示屏显示第一解锁界面。
S47、响应于广播消息,第二锁屏应用通过第二显示屏显示第二解锁界面。
在本申请实施例中,S43-S47与上述S32-S37的描述相关内容相同,在此不再赘述。
当然,电子设备的解锁除了可以采用上述第一种和第二种方式实现之外,还可以采用第三种方式,具体为:
第三种,指纹解锁。
用户在电子设备上进行指纹解锁。具体如下:
S51、电子设备采集用户的指纹信息。
S52、电子设备的指纹管理器对采集到的指纹信息与预先存储的合法用户的指纹信息进行比对。
S53、在指纹认证通过之后,指纹管理器生成指纹认证通过信息,并向第一锁屏应用发送指纹认证通过信息。
S54、第一锁屏应用向第二锁屏应用发送广播消息,该广播消息中携带指纹认证通过信息和状态更新指示信息。
S55、第一显示屏通过第一锁屏应用显示第一解锁界面。
S56、第一锁屏应用向第二锁屏锁屏应用发送解锁广播,该解锁广播中携带锁屏解锁指示。
S57、响应于根据广播信息,第二锁屏应用通过第二显示屏显示第二解锁界面。
示例性的,电子设备的锁屏界面显示为应用图标,如,电子设备显示图9A所示的锁屏界面,当用户在电子设备的指纹采集区输入指纹之后,电子设备的显示界面由图9A所示的界面110跳转至图9B所示的界面114。在该界面114上显示有应用的登录二维码。用户可以通过电子设备扫描登录二维码登录相应应用。
以上是以电子设备为手机为例进行说明的,本申请实施例提供的多屏的解锁方法还可以应用于平板或车机等其他电子设备,本申请实施例不再细述。
可以理解的是,为了实现上述功能,电子设备包含了执行各个功能相应的硬件和/或软件模块。结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以结合实施例对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本实施例可以根据上述方法示例对电子设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块可以采用硬件的形式实现。需要说明的是,本实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
例如,在一种划分方式中,参见图10,该电子设备1000可以包括:显示模块1001, 处理模块1002,通信模块1003和存储模块1004。
其中,显示模块1001可以用于支持电子设备1000显示用户界面。例如,显示模块1001可以用于支持电子设备1000执行图5A所示流程中的S502、S506,图5B所示流程中的S505’、S508’等,和/或用于本文所描述的技术的其他过程。
处理模块1002可以用于对电子设备1000的动作进行控制管理。例如,处理模块1002可以用于支持电子设备1000执行图5A所示流程中的S501、S503、S504、S505,图5B所示流程中的S503’、S504’、S505’、S506’、S507’等,和/或用于本文所描述的技术的其他过程。
通信模块1003可以用于支持电子设备1000与其他设备的通信。例如,通信模块1003可以用于支持电子设备1000执行图5A所示流程中的S504,图5B所示流程中的S504’、S506’等,和/或用于本文所描述的技术的其他过程。
存储模块1004可以用于存储指令和数据,例如存储第一应用的代码,存储电子设备1000通过通信模块获取的OpenID,存储用户输入的用户账号等信息。
其中,显示模块1001可以显示器,例如具体可以是图3所示硬件结构中的显示屏394。处理模块1002可以是处理器或控制器。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,数字信号处理(digital signal processing,DSP)和微处理器的组合等等。例如,处理模块1002具体可以是图3所示硬件结构中的处理器310。通信模块1003可以为射频电路、蓝牙芯片、Wi-Fi芯片等与其他电子设备交互的设备。例如,通信模块1003可以包括图3所示硬件结构中的移动通信模块350、无线通信模块360、天线1或天线2等。存储模块1004可以是存储器,例如具体可以是图3所示硬件结构中的内部存储器331。
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
本申请实施例还提供一种电子设备,包括一个或多个处理器以及一个或多个存储器。该一个或多个存储器与一个或多个处理器耦合,一个或多个存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,当一个或多个处理器执行计算机指令时,使得电子设备执行上述相关方法步骤实现上述实施例中的多屏的解锁方法。
本申请的实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在电子设备上运行时,使得电子设备执行上述相关方法步骤实现上述实施例中的多屏的解锁方法。
本申请的实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中电子设备执行的多屏的解锁方法。
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中电子设备执行的多屏的解锁方法。
本申请的实施例还提供一种芯片系统,该芯片系统应用于电子设备,该芯片系统 包括一个或多个接口电路和一个或多个处理器。其中,接口电路和处理器通过线路互联;接口电路用于从该电子设备的存储器接收信号,并向处理器发送信号,信号包括存储器中存储的计算机指令。当处理器执行计算机指令时,使得该电子设备执行上述各方法实施例提供的多屏的解锁方法。
其中,本实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
本申请另一实施例提供了一种系统,该系统中的各设备可以用于实现上述各方法实施例中的多屏的解锁方法。
通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (20)

  1. 一种多屏的解锁方法,应用于电子设备,所述电子设备包括第一显示屏,所述第一显示屏对应第一应用,第二显示屏,及所述第二显示屏对应第二应用;其特征在于,包括:
    响应于接收到用户对所述电子设备的第一操作,所述电子设备确定所述电子设备的状态为锁屏状态;
    所述第一显示屏通过所述第一应用实现第一锁屏界面的显示,所述第二显示屏通过所述第二应用实现第二锁屏界面的显示,所述第一锁屏界面与所述第二锁屏界面不同;
    响应于接收到用户对所述第二显示屏的第二操作,所述第二应用向所述第一应用发送第一消息;
    响应于所述第一消息,所述第一应用通过所述第一显示屏显示第一解锁界面,并指示所述电子设备由所述锁屏状态切换至解锁状态;
    所述第一应用向所述第二应用发送第二消息;
    响应于所述第二消息,所述第二应用通过所述第二显示屏显示第二解锁界面。
  2. 根据权利要求1所述的方法,其特征在于,所述电子设备还包括密码管理器,响应于接收到用户对所述第二显示屏的第二操作,所述第二应用向所述第一应用发送第一消息,包括:
    响应于接收到用户对所述第二显示屏的第二操作,所述第二显示屏显示第一界面,所述第一界面包括密码输入区域;
    响应于接收到用户在所述密码输入区域内输入密码,所述第二应用向所述第一应用发送所述第一消息,所述第一消息携带所述密码;
    所述第一应用用于将所述密码发送给所述密码管理器,所述密码管理器验证所述密码;在所述密码验证通过之后,所述第一应用通过所述第一显示屏显示第一解锁界面。
  3. 根据权利要求1所述的方法,其特征在于,还包括:
    响应于接收到用户对所述第二显示屏的第二操作,所述第二显示屏显示第一提示信息,所述第一提示信息用于提示用户采用预设的解锁方式进行解锁。
  4. 根据权利要求1所述的方法,其特征在于,所述电子设备还包括人脸认证管理器,所述第一消息中携带人脸认证的指示信息;
    所述第一应用还用于将所述第一消息发送给所述人脸认证管理器,所述人脸认证管理器根据所述第一消息,对所述电子设备采集的人脸图像进行认证;在所述人脸图像认证通过之后,所述第一应用通过所述第一显示屏显示第一解锁界面。
  5. 根据权利要求4所述的方法,其特征在于,还包括:
    响应于接收到用户对所述第二显示屏的第二操作,所述第二显示屏显示第二提示信息,所述第二提示信息用于提醒用户进行人脸识别中。
  6. 根据权利要求5所述的方法,其特征在于,所述第二提示信息的显示形式包括文本、图像或呼吸状态图标。
  7. 根据权利要求1-6中任一项所述的方法,其特征在于,还包括:
    在所述第二显示屏的屏幕状态为锁屏状态时,响应于接收到用户对所述第二显示屏的第三操作,所述第二显示屏的界面由所述第二锁屏界面切换至所述第二界面,所述第二界面用于显示下拉通知栏、通知、第三应用的卡片或所述第三应用的应用图标。
  8. 根据权利要求1-7中任一项所述的方法,其特征在于,所述第一锁屏界面包括时间、日期和锁的图标;所述第二锁屏界面包括以下至少一项:应用图标、通知消息、天气状况、导航信息、解锁提示信息。
  9. 一种多屏的解锁方法,应用于电子设备,所述电子设备包括第一显示屏,所述第一显示屏对应第一应用,第二显示屏,及所述第二显示屏对应第二应用;其特征在于,包括:
    响应于接收到用户对所述电子设备的第一操作,所述电子设备确定所述电子设备的状态为锁屏状态;
    所述第一显示屏通过所述第一应用实现第一锁屏界面的显示,所述第二显示屏通过所述第二应用实现第二锁屏界面的显示,所述第一锁屏界面与所述第二锁屏界面不同;
    响应于接收到用户对所述第二显示屏的第二操作,所述第二显示屏显示第二解锁界面;
    所述第二应用指示所述电子设备由所述锁屏状态切换至解锁状态,及向所述第一应用发送第一消息;
    响应于所述第一消息,所述第一应用通过所述第一显示屏显示第一解锁界面。
  10. 根据权利要求9所述的方法,其特征在于,所述电子设备还包括密码管理器,响应于接收到用户对所述第二显示屏的第二操作,所述第二显示屏显示第二解锁界面,包括:
    响应于接收到用户对所述第二显示屏的第二操作,所述第二显示屏显示第一界面,所述第一界面包括密码输入区域;
    响应于接收到用户在所述密码输入区域内输入密码,所述第二应用通过所述第一应用将所述密码发送给所述密码管理器;
    所述密码管理器验证所述密码;
    在所述密码验证通过之后,所述第二显示屏显示第二解锁界面。
  11. 根据权利要求9所述的方法,其特征在于,所述电子设备还包括密码管理器,响应于接收到用户对所述第二显示屏的第二操作,所述第二显示屏显示第二解锁界面,包括:
    响应于接收到用户对所述第二显示屏的第二操作,所述第二显示屏显示第一提示信息,所述第一提示信息用于提示用户采用预设的解锁方式进行解锁。
  12. 根据权利要求9所述的方法,其特征在于,所述电子设备还包括人脸认证管理器,响应于接收到用户对所述第二显示屏的第二操作,所述第二显示屏显示第二解锁界面,包括:
    响应于接收到用户对所述第二显示屏的第二操作,所述第二应用向所述第一应用发送第二消息,所述第二消息中携带人脸认证的指示信息;
    所述第一应用将所述第二消息发送给所述人脸认证管理器;
    所述人脸认证管理器根据所述第二消息,对所述电子设备采集的人脸图像进行认证;
    在所述人脸图像认证通过之后,所述第二显示屏显示第二解锁界面。
  13. 根据权利要求12所述的方法,其特征在于,还包括:
    响应于接收到用户对所述第二显示屏的第二操作,所述第二显示屏显示第二提示信息,所述第二提示信息用于提醒用户进行人脸识别中。
  14. 根据权利要求13所述的方法,其特征在于,所述第二提示信息的显示形式包括文本、图像或呼吸状态图标。
  15. 根据权利要求9-14中任一项所述的方法,其特征在于,还包括:
    在所述第二显示屏的屏幕状态为锁屏状态时,响应于接收到用户对所述第二显示屏的第三操作,所述第二显示屏的界面由所述第二锁屏界面切换至所述第二界面,所述第二界面用于显示下拉通知栏、通知、第三应用的卡片或所述第三应用的应用图标。
  16. 根据权利要求9-15中任一项所述的方法,其特征在于,所述第一锁屏界面包括时间、日期和锁的图标;所述第二锁屏界面包括以下至少一项:应用图标、通知消息、天气状况、导航信息、解锁提示信息。
  17. 一种电子设备,其特征在于,包括:一个或多个处理器;以及存储器,所述存储器中存储有代码;当所述代码被所述一个或多个处理器执行时,使得所述电子设备执行如权利要求1-8任一项所述的方法,或者,所述电子设备执行如权利要求9-16任一项所述的方法。
  18. 一种芯片系统,其特征在于,该芯片系统应用于电子设备,该芯片系统包括一个或多个接口电路和一个或多个处理器;接口电路和处理器通过线路互联;接口电路用于从电子设备的存储器接收信号,并向处理器发送信号,信号包括存储器中存储的计算机指令;当处理器执行计算机指令时,使得电子设备执行如权利要求1-8任一项所述的方法,或者,所述电子设备执行如权利要求9-16任一项所述的方法。
  19. 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1-8任一项所述的方法,或者,所述电子设备执行如权利要求9-16任一项所述的方法。
  20. 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1-8任一项所述的方法,或者,所述电子设备执行如权利要求9-16任一项所述的方法。
PCT/CN2022/136860 2021-12-22 2022-12-06 一种多屏的解锁方法和电子设备 WO2023116414A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111585380.6 2021-12-22
CN202111585380.6A CN116346976A (zh) 2021-12-22 2021-12-22 一种多屏的解锁方法和电子设备

Publications (1)

Publication Number Publication Date
WO2023116414A1 true WO2023116414A1 (zh) 2023-06-29

Family

ID=86874801

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/136860 WO2023116414A1 (zh) 2021-12-22 2022-12-06 一种多屏的解锁方法和电子设备

Country Status (2)

Country Link
CN (1) CN116346976A (zh)
WO (1) WO2023116414A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104052873A (zh) * 2014-06-09 2014-09-17 宇龙计算机通信科技(深圳)有限公司 终端、多屏的解锁装置、方法及屏幕不同区域的解锁方法
CN106919337A (zh) * 2017-03-13 2017-07-04 上海青橙实业有限公司 解锁方法及翻盖手机
CN109190356A (zh) * 2018-07-11 2019-01-11 维沃移动通信有限公司 一种屏幕解锁方法及终端
CN110177167A (zh) * 2019-05-17 2019-08-27 珠海格力电器股份有限公司 解锁方法及装置
CN113542462A (zh) * 2019-02-02 2021-10-22 华为技术有限公司 一种具有柔性屏幕的电子设备的显示方法及电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104052873A (zh) * 2014-06-09 2014-09-17 宇龙计算机通信科技(深圳)有限公司 终端、多屏的解锁装置、方法及屏幕不同区域的解锁方法
CN106919337A (zh) * 2017-03-13 2017-07-04 上海青橙实业有限公司 解锁方法及翻盖手机
CN109190356A (zh) * 2018-07-11 2019-01-11 维沃移动通信有限公司 一种屏幕解锁方法及终端
CN113542462A (zh) * 2019-02-02 2021-10-22 华为技术有限公司 一种具有柔性屏幕的电子设备的显示方法及电子设备
CN110177167A (zh) * 2019-05-17 2019-08-27 珠海格力电器股份有限公司 解锁方法及装置

Also Published As

Publication number Publication date
CN116346976A (zh) 2023-06-27

Similar Documents

Publication Publication Date Title
US20220222027A1 (en) Display Control Method and Related Apparatus
WO2020259452A1 (zh) 一种移动终端的全屏显示方法及设备
CN110536004B (zh) 多传感器应用于具有柔性屏幕的电子设备的方法及电子设备
WO2021213164A1 (zh) 应用界面交互方法、电子设备和计算机可读存储介质
WO2021104008A1 (zh) 一种折叠屏的显示方法及相关装置
CN114840825B (zh) 智能终端的登录方法及电子设备
CN113496426A (zh) 一种推荐服务的方法、电子设备和系统
CN112751954B (zh) 一种操作提示的方法和电子设备
WO2020088633A1 (zh) 支付方法、装置和用户设备
CN114125130B (zh) 控制通信服务状态的方法、终端设备和可读存储介质
CN111835530B (zh) 群组加入方法及装置
CN112506386A (zh) 一种折叠屏显示方法及电子设备
CN110248037B (zh) 一种身份证件扫描方法及装置
CN114095599B (zh) 消息显示方法和电子设备
CN112130788A (zh) 一种内容分享方法及其装置
WO2021238370A1 (zh) 显示控制方法、电子设备和计算机可读存储介质
CN112445276A (zh) 一种折叠屏显示应用方法及电子设备
CN112930533A (zh) 一种电子设备的控制方法及电子设备
CN110138999B (zh) 一种用于移动终端的证件扫描方法及装置
CN114253349A (zh) 一种折叠设备及其开合控制方法
WO2022048453A1 (zh) 解锁方法及电子设备
WO2021082620A1 (zh) 一种图像识别方法及电子设备
CN111886849B (zh) 一种传输信息的方法及电子设备
WO2022062902A1 (zh) 一种文件传输方法和电子设备
WO2021147483A1 (zh) 数据分享的方法和装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22909729

Country of ref document: EP

Kind code of ref document: A1