Method for displaying notification and electronic device
By realizing multi-state switching of live task notifications on the lock screen page, the problem of large space in the lock screen state and frequent unlocking of users is solved, improving user experience and information acquisition convenience.
Patent Information
- Application Number
- PCT/CN2024/123598
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-01-10
- Filing Date
- 2024-10-09
- Publication Date
- 2025-07-17
AI Technical Summary
In the lock screen state of electronic devices, real-time task notifications occupy a large space, affecting the personalized display effect of the lock screen page, and users need to frequently unlock to view the progress of the real-time task, resulting in poor user experience.
Provides a method and electronic device that allows live task notifications to switch between each other in capsule, card and immersion state on the lock screen page. Users can switch between different presentation modes through simple operations, obtain more information and perform quick operations.
It improves the user's notification display experience in the lock screen state, meets the notification demands in different scenarios, and ensures the personalized effect of the lock screen page and the convenience of information acquisition.
Smart Images

Figure CN2024123598_17072025_PF_FP_ABST
Abstract
Description
Method and electronic device for displaying notification
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on January 10, 2024, with application number 202410045011.5 and application name “Method and electronic device for displaying notifications”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] 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
[0003] Live tasks running on electronic devices are extremely time-sensitive, such as flight status updates. Users have a strong desire to track and view these notifications within the time limit. When an 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 or she needs to frequently unlock the device and enter the desktop to view it, which makes the user experience poor.
[0004] Summary of the Invention
[0005] The present application provides a method and electronic device, through which 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 requirements in different scenarios. When the notification is presented in capsule form, the personalized effect of the lock screen page can be fully presented. Moreover, 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 experience.
[0006] 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.
[0007] 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 the explanation 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 the explanation 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 the explanation of the full-screen presentation (or immersive presentation).
[0008] 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.
[0009] In some embodiments, the first live task process can be, for example, any one of a flight dynamic 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.
[0010] In some embodiments, the first operation can be an operation in which the user swipes upward on the lock screen page displaying the first notification, or an operation in which the user clicks on the text area of the first notification on the lock screen page displaying the first notification. The first operation can also be other operations, such as user-preset operations, etc. This application does not limit this.
[0011] In some embodiments, the second operation can be 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, or it can be an operation in which the user long presses the second notification on the lock screen page displaying the second notification. The second operation can also be other operations, such as user-preset operations, etc. This application does not limit this.
[0012] In one possible implementation, the second notification presents more information about the first live task process than the first notification presents, and the third notification presents more information about the first live task process than the second notification presents.
[0013] 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.
[0014] 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 requirements in different scenarios. When the notification is presented in capsule form, 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 experience.
[0015] 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.
[0016] In some embodiments, the third operation can be an operation in which the user clicks on the main image area of the first notification on the lock screen page displaying the first notification, or it can be an operation in which the user long presses the first notification on the lock screen page displaying the first notification. The third operation can also be other operations, such as user-preset operations, etc. This application does not limit this.
[0017] In an embodiment of the present application, it is possible to directly realize the rapid switching of notification tasks between the capsule state and the immersive state. That is, it is possible to realize the switching of notifications between any two forms of capsule state, card state, and immersive state. The interaction method is simple and easy to use, and rapid switching between any two notification presentation forms can well match the user's live notification display requirements in different usage scenarios, thereby improving the user's usage experience.
[0018] In combination with the first aspect, in a possible implementation, the method further 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 into the first notification.
[0019] In some embodiments, the fourth operation can be an operation in which the user slides down on the lock screen page of the first electronic device, or an operation in which the user clicks on a blank area on the lock screen page of the first electronic device, or an operation in which the user performs 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., and this application does not limit this.
[0020] In an embodiment of the present application, the user can collapse the current live notification through a specific operation. The collapse of the live notification follows the principle of "returning to where it came from", that is, it can further realize the switching of the notification between any two forms of capsule state, card state, and immersive state. The interaction method is simple and easy to use, and it 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.
[0021] 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.
[0022] In an embodiment of the present application, the user can collapse the current live notification through a specific operation. The collapse of the live notification follows the principle of "returning to where it came from", that is, it can further realize the switching of the notification between any two forms of capsule state, card state, and immersive state. The interaction method is simple and easy to use, and it 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.
[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, when the state of the first electronic device is switched to the 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.
[0024] 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.
[0025] 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-to-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.
[0026] 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 quick operations can be performed, thereby improving the user experience.
[0027] In combination with the first aspect, in a possible implementation, the card list includes non-live notification cards received by the first electronic device in a locked screen state.
[0028] 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, users can view the currently running live task progress and 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 quick operations, thereby improving the user experience.
[0029] 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 the user's switching operation.
[0030] 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.
[0031] 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 quick operations, thereby improving the user experience.
[0032] 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. The icon is used to remind the user that the first message has been received, and is also used to provide the user with a viewing entry for the first message.
[0033] 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, and can view the notification content and perform related operations through the lock screen interface, thereby improving the user experience.
[0034] 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 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.
[0035] In an embodiment of the present application, when the electronic device is in the 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 the form of a capsule, 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.
[0036] 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 of the first aspect.
[0037] 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 of the first aspect is implemented.
[0038] In a fourth aspect, a chip is provided, in which instructions are stored. When the chip is run on a device, the chip executes the method in the above-mentioned first aspect or any possible implementation of the first aspect.
[0039] In a fifth aspect, a computer program product 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 of the first aspect is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] FIG1 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
[0041] FIG2 is a block diagram of the software structure of the electronic device provided in an embodiment of the present application;
[0042] FIG3 is a schematic diagram of an interface for displaying a live notification on a lock screen or desktop of an electronic device;
[0043] FIG4 is a schematic diagram of another interface for displaying live notifications on the lock screen of an electronic device;
[0044] FIG5 is a schematic diagram of an interface corresponding to different presentation modes of a notification provided in an embodiment of the present application;
[0045] FIG6 is a schematic diagram of a capsule notification structure provided in an embodiment of the present application;
[0046] FIG7 is a schematic diagram showing capsule notifications in several different scenarios provided by an embodiment of the present application;
[0047] FIG8 is a schematic diagram showing display of card-state notifications in several different scenarios provided by an embodiment of the present application;
[0048] FIG9 is a schematic diagram of an interface corresponding to viewing a card status notification provided in an embodiment of the present application;
[0049] FIG10 is a schematic diagram showing the display of immersive notifications in several different scenarios provided by an embodiment of the present application;
[0050] FIG11 is a schematic diagram of a display page for an immersive notification according to an embodiment of the present application;
[0051] FIG12 is a schematic diagram of an interface corresponding to the process of switching between capsule state and card state of a notification provided by an embodiment of the present application;
[0052] FIG13 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 by an embodiment of the present application;
[0053] FIG14 is a schematic diagram of an interface corresponding to a process of switching between a capsule state and an immersive state according to an embodiment of the present application;
[0054] FIG15 is a schematic diagram of an interface corresponding to switching from an immersive notification display interface to a card list display interface provided by an embodiment of the present application;
[0055] 16 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;
[0056] 17 is a schematic diagram of a lock screen interface corresponding to another electronic device provided in an embodiment of the present application when there is no live notification task progress;
[0057] 18 is a schematic diagram of a lock screen interface corresponding to a non-live notification task progress on another electronic device provided in an embodiment of the present application;
[0058] FIG19 is a schematic diagram showing a live notification presentation method displayed on a lock screen page when the tablet device provided in an embodiment of the present application is in a lock screen state;
[0059] FIG20 is a schematic flowchart of a method for displaying a notification provided in an embodiment of the present application;
[0060] FIG21 is a schematic flowchart of another method for displaying notifications provided in an embodiment of the present application;
[0061] Figure 22 is a schematic diagram of the functional modules of a device for displaying notifications provided in an embodiment of the present application. DETAILED DESCRIPTION
[0062] The technical solutions of this application will be described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only part of the embodiments of this application, rather than all the embodiments.
[0063] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying 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.
[0064] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of the technical features indicated. Therefore, 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.
[0065] The terms used in the following embodiments are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the specification of this application and the appended claims, the singular expressions "a", "an", "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 can exist; for example, A and / or B can mean: 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 previous and subsequent associated objects are in an "or" relationship.
[0066] References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure, or characteristic described in conjunction with that embodiment is included in one or more embodiments of the present application. Thus, phrases such as "one embodiment," "some embodiments," "another embodiment," and "other embodiments" appearing in various places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically stated. The terms "including," "comprising," "having," and variations thereof mean "including but not limited to," unless otherwise specifically stated.
[0067] The method provided in the embodiments of the present application can be applied to electronic devices such as mobile phones, tablet computers, wearable devices, in-vehicle devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPCs), netbooks, and personal digital assistants (PDAs). The embodiments of the present application do not impose any restrictions on the specific types of electronic devices.
[0068] 1 shows a schematic structural diagram of an 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 194, and a subscriber identification module (SIM) card interface 195. 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.
[0069] It should be understood that the structures illustrated in the embodiments of the present application do 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, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0070] 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 processing unit (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). The different processing units may be independent devices or integrated into one or more processors.
[0071] 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.
[0072] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0073] In some embodiments, the processor 110 may include one or more interfaces. The interfaces 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.
[0074] The USB interface 130 is an interface that complies with USB standards and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100, or to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect other electronic devices, such as augmented reality devices.
[0075] It is understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is merely an illustrative 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 from the above embodiments, or a combination of multiple interface connection methods.
[0076] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also provide power to the electronic device via the power management module 141.
[0077] 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 provides power to the processor 110, the internal memory 121, the external memory, the display 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 count, and battery health status (leakage, impedance). 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.
[0078] 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.
[0079] 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 antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0080] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G 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.
[0081] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. 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.
[0082] 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 that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0083] 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 a network and other devices through wireless communication technologies. The wireless communication technologies 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).
[0084] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0085] Display screen 194 is used to display images, videos, and the like. 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 (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In some embodiments, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than one.
[0086] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
[0087] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and converted into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and skin tone. It can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 193.
[0088] 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 light signal into an electrical signal, and then passes the electrical signal to the ISP for conversion 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.
[0089] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0090] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. This allows electronic device 100 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.
[0091] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU can enable intelligent cognitive applications in electronic device 100, such as image recognition, face recognition, speech recognition, and text comprehension.
[0092] 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 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.
[0093] 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 can store an operating system, an App required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can 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.
[0094] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0095] 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 provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.
[0096] The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or listen to hands-free calls through the speaker 170A.
[0097] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or a voice message, the user can place the receiver 170B close to the ear to hear the voice.
[0098] Microphone 170C, also known as "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 the microphone 170C to input the sound signal into the 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 source of sound, realize directional recording function, etc.
[0099] The headphone jack 170D is used to connect a wired headphone and can be the USB interface 130 or a 3.5mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0100] The buttons 190 include a power button, a volume button, and the like. The buttons 190 may be mechanical buttons or touch buttons. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100.
[0101] 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.
[0102] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, etc.
[0103] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or disconnected from the electronic device 100 by inserting it into or removing it 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. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0104] It should be understood that the phone cards in the embodiments of the present application include but are not limited to SIM cards, eSIM cards, universal subscriber identity modules (USIM), universal integrated circuit cards (UICC), and the like.
[0105] The software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present application, the Android system with a layered architecture is used as an example to illustrate the software structure of the electronic device 100.
[0106] Figure 2 is a software structure diagram of the electronic device 100 according to an embodiment of the present application. The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, namely, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer, from top to bottom. The application layer can include a series of application packages.
[0107] As shown in FIG2 , the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short message.
[0108] The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer includes some predefined functions.
[0109] As shown in FIG2 , the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
[0110] The window manager is used to manage window programs. The window manager can obtain the display size, determine whether there is a status bar, lock the screen, take screenshots, etc.
[0111] 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.
[0112] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.
[0113] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including answering, hanging up, etc.).
[0114] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0115] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically without user interaction. For example, the Notification Manager is used to notify users of completed downloads and message reminders. The Notification Manager can also display notifications in the top status bar of the system as icons or scrolling text, such as notifications from background applications, or as dialog windows on the screen. Examples include text messages in the status bar, beeps, vibrations on electronic devices, and flashing indicator lights.
[0116] Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
[0117] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.
[0118] The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.
[0119] The system library can 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.
[0120] The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
[0121] The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0122] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0123] A 2D graphics engine is a drawing engine for 2D drawings.
[0124] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.
[0125] 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.
[0126] The technical solutions of the embodiments of the present application can be applied to electronic devices with display functions. For example, they can be applied to televisions, desktop computers, laptops, and car screens. They can also be applied to portable electronic devices such as mobile phones, folding screens, tablet computers, cameras, video cameras, video recorders, watches, and bracelets. They can also be applied to other electronic devices with display functions. They can also be applied to electronic devices in 5G networks or electronic devices in future evolved public land mobile communication networks (PLMNs). The main application scenario can be the notification display scenario of the electronic device. For example, it can be applied to the notification display scenario of the electronic device when the electronic device is in the lock screen state.
[0127] 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.
[0128] 1. Capsule state notification
[0129] Capsule notifications are displayed in a live window. When you switch to the desktop or switch to another app, a capsule window will appear in the status bar, displaying a summary of the current task in real time. For example, call duration and timer countdown duration. When multiple tasks are in capsule mode, the live window will be sorted by task priority and creation time.
[0130] 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.
[0131] 2. Card status notification
[0132] Card-state notifications refer to notifications displayed in the card state of the live window. For example, clicking on a notification displayed in the capsule state of the live window (i.e., a capsule notification) will expand the capsule-state notification into a card-state notification. Compared to notifications displayed in capsule state, the card-state notification allows you to view more detailed information related to the notification or quickly perform related operations. In other words, card-state notifications can present more content and provide more operations than capsule-state notifications. For example, clicking on the non-button area of the card-state notification directly enters the application interface corresponding to the notification and performs more operations; clicking on a blank area or swiping up on the card state of the live window can collapse it and automatically switch to capsule state.
[0133] 3. Immersive Notifications
[0134] Immersive notifications refer to notifications that are displayed immersively in a live window and can be presented in full-screen format. Compared with notifications displayed in card form, users can view more information through notifications displayed in immersive form. 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.
[0135] It should be noted that compared to 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 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 conventional lock screen information such as clock and date can still be displayed; in 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.
[0136] Furthermore, in some embodiments, even if an immersive notification is currently displayed on the lock screen, updates to other important notifications will not be blocked. For example, if an immersive notification is currently displayed on the lock screen and a new notification with a higher level of importance is received or an update to a notification with a higher level of importance is available, the immersive notification mode may be automatically exited and the new notification or notification update may be displayed instead; alternatively, the new notification or notification update may be displayed as an overlay on the immersive notification page.
[0137] The lock screen function of an electronic device is an important function to protect the content on the electronic device after the user completes 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.
[0138] 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 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. If users want to check the progress of real-time tasks at any time, they need to frequently unlock and enter the desktop to check, which makes the user experience poor.
[0139] Therefore, users have an increasingly strong desire to quickly obtain more real-time information on the lock screen interface.
[0140] In the following, two existing schematic diagrams of notification display interfaces are introduced with reference to FIG3 and FIG4 .
[0141] FIG3 shows a schematic diagram of an interface for displaying a live notification on a lock screen or desktop of an electronic device.
[0142] As shown in Figure 3, when the display screen of the electronic device 300 is in the lock screen interface or 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 live notification card displays the progress and status of the corresponding real-time activity.
[0143] 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 can be required to arouse the live notification card to be displayed again. In addition, 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 carried out simultaneously on the electronic device, multiple live notification cards are displayed tiled, which will cause a large area of blocking to the personalized content displayed on the lock screen interface, and also occupy the presentation space of non-live notifications (for example: lock screen notifications).
[0144] FIG4 shows another schematic diagram of an interface for displaying live notifications on a lock screen interface of an electronic device.
[0145] As shown in Figure 4, 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.
[0146] 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 provides a single-point information prompt. The user cannot obtain more notification content on the lock screen interface. It does not support richer content presentation and does not support related quick operations.
[0147] Therefore, in the current notification display method, the notification content from the live task and the display of 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 aesthetics 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, which only provides the functions of displaying streamlined content and clicking to enter the application. The user cannot obtain more notification content on the lock screen page, which makes it impossible for the electronic device to take into account the personalized display effect of the lock screen interface when displaying notifications, and it is impossible to achieve a pure lock screen and real-time progress in obtaining important notifications at the same time.
[0148] In view of this, the embodiments of the present application provide a method and electronic device for displaying notifications. Through this method and 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 desktop, the live notification is displayed on the lock screen interface or desktop of the electronic device. The user can quickly obtain the current live notification information on the lock screen interface or desktop, and the live notification presentation mode can be freely switched (capsule state-card state-immersive state) 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, you can meet the user's various demands. For example, it can meet the user's different demands in the lock screen scenario. 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 through simple interactive operations based on their own needs.
[0149] It should be noted that the embodiments of the present application are 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 any electronic device with a screen display function, such as a tablet, a laptop computer, a PC screen, a car screen, a bracelet, etc., and the present application does not limit this.
[0150] For example, FIG5 shows a schematic diagram of an interface corresponding to different presentation methods of a notification provided in an embodiment of the present application.
[0151] (a) in Figure 5 shows an interface schematic diagram of a notification presented in a capsule state provided in an embodiment of the present application. As shown in (a) in Figure 5, the capsule-state 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.
[0152] In some embodiments, the user can change the display position of the capsule notification by pressing and dragging.
[0153] In some embodiments, when multiple capsule notifications exist simultaneously, the multiple capsule notifications are displayed in a stacked manner. For example, the most recently updated notification may be displayed on the top.
[0154] In some embodiments, the user can switch between multiple capsule notifications by swiping left or right.
[0155] (b) in Figure 5 shows an interface schematic diagram of a notification presented in card form provided in an embodiment of the present application. As shown in (b) in Figure 5, 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.
[0156] 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.
[0157] In some embodiments, the user can change the display position of the card-state notification by pressing and dragging.
[0158] In some embodiments, when there are multiple card-state notifications simultaneously, the multiple card-state notifications are displayed in the card list in sequence according to the refresh order. For example, the most recently refreshed notification may be displayed in the first row of the card list.
[0159] In some embodiments, when multiple card-state notifications exist at the same time, the multiple card-state notifications are displayed in a stacked manner. For example, the most recently refreshed notification may be displayed on the top layer. The user can also switch between the multiple card-state notifications by swiping left or right.
[0160] (c) in Figure 5 shows a schematic diagram of an interface in which a notification is presented in an immersive state provided in an embodiment of the present application. As shown in (c) in Figure 5, the immersive notification can be presented in full-screen form, or it can occupy most of the display area, and the display effect is purer. If the user wants to focus on the current live task, the notification corresponding to the live task can be switched to immersive presentation, and the key information of the live task can be presented on the lock screen page in the form of dominating the screen. The user can immersively process the current live task directly on the lock screen page, and can obtain a large amount of key information and operation entries without frequently unlocking and entering the desktop.
[0161] 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.
[0162] In some embodiments, the user can change the display position of the immersive notification by pressing and dragging.
[0163] 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, or it may be a fixed arrangement order. The user can switch between the multiple immersive notifications by swiping up, down, left, or right.
[0164] In some embodiments, when multiple immersive notifications exist at the same time, the multiple immersive notifications are displayed in a stacked manner. For example, the most recently refreshed notification may be displayed on the top layer. The user can also switch between the multiple immersive notifications by swiping left or right.
[0165] For a live notification displayed on a display screen of an electronic device, a user can switch the live notification between different presentation modes through interactive operations.
[0166] In some embodiments, the user can expand the capsule notification into a card notification as shown in (b) in Figure 5 by performing a first operation on the lock screen interface as shown in (a) in Figure 5, where the first operation can be, for example, an operation of the user sliding upward on the lock screen interface as shown in (a) in Figure 5, or an operation of the user clicking on the text area of 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 expand the card-state notification into an immersive-state notification as shown in (c) in Figure 5 by performing a second operation on the lock screen interface as shown in (b) in Figure 5, where 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 Figure 5, 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.
[0168] In some embodiments, the user can expand the capsule notification into an immersive notification as shown in (c) in Figure 5 by performing a third operation on the lock screen interface as shown in (a) in Figure 5, where 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 Figure 5, 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.
[0169] In some embodiments, the user can collapse the card-state notification into a capsule-state notification as shown in (a) in Figure 5 by performing a fourth operation on the lock screen interface as shown in (b) in Figure 5, wherein the fourth operation can be, for example, 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 Figure 5, or an operation in which the user performs a side rollback operation on the lock screen interface as shown in (b) in Figure 5, or other operations, such as user-preset operations, etc., which are not limited in this application.
[0170] In some embodiments, the user can collapse the immersive notification into a card-state notification as shown in (b) in Figure 5 by performing a fourth operation on the lock screen interface as shown in (c) in Figure 5, wherein the fourth operation can, for example, be an operation in which the user clicks on a blank space outside the immersive notification on the lock screen interface as shown in (c) in Figure 5, or an operation in which the user performs a side rollback operation on the lock screen interface as shown in (c) in Figure 5, or other operations, such as user-preset operations, etc., which are not limited in this application.
[0171] In some embodiments, when a card-state notification or an immersive-state notification is folded, the principle of "returning 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 falls back 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 falls back 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 falls back to capsule state.
[0172] In some embodiments, on different electronic devices, since the screen sizes of different electronic devices may be different, when the notification is presented in capsule state, card state or 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 wider display sizes 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.
[0173] In an embodiment of the present application, a method for presenting a notification task on a lock screen page or 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 that the personalized effect of the lock screen is fully presented to a greater extent, 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.
[0174] Below, by way of example, with reference to FIG6 to FIG10 , three presentation forms of notifications provided in the embodiments of the present application are described in detail.
[0175] For example, FIG6 shows a schematic diagram of the structure of a capsule notification provided in an embodiment of the present application.
[0176] As shown in Figure 6, the capsule notification mainly includes four constituent areas, which correspond to area 1, area 2, area 3 and area 4 shown in Figure 6 respectively, 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 quick operation area corresponding to the notification, and the quick operation button corresponding to the notification is 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.
[0177] In addition, area 1, area 2 and area 3 are support operation areas. For example, the user can enter the application corresponding to the notification by clicking area 1, and the user can also expand the notification from capsule state to card state or immersive state by clicking area 2 or area 3.
[0178] 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.
[0179] It should be understood that FIG6 is merely a schematic illustration of the composition of a capsule notification and does not limit its specific composition. The constituent areas included in the capsule notification may be deleted or added based on the four areas, and the arrangement and size of these constituent areas are not limited. Furthermore, in the above embodiment, a live music notification is used as an example for explanation, but this does not constitute any limitation on the type of notification. When the notification type is different, the corresponding main image, source icon, primary and secondary text, and shortcut operations may all be different.
[0180] For example, FIG7 shows schematic diagrams of displaying capsule notifications in several different scenarios provided by an embodiment of the present application.
[0181] (a) in Figure 7 shows a music notification presented in a capsule state on the lock screen page provided by an embodiment of the present application. As shown in (a) in Figure 7, the music notification presented in the 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 the capsule state can, for example, include a music icon, the main text "Music 1", the sub-text "Chinese" and an operation button for controlling music play / pause. The user can know the name of the music currently being played on the electronic device 700 and other information through the music notification presented in the capsule state, and can also conveniently control the play and pause of the music.
[0182] (b) in Figure 7 shows a navigation notification presented in a capsule state on the lock screen page provided by an embodiment of the present application. As shown in (b) in Figure 7, the navigation notification presented in the 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 navigation notification presented in the capsule state can, for example, include a navigation main image, 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 the capsule state.
[0183] (c) in Figure 7 shows a motion notification presented in a capsule state on the lock screen page provided by an embodiment of the present application. As shown in (c) in Figure 7, the motion notification presented in the 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 motion notification presented in the capsule state can, for example, include a main image of the motion trajectory, the main text "00:10:05", the 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 the capsule state to know the real-time progress of the motion recording task currently being performed by the electronic device 700, know the current motion progress, and conveniently control the start and pause of the motion timing.
[0184] (d) in Figure 7 shows a recording notification presented in a capsule state on the lock screen page provided by an embodiment of the present application. As shown in (d) in Figure 7, the recording notification presented in the 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 recording notification presented in the capsule state can, for example, include a main image of the real-time audio of the recording, the main text "00:40:40", the sub-text "Recording" and an operation button for controlling the start / pause of the recording. The user can use the recording notification presented in the 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.
[0185] In some embodiments, when multiple live tasks are being carried out simultaneously on the electronic device 700, when the electronic device 700 is in the lock screen state, multiple live notifications corresponding to the multiple live tasks are stacked and displayed in the form of capsules. The most recently refreshed live notification can be displayed at the top of the stacked notifications, or the most timely live notification can be displayed at the top of the stacked notifications, or multiple live notifications can be displayed in turn at the top of the stacked notifications. This application does not limit this.
[0186] In some embodiments, the user can switch between multiple stacked capsule notifications by swiping left or right.
[0187] In one example, when the user slides to the left at the music notification location on the interface as shown in (a) in Figure 7, the display interface of the electronic device can switch to the interface as shown in (b) in Figure 7, thereby completing the switch from music notification to navigation notification.
[0188] In some embodiments, when the task process corresponding to the notification ends, the notification displayed on the lock screen page also disappears accordingly.
[0189] In one example, the music task, navigation task, exercise recording task and recording task on the electronic device 700 are carried out simultaneously. When the electronic device 700 is in the lock screen state, a capsule notification is displayed at the bottom of the lock screen page of the electronic device 700. The capsule notification can be a music notification, a navigation notification, an exercise notification and a recording notification displayed in turn, or the latest refreshed live notification can be displayed at the top. For example, the current display interface of the electronic device 700 is shown in (a) of Figure 7. When the navigation task is refreshed, the display interface of the electronic device 700 is switched to that shown in (b) of Figure 7; 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 also disappears accordingly.
[0190] In some embodiments, multiple concurrent capsule notifications may also be displayed simultaneously on the lock screen of the electronic device, or some of them may be displayed simultaneously on the lock screen of the electronic device.
[0191] 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.
[0192] It should be noted that the embodiments of the present application are described using the example of the screen of the electronic device being located on the lock screen page. In some embodiments, the screen of the electronic device may also be located on the desktop.
[0193] For example, FIG8 shows a schematic diagram of displaying card-state notifications in several different scenarios provided by an embodiment of the present application.
[0194] (a) in Figure 8 shows a music notification presented in a card state on the lock screen page provided by an embodiment of the present application. As shown in (a) in Figure 8, the music notification presented in a card state is located in the middle area of the lock screen page of the electronic device 800. The music notification presented in a card state may, for example, include a music source icon, a main text, a sub-text, one or more quick operation buttons, etc. Compared with the music notification presented in a capsule state, the music notification presented in a 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 more quick operations are supported. For example, in addition to the play / pause operation, song switching operations, collection operations, lyrics display operations, etc. can also 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.
[0195] (b) in Figure 8 shows a navigation notification presented in a card state on the lock screen page provided by an embodiment of the present application. As shown in (b) in Figure 8, the navigation notification presented in a card state is located in the middle area of the lock screen page of the electronic device 800. The navigation notification presented in a card state may, for example, include a navigation main image, main text, sub-text, one or more quick operation buttons, etc. Compared with the navigation notification presented in a capsule state, the navigation notification presented in a card state can display richer notification information. For example, the display space of the main text and 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 in the form of a card list at the same time as the non-live notifications (for example: message notifications, phone notifications, email notifications, etc.) received by the electronic device 800 during the lock screen period.
[0196] (c) in Figure 8 shows a train dynamic notification presented in a card state on the lock screen page provided by an embodiment of the present application. As shown in (c) in Figure 8, the train dynamic notification presented in a card state is located in the middle area of the lock screen page of the electronic device 800. The train dynamic notification presented in a card state may, for example, include a train icon, the main text "Train Ticket Reminder", the sub-text "Ticket Gate 6B Seat 03 Car 12F", timetable information, etc. Compared with the train dynamic notification presented in a capsule state, the train dynamic notification presented in a 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.
[0197] In some embodiments, when multiple live tasks are being carried out simultaneously on the electronic device 800, when the electronic device 800 is in the lock screen state and the live notification is presented in card form, 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. This application does not limit this.
[0198] In some embodiments, the user can switch between multiple stacked card-state notifications by swiping left or right.
[0199] In one example, when the user slides to the left at the music notification location on the interface as shown in (a) in Figure 8, the display interface of the electronic device can switch to the interface as shown in (b) in Figure 8, thereby completing the switch from music notification to navigation notification.
[0200] In some other embodiments, when multiple live tasks are carried out simultaneously on the electronic device 800, when the electronic device 800 is in the lock screen state and the live notification is presented in the 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. This application does not limit this.
[0201] In some embodiments, when the task process corresponding to the notification ends, the notification displayed on the lock screen page also disappears accordingly.
[0202] In one example, the music task, navigation task and train dynamic task on the electronic device 800 are carried out 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 current display interface of the electronic device 800 is shown in (a) in Figure 8. When the navigation task is refreshed, the display interface of the electronic device 800 is switched to that shown in (b) in Figure 8; when the train 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.
[0203] (d) in Figure 8 shows a delivery progress notification and a schedule progress notification presented in a card state on the lock screen page provided by an embodiment of the present application. As shown in (d) in Figure 8, the delivery progress notification and the schedule progress notification presented in a 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 a card state can, for example, include a delivery icon, the main text "The rider has accepted the order", the sub-text "The rider is 300m away from the merchant | Will deliver at 12:50", the total mileage information, etc.; the schedule progress notification presented in a card state includes the event icon, the main text "Group stage", the 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 at the same time as the non-live notifications (for example: message notifications, phone notifications, email notifications, etc.) received by the electronic device 800 during the lock screen period.
[0204] In some embodiments, when multiple live tasks are being carried out 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. This application does not limit this; another part of the multiple live tasks may be displayed non-overlappingly, but multiple notification cards may be displayed on the lock screen page in the form of a card list in the order of refresh.
[0205] In one example, when the timeliness of live notifications is extremely important (such as sports dynamic tasks, etc.), they may not be displayed in a stacked manner.
[0206] 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.
[0207] For example, based on the embodiment shown in FIG8 , FIG9 shows a schematic diagram of an interface corresponding to viewing card status notifications provided in an embodiment of the present application.
[0208] As shown in (a) of Figure 9, the screen of the electronic device 800 is on the lock screen page, on which the live music notification card and multiple non-live notifications "message notifications, phone notifications, 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 performs an upward sliding operation on the lock screen page shown in (a) of Figure 9, the lock screen page of the electronic device 800 switches to the page shown in (b) of Figure 9, in which the live music notification card is slid up to the outside of the display area and hidden, and the non-live notifications "sports health notifications, smart life notifications" are slid up to the display area and displayed; on this basis, when the user performs an upward sliding operation again, the lock screen page of the electronic device 800 switches to the page shown in (c) of Figure 9, in which the message notification is slid up to the outside of the display area and hidden, and the non-live notification "Huawei video notification" received earlier is slid up to the display area and displayed.
[0209] For example, FIG10 shows a schematic diagram of displaying immersive notifications in several different scenarios provided by an embodiment of the present application.
[0210] (a) in Figure 10 shows a music notification presented in an immersive state on the lock screen page provided by an embodiment of the present application. As shown in (a) in Figure 10, the music notification presented in an immersive state is presented in full screen form on 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 length of the music, the length of time the music has been played, the length of time the music has not been 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.
[0211] 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, 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.
[0212] (b) in Figure 10 shows a navigation notification presented in an immersive state on the lock screen page provided by an embodiment of the present application. As shown in (b) in Figure 10, the navigation notification presented in an immersive state is presented in full screen form on 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.
[0213] (c) in Figure 10 shows a motion notification presented in an immersive state on the lock screen page provided by an embodiment of the present application. As shown in (c) in Figure 10, the motion notification presented in an immersive state is presented in full screen form on 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 map, and supports more key shortcut operations, such as zooming in or out of the real-time motion trajectory map. 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.
[0214] (d) in Figure 10 shows a recording notification presented in an immersive state on the lock screen page provided by an embodiment of the present application. As shown in (d) in Figure 10, the recording notification presented in an immersive state is presented in full screen form on the lock screen page of the electronic device 1000. Compared with the recording notification presented in a card state, the recording 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.
[0215] In some embodiments, when multiple live tasks are being carried out simultaneously on the electronic device 1000, when the electronic device 1000 is in the lock 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 can be displayed on the top layer, or the most timely live notification can be displayed on the top layer, or multiple live notifications can be displayed on the top layer in turn. This application does not limit this.
[0216] In some embodiments, when the task process corresponding to the notification ends, the notification displayed on the lock screen page also disappears accordingly.
[0217] In one example, the music task, navigation task, exercise recording task and recording task on the electronic device 1000 are carried out simultaneously. When the electronic device 1000 is in the lock 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 exercise notification and a 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 shown in (a) of Figure 10. When the navigation task is refreshed, the display interface of the electronic device 1000 is switched to that shown in (b) of Figure 10; 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 also disappears accordingly.
[0218] In some other embodiments, when multiple live tasks are being carried out simultaneously on the electronic device 1000, and when the electronic device 1000 is in the lock 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 sliding left or right on the screen.
[0219] For example, in conjunction with FIG11 , the display page of the immersive notification provided in the embodiment of the present application is introduced in detail.
[0220] As shown in (a) in Figure 11, 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. 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.
[0221] 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.
[0222] Regarding the immersive lock screen wallpaper, in some embodiments, it is possible to support the use of a visual application process page as the 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 accessed to the immersive lock screen wallpaper, the immersive lock screen wallpaper appears in a blurred background state.
[0223] In some other examples, the lock screen wallpaper of the electronic device 1100 can be supported as an immersive lock screen wallpaper.
[0224] As shown in (b) in Figure 11, 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 process page and a source application icon, wherein the live card content can be the same as the content when the navigation live notification is displayed in a card state, for example, it can display the current navigation instructions, estimated arrival time, navigation time, remaining kilometers and other information, and can provide one or more quick operation entrances; the visual application process page can, for example, display the real-time navigation route, that is, map information; the source application icon can, for example, be a "petal map" icon; the immersive lock screen wallpaper can, for example, be the lock screen wallpaper of the electronic device 1100, and can also be a real-time navigation route page.
[0225] 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 showing the real-time delivery track.
[0226] 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 users do not need to unlock to enter the application, and can directly obtain the details of the live task progress in a more immersive effect through the lock screen page.
[0227] In order to more clearly understand the process of switching notifications between different presentation forms, the following, by way of example, in combination with Figures 12 to 14, introduces the interface schematic diagrams corresponding to the process of switching notifications between different presentation forms provided in the embodiments of the present application.
[0228] For example, FIG12 shows a schematic diagram of an interface corresponding to the process of switching between the capsule state and the card state of a notification provided by an embodiment of the present application.
[0229] As shown in (a) in Figure 12, the screen of the electronic device 1200 is on the lock screen page, and a music notification displayed in 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 on the main and sub text areas in the capsule notification (the dotted gesture operation shown in (a) in Figure 12) to expand the music notification from a capsule state to a card state. At this time, the lock screen page of the electronic device 1200 is shown in (b) in Figure 12. After expansion In the lock screen page, music notifications presented in card state and other non-live notifications (which can also be described as lock screen notifications) received by the electronic device 1200 during the lock screen period are displayed together in the form of a card list; when the user wants to collapse the music notifications presented in card state to be presented in capsule state, the user can perform the operation of sliding the card list to the top and then continue to slide down on the lock screen page as shown in (b) in Figure 12 to collapse the music notifications from being presented in card state to being presented in capsule state, or the user can perform a side back operation on the lock screen page as shown in (b) in Figure 12 to collapse the music notifications from being presented in card state to being presented in capsule state. At this time, the lock screen page of the electronic device 1200 is shown in (c) in Figure 12.
[0230] It should be understood that the above method of expanding a notification from a capsule state to a card state is only an example. A notification can also be expanded from a capsule state to a card state in any other possible way, such as clicking the source icon of a music notification card, etc. This application does not limit this.
[0231] It should be understood that the above-mentioned method of collapsing the notification from the card state to the capsule state is only an example. 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.
[0232] Exemplarily, FIG13 shows a schematic diagram of an interface corresponding to the process of switching between a card state and an immersive state of a notification provided by an embodiment of the present application.
[0233] As shown in (a) of Figure 13, the screen of the electronic device 1300 is on the lock screen page. On the lock screen page, a music notification displayed in a 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 expand the music notification from a card state to an immersive state by clicking the main image or source icon in the music notification card on the lock screen page, or the user can long press the music notification card to The music notification is expanded from a card-like presentation to an immersive presentation, and the lock screen page of the electronic device 1300 is shown in (b) of Figure 13; when the user wishes to collapse the music notification presented in the immersive state to a card-like presentation, the user can click on the blank area outside the notification on the lock screen page as shown in (b) of Figure 13 to collapse the music notification from an immersive presentation to a card-like presentation, or the user can use the side back operation to collapse the music notification from an immersive presentation to a card-like presentation, and the lock screen page of the electronic device 1300 is shown in (c) of Figure 13.
[0234] 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 an embodiment of the present application, the background of the lock screen page shown in (a) in Figure 13 is the original lock screen background, the background of the lock screen page shown in (b) in Figure 13 is switched to a background adapted to the immersive music notification, and the background of the lock screen page shown in (c) in Figure 13 is restored to the original lock screen background.
[0235] It should be understood that the above method of expanding the notification from the card state to the immersive state is only an example. 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.
[0236] 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. 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. This application does not limit this.
[0237] For example, FIG14 shows a schematic diagram of an interface corresponding to the process of switching between the capsule state and the immersive state of the notification provided in an embodiment of the present application.
[0238] As shown in (a) of Figure 14, the screen of the electronic device 1400 is 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 focus on the music notification) to the greatest extent or the user wants to perform multiple operations on the lock screen page, the user can long press the music notification on the lock screen page to expand the music notification from a capsule state to an immersive state, or the user can click the main image or source icon in the capsule notification to expand the music notification from a capsule state to an immersive state. The music notification can be turned on to be presented in an immersive state, and the lock screen page of the electronic device 1400 is shown in (b) of Figure 14; when the user wants to collapse the music notification presented in an immersive state to be presented in a capsule state, the user can perform a side rollback operation on the lock screen page as shown in (b) of Figure 14 to collapse the music notification from being presented in an immersive state to being presented in a capsule state, or the user can collapse the music notification from being presented in an immersive state to being presented in a capsule state by clicking on a blank space outside the music notification card, and the lock screen page of the electronic device 1400 is shown in (c) of Figure 14.
[0239] It should be understood that the above method of expanding the notification from the capsule state to the immersive state is only an example. 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.
[0240] 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. 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. This application does not limit this.
[0241] In the embodiment of the present application, notification tasks can be quickly switched between 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.
[0242] Exemplarily, FIG15 shows an interface diagram corresponding to switching from an immersive notification display interface to a card list display interface provided in an embodiment of the present application.
[0243] As shown in (a) of Figure 15, the screen of the electronic device 1500 is 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 notifications received is 3; when the user wants to view the lock screen notification 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 (b) of Figure 15 by sliding up on the lock screen page, or the user can switch the lock screen page of the electronic device 1500 to As shown in the lock screen page in (b) of Figure 15, 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 card displayed on the page; when the user wants to exit the current card list display format, hide 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 page shown in (c) of Figure 15, or the user can perform a downward sliding operation on the lock screen page as shown in (b) of Figure 15, and the lock screen page of the electronic device 1500 is switched to the page shown in (c) of Figure 15, in which the lock screen notification is hidden.
[0244] 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 an embodiment of the present application, the background of the lock screen page shown in (b) in Figure 15 is the same as the background of the lock screen page shown in (a) in Figure 15.
[0245] In the embodiment of the present application, it is possible to call out a card state notification from the immersive state notification while the immersive state background remains unchanged, which can give the user a stronger immersive experience visually.
[0246] For example, FIG16 shows 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.
[0247] As shown in (a) in Figure 16, the current screen of the electronic device 1600 is 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 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 mom "Are you going home for dinner tonight?" (as shown in (b) in Figure 16).
[0248] 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.
[0249] For example, in parallel with the embodiment shown in FIG16 , FIG17 shows 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.
[0250] As shown in (a) in Figure 17, 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 (as shown in (b) in Figure 17).
[0251] 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.
[0252] In an embodiment of the present application, when the electronic device is in the 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 the form of a capsule, 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.
[0253] For example, in parallel with the embodiments shown in FIG. 16 and FIG. 17 , FIG. 18 shows 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.
[0254] As shown in (a) of Figure 18, the current screen of the electronic device 1800 is on the lock screen page, and applications such as the Changlian application, phone 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, phone 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, phone application, and email application have been received; on this basis, the user can switch the lock screen page of the electronic device 1800 to that shown in (b) of Figure 18 by sliding up on the screen of the electronic device 1800 or clicking on an icon. 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 the 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 slide up on the lock screen page shown in (b) of Figure 18 to browse the lock screen notification received earlier (as shown in (c) of Figure 18).
[0255] In some embodiments, the lock screen page of the electronic device can also be returned from the page shown in (b) in Figure 18 to the page shown in (a) in Figure 18 through a specific gesture operation (for example: a side back operation or a swipe down operation on the screen).
[0256] In an embodiment of the present application, when the electronic device is in the lock screen state and there is no live task 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 sliding on the lock screen or clicking on the icon to expand the card list 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.
[0257] For example, taking the electronic device as a tablet as an example, FIG19 shows a schematic diagram of 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.
[0258] Figure 19 (a) shows a schematic diagram of the interface of a music notification displayed in a capsule state on the lock screen page of tablet 1900; Figure 19 (b) shows a schematic diagram of the interface of a music notification displayed in a card state on the lock screen page of tablet 1900; Figure 19 (c) shows a schematic diagram of the interface of a music notification displayed in an immersive state on the lock screen page of tablet 1900; as shown in Figures 19 (a), 19 (b) and 19 (c), compared with live notifications displayed on the lock screen page of a mobile phone, the size of live notifications displayed on the lock screen page of tablet 1900 can be horizontally extended to adapt to the display area of tablet 1900. Moreover, since the display space of live notifications is larger, live notifications displayed on tablet 1900 can show more notification content, and their display position, display element form, etc. can automatically adapt to the display screen of tablet 1900.
[0259] In the embodiment 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 displayed 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 live notifications and allowing users to have a good user experience on different electronic devices.
[0260] Below, by way of example, with reference to FIG. 20 and FIG. 21 , a flow chart corresponding to the method for displaying notifications provided in an embodiment of the present application is introduced.
[0261] For example, FIG20 shows a schematic flowchart of a method 2000 for displaying a notification provided in an embodiment of the present application. As shown in FIG20 , the method 2000 includes:
[0262] 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.
[0263] 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.
[0264] 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.
[0265] 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.
[0266] 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 on the lock screen page.
[0267] 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.
[0268] 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-to-one to the multiple live task processes are stacked and displayed on the lock screen page of the first electronic device.
[0269] The stacking display method may be that the most recently updated first notification is displayed at the top of the stacked notifications.
[0270] 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.
[0271] 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.
[0272] 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 information about the first live task process presented in the second notification is more than the information about the first live task process presented in the first notification, and / or the second notification supports more shortcut operation items than the first notification.
[0273] 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 screen area of the first electronic device and less than 1 / 3 of the display screen area of the first electronic device.
[0274] In some embodiments, the second notification is displayed in the middle area of the lock screen page of the first electronic device.
[0275] In some embodiments, the user's first operation can be any one of the following operations: the user performs an upward sliding operation 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 can also be other gesture operations, such as gesture operations preset by the user, which is not limited in this application.
[0276] 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 obtained by expanding the first notification, and the second notification is presented in a card state.
[0277] In some embodiments, when there are multiple live task processes on a first electronic device, multiple second notifications corresponding one-to-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 another part of the second notifications are expanded and displayed in the form of a card list on the lock screen page of the first electronic device.
[0278] 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.
[0279] In some embodiments, when multiple second notifications are displayed in a stack, the user can switch the display between the multiple second notifications by swiping left or right.
[0280] 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.
[0281] S2003: In response to the user's second operation, 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.
[0282] Among them, the presentation method of the third notification in full screen display 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 an 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 information about the first live task process presented by the third notification is more than the information about the first live task process presented by the second notification, and / or the third notification supports more shortcut operation items than the second notification.
[0283] 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.
[0284] In some embodiments, the user's second operation can be any one of the following operations: the user clicks on the main image area of the second notification on the lock screen page displaying the second notification; the user long presses the second notification on the lock screen page displaying the second notification; 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.
[0285] 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, and 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.
[0286] 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.
[0287] 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.
[0288] In some embodiments, the user's fourth operation can be any one of the following operations: the user performs a downward sliding operation 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.
[0289] 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.
[0290] 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, for example, switch the display between multiple third notifications by swiping left or right.
[0291] 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, the 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.
[0292] In an embodiment of the present application, a method for presenting notification tasks 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, the personalized effect of the lock screen can be fully presented to a greater extent, 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.
[0293] For example, FIG21 shows a schematic flowchart of another method 2100 for displaying a notification provided in an embodiment of the present application. As shown in FIG21 , the method 2100 includes:
[0294] 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.
[0295] The explanation of this step is the same as that of S2001 in the embodiment shown in FIG20 , and will not be repeated here for the sake of brevity.
[0296] 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.
[0297] Among them, the explanation of the first notification and the third notification has been described in detail in the embodiment shown in Figure 20, and for the sake of brevity, it will not be repeated here.
[0298] In some embodiments, the user's third operation can be any one of the following operations: the user clicks on the main image area of the first notification on the lock screen page displaying the first notification; the user long presses the first notification on the lock screen page displaying the first notification; in addition, the user's third operation can also be other operations, such as a gesture operation preset by the user, which is not limited in this application.
[0299] 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.
[0300] In the embodiment of the present application, it is possible to switch notifications between the capsule state and the immersive state, which can further meet the user's notification display demands in different scenarios.
[0301] For example, FIG22 shows a functional module diagram of a device 2200 for displaying notifications provided in an embodiment of the present application. As shown in FIG22 , the device 2200 includes:
[0302] The detection module 2201 is configured 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.
[0303] 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 first live task process exists on the first electronic device and the state of the first electronic device is switched to the lock screen state. The first notification is presented in a capsule state.
[0304] 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.
[0305] Among them, the explanation of the first notification has been described in detail in the embodiment shown in Figure 20, and for the sake of brevity, it will not be repeated here.
[0306] The display module 2202 is also used to: 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, stack and display multiple first notifications corresponding to the multiple live task processes on the lock screen page of the first electronic device.
[0307] The stacking display method may be that the most recently updated first notification is displayed at the top of the stacked notifications.
[0308] The display module 2202 is also used to: in response to the first operation performed by the user on the display page of the first notification, display the 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 the expanded state of the first notification.
[0309] Among them, the explanation of the second notification has been described in detail in the embodiment shown in Figure 20, and for the sake of brevity, it will not be repeated here.
[0310] The explanation of the user's first operation has been described in detail in the embodiment shown in FIG. 20 , and will not be repeated here for the sake of brevity.
[0311] 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 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.
[0312] The display module 2202 is further configured 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.
[0313] The display module 2202 is further configured 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.
[0314] Among them, the explanation of the third notification has been described in detail in the embodiment shown in Figure 20, and for the sake of brevity, it will not be repeated here.
[0315] The explanation of the second operation of the user has been described in detail in the embodiment shown in FIG. 20 , and will not be repeated here for the sake of brevity.
[0316] The display module 2202 is further configured 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.
[0317] Among them, the explanation of the third operation of the user has been described in detail in the embodiment shown in Figure 21, and for the sake of brevity, it will not be repeated here.
[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 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.
[0319] 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.
[0320] 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.
[0321] Among them, the explanation of the fourth operation of the user has been described in detail in the embodiment shown in Figure 20, and for the sake of brevity, it will not be repeated here.
[0322] 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 the 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.
[0323] The detection module 2201 is further configured to detect the user's first operation, second operation, third operation, or fourth operation.
[0324] 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 that the personalized effect of the lock screen is fully presented to a greater extent, 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.
[0325] One or more of the modules or units described herein can be implemented in software, hardware, or a combination of the two. When any of the above modules or units is 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, etc., a computing device that runs 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 for executing software instructions to perform operations or processing within the processor, it may further include necessary hardware accelerators, such as a field programmable gate array (FPGA), a PLD (programmable logic device), or a logic circuit that implements dedicated logic operations.
[0326] 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 not rely on the software to execute the above method flow.
[0327] 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 can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can 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 can be transmitted from a website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium can 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)).
[0328] Those skilled 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 beyond the scope of this application.
[0329] Those skilled in the art will 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.
[0330] In the several embodiments provided in this 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 merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, 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.
[0331] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0332] 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.
[0333] 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, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method 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.
[0334] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. A method for displaying notifications, characterized in that, The method includes: When there is a first live task process on the first electronic device and the state of the first electronic device switches to the locked screen state, a first notification corresponding to the first live task process is displayed on the locked screen page of the first electronic device, and the first notification is presented in a capsule state; In response to a first operation by the user, the first notification displayed on the locked 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 by the user, the second notification displayed on the locked screen page of the first electronic device is expanded into a third notification, and the third notification is full-screen displayed on the locked screen page of the first electronic device.
2. The method according to claim 1, characterized in that, The method further includes: In response to a third operation by the user, the first notification displayed on the locked screen page of the first electronic device is expanded into the third notification.
3. The method according to claim 2, wherein The method further includes: In response to a fourth operation performed by the user on the display page of the third notification, the third notification displayed on the locked screen page of the first electronic device is collapsed into the first notification.
4. The method according to claim 1, wherein The method further 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 locked 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 locked 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 5, characterized in that, The second notification supports more quick operation items than the first notification, and the third notification supports more quick operation items than the second notification.
7. The method according to any one of claims 1 to 6, characterized in that The method further includes: When there are multiple first live task processes on the first electronic device and the state of the first electronic device switches to the locked screen state, multiple first notifications corresponding to the multiple first live task processes are stacked and displayed on the locked screen page of the first electronic device.
8. The method according to any one of claims 1 to 7, characterized in that The method further includes: When there are multiple first live task processes on the first electronic device, multiple second notifications corresponding to the multiple first live task processes are expanded and displayed in the form of a card list on the locked screen page of the first electronic device.
9. The method according to claim 8, characterized in that, The card list includes non-live notification cards received by the first electronic device in the locked screen state.
10. The method according to any one of claims 1 to 9, characterized in that, The method further includes: When there are multiple first live task processes on the first electronic device, through the switching operation of the user, the display switching between multiple third notifications corresponding to the multiple first live task processes is triggered.
11. The method according to claim 10, wherein The switching operation includes: an operation of the user swiping left on the display page of the third notification, or an operation of the user swiping right on the display page of the third notification.
12. The method according to claim 10 or 11, characterized in that, When the screen of the first electronic device is 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. The icon is used to remind the user that the first message has been received and also used to provide the user with an entry for viewing the first message.
13. The method according to any one of claims 1 to 12, characterized in that The method includes: In the case where there is no live task process on the first electronic device, when the first electronic device receives a first message in the locked screen state, a first message notification corresponding to the first message is displayed on the locked screen page of the first electronic device, and the first message notification is presented in a capsule state.
14. The method according to any one of claims 1 to 13, characterized in that, The first operation includes: an operation of the user swiping up on the locked screen page displaying the first notification, or an operation of the user clicking on the text area of the first notification on the locked screen page displaying the first notification.
15. The method according to any one of claims 1 to 14, characterized in that, The second operation includes: an operation of the user clicking on the main picture area of the second notification on the locked screen page displaying the second notification, or an operation of the user long-pressing the second notification on the locked screen page displaying the second notification.
16. The method according to any one of claims 1 to 15, characterized in that, The third operation includes: an operation of the user clicking on the main picture area of the first notification on the locked screen page displaying the first notification, or an operation of the user long-pressing the first notification on the locked screen page displaying the first notification.
17. The method according to claim 3, characterized in that The fourth operation includes: an operation of the user swiping down on the locked screen page of the first electronic device, an operation of the user clicking on the blank area on the locked screen page of the first electronic device, or an operation of the user performing a side-back on the locked screen page of the first electronic device.
18. An electronic device, characterized in that, Includes: 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 according to any one of claims 1 to 17.
19. A computer-readable storage medium, characterized in that, A program or instructions are stored in the storage medium, and when the program or instructions are run, the method according to any one of claims 1 to 17 is implemented.
20. A chip, characterized in that, Instructions are stored in the chip, and when the instructions are run, the method according to any one of claims 1 to 17 is implemented.
21. A computer program product, characterized in that, A program or instructions are stored in the computer program product, and when the program or instructions are run, the method according to any one of claims 1 to 17 is implemented.
Citation Information
Patent Citations
Method and electronic device for displaying notifications
CN119110019A
Notification display method and electronic equipment
CN113741781A
Display method and device thereof
CN115237313A
Card display method, electronic equipment and readable storage medium
CN117273830A
Notification display method and apparatus based on scenario
WO2022247326A1