Method and electronic device for displaying notification

By displaying live task notifications on the lock screen page of the electronic device and supporting switching in different presentation forms, it solves the problem that users find it difficult to quickly view and manage live tasks in the lock screen state, improving the user experience.

CN119110019BActive Publication Date: 2025-05-16HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410045011.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-10
Publication Date
2025-05-16
Estimated Expiration
2044-01-10

AI Technical Summary

Technical Problem

In the locked screen state of electronic devices, it is difficult for users to quickly view and manage the progress of live tasks, resulting in poor user experience.

Method used

By displaying notifications for live tasks on the lock screen page and supporting the switching between notifications between capsule, card and immersion, users can obtain more information or perform quick operations through simple interactions.

Benefits of technology

It realizes efficient display and management of live task notifications on the lock screen page, improves the user experience, and meets the notification display requirements in different scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119110019B_ABST
    Figure CN119110019B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a method and electronic device for displaying notifications, the method comprising: in the case where there is a first live task process on a first electronic device, when the state of the first electronic device is switched to a lock screen state, a first notification corresponding to the first live task process is displayed on the lock screen page of the first electronic device, and the first notification is presented in a capsule state; in response to a first operation of the user, the first notification displayed on the lock screen page of the first electronic device is expanded into a second notification, and the second notification is presented in a card state; in response to a second operation of the user, the second notification displayed on the lock screen page of the first electronic device is expanded into a third notification displayed in full screen. Through this method or electronic device, live task notifications can be presented in different forms on the lock screen page, and can realize mutual switching between different presentation forms of live task notifications, which can meet the user's notification display requirements in different scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of terminal display, and more specifically, to a method and electronic device for displaying notifications. Background Art

[0002] Live tasks running on electronic devices are extremely time-sensitive, such as flight status, and users have a strong desire to track and view these notifications within the time limit. When the electronic device enters the lock screen state, the electronic device generally ends the progress display of the current task. If the user wants to check the progress of the live task at any time, he needs to frequently unlock the device and enter the desktop to view it, which makes the user experience poor. Summary of the invention

[0003] The present application provides a method and an electronic device, through which live task notifications can be presented in different forms on a lock screen page, and live task notifications can be switched between different presentation forms, which can meet the user's notification display demands in different scenarios. When the notification is presented in a capsule state, the personalized effect of the lock screen page can be fully presented, and the user can obtain more detailed notification information and perform related quick operations by switching the notification presentation form without unlocking the electronic device, thereby improving the user's usage experience.

[0004] In a first aspect, a method for displaying notifications is provided, the method comprising: in a case where a first live task process exists on a first electronic device, when the state of the first electronic device is switched to a lock screen state, displaying a first notification corresponding to the first live task process on the lock screen page of the first electronic device, the first notification being presented in a capsule state; in response to a first operation of a user, expanding the first notification displayed on the lock screen page of the first electronic device into a second notification, the second notification being presented in a card state; in response to a second operation of the user, expanding the second notification displayed on the lock screen page of the first electronic device into a third notification, the third notification being displayed in full screen on the lock screen page of the first electronic device.

[0005] Optionally, the first notification is presented in a capsule state, which can also be described as the first notification is presented in a first state, and the explanation of the first state is the same as that of the capsule state; similarly, the second notification is presented in a card state, which can also be described as the second notification is presented in a second state, and the explanation of the second state is the same as that of the capsule state; the third notification is presented in full screen, which can also be described as the third notification is presented in a third state, and the explanation of the third state is the same as that of the full screen presentation (or immersive presentation).

[0006] It should be noted that the above three notification states are not indispensable. In other embodiments of the present application, there may be only two of the states and switching between the two states; or, there may be a fourth or more notification states, and these multiple states can be switched arbitrarily through user operations.

[0007] In some embodiments, the first live task process can be, for example, any one of a flight dynamics reminder process, a sports recording process, a navigation process, a music playback process, a delivery progress reminder process, and a trip reminder process. In addition, the first live task process can also be other live task processes, which is not limited in this application.

[0008] In some embodiments, the first operation may be an operation of the user swiping upward on the lock screen page displaying the first notification, or an operation of the user clicking on the text area of ​​the first notification on the lock screen page displaying the first notification. The first operation may also be other operations, such as user-preset operations, etc. This application does not limit this.

[0009] In some embodiments, the second operation may be an operation of the user clicking on the main image area of ​​the second notification on the lock screen page displaying the second notification, or an operation of the user long pressing the second notification on the lock screen page displaying the second notification. The second operation may also be other operations, such as user-preset operations, etc. This application does not limit this.

[0010] In one possible implementation, the second notification presents more information about the first live task process than the first notification, and the third notification presents more information about the first live task process than the second notification.

[0011] In a possible implementation, the second notification supports more shortcut operation items than the first notification, and the third notification supports more shortcut operation items than the second notification.

[0012] In an embodiment of the present application, live task notifications can be presented in different forms on the lock screen page, and live task notifications can be switched between different presentation forms, which can meet the user's notification display demands in different scenarios. When the notification is presented in a capsule state, the personalized effect of the lock screen page can be fully presented, and the user can obtain more detailed notification information and perform related quick operations by switching the notification presentation form without unlocking the electronic device, thereby improving the user's experience.

[0013] In combination with the first aspect, in a possible implementation, the method further includes: in response to a third operation of the user, expanding the first notification displayed on the lock screen page of the first electronic device into the third notification.

[0014] In some embodiments, the third operation may be an operation of the user clicking on the main image area of ​​the first notification on the lock screen page displaying the first notification, or an operation of the user long pressing the first notification on the lock screen page displaying the first notification. The third operation may also be other operations, such as user-preset operations, etc., and this application does not limit this.

[0015] In the embodiment of the present application, it is possible to directly realize the fast switching of notification tasks between the capsule state and the immersive state. That is to say, it is possible to realize the switching of notifications between any two forms of the capsule state, the card state, and the immersive state. The interaction method is simple and easy to use, and fast switching between any two notification presentation forms can well match the user's live notification display demands in different usage scenarios, thereby improving the user's usage experience.

[0016] In combination with the first aspect, in a possible implementation, the method also includes: in response to a fourth operation performed by the user on the display page of the third notification, collapsing the third notification displayed on the lock screen page of the first electronic device as the first notification.

[0017] In some embodiments, the fourth operation can be an operation of the user sliding down on the lock screen page of the first electronic device, or an operation of the user clicking on a blank area on the lock screen page of the first electronic device, or an operation of the user performing a side rollback on the lock screen page of the first electronic device. The fourth operation can also be other operations, such as user-preset operations, etc., which are not limited in this application.

[0018] In an embodiment of the present application, the user can collapse the current live notification through specific operations. The collapse of the live notification follows the principle of "going back to where you came from", that is, the notification can be further switched between any two forms of capsule state, card state, and immersive state. The interaction method is simple and easy to use, and can quickly switch between any two notification presentation forms. It can well match the user's live notification display demands in different usage scenarios and enhance the user's usage experience.

[0019] In combination with the first aspect, in a possible implementation, the method also includes: in response to a fourth operation performed by the user on the display page of the second notification, the second notification displayed on the lock screen page of the first electronic device is collapsed into the first notification; or in response to the fourth operation performed by the user on the display page of the third notification, the third notification displayed on the lock screen page of the first electronic device is collapsed into the second notification.

[0020] In an embodiment of the present application, the user can collapse the current live notification through specific operations. The collapse of the live notification follows the principle of "going back to where you came from", that is, the notification can be further switched between any two forms of capsule state, card state, and immersive state. The interaction method is simple and easy to use, and can quickly switch between any two notification presentation forms. It can well match the user's live notification display demands in different usage scenarios and enhance the user's usage experience.

[0021] In combination with the first aspect, in a possible implementation, the method also includes: in a case where there are multiple first live task processes on the first electronic device, when the state of the first electronic device is switched to a lock screen state, multiple first notifications corresponding one by one to the multiple first live task processes are stacked and displayed on the lock screen page of the first electronic device.

[0022] In an embodiment of the present application, when there are multiple live task processes, when multiple live notifications are displayed in capsule form on the lock screen interface, the multiple live notifications are stacked and displayed. In this way, as little lock screen display space as possible can be occupied, so that the personalized effect of the lock screen page can be fully presented.

[0023] In combination with the first aspect, in a possible implementation, the method also includes: when there are multiple first live task processes on the first electronic device, multiple second notifications corresponding one by one to the multiple first live task processes are displayed in the form of a card list on the lock screen page of the first electronic device.

[0024] In an embodiment of the present application, when there are multiple live task processes, when multiple live notifications are displayed in the form of cards on the lock screen interface, the multiple live notifications are displayed in the form of a card list. In this way, multiple live task processes can be seen on the lock screen page at the same time, and related shortcut operations can be performed, thereby improving the user experience.

[0025] In combination with the first aspect, in a possible implementation manner, the card list includes non-live notification cards received by the first electronic device in a locked screen state.

[0026] In an embodiment of the present application, non-live notification cards can be displayed on the lock screen page at the same time as live notification cards. In this way, the user can view the currently running live task progress and the notification messages received by the electronic device during the lock screen period through the lock screen interface without unlocking the device, and can perform related shortcut operations, thereby improving the user experience.

[0027] In combination with the first aspect, in a possible implementation, the method also includes: when there are multiple first live task processes on the first electronic device, triggering display switching between multiple third notifications corresponding one-to-one to the multiple first live task processes through a user's switching operation.

[0028] In some embodiments, the switching operation can be an operation in which the user swipes to the left on the display page of the third notification, or an operation in which the user swipes to the right on the display page of the third notification. The switching operation can also be other operations, such as user-preset operations, etc. This application does not limit this.

[0029] In an embodiment of the present application, when there are multiple live task processes, when multiple live notifications are displayed in an immersive form on the lock screen interface, switching between the multiple live notifications can be achieved based on the user's specific operations. In this way, the user can see multiple live task processes on the lock screen page and can perform related shortcut operations, thereby improving the user's experience.

[0030] In combination with the first aspect, in one possible implementation, when the screen of the first electronic device is located on the display page of the third notification, if the first electronic device receives a first message notification, an icon corresponding to the first message notification is displayed in the bottom area of ​​the display page of the third notification, and the icon is used to remind the user that the first message is received, and is also used to provide the user with a viewing entry for the first message.

[0031] In an embodiment of the present application, when the live notification on the lock screen interface is displayed in an immersive form, when the electronic device receives a notification message during the lock screen period, the application icon corresponding to the notification message can be displayed on the live notification display interface to prompt the user that the notification message has been received. In addition, based on the user's click operation, the user can enter the interface for viewing the notification message. The user does not need to unlock the device, but can view the notification content and perform related operations through the lock screen interface, thereby improving the user experience.

[0032] In combination with the first aspect, in a possible implementation, the method includes: when there is no live task process on the first electronic device, when the first electronic device receives a first message in a locked screen state, a first message notification corresponding to the first message is displayed on the lock screen page of the first electronic device, and the first message notification is presented in a capsule state.

[0033] In an embodiment of the present application, when the electronic device is in a lock screen state and no live task is in progress, the received non-live notification (i.e., lock screen notification) can also be presented in a capsule form, which can further improve the purity of the lock screen page, and the user can further view the corresponding message details on the lock screen page through the first unlocking method, thereby improving the user experience.

[0034] In a second aspect, an electronic device is provided, comprising a memory and a processor, wherein the memory is used to store computer program code, and the processor is used to execute the computer program code stored in the memory to implement the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.

