WO2021175272A1 - 一种应用信息的显示方法及相关设备 - Google Patents

一种应用信息的显示方法及相关设备 Download PDF

Info

Publication number
WO2021175272A1
WO2021175272A1 PCT/CN2021/078973 CN2021078973W WO2021175272A1 WO 2021175272 A1 WO2021175272 A1 WO 2021175272A1 CN 2021078973 W CN2021078973 W CN 2021078973W WO 2021175272 A1 WO2021175272 A1 WO 2021175272A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
electronic device
information
view
locked
Prior art date
Application number
PCT/CN2021/078973
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 华为技术有限公司
Priority to EP21765192.6A priority Critical patent/EP4102363A4/en
Priority to US17/905,608 priority patent/US20230110015A1/en
Publication of WO2021175272A1 publication Critical patent/WO2021175272A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/629Protecting access to data via a platform, e.g. using keys or access control rules to features or functions of an application
    • 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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • H04M1/724631User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device by limiting the access to the user interface, e.g. locking a touch-screen or a keypad

Definitions

  • This application relates to the field of electronic technology, and in particular to a method for displaying application information and related equipment.
  • App lock is a function on smart phones to protect private information in apps. If an application is locked by the application lock, when the user opens or jumps from the current interface to the protected application, the smartphone will display the lock interface to verify the user's identity. After the user unlocks successfully, the smart phone displays the user interface in this application.
  • the information in the application is not only displayed in the user interface of the application, but also presented in other forms, for example, displayed in a widget on the main screen, displayed in a message notification interface, and so on. How to improve the security of application information is an urgent problem to be solved by those skilled in the art.
  • the present application provides a method and related device for displaying application information, which can improve the security of application information.
  • an embodiment of the present application provides a method for displaying application information.
  • the method includes: an electronic device detects an update event of first application information, where the first application information is a widget or a notification message, and The first application information has a corresponding relationship with the first application; in response to the update event of the first application information, the electronic device determines that the first application is locked by the application lock, then the electronic device is The locked view is displayed above the first application information.
  • the first application information may be a view 401 of a calendar application, and the first application may be a calendar application.
  • the calendar application is locked by the application, and the electronic device displays the locked view above the view 401 of the calendar application, and the locked view may be the locked view 403.
  • the first application information may be a notification message 1001 of a calendar application, and the locked view may be a locked view 1002.
  • the first application information may also be a notification message 1003 of a calendar application, and the locked view may be a locked view 1004. In this way, when an application is locked by the application lock, the electronic device will display the lock view on the widget or notification message corresponding to the application, which can protect user privacy and improve the security of application information.
  • the first application information is a widget
  • the update event of the first application information includes: the electronic device switches from displaying other interfaces to displaying the main screen, and the electronic device The device switches from the off-screen state to display the main screen, or adds the first application information to one or more items in the main screen; wherein, the other interface is the user interface displayed by the electronic device except for The user interface outside the main screen; the first application information is a notification message, and the update event of the first application information includes: the first application receives the notification message, and the current time reaches the preset of the notification message Display time, or call one or more items in the notification message list.
  • the electronic device determines that the first application is locked by an application lock
  • the electronic device displays a lock view above the first application information, including: The electronic device determines that the first application is locked by the application lock, and the first application is in an unlocked state, the electronic device displays a locked view above the first application information.
  • the electronic device determining that the first application is in the unlocked state includes: the electronic device determining that the current time is more than a first preset time period from the time when the application lock of the first application is successfully unlocked last time; The electronic device determines that the current time is more than the second preset time period from the time when the user interface of the first application was last displayed; after the electronic device determines that the application lock of the first application was successfully unlocked the last time, the electronic device One or more items in the lock screen have been performed.
  • FIG. 4D For this possible implementation manner, reference may be made to the embodiment corresponding to FIG. 4D.
  • the lock view will be displayed above the application information corresponding to the application, which can protect the application information from being leaked and improve the security of the application information sex.
  • the electronic device directly displays application information, which can reduce user operations and improve the efficiency of users viewing application information.
  • the electronic device determines that the first application is locked by an application lock
  • the electronic device displays a lock view above the first application information, including: The electronic device determines that the first application is locked by the application lock, and the data in the first application information is in an unlocked state, the electronic device displays a locked view above the first application information.
  • FIG. 5C reference may be made to the embodiment corresponding to FIG. 5C. In this way, when the application provides the application information in the locked state, the electronic device can display the application information normally, and the locking method of the application information of the application itself can be retained.
  • the electronic device determines that the first application is locked by an application lock
  • the electronic device displays a lock view above the first application information, including:
  • the electronic device determines that the first application is locked by the application lock, and the data in the first application information includes data in the locked state, then the electronic device is in the locked state in the first application information
  • the locked view is displayed above the.
  • the first application information can be the view 511 of the calendar application.
  • the display data "coal chemical project report meeting all day” and "community owner committee election 5:50 pm-8:00 pm" are locked.
  • the locked view may be a locked view 512. In this way, the electronic device can encrypt and display the information that needs to be protected, and display conventional information normally.
  • the electronic device determines that the first application is locked by an application lock
  • the electronic device displays a lock view above the first application information, including: The electronic device determines that the first application is locked by the application lock, the first application is in an unlocked state, and the data in the first application information is in an unlocked state, then the electronic device is in the first application
  • the locked view is displayed above the message.
  • the method further includes: the electronic device detects an operation on the locked view; in response to the operation, the electronic device displays a password input box, so The password input box is used to receive an unlocking password or an unlocking track; the electronic device receives the inputted unlocking password or an unlocking track; when the electronic device determines that the unlocking password is the same as the pre-stored unlocking password, or the unlocking track is the same as the pre-stored unlocking When the track is the same, the electronic device unlocks the locked view.
  • the operation for locking the view may be an operation for locking the view 701.
  • the password input box may be a password input box 703 or a graphic password 704.
  • the locked view displayed by the electronic device may include a password input box. The user can directly enter the unlock password through the password input box, or enter the unlock track through the graphic password, without operating the locked view.
  • the locked view 1006 includes a password input box 1007.
  • the locked view 1008 includes a password input box 1009.
  • the electronic device detects an operation on the locked view; in response to the operation, the electronic device may display a dialog box, which may include a password input box.
  • the dialog box may refer to the dialog box 705 in FIG. 7D, and the dialog box may also be the dialog box 707 in FIG. 7E.
  • the method further includes: the electronic device detects an operation on the locked view; in response to the operation, the electronic device acquires the physiological data of the user,
  • the physiological data includes one or more of fingerprint information, voiceprint information, iris information, and facial information; when the electronic device determines that the physiological data matches the pre-stored physiological data, the electronic device The locked view is unlocked.
  • the first application information includes second application information and third application information
  • the method further includes: the electronic The device detects a touch operation for the target lock view, and the target lock view is one of the lock view on the second application information and the lock view on the third application information; the electronic device passes The screen area where the target lock view is located acquires the user's fingerprint information; when the electronic device determines that the fingerprint information matches the pre-stored fingerprint information, and the target lock view is the lock view on the second application information, The electronic device unlocks the lock view above the second application information; when the electronic device determines that the fingerprint information matches the pre-stored fingerprint information, and the target lock view is the lock on the third application information When viewing, the electronic device unlocks the locked view above the third application information.
  • the locked view on the second application information may be the locked view 711
  • the locked view on the third application information may be the locked view 712.
  • the first application information is multiple, and the first application information includes fourth application information and fifth application information.
  • the main screen of the electronic device also includes a third application.
  • the information or the notification message list of the electronic device further includes third application information, and the method further includes: the electronic device collects the user's eyeball position and facial information; and the electronic device determines the human eye position according to the eyeball position.
  • Gaze position when the electronic device determines that the facial information matches the pre-stored facial information, and the gaze position corresponds to the locked view above the fourth application information, the electronic device responds to the fourth application Unlock the locked view above the information; when the electronic device determines that the facial information matches the pre-stored facial information, and the gaze position corresponds to the locked view above the fifth application information, the electronic device The lock view above the fifth application information is unlocked.
  • the electronic device can collect the eye position of the user through the camera 193 to determine the current gaze position of the human eye, and then determine the application information corresponding to the gaze position as the locked view 733 according to the gaze position.
  • the electronic device determines that the facial information recognized according to the user image acquired by the camera 193 matches the pre-stored facial information, and the electronic device unlocks the locked view 733.
  • an embodiment of the present application provides a method for displaying application information.
  • the method includes: the electronic device detects an operation of calling out a historical task interface, and the historical task interface includes a background operation of the electronic device. Or multiple application user interfaces; in response to the operation of the call history task interface, the electronic device determines that the first application is locked by the application lock, then the electronic device displays the lock view above the application interface of the first application ,
  • the first application is an application corresponding to a user interface in the historical task interface.
  • the historical task interface includes a contact application interface 1201, a WeChat application interface 1201, and an email application interface 1203.
  • the WeChat application on the electronic device is locked by the application lock, and the electronic device displays a locked view above the WeChat application interface 1201.
  • the electronic device can lock the application interface of the application in the historical task interface, which can avoid the leakage of application information and improve the security of the application information.
  • the electronic device determines that the first application is locked by the application lock, the electronic device displays a lock view above the application interface of the first application, including: If the electronic device determines that the first application is locked by the application lock and the first application is in an unlocked state, the electronic device displays a locked view above the application interface of the first application; wherein, the electronic device determines The first application being in the unlocked state includes: the electronic device determining that the current time is more than a first preset time period from the time at which the application lock of the first application is last successfully unlocked; and the electronic device determining that the current time is the closest The time at which the user interface of the first application is displayed once exceeds the second preset time period; after the electronic device determines that the application lock of the first application is successfully unlocked last time, the electronic device performs one of the screen locks. Item or multiple items.
  • the electronic device determines that the first application is locked by the application lock
  • the electronic device displays a lock view above the application interface of the first application, including: The electronic device determines that the first application is locked by the application lock, and the data in the application interface of the first application is in an unlocked state, the electronic device displays a locked view above the application interface of the first application.
  • the electronic device determines that the first application is locked by an application lock
  • the electronic device displays a lock view above the application interface of the first application, including: If the electronic device determines that the first application is locked by the application lock, and the data in the application interface of the first application includes data in a locked state, the electronic device is in the application interface of the first application The locked view is displayed above the data in the locked state.
  • the electronic device determines that the first application is locked by an application lock
  • the electronic device displays a lock view above the application interface of the first application, including: If the electronic device determines that the first application is locked by the application lock, the first application is in an unlocked state, and the data in the application interface of the first application is in an unlocked state, the electronic device is in the unlocked state.
  • the lock view is displayed above the application interface of the first application.
  • the method further includes: the electronic device detects an operation on the locked view; in response to the operation, the electronic device displays a password input box, so The password input box is used to receive an unlocking password or an unlocking track; the electronic device receives the inputted unlocking password or an unlocking track; when the electronic device determines that the unlocking password is the same as the pre-stored unlocking password, or the unlocking track is the same as the pre-stored unlocking When the track is the same, the electronic device unlocks the locked view.
  • the method further includes: the electronic device detects an operation on the locked view; in response to the operation, the electronic device acquires the physiological data of the user,
  • the physiological data includes one or more of fingerprint information, voiceprint information, iris information, and facial information; when the electronic device determines that the physiological data matches the pre-stored physiological data, the electronic device The locked view is unlocked.
  • the historical task interface includes the user interface of the electronic device running multiple applications in the background, and the historical task interface includes the application interface of the second application and the third application interface.
  • An application interface of an application the method further includes: the electronic device detects a touch operation for the target lock view, and the target lock view is the lock view on the application interface of the second application and the first One of the lock views on the application interface of the three applications; the electronic device obtains the user's fingerprint information through the screen area where the target lock view is located; when the electronic device determines that the fingerprint information matches the pre-stored fingerprint information , And when the target lock view is the lock view on the application interface of the second application, the electronic device unlocks the lock view above the application interface of the second application; when the electronic device determines the fingerprint information When it matches the pre-stored fingerprint information and the target lock view is the lock view on the application interface of the third application, the electronic device unlocks the lock view above the application interface of the third application.
  • the historical task interface includes a user interface of multiple applications running in the background of the electronic device, and the historical task interface includes an application interface of a fourth application and a fifth application.
  • the method further includes: the electronic device collects the user's eyeball position and facial information; the electronic device determines the gaze position of the human eye according to the eyeball position; when the electronic device determines that the facial information is When the pre-stored facial information matches and the gaze position corresponds to the locked view above the application interface of the fourth application, the electronic device unlocks the locked view above the application interface of the fourth application; When the electronic device determines that the facial information matches the pre-stored facial information, and the gaze position corresponds to the locked view above the application interface of the fifth application, the electronic device controls the application interface of the fifth application The upper lock view is unlocked.
  • an embodiment of the present application provides a method for displaying application information.
  • the method includes: the electronic device receives a voice instruction, and the voice instruction is used to obtain application information in a first application; A voice instruction, the electronic device determines that the first application is locked by the application lock, the electronic device does not display or broadcast the application information corresponding to the voice instruction, or the electronic device displays or broadcasts that the first application is applied Prompt message of lock lock.
  • the electronic device determines that the calendar application is locked by the application lock.
  • the electronic device can display prompt information 1301 and fingerprint prompt 1302.
  • the prompt information 1301 is used to prompt the user that the calendar application has been protected by the application lock, and the internal information of the application needs to be unlocked.
  • the fingerprint indicator 1302 is used to indicate the screen area on the display screen that receives the user's fingerprint. Users can unlock application information through fingerprint unlocking.
  • the electronic device determines that the first application is locked by an application lock, the electronic device does not display or broadcast the application information corresponding to the voice command, or
  • the electronic device displaying or broadcasting the prompt information that the first application is locked by the application lock includes: the electronic device determines that the first application is locked by the application lock, and the first application is in an unlocked state, then the The electronic device does not display or broadcast the application information corresponding to the voice command, or the electronic device displays or broadcasts the prompt information that the first application is locked by the application lock; wherein, the electronic device determines that the first application is in The unlocked state includes: the electronic device determines that the current time is more than the first preset time period from the time when the application lock of the first application is successfully unlocked; The moment of the user interface of the application exceeds the second preset time period; after the electronic device determines that the application lock of the first application is successfully unlocked last time, the electronic device performs one or more of the screen locks.
  • the method further includes: the electronic device displays a password input box, the password input box is used to receive an unlock password or an unlock track; the electronic device receives the input unlock password Or an unlocking trajectory; when the electronic device determines that the unlocking password is the same as the pre-stored unlocking password, or the unlocking trajectory is the same as the pre-stored unlocking trajectory, the electronic device displays or broadcasts the application information corresponding to the voice command.
  • the method further includes: the electronic device acquires physiological data of the user, the physiological data including one of fingerprint information, voiceprint information, iris information, and facial information. Item or multiple items; when the electronic device determines that the physiological data matches the pre-stored physiological data, the electronic device displays or broadcasts the application information corresponding to the voice instruction. Exemplarily, refer to the embodiment corresponding to FIG. 13B.
  • the electronic device queries the calendar application for the day’s itinerary and displays it on the display screen.
  • the electronic device displays the prompt message 1303, the electronic device may also broadcast the content of the prompt message 1303.
  • an embodiment of the present application provides an electronic device, the electronic device includes one or more memories and one or more processors, the one or more memories are coupled with the one or more processors, and the one Or multiple memories are used to store computer program codes, the program codes including computer instructions, when the one or more processors execute the computer instructions, the electronic device is made to execute any one of the above-mentioned first aspect and the first aspect Or implement the method described in the second aspect and any possible implementation of the second aspect; or implement the method described in the third aspect and any of the possible implementations of the third aspect .
  • the present application provides a computer program product.
  • the computer program product includes computer instructions.
  • the computer instructions When the computer instructions are executed on an electronic device, the electronic device is caused to execute the above-mentioned first aspect and the first aspect.
  • the present application provides a computer-readable storage medium, including instructions, when the instructions are executed on an electronic device, the electronic device is caused to execute as described in the first aspect and any one of the possible implementation manners in the first aspect. Or execute the method described in the foregoing second aspect and any possible implementation manner of the second aspect; or implement the method described in the foregoing third aspect and any one of the possible implementation manners of the third aspect.
  • the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, here No longer.
  • the electronic device when an application is locked by the application lock, the electronic device displays the lock view on the widget or notification message corresponding to the application, which can protect user privacy and improve the security of application information.
  • FIG. 1A is a schematic diagram of a user interface of an electronic device provided by an embodiment of the present application.
  • FIG. 1B is a schematic diagram of a locking interface provided by an embodiment of the present application.
  • FIG. 1C is a flowchart of displaying a lock interface on an electronic device according to an embodiment of the present application
  • FIG. 2A is a schematic diagram of a main screen on an electronic device provided by an embodiment of the present application.
  • FIG. 2B is a flowchart of updating view information of a Widget provided by an embodiment of the present application
  • 3A is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • 3B is a software structure block diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 4A is a schematic diagram of another main screen on an electronic device provided by an embodiment of the present application.
  • FIG. 4B is a flowchart of a display widget provided by an embodiment of the present application.
  • 4C is a schematic diagram of another main screen on an electronic device provided by an embodiment of the present application.
  • FIG. 4D is another flowchart of displaying a widget provided by an embodiment of the present application.
  • FIG. 5A is a schematic diagram of a user interface for displaying widgets according to an embodiment of the present application.
  • FIG. 5B is a schematic diagram of another user interface for displaying widgets according to an embodiment of the present application.
  • FIG. 5C is a flowchart of a display widget provided by an embodiment of the present application.
  • FIG. 5D is a flowchart of obtaining view information according to an embodiment of the present application.
  • FIG. 5E is another flow chart for obtaining view information according to an embodiment of the present application.
  • 5F is a schematic diagram of a display view provided by an embodiment of the present application.
  • FIG. 6A is another flowchart of displaying a widget provided by an embodiment of the present application.
  • FIG. 6B is a schematic diagram of some user interfaces provided by embodiments of the present application.
  • FIGS. 7A-7G are schematic diagrams of some display interfaces provided by embodiments of the present application.
  • FIG. 7H is a schematic diagram of an unlocking and locking view provided by an embodiment of the present application.
  • FIG. 8 is a flowchart of a method for unlocking a locked view provided by an embodiment of the present application.
  • FIG. 9A is a schematic diagram of displaying a notification message according to an embodiment of the present application.
  • FIG. 9B is another schematic diagram of displaying a notification message provided by an embodiment of the present application.
  • FIG. 10A is a schematic diagram of displaying a notification message according to an embodiment of the present application.
  • FIG. 10B is another schematic diagram of displaying a notification message according to an embodiment of the present application.
  • FIG. 10C is a schematic diagram of a user interface displaying a locked view provided by an embodiment of the present application.
  • 10D is a schematic diagram of another user interface displaying a locked view provided by an embodiment of the present application.
  • FIG. 10E is a schematic diagram of some user interfaces provided by embodiments of the present application.
  • FIG. 11 is a flowchart of a method for unlocking a locked view according to an embodiment of the present application.
  • FIG. 12 is a schematic diagram of a historical task interface provided by an embodiment of the present application.
  • FIG. 13A is a schematic diagram of a display interface provided by an embodiment of the present application.
  • FIG. 13B is a schematic diagram of another display interface provided by an embodiment of the present application.
  • first and second are only used for descriptive purposes, and cannot be understood as implying or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, the features defined with “first” and “second” may explicitly or implicitly include one or more of these features. In the description of the embodiments of the present application, unless otherwise specified, “multiple” The meaning is two or more.
  • the electronic device may be a personal digital assistant and/or a portable electronic device, such as a mobile phone, a tablet computer, a wearable electronic device with wireless communication function (such as a smart watch), and so on.
  • portable electronic devices include, but are not limited to, carrying Or portable electronic devices with other operating systems.
  • the aforementioned portable electronic device may also be other portable electronic devices, such as a laptop computer with a touch-sensitive surface or a touch panel. It should also be understood that, in some other embodiments, the above-mentioned electronic device may not be a portable electronic device, but a desktop computer with a touch-sensitive surface or a touch panel.
  • UI user interface
  • the term user interface (UI) in the specification, claims and drawings of this application is a medium interface for interaction and information exchange between applications or operating systems and users. It realizes the internal form of information and the user interface. Can accept the conversion between forms.
  • the user interface of the application is the source code written in a specific computer language such as java and extensible markup language (XML).
  • the interface source code is parsed and rendered on the electronic device, and finally presented as content that can be recognized by the user.
  • Controls are the basic elements of the user interface. Typical controls include buttons, widgets, toolbars, menu bars, text boxes, and scroll bars. scrollbar), pictures and text.
  • the attributes and content of the controls in the interface are defined by tags or nodes.
  • XML specifies the controls contained in the interface through nodes such as ⁇ Textview>, ⁇ ImgView>, and ⁇ VideoView>.
  • a node corresponds to a control or attribute in the interface, and the node is rendered as user-visible content after parsing and rendering.
  • applications such as hybrid applications, usually contain web pages in their interfaces.
  • a webpage also called a page, can be understood as a special control embedded in the application program interface.
  • the webpage is source code written in a specific computer language, such as hypertext markup language (HTML), cascading style Tables (cascading style sheets, CSS), java scripts (JavaScript, JS), etc.
  • web page source code can be loaded and displayed as user-recognizable content by a browser or a web page display component with similar functions to the browser.
  • the specific content contained in a web page is also defined by tags or nodes in the source code of the web page. For example, HTML defines the elements and attributes of the web page through ⁇ p>, ⁇ img>, ⁇ video>, and ⁇ canvas>.
  • GUI graphical user interface
  • the term application lock in the specification, claims and drawings of this application is a function of locking applications, which can protect users' private information. If an application is protected by the application lock, when the user starts it or jumps from the current interface to the protected application, or jumps from the current interface to some preset protected interface of the protected application (for example, the interface that displays the consumption record , Display the interface of the hidden album, etc.), or display some protected views of the protected application (for example, widget, notification message, historical task interface, etc.), the smart phone can display the lock interface through the main screen application Verify the user's identity, or you can display the lock interface through the protected application to verify the user's identity. After the user unlocks successfully, the smart phone displays the user interface in this application.
  • some preset protected interface of the protected application for example, the interface that displays the consumption record , Display the interface of the hidden album, etc.
  • some protected views of the protected application for example, widget, notification message, historical task interface, etc.
  • FIG. 1A is a schematic diagram of a user interface of an electronic device according to an embodiment of the present application.
  • the user interface 10 is used to display the setting interface of the application lock.
  • the user interface 10 includes: a status bar 206, a return control 207, a switch control 201, a switch control 202, a switch control 203, a switch control 204, and a switch control 205.
  • the status bar 206 may include icons such as a signal indicator, a power indicator, and a time indicator.
  • the return control 207 can be used to switch to the previous interface of the current interface. It should be noted that the previous interface is determined when the application program is set.
  • the switch control 201 can be used to turn on or turn off the application lock function.
  • the switch control 201 in FIG. 1A is in an on state.
  • the electronic device turns off the application lock function and switches the switch control 201 from the display-on state to the display-off state (refer to the display state of the control 202).
  • the switch control 202 can be used to turn on or turn off the application lock function of the "calendar” application.
  • the switch control 202 in FIG. 1A is in a closed state.
  • the electronic device turns on the application lock function of the "calendar” application, and switches the switch control 202 from the display-off state to the display-on state (refer to the display state of the control 202).
  • the smartphone will display the lock interface to verify the user's identity.
  • the user can control the opening or closing of the application lock of the corresponding application through the switch control 203, the switch control 204, and the switch control 205, which will not be repeated here.
  • FIG. 1B is a schematic diagram of a locking interface provided by an embodiment of the present application.
  • the user interface 11 includes an unlock indicator 211.
  • the area of the screen where the unlock indicator 211 is located can receive the user's fingerprint information.
  • the electronic device successfully verifies the user's identity, the electronic device no longer displays the lock interface, and switches to display the user interface of the "calendar" application.
  • the electronic device can also unlock the application lock in other ways, such as face recognition, iris recognition, voiceprint recognition, password verification, pattern verification, and so on.
  • the locked interface may also be other forms of user interface.
  • FIG. 1C is a schematic flowchart of displaying a lock interface on an electronic device according to an embodiment of the present application.
  • the electronic device displays a home screen on the display screen, and application icons of multiple applications can be displayed on the home screen.
  • an application icon for example, the application icon of the "Calendar” application
  • the electronic device loads the application interface of the "Calendar” application.
  • the electronic device detects that the "Calendar” application has opened the application lock, and the electronic device superimposes the lock interface on the upper layer of the application interface. In this way, users cannot view the application interface of the "Calendar” application, and user information in the "Calendar” application can be protected.
  • the electronic device displays the application interface under the locked interface.
  • widget in the description, claims and drawings of this application is a presentation form of application information.
  • a widget has a corresponding relationship with an application.
  • a calendar widget has a corresponding relationship with a calendar application
  • a mailbox widget has a corresponding relationship with a mailbox application.
  • Widgets can be embedded in other applications (such as home screen applications), and can update the information presented by themselves.
  • the user can view the application information of other applications through the widget on the home screen.
  • the user can customize the widgets displayed on the home screen of the electronic device.
  • the widgets displayed on the home screen of the electronic device may include clock, weather, calendar, memo, and so on.
  • the widget in the home screen may refer to the calendar widget 221 in FIG. 2A, the view 402 of the mailbox application in FIG. 4A, and so on.
  • the term home screen in the description, claims and drawings of this application is a kind of user interface in electronic equipment.
  • the home screen application in the electronic device can be used to display the home screen of the electronic device.
  • the main screen usually contains a status bar, one or more application icons, page indicators, a tray of commonly used application icons, and so on.
  • the user can add some widgets on the main screen as needed.
  • FIG. 2A which is a schematic diagram of a main screen on an electronic device according to an embodiment of the present application.
  • the user interface 21 includes a status bar 206, a calendar widget 221, an application icon 222, a page indicator 223, and a tray 224 of commonly used application icons. in:
  • the status bar 206 can refer to the description in the above content, and will not be repeated here.
  • the application icon 222 is an icon of an application installed on the electronic device. It should be noted that the home screen of the electronic device may also include application icons of other applications, such as: Wechat icon, QQ icon, Twitter icon, mailbox icon, settings icon, etc. .
  • the page indicator 223 can be used to indicate the number of pages and which page the user is currently browsing. In addition, users can swipe left and right on the current page to browse application icons on other pages.
  • the tray 224 of commonly used application icons can display the application icons frequently used by the user.
  • the tray 224 of commonly used application icons displays: a phone icon 225, a short message icon 226, a camera icon 227, and a browser icon 228.
  • the user can customize the application icons contained in the tray 224 of frequently used application icons.
  • Calendar widget 221 a widget provided for the "Calendar” application, can be used to indicate the current time, such as date, day of the week, and so on. It can also be used to display the schedule information set by the user, for example, including the project name set by the user and the time information corresponding to the project. It should be noted that the display form and content of the calendar widget 221 can be determined by the design of the "calendar” application. The view information of the calendar widget 221 displayed on the home screen is provided by the "Calendar” application.
  • the electronic device may include a home screen button.
  • the main screen buttons can be physical buttons or virtual buttons.
  • the main screen button can be used to receive instructions from the user and return the currently displayed user interface to the main screen, so that it is convenient for the user to view the main screen at any time.
  • the above instruction can be an operation instruction for the user to press the home button once, or an operation instruction for the user to press the home button twice in a short period of time, or it can be an operation instruction for the user to press and hold the home button within a predetermined period of time.
  • Operating instructions In other embodiments, the electronic device does not include a home screen button, and the electronic device can return the currently displayed user interface to the home screen according to a preset operation.
  • the preset operation may be an operation of sliding upward from below the display screen of the electronic device, and so on.
  • the home screen application of the electronic device detects the Widget update event, and the home screen application initiates the update operation.
  • the Widget update event may include: page turning on the home screen, turning on the electronic device, turning on the screen after locking the screen, switching from the application interface to the home screen, or adding a new Widget, and so on.
  • the home screen application sends a request to the application corresponding to the widget, and the request is used to request view information.
  • the application feeds back view information to the home screen application.
  • the view information may include the display style, position, and display data of the widget, and so on.
  • FIG. 3A is a schematic structural diagram of an electronic device 10 according to an embodiment of the present application.
  • the electronic device 10 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2.
  • Mobile communication module 150 wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display 194, And subscriber identification module (subscriber identification module, SIM) card interface 195 and so on.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light Sensor 180L, bone conduction sensor 180M, etc.
  • the electronic device 10 shown in FIG. 3A is only an example, and the electronic device 10 may have more or fewer components than those shown in FIG. 3A, two or more components may be combined, or Can have different component configurations.
  • the various components shown in the figure may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait.
  • AP application processor
  • modem processor modem processor
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the different processing units may be independent devices or integrated in one or more processors.
  • the controller may be the nerve center and command center of the electronic device 10.
  • the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching instructions and executing instructions.
  • a memory may also be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
  • the processor 110 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, and a universal asynchronous transmitter/receiver (universal asynchronous) interface.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter/receiver
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB Universal Serial Bus
  • the I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 may couple the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement the touch function of the electronic device 10.
  • the I2S interface can be used for audio communication.
  • the processor 110 may include multiple sets of I2S buses.
  • the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170.
  • the PCM interface can also be used for audio communication to sample, quantize and encode analog signals.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus can be a two-way communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • the UART interface is generally used to connect the processor 110 and the wireless communication module 160.
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to realize the Bluetooth function.
  • the MIPI interface can be used to connect the processor 110 with the display screen 194, the camera 193 and other peripheral devices.
  • the MIPI interface includes a camera serial interface (camera serial interface, CSI), a display serial interface (display serial interface, DSI), and so on.
  • the processor 110 and the display screen 194 communicate through a DSI interface to implement the display function of the electronic device 10.
  • the GPIO interface can be configured through software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface can be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and so on.
  • the USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 10, and can also be used to transfer data between the electronic device 10 and peripheral devices.
  • the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely a schematic description, and does not constitute a structural limitation of the electronic device 10.
  • the electronic device 10 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device through the power management module 141.
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
  • the wireless communication function of the electronic device 10 can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the electronic device 10 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 may provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 10.
  • the mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), and the like.
  • the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
  • the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the application processor After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor.
  • the application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194.
  • the wireless communication module 160 can provide applications on the electronic device 10 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellites.
  • WLAN wireless local area networks
  • Wi-Fi wireless fidelity
  • BT bluetooth
  • global navigation satellites System (global navigation satellite system, GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • the antenna 1 of the electronic device 10 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 10 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 (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the electronic device 10 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is an image processing microprocessor, which is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations and is used for graphics rendering.
  • the processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos, and the like.
  • the display screen 194 includes a display panel.
  • the display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • AMOLED flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
  • the electronic device 10 may include one or N display screens 194, and N is a positive integer greater than one.
  • the electronic device 10 can realize a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
  • the ISP is used to process the data fed back from the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, 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 is converted into an image visible to the naked eye.
  • the camera 193 is used to capture still images or videos.
  • the electronic device 10 may include one or N cameras 193, and N is a positive integer greater than one.
  • 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 electronic device 10 selects the 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.
  • the electronic device 10 may support one or more video codecs. In this way, the electronic device 10 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
  • MPEG moving picture experts group
  • MPEG2 MPEG2, MPEG3, MPEG4, and so on.
  • NPU is a neural-network (NN) computing processor.
  • applications such as intelligent cognition of the electronic device 10 can be realized, such as image recognition, face recognition, voice recognition, text understanding, and so on.
  • the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, so as to expand the storage capacity of the electronic device 10.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
  • the internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions.
  • the processor 110 executes various functional applications and data processing of the electronic device 10 by running instructions stored in the internal memory 121.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required by at least one function, and the like.
  • the data storage area can store data (such as audio data, phone book, etc.) created during the use of the electronic device 10.
  • the electronic device 10 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal.
  • the audio module 170 can also be used to encode and decode audio signals.
  • the speaker 170A also called “speaker” is used to convert audio electrical signals into sound signals.
  • the electronic device 10 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the electronic device 10 answers a call or voice message, it can receive the voice by bringing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through the human mouth, and input the sound signal into the microphone 170C.
  • the electronic device 10 may be provided with at least one microphone 170C.
  • the earphone interface 170D is used to connect wired earphones.
  • the earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, and a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA, CTIA
  • the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor 180A may be provided on the display screen 194.
  • the electronic device 10 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the electronic device 10 may also calculate the touched position based on the detection signal of the pressure sensor 180A.
  • touch operations that act on the same touch position but have different touch operation strengths may correspond to different operation instructions.
  • the gyro sensor 180B may be used to determine the movement posture of the electronic device 10. In some embodiments, the angular velocity of the electronic device 10 around three axes (ie, x, y, and z axes) can be determined by the gyro sensor 180B.
  • the gyro sensor 180B can be used for image stabilization.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 10 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 10 can use the magnetic sensor 180D to detect the opening and closing of the flip holster.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 10 in various directions (generally three axes). When the electronic device 10 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and apply to applications such as horizontal and vertical screen switching, pedometers, and so on.
  • the electronic device 10 can measure the distance by infrared or laser.
  • the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the electronic device 10 emits infrared light to the outside through the light emitting diode.
  • the electronic device 10 uses a photodiode to detect infrared reflected light from nearby objects.
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the electronic device 10 can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 10 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
  • the temperature sensor 180J is used to detect temperature.
  • the electronic device 10 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy.
  • Touch sensor 180K also called “touch panel”.
  • the touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”.
  • the touch sensor 180K is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the touch event type may be a single click event, a double click event, a long press event, a force touch event, a drag event, and so on.
  • the visual output related to the touch operation can be provided through the display screen 194.
  • the touch sensor 180K may also be disposed on the surface of the electronic device 10, which is different from the position of the display screen 194.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can obtain the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal.
  • the button 190 includes a power-on button, a volume button, and so on.
  • the button 190 may be a mechanical button. It can also be a touch button.
  • the electronic device 10 can receive key input, and generate key signal input related to user settings and function control of the electronic device 10.
  • the motor 191 can generate vibration prompts.
  • the motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback.
  • touch operations applied to different applications can correspond to different vibration feedback effects.
  • the indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
  • the SIM card interface 195 is used to connect to the SIM card.
  • the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 10.
  • the electronic device 10 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
  • the electronic device 10 adopts an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 10 and cannot be separated from the electronic device 10.
  • the software system of the electronic device 10 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiment of the present application takes an Android system with a layered architecture as an example to illustrate the software structure of the electronic device 10 by way of example.
  • FIG. 3B is a software structure block diagram of an electronic device 10 provided by an embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface.
  • the Android system is divided into four layers, from top to bottom, the application program layer, the application framework layer, the Android runtime and system library, and the kernel layer.
  • the application layer may include one or more applications, for example, it may include applications such as a music player, a video player, a gallery, WeChat, a home screen application, and a memo. It should be noted that the application layer may also include other applications, which are not listed here.
  • the home screen application can be used to display the home screen of the electronic device, and can include a widget display module and a view lock module.
  • the widget display module can be used to display widgets on the main screen.
  • the view locking module can be used to determine whether the view is locked, and whether the view is locked can be related to the locked state of the application corresponding to the view.
  • the application framework layer provides application programming interfaces (application programming interface, API) and programming frameworks for applications at the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer may include a window manager, a content provider, a view system, an application lock module, a resource manager, a notification manager, an unlocking module, and so on.
  • the window manager is used to manage window programs.
  • the window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, take a screenshot, etc.
  • the content provider is used to store and retrieve data and make these data accessible to applications.
  • the data may include videos, images, audios, phone calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls that display text, controls that display pictures, and so on.
  • the view system can be used to build applications.
  • the display interface can be composed of one or more views.
  • a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures.
  • the resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
  • the notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can disappear automatically after a short stay without user interaction.
  • the notification manager is used to notify download completion, message reminders, and so on.
  • the notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or a scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, text messages are prompted in the status bar, a prompt tone is issued, the smart terminal vibrates, and the indicator light flashes.
  • the notification manager can also be used to display the notification information in the notification message list.
  • the application lock module can be used to implement the application lock function, and the user can set the protected (or called locked) application through the application lock module.
  • the unlocking module can be used to realize the unlocking function of the application lock. It should be noted that the unlocking methods corresponding to the unlocking module include, but are not limited to, password unlocking, fingerprint unlocking, under-screen fingerprint unlocking, face recognition unlocking, iris recognition unlocking, voiceprint recognition unlocking, and so on. In addition, the module can return the result of whether the application lock is successfully unlocked to the home screen application.
  • Android Runtime includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function functions that the java language needs to call, and the other part is the core library of Android.
  • the application layer and the application framework layer run in a virtual machine.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • the system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), three-dimensional graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
  • the surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, G.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing.
  • the 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
  • the electronic device displays the lock view above the widget view of the application on the home screen. After the user unlocks the locked view, the electronic device displays the information in the widget view of the application.
  • displaying the locked view above the widget of the application means: superimposing and displaying a locked view above the layer where the view of the widget of the application is located, and the locked view can obscure the widget of the application.
  • FIG. 4A is a schematic diagram of a main screen on an electronic device according to an embodiment of the present application.
  • the user interface 41 includes a lock view 403 and a view 402 of the mailbox application.
  • the calendar application turned on the application lock, and the mailbox application did not turn on the application lock.
  • the electronic device superimposes the locked view 403 above the layer where the view 401 of the calendar application is located, and the locked view 403 can block the view 401 of the calendar application.
  • the electronic device after the user unlocks the locked view 403, the electronic device no longer displays the locked view 403, and may display the view 401 of the calendar application below. The way the user unlocks the locked view will be introduced in the follow-up content, which is not specifically expanded here.
  • FIG. 4B is a flowchart of displaying a widget provided by an embodiment of the present application.
  • the electronic device determines whether the application corresponding to the view is protected by the application lock.
  • widget update events may include: page turning on the home screen, turning on the electronic device, turning on the screen after locking the screen, switching to the home screen from the application interface, or adding a new widget, and so on. If the electronic device determines that the application is protected by the application lock, the electronic device displays the widget and displays the lock view above the widget. Exemplarily, this display manner may refer to the user interface 41 shown in FIG. 4A. If the electronic device determines that the application is not protected by the application lock, the electronic device displays the widget.
  • this display manner may refer to the user interface 42 shown in FIG. 4C.
  • the lock view will be displayed above the widget corresponding to the application, which can protect the application information from being leaked and improve the security of the application information.
  • the flow of displaying widgets by the electronic device can also refer to the flowchart shown in FIG. 4D.
  • the electronic device determines whether the application corresponding to the view is protected by the application lock. If the electronic device determines that the application is not protected by the application lock, the electronic device displays the widget. If the electronic device determines that the application is protected by the application lock, the electronic device determines whether the application is in an unlocked state. If the application is in the unlocked state, the electronic device displays the widget. If the application is in an unlocked state, the electronic device displays a widget, and displays a locked view above the widget.
  • the electronic device can query whether the application corresponding to the widget is in the unlocked state through the application lock module.
  • the application lock module stores a record of whether each application is in an unlocked state.
  • the electronic device can query the record in the application lock module according to the application identifier of the application corresponding to the widget, so as to determine whether the application corresponding to the widget is in an unlocked state.
  • the application lock module may determine the status of the application corresponding to the widget when the electronic device queries whether the application corresponding to the widget is in the unlocked state; and then feed back the determination result to the electronic device.
  • the application lock module determines whether an application is in an unlocked state. In an optional manner, if the application lock module determines that the user has been unlocked by the application lock of the application, and the current time is away from the last successful unlocking time (or the last time the user interface of the application is displayed on the display screen) When the time) does not exceed the preset time period, the application lock module determines that the application is in the unlocked state. Otherwise, the application lock module determines that the application is in an unlocked state. In another optional manner, if the application lock module determines that the user has unlocked the application through the application lock of the application, and the electronic device has not locked the screen after the last successful unlock, the application lock module determines that the application is in the unlocked state.
  • the application lock module determines that the application is in an unlocked state.
  • the application lock module determines that the application is in an unlocked state.
  • the application lock module can update the record of whether each application is in the unlocked state in real time according to the determination result.
  • the application lock module may also determine the status of the application corresponding to the widget queried by the electronic device, and then feed back the determination result of the application to the electronic device.
  • the lock view will be displayed above the widget corresponding to the application, which can protect the application information from being leaked and improve the security of the application information .
  • the electronic device displays the widget, which can reduce the user's operation and improve the efficiency of the user to view the widget. For example, in an actual application, if the calendar application in the electronic device is protected by an application lock, the lock view will be displayed above the widget corresponding to the calendar application on the home screen. Other users will not be able to view the information of the calendar application through the home screen of the electronic device, which protects the user's private information.
  • the main screen of the electronic device may refer to the user interface 41 shown in FIG. 4A.
  • the user can view the application interface of the calendar application and operate the calendar application. After that, the user jumps to other user interfaces to perform operations, such as editing mail through the mailbox application.
  • the user needs to view the schedule information, and the user can switch back to the home screen to view the widget of the calendar application to obtain the schedule information.
  • the electronic device determines the calendar The application is unlocked, and the widget of the calendar application will be directly displayed on the home screen.
  • the main screen of the electronic device may refer to the user interface 42 shown in FIG. 4C.
  • the user's operation of unlocking the widget of the calendar application or the calendar application to view the schedule information can be reduced, and the operating efficiency of the user can be improved.
  • the user wants to lock the widget of the calendar application, the user can lock the screen of the electronic device.
  • the electronic device After the screen is locked, the electronic device is turned on again. Since the electronic device has locked the screen after the calendar application was successfully unlocked last time, the electronic device can determine that the calendar application is in an unlocked state. Then, the lock view will be displayed above the widget of the calendar application on the home screen. In this way, the user can conveniently lock the widget, protect the application information from being leaked, and improve the security of the application information.
  • the view information of the widget provided by the application may be in a locked state.
  • the widget displayed by the electronic device is a widget in a locked state.
  • FIG. 5A is a schematic diagram of a display widget provided by an embodiment of the present application.
  • the view information that the calendar should provide is locked.
  • the user interface 51 the user interface includes a view 501 of the calendar application, and the view 501 is already in a locked state.
  • FIG. 5B is a schematic diagram of a display widget provided by an embodiment of the present application.
  • the calendar application originally provided the view 501 in a locked state.
  • the electronic device can display the locked view 502 above the view 501.
  • FIG. 5C is a flow chart of displaying a widget according to an embodiment of the present application.
  • the electronic device determines whether the application corresponding to the view is protected by the application lock. If the electronic device determines that the application is not protected by the application lock, the electronic device displays the widget. If the electronic device determines that the application is protected by the application lock, the electronic device determines whether the view information provided by the application is in a locked state. If the view information provided by the application is in the locked state, the electronic device displays the widget.
  • the electronic device displays the widget and displays the locked view above the widget. In this way, when the application provides view information in a locked state, the electronic device can display the widget normally, and the application's own widget locking method can be retained.
  • FIG. 5D is a flowchart of obtaining view information according to an embodiment of the present application.
  • the home screen application of the electronic device detects the Widget update event, and the home screen application initiates the update operation.
  • the home screen application sends a request to the application corresponding to the widget, and the request is used to request view information.
  • the application feeds back view information to the home screen application.
  • the view information may include the display style, position, display data of the widget, and indication information indicating whether the view information is in a locked state, and so on.
  • the home screen application can determine whether the view information provided by the application is in the locked state according to the acquired view information.
  • FIG. 5E is another flow chart for obtaining view information according to an embodiment of the present application.
  • the home screen application of the electronic device detects the Widget update event, and the home screen application initiates the update operation.
  • the home screen application sends a first request to the application corresponding to the widget, and the first request is used to request view information.
  • the application feeds back view information to the home screen application.
  • the view information may include information such as the display style, position, and display data of the widget.
  • the home screen application sends a second request to the application, and the second request is used to query whether the view information is in the locked state.
  • the second request includes the identifier of each view information.
  • the application may feed back the indication information indicating whether the view information is in the locked state to the main screen application according to the second request. Specifically, the application can determine whether the view information corresponding to the identifier is in the locked state according to the identifier of each view information.
  • the indication information may include information about whether each view information is in a locked state.
  • the home screen application of the electronic device detects the Widget update event, and the home screen application initiates the update operation.
  • the home screen application sends a request to the application corresponding to the widget, and the request is used to request view information.
  • the application feeds back view information to the home screen application.
  • the home screen application can query whether the view information is in the locked state through the database of the electronic device or the preset storage area.
  • the database or the preset storage area of the electronic device can be used to store information about whether the view information is in a locked state.
  • the application can write information about whether the view information is in a locked state in the database or a preset storage area, and the main screen application can read information about whether the view information is in a locked state from the database or a preset storage area.
  • the home screen application of the electronic device detects the Widget update event, and the home screen application initiates the update operation.
  • the home screen application sends a request to the application corresponding to the widget, and the request is used to request view information.
  • the application feeds back view information to the home screen application.
  • the application can broadcast information about whether the view information is locked.
  • the home screen application can determine whether the view information provided by the application is in the locked state through the received broadcast information.
  • the electronic device may display the locked view above the view information in the locked state, and normally display the view information not in the locked state.
  • this display manner can refer to the user interface shown in FIG. 5F.
  • the user interface 53 includes a view 511 of the calendar application and a view 513 of the mailbox application.
  • view 511 the display data "coal chemical project report meeting all day” and "community owner committee election 5:50 pm-8:00 pm” are locked.
  • the electronic device displays the locked view 512 above the view information. In this way, the electronic device can encrypt and display the information that needs to be protected, and display conventional information normally.
  • the flow of displaying widgets by the electronic device can also refer to the flowchart shown in FIG. 6A.
  • the electronic device determines whether the application corresponding to the view is protected by the application lock. If the electronic device determines that the application is not protected by the application lock, the electronic device displays the widget. If the electronic device determines that the application is protected by the application lock, the electronic device determines whether the application is in an unlocked state. If the application is in the unlocked state, the electronic device displays the widget. If the application is in the unlocked state, the electronic device determines whether the view information provided by the application is in the locked state. If the view information provided by the application is in the locked state, the electronic device displays the widget. If the view information provided by the application is not in the locked state, the electronic device displays the widget and displays the locked view above the widget.
  • the locked view listed above is only an example, and in some possible implementation manners, the locked view may also be in other forms of expression.
  • the locked view can also be displayed as a magazine view.
  • the magazine view can periodically update some landscapes or images of people.
  • the locked view may display weather information or time information, etc.
  • the locked view can be displayed as an image or image preset by the user. In this way, the aesthetics of the display of the electronic device can be further improved, and the locked view can also be hidden to a certain extent to improve the security of user information.
  • the electronic device can lock the widget of the application on the main screen. In this way, the leakage of application information can be avoided and the security of application information can be improved.
  • the method for displaying the widget on the electronic device is introduced above, and then the method for unlocking the locked view of the widget is introduced.
  • the locked view can be the view displayed above the widget on the main screen, or the widget in the locked state provided for the application.
  • FIG. 6B is a schematic diagram of some user interfaces provided by embodiments of the present application.
  • the electronic device starts the message application corresponding to the widget view 601 and switches from displaying the user interface 61 to displaying the user Interface 62.
  • the user interface 62 is a user interface in a messaging application, and the user interface includes prompt information 602 and a fingerprint prompt 603.
  • the prompt information 602 is used to prompt the user that the message application has been protected by the application lock, and the message application needs to be unlocked.
  • the fingerprint indicator 603 is used to indicate the screen area on the display screen that receives the user's fingerprint.
  • the electronic device When the electronic device successfully matches the fingerprint information input by the user with the pre-stored fingerprint information, the electronic device can switch from displaying the user interface 62 to displaying the user interface 63.
  • the user interface 63 is a user interface in a messaging application, where the interface can display message content. It can be seen that in the prior art, if the user wants to view the protected application information in the widget, he needs to jump to the application to unlock the application before viewing it. After viewing, the user needs to perform additional operations to return to the home screen, which is cumbersome and the user experience is poor.
  • the electronic device displays the password input box on the locked view.
  • an operation for example, long-press, double-click, single-click, hovering operation, etc.
  • FIG. 7A is a schematic diagram of a display interface provided by an embodiment of the present application.
  • the user interface 71 is used to display the main screen of the electronic device, and the user interface 71 includes a lock view 701 and a view 702 of the mailbox application.
  • the electronic device switches from displaying the user interface 71 to displaying the user interface 72 in response to the operation.
  • FIG. 7B which is a schematic diagram of another display interface provided by an embodiment of the present application.
  • the user interface 72 is used to display the main screen of the electronic device, and the user interface 72 includes a lock view 701 and a view 702 of the mailbox application.
  • a password input box 703 is displayed above the locked view 701.
  • the user can input an unlocking password through the password input box 703, and the unlocking password can be one or more of numbers, letters, and symbols.
  • the electronic device unlocks the locked view.
  • the meaning of unlocking the locked view by the electronic device includes that the electronic device no longer displays the locked view, and the electronic device updates the widget corresponding to the locked view. Among them, the information contained in the updated widget is unlocked information.
  • the electronic device may switch from displaying the user interface 72 to displaying the user interface 42.
  • the electronic device may also display on the locked view Graphic password.
  • the locked view Graphic password For this display mode, refer to the user interface 73 shown in FIG. 7C.
  • the user interface 73 includes a locked view 701 and a view 702 of the mailbox application.
  • a graphical password 704 is displayed on the top of the locked view 701.
  • the user can input the unlocking trajectory through the graphic password 704.
  • the electronic device unlocks the locked view.
  • the electronic device may switch from displaying the user interface 73 to displaying the user interface 42.
  • the locked view displayed by the electronic device may include a password input box or a graphical password.
  • the user can directly enter the unlock password through the password input box, or enter the unlock track through the graphic password, without operating the locked view.
  • the electronic device may display a dialog box.
  • the dialog box can contain a password input box or a graphical password, and so on.
  • FIG. 7D is a schematic diagram of another display interface provided by an embodiment of the present application.
  • the user interface 74 includes a dialog box 705.
  • the dialog box 705 includes a password input box 706.
  • the user can input the unlocking password through the password input box 706.
  • FIG. 7E which is a schematic diagram of another display interface provided by an embodiment of the present application.
  • the user interface 75 includes a dialog box 707.
  • the dialog 707 includes a graphic password 708.
  • the user can input the unlocking trajectory through the graphic password 708.
  • the dialog box can also have other display modes, or the dialog box can be displayed above (or around) the locked view that needs to be unlocked.
  • the embodiment of the present application does not limit the display mode and display position of the dialog box.
  • the electronic device may also unlock the locked view by way of fingerprint unlocking under the screen.
  • FIG. 7F is a schematic diagram of another display interface provided by an embodiment of the present application.
  • the user interface 76 includes a locked view 711 and a locked view 712.
  • the fingerprint received in the screen area where the locked view 711 is located can be used to unlock the locked view 711
  • the fingerprint received in the screen area where the locked view 712 is located can be used to unlock the locked view 712. If the fingerprint information recognized by the electronic device according to the fingerprint input by the user matches the fingerprint information pre-stored in the electronic device, the electronic device unlocks the locked view corresponding to the fingerprint. Exemplarily, as shown in FIG.
  • the user's finger touches the screen area where the locked view 711 is located. If the fingerprint information recognized by the electronic device according to the fingerprint input by the user matches the fingerprint information pre-stored in the electronic device, the electronic device unlocks the locked view 711. After the unlocking is successful, the display interface of the electronic device can refer to the user interface 77 shown in FIG. 7G.
  • the user interface 77 includes a view 713 and a lock view 712 of the calendar application.
  • the electronic device may detect that the user touches the locked view for a preset time, and then the electronic device will respond to the user. Fingerprints for verification.
  • the fingerprint unlocking of the electronic device can also be located in a specific area. In this case, if the fingerprint information recognized by the electronic device according to the fingerprint input by the user matches the fingerprint information pre-stored in the electronic device, then The electronic device can unlock all locked views, or the electronic device can unlock the locked view on the currently displayed user interface, or the electronic device can unlock the locked view that the user touched last time.
  • the electronic device may also unlock the locked view by unlocking the face.
  • the electronic device if the facial information recognized by the electronic device according to the user image acquired by the camera matches the pre-stored facial information, the electronic device can unlock all locked views, or the electronic device can unlock the currently displayed The locked view on the user interface is unlocked, or the electronic device unlocks the locked view last touched by the user.
  • the electronic device can collect the eyeball position through the camera to determine the current gaze position of the human eye; the electronic device then determines the widget corresponding to the gaze position according to the gaze position. If the facial information recognized by the electronic device according to the user image acquired by the camera matches the pre-stored facial information, the electronic device unlocks the widget corresponding to the gaze position.
  • FIG. 7H is a schematic diagram of an unlocking and locking view provided in an embodiment of the present application.
  • the electronic device can collect the user's eye position through the camera 193, determine the current gaze position of the human eye, and then determine the widget corresponding to the gaze position as the locked view 733 according to the gaze position. If the facial information recognized by the electronic device according to the user image acquired by the camera 193 matches the pre-stored facial information, the electronic device unlocks the locked view 733.
  • the method for unlocking the locked view by the electronic device is described above. Next, the process of unlocking the locked view by the electronic device is introduced.
  • FIG. 8 is a flowchart of a method for unlocking a locked view according to an embodiment of the present application.
  • the method is applied to the electronic equipment introduced in the above content, and the method includes the following steps.
  • the home screen application displays the locked view.
  • the user interface for displaying the locked view on the electronic device may refer to the user interface 41 shown in FIG. 4A, the user interface 52 shown in FIG. 5B, the user interface 71 shown in FIG. 7A, and the user interface 76 shown in FIG. 7F. , The user interface 78 shown in FIG. 7H, and so on.
  • the unlocking module detects the unlocking operation, and the unlocking module verifies the identity of the user.
  • the unlocking operation can be one operation or a series of operations.
  • the electronic device executes the method of verifying user identity corresponding to the unlocking operation.
  • the unlocking operation may be an operation of the user on the lock view 701 in the embodiment shown in FIGS. 7A-7B, and an operation of inputting an unlocking password in the password input box 703.
  • the electronic device can verify the user's identity by verifying the password.
  • the unlocking operation may also be the operation of the user on the locked view 701 in the embodiment shown in FIG. 7A and FIG. 7C, and the operation of inputting the unlocking track in the graphic password 704.
  • the electronic device can verify the user's identity by verifying the input track.
  • the unlocking operation may also be the operation of the user on the locked view 701 in the embodiment shown in FIGS. 7A and 7D, and the operation of inputting the unlocking password in the password input box 706 in the dialog box 705.
  • the electronic device can verify the user's identity by verifying the password.
  • the unlocking operation may also be the operation of the user on the locked view 701 in the embodiment shown in FIGS. 7A and 7E, and the operation of inputting the unlocking track in the graphic password 708 in the dialog box 707.
  • the electronic device can verify the user's identity by verifying the input track.
  • the unlocking operation may also be an operation of the user to lock the view 701 in the embodiment shown in FIGS. 7F-7G.
  • the electronic device can verify the user's identity by verifying the user's fingerprint information.
  • the unlocking operation may also be an operation in which the user looks at the locked view 733 in the embodiment shown in FIG. 7H.
  • the electronic device can verify the user's identity by verifying the user's facial information.
  • the electronic device may also verify the user's identity through other methods.
  • the electronic device can also use iris recognition unlocking, voiceprint recognition unlocking, and other unlocking methods to verify the user's identity.
  • the unlocking module succeeds in verifying the user identity, and the unlocking module sends instruction information to the main screen application.
  • the indication information is used to indicate that the user's identity verification is passed.
  • the indication information may include position information of the locked view.
  • the location information can be determined by the unlocking operation input by the user.
  • the position information may be determined by the user's operation of the lock view 701, and the position information may be the position information touched by the user for the operation of the lock view.
  • the position information may be determined by the user's gaze operation, and the position information may be the gaze position determined according to the collected eye position of the user.
  • S804 The home screen application sends a request to the application according to the instruction message, where the request is used to request view information.
  • the application may be determined by the main screen application according to the received location information, and the application is the application corresponding to the widget view located on the location information.
  • the home screen application may determine that the application is the calendar application corresponding to the locked view 701 according to the location information.
  • the home screen application may determine that the application is the calendar application corresponding to the locked view 733 according to the location information.
  • the application may be an application corresponding to the widget view in the user interface currently displayed by the electronic device. In other embodiments, the application may be an application corresponding to the widget view included on the home screen of the electronic device.
  • S805 The application feeds back view information to the main screen application according to the request.
  • the view information may include the display style, position, and display data of the widget, and so on. It should be noted that the view information is unlocked view information.
  • S806 The home screen application displays the widget according to the view information fed back by the application.
  • the embodiment of the present application can reduce the user's operation and improve the convenience of the operation.
  • the electronic device can unlock a specific Widget according to the unlocked location information, which further improves the security of the application information.
  • the electronic device can also lock and unlock the notification message.
  • FIG. 9A is a schematic diagram of displaying a notification message according to an embodiment of the present application.
  • the user interface 91 includes a status bar 901, a notification message 902, a weather indicator 903, a time indicator 904, an application icon display area 905, a page indicator 906, and a tray 907 of commonly used application icons. in:
  • the notification message 902 when the application receives the notification message, or when the current time reaches the reminder time preset by the application, the electronic device may pop up the notification message 902.
  • the electronic device may no longer display the notification message 902.
  • the display time of the notification message 902 exceeds a preset time, the electronic device may no longer display the notification message 902.
  • a notification message has a corresponding relationship with an application.
  • the notification message 902 has a corresponding relationship with an information application.
  • a notification message of a schedule has a corresponding relationship with a calendar application
  • a notification message of a received email has a corresponding relationship with a mailbox application.
  • the weather indicator 903 can be used to indicate the type of weather, such as cloudy to clear, light rain, etc., and can also be used to indicate information such as temperature.
  • the time indicator 904 can be used to indicate the current time, such as date, day of the week, hour and minute information, etc.
  • the application icon display area 905 may be used to display icons of applications installed on the electronic device.
  • the icons of the applications contained in the application icon display area 905 can be customized by the user.
  • the page indicator 906 can be used to indicate the number of pages and which page the user is currently viewing. In addition, users can swipe left and right on the current page to browse application icons on other pages.
  • tray 907 of commonly used application icons please refer to the description of the tray of commonly used application icons in the above content, which will not be repeated here.
  • FIG. 9B is another schematic diagram of displaying notification messages according to an embodiment of the present application.
  • the electronic device displays a list of notification messages.
  • the user interface 92 includes a notification message list 911.
  • the notification message list 911 includes a shortcut menu 912, a notification message 913, a notification message 914, and a notification message 915.
  • the shortcut menu 912 may be used to display one or more operation controls, and the user can quickly turn on or turn off the functions corresponding to the operation controls through these operation controls.
  • the shortcut menu 912 includes WLAN control, Bluetooth control, GPS control, and flight mode control. Taking the WLAN control as an example, the user can turn on or off the WLAN function of the electronic device through the WLAN control.
  • the notification message list 911 also includes a notification message 913, a notification message 914, and a notification message 915.
  • the notification message 913 corresponds to a message application
  • the notification message 914 corresponds to a mail application
  • the notification message 915 corresponds to a schedule application.
  • One notification message can correspond to one application. It should be noted that the notification list may also include multiple notification messages corresponding to one application.
  • the electronic device displays the lock view above the notification message corresponding to the application.
  • FIG. 10A is a schematic diagram of displaying a notification message according to an embodiment of the present application.
  • the calendar application in the electronic device is locked by the application lock.
  • the electronic device displays a locked view 1002 above the notification message 1001 of the calendar application.
  • FIG. 10B is another schematic diagram of displaying a notification message according to an embodiment of the present application.
  • the calendar application in the electronic device is locked by the application lock.
  • the electronic device displays a locked view 1004 above the notification message 1003 of the calendar application.
  • the electronic device can lock the notification message of the application. In this way, the leakage of application information can be avoided and the security of application information can be improved.
  • the process of the electronic device displaying the notification message can refer to the process of displaying the widget in the above content.
  • the electronic device determines whether the application corresponding to the notification message is protected by the application lock.
  • the notification message display event may include: receiving an application notification message, detecting an outgoing notification message list, and so on. If the electronic device determines that the application is protected by the application lock, the electronic device displays a notification message and displays a lock view above the notification message. If the electronic device determines that the application is not protected by the application lock, the electronic device displays the notification message.
  • the electronic device determines whether the application corresponding to the notification message is protected by an application lock. If the electronic device determines that the application is not protected by the application lock, the electronic device displays the notification message. If the electronic device determines that the application is protected by the application lock, the electronic device determines whether the application is in an unlocked state. If the application is in the unlocked state, the electronic device displays the notification message. If the application is in an unlocked state, the electronic device displays a notification message, and displays a locked view above the notification message.
  • the above content introduces the method of displaying the notification message on the electronic device, and the method of unlocking the notification message on the electronic device is introduced below.
  • the method of unlocking the notification message on the electronic device can also refer to the method of unlocking the widget described in the above content.
  • the notification message displayed by the application may also be a notification message in a locked state.
  • FIG. 10E is a schematic diagram of some user interfaces provided by embodiments of the present application.
  • the electronic device starts the message application corresponding to the notification message 1011, and switches from displaying the user interface 105 to displaying the user Interface 106.
  • the user interface 106 is a user interface in a messaging application, and the user interface includes prompt information 1012 and a fingerprint prompt 1013.
  • the prompt information 1012 is used to prompt the user that the messaging application has been protected by the application lock, and the messaging application needs to be unlocked.
  • the fingerprint indicator 1013 is used to indicate the screen area on the display screen that receives the user's fingerprint.
  • the electronic device When the electronic device successfully matches the fingerprint information input by the user with the pre-stored fingerprint information, the electronic device may switch from displaying the user interface 106 to displaying the user interface 107.
  • the user interface 107 is a user interface in a messaging application, where the interface can display message content. It can be seen that in the prior art, if the user wants to view the protected application information in the notification message, he needs to jump to the application to unlock the application before viewing it. After viewing, the user needs to perform additional operations to return to the home screen, which is cumbersome and the user experience is poor.
  • the lock view on the notification message includes a password input box.
  • FIG. 10C is a schematic diagram showing a locked view according to an embodiment of the present application.
  • a lock view 1006 is displayed on the notification message.
  • the locked view 1006 includes a password input box 1007.
  • the user can enter the unlock password through the password input box 1007.
  • the electronic device determines that the unlocking password input by the user is the same as the pre-stored unlocking password, the electronic device no longer displays the locked view 1006.
  • FIG. 10D is another schematic diagram showing a locked view according to an embodiment of the present application.
  • a lock view 1008 is included in the notification message list.
  • the locked view 1008 includes a password input box 1009. The user can enter the unlock password through the password input box 1009.
  • the electronic device determines that the unlocking password input by the user is the same as the pre-stored unlocking password, the electronic device no longer displays the locked view 1008.
  • the password input box is not included in the locked view.
  • the electronic The device displays a password input box in the locked view.
  • the electronic device displays the user interface 101, and when the user operates the locked view 1002, in response to the operation, the electronic device displays the user interface 103.
  • the electronic device displays the user interface 102, and when the user operates the locked view 1004, the electronic device displays the user interface 104 in response to the operation.
  • the electronic device may also unlock the locked view by way of fingerprint unlocking under the screen.
  • the electronic device receives the notification message of the calendar application, the calendar application has been locked by the application lock, and the electronic device displays the user interface 101.
  • the electronic device detects the user's operation on the locked view 1002 (for example, a long press operation, a press operation, etc.), and in response to the operation, the electronic device recognizes the user's fingerprint information. If the recognized fingerprint information matches the fingerprint information pre-stored in the electronic device, the electronic device unlocks the locked view 1002 and no longer displays the locked view.
  • the electronic device detects the operation of the outgoing notification message list input by the user, and in response to the operation, the electronic device displays the user interface 102.
  • the electronic device detects the user's operation on the locked view 1004 (for example, a long press operation, a press operation, etc.), and in response to the operation, the electronic device recognizes the user's fingerprint information. If the recognized fingerprint information matches the fingerprint information pre-stored in the electronic device, the electronic device unlocks the locked view 1004 and no longer displays the locked view.
  • the electronic device can also unlock the locked view by unlocking the fingerprint located in a specific area.
  • the electronic device receives the notification message of the calendar application, the calendar application has been locked by the application lock, and the electronic device displays the user interface 101. If the electronic device detects the user's fingerprint unlocking operation in a specific area, in response to the operation, the electronic device recognizes the user's fingerprint information. If the recognized fingerprint information matches the fingerprint information pre-stored in the electronic device, the electronic device unlocks the locked view and no longer displays the locked view.
  • the electronic device detects the operation of the outgoing notification message list input by the user, and in response to the operation, the electronic device displays the user interface 102. If the electronic device detects the user's fingerprint unlocking operation in a specific area, in response to the operation, the electronic device recognizes the user's fingerprint information. If the recognized fingerprint information matches the fingerprint information pre-stored in the electronic device, the electronic device can unlock all locked views, or the electronic device can unlock the locked view on the currently displayed user interface, or the electronic device can The locked view that is touched once is unlocked.
  • the electronic device may also unlock the locked view by unlocking the face.
  • the electronic device receives the notification message of the calendar application, the calendar application has been locked by the application lock, and the electronic device displays the user interface 101. If the facial information recognized by the electronic device according to the user image acquired by the camera matches the pre-stored facial information, the electronic device unlocks the locked view and no longer displays the locked view.
  • the electronic device detects the operation of the outgoing notification message list input by the user, and in response to the operation, the electronic device displays the user interface 102.
  • the electronic device can collect the user's facial information through the camera.
  • the electronic device can also collect the user's eye position through the camera to determine the current gaze position of the human eye; and then determine the notification message corresponding to the gaze position according to the gaze position. If the facial information recognized by the electronic device matches the pre-stored facial information, the electronic device unlocks the locked view on the notification message corresponding to the gaze position.
  • the above describes the method for the electronic device to unlock the locked view on the notification message.
  • the process of unlocking the locked view on the electronic device is introduced.
  • FIG. 11 is a flowchart of a method for unlocking a locked view according to an embodiment of the present application.
  • the method is applied to the electronic equipment introduced in the above content, and the method includes the following steps.
  • the application obtains the notification message.
  • the application sends first indication information to the main screen application, where the first indication information is used to instruct the main screen application to display a notification message.
  • the home screen application After the home screen application receives the first indication information, the home screen application displays a notification message, and displays a lock view on the notification message.
  • the home screen application determines that the application is protected by an application lock, and the home screen application displays a locked view above the notification message.
  • the home screen application determines that the application is protected by an application lock and the application is in an unlocked state, and the home screen application displays a locked view above the notification message.
  • the unlocking module detects the unlocking operation, and the unlocking module verifies the identity of the user.
  • step S802 in the above content, which will not be repeated here.
  • the unlocking module succeeds in verifying the user identity, and the unlocking module sends second indication information to the main screen application.
  • the second indication information is used to indicate that the user identity verification is passed.
  • the indication information may include position information of the locked view.
  • the location information can be determined by the unlocking operation input by the user.
  • the position information may be determined by the user's operation of locking the view, and the position information may be the position information touched by the user for the operation of locking the view.
  • the position information may be determined by a gaze operation of the user, and the position information may be a gaze position determined according to the collected eye position of the user.
  • S1106 The home screen application unlocks the locked view according to the second instruction information.
  • the home screen application unlocks the locked view, that is, the home screen application no longer displays the locked view above the notification message.
  • the user can directly view the content in the notification message.
  • the home screen application unlocks the locked view on the notification message corresponding to the location message.
  • the user can directly unlock the locked notification message on the home screen.
  • the embodiment of the present application can reduce the user's operation and improve the convenience of the operation.
  • the electronic device can unlock the specific notification message according to the unlocked location information, which further improves the security of the application information.
  • the electronic device locks and unlocks the notification message of the application in the embodiment of the present application.
  • the electronic device can also lock and unlock the historical task interface.
  • the electronic device similar to the widget displaying the application, if an application is locked by the application lock, the electronic device displays the lock view above the application interface of the application in the historical task interface.
  • the user can call out the historical task interface in a variety of ways.
  • the user may perform an operation (for example, click, long press, etc.) on the button of the outgoing historical task interface, and in response to the operation, the electronic device displays the historical task interface.
  • the user can swipe up from the bottom of the display screen of the electronic device, and in response to the sliding operation, the electronic device displays a historical task interface.
  • the embodiment of the present application does not limit the way for the user to call out the historical task interface.
  • the user interface 121 includes a contact application interface 1201, a WeChat application interface 1201, and a mailbox application interface 1203, wherein only part of the contact application interface 1201 and the mailbox application interface 1203 are displayed.
  • the application interface for example, the mailbox application interface 1203
  • the electronic device may no longer display the mailbox application interface 1203 and terminate the operation of the mailbox application.
  • the user can also slide left and right in the user interface 121 to browse the application interfaces of other applications in the historical task interface.
  • the WeChat application on the electronic device is protected by an application lock, and the electronic device displays a locked view above the WeChat application interface 1201.
  • the electronic device can lock the application interface of the application in the historical task interface. In this way, the leakage of application information can be avoided and the security of application information can be improved.
  • the electronic device determines whether the running application is protected by the application lock. If the electronic device determines that a running application is protected by the application lock, the electronic device displays the lock view above the application interface of the application. If the electronic device determines that a running application is not protected by the application lock, the electronic device displays the application interface.
  • the electronic device determines whether the running application is protected by the application lock. If the electronic device determines that a running application is not protected by the application lock, the electronic device displays the application interface of the application. If the electronic device determines that a running application is protected by the application lock, the electronic device determines whether the application is in an unlocked state. If the application is in the unlocked state, the electronic device displays the application interface of the application. If the application is in the unlocked state, the electronic device displays the locked view on the application interface of the application. For the way to determine whether the application is in the unlocked state, please refer to the introduction in the above content, which will not be repeated here.
  • Unlocking methods include, but are not limited to, unlocking by entering a password, unlocking by entering a graphic track, fingerprint unlocking, voiceprint unlocking, face unlocking, and iris unlocking. After successfully verifying the user's identity, the electronic device no longer displays the locked view and displays the blocked application interface. The user can view the content in the application interface.
  • the unlocking method provided by the embodiment of the present application, the user does not need to enter the application to unlock the application and then view the information, allowing the user to conveniently view the application interface.
  • the embodiments of the present application can reduce user operations, improve the convenience of operations, and thereby improve user experience.
  • the user can invoke an application on an electronic device through a voice assistant to obtain application information in the application. For example, when the user can input the voice command "what is today's schedule", in response to the voice command, the electronic device can obtain the schedule for the day by querying the calendar application, and broadcast it in the form of voice.
  • the electronic device before the electronic device displays or broadcasts the application information corresponding to the voice command, it can be determined whether the application is protected by the application lock. If the application is not protected by the application lock, the electronic device can display or broadcast the application information corresponding to the voice command. If the application is protected by the application lock, the electronic device will not display or broadcast the application information.
  • the electronic device can remind the user that the application is protected by an application lock. The way of reminding may include a voice form and/or a text form.
  • FIG. 13A is a schematic diagram of a display interface provided by an embodiment of the present application.
  • the user interface 131 includes prompt information 1301 and a fingerprint prompt 1302.
  • the electronic device determines whether the calendar application is protected by the application lock.
  • the calendar application is protected by an application lock.
  • the electronic device displays a prompt message 1301 and a fingerprint prompt 1302.
  • the prompt message 1301 is used to remind the user that the calendar application has been protected by the application lock, and the internal information of the application needs to be unlocked.
  • the fingerprint indicator 1302 is used to indicate the screen area on the display screen that receives the user's fingerprint.
  • the electronic device may also broadcast the content of the prompt message 1301.
  • the electronic device may switch from displaying the user interface 131 to displaying the user interface 132.
  • FIG. 13B is a schematic diagram of another display interface provided by an embodiment of the present application.
  • the user interface 132 includes instruction information 1303.
  • the indication information 1303 is used to indicate the travel information pre-stored by the user. Specifically, when the electronic device successfully matches the fingerprint information input by the user with the pre-stored fingerprint information, the electronic device queries the calendar application for the day’s itinerary and displays it on the display screen. In addition, while the electronic device displays the prompt message 1303, the electronic device may also broadcast the content of the prompt message 1303.
  • Unlocking methods include, but are not limited to, unlocking by entering a password, unlocking by entering a graphic track, unlocking by voiceprint, unlocking by face, unlocking by iris, etc.
  • the electronic device displays the application information corresponding to the voice command.
  • the unlocking method provided by the embodiment of the present application, the user does not need to enter the application to unlock the application and then view the information, allowing the user to view the application information conveniently.
  • the embodiments of the present application can reduce user operations, improve the convenience of operations, and thereby improve user experience.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center integrated with one or more available media.
  • the usable medium may be a magnetic medium, (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state hard disk).

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开了一种应用信息的显示方法及相关设备,该方法包括:电子设备检测到第一应用的应用信息的更新事件,响应于该更新事件,电子设备确定第一应用是否被应用锁锁定,该应用信息可以为小工具(widget)或者通知消息;当确定第一应用被应用锁锁定之后,电子设备在该应用消息上方显示锁定视图。通过本申请实施例提供的方法,可以保护用户的隐私信息,提升应用信息的安全性。

