Screen-off display method and device
By using a mask to cover the privacy content while the AOD display of the terminal is displayed on the AOD state, and displaying the complete card content after the user's identity verification is passed, the privacy and security risks in the lock screen interface are solved, achieving higher security.
Patent Information
- Application Number
- CN202510138655.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2025-06-27
AI Technical Summary
In the lock screen interface of the terminal, long-term display of cards may lead to privacy and security risks, and the existing technology is difficult to effectively solve this problem.
By using a mask to cover the content involving privacy when the AOD is displayed on the screen, and display the complete card content after the user's identity verification is passed, the display and hidden control of card content is achieved.
It reduces security risks in privacy scenarios, avoids privacy content being viewed by illegal users, and improves the security of screen-off display.
Smart Images

Figure CN120216067A_ABST
Abstract
Description
[0001] This application is a divisional application. The application number of the original application is 202410808263.9, and the original application date is June 20, 2024. The entire content of the original application is incorporated herein by reference. Technical Field
[0002] This application relates to the field of terminal technologies, and in particular, to a method and device for screen-off display. Background Art
[0003] Currently, users can add cards to the lock screen interface of a terminal to meet the usage requirements of cards in the lock screen scenario. When the screen supports the always-on display (AOD) function, the terminal can display a picture in the screen-off state. As shown in Figure 1 (1), the calendar application card 101 and other cards are displayed on the lock screen interface 100 when it is lit, as shown in Figure 1 (2), the corresponding cards of different applications can still be continuously displayed after the lock screen interface 100 is turned off. In the current AOD scenario, since the screen may display some cards for a long time, there is likely to be a privacy and security risk. Summary of the Invention
[0004] This application provides a method and device for screen-off display, which is used to improve the security of screen-off display.
[0005] To achieve the above objective, the present application adopts the following technical solutions:
[0006] In a first aspect, the technical solution of the present application provides a method for screen-off display, which can be applied to a terminal or a component (such as a chip system) that supports terminal functions. Taking the method applied to a terminal as an example, the method may include: when the terminal is in the AOD state of screen-off display, a first card of a first application including first content is displayed, where the display content of the first card does not include second content. When the terminal lights up and displays the lock screen interface, the first card including the first content and the second content is displayed.
[0007] By adopting this method, the terminal can display and hide the privacy content (such as the second content) of the card according to the display state. It can reduce the security risk in the privacy scenario.
[0008] In a possible design of the first aspect, when the terminal is in the AOD state of screen-off display, displaying a first card of a first application including first content includes:
[0009] A mask is displayed in a first area of the first card, and the mask covers the second content.
[0010] Using this method, the terminal can cover the second content involving privacy with a mask to prevent privacy leakage caused by others viewing the second content.
[0011] In a possible design of the first aspect, it further includes:
[0012] After the user's identity information is verified, the screen is lit to display an unlocking interface, and the first card containing the first content and the second content is displayed in the unlocking interface.
[0013] In a possible design of the first aspect, it further includes:
[0014] The desktop is displayed, and the first card including the first content and the second content is displayed on the desktop.
[0015] For example, the unlocking interface displays the first card containing the first content and the second content, and the desktop does not display the first card. Or, the unlocking interface displays the first card containing the first content and the second content, and the desktop displays the first card including the first content and not including the second content.
[0016] Again, the unlocking interface displays the first card containing the first content and the second content, and the desktop also displays the first card containing the first content and the second content.
[0017] Again, the unlocking interface includes the first card with the first content and not including the second content, and the desktop displays the first card containing the first content and the second content.
[0018] In a possible design of the first aspect, displaying the desktop includes: after the user's identity information is verified, the screen is lit to display the desktop.
[0019] In a possible design of the first aspect, when the user's identity information is verified, the terminal can also jump to other interfaces except the desktop, such as the interface where the terminal exited the last time it was used.
[0020] In a possible design of the first aspect, the first card displays the first content through a first component, and the identifier of the first component is a non-privacy identifier, and the non-privacy identifier is used to identify a non-privacy component.
[0021] In a possible design of the first aspect, the first card displays the second content through a second component, and the identifier of the second component is a privacy identifier, and the privacy identifier is used to identify a privacy component.
[0022] In a possible design of the first aspect, when the terminal is in the AOD state of the screen-off display, displaying the first card of the first application including the first content includes:
[0023] According to the privacy identifier of the second component, a mask is displayed in the area corresponding to the second component in the first card.
[0024] Exemplarily, the first component is one or more.
[0025] In a possible design of the first aspect, the identifier of the first component is a non-privacy identifier, and the identifier of the second component is a privacy identifier. The method further includes: in the Always-on Display (AOD) state, according to the non-privacy identifier of the first component and the privacy identifier of the second component of the first card, the second component is not displayed, and the first component is displayed; in the screen-on state, the terminal displays the second component.
[0026] Considering that in the AOD scenario, the screen may display some cards for a long time. Therefore, in the AOD state, the terminal does not display the second component involving privacy, which can reduce the probability of privacy leakage.
[0027] In a possible design of the first aspect, when the terminal displays the lock screen interface in the screen-on state, at least one card information of the lock screen interface is obtained, and the card is displayed, and the card includes the first card.
[0028] In a possible design of the first aspect, the first card further includes a third component, and the identifier of the third component is a privacy identifier; the method further includes:
[0029] In the AOD state, the first card including the first content, not including the second content and not including the third content is displayed; the first card displays the third content through the third component;
[0030] In the screen-on state, the first card including the first content, the second content and the third content is displayed.
[0031] In a possible design of the first aspect, the terminal further includes a second card of a second application, and further includes:
[0032] In the AOD state, the second card of the second application including the fourth content is displayed, where the displayed content of the second card does not include the fifth content;
[0033] In a possible design of the first aspect, when the terminal is in the screen-on state, the second card including the fourth content and the fifth content is displayed.
[0034] The terminal further includes a second card of a second application, and the method further includes:
[0035] When the terminal is in the Always-on Display (AOD) state, it displays a second card including a fourth content, where the display content of the second card does not include a fifth content;
[0036] When the terminal wakes up and displays the lock screen interface, it displays the second card including the fifth content and the fourth content.
[0037] In a possible design of the first aspect, the privacy identifier is an identifier preset in the first application. For example, the privacy identifier is preset in the installation package of the first application.
[0038] In a possible design of the first aspect, the first application includes at least one of the following types of applications: payment application, calendar application, note application, messaging application, food delivery application, shopping application, or health application.
[0039] Or, the first content includes at least one of the following: schedule information, barcode information, logistics information, food delivery information, or health information.
[0040] In a possible design of the first aspect, it further includes: displaying a first interface, where the first interface includes a first setting item for enabling the Always-on Display method.
[0041] In a possible design of the first aspect, it further includes: displaying a second interface for setting the application that enables the Always-on Display method, and the application that enables the Always-on Display method includes the first application.
[0042] In a possible design of the first aspect, it further includes: in the screen-off state, if it detects that the user is approaching the terminal and the user's identity information is verified, the terminal displays the first card including the second content.
[0043] By adopting this method, the terminal can quickly display the second content in the first card, improving the efficiency of human-computer interaction. Moreover, the terminal displays the second content after the user's identity information is verified, which can prevent unauthorized users from viewing the second content.
[0044] In a possible design of the first aspect, it further includes: in the screen-off state, according to the user's status information or the terminal's status information, displaying the first card including the second content.
[0045] By adopting this method, the terminal can judge the user's intention to view the second content based on the user's status information or the terminal's status information, and quickly call out the second content when the user has the intention to view the second content to meet the user's need to view the second content.
[0046] In a possible design of the first aspect, the status information of the terminal includes at least one of the following: the location of the terminal, the connection status of external devices of the terminal, or the device posture of the terminal. Alternatively, the status information of the user includes at least one of the following: the behavior of the user, the habits of the user within a corresponding time period.
[0047] In a possible design of the first aspect, according to the status information of the user or the status information of the terminal, displaying the first card including the second content includes: if it is detected that the terminal is flipped to an angle with the horizontal plane that satisfies a first range, displaying the first card including the second content; the second content includes barcode information.
[0048] In a second aspect, a method for screen-off display is provided. Taking the method being applied to a terminal as an example, the method may include: when the screen is lit to display the lock screen interface, displaying a first card including first content and not including second content. When the identity information of the user is verified, the screen is lit to display the unlock interface, and the first card including the first content and the second content is displayed in the unlock interface.
[0049] In a possible design of the second aspect, when the screen is lit to display the lock screen interface, displaying a first card including first content and not including second content includes: displaying a mask in a first area of the first card, and the mask covers the second content.
[0050] In a possible design of the second aspect, when the terminal is in the screen-off AOD state, a first card of a first application including first content is displayed, where the display content of the first card does not include second content.
[0051] In a possible design of the second aspect, when the terminal is in the screen-off AOD state, displaying a first card of a first application including first content includes: displaying a mask in a first area of the first card, and the mask covers the second content.
[0052] In a possible design of the second aspect, the first card displays the first content through a first component, and the identifier of the first component is a non-privacy identifier, and the non-privacy identifier is used to identify a non-privacy component.
[0053] In a possible design of the second aspect, the first card displays the second content through a second component, and the identifier of the second component is a privacy identifier, and the privacy identifier is used to identify a privacy component.
[0054] In a third aspect, there is provided a method for always-on display. Taking the application of the method in a terminal as an example, the method may include: when the terminal is in the always-on display (AOD) state, a first card of a first application including first content is displayed, wherein the displayed content of the first card does not include second content. In the AOD state, if it is detected that a user approaches the terminal and the identity information of the user is verified, the terminal displays the first card including the second content.
[0055] In a fourth aspect, there is provided a method for always-on display. Taking the application of the method in a terminal as an example, the method may include: when the terminal is in the always-on display (AOD) state, a first card of a first application including first content is displayed, wherein the displayed content of the first card does not include second content. In the AOD state, according to the status information of the user or the status information of the terminal, the first card including the second content is displayed.
[0056] Among them, the introduction of the status information of the user and the status information of the terminal can refer to the relevant description in the first aspect and will not be elaborated here.
[0057] In a fifth aspect, there is provided a method for always-on display. Taking the application of the method in a terminal as an example, the method may include: displaying second content. When it is detected that another user approaches the terminal, a mask is displayed, and the mask covers the second content.
[0058] This method can be applied in non-AOD scenarios. For example, the first content can be a work summary.
[0059] Alternatively, when it is detected that there is another privacy-related scenario, the terminal can also display a mask to cover the privacy-related second content. For example, when the display screen is set not to sleep, the display screen may be always on. In this case, in order to reduce the risk of privacy leakage, the terminal can display a mask to cover the privacy-related second content. For other content on the display screen that is not privacy-related, the terminal may not display a mask for this other content.
[0060] In a sixth aspect, the technical solution of the present application provides a device, including: one or more processors, a memory, and one or more computer programs; wherein, the processor is coupled to the memory, and the above one or more computer programs are stored in the memory. When the device runs, the processor executes the one or more computer programs stored in the memory so that the device executes the methods in any design of any aspect above.
[0061] In a seventh aspect, the present application provides a device, including functional modules for executing the methods in any possible design of any aspect above of the present application. The module can be implemented by software or hardware, or in a combination of software and hardware. For example, it includes a processing unit and a communication unit.
[0062] In an eighth aspect, the technical solution of the present application provides a computer-readable storage medium, including computer instructions, which, when running on a device, cause the device to execute the method in any one of the above aspects and any possible design.
[0063] In a ninth aspect, the technical solution of the present application provides a computer program product, which, when running on a device, causes the device to execute the method in any one of the above aspects and any possible design.
[0064] In a tenth aspect, the technical solution of the present application provides a circuit system, which includes a processing circuit configured to execute the method in any one of the above aspects and any possible design. The processing circuit can be implemented as corresponding circuit components, such as being implemented as one or more processors. Or being implemented as a processor and a memory. Or being implemented as a processor and a transceiver.
[0065] In an eleventh aspect, an electronic device is provided, including: a display screen, a processor, and a memory. The display screen and the memory are coupled to the processor. The memory is used to store program code, and the program code includes instructions. The processor reads the instructions from the memory to cause the electronic device to execute the method described in any one of the above aspects and any design therein.
[0066] In a twelfth aspect, the present application provides a chip system, including at least one processor and at least one interface circuit. The at least one interface circuit is used to perform a transceiver function and send instructions to the at least one processor. When the at least one processor executes the instructions, the at least one processor executes the method described in the first aspect and any design therein of the above. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] Figure 1 A schematic diagram of an interface of a screen-off display method provided for the related art;
[0068] Figure 2 A schematic diagram of the development process of a card application provided for an embodiment of the present application;
[0069] Figure 3 A schematic diagram of the structure of an electronic device provided for an embodiment of the present application;
[0070] Figure 4A A schematic diagram of the software architecture of an electronic device provided for an embodiment of the present application;
[0071] Figure 4B A schematic diagram of a component tree provided for an embodiment of the present application;
[0072] Figure 5 A schematic diagram of an interface of a screen-off display method provided for an embodiment of the present application;
[0073] Figure 6A , Figure 6B is a schematic diagram of the interface of the screen-off display method provided by the embodiment of the present application;
[0074] Figure 7 is a schematic diagram of the interface of a screen-off display method provided by the embodiment of the present application;
[0075] Figure 8 is a schematic flowchart of a screen-off display method provided by the embodiment of the present application;
[0076] Figures 9 - 12 is a schematic diagram of the scenario provided by the embodiment of the present application;
[0077] Figure 13 is a schematic diagram of the interface of the screen-off display method provided by the embodiment of the present application;
[0078] Figure 14 is a schematic flowchart of another screen-off display method provided by the embodiment of the present application;
[0079] Figure 15 is a schematic diagram of the structure of another electronic device provided by the embodiment of the present application;
[0080] Figure 16 is a schematic diagram of the structure of a chip system provided by the embodiment of the present application. Specific embodiments
[0081] Next, in combination with the accompanying drawings in the embodiments of the present application, the technical solutions in the embodiments of the present application will be described. Among them, in the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to limit the present application. As used in the specification and claims of the present application, the singular forms "a", "one kind", "the", "above-mentioned", "this" and "this one" are intended to include, for example, the expression "one or more", unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of the present application, "at least one" and "one or more" mean one or more than two (including two).
[0082] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure, or characteristic described in connection with that embodiment is included in one or more embodiments of the present application. Thus, statements such as "in one embodiment", "in some embodiments", "in other some embodiments", "in still other embodiments", etc. that appear in different places in this specification do not necessarily all refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in another way. The terms "comprising", "including", "having" and their variants all mean "including but not limited to", unless otherwise specifically emphasized in another way. The term "connection" includes direct connection and indirect connection, unless otherwise stated. "First", "second" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features.
[0083] In the embodiments of the present application, words such as "exemplarily" or "for example" are used to represent examples, illustrations, or explanations. Any embodiment or design solution described as "exemplarily" or "for example" in the embodiments of the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplarily" or "for example" is intended to present relevant concepts in a specific manner.
[0084] In the technical solutions of the embodiments of the present application, the processing of the user's personal information, such as collection, storage, use, processing, transmission, provision, and disclosure, all comply with the provisions of relevant laws and regulations and do not violate public order and good customs. For example, in the technical solutions of the embodiments of the present application, the processing of the user's personal information is carried out under the authorization of the user. This is uniformly stated here and will not be repeated hereinafter.
[0085] "For" can be "dedicated to" or "usable for", not limited to "dedicated to". For example, an interface is for xx. In some examples, it means that the interface is dedicated to xx. In other examples, in addition to being used for xx, the interface may have other functions, which are not restricted.
[0086] Figure 1 In the AOD display solution of the related art shown, some application cards can be displayed when the screen is off. In certain cases, if there is privacy data in the card, it may lead to the privacy data being viewed by others, causing a security risk.
[0087] In view of this, the embodiments of the present application provide a screen-off display method. The terminal provides the ability to provide a privacy mask and can control the display and hiding of the privacy content of the card to reduce the security risk in the privacy scenario.
[0088] In the embodiments of the present application, the application that displays the card can be called a card application. As Figure 1In (2), the calendar application can display the card 101 on the display screen. Correspondingly, the calendar application can be referred to as a card application.
[0089] As Figure 2 shown in the example of the development and usage process of the card application, this process may include:
[0090] 1. Developers use the user interface (UI) framework to develop the card application. Exemplarily, the UI framework includes but is not limited to the ArkUI framework.
[0091] 2. Application development, the process of application development includes the following steps:
[0092] 1) Script development: Through script development, a logic script (also referred to as logic code) for describing the specific business logic of the card application can be obtained.
[0093] 2) Debugging development: In this process, developers can use the UI framework to debug the functions of the card application.
[0094] 3) Compilation and packaging: When the functions of the card application are developed and debugged, developers can use the compilation and packaging function provided by the UI framework to package the entire project corresponding to the card application into an executable file, such as packaging it into an APK installation package.
[0095] The installation package obtained by compilation and packaging contains the logic code obtained from script development, etc.
[0096] In the embodiments of the present application, the card application can call the interfaces provided by the UI engine in the UI framework to declare the privacy components in the card. Exemplarily, developers add corresponding code in the logic code of the card application to enable the card application to call the corresponding interfaces to declare the privacy components in the card.
[0097] The privacy component can refer to a component containing privacy data. As a possible implementation, the card application can call this interface to define the privacy attributes (sensitive attributes) of the privacy component. In other words, if a component defines or declares privacy attributes, then this component can be regarded as a privacy component. Exemplarily, the interface for declaring the privacy component is the PrivacySensitive interface.
[0098] Optionally, the default attribute of the component is a non-sensitive attribute or a non-privacy attribute.
[0099] In the embodiments of the present application, the privacy attribute can also be referred to as a privacy identifier. The non-privacy attribute can also be referred to as a non-privacy identifier, and the name is not limited.
[0100] The interfaces related to privacy protection involved in the embodiments of the present application can be collectively referred to as privacy hiding interfaces, or other names, without limitation.
[0101] As Figure 1 In (2) of Figure 1 , in the card 101, the part enclosed by the dashed line is the component for schedule display. Since this component involves sensitive information such as schedule, it can be regarded as a privacy component.
[0102] In the embodiments of the present application, a component can sometimes also be called a control, without being limited to the name. A privacy component can also be called a sensitive component, or a privacy-sensitive component, without being limited to the name.
[0103] In the embodiments of the present application, a set of one or more privacy components can be called a privacy component tree (or privacy tree), or a privacy component set (or privacy set).
[0104] 3. After the developer completes the development of the card application, the card application is put on the application market through an operation activity for users to download and use.
[0105] 4. The user downloads the APK of the card application through the application market. The user opens the card application on the terminal (such as a mobile phone), and the terminal runs the card application.
[0106] After the developer declares the privacy components for the card application, in some scenarios where the card application runs, the mobile phone may not display the privacy components in the card, or replace the privacy components in the card with other display contents.
[0107] This method can be applied to an electronic device or a system including an electronic device. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a handheld computer, a netbook, and a personal digital assistant (PDA), an artificial intelligence (AI) device, a wearable device, and the wearable device includes but is not limited to various devices with a display screen such as a smart watch, a smart bracelet, and a smart ankle bracelet. The operating system installed on the electronic device is not limited. The present application does not limit the specific type of the electronic device and the installed operating system.
[0108] Exemplarily, Figure 3 shows a schematic structural diagram of an electronic device provided by the embodiments of the present application.
[0109] As Figure 3 shown, the electronic device 500 may include a processor 510, a memory 520, and a display screen 530, etc.
[0110] The processor 510 may include one or more processing units. For example, the processor 510 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.
[0111] The controller may generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
[0112] A memory may also be provided in the processor 510 for storing instructions and data. In some embodiments, the memory in the processor 510 is a cache memory. This memory may store the instructions or data that the processor 510 has just used or recycled. If the processor 510 needs to use the instruction or data again, it can directly call it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 510, and thus improves the efficiency of the system.
[0113] In some embodiments, the processor 510 may include one or more interfaces. These one or more interfaces can be used to connect the processor 510 to the memory 520, the display screen 530, etc.
[0114] In some embodiments of the present application, the processor 510 can be used to determine whether the components in the card are privacy components. If the component is a privacy component, the display content of the privacy component is masked to prevent the privacy content of the privacy component from being viewed by others. For specific introduction, please refer to the following description.
[0115] The memory 520 can be used to store computer-executable program code, and the executable program code includes instructions. The memory 520 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as an image playback function, etc.). The data storage area can store the data created during the use of the electronic device 500. The processor 510 executes various functional applications and data processing of the electronic device 500 by running the instructions stored in the memory 520 and / or the instructions stored in the memory provided in the processor.
[0116] The electronic device 500 implements the display function through the GPU, the display screen 530, the application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display screen 530 and the application processor. The GPU is used to execute mathematical and geometric calculations for graphics rendering. The processor 510 may include one or more GPUs, which execute program instructions to generate or change display information.
[0117] The display screen 530 is used to display images, videos, etc. The display screen 530 includes a display panel. The display panel can adopt a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 500 may include 1 or N display screens 530, where N is a positive integer greater than 1.
[0118] In some embodiments of the present application, the display screen 530 can be used to display various interfaces. For example, in the screen-off state, an interface containing cards is displayed. If the card contains privacy data, when the card is displayed in the screen-off state, the privacy data in the card is not displayed, or the privacy data is replaced with other non-privacy content for display.
[0119] It can be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than Figure 3 shown, or combine certain components, or split certain components, or have different component arrangements. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
[0120] Figure 4A An architecture example of the software system of the electronic device 100 is shown. As Figure 4A shown, the software system may include: a UI engine, a card user, a card management service, and a card provider.
[0121] Among them, the UI engine and the card management service provide the ability of privacy masking, and the card application and the lock screen application can perform display and hiding control of privacy content based on this ability.
[0122] The card user can refer to the host application that displays the card content. Exemplarily, the lock screen application and the desktop can be used as card users. Taking the lock screen application as an example of the card user, in the locked screen state, the lock screen application can indicate to the card management service whether to hide the private content of the card.
[0123] The card management service can be used to manage cards. It can also provide capabilities such as periodic refreshing of cards. In the embodiments of the present application, the card management service can provide an interface to the card user to set the privacy hiding switch of the card and cache the state of the switch. In some examples, when the switch is turned on, the method for controlling the display and hiding of the private content of the embodiments of the present application is enabled.
[0124] In some embodiments, the card management service can also be used for privacy scenario perception. A privacy scenario is a scenario in which it may be necessary to hide the private content of the card. Privacy scenarios include but are not limited to the AOD scenario in the lock screen.
[0125] In some embodiments, the card management service can also be used to mask or normally display the UI components in the UI component tree of the card in a privacy scenario.
[0126] The UI component tree can also be referred to as the UI node tree (frame node tree). The UI component tree is a data structure formed by multiple UI components (elements). For example Figure 4B , an example of the UI component tree of the card is shown. The UI component tree includes multiple UI components (or UI nodes).
[0127] In some examples, in a privacy scenario, if there are private components in the UI component tree of the card, the card management service can mask the content of the private components to prevent the leakage of private content. In other examples, if there are no private components in the UI component tree of the card, the card management service can normally display the card.
[0128] Optionally, the software system can further include a card rendering process (which can also be referred to as a card rendering service). As a possible implementation, the lock screen application calls the formComponent.obscured method, and the parameters of this method are passed through (inter-process communication, IPC) notifications to the card rendering process.
[0129] In one case, the formComponent.obscured method passes an empty array to indicate that it is necessary to cancel the mask or not display the mask. In this case, the card rendering process instructs or notifies or requests the card management service to normally display the card content without displaying the mask.
[0130] In another case, the formComponent.obscured method passes the ObscuredReasons.PLACEHOLDER parameter to indicate that a mask needs to be displayed. In this case, the card rendering process calls the interface provided by the UI engine, traverses the UI component tree of the card, and queries the UI engine to determine whether the UI component tree of the card is a privacy component.
[0131] Exemplarily, the card rendering service executes IsPrivacySensitive to query the properties of the UI components of the card from the UI engine. If the UI engine returns true for one or more components, it means that the one or more components are specified with privacy attributes, then the card rendering service can determine that the one or more components are privacy components. The card rendering process can instruct or notify or request the card management service to mask and display the one or more privacy components of the card.
[0132] The card provider, the application that provides the card display content, can control the display content, control layout, and control click events of the card. For example Figure 4A , the display content that the card provider can provide includes but is not limited to: icons, text, pictures.
[0133] In the embodiments of the present application, the card provider can also be referred to as the card application.
[0134] Refer to Figure 1 of (2), the card provider of card 101 is the calendar application, and the card user of card 101 is the lock screen application. The lock screen application displays card 101 of the calendar application when the screen is turned off on the lock screen interface. There is text displayed on card 101.
[0135] The UI engine can provide an interface, and the card application can call this interface to declare the privacy components of the card. For the specific development of the card application and the implementation of declaring privacy components, reference can be made to Figure 2 the relevant description, which will not be elaborated here.
[0136] In some embodiments, the UI engine can obtain information of the card application from the card application, such as obtaining the data of the card.
[0137] In some embodiments, the UI engine can also provide functions related to card parsing and card rendering. For example, it can parse the component tree of the card and send the information of the component tree to the rendering service at the back end, and the rendering service performs rendering and displays the card.
[0138] In some embodiments, the UI engine can also be used to parse the privacy attributes of privacy components. In some examples, the card rendering process can query the properties of the card components from the UI engine and determine whether the component is a privacy component based on the properties of the component. For example, as described above, when the component declares a privacy attribute, then the component is a privacy component.
[0139] The technical solutions involved in the following embodiments can all be implemented in a device with the structure as Figure 3 shown.
[0140] In the embodiments of the present application, when the privacy scenario is met, a mask can be displayed at the position of the privacy component in the card to prevent the privacy content of the privacy component from being accidentally viewed by others. Below, taking an electronic device as a mobile phone as an example, the technical solutions provided in the embodiments of the present application will be introduced with reference to the accompanying drawings.
[0141] Scenario 1:
[0142] As shown in Figure 5 (1), the card 101 can be displayed in the state where the mobile phone screen is off. Among them, in the state where the mobile phone screen is off, the privacy content of the non-privacy components on the card 101 is displayed, such as the text "Wednesday" and "5th", and the UI icon of the component 102. And, in the state where the mobile phone screen is off, the privacy content of the privacy components on the card 101 is not displayed.
[0143] As a possible implementation manner, in the state where the mobile phone screen is off, not displaying the privacy content of the privacy components on the card 101 can be not displaying content at the position corresponding to the privacy components. As shown in Figure 5 (1), no content is displayed at the position corresponding to the privacy components (framed by a dotted line box).
[0144] As another possible implementation manner, in the state where the mobile phone screen is off, not displaying the privacy content of the privacy components on the card 101 can be displaying desensitized content at the position corresponding to the privacy components. As shown in Figure 5 (3), the text "There is no schedule recently" is displayed at the position corresponding to the privacy components (framed by a dotted line box). This text does not involve sensitive privacy and can prevent others from maliciously viewing the user's schedule.
[0145] By adopting this method, in the AOD scenario, in the state where the screen is off, the terminal does not display the privacy content of the privacy components, or replaces the privacy content with desensitized content for display, which can avoid the privacy leakage problem caused by the terminal displaying the screen off for a long time and improve the security of AOD.
[0146] As shown in Figure 5 (2), in response to the user's operation, the mobile phone lights up the screen. Among them, the card 101 on the lock screen interface 103 when the screen is on can include the display content of the privacy components. For example, the card 101 can include information such as "Today's meeting 2:30-3:30 pm ①". That is, in the state where the terminal unlocks the screen and lights up, the content of the card is normally displayed. In this way, the user can quickly view the recent schedule through the card 101.
[0147] Optionally, the operations to trigger the phone to light up the screen include but are not limited to double - clicking the screen and pressing the power button.
[0148] Scenario 2:
[0149] Different from Scenario 1, in Scenario 2, when the terminal is in the state of the screen being lit on the unlocking interface, it can verify the user's identity information and accordingly determine whether to display the display content of the privacy component on the card.
[0150] Exemplarily, as Figure 6A in (1), in the AOD scenario, when the phone is in the screen - off state, it does not display the privacy content (such as meeting schedule) of the privacy component. As Figure 6A in (2), the phone responds to the user operation to light up the screen and displays the card 101 that does not include privacy content on the lit - up lock screen interface 103.
[0151] Exemplarily, in response to the successful face verification of a legitimate user, as Figure 6A in (3), the phone can refresh the display content of the card 101 on the interface 103 (an example of the unlocking interface) and display the meeting schedule information in the card 101. In response to the failed face verification of an illegal user, as Figure 6A in (4), the phone does not refresh the display content of the card 101, and the phone still does not display the meeting schedule information in the card 101.
[0152] By adopting this method, when the terminal lights up the screen to display the lock screen interface, the terminal controls the display or non - display of the privacy content in the card according to the verification result of the user identity information. It can not only reduce the security risk of AOD but also provide the card information to legitimate users in a timely manner, ensuring the interaction experience.
[0153] Scenario 3:
[0154] Different from Scenario 2, in Scenario 2, the terminal can verify the user's identity information and accordingly determine whether to display the display content of the privacy component on the lock screen interface. In Scenario 3, the terminal can determine whether a legitimate user wants to view the display content of the privacy component and accordingly display the content of the privacy component on the desktop or other interfaces displayed after unlocking.
[0155] Such as Figure 6B in (1), the phone displays the card 101 on the lock screen interface 103, and the meeting schedule information in the card 101 is masked and hidden. In some examples, the user can click on the card 101 and perform face verification. In response to the successful face verification, the phone can display the desktop 301 as Figure 6B in (2). The desktop 301 includes the card 101, and the meeting schedule information is displayed in the card 101.
[0156] Conversely, in some examples, the user does not click on Figure 6BIf the mobile phone does not detect the user's intention to view the card 101 shown in (1) of the figure, or the mobile phone does not detect the user's intention to view the card 101, the mobile phone can display the desktop after the face verification is passed. The desktop does not include the card 101. Alternatively, the desktop includes the card 101, but the meeting schedule information is not displayed on the card 101.
[0157] In some other examples, in addition to clicking Figure 6B the card 101 shown in (1) of the figure, the user can also express the intention to view the card 101 in other ways.
[0158] In some other examples, if the terminal detects the user's intention to view the information related to the card 101, the terminal can jump to the application interface corresponding to the card 101 after the face verification is passed. For example, it jumps to the interface of the calendar application. For example, the calendar interface includes the meeting schedule information.
[0159] In some other examples, if the terminal detects the user's intention to view the information related to the card 101, the terminal can jump to the previous display interface before the screen is locked after the face verification is passed. For example, the terminal displays a floating window corresponding to the card 101 on the display interface. The user can quickly view the information related to the card 101 by operating the floating window.
[0160] In some other examples, the terminal does not detect whether the user has the intention to view the card 101. When the terminal unlocks successfully in the Figure 6B scene shown in (1) of the figure, it directly jumps to the corresponding interface. For example, the interface that jumps to includes the card 101, and the meeting schedule information is displayed in the card 101.
[0161] This article only lists several example ways of "displaying the information related to the card 101 on the interface after the terminal is unlocked", without limitation.
[0162] In this article, the identity verification method is taken as an example of verifying the face. In some other embodiments, the identity verification method can also be other, such as verifying the user's fingerprint or iris.
[0163] Figure 7 Shows the application of the embodiments of the present application in the barcode field. As Figure 7 shown in (1) of the figure, the mobile phone screen is off, and the card 202 is displayed on the lock screen interface 201. Among them, the card 202 includes a mask 203 for the two-dimensional code. The mask 203 is used to cover or hide the two-dimensional code for payment to prevent the two-dimensional code from being maliciously scanned.
[0164] After that, as Figure 7 shown in (2) of the figure, the mobile phone screen is on, and the card 202 is displayed on the lock screen interface 204, and the two-dimensional code in the card 202 is hidden by the mask 203. In some examples, in response to the legitimate user unlocking with the correct face, the mobile phone can refresh the display content of the card 202. AsFigure 7 In (3), the legitimate user unlocks the phone through face recognition, triggering the phone to cancel the mask at the position of the dashed box in the card 202 and display a QR code 203' at the position of the dashed box.
[0165] On the contrary, in some other examples, in response to an illegal user using an incorrect face for unlocking, the phone does not refresh the display content of the card 202. For example, Figure 7 in (4), the illegal user fails to unlock the phone through face recognition, and the phone keeps displaying the mask 203 in the card 202 to reduce the security risk.
[0166] By adopting this method, on the one hand, the user can quickly call out the payment QR code on the lock screen interface, improving the payment efficiency. On the other hand, only the legitimate user who has passed the identity verification can trigger the phone to quickly call out the QR code, ensuring the payment security.
[0167] As follows, the solution of the embodiment of the present application will be introduced in combination with a process example.
[0168] Exemplarily, Figure 8 a process example is shown. For example, Figure 8 this process may include the following steps:
[0169] S101. The card application calls the interface provided by the UI engine to declare the privacy component of the card.
[0170] For the specific implementation of S101, reference can be made to Figure 2 the description related to the development process of the card application shown, which will not be elaborated here.
[0171] As described above, after the developer completes the development of the card application, the card application is put on the application market through an operation activity for users to download and use. After the user downloads and installs the card application on the terminal, the terminal can obtain the relevant information of the components of the card of the card application, and display the card on the display screen according to the relevant information of the card components. For the specific implementation of the terminal sending and displaying the card according to the relevant information of the card components, reference can be made to the description in other parts of this article, such as reference to Figure 4A the relevant description.
[0172] Exemplarily, the card application includes but is not limited to at least one of the following types of applications: payment application, calendar application, note application, message application, takeaway application, shopping application, or health application.
[0173] Exemplarily, the privacy-related content (such as the second content) of the card application includes at least one of the following: schedule information, barcode information, logistics information, takeaway information, or health information. For example, the privacy-related content in the calendar application includes meeting schedule information.
[0174] S102. In the screen-on state, the lock screen application displays the lock screen interface.
[0175] Exemplarily, such as Figure 5 in (2), in the screen-on state, the lock screen application displays the lock screen interface 103.
[0176] S103. The lock screen application instructs the card management service not to display the privacy mask.
[0177] As a possible implementation, the lock screen application calls the formComponent.obscured method and passes an empty array in this method to indicate canceling or not displaying the privacy mask (which can be simply referred to as the mask). Exemplarily, the format of the formComponent.obscured method for indicating not to display the privacy mask is formComponent.obscured([]). [] can represent an empty array.
[0178] S104. The card management service normally displays the card content on the lock screen interface.
[0179] Such as Figure 5 in (2), in the screen-on state, the mobile phone normally displays the content of the card 101 on the lock screen interface 103 without displaying the privacy mask at the position of the dotted box in the card 101.
[0180] The card management service displays content on the interface, which can be understood or replaced as: the card management service controls the display of content on the interface. For example, the card management service determines to normally display the card content and instructs the UI engine to send the information of the component tree of the card to the backend rendering service, and the rendering service performs rendering and sends it for display, and the display module accordingly normally displays the card content.
[0181] As a possible implementation, the lock screen application executes S103, calls formComponent.obscured([]), and the empty array [] is passed to the card rendering process. The card rendering process traverses the UI component tree of the card. In the screen-on state, the terminal does not consider the privacy attributes of the UI components. The terminal can send the display data of the card to the display screen according to the traversed UI component tree to achieve the normal display of the card in the screen-on state.
[0182] Such as Figure 4B , the terminal can traverse components 1 - 11 and other components of the card, and send the display data of the card to the display screen according to the traversed UI component tree.
[0183] Optionally, the card rendering process traverses N cards of M applications to be displayed on the lock screen interface. Both M and N are positive integers.
[0184] As described above, as a possible implementation, when the screen is on and the user's identity information is successfully verified, the terminal can display components related to privacy. For example, Figure 7 in (3) of Figure 7 , after the legitimate user's face unlock is successful, the mobile phone can cancel the mask on component 206 in card 205, so that the display content of component 206 (such as the user's steps) is displayed.
[0185] S105. When the screen is off, the lock screen application displays the lock screen interface.
[0186] Exemplarily, for example, Figure 5 in (1) of Figure 5 , when the screen is off, the lock screen application displays the lock screen interface in the off-screen state.
[0187] S106. The lock screen application instructs the card management service to display the privacy mask.
[0188] As a possible implementation, the lock screen application calls the formComponent.obscured method and passes relevant parameters for mask display in this method to instruct the display of the privacy mask or to instruct the activation of the mask.
[0189] Exemplarily, the format of the formComponent.obscured method for instructing not to display the privacy mask is formComponent.obscured([ObscuredReasons.PLACEHOLDER]). The ObscuredReasons.PLACEHOLDER parameter can indicate that the displayed data is replaced by a mask.
[0190] By using this method, the terminal can judge whether to enable or cancel the privacy mask by judging whether the formComponent.obscured method has the ObscuredReasons.PLACEHOLDER parameter, so as to realize the display and hiding control of privacy content.
[0191] S107a. The card management service obtains the privacy components on the card.
[0192] As described above, by way of example, the lock screen application calls the method formComponent.obscured([ObscuredReasons.PLACEHOLDER]). After the ObscuredReasons.PLACEHOLDER parameter of this method is passed to the card rendering process, the card rendering process can traverse the UI component tree of the card and query the properties of the card components from the UI engine. If a component has privacy attributes, the rendering process can determine that the component is a privacy component. The rendering process can indicate the privacy attributes of the corresponding component to the card management service so that the card management service knows that the component is a privacy component. Or the rendering process can directly indicate to the card management service that the corresponding component is a privacy component. In this way, the card management service can hide the privacy component in the card.
[0193] Exemplarily, as Figure 7 in (1) of, in the AOD state, the mobile phone displays the card 205 on the interface 201. The attribute of the component 206 in the card 205 is a privacy attribute. The attributes of other components in the card 205 are non-privacy attributes. The mobile phone can hide the display content in the component 206 according to the privacy attribute of the component 206, such as hiding the user's step information. The mobile phone can display the corresponding content through the other component according to the non-privacy attribute of the other component. For example, display the icon of the shoes.
[0194] S107b. The card management service masks the display content of the privacy components on the lock screen interface.
[0195] For example, Figure 5 in (1) of, when the screen is off and in the AOD state, the mobile phone displays the card 101 on the lock screen interface. Among them, the content of the privacy component boxed by the dotted line in the card 101 is masked to prevent the privacy content from being viewed by others.
[0196] In some embodiments, the cards displayed on the lock screen interface or in the screen-off AOD state can be Figure 6A , Figure 6B , Figure 7 , Figure 9 , Figure 10 , Figure 11 the card examples in, and these cards can be combined and displayed on the same lock screen interface. For example, in some scenarios, the lock screen interface includes both Figure 6B the calendar component in, and Figure 7 the QR code component in.
[0197] Again, taking the QR code scenario as an example, in the screen-off state, the lock screen application instructs to display a privacy mask for the QR code. The card management service can determine the privacy components in the QR code card accordingly. As Figure 7In (1), the dashed box area in the QR code card 202 (an example of the first card) is the area where the privacy component is located. The other areas are areas of non-privacy components. The card management service displays a mask 203 of the QR code in the dashed box area (an example of the first area) to cover the QR code (an example of the second content) displayed through the QR code component (an example of the second component). The card management service displays the display content of the non-privacy components in the corresponding areas in the other areas, such as displaying the word "Pay" (an example of the first content of the first component).
[0198] The terminal performs masked display on the display content of the privacy component on the card, which can also be understood or replaced as: the terminal replaces the display content of the privacy component with a mask. The pattern, color, style, etc. of the mask are not limited.
[0199] By adopting this method, the terminal can intelligently and automatically perform masked display on the display content involving privacy, without the user desensitizing the information by means such as manual scribbling, which is more efficient and convenient.
[0200] The embodiment of the present application further provides a screen-off display method. The embodiment of the present application further provides a screen-off display method. The terminal can combine the status information of the terminal or the status information of the user to determine whether to hide the content of the privacy component in the card.
[0201] Among them, the status information of the terminal includes at least one of the following information: the location of the terminal, the connection status of the external device of the terminal, or the device posture of the terminal. Or, the status information of the user includes at least one of the following information: the behavior of the user, the habits of the user within the corresponding time period.
[0202] Taking the barcode scenario as an example, the terminal can determine the user's intention to use the barcode, and quickly call out the corresponding barcode when the user has the intention to use the barcode to meet the user's barcode usage needs. In other scenarios, the terminal restores the mask at the barcode to reduce the security risk brought by the exposure of the barcode.
[0203] In one or more embodiments of the present application, the barcode can be various barcodes and QR codes. For example, payment codes, subway codes, or bus codes are not limited.
[0204] For example, as Figure 9 In (1), the mobile phone is in the screen-off state, and the card 202 is displayed on the lock screen interface 201. Among them, the card 202 includes a mask 203 of the QR code. As Figure 9In (2), when it is detected that the mobile phone is flipped so that the screen of the mobile phone faces down and the back faces up, and the angle between the screen of the mobile phone and the horizontal plane meets the condition, it means that the user is very likely to have the intention of using QR code payment. Then the mobile phone can cancel the display of the mask 203 at the position of the dashed box in the card 202, so that the QR code is displayed on the screen. By adopting this method, on the one hand, in the posture of the terminal with the screen facing down, the probability of privacy leakage is relatively small. On the other hand, there is no need for the user to manually operate the terminal to trigger the display of the QR code. It can balance the requirements of security and usage efficiency.
[0205] For another example, when the mobile phone detects that the user arrives at the subway and when the user flips the mobile phone so that the screen faces away from the user (towards the subway turnstile), it means that the user wants to scan the ground code. In this case, the mobile phone can turn off the screen or turn on the screen to display a card containing the ground code. In this way, there is no need for the user to manually operate the mobile phone to refresh the subway code, improving the human-computer interaction efficiency.
[0206] For another example, the mobile phone is set to: when at home, it can turn off the screen and display a card containing private content. Taking the calendar application as an example, in this set-up scenario, when it is detected that the mobile phone is at home, the mobile phone can use AOD to display the card of the calendar application containing meeting schedule information. When it is detected that the mobile phone is not at home (such as in the office), the calendar card displayed by the mobile phone's AOD does not contain meeting schedule information to prevent privacy leakage in some occasions with higher security risks.
[0207] For another example, according to the user's usage habits, the mobile phone is set to: it can turn off the screen and display a card containing private content during the period from 8:00 pm to 10:00 pm.
[0208] For another example, as Figure 10 In (1), the mobile phone turns off the screen and displays the interface 401. The interface 401 includes the card 402 recommended by Xiaoyi. The dashed box area of the card 402 includes the privacy component of the audio application, and the content of the privacy component is masked and hidden. When it is detected that the mobile phone is connected to the earphone, or the earphone is close to the mobile phone, it means that the user is very likely to want to listen to the audio of the audio application. In this case, as Figure 10 In (2), the mobile phone can cancel the mask in the dashed box area to display the audio list of the audio application. In this way, the terminal can quickly display the audio list in the card according to the user's need to listen to audio.
[0209] Optionally, as a possible implementation method, detecting that the mobile phone is connected to the earphone and the mobile phone can cancel the mask in the dashed box area can mean detecting that the mobile phone is connected to the earphone that has been connected before. That is, the mobile phone is connected to the earphone that has been verified.
[0210] In some embodiments, the terminal may also combine the verification results of the user status and identity information to determine whether to hide the content of the privacy component in the card. For example, an in-screen fingerprint collection module may be set in a mobile phone, or a fingerprint collection module may be set at a position such as a power button. Still, as Figure 9 in (1), the mobile phone's always-on display shows a card 202 that does not contain QR code information. After that, as Figure 9 in (2), when it is detected that the mobile phone is flipped screen-down and the user fingerprint collected by the fingerprint collection module passes the verification, the mobile phone can cancel the mask on the displayed QR code information to facilitate the user's quick use of the QR code.
[0211] In some embodiments, the terminal may also combine the verification results of the terminal status and identity information to determine whether to hide the content of the privacy component in the card.
[0212] Alternatively, other methods may also be adopted to enable the terminal to display the privacy content in the card in the always-on display scenario when the user needs to view the privacy content and the probability of privacy leakage is relatively small, so as to balance the requirements of security and usage efficiency.
[0213] The solution of the terminal combining the user status or the terminal status to display the privacy content in the card in the always-on display can also be applied to the scenario of the lit screen display. For example, when the lit screen condition is met (such as the user double-tapping the screen), the mobile phone detects that the user is in a shopping mall, the mobile phone is flipped screen-down, and the user's fingerprint verification passes, then the mobile phone can quickly display the payment QR code.
[0214] Taking the case where the always-on lock screen interface and the lit screen lock screen interface are the same or similar as an example, in some other examples, the always-on display lock screen interface and the lit screen display lock screen interface are different. For example, the always-on display lock screen interface includes card 1 and card 2, and the lit screen display lock screen interface includes card 1 - card 4, without limitation.
[0215] In the above-mentioned corresponding solutions, taking the example of turning off the screen first and then turning on the screen, in some embodiments, it can also turn on the screen first and then turn off the screen, without limitation. Figure 5 In some embodiments, the present application also provides an always-on display method. When the terminal is in AOD display, it defaults to display the mask of the privacy component in the card. When it detects that the face of a legitimate user approaches the terminal, the terminal automatically cancels the mask.
[0216] As
[0217] in (1), the mobile phone's AOD display interface 301, the interface 301 includes a card 302 for sports and health, and the specific sports and health information is not displayed in the card 302. As Figure 11 Figure 11 In the case of (2), when the mobile phone detects that the face of a legitimate user approaches the mobile phone, specific sports health information can be displayed on the card 302. Taking the face recognition as an example of the authentication method, the authentication method involved in one or more embodiments of the present application can also be replaced by methods such as fingerprint verification.
[0218] The above only lists several scenarios applicable to the solution of the embodiment of the present application. For some other scenarios, such as message notification, takeout, logistics information of shopping software, etc., this solution can also be adopted.
[0219] Taking the mask solution in the AOD scenario as an example above, the solution of the embodiment of the present application can also be applied to non-AOD scenarios. The embodiment of the present application does not limit the scenarios applicable to the solution. As long as the content of the privacy component in the card can be covered under certain conditions and the content of the privacy component in the card can be displayed under other conditions, they are all within the protection scope of the present application.
[0220] For example, as Figure 12 In the case of (1), the mobile phone display interface 501 includes the content of the work memo in the interface 501. During the process of the user reading the work memo, when the mobile phone detects that someone else approaches the mobile phone, a mask can be displayed in the dotted box area shown in Figure 12 (2) to hide the sensitive information in the work memo.
[0221] In some embodiments, the terminal can also provide a setting interface related to the always-on display. For example, as Figure 13 In the case of (1), the mobile phone display interface 601, and the interface 601 (an example of the first interface) can include a switch 602 and a setting item 604. When the switch 602 is turned on to enable the solution of the embodiment of the present application, the mobile phone can hide or display the content of the privacy component. In some examples, in response to the user clicking the setting item 604, the mobile phone can jump to the interface 603 (an example of the second interface) shown in Figure 13 (2). The user can set the applications that need to be masked and displayed through this interface. As Figure 13 In the case of (2), if the calendar application is selected, the mobile phone can mask and display the privacy content of the calendar application card. Similarly, the mobile phone can mask and display the privacy content of the takeout application card. By adopting this method, the applications that need to hide privacy content can be personalized set to meet the user's privacy protection needs.
[0222] In one or more embodiments of the present application, in order to reduce the power consumption of AOD, AOD can be entered under certain conditions. For example, when the user is detected to approach, AOD display is performed. Or when the mobile phone is detected to be put into the pocket, AOD display is exited, and when the mobile phone is detected to be taken out of the pocket, the mobile phone performs AOD display.
[0223] The interfaces shown in the embodiments of the present application are exemplary, and the implementation of some interfaces can be referred to the descriptions in other parts of this article, which will not be elaborated here. For example Figure 7 in (2) of Figure 7 and the implementation of (4) of
[0224] Exemplarily, Figure 14 shows a schematic flowchart of another screen-off display method provided by the embodiments of the present application. This method can be applied to a terminal with a display screen. As Figure 14 shown, the method includes the following steps:
[0225] S201. When the terminal is in the Always-on Display (AOD) state, display a first card of a first application including first content, where the display content of the first card does not include second content.
[0226] Exemplarily, as Figure 5 in (1) of
[0227] As a possible implementation manner, when the terminal is in the AOD state, displaying the first card of the first application including the first content can be implemented as: displaying a mask in a first area of the first card, and the mask covers the second content.
[0228] Exemplarily, as Figure 7 in (1) of
[0229] Optionally, the first card displays the first content through a first component, and the identifier of the first component is a non-privacy identifier, and the non-privacy identifier is used to identify a non-privacy component. The first card displays the second content through a second component, and the identifier of the second component is a privacy identifier, and the privacy identifier is used to identify a privacy component.
[0230] Optionally, the privacy identifier is preset in the installation package of the first application.
[0231] As a possible implementation manner, in the AOD state, the terminal does not display the second component but displays the first component according to the non-privacy identifier of the first component and the privacy identifier of the second component of the first card; in the screen-on state, the second component is displayed.
[0232] As a possible implementation, when the terminal is in the Always-on Display (AOD) state with the screen off, displaying the first card of the first application including the first content can be implemented as follows: According to the privacy identifier of the second component, a mask is displayed in the area corresponding to the second component in the first card.
[0233] Optionally, the first card may further include a third component, where the first card displays the third content through the third component. The method may further include: when in the AOD state with the screen off, displaying the first card including the first content, excluding the second content and excluding the third content; when the terminal is in the screen-on state, displaying the first card including the first content, the second content, and the third content.
[0234] Optionally, the terminal further includes a second card of a second application. Correspondingly, the method may further include: when in the AOD state with the screen off, displaying the second card of the second application including the fourth content and excluding the fifth content; when the terminal is in the screen-on state, displaying the second card including the fourth content and the fifth content.
[0235] For other specific implementations of S201, reference can be made to the relevant steps in the foregoing embodiments, such as referring to S105 - S107, which will not be elaborated herein.
[0236] S202. When the terminal is in the screen-on state and displays the lock screen interface, display the first card including the first content and the second content.
[0237] Exemplarily, as Figure 5 in (2) of, when the terminal is in the screen-on state and displays the lock screen interface, display card 101 including date information and meeting schedule information.
[0238] For the specific implementation of S202, reference can be made to the relevant steps in the foregoing embodiments, such as referring to S101 - S104, which will not be elaborated herein.
[0239] The above mainly introduces the solution provided by the embodiments of the present application from the perspective of the method. It can be understood that in order for the electronic device to implement the above functions, it includes the corresponding hardware structure and / or software module for executing each function. Combining the units and algorithm steps of each example described in the embodiments disclosed in the present application, the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the form of hardware or computer-driven hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiments of the present application.
[0240] Embodiments of this application can divide functional modules of an electronic device according to the above method examples. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional module. It should be noted that the division of units in the embodiments of this application is illustrative, only a logical function division, and there can be other division methods in actual implementation.
[0241] As Figure 15 shown, it is a schematic structural diagram of an electronic device provided by an embodiment of this application. The electronic device 2200 can be used to implement the methods described in each of the above method embodiments. Exemplarily, the electronic device 2200 can specifically include: a processing unit 2201 and a display unit 2202.
[0242] Among them, the processing unit 2201 is used to support the electronic device 2200 to execute Figures 2 - 14 any one of the described processing functions.
[0243] The display unit 2202 is used to support the electronic device 2200 to execute Figures 2 - 14 any one of the described display functions.
[0244] Optionally, Figure 15 the electronic device 2200 shown in Figure 15 may further include a communication unit (
[0245] not shown in Figure 15 ), and this communication unit is used to support the electronic device 2200 to execute the steps of communicating between the electronic device and other electronic devices in the embodiments of this application. Figure 15 Optionally,
[0246] Figure 15 the electronic device 2200 shown in Figure 15 may further include a storage unit 2203, and this storage unit 2203 stores programs or instructions. When the processing unit 2201 executes this program or instruction, it enables
[0247] the electronic device 2200 shown in Figure 16 Figure 15 the electronic device 2200 shown in
[0246] Figure 15 to execute the method shown in the above method embodiment. Figure 15 The technical effects of the electronic device 2200 shown in
[0247] can refer to the technical effects of the method shown in the above method embodiment, and will not be elaborated here. Figure 16 Figure 15 In the electronic device 2200 shown in
[0247] the processing unit 2201 involved can be implemented by a processor or processor-related circuit components, and can be a processor or a processing module. The communication unit can be implemented by a transceiver or transceiver-related circuit components, and can be a transceiver or a transceiver module. The display unit 2202 can be implemented by components related to a display screen. Figure 16 Embodiments of this application also provide a chip system, as Figure 16As shown, the chip system includes at least one processor 2301 and at least one interface circuit 2302. The processor 2301 and the interface circuit 2302 can be interconnected by a line. For example, the interface circuit 2302 can be used to receive signals from other devices. For another example, the interface circuit 2302 can be used to send signals to other devices (such as the processor 2301). Exemplarily, the interface circuit 2302 can read the instructions stored in the memory and send the instructions to the processor 2301. When the instructions are executed by the processor 2301, the electronic device can be made to execute each step performed by the electronic device in the above embodiments. Of course, the chip system can also include other discrete devices, and the embodiments of the present application do not make specific limitations thereto.
[0248] Optionally, the processor in the chip system can be one or more. The processor can be implemented by hardware or by software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented by software, the processor can be a general-purpose processor that implements by reading the software code stored in the memory.
[0249] Optionally, the memory in the chip system can also be one or more. The memory can be integrated with the processor or can be separately arranged from the processor, and the present application does not limit this. Exemplarily, the memory can be a non-transitory processor, such as a read-only memory ROM, which can be integrated with the processor on the same chip or can be separately arranged on different chips. The present application does not make specific limitations on the type of the memory and the arrangement manner of the memory and the processor.
[0250] Exemplarily, the chip system can be a field programmable gate array (FPGA), can be an application specific integrated circuit (ASIC), can also be a system on chip (SoC), can also be a central processing unit (CPU), can also be a network processor (NP), can also be a digital signal processing circuit (DSP), can also be a micro controller unit (MCU), can also be a programmable logic device (PLD) or other integrated chips.
[0251] It should be understood that each step in the above method embodiments can be completed by the integrated logic circuit of the hardware in the processor or the instructions in the form of software. The method steps disclosed in combination with the embodiments of the present application can be directly embodied as being executed and completed by the hardware processor, or executed and completed by the combination of the hardware and software modules in the processor.
[0252] The embodiments of the present application further provide a computer storage medium, in which computer instructions are stored. When the computer instructions run on an electronic device, the electronic device is enabled to execute the method described in the above method embodiments.
[0253] The embodiments of the present application provide a computer program product, which includes: a computer program or instructions. When the computer program or instructions run on a computer, the computer is enabled to execute the method described in the above method embodiments.
[0254] In addition, the embodiments of the present application further provide a device, which may specifically be a chip, a component or a module. The device may include a processor and a memory connected to each other. Among them, the memory is used to store computer execution instructions. When the device runs, the processor may execute the computer execution instructions stored in the memory, so that the device executes the methods in the above method embodiments.
[0255] Among them, the electronic device, computer storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be elaborated here.
[0256] Through the description of the above embodiments, those skilled in the art can understand that for the convenience and simplicity of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
[0257] In several embodiments provided by the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The embodiments can be combined with each other or referred to each other without conflict. The device embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point, the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in electrical, mechanical or other forms.
[0258] The unit described as a separation component may or may not be physically separated. The component displayed as a unit may be a physical unit or multiple physical units, that is, it may be located in one place or distributed to multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0259] In addition, each functional unit in various embodiments of the present application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0260] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of the present application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions for causing a device (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the methods of the various embodiments of the present application. The aforementioned storage medium includes: USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs and other various media that can store program codes.
[0261] The above content is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A method for displaying a screen off, characterized in that: The method comprises: The terminal displays a first card of a first application in the AOD state, wherein the first card includes a first component and a second component, the first component is used to display a first content, the second component is used to display a second content, the second component is a privacy component, and the display content of the first card does not include the second content; When the terminal displays the lock screen interface, the first card including the first content and the second content is displayed.
2. The method according to claim 1, characterized in that: The terminal displays a first card of a first application including first content in an AOD state, including: A mask is displayed in a first area of the first card, wherein the first area is a display area of the second component.
3. The method according to claim 1 or 2, characterized in that: Also includes: After the user's identity information is verified, the screen is lit up to display an unlocking interface, in which the first card including the first content and the second content is displayed.
4. The method according to any one of claims 1 to 3, characterized in that: Also includes: After the user's identity information is verified, the screen is turned on to display the desktop, and the desktop displays a first card including the first content and the second content.
5. The method according to any one of claims 1 to 4, characterized in that: The first card displays the first content through a first component, and the identifier of the first component is a non-privacy identifier, and the non-privacy identifier is used to identify a non-privacy component.
6. The method according to any one of claims 1 to 5, characterized in that: The first card displays the second content through a second component, the identifier of the second component is a privacy identifier, and the privacy identifier is used to identify the privacy component.
7. The method according to any one of claims 1 to 6, characterized in that: The first component is a non-privacy component, the second component is a privacy identifier, and the method further includes: In the AOD state, the terminal device determines whether a component is a privacy component; If the component is a privacy component, displaying a mask above the display area of the component; If the component is a non-privacy component, no mask is displayed above the display area of the component.
8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: When the terminal displays the lock screen interface, the terminal device does not display a mask.
9. The method according to any one of claims 1 to 8, characterized in that: When the terminal displays the lock screen interface, at least one card information of the lock screen interface is obtained and the card is displayed, and the card includes the first card.
10. The method according to any one of claims 1 to 9, characterized in that: The first card further includes a third component, and the identifier of the third component is a privacy identifier; the method further includes: In the AOD state, the first card including the first content, excluding the second content and excluding the third content is displayed; the first card displays the third content through the third component; When the terminal is in a screen-on state, the first card including the first content, the second content, and the third content is displayed.
11. The method according to any one of claims 1 to 10, characterized in that: The terminal further includes a second card of a second application, and further includes: In the AOD state, displaying a second card of a second application including fourth content, wherein the displayed content of the second card does not include fifth content; When the terminal is in a screen-on state, the second card including the fourth content and the fifth content is displayed.
12. The method according to any one of claims 1 to 11, wherein the terminal further comprises a second card of a second application, characterized in that: The method further comprises: The terminal displays a second card including fourth content in the AOD state, wherein the displayed content of the second card does not include fifth content; When the terminal displays the lock screen interface, the second card including the fifth content and the fourth content is displayed.
13. The method according to any one of claims 6, 7, 9 or 10, characterized in that: The privacy identifier is preset in the installation package of the first application.
14. The method according to any one of claims 1 to 13, characterized in that: The first application includes at least one of the following types of applications: a payment application, a calendar application, a note application, a message application, a food delivery application, a shopping application, or a health application; Or, the second content includes at least one of the following: schedule information, barcode information, logistics information, takeaway information, or health information.
15. The method according to any one of claims 1 to 14, characterized in that: Also includes: A first interface is displayed, wherein the first interface includes a first setting item, and the first setting item is used to enable the screen-off display method.
16. The method according to any one of claims 1 to 15, characterized in that: Also includes: A second interface is displayed, where the second interface is used to set an application for enabling the screen-off display method, where the application for enabling the screen-off display method includes the first application.
17. A computer-readable storage medium, characterized in that: The method comprises a program or an instruction. When the program or the instruction is executed, the method according to any one of claims 1 to 16 is implemented.
18. A computer program product, characterized in that The computer program product comprises a program or an instruction, and when the computer program product is run on a communication device, the communication device is caused to execute the method according to any one of claims 1 to 16.
19. A screen-off display device, characterized in that: The method comprises units or modules for executing the method as claimed in any one of claims 1 to 16.
20. A screen-off display device, characterized in that: Comprising a processor for implementing the method as claimed in any one of claims 1 to 16.
21. An electronic device, characterized in that: include: A display screen, a processor and a memory, wherein the display screen and the memory are coupled to the processor, the memory is used to store program code, the program code includes instructions, and the processor reads the instructions from the memory so that the electronic device executes the method as described in any one of claims 1-16.
Citation Information
Patent Citations
Component display method and electronic equipment
CN114065312A
Information display method and electronic equipment
CN117131555A
Method for protecting privacy information and electronic equipment
CN118113184A
Message processing method, device, terminal, and storage medium
WO2020156308A1
Cited By
Information processing device, method for controlling the information processing device, and program
JP7866132B1