[0035] In a third aspect, a computer-readable storage medium is provided, in which a computer program or instruction is stored. When the computer program or instruction is executed, the method in the above-mentioned first aspect or any possible implementation manner of the first aspect is implemented.

[0036] In a fourth aspect, a chip is provided, in which instructions are stored. When the instructions are executed on a device, the chip executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.

[0037] In a fifth aspect, a computer program product is provided, in which a computer program or instructions are stored. When the computer program or instructions are executed, the method in the above-mentioned first aspect or any possible implementation manner of the first aspect is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0039] Figure 2 is a software structure block diagram of the electronic device provided in the embodiment of the present application;

[0040] Figure 3 It is a schematic diagram of an interface for displaying live notifications on the lock screen or desktop of an electronic device;

[0041] Figure 4 Another schematic diagram of an interface for displaying live notifications on a lock screen of an electronic device;

[0042] Figure 5 This is a schematic diagram of an interface corresponding to different presentation methods of a notification provided in an embodiment of the present application;

[0043] Figure 6 It is a schematic diagram of the composition of a capsule notification provided in an embodiment of the present application;

[0044] Figure 7 Schematic diagrams of displaying capsule notifications in several different scenarios provided by embodiments of the present application;

[0045] Figure 8 Schematic diagrams of displaying card-state notifications in several different scenarios provided by embodiments of the present application;

[0046] Fig. 9 This is a schematic diagram of an interface corresponding to viewing card-state notifications provided in an embodiment of the present application;

[0047] Fig.10 It is a schematic diagram of displaying immersive notifications in several different scenarios provided by the embodiments of the present application;

[0048] Fig.11 is a schematic diagram of a display page of an immersive notification provided in an embodiment of the present application;

[0049] Fig.12 It is a schematic diagram of an interface corresponding to a process of switching between a capsule state and a card state provided by an embodiment of the present application;

[0050] Fig.13 It is a schematic diagram of an interface corresponding to the process of switching between a card state and an immersive state of a notification provided in an embodiment of the present application;

[0051] Fig.14 It is a schematic diagram of an interface corresponding to a process of switching between a capsule state and an immersion state provided by an embodiment of the present application;

[0052] Fig.15 This is a schematic diagram of an interface corresponding to switching from an immersive notification display interface to a card list display interface provided in an embodiment of the present application;

[0053] Fig.16 This is a schematic diagram of a lock screen interface corresponding to when there is no live notification task progress on an electronic device provided by an embodiment of the present application;

[0054] Fig.17 This is a schematic diagram of a lock screen interface corresponding to a non-live notification task progress on another electronic device provided by an embodiment of the present application;

[0055] Fig.18 This is a schematic diagram of a lock screen interface corresponding to a non-live notification task progress on another electronic device provided by an embodiment of the present application;

[0056] Fig.19 It is a schematic diagram of a live notification presentation method displayed on a lock screen page when a tablet device provided in an embodiment of the present application is in a lock screen state;

[0057] Fig. 20 is a schematic flow chart of a method for displaying a notification provided in an embodiment of the present application;

[0058] Fig.21 is a schematic flow chart of another method for displaying notifications provided in an embodiment of the present application;

[0059] Fig. 22 It is a functional module diagram of a device for displaying notifications provided in an embodiment of the present application. DETAILED DESCRIPTION

[0060] The technical solution in the present application will be described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments.

[0061] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "plurality" or "multiple" refers to two or more than two.

[0062] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this embodiment, unless otherwise specified, "plurality" means two or more.

[0063] The terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one, two or more. The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist; for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.

[0064] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "one embodiment", "some embodiments", "another embodiment", "some other embodiments", etc. appearing in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.

[0065] The method provided in the embodiments of the present application can be applied to electronic devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), etc. The embodiments of the present application do not impose any restrictions on the specific types of electronic devices.

[0066] For example, Figure 1 1 shows a schematic diagram of the structure of the electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0067] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

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

[0069] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0070] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0071] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0072] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.

[0073] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0074] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.

[0075] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0076] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

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

[0078] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0079] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0080] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0081] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0082] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0083] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0084] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

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

[0086] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0087] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0088] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0089] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0090] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0091] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, at least one App required for a function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0092] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0093] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0094] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.

[0095] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.

[0096] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.

[0097] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0098] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.

[0099] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0100] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0101] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an embedded SIM (eSIM) card, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0102] It should be understood that the phone card in the embodiments of the present application includes but is not limited to a SIM card, an eSIM card, a universal subscriber identity module (USIM), a universal integrated circuit card (UICC), and the like.

[0103] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 100.

[0104] Figure 21 is a software structure diagram of the electronic device 100 of the embodiment of the present application. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer. The application layer can include a series of application packages.

[0105] like Figure 2 As shown, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.

[0106] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0107] like Figure 2 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0108] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0109] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0110] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0111] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).

[0112] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0113] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0114] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0115] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0116] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0117] The system library may include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0118] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0119] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0120] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0121] A 2D graphics engine is a drawing engine for 2D drawings.

[0122] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0123] It should be understood that the technical solutions in the embodiments of the present application can be used in Android, IOS, Hongmeng and other systems.

[0124] The technical solution of the embodiment of the present application can be applied to electronic devices with display functions, for example. Exemplarily, it can be applied to televisions, desktop computers, laptops, car screens, portable electronic devices such as mobile phones, folding screens, tablet computers, cameras, video cameras, video recorders, watches, bracelets, other electronic devices with display functions, electronic devices in 5G networks or electronic devices in future evolved public land mobile communication networks (public land mobile network, PLMN), etc. The main application scenario can be a notification display scenario of an electronic device, which can be applied, for example, to a notification display scenario of an electronic device when the electronic device is in a locked screen state.

[0125] In order to more clearly understand the solution of the present application, the relevant terms involved in the embodiments of the present application are first introduced below.

[0126] 1. Capsule state notification

[0127] Capsule notifications refer to notifications displayed in the live window capsule state. When the application is switched to the desktop or to other applications, the live window capsule state will appear in the status bar, showing the summary information of the current task in real time, such as call duration, timer countdown duration; when there are multiple tasks in the capsule state, the live window will be sorted according to task priority and creation time.

[0128] The capsule state presents the most critical information content and provides quick operation buttons. If necessary, you can quickly operate the current content through the capsule state notification, such as pausing / playing music. The capsule occupies a small area, which avoids blocking the lock screen wallpaper and other content to the greatest extent, and can quickly perform tasks.

[0129] 2. Card status notification

[0130] Card-state notifications refer to notifications displayed in the card state of the live window. For example, if you click on a notification displayed in the capsule state of the live window (i.e., a capsule-state notification), the capsule-state notification will expand into a card-state notification. Compared with notifications displayed in the form of capsules, through the card-state notification, you can view more detailed information related to the notification, or quickly perform related operations. In other words, compared with capsule-state notifications, card-state notifications can present more content and provide more operation content. Exemplarily, by clicking on the non-button area of ​​the card-state notification, you can directly enter the application interface corresponding to the notification and perform more operations; by clicking on a blank area or sliding up the card state of the live window, it can be folded and automatically switched to capsule state.

[0131] 3. Immersive Notifications

[0132] Immersive notifications refer to notifications that are displayed in an immersive state in a live window, which can be presented in full screen form. Compared with notifications displayed in card form, users can view more information through notifications displayed in immersive state. If the user currently wants to focus on the task corresponding to the live notification, switching the notification to an immersive presentation mode can maximize the information obtained and expand the scope of operation without being affected by other elements. There is no need to frequently unlock - enter the desktop - open the application interface and other operations. You can focus on the current task flow through the lock screen interface.

[0133] It should be noted that compared with card-state notifications, immersive notifications have a certain full-screen display effect. For example, the background interface uses colors or pictures related to the current notification information, so that users can perceive more information about the notification. It can also have more operation controls, but it does not limit the current lock screen interface to not be able to display other information. In some embodiments, if there is an immersive notification on the current lock screen interface, other notifications will not be displayed, but the usual lock screen information, such as the clock and date, can still be displayed; in some other embodiments, even if there is an immersive notification on the current lock screen interface, other notifications can be displayed in a smaller form in part of the current lock screen interface (such as in the aforementioned capsule form) or an indication of the existence of other notifications can be displayed, so as to remind the user that there are other notifications.

[0134] In addition, in some embodiments, even if the current lock screen interface displays an immersive notification, it does not block updates to other important notifications. For example, when the lock screen interface currently displays an immersive notification, if a new notification with a higher level of importance is received or there is updated information about a notification with a higher level of importance, the immersive notification mode can be automatically exited and the new notification or notification update can be displayed instead; or the new notification or notification update can be displayed as an overlay on the immersive notification page.

[0135] The lock screen function of an electronic device is an important function to protect the content on the electronic device after the user finishes the task on the electronic device. The main function of the lock screen is to protect the security of the information stored by the user in the electronic device.

[0136] As users have an increasingly strong demand for personalized lock screen interfaces, users not only hope to be able to decorate the desktop effects of electronic devices, but also hope to be able to customize the lock screen content, so that the lock screen function of electronic devices can protect information security while showing personal characteristics; in addition, in this fast-paced and information overloaded era, when users use various electronic devices, the real-time tasks running on the electronic devices are extremely time-sensitive, such as flight status, etc. Users have a strong demand to track and view these notifications within the time limit, but after the electronic device executes the lock screen operation, the electronic device generally ends the use of the task. Users want to view the progress of real-time tasks at any time, so they need to frequently unlock and enter the desktop to view, which makes the user experience poor.

[0137] Therefore, users have an increasingly strong desire to quickly obtain more real-time information on the lock screen interface.

[0138] The following, combined Figure 3 and Figure 4 , two existing notification display interface diagrams are introduced.

[0139] Figure 3 A schematic diagram of an interface for displaying live notifications on a lock screen interface or desktop of an electronic device is shown.

[0140] like Figure 3 As shown, when the display screen of the electronic device 300 is in the lock screen interface or the desktop, when a live task is running on the electronic device 300, a live notification is displayed in the form of a card on the display screen of the electronic device 300, that is, a live notification card is displayed, and the progress and status of the corresponding real-time activity are displayed on the live notification card.

[0141] In the notification display method, when the electronic device is in the lock screen state, the live task running on the electronic device is presented on the lock screen interface in the form of a live notification card, and the live notification card presented on the lock screen interface either resides on the lock screen interface or is canceled by the user's removal operation. That is to say, the purity of the lock screen page cannot be guaranteed by folding the live notification card, and it can only be removed. However, once the live notification card is removed from the lock screen page, a longer path or waiting for the corresponding live task to be updated is required to arouse the live notification card to be displayed again, and some live notification cards (such as live notification cards for playing music) do not support the removal operation and will reside on the lock screen page, affecting the purity of the lock screen page; in addition, when multiple live tasks are performed simultaneously on the electronic device, multiple live notification cards are displayed in a tiled manner, which will cause a large area of ​​​​blocking of the personalized content displayed on the lock screen interface, and also occupy the presentation space of non-live notifications (for example: lock screen notifications).

[0142] Figure 4 Another schematic diagram of an interface for displaying live notifications on the lock screen interface of an electronic device is shown.

[0143] like Figure 4 As shown, when the display screen of the electronic device 400 is in the lock screen interface, when a live task is running on the electronic device 400, an atomic notification is displayed on the lock screen interface of the electronic device 400, and the content of the atomic notification includes streamlined live task notification information.