Description

一种应用信息的显示方法及相关设备
本申请要求于2020年3月6日提交中国国家知识产权局、申请号为202010153658.1、申请名称为“一种应用信息的显示方法及相关设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及电子技术领域,尤其涉及一种应用信息的显示方法及相关设备。
背景技术
随着智能手机生态系统的逐步完善和发展,以及智能手机存储的逐步增大,智能手机上安装的应用越来越多样化。用户在使用应用的过程中会交互大量的用户信息,其中包括很多用户的隐私信息,例如:交易记录、照片、邮件信息等等。
为了避免用户的隐私信息不被他人查看到,本领域技术人员提出了应用锁的概念。应用锁是智能手机上的一种用来保护应用中的隐私信息的功能。如果一个应用被应用锁锁定,在用户开启或者从当前界面跳转到被保护的应用时,智能手机会显示锁定界面以验证用户身份。在用户解锁成功之后,智能手机才显示这个应用中的用户界面。
但在实际使用过程中,应用中的信息不仅会在应用的用户界面中显示,也会通过其他形式呈现,例如,显示在主屏中的widget中、显示在消息通知界面中,等等。如何提升应用信息的安全性是本领域技术人员亟待解决的问题。
发明内容
本申请提供了一种应用信息的显示方法及相关装置,可以提升应用信息的安全性。
第一方面,本申请实施例提供了一种应用信息的显示方法,该方法包括:电子设备检测到第一应用信息的更新事件,所述第一应用信息为小工具widget或者通知消息,所述第一应用信息与第一应用具有对应关系;所述电子设备响应于所述第一应用信息的更新事件,所述电子设备确定所述第一应用被应用锁锁定,则所述电子设备在所述第一应用信息上方显示锁定视图。
示例性的,可参照图4A-图4B所对应的实施例。其中,该第一应用信息可以为日历应用的视图401,该第一应用可以为日历应用。在该示例中,日历应用被应用所锁定,电子设备在日历应用的视图401上方显示锁定视图,该锁定视图可以为锁定视图403。又例如,参照图10A-图10B所示的实施例。其中,该第一应用信息可以为日历应用的通知消息1001,锁定视图可以为锁定视图1002。该第一应用信息还可以为日历应用的通知消息1003,锁定视图可以为锁定视图1004。通过这种方法,在一个应用被应用锁锁定的情况下,电子设备会在该应用对应的widget或者通知消息上显示锁定视图,可以保护用户隐私,提升应用信息的安全性。
结合第一方面,在一种可能的实现方式中,所述第一应用信息为widget,所述第一应用信息的更新事件包括:所述电子设备从显示其他界面切换至显示主屏,所述电子设备从 熄屏状态切换至显示所述主屏,或者添加所述第一应用信息至所述主屏中的一项或者多项;其中,所述其他界面为所述电子设备显示的用户界面中除所述主屏外的用户界面;所述第一应用信息为通知消息,所述第一应用信息的更新事件包括:所述第一应用接收到所述通知消息,当前时间到达所述通知消息的预设显示时间,或者呼出通知消息列表中的一项或者多项。
结合第一方面,在一种可能的实现方式中,所述电子设备确定所述第一应用被应用锁锁定,则所述电子设备在所述第一应用信息上方显示锁定视图,包括:所述电子设备确定所述第一应用被应用锁锁定,且所述第一应用处于未解锁状态,则所述电子设备在所述第一应用信息上方显示锁定视图。其中,所述电子设备确定所述第一应用处于未解锁状态包括:所述电子设备确定当前时刻距离最近一次解锁所述第一应用的应用锁成功的时刻超过第一预设时间段;所述电子设备确定当前时刻距离最近一次显示所述第一应用的用户界面的时刻超过第二预设时间段;所述电子设备确定最近一次解锁所述第一应用的应用锁成功之后,所述电子设备进行了锁屏中的一项或者多项。
这种可能的实现方式可以参考图4D所对应的实施例。通过这种方式,在一个应用被应用锁保护,且该应用处于未解锁状态的情况下,该应用对应的应用信息上方会显示锁定视图,可以保护应用的信息不被泄露,提升应用信息的安全性。另外,在一个应用被应用锁保护,且该应用处于解锁状态的情况下,电子设备直接显示应用信息,可以减少用户的操作,提升用户查看应用信息的效率。
结合第一方面,在一种可能的实现方式中,所述电子设备确定所述第一应用被应用锁锁定,则所述电子设备在所述第一应用信息上方显示锁定视图,包括:所述电子设备确定所述第一应用被应用锁锁定,且所述第一应用信息中的数据处于未加锁状态,则所述电子设备在所述第一应用信息上方显示锁定视图。这种可能的实现方式可以参考图5C所对应的实施例。通过这种方式,在应用提供了处于加锁状态的应用信息的情况下,电子设备可以正常显示应用信息,可以保留应用自身的应用信息的锁定方式。
结合第一方面,在一种可能的实现方式中,所述电子设备确定所述第一应用被应用锁锁定,则所述电子设备在所述第一应用信息上方显示锁定视图,包括:所述电子设备确定所述第一应用被应用锁锁定,且所述第一应用信息中的数据包含处于加锁状态的数据,则所述电子设备在所述第一应用信息中处于加锁状态的数据的上方显示锁定视图。这种可能的实现方式可以参考图5F所对应的实施例。其中,第一应用信息可以为日历应用的视图511,在视图511中,显示数据“煤化工项目汇报会全天”以及“小区业主委员选举下午5:50-下午8:00”处于加锁状态。锁定视图可以为锁定视图512。通过这种方式,电子设备可以对需要保护的信息进行加密显示,正常显示常规信息。
结合第一方面,在一种可能的实现方式中,所述电子设备确定所述第一应用被应用锁锁定,则所述电子设备在所述第一应用信息上方显示锁定视图,包括:所述电子设备确定所述第一应用被应用锁锁定,所述第一应用处于未解锁状态,且所述第一应用信息中的数据处于未加锁状态,则所述电子设备在所述第一应用信息上方显示锁定视图。这种可能的实现方式可以参照图6A对应的实施例。
结合第一方面,在一种可能的实现方式中,所述方法还包括:所述电子设备检测到针 对所述锁定视图的操作;响应于所述操作,所述电子设备显示密码输入框,所述密码输入框用于接收解锁密码或者解锁轨迹;电子设备接收输入的解锁密码或者解锁轨迹;当所述电子设备确定所述解锁密码与预存的解锁密码相同,或者所述解锁轨迹与预存的解锁轨迹相同时,所述电子设备对所述锁定视图进行解锁。
这种可能的实现方式可以参考图7A-图7C所对应的实施例。该针对锁定视图的操作可以为针对锁定视图701的操作。该密码输入框可以为密码输入框703或者为图形密码704。在另一些实施例中,电子设备显示的锁定视图可以包含密码输入框。用户可以直接通过密码输入框输入解锁密码,或者通过图形密码输入解锁轨迹,无需对锁定视图进行操作。示例性的,可以参照图10C所对应的实施例,锁定视图1006中包括密码输入框1007。又例如,可以参照图10D所对应的实施例,锁定视图1008中包括密码输入框1009。在另一些实施例中,所述电子设备检测到针对所述锁定视图的操作;响应于所述操作,所述电子设备可以显示对话框,该对话框中可以包含密码输入框。示例性的,该对话框可参照图7D中的对话框705,该对话框还可以为图7E中的对话框707。
结合第一方面,在一种可能的实现方式中,所述方法还包括:所述电子设备检测到针对所述锁定视图的操作;响应于所述操作,所述电子设备获取用户的生理数据,所述生理数据包括指纹信息、声纹信息、虹膜信息、面部信息中的一项或者多项;当所述电子设备确定所述生理数据与预存的生理数据相匹配时,所述电子设备对所述锁定视图进行解锁。
结合第一方面,在一种可能的实现方式中,所述第一应用信息为多个,所述第一应用信息包括第二应用信息和第三应用信息,所述方法还包括:所述电子设备检测到针对所述目标锁定视图的触控操作,所述目标锁定视图为所述第二应用信息上的锁定视图和所述第三应用信息上的锁定视图中的一个;所述电子设备通过所述目标锁定视图所在的屏幕区域获取用户的指纹信息;当所述电子设备确定所述指纹信息与预存的指纹信息相匹配,且所述目标锁定视图为第二应用信息上的锁定视图时,所述电子设备对所述第二应用信息上方的锁定视图进行解锁;当所述电子设备确定所述指纹信息与预存的指纹信息相匹配,且所述目标锁定视图为第三应用信息上的锁定视图时,所述电子设备对所述第三应用信息上方的锁定视图进行解锁。
这种可能的实现方式可以参照图7F-图7G所对应的实施例,该第二应用信息上的锁定视图可以为锁定视图711,该第三应用信息上的锁定视图可以为锁定视图712。用户的手指触摸锁定视图711所在的屏幕区域,电子设备根据用户输入的指纹识别出的指纹信息与电子设备预存的指纹信息相匹配,则电子设备对锁定视图711进行解锁。
结合第一方面,在一种可能的实现方式中,所述第一应用信息为多个,所述第一应用信息包括第四应用信息和第五应用信息电子设备的主屏中还包括第三应用信息或者所述电子设备的通知消息列表中还包括第三应用信息,所述方法还包括:所述电子设备采集用户的眼球位置以及面部信息;所述电子设备根据所述眼球位置确定人眼的注视位置;当所述电子设备确定所述面部信息与预存的面部信息相匹配,且所述注视位置与所述第四应用信息上方的锁定视图对应时,所述电子设备对所述第四应用信息上方的锁定视图进行解锁;当所述电子设备确定所述面部信息与预存的面部信息相匹配,且所述注视位置与所述第五应用信息上方的锁定视图对应时,所述电子设备对所述第五应用信息上方的锁定视图进行 解锁。
这种可能的实现方式可以参照图7H所对应的实施例。电子设备可以通过摄像头193采集用户的眼球位置,确定人眼当前的注视位置,再根据注视位置确定该注视位置对应的应用信息为锁定视图733。电子设备确定根据摄像头193获取到的用户图像识别出的面部信息与预存的面部信息匹配,则电子设备对锁定视图733进行解锁。
第二方面,本申请实施例提供了一种应用信息的显示方法,该方法包括:所述电子设备检测到呼出历史任务界面的操作,所述历史任务界面中包括所述电子设备后台运行的一个或多个应用的用户界面;响应于所述呼出历史任务界面的操作,所述电子设备确定第一应用被应用锁锁定,则所述电子设备在所述第一应用的应用界面上方显示锁定视图,所述第一应用为所述历史任务界面中的一个用户界面对应的应用。
示例性的,可以参照图12所对应的实施例,该历史任务界面可以参照用户界面121所示。其中,历史任务界面包括,联系人应用界面1201、微信应用界面1201和邮箱应用界面1203。在该示例中,电子设备上的微信应用被应用锁锁定,电子设备在微信应用界面1201上方显示锁定视图。通过这种方法,在一个应用已经被应用锁锁定的情况下,电子设备可以对历史任务界面中该应用的应用界面进行锁定,可以避免应用信息的泄露,提升应用信息的安全性。
结合第二方面,在一种可能的实现方式中,所述电子设备确定第一应用被应用锁锁定,则所述电子设备在所述第一应用的应用界面上方显示锁定视图,包括:所述电子设备确定所述第一应用被应用锁锁定,且所述第一应用处于未解锁状态,则所述电子设备在所述第一应用的应用界面上方显示锁定视图;其中,所述电子设备确定所述第一应用处于未解锁状态包括:所述电子设备确定当前时刻距离最近一次解锁所述第一应用的应用锁成功的时刻超过第一预设时间段;所述电子设备确定当前时刻距离最近一次显示所述第一应用的用户界面的时刻超过第二预设时间段;所述电子设备确定最近一次解锁所述第一应用的应用锁成功之后,所述电子设备进行了锁屏中的一项或者多项。
结合第二方面,在一种可能的实现方式中,所述电子设备确定第一应用被应用锁锁定,则所述电子设备在所述第一应用的应用界面上方显示锁定视图,包括:所述电子设备确定所述第一应用被应用锁锁定,且所述第一应用的应用界面中的数据处于未加锁状态,则所述电子设备在所述第一应用的应用界面上方显示锁定视图。
结合第二方面,在一种可能的实现方式中,所述电子设备确定所述第一应用被应用锁锁定,则所述电子设备在所述第一应用的应用界面上方显示锁定视图,包括:所述电子设备确定所述第一应用被应用锁锁定,且所述第一应用的应用界面中的数据包含处于加锁状态的数据,则所述电子设备在所述第一应用的应用界面中处于加锁状态的数据的上方显示锁定视图。
结合第二方面,在一种可能的实现方式中,所述电子设备确定所述第一应用被应用锁锁定,则所述电子设备在所述第一应用的应用界面上方显示锁定视图,包括:所述电子设备确定所述第一应用被应用锁锁定,所述第一应用处于未解锁状态,且所述第一应用的应用界面中的数据处于未加锁状态,则所述电子设备在所述第一应用的应用界面上方显示锁定视图。
结合第二方面,在一种可能的实现方式中,所述方法还包括:所述电子设备检测到针对所述锁定视图的操作;响应于所述操作,所述电子设备显示密码输入框,所述密码输入框用于接收解锁密码或者解锁轨迹;电子设备接收输入的解锁密码或者解锁轨迹;当所述电子设备确定所述解锁密码与预存的解锁密码相同,或者所述解锁轨迹与预存的解锁轨迹相同时,所述电子设备对所述锁定视图进行解锁。
结合第二方面,在一种可能的实现方式中,所述方法还包括:所述电子设备检测到针对所述锁定视图的操作;响应于所述操作,所述电子设备获取用户的生理数据,所述生理数据包括指纹信息、声纹信息、虹膜信息、面部信息中的一项或者多项;当所述电子设备确定所述生理数据与预存的生理数据相匹配时,所述电子设备对所述锁定视图进行解锁。
结合第二方面,在一种可能的实现方式中,所述历史任务界面中包括所述电子设备后台运行多个应用的用户界面,所述历史任务界面中包括第二应用的应用界面和第三应用的应用界面,所述方法还包括:所述电子设备检测到针对所述目标锁定视图的触控操作,所述目标锁定视图为所述第二应用的应用界面上的锁定视图和所述第三应用的应用界面上的锁定视图中的一个;所述电子设备通过所述目标锁定视图所在的屏幕区域获取用户的指纹信息;当所述电子设备确定所述指纹信息与预存的指纹信息相匹配,且所述目标锁定视图为第二应用的应用界面上的锁定视图时,所述电子设备对所述第二应用的应用界面上方的锁定视图进行解锁;当所述电子设备确定所述指纹信息与预存的指纹信息相匹配,且所述目标锁定视图为第三应用的应用界面上的锁定视图时,所述电子设备对所述第三应用的应用界面上方的锁定视图进行解锁。
结合第二方面,在一种可能的实现方式中,所述历史任务界面中包括所述电子设备后台运行多个应用的用户界面,所述历史任务界面包括第四应用的应用界面和第五应用的应用界面,所述方法还包括:所述电子设备采集用户的眼球位置以及面部信息;所述电子设备根据所述眼球位置确定人眼的注视位置;当所述电子设备确定所述面部信息与预存的面部信息相匹配,且所述注视位置与所述第四应用的应用界面上方的锁定视图对应时,所述电子设备对所述第四应用的应用界面上方的锁定视图进行解锁;当所述电子设备确定所述面部信息与预存的面部信息相匹配,且所述注视位置与所述第五应用的应用界面上方的锁定视图对应时,所述电子设备对所述第五应用的应用界面上方的锁定视图进行解锁。
第三方面,本申请实施例提供了一种应用信息的显示方法,该方法包括:所述电子设备接收到语音指令,所述语音指令用于获取第一应用中的应用信息;响应于所述语音指令,所述电子设备确定第一应用被应用锁锁定,则所述电子设备不显示或者播报所述语音指令对应的应用信息,或者,所述电子设备显示或者播报所述第一应用被应用锁锁定的提示信息。
示例性的,可参照图13A所对应的实施例,当检测到用户的语音指令“今天的日程是什么”时,响应于该语音指令,电子设备确定日历应用被应用锁锁定。电子设备可以显示提示信息1301和指纹提示符1302。其中,该提示信息1301用于提示用户日历应用已被应用锁保护,查看应用内部信息需要进行解锁。指纹指示符1302,用于指示显示屏上接收用户指纹的屏幕区域。用户可以通过指纹解锁对应用信息进行解锁。
结合第三方面,在一种可能的实现方式中,所述电子设备确定所述第一应用被应用锁 锁定,则所述电子设备不显示或者播报所述语音指令对应的应用信息,或者,所述电子设备显示或者播报所述第一应用被应用锁锁定的提示信息,包括:所述电子设备确定所述第一应用被应用锁锁定,且所述第一应用处于未解锁状态,则所述电子设备不显示或者播报所述语音指令对应的应用信息,或者,所述电子设备显示或者播报所述第一应用被应用锁锁定的提示信息;其中,所述电子设备确定所述第一应用处于未解锁状态包括:所述电子设备确定当前时刻距离最近一次解锁所述第一应用的应用锁成功的时刻超过第一预设时间段;所述电子设备确定当前时刻距离最近一次显示所述第一应用的用户界面的时刻超过第二预设时间段;所述电子设备确定最近一次解锁所述第一应用的应用锁成功之后,所述电子设备进行了锁屏中的一项或者多项。
结合第三方面,在一种可能的实现方式中,所述方法还包括:所述电子设备显示密码输入框,所述密码输入框用于接收解锁密码或者解锁轨迹;电子设备接收输入的解锁密码或者解锁轨迹;当所述电子设备确定所述解锁密码与预存的解锁密码相同,或者所述解锁轨迹与预存的解锁轨迹相同时,所述电子设备显示或者播报所述语音指令对应的应用信息。
结合第三方面,在一种可能的实现方式中,所述方法还包括:所述电子设备获取用户的生理数据,所述生理数据包括指纹信息、声纹信息、虹膜信息、面部信息中的一项或者多项;当所述电子设备确定所述生理数据与预存的生理数据相匹配时,所述电子设备显示或者播报所述语音指令对应的应用信息。示例性的,可参照图13B所对应的实施例。当电子设备匹配用户输入的指纹信息与预存的指纹信息成功时,电子设备查询日历应用中有关于当天的行程安排,并在显示屏中显示出来。另外,在电子设备显示提示消息1303的同时,电子设备还可以播报提示消息1303的内容。
第四方面,本申请实施例提供了一种电子设备,该电子设备包括一个或多个存储器和一个或多个处理器,该一个或多个存储器与该一个或多个处理器耦合,该一个或多个存储器用于存储计算机程序代码,该程序代码包括计算机指令,当该一个或多个处理器执行该计算机指令时,使得该电子设备执行如上述第一方面以及第一方面中任一可能的实现方式描述的方法;或者执行如上述第二方面以及第二方面中任一可能的实现方式描述的方法;或者执行如上述第三方面以及第三方面中任一可能的实现方式描述的方法。
第五方面,本申请提供一种计算机程序产品,所述计算机程序产品包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如上述第一方面以及第一方面中任一可能的实现方式描述的方法;或者执行如上述第二方面以及第二方面中任一可能的实现方式描述的方法;或者执行如上述第三方面以及第三方面中任一可能的实现方式描述的方法。
第六方面,本申请提供一种计算机可读存储介质,包括指令,当上述指令在电子设备上运行时,使得上述电子设备执行如上述第一方面以及第一方面中任一可能的实现方式描述的方法;或者执行如上述第二方面以及第二方面中任一可能的实现方式描述的方法;或者执行如上述第三方面以及第三方面中任一可能的实现方式描述的方法。
可以理解地,第五方面所述的计算机程序产品以及第六方面所述的计算机可读存储介质,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
在本申请实施例中,在一个应用被应用锁锁定的情况下,电子设备会在该应用对应的 widget或者通知消息上显示锁定视图,可以保护用户隐私,提升应用信息的安全性。
附图说明
图1A是本申请实施例提供的一种电子设备的用户界面的示意图;
图1B是本申请实施例提供的一种锁定界面的示意图;
图1C是本申请实施例提供的一种电子设备上显示锁定界面的流程图;
图2A是本申请实施例提供的一种电子设备上的主屏的示意图;
图2B是本申请实施例提供的一种Widget的视图信息更新的流程图;
图3A是本申请实施例提供的一种电子设备的结构示意图;
图3B是本申请实施例提供的一种电子设备的软件结构框图;
图4A是本申请实施例提供的又一种电子设备上的主屏的示意图;
图4B是本申请实施例提供的一种显示widget的流程图;
图4C是本申请实施例提供的又一种电子设备上的主屏的示意图;
图4D是本申请实施例提供的又一种显示widget的流程图;
图5A是本申请实施例提供的一种显示widget的用户界面的示意图;
图5B是本申请实施例提供的又一种显示widget的用户界面的示意图;
图5C是本申请实施例提供的一种显示widget的流程图;
图5D是本申请实施例提供的一种获取视图信息的流程图;
图5E是本申请实施例提供的又一种获取视图信息的流程图;
图5F是本申请实施例提供的一种显示视图的示意图;
图6A是本申请实施例提供的又一种显示widget的流程图;
图6B是本申请实施例提供的一些用户界面的示意图;
图7A-图7G是本申请实施例提供的一些显示界面的示意图;
图7H是本申请实施例提供的一种解锁锁定视图的示意图;
图8是本申请实施例提供的一种解锁锁定视图的方法流程图;
图9A是本申请实施例提供的一种显示通知消息的示意图;
图9B是本申请实施例提供的另一种显示通知消息的示意图;
图10A是本申请实施例提供的一种显示通知消息的示意图;
图10B是本申请实施例提供的又一种显示通知消息的示意图;
图10C是本申请实施例提供的一种显示锁定视图的用户界面的示意图;
图10D是本申请实施例提供的又一种显示锁定视图的用户界面的示意图;
图10E是本申请实施例提供的一些用户界面的示意图;
图11是本申请实施例提供的一种解锁锁定视图的方法流程图;
图12是本申请实施例提供的一种历史任务界面的示意图;
图13A是本申请实施例提供的一种显示界面的示意图;
图13B是本申请实施例提供的另一种显示界面的示意图。
具体实施方式
下面将结合附图对本申请实施例中的技术方案进行清楚、详尽地描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;文本中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,另外,在本申请实施例的描述中,“多个”是指两个或多于两个。
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为暗示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征,在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
以下介绍了电子设备、用于这样的电子设备的用户界面、和用于使用这样的电子设备的实施例。在一些实施例中,电子设备可以是个人数字助理和/或便携式电子设备,诸如手机、平板电脑、具备无线通讯功能的可穿戴电子设备(如智能手表)等。便携式电子设备的示例性实施例包括但不限于搭载
Figure PCTCN2021078973-appb-000001
或者其它操作系统的便携式电子设备。上述便携式电子设备也可以是其它便携式电子设备,诸如具有触敏表面或触控面板的膝上型计算机(Laptop)等。还应当理解的是,在其他一些实施例中,上述电子设备也可以不是便携式电子设备,而是具有触敏表面或触控面板的台式计算机。
以下对本申请实施例中涉及到的一些术语进行介绍。
本申请的说明书和权利要求书及附图中的术语用户界面(user interface,UI),是应用程序或操作系统与用户之间进行交互和信息交换的介质接口,它实现信息的内部形式与用户可以接受形式之间的转换。应用程序的用户界面是通过java、可扩展标记语言(extensible markup language,XML)等特定计算机语言编写的源代码,界面源代码在电子设备上经过解析,渲染,最终呈现为用户可以识别的内容,比如图片、文字、按钮等控件。控件(control),是用户界面的基本元素,典型的控件有按钮(button)、小工具(widget)、工具栏(toolbar)、菜单栏(menu bar)、文本框(text box)、滚动条(scrollbar)、图片和文本。界面中的控件的属性和内容是通过标签或者节点来定义的,比如XML通过<Textview>、<ImgView>、<VideoView>等节点来规定界面所包含的控件。一个节点对应界面中一个控件或属性,节点经过解析和渲染之后呈现为用户可视的内容。此外,很多应用程序,比如混合应用(hybrid application)的界面中通常还包含有网页。网页,也称为页面,可以理解为内嵌在应用程序界面中的一个特殊的控件,网页是通过特定计算机语言编写的源代码,例如超文本标记语言(hyper text markup language,HTML),层叠样式表(cascading style sheets,CSS),java脚本(JavaScript,JS)等,网页源代码可以由浏览器或与浏览器功能类似的网页显示组件加载和显示为用户可识别的内容。网页所包含的具体内容也是通过网页源代码中的标签或者节点来定义的,比如HTML通过<p>、<img>、<video>、<canvas>来定义网页的元素和属性。
用户界面常用的表现形式是图形用户界面(graphic user interface,GUI),是指采用图形方式显示的与计算机操作相关的用户界面。它可以是在电子设备的显示屏中显示的一个图标、窗口、控件等界面元素。
本申请的说明书和权利要求书及附图中的术语应用锁,是一种锁定应用的功能,可以 保护用户的隐私信息。如果一个应用被应用锁保护,在用户开启或者从当前界面跳转到被保护的应用时,或者从当前界面跳转到被保护应用的一些预设的被保护界面(例如,显示消费记录的界面、显示隐藏相册的界面,等等)时,或者显示被保护的应用的一些被保护视图(例如,widget、通知消息、历史任务界面,等等)时,智能手机可以通过主屏应用显示锁定界面以验证用户身份,或者可以通过被保护的应用显示锁定界面以验证用户身份。在用户解锁成功之后,智能手机才显示这个应用中的用户界面。
示例性的,参见图1A,是本申请实施例提供的一种电子设备的用户界面的示意图。用户界面10用于显示应用锁的设置界面,用户界面10包括:状态栏206、返回控件207、开关控件201、开关控件202、开关控件203、开关控件204以及开关控件205。
其中,状态栏206可以包括信号指示符、电量指示符、时间指示符等等图标。
返回控件207,可以用于切换至当前界面的上一个界面,需要说明的是,上一个界面在应用的程序设定时便已确定。
开关控件201,可以用于开启或者关闭应用锁功能。图1A中的开关控件201处于开启状态。当用户点击开关控件201时,响应于该点击操作,电子设备关闭应用锁功能,并将开关控件201从显示开启状态切换至显示关闭状态(可参照控件202的显示状态)。
开关控件202,可以用于开启或者关闭“日历”应用的应用锁功能。图1A中的开关控件202处于关闭状态。当用户点击开关控件202时,响应于该点击操作,电子设备开启“日历”应用的应用锁功能,并将开关控件202从显示关闭状态切换至显示开启状态(可参照控件202的显示状态)。在“日历”应用的应用锁功能开启之后,用户开启或者从当前界面跳转到“日历”应用时,智能手机会显示锁定界面以验证用户身份。相似的,用户可以通过开关控件203、开关控件204以及开关控件205,控制其对应的应用的应用锁的开启或者关闭,此处不再赘述。
参见图1B,是本申请实施例提供的一种锁定界面的示意图。用户界面11包括解锁指示符211。解锁指示符211所在的屏幕区域可以接收用户的指纹信息。当接收到的用户的指纹信息与预存的指纹信息匹配时,电子设备验证用户身份成功,电子设备不再显示锁定界面,切换显示“日历”应用的用户界面。需要说明的是,电子设备还可以通过其他方式对应用锁进行解锁,例如:人脸识别、虹膜识别、声纹识别、密码验证、图案验证,等等。对应于不同形式的解锁方式,锁定界面还可以是其他形式的用户界面。
参见图1C,是本申请实施例提供的一种电子设备上显示锁定界面的流程示意图。首先,电子设备在显示屏上显示主屏,主屏上可以显示多个应用的应用图标。之后,响应于用户针对一个应用图标(示例为“日历”应用的应用图标)的操作(例如:单击、双击,等等),电子设备加载“日历”应用的应用界面。电子设备检测到“日历”应用已开启应用锁,则电子设备在应用界面的上层叠加锁定界面。通过这种方式,用户无法查看到“日历”应用的应用界面,可以保护“日历”应用中的用户信息。另外,在用户对锁定界面进行解锁之后,电子设备显示锁定界面下的应用界面。
本申请的说明书和权利要求书及附图中的术语小工具(或称为小部件、微件)widget,是一种应用信息的呈现形式。一个widget与一个应用具有对应关系,例如,日历widget与日历应用具有对应关系,邮箱widget与邮箱应用具有对应关系。widget可以被嵌入到其它 应用程序中(比如主屏应用),并可以更新自身呈现的信息。用户可以通过主屏中的widget查看到其他应用的应用信息。通常,用户可以自定义电子设备主屏中显示的widget,示例性的,电子设备的主屏上显示的widget可以包括时钟、天气、日历、备忘录,等等。示例性的,主屏中的widget可以参照图2A中的日历widget221,图4A中的邮箱应用的视图402,等等。
本申请的说明书和权利要求及附图中的术语主屏(home screen),是电子设备中的一种用户界面。电子设备中的主屏应用可以用于显示电子设备的主屏。主屏上通常包含状态栏、一个或多个应用图标、页面指示符以及常用应用图标的托盘,等等。可选的,用户可以按照需要在主屏上添加一些widget。示例性的,参见图2A,是本申请实施例提供的一种电子设备上的主屏的示意图。用户界面21包括:状态栏206、日历widget221、应用图标222、页面指示符223以及常用应用图标的托盘224。其中:
状态栏206可参照上述内容中的描述,此处不再赘述。
应用图标222,为安装在电子设备上的应用的图标。需要说明的是,电子设备的主屏上还可以包括其他应用的应用图标,例如:微信(Wechat)的图标、QQ的图标、推特(Twitter)的图标、邮箱的图标、设置的图标,等等。
页面指示符223,可用于指示页面数量,以及用户当前浏览的是哪一个页面。此外,用户可以在当前页面左右滑动,来浏览其他页面中的应用图标。
常用应用图标的托盘224,可以展示用户常用的应用图标,示例性的,常用应用图标的托盘224中展示了:电话图标225、短信图标226、相机图标227以及浏览器图标228。用户可以对常用应用图标的托盘224中包含的应用图标进行自定义设置。
日历widget221,为“日历”应用提供的widget,可以用于指示当前的时间,例如日期、星期几,等等。还可以用于显示用户设置的日程信息,示例性的,包括有用户设置的项目名称以及该项目对应的时间信息。需要说明的是,日历widget221的显示形式以及包含的内容可以由“日历”应用的设计所确定。主屏上显示的日历widget221的视图信息由“日历”应用提供。
在一些实施例中,电子设备可以包括主屏按键。该主屏按键可以是实体按键,也可以是虚拟按键。该主屏按键可用于接收用户的指令,将当前显示的用户界面返回到主屏,这样可以方便用户随时查看主屏。上述指令具体可以是用户单次按下主屏幕键的操作指令,也可以是用户在短时间内连续两次按下主屏按键的操作指令,还可以是用户在预定时间内长按主屏幕键的操作指令。在另一些实施例中,电子设备不包括主屏按键,电子设备可以根据预设操作,将当前显示的用户界面返回到主屏。例如,该预设操作可以是从电子设备的显示屏下方向上滑动的操作,等等。
参见图2B,是本申请实施例提供的一种Widget的视图信息更新的流程图。电子设备的主屏应用检测到Widget更新事件,主屏应用发起更新操作。示例性的,Widget更新事件可以包括:主屏翻页,电子设备开机,锁屏后点亮屏幕,从应用界面切换为主屏,或者添加新的Widget,等等事件。主屏应用向widget对应的应用发送请求,该请求用于请求视图信息。响应于该请求,应用向主屏应用反馈视图信息。其中,视图信息可以包括widget的显示样式、位置、以及显示数据,等等信息。
以下对电子设备的硬件结构进行介绍。下面以电子设备10为例进行介绍。请参阅图3A,图3A是本申请实施例提供的电子设备10的结构示意图。
电子设备10可以包括:处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户身份标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
应该理解的是,图3A所示电子设备10仅是一个范例,并且电子设备10可以具有比图3A中所示的更多的或者更少的部件,可以组合两个或多个的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
其中,控制器可以是电子设备10的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(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)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备10的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和显示屏194通过DSI接口通信,实现电子设备10的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备10充电,也可以用于电子设备10与外围设备之间传输数据。
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备10的结构限定。在本申请另一些实施例中,电子设备10也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。
电子设备10的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备10中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备10上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。
无线通信模块160可以提供应用在电子设备10上的包括无线局域网(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)等无线通信的解决方案。
在一些实施例中,电子设备10的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备10可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(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技术等。
电子设备10通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(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)等。在一些实施例中,电子设备10可以包括1个或N个显示屏194,N为大于1的正整数。
电子设备10可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。
摄像头193用于捕获静态图像或视频。在一些实施例中,电子设备10可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备10在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备10可以支持一种或多种视频编解码器。这样,电子设备10可以播放或录制多种编码格式的视频,例如:动态图像专家组 (moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器。通过NPU可以实现电子设备10的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备10的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备10的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备10使用过程中所创建的数据(比如音频数据,电话本等)等。
电子设备10可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备10可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备10接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备10可以设置至少一个麦克风170C。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。当有触摸操作作用于显示屏194,电子设备10根据压力传感器180A检测所述触摸操作强度。电子设备10也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。
陀螺仪传感器180B可以用于确定电子设备10的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备10围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,电子设备10通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。电子设备10可以利用磁传感器180D检测翻盖皮套的开合。
加速度传感器180E可检测电子设备10在各个方向上(一般为三轴)加速度的大小。当 电子设备10静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备10可以通过红外或激光测量距离。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备10通过发光二极管向外发射红外光。电子设备10使用光电二极管检测来自附近物体的红外反射光。
环境光传感器180L用于感知环境光亮度。电子设备10可以根据感知的环境光亮度自适应调节显示屏194亮度。
指纹传感器180H用于采集指纹。电子设备10可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,电子设备10利用温度传感器180J检测的温度,执行温度处理策略。
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。例如,触摸事件类型可以是单击事件、双击事件、长按事件、按压(force touch)事件、拖拽事件,等等。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备10的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备10可以接收按键输入,产生与电子设备10的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备10的接触和分离。电子设备10可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。在一些实施例中,电子设备10采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备10中,不能和电子设备10分离。
电子设备10的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明电子设备10软件结 构。
图3B是本申请实施例提供的一种电子设备10的软件结构框图。
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用框架层,安卓运行时(Android runtime)和系统库,以及内核层。
应用程序层可以包括一个或者多个应用,示例性的,可以包括音乐播放器、视频播放器、图库、微信、主屏应用、备忘录等应用。需要说明的是,应用程序层还可以包含其他应用,此处不一一列举。其中,主屏应用可以用于显示电子设备的主屏,可以包括widget显示模块和视图锁定模块。widget显示模块可以用于显示主屏中的widget。视图锁定模块可以用于判断视图是否是锁定的,视图是否锁定可以与该视图对应的应用的锁定状态有关。
应用框架层为应用层的应用提供应用编程接口(application programming interface,API)和编程框架。应用框架层包括一些预先定义的函数。
如图3B所示,应用框架层可以包括窗口管理器,内容提供器,视图系统,应用锁模块,资源管理器,通知管理器,解锁模块,等等。
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。
内容提供器用来存放和获取数据,并使这些数据可以被应用访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。
资源管理器为应用提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
通知管理器使应用可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,智能终端振动,指示灯闪烁等。通知管理器还可以用于显示通知消息列表中的通知信息。
应用锁模块,可以用于实现应用锁功能,用户可以通过应用锁模块设置被保护(或称为锁定)的应用。
解锁模块,可以用于实现对应用锁的解锁功能。需要说明的是,解锁模块对应的解锁方式包括但不限于输入密码解锁,指纹解锁,屏下指纹解锁,人脸识别解锁,虹膜识别解锁,声纹识别解锁,等等解锁方式。另外,该模块可以向主屏应用返回应用锁是否解锁成功的结果。
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用层和应用框架层运行在虚拟机中。虚拟机将应用层和应用框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。
表面管理器用于对显示子系统进行管理,并且为多个应用提供了2D和3D图层的融合。
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,G.264,MP3,AAC,AMR,JPG,PNG等。
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。
2D图形引擎是2D绘图的绘图引擎。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。
下面基于上述内容中介绍的电子设备10,结合其他附图对本申请实施例提供的应用信息的显示方法进行详细说明。
在本申请的一些实施例中,若一个应用被应用锁锁定,则电子设备在主屏上该应用的widget视图上方显示锁定视图。在用户对锁定视图进行解锁之后,电子设备才显示该应用的widget视图中的信息。其中,在该应用的widget上方显示锁定视图的含义为:在该应用的widget的视图所在图层的上方叠加显示一个锁定视图,这个锁定视图可以遮挡该应用的widget。示例性的,参见图4A,是本申请实施例提供的一种电子设备上的主屏的示意图。用户界面41中包含锁定视图403和邮箱应用的视图402。其中,日历应用开启了应用锁,邮箱应用未开启应用锁。电子设备在日历应用的视图401所在图层的上方叠加了锁定视图403,锁定视图403可以遮挡日历应用的视图401。在一些实施例中,在用户对锁定视图403进行解锁之后,电子设备不再显示锁定视图403,可以显示下方的日历应用的视图401。用户解锁锁定视图的方式将在后续内容中进行介绍,此处不具体展开。
参见图4B,是本申请实施例提供的一种显示widget的流程图。当电子设备检测到widget更新事件时,电子设备判断该视图对应的应用是否被应用锁保护。示例性的,widget更新事件可以包括:主屏翻页,电子设备开机,锁屏后点亮屏幕,从应用界面切换为主屏,或者添加新的widget,等等事件。若电子设备判定该应用被应用锁保护,则电子设备显示widget,并在widget的上方显示锁定视图。示例性的,这种显示方式可参照图4A所示的用户界面41。若电子设备判定该应用未被应用锁保护,则电子设备显示widget。示例性的,这种显示方式可以参照图4C所示的用户界面42。通过这种方式,在一个应用被应用锁保护的情况下,该应用对应的widget上方会显示锁定视图,可以保护应用的信息不被泄露,提升应用信息的安全性。
在本申请的另一些实施例中,电子设备显示widget的流程还可以参照图4D所示的流程图。在本实施例中,当电子设备检测到widget更新事件时,电子设备判断该视图对应的应用是否被应用锁保护。若电子设备判定该应用未被应用锁保护,则电子设备显示widget。 若电子设备判定该应用被应用锁保护,则电子设备判断该应用是否处于解锁状态。若该应用处于解锁状态,则电子设备显示widget。若该应用处于未解锁状态,则电子设备显示widget,并在widget的上方显示锁定视图。
在一些可能的实现方式中,电子设备可以通过应用锁模块查询widget对应的应用是否处于解锁状态。例如,应用锁模块中存储有各个应用是否处于解锁状态的记录。电子设备可以根据widget对应的应用的应用标识,查询应用锁模块中的记录,从而确定widget对应的应用是否处于解锁状态。或者,该应用锁模块可以在电子设备查询widget对应的应用是否处于解锁状态时,对该widget对应的应用的状态进行判定;再将判定结果反馈给电子设备。
以下介绍一些应用锁模块判定一个应用是否处于解锁状态的方式。在一种可选的方式中,若应用锁模块确定用户已经通过该应用的应用锁的解锁,并且当前时刻距离最近一次解锁成功的时刻(或者,距离最近一次显示屏显示该应用的用户界面的时刻)未超过预设时间段,则应用锁模块确定该应用处于解锁状态。否则,该应用锁模块确定该应用处于未解锁状态。在另一种可选的方式中,若应用锁模块确定用户已经通过该应用的应用锁的解锁,并且最近一次解锁成功之后,电子设备未锁屏,则应用锁模块确定该应用处于解锁状态。否则,该应用锁模块确定该应用处于未解锁状态。在另一种可选的方式中,若用户已经通过该应用的应用锁的解锁,并且最近一次解锁成功之后,电子设备未锁屏,且当前时刻距离最近一次解锁成功的时刻(或者,距离最近一次显示屏显示该应用的用户界面的时刻)未超过预设时间段,则确定该应用处于解锁状态。否则,该应用锁模块确定该应用处于未解锁状态。应用锁模块可以根据判定结果,实时更新各个应用是否处于解锁状态的记录。或者,应用锁模块还可以对电子设备查询的widget对应的应用的状态进行判定,再将该应用的判定结果,反馈给电子设备。
通过这种方式,在一个应用被应用锁保护,且该应用处于未解锁状态的情况下,该应用对应的widget上方会显示锁定视图,可以保护应用的信息不被泄露,提升应用信息的安全性。另外,在一个应用被应用锁保护,且该应用处于解锁状态的情况下,电子设备显示widget,可以减少用户的操作,提升用户查看widget的效率。例如,在实际应用中,若电子设备中的日历应用被应用锁保护,那么主屏上的日历应用对应的widget上方会显示锁定视图。其他用户将无法通过电子设备的主屏查看到日历应用的信息,保护了用户的隐私信息。示例性的,电子设备的主屏可参见图4A所示的用户界面41。在用户解锁了日历应用的应用锁之后,用户可以查看到日历应用的应用界面,对日历应用进行操作。之后,用户跳转到其他用户界面进行操作,例如通过邮箱应用编辑邮件,此时,用户需要查看日程信息,用户可以切换回主屏查看日历应用的widget来获取日程信息。由于当前时刻距离最近一次解锁成功的时刻(或者,距离最近一次显示屏显示日历应用的用户界面的时刻)未超过预设时间段(例如,3分钟、5分钟,等时间),电子设备确定日历应用处于解锁状态,主屏上会直接显示日历应用的widget。示例性的,电子设备的主屏可参见图4C所示的用户界面42。通过这种方式,可以减少用户再对日历应用的widget或者日历应用进行解锁以查看日程信息的操作,能够提升用户的操作效率。在另一种情况中,若用户想锁定日历应用的widget,用户可以对电子设备进行锁屏。锁屏之后,电子设备再次被点亮屏幕,由于日 历应用最近一次解锁成功之后,电子设备已锁屏,电子设备可以确定日历应用处于未解锁状态。那么,主屏上的日历应用的widget上方会显示锁定视图。通过这种方式,用户可以方便地对widget进行锁定,保护应用的信息不被泄露,提升应用信息的安全性。
在一种可能的实现方式中,若应用被应用锁保护,则应用提供的widget的视图信息可以为加锁状态。在这种情况下,电子设备显示的widget为加锁状态的widget。示例性的,可参照图5A,图5A是本申请实施例提供的一种显示widget的示意图。在该示例中,日历应提供的视图信息已处于加锁状态。在用户界面51中,用户界面中包括日历应用的视图501,视图501已处于加锁状态。
在本申请一些实施例中,电子设备在判定一个应用被应用锁保护之后,电子设备在该应用的widget上方显示锁定视图。参见图5B,图5B是本申请实施例提供的一种显示widget的示意图。日历应用原本提供的是处于加锁状态的视图501。电子设备可以在视图501上方显示锁定视图502。
在本申请另一些实施例中,在电子设备显示被应用锁保护的应用的widget之前,可以判断应用提供的视图信息是否为加锁状态。参见图5C,是本申请实施例提供的一种显示widget的流程图。在本实施例中,当电子设备检测到widget更新事件时,电子设备判断该视图对应的应用是否被应用锁保护。若电子设备判定该应用未被应用锁保护,则电子设备显示widget。若电子设备判定该应用被应用锁保护,则电子设备判断应用提供的视图信息是否为加锁状态。若应用提供的视图信息为加锁状态,则电子设备显示widget。若应用提供的视图信息不是加锁状态,则电子设备显示widget,并在widget的上方显示锁定视图。通过这种方式,在应用提供了处于加锁状态的视图信息的情况下,电子设备可以正常显示widget,可以保留应用自身的widget锁定方式。
以下介绍电子设备判断应用提供的视图信息是否为加锁状态的一些方式。第一种方式,可参见图5D,图5D是本申请实施例提供的一种获取视图信息的流程图。电子设备的主屏应用检测到Widget更新事件,主屏应用发起更新操作。主屏应用向widget对应的应用发送请求,该请求用于请求视图信息。响应于该请求,应用向主屏应用反馈视图信息。其中,视图信息可以包括widget的显示样式、位置、显示数据,以及指示视图信息是否为加锁状态的指示信息,等等信息。主屏应用可以根据获取到的视图信息判断应用提供的视图信息是否为加锁状态。
第二种方式,可参见图5E,图5E是本申请实施例提供的另一种获取视图信息的流程图。电子设备的主屏应用检测到Widget更新事件,主屏应用发起更新操作。主屏应用向widget对应的应用发送第一请求,该第一请求用于请求视图信息。响应于该第一请求,应用向主屏应用反馈视图信息。其中,视图信息可以包括widget的显示样式、位置、显示数据等等信息。之后,主屏应用向该应用发送第二请求,该第二请求用于查询视图信息是否为加锁状态。其中,第二请求中包括各项视图信息的标识。然后,应用可以根据第二请求向主屏应用反馈指示视图信息是否为加锁状态的指示信息。具体的,应用可以根据各项视图信息的标识,确定该标识对应的视图信息是否为加锁状态。其中,指示信息中可以包括各项视图信息是否为加锁状态的信息。
第三种方式,电子设备的主屏应用检测到Widget更新事件,主屏应用发起更新操作。 主屏应用向widget对应的应用发送请求,该请求用于请求视图信息。响应于该请求,应用向主屏应用反馈视图信息。之后,主屏应用可以通过电子设备的数据库或者预设的存储区域查询视图信息是否为加锁状态。其中,该电子设备的数据库或者预设的存储区域可以用于存储视图信息是否为加锁状态的信息。应用可以在该数据库或者预设的存储区域中写入视图信息是否为加锁状态的信息,主屏应用可以从该数据库或者预设的存储区域中读取视图信息是否为加锁状态的信息。
第四种方式,电子设备的主屏应用检测到Widget更新事件,主屏应用发起更新操作。主屏应用向widget对应的应用发送请求,该请求用于请求视图信息。响应于该请求,应用向主屏应用反馈视图信息。之后,应用可以广播视图信息是否为加锁状态的信息。主屏应用可以通过接收到的广播信息确定应用提供的视图信息是否为加锁状态。
需要说明的是,还可以存在其他的确定应用提供的视图信息是否为加锁状态的方式。
在本申请的另一些实施例中,电子设备可以在处于加锁状态的视图信息上方显示锁定视图,正常显示不处于加锁状态的视图信息。示例性的,这种显示方式可以参照图5F所示的用户界面。用户界面53中包括日历应用的视图511和邮箱应用的视图513。在视图511中,显示数据“煤化工项目汇报会全天”以及“小区业主委员选举下午5:50-下午8:00”处于加锁状态。电子设备在这些视图信息上方显示锁定视图512。通过这种方式,电子设备可以对需要保护的信息进行加密显示,正常显示常规信息。
在本申请的另一些实施例中,电子设备显示widget的流程还可以参照图6A所示的流程图。在本实施例中,当电子设备检测到widget更新事件时,电子设备判断该视图对应的应用是否被应用锁保护。若电子设备判定该应用未被应用锁保护,则电子设备显示widget。若电子设备判定该应用被应用锁保护,则电子设备判断该应用是否处于解锁状态。若该应用处于解锁状态,则电子设备显示widget。若该应用处于未解锁状态,则电子设备判断应用提供的视图信息是否为加锁状态。若应用提供的视图信息为加锁状态,则电子设备显示widget。若应用提供的视图信息不是加锁状态,则电子设备显示widget,并在widget的上方显示锁定视图。
需要说明的是,上述列举的锁定视图仅为示例,在一些可能的实现方式中,锁定视图还可以为其他的表现形式。举例而言,该锁定视图还可以显示为杂志视图,可选的,该杂志视图可以周期性的更新一些风景或者人物图像。或者,该锁定视图可以中可以显示天气信息或时间信息等等。或者,该锁定视图可以显示为用户预设的图像或者形象。通过这种方式,可以进一步提升电子设备显示的美观性,也可以对锁定视图进行一定的隐藏,提升用户信息的安全性。
通过本申请实施例提供的显示widget的方法,在一个应用已经被应用锁锁定的情况下,电子设备可以对主屏上该应用的widget进行锁定。通过这种方式,可以避免应用信息的泄露,提升应用信息的安全性。
以上介绍了电子设备显示widget的方法,接下来,对解锁widget的锁定视图的方法进行介绍。其中,锁定视图可以为主屏在widget上方显示的视图,还可以为应用提供的处于 加锁状态的widget。
首先介绍一下现有技术中,针对应用提供的处于加锁状态的widget的解锁方法。参见图6B,是本申请实施例提供的一些用户界面的示意图。当用户对widget视图601进行操作(例如,长按、点击、双击、按压,等等)时,响应于该操作,电子设备开启widget视图601对应的消息应用,从显示用户界面61切换至显示用户界面62。用户界面62为消息应用中的用户界面,该用户界面包括提示信息602和指纹提示符603。该提示信息602用于提示用户消息应用已被应用锁保护,需要对消息应用进行解锁。指纹指示符603,用于指示显示屏上接收用户指纹的屏幕区域。
当电子设备匹配用户输入的指纹信息与预存的指纹信息成功时,电子设备可以从显示用户界面62切换至显示用户界面63。用户界面63为消息应用中的用户界面,其中,该界面可以显示消息内容。可以看出,在现有技术中,若用户想要查看widget中被保护的应用信息,需要跳转到应用内对应用进行解锁后才能查看。查看后,用户又需要执行额外的操作才能回到主屏,用户操作较为繁琐,用户体验较差。
以下介绍本申请实施例中提供的解锁widget的锁定视图的方法。
如图7A-图7B示例性所示,在本申请的一些实施例中,当用户对锁定视图进行操作(例如,长按,双击,单击,悬浮操作,等等)时,响应于该操作,电子设备在锁定视图上显示密码输入框。
参见图7A,是本申请实施例提供的一种显示界面的示意图。用户界面71用于显示电子设备的主屏,用户界面71包括锁定视图701以及邮箱应用的视图702。当用户对锁定视图进行操作时,响应于该操作,电子设备从显示用户界面71切换至显示用户界面72。参见图7B,是本申请实施例提供的又一种显示界面的示意图。用户界面72用于显示电子设备的主屏,用户界面72包括锁定视图701以及邮箱应用的视图702。锁定视图701上方显示有密码输入框703。用户可以通过密码输入框703输入解锁密码,该解锁密码可以为数字、字母、符号中的一项或者多项。当用户输入的解锁密码与预存的解锁密码相同时,电子设备对锁定视图进行解锁。需要说明的是,电子设备对锁定视图进行解锁的含义包括,电子设备不再显示锁定视图,以及电子设备更新该锁定视图对应的widget。其中,更新后的widget中包含的信息为未加锁的信息。示例性的,解锁成功之后,电子设备可以从显示用户界面72切换至显示用户界面42。
在又一种可能的实现方式中,当用户对锁定视图进行操作(例如,长按,双击,单击,悬浮操作,等等)时,响应于该操作,电子设备还可以在锁定视图上显示图形密码。这种显示方式可以参照图7C所示的用户界面73。用户界面73中包括锁定视图701以及邮箱应用的视图702。锁定视图701上方显示有图形密码704。用户可以通过图形密码704输入解锁轨迹。当用户输入的解锁轨迹与预存的解锁轨迹相同时,电子设备对锁定视图进行解锁。示例性的,解锁成功之后,电子设备可以从显示用户界面73切换至显示用户界面42。
在另一些实施例中,电子设备显示的锁定视图可以包含密码输入框或者图形密码。用户可以直接通过密码输入框输入解锁密码,或者通过图形密码输入解锁轨迹,无需对锁定视图进行操作。
在另一些实施例中,当用户对锁定视图进行操作(例如,长按,双击,单击,悬浮操 作,等等)时,响应于该操作,电子设备可以显示对话框。该对话框可以包含密码输入框或者图形密码,等等。示例性的,参见图7D,是本申请实施例提供的又一种显示界面的示意图。用户界面74中包括对话框705。对话框705中包括密码输入框706。用户可以通过密码输入框706输入解锁密码。参见图7E,是本申请实施例提供的又一种显示界面的示意图。用户界面75中包括对话框707。对话框707中包括图形密码708。用户可以通过图形密码708输入解锁轨迹。可以理解的是,对话框还可以有其他的显示方式,或者该对话框可以显示在需要解锁的锁定视图上方(或者周围),本申请实施例对对话框的显示方式和显示位置不作限制。
在另一些实施例中,电子设备还可以通过屏下指纹解锁的方式对锁定视图进行解锁。示例性的,可参见图7F,图7F是本申请实施例提供的又一种显示界面的示意图。用户界面76包括锁定视图711以及锁定视图712。锁定视图711所在的屏幕区域所接收的指纹可以用来解锁锁定视图711,锁定视图712所在的屏幕区域所接收的指纹可以用来解锁锁定视图712。若电子设备根据用户输入的指纹识别出的指纹信息与电子设备预存的指纹信息相匹配,电子设备对该指纹对应的锁定视图进行解锁。示例性的,如图7F所示,用户的手指触摸锁定视图711所在的屏幕区域。若电子设备根据用户输入的指纹识别出的指纹信息与电子设备预存的指纹信息相匹配,则电子设备对锁定视图711进行解锁。解锁成功之后,电子设备的显示界面可以参照图7G所示的用户界面77。用户界面77包括日历应用的视图713和锁定视图712。可选的,为了避免用户无意触碰到锁定视图,或者翻阅主屏界面而造成的误触碰,电子设备可以在检测到用户触控到锁定视图,并且持续了预设时间之后,电子设备对用户的指纹进行验证。
在另一些可能的实现方式中,电子设备的指纹解锁也可以位于特定区域,在这种情况下,若电子设备根据用户输入的指纹识别出的指纹信息与电子设备预存的指纹信息相匹配,则电子设备可以对所有的锁定视图进行解锁,或者电子设备对当前显示的用户界面上的锁定视图进行解锁,或者电子设备对用户最近一次触控到的锁定视图进行解锁。
在另一些实施例中,电子设备还可以通过人脸解锁的方式对锁定视图进行解锁。在一种可能的实现方式中,若电子设备根据摄像头获取到的用户图像识别出的面部信息与预存的面部信息匹配,则电子设备可以对所有的锁定视图进行解锁,或者电子设备对当前显示的用户界面上的锁定视图进行解锁,或者电子设备对用户最近一次触控到的锁定视图进行解锁。
在另一种可能的实现方式中,电子设备可以通过摄像头采集眼球位置,确定人眼当前的注视位置;电子设备再根据注视位置确定该注视位置对应的widget。若电子设备根据摄像头获取到的用户图像识别出的面部信息与预存的面部信息匹配,则电子设备对该注视位置对应的widget进行解锁。示例性的,参见图7H,图7H是本申请实施例提供的一种解锁锁定视图的示意图。电子设备可以通过摄像头193采集用户的眼球位置,确定人眼当前的注视位置,再根据注视位置确定该注视位置对应的widget为锁定视图733。若电子设备根据摄像头193获取到的用户图像识别出的面部信息与预存的面部信息匹配,则电子设备对锁定视图733进行解锁。
以上介绍了电子设备对锁定视图进行解锁的方式,接下来,对电子设备对锁定视图的解锁流程进行介绍。
参见图8,是本申请实施例提供的一种解锁锁定视图的方法流程图。该方法应用于上述内容中介绍的电子设备,该方法包括以下步骤。
S801、主屏应用显示锁定视图。
示例性的,电子设备上显示锁定视图的用户界面可以参照图4A所示的用户界面41,图5B所示的用户界面52,图7A所示的用户界面71,图7F所示的用户界面76,图7H所示的用户界面78,等等。
S802、解锁模块检测到解锁操作,解锁模块验证用户身份。
参照上述内容中的介绍,解锁操作可以是一个操作或者一系列操作。针对不同的解锁操作,电子设备执行该解锁操作对应的验证用户身份的方法。示例性的,该解锁操作可以是图7A-图7B所示的实施例中,用户对锁定视图701的操作,以及在密码输入框703中输入解锁密码的操作。电子设备可以通过验证密码的方式,对用户身份进行验证。
该解锁操作还可以是图7A和图7C所示的实施例中,用户对锁定视图701的操作,以及在图形密码704中输入解锁轨迹的操作。电子设备可以通过验证输入轨迹的方式,对用户的身份进行验证。
该解锁操作还可以是图7A和图7D所示的实施例中,用户对锁定视图701的操作,以及在对话框705中的密码输入框706中输入解锁密码的操作。电子设备可以通过验证密码的方式,对用户身份进行验证。
该解锁操作还可以是图7A和图7E所示的实施例中,用户对锁定视图701的操作,以及在对话框707中的图形密码708中输入解锁轨迹的操作。电子设备可以通过验证输入轨迹的方式,对用户的身份进行验证。
该解锁操作还可以是图7F-图7G所示的实施例中,用户对锁定视图701的操作。电子设备可以通过验证用户指纹信息的方式,对用户的身份进行验证。
该解锁操作还可以是图7H所示的实施例中,用户注视锁定视图733的操作。电子设备可以通过验证用户面部信息的方式,对用户的身份进行验证。
需要说明的是,不限于上述内容中介绍的解锁方式,电子设备还可以通过其他方式对用户身份进行验证。举例而言,电子设备还可以通过虹膜识别解锁,声纹识别解锁,等等解锁方式对用户身份进行验证。
S803、解锁模块验证用户身份成功,解锁模块向主屏应用发送指示信息。
其中,指示信息用于指示用户身份验证通过。在一种可能的实现方式中,该指示信息中可以包括锁定视图的位置信息。该位置信息可以由用户输入的解锁操作来确定。示例性的,在图7A-图7B所示的实施例中,该位置信息可以由用户对锁定视图701的操作来确定,该位置信息可以为用户针对锁定视图的操作所触控到的位置信息。示例性的,在图7H所示的实施例中,该位置信息可以由用户的注视操作来确定,该位置信息可以为根据采集到的用户的眼球位置确定出的注视位置。
S804、主屏应用根据该指示消息向应用发送请求,该请求用于请求视图信息。
在一些实施例中,该应用可以是主屏应用根据接收到的位置信息确定的,该应用为位 于该位置信息上的widget视图对应的应用。示例性的,在图7A-图7B所示的实施例中,主屏应用可以根据位置信息确定应用为锁定视图701对应的日历应用。示例性的,在图7H所示的实施例中,主屏应用可以根据位置信息确定应用为锁定视图733对应的日历应用。
在另一些实施例中,该应用可以是电子设备当前显示的用户界面中的widget视图对应的应用。在另一些实施例中,该应用可以是电子设备的主屏上包括的widget视图对应的应用。
S805、应用根据该请求向主屏应用反馈视图信息。
其中,视图信息可以包括widget的显示样式、位置、以及显示数据,等等信息。需要说明的是,该视图信息为未加锁的视图信息。
S806、主屏应用根据应用反馈的视图信息显示widget。
通过这种方式,用户可以直接在主屏上对已锁定的widget进行解锁。不同于现有技术中跳转到应用内对应用进行解锁后查看信息的方式,本申请实施例可以减少用户的操作,提升操作的便利性。另外,电子设备可以根据解锁的位置信息解锁特定的Widget,进一步提升应用信息的安全性。
以上内容介绍了电子设备中对应用的widget进行锁定和解锁的方式。在本申请实施例中,电子设备还可以对通知消息进行锁定和解锁。
参见图9A,是本申请实施例提供的一种显示通知消息的示意图。用户界面91包括:状态栏901、通知消息902、天气指示符903、时间指示符904、应用图标展示区905、页面指示符906以及常用应用图标的托盘907。其中:
状态栏901可参照上述内容中对状态栏的描述,此处不再赘述。
通知消息902,当应用接收到通知消息时,或者当当前时间到达应用预设的提醒时间时,电子设备可以弹出通知消息902。可选的,当用户上滑通知消息902时,响应于该用户的上滑操作,电子设备可以不再显示通知消息902。可选的,当通知消息902的显示时间超过预设时间时,电子设备可以不再显示通知消息902。一个通知消息与一个应用具有对应关系,例如,通知消息902与信息应用具有对应关系,再如,日程的通知消息与日历应用具有对应关系,接收到邮件的通知消息与邮箱应用具有对应关系。
天气指示符903,可以用于指示天气类型,例如多云转晴、小雨等,还可以用于指示气温等信息。
时间指示符904,可用于指示当前时间,例如日期、星期几、时分信息等。
应用图标展示区905,可以用于展示安装在电子设备上的应用的图标。应用图标展示区905中包含的应用的图标可以由用户自定义设置。
页面指示符906,可用于指示页面数量,以及用户当前浏览的是哪一个页面。此外,用户可以在当前页面左右滑动,来浏览其他页面中的应用图标。
常用应用图标的托盘907,可参照上述内容中对常用应用图标的托盘的描述,此处不再赘述。
参见图9B,是本申请实施例提供的另一种显示通知消息的示意图。当用户从状态栏下滑时,响应于用户的下滑操作,电子设备显示通知消息列表。用户界面92中包括通知消息 列表911。通知消息列表911中包括快捷菜单912、通知消息913、通知消息914和通知消息915。
快捷菜单912,可以用于显示一个或者多个操作控件,用户可以通过这些操作控件快速开启或者关闭操作控件对应的功能。快捷菜单912中包括WLAN控件、蓝牙控件、GPS控件和飞行模式控件。以WLAN控件为例,用户可以通过WLAN控件对电子设备的WLAN功能进行开启或者关闭。
通知消息列表911中还包括通知消息913、通知消息914和通知消息915。其中,通知消息913对应于消息应用,通知消息914对应于邮件应用,通知消息915对应于日程应用。一条通知消息可以对应于一个应用。需要说明的是,通知列表中也可以包括一个应用对应的多条通知消息。
在本申请实施例中,与显示应用的widget相似,若一个应用被应用锁锁定,则电子设备在该应用对应的通知消息上方显示锁定视图。
参见图10A,是本申请实施例提供的一种显示通知消息的示意图。电子设备中的日历应用被应用锁锁定。在用户界面101中,电子设备在日历应用的通知消息1001上方显示锁定视图1002。
参见图10B,是本申请实施例提供的又一种显示通知消息的示意图。电子设备中的日历应用被应用锁锁定。在用户界面102中,电子设备在日历应用的通知消息1003上方显示锁定视图1004。
通过本申请实施例提供的显示通知消息的方法,在一个应用已经被应用锁锁定的情况下,电子设备可以对该应用的通知消息进行锁定。通过这种方式,可以避免应用信息的泄露,提升应用信息的安全性。
需要说明的是,电子设备显示通知消息的过程可以参照上述内容中,电子设备显示widget的过程。示例性的,在一种可能的实现方式中,当电子设备检测到通知消息显示事件时,电子设备对该通知消息对应的应用是否被应用锁保护进行判断。示例性的,通知消息显示事件可以包括:接收到应用的通知消息,检测到呼出通知消息列表,等等事件。若电子设备判定该应用被应用锁保护,则电子设备显示通知消息,并在该通知消息上方显示锁定视图。若电子设备判定该应用未被应用锁保护,则电子设备显示该通知消息。
在另一种可能的实现方式中,当电子设备检测到通知消息显示事件时,电子设备判断该通知消息对应的应用是否被应用锁保护。若电子设备判定该应用未被应用锁保护,则电子设备显示该通知消息。若电子设备判定该应用被应用锁保护,则电子设备判断该应用是否处于解锁状态。若该应用处于解锁状态,则电子设备显示该通知消息。若该应用处于未解锁状态,则电子设备显示通知消息,并在该通知消息上方显示锁定视图。
以上内容介绍了电子设备上显示通知消息的方式,以下对电子设备上解锁通知消息的方式进行介绍。电子设备上解锁通知消息的方式,也可以参照上述内容中介绍的解锁widget的方式。
需要说明的是,在现有技术中,应用显示的通知消息也可以为处于加锁状态的通知消息。首先介绍一下现有技术中,针对处于加锁状态的通知消息的解锁方法。参见图10E, 是本申请实施例提供的一些用户界面的示意图。当用户对通知消息1011进行操作(例如,长按、点击、双击、按压,等等)时,响应于该操作,电子设备开启通知消息1011对应的消息应用,从显示用户界面105切换至显示用户界面106。用户界面106为消息应用中的用户界面,该用户界面包括提示信息1012和指纹提示符1013。该提示信息1012用于提示用户消息应用已被应用锁保护,需要对消息应用进行解锁。指纹指示符1013,用于指示显示屏上接收用户指纹的屏幕区域。
当电子设备匹配用户输入的指纹信息与预存的指纹信息成功时,电子设备可以从显示用户界面106切换至显示用户界面107。用户界面107为消息应用中的用户界面,其中,该界面可以显示消息内容。可以看出,在现有技术中,若用户想要查看通知消息中被保护的应用信息,需要跳转到应用内对应用进行解锁后才能查看。查看后,用户又需要执行额外的操作才能回到主屏,用户操作较为繁琐,用户体验较差。
以下介绍本申请实施例中提供的解锁通知消息的锁定视图的方法。
在一些实施例中,通知消息上的锁定视图中包括密码输入框。参见图10C,图10C是本申请实施例提供的一种显示锁定视图的示意图。如用户界面103所示,通知消息上显示有锁定视图1006。其中,锁定视图1006中包括密码输入框1007。用户可以通过密码输入框1007输入解锁密码。当电子设备判定用户输入的解锁密码与预存的解锁密码相同时,电子设备不再显示锁定视图1006。
参见图10D,图10D是本申请实施例提供的又一种显示锁定视图的示意图。如用户界面104所示,通知消息列表中包括锁定视图1008。其中,锁定视图1008中包括密码输入框1009。用户可以通过密码输入框1009输入解锁密码。当电子设备判定用户输入的解锁密码与预存的解锁密码相同时,电子设备不再显示锁定视图1008。
在一种可能的实现方式中,锁定视图中不包括密码输入框,当用户对锁定视图进行操作(例如,点击、长按、按压(force touch),等等)时,响应于该操作,电子设备在锁定视图中显示密码输入框。示例性的,电子设备显示用户界面101,当用户对锁定视图1002进行操作时,响应于该操作,电子设备显示用户界面103。在另一示例中,电子设备显示用户界面102,当用户对锁定视图1004进行操作时,响应于该操作,电子设备显示用户界面104。
在另一些实施例中,电子设备还可以通过屏下指纹解锁的方式对锁定视图进行解锁。示例性的,电子设备接收到日历应用的通知消息,日历应用已被应用锁锁定,电子设备显示用户界面101。电子设备检测到用户对锁定视图1002的操作(例如,长按操作、按压操作,等等),响应于该操作,电子设备识别用户的指纹信息。若识别出的指纹信息与电子设备预存的指纹信息相匹配,则电子设备对锁定视图1002进行解锁,不再显示锁定视图。
在另一示例中,电子设备检测到用户输入的呼出通知消息列表的操作,响应于该操作,电子设备显示用户界面102。电子设备检测到用户对锁定视图1004的操作(例如,长按操作、按压操作,等等),响应于该操作,电子设备识别用户的指纹信息。若识别出的指纹信息与电子设备预存的指纹信息相匹配,则电子设备对锁定视图1004进行解锁,不再显示锁定视图。
在另一些实施例中,电子设备还可以通过位于特定区域的指纹解锁对锁定视图进行解 锁。示例性的,电子设备接收到日历应用的通知消息,日历应用已被应用锁锁定,电子设备显示用户界面101。若电子设备检测到用户在特定区域的指纹解锁操作,响应于该操作,电子设备识别用户的指纹信息。若识别出的指纹信息与电子设备预存的指纹信息相匹配,则电子设备对锁定视图进行解锁,不再显示锁定视图。
在另一示例中,电子设备检测到用户输入的呼出通知消息列表的操作,响应于该操作,电子设备显示用户界面102。若电子设备检测到用户在特定区域的指纹解锁操作,响应于该操作,电子设备识别用户的指纹信息。若识别出的指纹信息与电子设备预存的指纹信息相匹配,则电子设备可以对所有的锁定视图进行解锁,或者电子设备对当前显示的用户界面上的锁定视图进行解锁,或者电子设备对用户最近一次触控到的锁定视图进行解锁。
在另一些实施例中,电子设备还可以通过人脸解锁的方式对锁定视图进行解锁。示例性的,电子设备接收到日历应用的通知消息,日历应用已被应用锁锁定,电子设备显示用户界面101。若电子设备根据摄像头获取到的用户图像识别出的面部信息与预存的面部信息匹配,则电子设备对锁定视图进行解锁,不再显示锁定视图。
在另一示例中,电子设备检测到用户输入的呼出通知消息列表的操作,响应于该操作,电子设备显示用户界面102。电子设备可以通过摄像头采集用户的面部信息。电子设备还可以通过摄像头采集用户的眼球位置,确定人眼当前的注视位置;再根据注视位置确定该注视位置对应的通知消息。若电子设备识别出的面部信息与预存的面部信息匹配,则电子设备对该注视位置对应的通知消息上的锁定视图进行解锁。
以上介绍了电子设备对通知消息上的锁定视图进行解锁的方式,接下来,对电子设备对锁定视图的解锁流程进行介绍。
参见图11,是本申请实施例提供的一种解锁锁定视图的方法流程图。该方法应用于上述内容中介绍的电子设备,该方法包括以下步骤。
S1101、应用获取到通知消息。
S1102、应用向主屏应用发送第一指示信息,该第一指示信息用于指示主屏应用显示通知消息。
S1103、在主屏应用接收到第一指示信息之后,主屏应用显示通知消息,并在通知消息上显示锁定视图。
可选的,主屏应用判定该应用被应用锁保护,主屏应用在通知消息上方显示锁定视图。
可选的,主屏应用判定该应用被应用锁保护,且该应用处于未解锁状态,主屏应用在该通知消息上方显示锁定视图。
S1104、解锁模块检测到解锁操作,解锁模块验证用户身份。
需要说明的是,该步骤的实现方式可以参照上述内容中步骤S802的介绍,此处不再赘述。
S1105、解锁模块验证用户身份成功,解锁模块向主屏应用发送第二指示信息。
其中,第二指示信息用于指示用户身份验证通过。在一种可能的实现方式中,该指示信息中可以包括锁定视图的位置信息。该位置信息可以由用户输入的解锁操作来确定。示例性的,该位置信息可以由用户对锁定视图的操作来确定,该位置信息可以为用户针对锁 定视图的操作所触控到的位置信息。示例性的,该位置信息可以由用户的注视操作来确定,该位置信息可以为根据采集到的用户的眼球位置确定出的注视位置。
S1106、主屏应用根据该第二指示信息对锁定视图进行解锁。
主屏应用对锁定视图进行解锁,即主屏应用不再在通知消息上方显示锁定视图。用户可以直接查看到通知消息中的内容。在一种可能的实现方式中,第二指示消息中包括位置信息,则主屏应用对该位置消息对应的通知消息上的锁定视图进行解锁。
通过这种方式,用户可以直接在主屏上对已锁定的通知消息进行解锁。不同于现有技术中跳转到应用内对应用进行解锁后查看信息的方式,本申请实施例可以减少用户的操作,提升操作的便利性。另外,电子设备可以根据解锁的位置信息解锁特定的通知消息,进一步提升应用信息的安全性。
以上内容介绍了本申请实施例中,电子设备对应用的通知消息进行锁定和解锁的方式。在本申请实施例中,电子设备还可以对历史任务界面进行锁定和解锁。在本申请实施例中,与显示应用的widget相似,若一个应用被应用锁锁定,则电子设备在历史任务界面中该应用的应用界面上方显示锁定视图。
用户可以通过多种方式呼出历史任务界面。示例性的,用户可以对呼出历史任务界面按键执行操作(例如,点击、长按,等等),响应于该操作,电子设备显示历史任务界面。示例性的,用户可以从电子设备的显示屏底部向上滑动,响应于该滑动操作,电子设备显示历史任务界面。本申请实施例对用户呼出历史任务界面的方式不做限制。
参见图12,是本申请实施例提供的一种历史任务界面的示意图。在用户界面121包括,联系人应用界面1201、微信应用界面1201和邮箱应用界面1203,其中,联系人应用界面1201和邮箱应用界面1203仅显示了部分。当用户上滑历史任务界面中的应用界面(例如,邮箱应用界面1203),响应于该上滑操作,电子设备可以不再显示邮箱应用界面1203,并结束邮箱应用的运行。用户还可以在用户界面121中左右滑动,来浏览历史任务界面中的其他应用的应用界面。
在该示例中,电子设备上的微信应用被应用锁保护,电子设备在微信应用界面1201上方显示锁定视图。通过本申请实施例提供的显示历史任务界面的方法,在一个应用已经被应用锁锁定的情况下,电子设备可以对历史任务界面中该应用的应用界面进行锁定。通过这种方式,可以避免应用信息的泄露,提升应用信息的安全性。
在一些实施例中,当电子设备检测到呼出历史任务界面事件时,电子设备对正在运行的应用是否被应用锁保护进行判断。若电子设备判定一个运行的应用被应用锁保护,则电子设备在该应用的应用界面上方显示锁定视图。若电子设备判定一个运行的应用未被应用锁保护,则电子设备显示该应用界面。
在另一些实施例中,当电子设备检测到呼出历史任务界面事件时,电子设备对正在运行的应用是否被应用锁保护进行判断。若电子设备判定一个运行的应用未被应用锁保护,则电子设备显示该应用的应用界面。若电子设备判定一个运行的应用被应用锁保护,则电子设备判断该应用是否处于解锁状态。若该应用处于解锁状态,则电子设备显示该应用的应用界面。若该应用处于未解锁状态,则电子设备在该应用的应用界面上显示锁定视图。 判定应用是否处于解锁状态的方式,可以参照上述内容中的介绍,此处不再赘述。
另外,与上述内容中介绍的对锁定视图的解锁方式相似,用户也可以通过多种方式对用户界面上的锁定视图进行解锁。解锁方式包括但不限于输入密码解锁、输入图形轨迹解锁,指纹解锁,声纹解锁,人脸解锁,虹膜解锁等方式。在验证用户身份成功之后,电子设备不再显示锁定视图,显示被遮挡的应用界面。用户可以查看到应用界面中的内容。通过本申请实施例提供的解锁方式,无需用户进入应用内对应用进行解锁后查看信息,可以让用户方便的查看到应用界面。本申请实施例可以减少用户的操作,提升操作的便利性,从而提升用户体验。
在一些应用场景中,用户可以通过语音助手唤起电子设备上的应用,获取应用中的应用信息。举例而言,当用户可以输入语音指令“今天的日程是什么”时,响应于该语音指令,电子设备可以通过查询日历应用获取当天的日程安排,并通过语音的形式播报出来。
在本申请实施例中,在电子设备显示或者播报语音指令对应的应用信息之前,可以判断该应用是否被应用锁保护。若该应用未被应用锁保护,电子设备可以显示显示或者播报语音指令对应的应用信息。若该应用被应用锁保护,电子设备不会显示或者播报该应用信息。可选的,电子设备可以提醒用户该应用被应用锁保护。提醒的方式可以包括语音形式和/或文字形式。
示例性的,参见图13A,是本申请实施例提供的一种显示界面的示意图。如图所示,用户界面131包括提示信息1301和指纹提示符1302。当检测到用户的语音指令“今天的日程是什么”时,响应于该语音指令,电子设备判断日历应用是否被应用锁保护。在该示例中,日历应用被应用锁保护。当电子设备确定日历应用被应用锁保护,电子设备显示提示信息1301和指纹提示符1302,该提示信息1301用于提示用户日历应用已被应用锁保护,查看应用内部信息需要进行解锁。指纹指示符1302,用于指示显示屏上接收用户指纹的屏幕区域。另外,在电子设备显示提示消息1301的同时,电子设备还可以播报提示消息1301的内容。
在该实施例中,在一个应用被应用锁保护的情况下,电子设备的语音助手访问应用信息时,需要经过用户身份的确认。通过这种方式,可以提升应用信息的安全性。
当电子设备验证用户身份成功(例如,匹配用户输入的指纹信息与预存的指纹信息成功)时,电子设备可以从显示用户界面131切换至显示用户界面132。参见图13B,是本申请实施例提供的另一种显示界面的示意图。用户界面132中包括指示信息1303。该指示信息1303用于指示用户预存的行程信息。具体的,当电子设备匹配用户输入的指纹信息与预存的指纹信息成功时,电子设备查询日历应用中有关于当天的行程安排,并在显示屏中显示出来。另外,在电子设备显示提示消息1303的同时,电子设备还可以播报提示消息1303的内容。
需要说明的是,上述内容中以指纹解锁为例介绍了解锁应用信息的方式。电子设备还可以利用其他解锁方式对应用信息进行解锁。解锁方式包括但不限于输入密码解锁、输入图形轨迹解锁,声纹解锁,人脸解锁,虹膜解锁等方式。在验证用户身份成功之后,电子设备显示语音指令对应的应用信息。通过本申请实施例提供的解锁方式,无需用户进入应 用内对应用进行解锁后查看信息,可以让用户方便的查看到应用信息。本申请实施例可以减少用户的操作,提升操作的便利性,从而提升用户体验。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如DVD)、或者半导体介质(例如固态硬盘)等。
以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。

Claims (22)

  1. 一种应用信息的显示方法,其特征在于,所述方法包括:
    电子设备检测到第一应用信息的更新事件,所述第一应用信息为小工具widget或者通知消息,所述第一应用信息与第一应用具有对应关系;
    所述电子设备响应于所述第一应用信息的更新事件,所述电子设备确定所述第一应用被应用锁锁定,则所述电子设备在所述第一应用信息上方显示锁定视图。
  2. 根据权利要求1所述的方法,其特征在于,所述第一应用信息为widget,所述第一应用信息的更新事件包括:所述电子设备从显示其他界面切换至显示主屏,所述电子设备从熄屏状态切换至显示所述主屏,或者添加所述第一应用信息至所述主屏中的一项或者多项;其中,所述其他界面为所述电子设备显示的用户界面中除所述主屏外的用户界面;
    所述第一应用信息为通知消息,所述第一应用信息的更新事件包括:所述第一应用接收到所述通知消息,当前时间到达所述通知消息的预设显示时间,或者呼出通知消息列表中的一项或者多项。
  3. 根据权利要求1或2所述的方法,其特征在于,所述电子设备确定所述第一应用被应用锁锁定,则所述电子设备在所述第一应用信息上方显示锁定视图,包括:
    所述电子设备确定所述第一应用被应用锁锁定,且所述第一应用处于未解锁状态,则所述电子设备在所述第一应用信息上方显示锁定视图;
    其中,所述电子设备确定所述第一应用处于未解锁状态包括:所述电子设备确定当前时刻距离最近一次解锁所述第一应用的应用锁成功的时刻超过第一预设时间段;所述电子设备确定当前时刻距离最近一次显示所述第一应用的用户界面的时刻超过第二预设时间段;所述电子设备确定最近一次解锁所述第一应用的应用锁成功之后,所述电子设备进行了锁屏中的一项或者多项。
  4. 根据权利要求1或2所述的方法,其特征在于,所述电子设备确定所述第一应用被应用锁锁定,则所述电子设备在所述第一应用信息上方显示锁定视图,包括:
    所述电子设备确定所述第一应用被应用锁锁定,且所述第一应用信息中的数据处于未加锁状态,则所述电子设备在所述第一应用信息上方显示锁定视图。
  5. 根据权利要求1或2所述的方法,其特征在于,所述电子设备确定所述第一应用被应用锁锁定,则所述电子设备在所述第一应用信息上方显示锁定视图,包括:
    所述电子设备确定所述第一应用被应用锁锁定,且所述第一应用信息中的数据包含处于加锁状态的数据,则所述电子设备在所述第一应用信息中处于加锁状态的数据的上方显示锁定视图。
  6. 根据权利要求1或2所述的方法,其特征在于,所述电子设备确定所述第一应用被 应用锁锁定,则所述电子设备在所述第一应用信息上方显示锁定视图,包括:
    所述电子设备确定所述第一应用被应用锁锁定,所述第一应用处于未解锁状态,且所述第一应用信息中的数据处于未加锁状态,则所述电子设备在所述第一应用信息上方显示锁定视图。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述方法还包括:
    所述电子设备检测到针对所述锁定视图的操作;
    响应于所述操作,所述电子设备显示密码输入框,所述密码输入框用于接收解锁密码或者解锁轨迹;
    电子设备接收输入的解锁密码或者解锁轨迹;
    当所述电子设备确定所述解锁密码与预存的解锁密码相同,或者所述解锁轨迹与预存的解锁轨迹相同时,所述电子设备对所述锁定视图进行解锁。
  8. 根据权利要求1-6任一项所述的方法,其特征在于,所述方法还包括:
    所述电子设备检测到针对所述锁定视图的操作;
    响应于所述操作,所述电子设备获取用户的生理数据,所述生理数据包括指纹信息、声纹信息、虹膜信息、面部信息中的一项或者多项;
    当所述电子设备确定所述生理数据与预存的生理数据相匹配时,所述电子设备对所述锁定视图进行解锁。
  9. 根据权利要求1-6任一项所述的方法,其特征在于,所述第一应用信息为多个,所述第一应用信息包括第二应用信息和第三应用信息,所述方法还包括:
    所述电子设备检测到针对目标锁定视图的触控操作,所述目标锁定视图为所述第二应用信息上的锁定视图和所述第三应用信息上的锁定视图中的一个;
    所述电子设备通过所述目标锁定视图所在的屏幕区域获取用户的指纹信息;
    当所述电子设备确定所述指纹信息与预存的指纹信息相匹配,且所述目标锁定视图为第二应用信息上的锁定视图时,所述电子设备对所述第二应用信息上方的锁定视图进行解锁;
    当所述电子设备确定所述指纹信息与预存的指纹信息相匹配,且所述目标锁定视图为第三应用信息上的锁定视图时,所述电子设备对所述第三应用信息上方的锁定视图进行解锁。
  10. 根据权利要求1-6任一项所述的方法,其特征在于,所述第一应用信息为多个,所述第一应用信息包括第四应用信息和第五应用信息,所述方法还包括:
    所述电子设备采集用户的眼球位置以及面部信息;
    所述电子设备根据所述眼球位置确定人眼的注视位置;
    当所述电子设备确定所述面部信息与预存的面部信息相匹配,且所述注视位置与所述第四应用信息上方的锁定视图对应时,所述电子设备对所述第四应用信息上方的锁定视图 进行解锁;
    当所述电子设备确定所述面部信息与预存的面部信息相匹配,且所述注视位置与所述第五应用信息上方的锁定视图对应时,所述电子设备对所述第五应用信息上方的锁定视图进行解锁。
  11. 一种电子设备,其特征在于,所述电子设备包括一个或多个处理器、存储器;所述存储器与所述一个或多个处理器耦合,所述存储器用于存储程序代码,所述一个或多个处理器调用所述程序代码以使得所述电子设备执行以下操作:
    检测到第一应用信息的更新事件,所述第一应用信息为小工具widget或者通知消息,所述第一应用信息与第一应用具有对应关系;
    响应于所述第一应用信息的更新事件,确定所述第一应用被应用锁锁定,则在所述第一应用信息上方显示锁定视图。
  12. 根据权利要求11所述的电子设备,其特征在于,所述第一应用信息为widget,所述第一应用信息的更新事件包括:所述电子设备从显示其他界面切换至显示主屏,所述电子设备从熄屏状态切换至显示所述主屏,或者添加所述第一应用信息至所述主屏中的一项或者多项;其中,所述其他界面为所述电子设备显示的用户界面中除所述主屏外的用户界面;
    所述第一应用信息为通知消息,所述第一应用信息的更新事件包括:所述第一应用接收到所述通知消息,当前时间到达所述通知消息的预设显示时间,或者呼出通知消息列表中的一项或者多项。
  13. 根据权利要求11或12所述的电子设备,其特征在于,所述一个或多个处理器调用所述程序代码以使得所述电子设备具体执行以下操作:
    确定所述第一应用被应用锁锁定,且所述第一应用处于未解锁状态,则在所述第一应用信息上方显示锁定视图;
    所述一个或多个处理器调用所述程序代码以使得所述电子设备还执行以下操作:确定当前时刻距离最近一次解锁所述第一应用的应用锁成功的时刻超过第一预设时间段;确定当前时刻距离最近一次显示所述第一应用的用户界面的时刻超过第二预设时间段;确定最近一次解锁所述第一应用的应用锁成功之后,所述电子设备进行了锁屏中的一项或者多项。
  14. 根据权利要求11或12所述的电子设备,其特征在于,所述一个或多个处理器调用所述程序代码以使得所述电子设备具体执行以下操作:
    所述电子设备确定所述第一应用被应用锁锁定,且所述第一应用信息中的数据处于未加锁状态,则所述电子设备在所述第一应用信息上方显示锁定视图。
  15. 根据权利要求11或12所述的电子设备,其特征在于,所述一个或多个处理器调用所述程序代码以使得所述电子设备具体执行以下操作:
    所述电子设备确定所述第一应用被应用锁锁定,且所述第一应用信息中的数据包含处于加锁状态的数据,则所述电子设备在所述第一应用信息中处于加锁状态的数据的上方显示锁定视图。
  16. 根据权利要求11或12所述的电子设备,其特征在于,所述一个或多个处理器调用所述程序代码以使得所述电子设备具体执行以下操作:
    所述电子设备确定所述第一应用被应用锁锁定,所述第一应用处于未解锁状态,且所述第一应用信息中的数据处于未加锁状态,则所述电子设备在所述第一应用信息上方显示锁定视图。
  17. 根据权利要求11-16任一项所述的电子设备,所述一个或多个处理器调用所述程序代码以使得所述电子设备具体还执行以下操作:
    所述电子设备检测到针对所述锁定视图的操作;
    响应于所述操作,所述电子设备显示密码输入框,所述密码输入框用于接收解锁密码或者解锁轨迹;
    电子设备接收输入的解锁密码或者解锁轨迹;
    当所述电子设备确定所述解锁密码与预存的解锁密码相同,或者所述解锁轨迹与预存的解锁轨迹相同时,所述电子设备对所述锁定视图进行解锁。
  18. 根据权利要求11-16任一项所述的电子设备,其特征在于,所述一个或多个处理器调用所述程序代码以使得所述电子设备具体还执行以下操作:
    所述电子设备检测到针对所述锁定视图的操作;
    响应于所述操作,所述电子设备获取用户的生理数据,所述生理数据包括指纹信息、声纹信息、虹膜信息、面部信息中的一项或者多项;
    当所述电子设备确定所述生理数据与预存的生理数据相匹配时,所述电子设备对所述锁定视图进行解锁。
  19. 根据权利要求11-16任一项所述的电子设备,其特征在于,所述第一应用信息为多个,所述第一应用信息包括第二应用信息和第三应用信息,所述一个或多个处理器调用所述程序代码以使得所述电子设备具体还执行以下操作:
    所述电子设备检测到针对目标锁定视图的触控操作,所述目标锁定视图为所述第二应用信息上的锁定视图和所述第三应用信息上的锁定视图中的一个;
    所述电子设备通过所述目标锁定视图所在的屏幕区域获取用户的指纹信息;
    当所述电子设备确定所述指纹信息与预存的指纹信息相匹配,且所述目标锁定视图为第二应用信息上的锁定视图时,所述电子设备对所述第二应用信息上方的锁定视图进行解锁;
    当所述电子设备确定所述指纹信息与预存的指纹信息相匹配,且所述目标锁定视图为第三应用信息上的锁定视图时,所述电子设备对所述第三应用信息上方的锁定视图进行解 锁。
  20. 根据权利要求11-16任一项所述的电子设备,其特征在于,所述第一应用信息为多个,所述第一应用信息包括第四应用信息和第五应用信息,所述一个或多个处理器调用所述程序代码以使得所述电子设备具体还执行以下操作:
    所述电子设备采集用户的眼球位置以及面部信息;
    所述电子设备根据所述眼球位置确定人眼的注视位置;
    当所述电子设备确定所述面部信息与预存的面部信息相匹配,且所述注视位置与所述第四应用信息上方的锁定视图对应时,所述电子设备对所述第四应用信息上方的锁定视图进行解锁;
    当所述电子设备确定所述面部信息与预存的面部信息相匹配,且所述注视位置与所述第五应用信息上方的锁定视图对应时,所述电子设备对所述第五应用信息上方的锁定视图进行解锁。
  21. 一种计算机程序产品,其特征在于,所述计算机程序产品包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1-10任一项所述的方法。
  22. 一种计算机可读存储介质,包括指令,其特征在于,当所述指令在电子设备上运行时,使得所述电子设备执行如权利要求1-10中任一项所述的方法。
PCT/CN2021/078973 2020-03-06 2021-03-04 一种应用信息的显示方法及相关设备 WO2021175272A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21765192.6A EP4102363A4 (en) 2020-03-06 2021-03-04 METHOD OF DISPLAYING APPLICATION INFORMATION AND ASSOCIATED DEVICE
US17/905,608 US20230110015A1 (en) 2020-03-06 2021-03-04 Application Information Display Method and Related Device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010153658.1 2020-03-06
CN202010153658.1A CN113360222A (zh) 2020-03-06 2020-03-06 一种应用信息的显示方法及相关设备

Publications (1)

Publication Number Publication Date
WO2021175272A1 true WO2021175272A1 (zh) 2021-09-10

Family

ID=77524278

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/078973 WO2021175272A1 (zh) 2020-03-06 2021-03-04 一种应用信息的显示方法及相关设备

Country Status (4)

Country Link
US (1) US20230110015A1 (zh)
EP (1) EP4102363A4 (zh)
CN (1) CN113360222A (zh)
WO (1) WO2021175272A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114168355A (zh) * 2021-10-29 2022-03-11 荣耀终端有限公司 一种应用保活方法及电子设备

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114065312A (zh) * 2021-10-08 2022-02-18 荣耀终端有限公司 一种组件显示方法及电子设备
CN116048326B (zh) * 2022-07-04 2023-10-20 荣耀终端有限公司 一种消息显示方法及电子设备
CN117914992A (zh) * 2022-08-31 2024-04-19 荣耀终端有限公司 通知显示方法和终端设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100175104A1 (en) * 2008-03-03 2010-07-08 Khalid Atm Shafiqul Safe and secure program execution framework with guest application space
CN104866323A (zh) * 2015-06-11 2015-08-26 北京金山安全软件有限公司 一种解锁界面的生成方法、装置及电子设备
CN108629171A (zh) * 2018-04-27 2018-10-09 维沃移动通信有限公司 一种未读消息处理方法及终端
CN110348186A (zh) * 2019-05-28 2019-10-18 华为技术有限公司 一种基于用户身份识别的显示方法及电子设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105933327A (zh) * 2016-06-08 2016-09-07 北京奇虎科技有限公司 一种应用的解锁方法、装置和设备
CN106293751B (zh) * 2016-08-15 2021-02-05 华为技术有限公司 一种在终端设备上显示信息的方法及终端设备
WO2019227488A1 (zh) * 2018-06-01 2019-12-05 华为技术有限公司 一种查看信息内容的方法及终端
CN109409070A (zh) * 2018-11-01 2019-03-01 Oppo广东移动通信有限公司 应用开启方法、装置、终端及存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100175104A1 (en) * 2008-03-03 2010-07-08 Khalid Atm Shafiqul Safe and secure program execution framework with guest application space
CN104866323A (zh) * 2015-06-11 2015-08-26 北京金山安全软件有限公司 一种解锁界面的生成方法、装置及电子设备
CN108629171A (zh) * 2018-04-27 2018-10-09 维沃移动通信有限公司 一种未读消息处理方法及终端
CN110348186A (zh) * 2019-05-28 2019-10-18 华为技术有限公司 一种基于用户身份识别的显示方法及电子设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4102363A4

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114168355A (zh) * 2021-10-29 2022-03-11 荣耀终端有限公司 一种应用保活方法及电子设备
CN114168355B (zh) * 2021-10-29 2022-10-21 荣耀终端有限公司 一种应用保活方法及电子设备

Also Published As

Publication number Publication date
US20230110015A1 (en) 2023-04-13
CN113360222A (zh) 2021-09-07
EP4102363A4 (en) 2023-07-19
EP4102363A1 (en) 2022-12-14

Similar Documents

Publication Publication Date Title
WO2021013158A1 (zh) 显示方法及相关装置
JP7142783B2 (ja) 音声制御方法及び電子装置
WO2021000839A1 (zh) 一种分屏方法及电子设备
WO2021103981A1 (zh) 分屏显示的处理方法、装置及电子设备
US10664010B2 (en) Electronic device and operating method thereof
WO2021104030A1 (zh) 一种分屏显示方法及电子设备
WO2021036735A1 (zh) 显示用户界面的方法及电子设备
WO2021000804A1 (zh) 锁定状态下的显示方法及装置
US10502580B2 (en) Method and apparatus for providing augmented reality function in electronic device
WO2021213164A1 (zh) 应用界面交互方法、电子设备和计算机可读存储介质
WO2021175272A1 (zh) 一种应用信息的显示方法及相关设备
WO2020221063A1 (zh) 切换父页面和子页面的方法、相关装置
WO2021036770A1 (zh) 一种分屏处理方法及终端设备
WO2020253758A1 (zh) 一种用户界面布局方法及电子设备
WO2021249087A1 (zh) 卡片分享方法、电子设备及通信系统
WO2021082835A1 (zh) 启动功能的方法及电子设备
WO2022068483A1 (zh) 应用启动方法、装置和电子设备
WO2022052662A1 (zh) 显示方法及电子设备
WO2020155875A1 (zh) 电子设备的显示方法、图形用户界面及电子设备
WO2023130921A1 (zh) 一种适配多设备的页面布局的方法及电子设备
KR20150057085A (ko) 전력 소모를 줄일 수 있는 전자 장치 및 방법
WO2022222752A1 (zh) 一种显示方法及相关装置
WO2022213831A1 (zh) 一种控件显示方法及相关设备
WO2022161119A1 (zh) 一种显示方法及电子设备
WO2022127130A1 (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: 21765192

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021765192

Country of ref document: EP

Effective date: 20220907

NENP Non-entry into the national phase

Ref country code: DE