[0144] In this notification display method, the atomic notification is displayed in a fixed window with a fixed size. It only provides the functions of displaying and clicking to enter the application corresponding to the notification. The content displayed by the atomic notification is provided to the user by a third-party developer. The displayed content is concise and fixed, and only a single point of information prompt is provided. Users cannot obtain more notification content on the lock screen interface. It does not support richer content presentation and does not support related shortcut operations.

[0145] Therefore, in the current notification display method, the notification content from the live task and the notification information received during the lock screen period will occupy a large area of ​​the lock screen space, resulting in the user's personalized content on the lock screen page being severely blocked, and some live notification cards occupy the lock screen space of the electronic device and cannot be removed or folded, which greatly affects the appearance of the lock screen page; in another current notification display method, a fixed-size window (i.e., atomic notification) is set on the lock screen page to display live notifications, and only provides the functions of displaying simplified content and clicking to enter the application. Users cannot obtain more notification content on the lock screen page, which makes it impossible for the electronic device to well balance the personalized display effect of the lock screen interface when displaying notifications, and it is impossible to simultaneously achieve a pure lock screen and real-time progress in obtaining important notifications.

[0146] In view of this, the embodiments of the present application provide a method and an electronic device for displaying notifications. Through the method and the electronic device, when a user receives a live notification with strong effectiveness through the electronic device, when the screen of the electronic device is on the lock screen page or the desktop, the live notification is displayed on the lock screen interface or the desktop of the electronic device. The user can quickly obtain the current live notification information on the lock screen interface or the desktop, and the live notification presentation mode (capsule state-card state-immersive state) can be freely switched by processing the live notification presentation mode. Different presentation modes correspond to different degrees of information content presentation. The user only needs to perform brief interactive operations. By switching the presentation method of live notifications, the user's various demands can be met. For example, the different demands of users in the lock screen scenario can be met. If the user wants a purer lock screen page effect, the current live notification can be folded and presented in capsule form. If the user wants to view more information, the live notification can be switched to card form through interactive operations. If the user wants to focus on the current task, that is, focus on the current live notification, the live notification can be switched to full-screen immersive form through interactive operations. In this way, users can quickly switch between different presentation methods of live notifications based on their own needs through simple interactive operations.

[0147] It should be noted that the embodiment of the present application is described using a mobile phone as an example of an electronic device, but this does not limit the types of electronic devices to which the present application can be applied. The electronic device can also be a tablet, a laptop computer, a PC screen, a car screen, a bracelet, or any other electronic device with a screen display function, and the present application does not limit this.

[0148] For example, Figure 5 A schematic diagram of an interface corresponding to different presentation methods of a notification provided in an embodiment of the present application is shown.

[0149] Figure 5 (a) in the figure shows a schematic diagram of an interface in which a notification is presented in a capsule state, as provided in an embodiment of the present application. Figure 5 As shown in (a) in the figure, the capsule notification is similar to a capsule shape and can be displayed at the bottom of the screen of an electronic device. It occupies a small area and can provide key information and key operation buttons to the user. While providing convenient operation to the user, it can also provide quick operation services. Due to its small area, it can present personalized content on the lock screen to the greatest extent, thereby improving the purity of the lock screen page.

[0150] In some embodiments, the user can change the display position of the capsule notification by pressing and dragging.

[0151] In some embodiments, when there are multiple capsule notifications simultaneously, the multiple capsule notifications are displayed in a stacked manner, for example, the most recently refreshed notification is displayed on the top.

[0152] In some embodiments, the user can switch between multiple capsule notifications by swiping left or right.

[0153] Figure 5 (b) in FIG. 1 shows a schematic diagram of an interface in which a notification is presented in a card state, as provided in an embodiment of the present application. Figure 5 As shown in (b), the card-state notification is displayed in the lock screen page of the electronic device in the form of a larger card. Compared with the capsule-state notification, the card-state notification can present more key information and key operation buttons to the user, facilitating quick operation by the user.

[0154] In some embodiments, when the live notification is presented in a card state, it can be displayed on the screen of the electronic device in the form of a card list together with other non-live notifications received by the electronic device.

[0155] In some embodiments, the user can change the display position of the card-state notification by pressing and dragging.

[0156] In some embodiments, when there are multiple card-state notifications simultaneously, the multiple card-state notifications are sequentially displayed in the card list in the order of refresh. For example, the most recently refreshed notification may be displayed in the first row of the card list.

[0157] In some embodiments, when there are multiple card-state notifications at the same time, the multiple card-state notifications are displayed in a stack, for example, the most recently refreshed notification may be displayed on the top layer, and the user can also switch between the multiple card-state notifications by swiping left or right.

[0158] Figure 5 (c) in FIG. 1 shows a schematic diagram of an interface in which a notification is presented in an immersive state, as provided in an embodiment of the present application. Figure 5 As shown in (c), the immersive notification can be presented in full screen or occupy most of the display area, with a purer display effect. If the user wants to focus on the current live task, the notification corresponding to the live task can be switched to immersive presentation. The key information of the live task can be presented on the lock screen page in a dominated screen form. The user can immersively process the current live task directly on the lock screen page, without having to frequently unlock the door to enter the desktop to obtain a large amount of key information and operation entries.

[0159] In some embodiments, when an immersive notification is presented in full screen form, the display background of the electronic device is switched to a background that matches the immersive notification, for example, it can be switched to a background that is the same as the main image of the immersive notification.

[0160] In some embodiments, the user can change the display position of the immersive notification by pressing and dragging.

[0161] In some embodiments, when there are multiple immersive notifications at the same time, the multiple immersive notifications are displayed in the immersive notification list in sequence according to the refresh order. For example, the most recently refreshed notification may be arranged at the top of the immersive notification list. It may also be a fixed arrangement order. The user can switch the display between multiple immersive notifications by swiping up, down, left, or right.

[0162] In some embodiments, when there are multiple immersive notifications at the same time, the multiple immersive notifications are displayed in a stack, for example, the most recently refreshed notification is displayed on the top, and the user can also switch between the multiple immersive notifications by swiping left or right.

[0163] For the live notification displayed on the display screen of the electronic device, the user can switch the live notification between different presentation modes through interactive operations.

[0164] In some embodiments, the user can Figure 5 The lock screen interface shown in (a) performs the first operation to expand the capsule notification into Figure 5 The card-state notification shown in (b) in the figure, wherein the first operation can be, for example, an operation in which the user slides upward on the lock screen interface as shown in (a) in the figure, or an operation in which the user clicks on the text area of ​​the capsule-state notification, or other operations, such as user-preset operations, etc., which are not limited in this application.

[0165] In some embodiments, the user can Figure 5 The lock screen interface shown in (b) performs the second operation to expand the card state notification to Figure 5 The immersive notification shown in (c) in the figure, wherein the second operation can be, for example, an operation in which the user clicks on the card-state notification on the lock screen interface as shown in (b) in the figure, or an operation in which the user long presses the card-state notification, or other operations, such as user-preset operations, etc., which are not limited in this application.

[0166] In some embodiments, the user can Figure 5 The lock screen interface shown in (a) performs the third operation to expand the capsule notification into Figure 5 The immersive notification shown in (c) in the figure, wherein the third operation can be, for example, an operation in which the user clicks on the main image area of ​​the capsule notification on the lock screen interface as shown in (a) in the figure, or an operation in which the user long presses the capsule notification, or other operations, such as user-preset operations, etc., which are not limited in this application.

[0167] In some embodiments, the user can Figure 5 The lock screen interface shown in (b) performs the fourth operation to collapse the card state notification as shown in Figure 5 The capsule-state notification shown in (a) in the figure, wherein the fourth operation can, for example, be an operation in which the user clicks on a blank space outside the card-state notification on the lock screen interface as shown in (b) in the figure, or an operation in which the user performs a side rollback operation on the lock screen interface as shown in (b) in the figure, or other operations, such as user-preset operations, etc., which are not limited in this application.

[0168] In some embodiments, the user can Figure 5 The lock screen interface shown in (c) performs the fourth operation to collapse the immersive state notification as shown in Figure 5 The card-state notification shown in (b) in the figure, wherein the fourth operation can, for example, be an operation in which the user clicks on a blank space outside the immersive-state notification on the lock screen interface as shown in (c) in the figure, or an operation in which the user performs a side rollback operation on the lock screen interface as shown in (c) in the figure, or other operations, such as user-preset operations, etc., which are not limited in this application.

[0169] In some embodiments, when a card-state notification or an immersive-state notification is folded, the principle of "going back to where you came from" is followed, that is: if the notification is expanded from capsule state to card state, then when the card-state notification is folded, the presentation mode of the notification returns to capsule state; if the notification is expanded from card state to immersive state, then when the immersive-state notification is folded, the presentation mode of the notification returns to card state; if the notification is expanded from capsule state to immersive state, then when the immersive-state notification is folded, the presentation mode of the notification returns to capsule state.

[0170] In some embodiments, on different electronic devices, since the screen sizes of different electronic devices may be different, when a notification is presented in a capsule state, a card state, or an immersive state on different electronic devices, it will be automatically displayed and adapted on the corresponding electronic device, so that the presentation effect of the notification adapts to the screen size of the current electronic device. For example, on electronic devices with a wider display size such as folding screens / tablets, the capsule-state notification is horizontally stretched and adapted so that it can adapt to the screen size of the current electronic device and can also display richer notification content.

[0171] In an embodiment of the present application, a method for presenting a notification task on a lock screen page or a desktop is provided. The method supports presenting notification tasks in different forms (capsule state, card state, immersive state), and can realize mutual switching of notification tasks in different presentation forms to meet the user's notification display demands in different scenarios. For example, when the user wants a purer personalized lock screen display effect, the capsule state notification can be used; when the user wants to obtain more key information of the notification or perform more quick operations, the card state notification can be used; when the user wants to focus more on the current notification task, the immersive state notification can be used; in this way, it can ensure to a greater extent that the personalized effect of the lock screen is fully presented, and the user can quickly obtain the key information of the notification and perform quick operations without unlocking the electronic device or entering the application page. It can also enable the user to focus on the current notification processing on the lock screen page or desktop, without frequently unlocking to enter the desktop or without frequently entering the application, to obtain more detailed notification information and perform more quick operations.

[0172] Below, exemplarily, in combination Figures 6 to 10 , the three presentation forms of notifications provided in the embodiments of the present application are introduced in detail.

[0173] For example, Figure 6 A schematic diagram of the composition of a capsule notification provided in an embodiment of the present application is shown.

[0174] like Figure 6 As shown, the capsule notification mainly includes four component areas, which correspond to Figure 6 Area 1, area 2, area 3 and area 4 are shown in the figure, where area 1 is used to display the main image or source icon of the notification. For example, when the notification is a live music notification, area 1 can be the cover of the currently playing music, or it can be the icon of the music application; area 2 is used to display the main text area of ​​the notification, and area 3 is used to display the sub-text area of ​​the notification. For example, when the notification is a live music notification, the main text displayed in area 2 can be the name of the currently playing music, and the sub-text displayed in area 3 can be the singer, language and other information corresponding to the currently playing music; area 4 is the shortcut operation area corresponding to the notification, and the shortcut operation buttons corresponding to the notification are displayed in this area. For example, when the notification is a live music notification, the operation button for controlling the play / pause of the current music is displayed in area 4.

[0175] Furthermore, area 1, area 2, and area 3 are support operation areas. For example, a user can enter the application corresponding to the notification by clicking area 1. A user can also expand the notification from a capsule state to a card state or an immersive state by clicking area 2 or area 3.

[0176] It should be understood that the embodiments of the present application do not limit the operation mode corresponding to the supported operation area and the function triggered by the operation mode.

[0177] It should be understood that: Figure 6 What is shown is only a schematic illustration of the composition of the capsule notification, and its specific composition is not limited. The composition areas included in the capsule notification can also be deleted or added on the basis of the four areas, and the arrangement and size of these composition areas are not limited. In addition, in the above embodiment, live music notification is used as an example for explanation, but this does not constitute any limitation on the category of the notification. When the notification category is different, the corresponding main image, source icon, main and secondary texts, and shortcut operations may be different.

[0178] For example, Figure 7 Schematic diagrams showing the display of capsule-state notifications in several different scenarios provided in embodiments of the present application are shown.

[0179] Figure 7 (a) shows a music notification presented in a capsule state on a lock screen page provided by an embodiment of the present application, such as Figure 7 As shown in (a), the music notification presented in a capsule state is located at the bottom of the lock screen page of the electronic device 700, and its area on the lock screen page is very small, which will not affect the display of the personalized design of the lock screen page. The music notification presented in a capsule state may include, for example, a music icon, a main text "Music 1", a sub-text "Chinese", and an operation button for controlling music play / pause. The user can use the music notification presented in a capsule state to know the name of the music currently being played on the electronic device 700 and other information, and can also conveniently control the play and pause of the music.

[0180] Figure 7 (b) in FIG. 1 shows a navigation notification presented in a capsule state on a lock screen page provided by an embodiment of the present application, such as Figure 7 As shown in (b) in the figure, the navigation notification presented in a capsule state is located at the very bottom of the lock screen page of the electronic device 700, and its area occupies a very small area on the lock screen page, which will not affect the display of the personalized design of the lock screen page. The navigation notification presented in a capsule state may, for example, include a navigation main picture, a main text "go straight ahead", a sub-text "go to ×× road" and a quick operation button. Through the quick operation button, the user can perform operations such as switching routes. The user can know the real-time progress of the navigation task currently being executed by the electronic device 700 through the navigation notification presented in a capsule state.

[0181] Figure 7 (c) in FIG. 1 shows a motion notification presented in a capsule state on a lock screen page provided by an embodiment of the present application, such as Figure 7As shown in (c), the motion notification presented in a capsule state is located at the very bottom of the lock screen page of the electronic device 700, and its area on the lock screen page is very small, which will not affect the display of the personalized design of the lock screen page. The motion notification presented in a capsule state may include, for example, a main picture of the motion trajectory, a main text "00:10:05", a sub-text "1.21 kilometers" and an operation button for controlling the start / pause of the motion timing. The user can use the motion notification presented in a capsule state to know the real-time progress of the motion recording task currently being executed by the electronic device 700, know the current motion progress, and conveniently control the start and pause of the motion timing.

[0182] Figure 7 (d) in FIG. 1 shows a recording notification presented in a capsule state on a lock screen page provided by an embodiment of the present application, such as Figure 7 As shown in (d), the recording notification presented in a capsule state is located at the very bottom of the lock screen page of the electronic device 700, and its area on the lock screen page is very small, which will not affect the display of the personalized design of the lock screen page. The recording notification presented in a capsule state can, for example, include a main picture of the real-time audio of the recording, a main text "00:40:40", a sub-text "recording", and an operation button for controlling the start / pause of the recording. The user can use the recording notification presented in a capsule state to know the real-time progress of the recording task currently being executed by the electronic device 700, and can also conveniently control the start and pause of the recording task.

[0183] In some embodiments, when multiple live tasks are being performed simultaneously on the electronic device 700, when the electronic device 700 is in a locked screen state, multiple live notifications corresponding to the multiple live tasks are stacked and displayed in a capsule-like presentation format. The most recently refreshed live notification may be displayed at the top of the stacked notification, or the most timely live notification may be displayed at the top of the stacked notification, or multiple live notifications may be displayed in turn at the top of the stacked notification. The present application does not limit this.

[0184] In some embodiments, the user can switch between multiple stacked capsule notifications by sliding left or right.

[0185] In one example, when a user Figure 7 When the music notification position on the interface shown in (a) is slid to the left, the display interface of the electronic device can be switched to the following Figure 7 The interface shown in (b) completes the switch from music notification to navigation notification.

[0186] In some embodiments, when the task process corresponding to the notification ends, the notification displayed on the lock screen page also disappears accordingly.

[0187] In one example, a music task, a navigation task, a sports recording task, and a recording task are performed simultaneously on the electronic device 700. When the electronic device 700 is in a locked screen state, a capsule notification is displayed at the bottom of the lock screen page of the electronic device 700. The capsule notification may be a music notification, a navigation notification, a sports notification, and a recording notification displayed in turn, or the latest refreshed live notification may be displayed at the top. For example, the current display interface of the electronic device 700 is as follows: Figure 7 As shown in (a) of FIG. 1 , when the navigation task is refreshed, the display interface of the electronic device 700 is switched to Figure 7 As shown in (b); when the user completes the 2-kilometer exercise mileage goal, the exercise recording task ends, and the exercise notification displayed on the lock screen page disappears accordingly.

[0188] In some embodiments, multiple simultaneously existing capsule notifications may also be displayed simultaneously on the lock screen page of the electronic device, or some of them may be displayed simultaneously on the lock screen page of the electronic device.

[0189] It should be understood that the screen of the electronic device described in the embodiment of the present application is located on the lock screen page, including the screen of the electronic device being located on the lock screen wallpaper display page, and also including the screen of the electronic device being located on the off screen wallpaper display page.

[0190] It should be noted that the embodiment of the present application is described by taking the screen of the electronic device being located on the lock screen page as an example. In some embodiments, the screen of the electronic device may also be located on the desktop.

[0191] For example, Figure 8 A schematic diagram showing the display of card-state notifications in several different scenarios provided in an embodiment of the present application is shown.

[0192] Figure 8 (a) in the figure shows a music notification presented in a card state on a lock screen page provided by an embodiment of the present application, such as Figure 8 As shown in (a), the music notification presented in card form is located in the middle area of ​​the lock screen page of the electronic device 800. The music notification presented in card form may include, for example, a music source icon, a main text, a sub-text, one or more quick operation buttons, etc. Compared with the music notification presented in capsule form, the music notification presented in card form can display richer notification information. For example, the display space of the main text and the sub-text is larger, more content can be displayed, and more quick operations are supported. For example, in addition to the play / pause operation, song switching operations, collection operations, lyrics display operations, etc. can be quickly executed; the live music notification card can be displayed on the lock screen page of the electronic device 800 in the form of a card list together with non-live notifications (for example: message notifications, phone notifications, email notifications, etc.) received by the electronic device 800 during the lock screen period.

[0193] Figure 8 (b) in FIG. 1 shows a navigation notification presented in a card state on a lock screen page provided by an embodiment of the present application, such as Figure 8 As shown in (b), the navigation notification presented in card state is located in the middle area of ​​the lock screen page of the electronic device 800. The navigation notification presented in card state may, for example, include a navigation main image, a main text, a sub-text, one or more quick operation buttons, etc. Compared with the navigation notification presented in capsule state, the navigation notification presented in card state can display richer notification information. For example, the display space of the main text and the sub-text is larger, more content can be displayed, and the current lane information can also be displayed; the live navigation notification card can be displayed on the lock screen page of the electronic device 800 simultaneously with the non-live notifications (for example: message notifications, phone notifications, email notifications, etc.) received by the electronic device 800 during the lock screen period in the form of a card list.

[0194] Figure 8 (c) in FIG. 1 shows a train dynamic notification presented in a card state on a lock screen page provided by an embodiment of the present application, such as Figure 8 As shown in (c), the train dynamic notification presented in card state is located in the middle area of ​​the lock screen page of the electronic device 800. The train dynamic notification presented in card state may include, for example, a train number icon, a main text "train ticket inspection reminder", a sub-text "ticket gate 6B seat 03 car 12F", timetable information, etc. Compared with the train dynamic notification presented in capsule state, the train dynamic notification presented in card state can display richer notification information. For example, the display space of the main text and the sub-text is larger, more content can be displayed, and the timetable information of the current train can also be displayed; the live train dynamic notification card can be displayed on the lock screen page of the electronic device 800 in the form of a card list together with the non-live notifications (for example: message notifications, phone notifications, email notifications, etc.) received by the electronic device 800 during the lock screen period.

[0195] In some embodiments, when multiple live tasks are performed simultaneously on the electronic device 800, when the electronic device 800 is in a lock screen state and the live notifications are presented in a card state, the multiple live notifications corresponding to the multiple live tasks can be displayed in the form of stacked cards. For example, the most recently refreshed live notification card can be displayed on the top layer of the stacked cards, or the most timely live notification card can be displayed on the top layer of the stacked cards, or multiple live notifications can be displayed in turn on the top layer of the stacked cards. The present application does not limit this.

[0196] In some embodiments, the user can switch between multiple stacked card-state notifications by sliding left or right.

[0197] In one example, when a user Figure 8 When the music notification position on the interface shown in (a) is slid to the left, the display interface of the electronic device can be switched to the following Figure 8 The interface shown in (b) completes the switch from music notification to navigation notification.

[0198] In some other embodiments, when multiple live tasks are being performed simultaneously on the electronic device 800, when the electronic device 800 is in a lock screen state and the live notifications are presented in a card state, the multiple live notifications corresponding to the multiple live tasks are displayed in sequence on the lock screen page in the form of a card list. For example, the most recently refreshed live notification card may be displayed in the first row of the card list, or the most timely live notification card may be displayed in the first row of the card list, or multiple live notifications may be displayed in turn in the first row of the card list. The present application does not limit this.

[0199] In some embodiments, when the task process corresponding to the notification ends, the notification displayed on the lock screen page also disappears accordingly.

[0200] In one example, the music task, navigation task and train dynamic task on the electronic device 800 are performed simultaneously. When the electronic device 800 is in the lock screen state, a card-state notification is displayed in the middle area of ​​the lock screen page of the electronic device 800. The card-state notification can be a music notification, a navigation notification and a train dynamic notification displayed in turn, or the latest refreshed live notification can be displayed on the top layer. For example, the display interface of the current electronic device 800 is as follows: Figure 8 As shown in (a) of FIG. 1 , when the navigation task is refreshed, the display interface of the electronic device 800 is switched to Figure 8 As shown in (b); when the train that the user is riding has arrived at the destination, the train dynamic task ends, and the train dynamic notification displayed on the lock screen page also disappears accordingly.

[0201] Figure 8 (d) in the figure shows a delivery progress notification and a schedule progress notification presented in a card state on a lock screen page provided by an embodiment of the present application, such as Figure 8As shown in (d), the delivery progress notification and the schedule progress notification presented in card state are arranged in sequence (for example, they can be arranged in a refresh order) in the middle area of ​​the lock screen page of the electronic device 800. The delivery progress notification presented in card state can, for example, include a delivery icon, a main text "The rider has accepted the order", a sub-text "The rider is 300m away from the merchant | Will deliver at 12:50", total mileage information, etc.; the schedule progress notification presented in card state includes an event icon, a main text "Group stage", a sub-text "Game 5 | Series 2-2", the names of the competing teams, real-time scores and other information; the delivery progress notification and the schedule progress notification can be displayed on the lock screen page of the electronic device 800 in the form of a card list together with the non-real-time notifications (for example: message notifications, phone notifications, email notifications, etc.) received by the electronic device 800 during the lock screen period.

[0202] In some embodiments, when multiple live tasks are being performed simultaneously on the electronic device 800, when the electronic device 800 is in the lock screen state, the live notifications corresponding to some of the multiple live tasks are stacked and displayed in the form of cards. The most recently refreshed live notification may be displayed on the top layer, or the most timely live notification may be displayed on the top layer, or multiple live notifications may be displayed on the top layer in turn, and the present application does not limit this. Another part of the multiple live tasks may be displayed without overlapping, but multiple notification cards may be displayed on the lock screen page in the form of a card list in the refresh order.

[0203] In one example, when the timeliness of live notifications is extremely important (such as game dynamic tasks, etc.), they may not be stacked for display.

[0204] In an embodiment of the present application, the content of the live notification card may include the main image or source icon of the notification task, the main and secondary texts, and visual detailed information as well as more simple operations, so that the user does not need to unlock the application to directly obtain the details of the task progress through the lock screen page, and can also perform convenient operations.

[0205] For example, in Figure 8 Based on the embodiment shown, Fig. 9 A schematic diagram of an interface corresponding to viewing card-state notifications provided in an embodiment of the present application is shown.

[0206] like Fig. 9 As shown in (a) of FIG. 1 , the screen of the electronic device 800 is located on the lock screen page, on which the live music notification card and multiple non-live notifications "message notifications, phone notifications, and email notifications" received by the electronic device 800 during the lock screen period are displayed together in the form of a card list; when the user clicks on the lock screen, the live music notification card is displayed together with the multiple non-live notifications "message notifications, phone notifications, and email notifications" received by the electronic device 800 during the lock screen period. Fig. 9 When a sliding operation is performed on the lock screen page shown in (a) of FIG. 8 , the lock screen page of the electronic device 800 is switched to Fig. 9 In the page shown in (b), the live music notification card is slid up to the outside of the display area and hidden, and the non-live notification "sports health notification, smart life notification" is slid up to the display area and displayed; on this basis, when the user performs the upward sliding operation again, the lock screen page of the electronic device 800 is switched to the following Fig. 9 In the page shown in (c), the information notification is slid up outside the display area and hidden, and the non-live notification "Huawei Video Notification" received earlier is slid up into the display area and displayed.

[0207] For example, Fig.10 A schematic diagram showing the display of immersive notifications in several different scenarios provided by an embodiment of the present application is shown.

[0208] Fig.10 (a) shows a music notification presented in an immersive state on a lock screen page provided by an embodiment of the present application, such as Fig.10 As shown in (a), the music notification presented in an immersive state is presented in full screen form in the lock screen page of the electronic device 1000. Compared with the music notification presented in a card state, the music notification presented in an immersive state displays richer content and more visual information, such as the total duration of the music, the duration of the music played, the duration of the music not played, lyrics, etc., and supports more key shortcut operations, such as dragging the music playback progress bar, etc. When the live notification is presented in an immersive state on the lock screen page, the non-live notification received by the electronic device 1000 during the lock screen period can be presented at the bottom of the lock screen page in the form of an icon or a small notification card, and the number of non-live notifications can also be displayed.

[0209] In some embodiments, when an immersive notification is presented in full screen format, the display background of the electronic device is switched to a background that matches the immersive notification. For example, it can be switched to a background that is the same as the main image of the immersive notification. That is to say, when the immersive notification is presented in full screen format, the original lock screen wallpaper displayed on the lock screen page is overwritten by the immersive notification background.

[0210] Fig.10 (b) in FIG. 1 shows a navigation notification provided by an embodiment of the present application that is presented in an immersive state on a lock screen page, such as Fig.10As shown in (b), the navigation notification presented in an immersive state is presented in full screen form in the lock screen page of the electronic device 1000. Compared with the navigation notification presented in a card state, the navigation notification presented in an immersive state displays richer content and more visual information, such as a real-time route map, remaining mileage, time required for the remaining mileage, etc., and supports more key shortcut operations, such as clicking on the route in the real-time route map to switch roads, etc. When the live notification is presented in an immersive state on the lock screen page, the non-live notification received by the electronic device 1000 during the lock screen period can be presented at the bottom of the lock screen page in the form of an icon or a small notification card, and the number of non-live notifications can also be displayed.

[0211] Fig.10 (c) in FIG. 1 shows a motion notification presented in an immersive state on a lock screen page provided by an embodiment of the present application, such as Fig.10 As shown in (c), the motion notification presented in an immersive state is presented in full screen form in the lock screen page of the electronic device 1000. Compared with the motion notification presented in a card state, the motion notification presented in an immersive state displays richer content and more visual information, such as a real-time motion trajectory diagram, and supports more key shortcut operations, such as zooming in or out of the real-time motion trajectory diagram, etc. When the live notification is presented in an immersive state on the lock screen page, the non-live notification received by the electronic device 1000 during the lock screen period can be presented at the bottom of the lock screen page in the form of an icon or a small notification card, and the number of non-live notifications can also be displayed.

[0212] Fig.10 (d) in FIG. 1 shows a recording notification presented in an immersive state on a lock screen page provided by an embodiment of the present application, such as Fig.10 As shown in (d), the recorded notification presented in an immersive state is presented in full screen form in the lock screen page of the electronic device 1000. Compared with the recorded notification presented in a card state, the recorded notification presented in an immersive state displays richer content and more visual information, such as more detailed real-time audio information, etc., and supports more key shortcut operations, such as viewing historical recording files, ending and saving the current recording file, etc. When the live notification is presented in an immersive state on the lock screen page, the non-live notification received by the electronic device 1000 during the lock screen period can be presented at the bottom of the lock screen page in the form of an icon or a small notification card, and the number of non-live notifications can also be displayed.

[0213] In some embodiments, when multiple live tasks are being performed simultaneously on the electronic device 1000, when the electronic device 1000 is in a locked screen state, multiple live notifications corresponding to the multiple live tasks are stacked and displayed in an immersive presentation form. The most recently refreshed live notification may be displayed on the top layer, or the most timely live notification may be displayed on the top layer, or multiple live notifications may be displayed in turn on the top layer. This application does not limit this.

[0214] In some embodiments, when the task process corresponding to the notification ends, the notification displayed on the lock screen page also disappears accordingly.

[0215] In one example, a music task, a navigation task, a sports recording task, and a sound recording task are performed simultaneously on the electronic device 1000. When the electronic device 1000 is in a locked screen state, an immersive notification is displayed in full screen on the lock screen page of the electronic device 1000. The immersive notification can be a music notification, a navigation notification, a sports notification, and a sound recording notification displayed in turn, or the latest refreshed live notification can be displayed on the top layer. For example, the current display interface of the electronic device 1000 is as follows: Fig.10 As shown in (a) of FIG. 1 , when the navigation task is refreshed, the display interface of the electronic device 1000 is switched to Fig.10 As shown in (b); when the user completes the 2-kilometer exercise mileage goal, the exercise recording task ends, and the exercise notification displayed on the lock screen page disappears accordingly.

[0216] In some other embodiments, when multiple live tasks are being performed simultaneously on the electronic device 1000, and when the electronic device 1000 is in a locked screen state, multiple live notifications corresponding to the multiple live tasks are presented in the form of an immersive notification list, and only one of the multiple immersive notifications can be seen on the display screen of the electronic device 1000. The user can switch the display between the multiple immersive notifications by swiping left or right on the screen.

[0217] For example, in combination Fig.11 , the display page of the immersive notification provided in the embodiment of the present application is introduced in detail.

[0218] like Fig.11 As shown in (a), the display page of the immersive notification is mainly divided into two parts. The first part is the immersive lock screen wallpaper part, and the second part is the lock screen card part, wherein the lock screen card includes a live card content area and a visual application process page, and the source application of the live notification is displayed on the lock screen card.

[0219] In some embodiments, the content displayed in the live card content area is consistent with the content of the live card, and shortcut functions can be operated or main information can be obtained in this area; the visual application process page displays the process information corresponding to the live notification.

[0220] Regarding the immersive lock screen wallpaper, in some embodiments, it can support using a visual application process page as an immersive lock screen wallpaper. After the immersive lock screen wallpaper is accessed, the immersive lock screen wallpaper is refreshed according to the refresh of the visual application process page. For example, when the background color of the visual application process page changes, the background color of the immersive lock screen wallpaper changes synchronously; when access to the immersive lock screen wallpaper is restricted or the application is not connected to the immersive lock screen wallpaper, the immersive lock screen wallpaper appears in a blurred background state.

[0221] In some other examples, the lock screen wallpaper of the electronic device 1100 can be supported as an immersive lock screen wallpaper.

[0222] like Fig.11 As shown in (b), in an example, when the live notification is a navigation live notification and the navigation live notification is displayed in an immersive state, the immersive display page corresponding to the navigation live notification displays an immersive lock screen wallpaper, live card content, a visual application progress page and a source application icon, wherein the live card content may be the same as the content when the navigation live notification is displayed in a card state, for example, the current navigation instructions, estimated arrival time, navigation time, remaining kilometers and other information may be displayed, and one or more quick operation entrances may be provided; the visual application progress page may display a real-time navigation route, i.e., map information; the source application icon may be, for example, a "petal map" icon; the immersive lock screen wallpaper may be, for example, the lock screen wallpaper of the electronic device 1100, and may also be a real-time navigation route page.

[0223] It should be understood that the above-mentioned live notification can also be a music live notification, a delivery progress live notification, etc. When the live notification is a music live notification, the corresponding visual application process page can be, for example, an album cover; when the live notification is a delivery progress live notification, the corresponding visual application process page can be, for example, map information displaying the real-time trajectory of the delivery.

[0224] In an embodiment of the present application, the notification task can be presented in a full-screen immersive form. The display content of the notification includes the main image or source icon of the notification task, richer content, more visual detailed information, and support for more key operations, so that the user does not need to unlock the application to enter, but can directly obtain the details of the live task progress in a more immersive effect through the lock screen page.

[0225] In order to more clearly understand the process of switching between different presentation forms of notifications, the following is an example of a notification switching process. Figure 12 to Figure 14 , an interface schematic diagram corresponding to the process of switching between different presentation forms of notifications provided in an embodiment of the present application is introduced.

[0226] For example, Fig.12 A schematic diagram of an interface corresponding to the process of switching between a capsule state and a card state of a notification provided in an embodiment of the present application is shown.

[0227] like Fig.12 As shown in (a) of the figure, the screen of the electronic device 1200 is located on the lock screen page, and a music notification displayed in a capsule state is displayed on the lock screen page; when the user wants to view more detailed music notification information on the lock screen page or the user wants to perform more operations such as music switching on the lock screen page, the user can slide up on the lock screen page to expand the music notification from a capsule state to a card state, or the user can click the operation ( Fig.12 The dotted line gesture operation shown in (a) in FIG. 1 ) expands the music notification from a capsule state to a card state. At this time, the lock screen page of the electronic device 1200 is as follows: Fig.12 As shown in (b) of FIG. 1 , in the expanded lock screen page, the music notification presented in card form and other non-live notifications (also described as lock screen notifications) received by the electronic device 1200 during the lock screen are displayed together in the form of a card list; when the user wants to collapse the music notification presented in card form to a form presented in capsule form, the user can do so in the following manner: Fig.12 On the lock screen page shown in (b) in FIG. 1 , after the card list reaches the top, continue to slide down to collapse the music notification from the card state to the capsule state. Alternatively, the user can Fig.12 The side back operation is performed on the lock screen page shown in (b) of FIG. 1 to collapse the music notification from the card state to the capsule state. At this time, the lock screen page of the electronic device 1200 is as follows: Fig.12 As shown in (c) in .

[0228] It should be understood that the above method of expanding the notification from the capsule state to the card state is only an example, and the notification can also be expanded from the capsule state to the card state in any other possible way, such as clicking the source icon of the music notification card, etc. This application does not limit this.

[0229] It should be understood that the above method of collapsing the notification from the card state to the capsule state is only an example, and the notification can also be collapsed from the card state to the capsule state in any other possible way, such as clicking a blank space outside the music notification card, etc. This application does not limit this.

[0230] For example, Fig.13 A schematic diagram of an interface corresponding to the process of switching between a card state and an immersive state of a notification provided in an embodiment of the present application is shown.

[0231] like Fig.13 As shown in (a), the screen of the electronic device 1300 is located on the lock screen page. On the lock screen page, a music notification displayed in card state is displayed. The music notification and other non-live notifications received by the electronic device 1300 during the lock screen period are displayed in the form of a card list; when the user wants to view more detailed music notification information on the lock screen page or the user wants to perform more operations on the lock screen page, the user can click on the main image or source icon in the music notification card on the lock screen page to expand the music notification from a card state to an immersive state. Alternatively, the user can long press the music notification card to expand the music notification from a card state to an immersive state. At this time, the lock screen page of the electronic device 1300 is as follows: Fig.13 As shown in (b) in FIG. 1 ; when the user wishes to collapse the music notification presented in the immersive state into a card state, the user can Fig.13 On the lock screen page shown in (b) of FIG. 1 , the user clicks on a blank area other than the notification to collapse the music notification from being presented in an immersive state to being presented in a card state. Alternatively, the user can collapse the music notification from being presented in an immersive state to being presented in a card state through a side back operation. At this time, the lock screen page of the electronic device 1300 is as follows: Fig.13 As shown in (c) in .

[0232] It can be understood that when the electronic device 1300 is in the lock screen interface, if an immersive notification is displayed on the lock screen page, the background of the lock screen page is adapted to the immersive notification. In the embodiment of the present application, Fig.13 The background of the lock screen page shown in (a) is the original lock screen background. Fig.13 The background of the lock screen page shown in (b) is switched to a background that matches the immersive music notification. Fig.13 The background of the lock screen page shown in (c) is restored to the original lock screen background.

[0233] It should be understood that the above method of expanding the notification from the card state to the immersive state is only an example, and the notification can also be expanded from the card state to the immersive state in any other possible way, such as clicking on the blank space in the music notification card, etc. This application does not limit this.

[0234] It should be understood that the above-mentioned method of collapsing the notification from the immersive state to the card state is only an example, and the notification can also be collapsed from the immersive state to the card state in any other possible way, such as performing a downward sliding operation on the screen of an electronic device, etc. This application is not limited to this.

[0235] For example, Fig.14 A schematic diagram of an interface corresponding to the process of switching between a capsule state and an immersive state of a notification provided in an embodiment of the present application is shown.

[0236] like Fig.14 As shown in (a) in the figure, the screen of the electronic device 1400 is located on the lock screen page, and a music notification displayed in a capsule state is displayed on the lock screen page; when the user wants to view more detailed music notification information (or focus on the music notification) to the greatest extent on the lock screen page or the user wants to perform multiple operations on the lock screen page, the user can perform a long press operation on the music notification on the lock screen page to expand the music notification from a capsule state presentation to an immersive state presentation, or the user can click on the main image or source icon in the capsule notification to expand the music notification from a capsule state presentation to an immersive state presentation, and the lock screen page of the electronic device 1400 is as follows: Fig.14 As shown in (b) in FIG. 1 ; when the user wishes to collapse the music notification presented in the immersive state into a capsule state, the user can Fig.14 The side rewind operation is performed on the lock screen page shown in (b) to collapse the music notification from the immersive presentation to the capsule presentation. Alternatively, the user can click on a blank position outside the music notification card to collapse the music notification from the immersive presentation to the capsule presentation. At this time, the lock screen page of the electronic device 1400 is as follows: Fig.14 As shown in (c) in .

[0237] It should be understood that the above method of expanding the notification from the capsule state to the immersive state is only an example, and the notification can also be expanded from the card state to the immersive state in any other possible way, such as double-clicking the music notification, etc. This application does not limit this.

[0238] It should be understood that the above-mentioned method of collapsing the notification from the immersive state to the capsule state is only an example, and the notification can also be collapsed from the immersive state to the card state in any other possible way, such as performing a downward sliding operation on the screen of an electronic device, etc. This application is not limited to this.

[0239] In the embodiment of the present application, the notification task can be quickly switched between the capsule state, card state, and immersive state through operations such as clicking, long pressing, and sliding. The interaction method is simple and easy to use, and can quickly switch between any two notification presentation forms. It can well match the user's live notification display requirements in different usage scenarios and enhance the user's usage experience.

[0240] For example, Fig.15 A schematic diagram of an interface corresponding to switching from an immersive notification display interface to a card list display interface provided in an embodiment of the present application is shown.

[0241] like Fig.15 As shown in (a) in the figure, the screen of the electronic device 1500 is located on the lock screen page, on which the music notification is displayed in an immersive state, and the non-live notifications (which can also be described as lock screen notifications) received by the electronic device 1500 during the lock screen period are presented in the form of icons at the bottom of the lock screen page, and the number of non-live notifications can also be displayed. For example, the received lock screen notifications include message notifications, phone notifications and email notifications, and the number of received notifications is 3; when the user wants to view the lock screen notifications on the lock screen page, the user can switch the lock screen page of the electronic device 1500 to the lock screen page as shown in Figure 1 by sliding up on the lock screen page. Fig.15 Alternatively, the user may switch the lock screen page of the electronic device 1500 to the lock screen page shown in (b) of FIG. 1 , or the user may switch the lock screen page of the electronic device 1500 to the lock screen page shown in (b) of FIG. 1 . Fig.15 In the lock screen page shown in (b), in the switched lock screen page, music notifications and multiple lock screen notifications (for example, message notifications, phone notifications, and email notifications) are displayed in the form of a card list, and the user can view detailed lock screen notification information through the lock screen notification cards displayed on the page; when the user wants to exit the current card list display, close the lock screen notification, and return to the immersive presentation of the music notification, the user can click on the main image or source icon of the music notification, and the lock screen page of the electronic device 1500 is switched to the following. Fig.15 Alternatively, the user can Fig.15 The lock screen page shown in (b) of FIG. 1 is switched to the lock screen page shown in FIG. 1500 by sliding downward. Fig.15 The page shown in (c) in the figure, in which the lock screen notification is collapsed.

[0242] It can be understood that when the electronic device 1500 is in the lock screen interface, if an immersive notification is displayed on the lock screen page, the background of the lock screen page is adapted to the immersive notification. In the embodiment of the present application, Fig.15 The background of the lock screen page shown in (b) is Fig.15 The background of the lock screen page shown in (a) is the same.

[0243] In the embodiment of the present application, it is possible to call out a card state notification from an immersive state notification while keeping the immersive state background unchanged, which can visually give the user a stronger immersive experience effect.

[0244] For example, Fig.16 A schematic diagram of a lock screen interface corresponding to when there is no live notification task progress on an electronic device provided by an embodiment of the present application is shown.

[0245] like Fig.16 As shown in (a) in the figure, the current screen of the electronic device 1600 is located on the lock screen page, and the Changlian application installed on the electronic device is running in the background. When the electronic device 1600 receives a single Changlian message, the Changlian notification is presented in a capsule state at the bottom of the lock screen page of the electronic device to remind the user that a message from a Changlian friend has been received; on this basis, the user can perform a face unlocking operation on the electronic device 1600. When the face unlocking is successful, the display screen of the electronic device can still be located on the lock screen page, and the detailed notification content can be viewed through the capsule notification, that is, which friend sent what message, for example, it can be: a message sent by my mother "Are you going home for dinner tonight?" (such as Fig.16 , as shown in (b) in the figure).

[0246] It can be understood that when the electronic device is in the lock screen state, the user performs a face recognition operation on the electronic device. When the first face recognition is successful, the message notification displayed on the lock screen page can be displayed and unlocked. When the second face recognition is successful, the display interface of the electronic device can jump to the unlock interface.

[0247] For example, Fig.16 The embodiments shown are in parallel, Fig.17 A schematic diagram of a lock screen interface corresponding to when there is no live notification task progress on another electronic device provided by an embodiment of the present application is shown.

[0248] like Fig.17 As shown in (a), the current screen of the electronic device 1700 is on the lock screen page, and the Changlian application installed on the electronic device is running in the background. When the electronic device 1700 receives multiple Changlian messages, the Changlian notification is presented in a capsule state at the bottom of the lock screen page of the electronic device to remind the user that multiple messages from Changlian friends have been received; on this basis, the user can perform a face unlocking operation on the electronic device 1700. When the face unlocking is successful, the display screen of the electronic device can still be on the lock screen page, and the detailed notification content can be viewed through the capsule notification, that is, which friend sent the message (such as Fig.17 , as shown in (b) in the figure).

[0249] It can be understood that when the electronic device is in the lock screen state, the user performs a face recognition operation on the electronic device. When the first face recognition is successful, the message notification displayed on the lock screen page can be displayed and unlocked. When the second face recognition is successful, the display interface of the electronic device can jump to the unlock interface.

[0250] In an embodiment of the present application, when the electronic device is in a lock screen state and no live task is in progress, the received non-live notification (i.e., lock screen notification) can also be presented in a capsule form, which can further improve the purity of the lock screen page, and the user can further view the corresponding message details on the lock screen page through the first unlocking method, thereby improving the user experience.

[0251] For example, Fig.16 and Fig.17 The embodiments shown are in parallel, Fig.18 A schematic diagram of a lock screen interface corresponding to when there is no live notification task progress on another electronic device provided by an embodiment of the present application is shown.

[0252] like Fig.18 As shown in (a), the current screen of the electronic device 1800 is on the lock screen page, and applications such as the Changlian application, telephone application, and email application installed on the electronic device are running in the background. When the electronic device 1800 receives Changlian messages, missed calls, emails, and other messages during the lock screen period, the icons of the Changlian application, telephone application, and email application are displayed at the bottom of the lock screen page of the electronic device, and the number of received message notifications can also be displayed to remind the user that messages from applications such as the Changlian application, telephone application, and email application are received; on this basis, the user can switch the lock screen page of the electronic device 1800 to the following by sliding up on the screen of the electronic device 1800 or clicking on the icon. Fig.18 As shown in (b) in the switched lock screen page, multiple notifications are displayed in the form of a card list, and the user can view the details of the received messages on this page; the user can browse the notification messages in the card list by sliding up or down on the page, for example, the user can Fig.18 Slide up the lock screen page shown in (b) to view the lock screen notifications received earlier (such as Fig.18 ).

[0253] In some embodiments, the lock screen page of the electronic device can also be changed from the lock screen page to the lock screen page through a specific gesture operation (for example: a side back operation or a swipe down operation on the screen). Fig.18 The page shown in (b) returns to Fig.18 The page shown in (a) in .

[0254] In an embodiment of the present application, when the electronic device is in a lock screen state and no live task is in progress, the received non-live notification (i.e., lock screen notification) can be presented in the form of an icon, which can further improve the purity of the lock screen page. After entering the card list, there is no corresponding live card, and it is impossible to enter the corresponding immersive state. However, operations such as expanding the card list by sliding on the lock screen or clicking on the icon are still retained, which is consistent with the operation form when there is a live notification task, meeting user expectations, strengthening the user's operating mentality on the lock screen, and improving the user experience.

[0255] For example, taking the electronic device as a tablet, Fig.19 A schematic diagram showing a live notification presentation method displayed on a lock screen page when the tablet provided in an embodiment of the present application is in a lock screen state.

[0256] Fig.19 (a) shows a schematic diagram of an interface in which a music notification is displayed in a capsule state on a lock screen page of a tablet 1900; Fig.19 (b) shows a schematic diagram of an interface in which a music notification is displayed in a card-like manner on the lock screen page of the tablet 1900; Fig.19 (c) in FIG. 1 shows a schematic diagram of an interface in which a music notification is displayed in an immersive manner on the lock screen page of the tablet 1900; Fig.19 (a) Fig.19 (b) and Fig.19 As shown in (c) in the figure, compared with the live notification displayed on the lock screen page of the mobile phone, the size of the live notification displayed on the lock screen page of the tablet 1900 can be horizontally stretched to adapt to the display area of ​​the tablet 1900, and because the display space of the live notification is larger, the live notification displayed on the tablet 1900 can display more notification content, and its display position, display element form, etc. can be automatically adapted to the display screen of the tablet 1900.

[0257] In the embodiments of the present application, the live notifications displayed on different electronic devices are not absolutely the same. The electronic device and the live notification displayed on the electronic device can be adapted to each other. That is, the size and display position of the live notification displayed on the electronic device are adapted to the screen size of the electronic device. According to the screen characteristics of different electronic devices, the notification style that is most convenient for users to view and use can be presented, thereby enriching the usage scenarios of the live notifications and allowing users to have a good usage experience on different electronic devices.

[0258] Below, exemplarily, in combination Fig. 20 and Fig.21 , the flow chart corresponding to the method for displaying notifications provided in an embodiment of the present application is introduced.

[0259] For example, Fig. 20 A schematic flow chart of a method 2000 for displaying a notification provided by an embodiment of the present application is shown. Fig. 20 As shown, the method 2000 includes:

[0260] S2001: When a first live task process exists on a first electronic device, when the state of the first electronic device is switched to a lock screen state, a first notification corresponding to the first live task process is displayed on the lock screen page of the first electronic device, and the first notification is presented in a capsule state.

[0261] The first notification presented in the capsule state displays key information of the first live task process and may also display shortcut operation buttons related to the first live task process.

[0262] In some embodiments, the first notification includes a support operation area and a convenient operation area, wherein the support operation area includes a main image area and a text area, the main image area can be used to display the main image or source icon of the first notification, the text area can be used to display the key information of the first notification, and the convenient operation area is used to display the quick operation button corresponding to the first notification.

[0263] In some embodiments, the display area occupied by the first notification presented in the capsule state may be less than 1 / 10 of the display screen area of ​​the first electronic device.

[0264] In some embodiments, the first notification is displayed in the bottom area of ​​the lock screen page of the first electronic device to minimize obstruction of personalized content of the lock screen page.

[0265] In some embodiments, this step can also be described as: when there is a first live task process on a first electronic device, when the state of the first electronic device is switched to a lock screen state, a first interface is displayed on the screen of the first electronic device, and the first interface includes a lock screen page and a first notification displayed on the lock screen page, and the first notification is presented in a capsule state.

[0266] In some embodiments, when there are multiple live task processes on a first electronic device, when the state of the first electronic device is switched to a lock screen state, multiple first notifications corresponding one by one to the multiple live task processes are stacked and displayed on the lock screen page of the first electronic device.

[0267] The stacking display method may be that the most recently updated first notification is displayed at the top of the stacked notifications.

[0268] In some embodiments, when multiple first notifications are stacked and displayed on the lock screen page of the first electronic device, the user can switch the display between the multiple first notifications by swiping left or right.

[0269] S2002: In response to a first operation of the user, a first notification displayed on a lock screen page of the first electronic device is expanded into a second notification, and the second notification is presented in a card state.

[0270] Among them, the second notification presented in a card state displays information about the first live task process, and may also display shortcut operation buttons related to the first live task process. In addition, the second notification presents more information about the first live task process than the first notification, and / or the second notification supports more shortcut operation items than the first notification.

[0271] In some embodiments, the display area occupied by the second notification presented in card form may be greater than or equal to 1 / 10 of the display area of ​​the first electronic device and less than 1 / 3 of the display area of ​​the first electronic device.

[0272] In some embodiments, the second notification is displayed in the middle area of ​​the lock screen page of the first electronic device.

[0273] In some embodiments, the user's first operation may be any one of the following operations: the user slides up on the lock screen page displaying the first notification; the user clicks on the text area of ​​the first notification on the lock screen page displaying the first notification; in addition, the user's first operation may also be other gesture operations, such as gesture operations preset by the user, which is not limited in this application.

[0274] In some embodiments, this step can also be described as: in response to the user's first operation, a second interface is displayed on the screen of the first electronic device, the second interface includes a lock screen page and a second notification displayed on the lock screen page, the second notification is expanded by the first notification, and the second notification is presented in a card state.

[0275] In some embodiments, when there are multiple live task processes on a first electronic device, multiple second notifications corresponding one by one to the multiple live task processes are stacked and displayed on the lock screen page of the first electronic device, or multiple second notifications are expanded and displayed in the form of a card list on the lock screen page of the first electronic device, or some of the multiple second notifications are stacked and displayed on the lock screen page of the first electronic device, and other second notifications are expanded and displayed in the form of a card list on the lock screen page of the first electronic device.

[0276] Among them, when multiple second notifications are stacked and displayed, the most recently refreshed second notification may be displayed at the top of the stacked notifications; when multiple second notifications are expanded and displayed in the form of a card list, the most recently refreshed second notification may be displayed at the first place in the card list.

[0277] In some embodiments, when multiple second notifications are stacked and displayed, the user can switch the display between the multiple second notifications by swiping left or right.

[0278] In some embodiments, the second notification is displayed in the form of a card list on the lock screen page of the first electronic device together with the lock screen notifications received by the first electronic device during the lock screen period.

[0279] S2003: In response to a second operation by the user, the second notification displayed on the lock screen page of the first electronic device is expanded into a third notification, and the third notification is displayed in full screen on the lock screen page of the first electronic device.

[0280] Among them, the presentation method of the third notification in full screen on the lock screen page of the first electronic device can be described as the third notification being presented in an immersive state, and the third notification presented in the immersive state displays information about the first live task process, and can also display shortcut operation buttons related to the first live task process, and the third notification presents more information about the first live task process than the second notification, and / or the third notification supports more shortcut operation items than the second notification.

[0281] In some embodiments, the display area occupied by the third notification presented in the immersive state is equal to the display screen area of ​​the first electronic device, and the display of the third notification presented in the immersive state covers the display of the lock screen page of the first electronic device.

[0282] In some embodiments, the user's second operation may be any one of the following operations: an operation in which the user clicks on the main image area of ​​the second notification on the lock screen page displaying the second notification; an operation in which the user long presses the second notification on the lock screen page displaying the second notification; in addition, the user's second operation may also be other operations, such as a gesture operation preset by the user, which is not limited in this application.

[0283] In some embodiments, this step can also be described as: in response to the user's second operation, a third interface is displayed on the screen of the first electronic device, the third interface includes a third notification displayed in full screen, and the third notification is expanded by the first notification or the second notification.

[0284] In some embodiments, after the first notification is expanded into the second notification, the method may further include the step of: in response to a fourth operation performed by the user on the display page of the second notification, collapsing the second notification displayed on the lock screen page of the first electronic device into the first notification.

[0285] In some embodiments, after the second notification is expanded into the third notification, the method may further include the step of: in response to the fourth operation performed by the user on the display page of the third notification, collapsing the third notification displayed on the lock screen page of the first electronic device into the second notification.

[0286] In some embodiments, the user's fourth operation can be any one of the following operations: the user slides down on the lock screen page of the first electronic device; the user clicks on a blank area on the lock screen page of the first electronic device; the user performs a side rollback operation on the lock screen page of the first electronic device; in addition, the user's second operation can also be other operations, such as a gesture operation preset by the user, which is not limited in this application.

[0287] In some embodiments, when there are multiple live task processes on the first electronic device, multiple third notifications corresponding to the multiple live task processes are displayed in a list on the lock screen page of the first electronic device.

[0288] In some embodiments, only one third notification can be displayed on the display screen of the first electronic device at the same time, that is, among multiple expanded third notifications, only one third notification is located in the visible area, and the user can switch the display between multiple third notifications by swiping left or right, for example.

[0289] In some embodiments, when the third notification is displayed on the screen of the first electronic device, if the first electronic device receives a lock screen notification, an icon corresponding to the lock screen notification can be displayed at the bottom of the display page of the third notification to remind the user that the lock screen notification has been received and to provide the user with an operation entry to view the lock screen notification.

[0290] In an embodiment of the present application, a method for presenting a notification task on a lock screen page is provided. The method supports presenting notification tasks in different forms (capsule state, card state, immersive state), and can realize mutual switching of notification tasks in different presentation forms to meet the user's notification display demands in different scenarios. For example, when the user wants a purer personalized lock screen display effect, the capsule state notification can be used; when the user wants to obtain more key information of the notification or perform more quick operations, the card state notification can be used; when the user wants to focus more on the current notification task, the immersive state notification can be used. In this way, it can ensure to a greater extent that the personalized effect of the lock screen is fully presented, and the user can quickly obtain the key information of the notification and perform quick operations without unlocking the electronic device. It can also enable the user to focus on the current notification processing on the lock screen page or desktop, without frequently unlocking to enter the desktop or without frequently entering the application to obtain more detailed notification information and perform more quick operations.

[0291] For example, Fig.21 A schematic flow chart of another method 2100 for displaying notifications provided in an embodiment of the present application is shown. Fig.21 As shown, the method 2100 includes:

[0292] S2101: When a first live task process exists on a first electronic device, when the state of the first electronic device is switched to a lock screen state, a first notification corresponding to the first live task process is displayed on the lock screen page of the first electronic device, and the first notification is presented in a capsule state.

[0293] Among them, the explanation of this step and Fig. 20 The explanation of S2001 in the illustrated embodiments is the same and will not be repeated here for the sake of brevity.

[0294] S2102: In response to a third operation of the user, the first notification displayed on the lock screen page of the first electronic device is expanded into a third notification, and the third notification is displayed in full screen on the lock screen page of the first electronic device.

[0295] Among them, the interpretation of the first and third notices is in Fig. 20 The illustrated embodiment has been described in detail and will not be described again here for the sake of brevity.

[0296] In some embodiments, the user's third operation may be any one of the following operations: the user clicking on the main image area of ​​the first notification on the lock screen page displaying the first notification; the user long pressing the first notification on the lock screen page displaying the first notification; in addition, the user's third operation may also be other operations, such as gesture operations preset by the user, which is not limited in this application.

[0297] In some embodiments, after the first notification is expanded into the third notification, the method may further include the step of: in response to a fourth operation performed by the user on the display page of the third notification, collapsing the third notification displayed on the lock screen page of the first electronic device into the first notification.

[0298] In the embodiment of the present application, the notification can be switched between the capsule state and the immersive state, which can further meet the user's notification display demands in different scenarios.

[0299] For example, Fig. 22 A functional module diagram of a device 2200 for displaying notifications provided in an embodiment of the present application is shown. Fig. 22 As shown, the device 2200 includes:

[0300] The detection module 2201 is used to detect whether there is a first live task process on the first electronic device when the first electronic device enters a lock screen state.

[0301] Display module 2202 is used to display a first notification corresponding to the first live task process on the lock screen page of the first electronic device when the state of the first electronic device is switched to the lock screen state, and the first notification is presented in a capsule state.

[0302] The first notification presented in the capsule state displays key information of the first live task process and may also display shortcut operation buttons related to the first live task process.

[0303] Among them, the explanation of the first notice is in Fig. 20 The illustrated embodiment has been described in detail and will not be described again here for the sake of brevity.

[0304] The display module 2202 is also used for: when there are multiple live task processes on the first electronic device, when the state of the first electronic device is switched to the lock screen state, stacking and displaying multiple first notifications corresponding to the multiple live task processes on the lock screen page of the first electronic device.

[0305] The stacking display method may be that the most recently updated first notification is displayed at the top of the stacked notifications.

[0306] The display module 2202 is also used to: in response to a first operation performed by the user on the display page of the first notification, display a second notification on the lock screen page of the first electronic device, and cancel the display of the first notification. The second notification is presented in a card state, which can also be understood as the second notification being an expanded state of the first notification.

[0307] Among them, the explanation of the second notice is in Fig. 20 The illustrated embodiment has been described in detail and will not be described again here for the sake of brevity.

[0308] The explanation of the first operation to the user is in Fig. 20 The illustrated embodiment has been described in detail and will not be described again here for the sake of brevity.

[0309] The display module 2202 is also used to: when there are multiple live task processes on the first electronic device, stack and display multiple second notifications corresponding to the multiple live task processes on the lock screen page of the first electronic device, or expand and display the multiple second notifications in the form of a card list on the lock screen page of the first electronic device, or stack and display some of the multiple second notifications on the lock screen page of the first electronic device, and expand and display another part of the second notifications in the form of a card list.

[0310] The display module 2202 is also used to display the second notification and the lock screen notifications received by the first electronic device during the lock screen period in the form of a card list on the lock screen page of the first electronic device.

[0311] The display module 2202 is also used to: in response to a second operation performed by the user on the display page of the second notification, display the third notification in full screen on the lock screen page of the first electronic device, and cancel the display of the second notification.

[0312] Among them, the interpretation of the third notice is in Fig. 20 The illustrated embodiment has been described in detail and will not be described again here for the sake of brevity.

[0313] The explanation of the second operation to the user is in Fig. 20 The illustrated embodiment has been described in detail and will not be described again here for the sake of brevity.

[0314] The display module 2202 is also used to: in response to a third operation performed by the user on the display page of the first notification, display the third notification in full screen on the lock screen page of the first electronic device, and cancel the display of the first notification.

[0315] The explanation of the third operation to the user is in Fig.21 The illustrated embodiment has been described in detail and will not be described again here for the sake of brevity.

[0316] The display module 2202 is also used to: in response to a fourth operation performed by the user on the display page of the second notification, display the first notification on the lock screen page of the first electronic device and cancel the display of the second notification, wherein the first notification is obtained by folding the second notification.

[0317] The display module 2202 is also used to: in response to a fourth operation performed by the user on the display page of the third notification, display the second notification on the lock screen page of the first electronic device and cancel the display of the third notification, wherein the second notification is obtained by folding the third notification.

[0318] The display module 2202 is also used to: in response to a fourth operation performed by the user on the display page of the third notification, display the first notification on the lock screen page of the first electronic device and cancel the display of the third notification, wherein the first notification is obtained by folding the third notification.

[0319] Among them, the explanation of the fourth operation to the user is in Fig. 20 The illustrated embodiment has been described in detail and will not be described again here for the sake of brevity.

[0320] When the third notification is displayed on the screen of the first electronic device, the display module 2202 is also used to: when the first electronic device receives a lock screen notification, display an icon corresponding to the lock screen notification at the bottom of the display page of the third notification, and the icon is used to remind the user that the lock screen notification has been received, and is also used to provide the user with a viewing entry for the lock screen notification.

[0321] The detection module 2201 is further used to detect the user's first operation, second operation, third operation or fourth operation.

[0322] In an embodiment of the present application, the notification display device provided supports presenting notification tasks in different forms (capsule state, card state, immersive state), and can realize mutual switching of notification tasks in different presentation forms to meet the user's notification display demands in different scenarios. For example, when the user wants a purer personalized lock screen display effect, the capsule state notification can be used; when the user wants to obtain more key information of the notification or perform more quick operations, the card state notification can be used; when the user wants to focus more on the current notification task, the immersive state notification can be used; in this way, it can ensure to a greater extent that the personalized effect of the lock screen is fully presented, and the user can quickly obtain the key information of the notification and perform quick operations without unlocking the electronic device. It can also enable the user to focus on the current notification processing on the lock screen page or desktop, without frequently unlocking to enter the desktop or without frequently entering the application to obtain more detailed notification information and perform more quick operations.

[0323] One or more of the modules or units described herein can be implemented by software, hardware or a combination of the two. When any of the above modules or units are implemented in software, the software exists in the form of computer program instructions and is stored in a memory, and a processor can be used to execute the program instructions and implement the above method flow. The processor may include but is not limited to at least one of the following: a central processing unit (CPU), a microprocessor, a digital signal processor (DSP), a microcontroller (MCU), or an artificial intelligence processor and other types of computing devices that run software, each computing device may include one or more cores for executing software instructions to perform operations or processing. The processor may be built into an SoC (system on chip) or an application specific integrated circuit (ASIC), or it may be an independent semiconductor chip. In addition to the core used to execute software instructions for operations or processing in the processor, necessary hardware accelerators may be further included, such as a field programmable gate array (FPGA), a PLD (programmable logic device), or a logic circuit that implements a dedicated logic operation.

[0324] When the modules or units described in this document are implemented in hardware, the hardware can be any one or any combination of a CPU, a microprocessor, a DSP, an MCU, an artificial intelligence processor, an ASIC, a SoC, an FPGA, a PLD, a dedicated digital circuit, a hardware accelerator, or a non-integrated discrete device, which can run the necessary software or be independent of the software to execute the above method flow.

[0325] When the modules or units described herein are implemented using software, they can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, a computer, a server, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server, or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state drive (SSD)), etc.

[0326] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0327] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0328] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0329] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0330] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0331] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0332] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for displaying a notification, characterized in that: The method comprises: In the case where a first live task process exists on a first electronic device, when the state of the first electronic device is switched to a lock screen state, a first notification corresponding to the first live task process is displayed on a lock screen page of the first electronic device, and the first notification is presented in a capsule state; In response to a first operation of the user, expanding the first notification displayed on the lock screen page of the first electronic device into a second notification, wherein the second notification is presented in a card state; In response to a second operation of the user, expanding the second notification displayed on the lock screen page of the first electronic device into a third notification, and displaying the third notification in full screen on the lock screen page of the first electronic device; in, The display area occupied by the first notification presented in capsule form is smaller than the display area occupied by the second notification presented in card form, and the display area occupied by the second notification presented in card form is smaller than the display area occupied by the third notification displayed in full screen on the lock screen page of the first electronic device; The second notification supports more shortcut operation items than the first notification, and the third notification supports the same or more shortcut operation items than the second notification.

2. The method according to claim 1, characterized in that The method further comprises: In response to a third operation of the user, the first notification displayed on the lock screen page of the first electronic device is expanded into the third notification.

3. The method according to claim 2, characterized in that The method further comprises: In response to a fourth operation performed by the user on the display page of the third notification, the third notification displayed on the lock screen page of the first electronic device is collapsed into the first notification.

4. The method according to claim 1, characterized in that The method further comprises: In response to an operation performed by a user on a display page of the second notification, the second notification displayed on a lock screen page of the first electronic device is collapsed into the first notification; or In response to an operation performed by the user on the display page of the third notification, the third notification displayed on the lock screen page of the first electronic device is collapsed into the second notification.

5. The method according to any one of claims 1 to 4, characterized in that The second notification presents more information about the first live task process than the first notification, and the third notification presents more information about the first live task process than the second notification.

6. The method according to any one of claims 1 to 4, characterized in that The method further comprises: In the case where there are multiple first live task processes on the first electronic device, when the state of the first electronic device is switched to a lock screen state, multiple first notifications corresponding one by one to the multiple first live task processes are stacked and displayed on the lock screen page of the first electronic device.

7. The method according to any one of claims 1 to 4, characterized in that The method further comprises: In the case where there are multiple first live task processes on the first electronic device, multiple second notifications corresponding to the multiple first live task processes are displayed in the form of a card list on the lock screen page of the first electronic device.

8. The method according to claim 7, characterized in that The card list includes non-live notification cards received by the first electronic device in a locked screen state.

9. The method according to any one of claims 1 to 4, characterized in that The method further comprises: In the case where there are multiple first live task processes on the first electronic device, display switching between multiple third notifications corresponding to the multiple first live task processes is triggered through a switching operation of the user.

10. The method according to claim 9, characterized in that The switching operation includes: an operation of a user sliding to the left on the display page of the third notification, or an operation of a user sliding to the right on the display page of the third notification.

11. The method according to claim 9, characterized in that When the screen of the first electronic device is located on the display page of the third notification, if the first electronic device receives a first message notification, an icon corresponding to the first message notification is displayed in the bottom area of ​​the display page of the third notification, and the icon is used to remind the user that the first message has been received and to provide the user with a viewing entry for the first message.

12. The method according to any one of claims 1 to 4, characterized in that The method comprises: In the case that there is no live task process on the first electronic device, when the first electronic device receives a first message in the lock screen state, a first message notification corresponding to the first message is displayed on the lock screen page of the first electronic device, and the first message notification is presented in a capsule state.

13. The method according to any one of claims 1 to 4, characterized in that The first operation includes: an operation of a user sliding upward on a lock screen page displaying the first notification, or an operation of a user clicking on a text area of ​​the first notification on the lock screen page displaying the first notification.

14. The method according to any one of claims 1 to 4, characterized in that The second operation includes: an operation in which a user clicks on a main image area of ​​the second notification on a lock screen page displaying the second notification, or an operation in which a user long presses the second notification on a lock screen page displaying the second notification.

15. The method according to claim 2 or 3, characterized in that: The third operation includes: an operation in which a user clicks on a main image area of ​​the first notification on a lock screen page displaying the first notification, or an operation in which a user long presses the first notification on a lock screen page displaying the first notification.

16. The method according to claim 3, characterized in that The fourth operation includes: an operation of a user sliding downward on the lock screen page of the first electronic device, an operation of a user clicking on a blank area on the lock screen page of the first electronic device, or an operation of a user performing a side rollback on the lock screen page of the first electronic device.

17. An electronic device, characterized in that: include: one or more processors; one or more memories; and one or more computer programs, wherein the one or more computer programs are stored in the one or more memories, and the one or more computer programs include instructions that, when executed by the one or more processors, cause the electronic device to perform the method as described in any one of claims 1 to 16.

18. A computer-readable storage medium, characterized in that: The storage medium stores a program or an instruction, and when the program or the instruction is executed, the method according to any one of claims 1 to 16 is implemented.

19. A chip, characterized in that: Instructions are stored in the chip, and when the instructions are executed, the method according to any one of claims 1 to 16 is implemented.

20. A computer program product, characterized in that The computer program product stores a program or an instruction, and when the program or the instruction is executed, the method according to any one of claims 1 to 16 is implemented.

Citation Information

Patent Citations

  • Information reminding method, electronic equipment and computer readable storage medium

    CN113805747A

  • Method for pushing notifications, electronic equipment and storage medium

    CN114584650A