Notification display method and electronic device

By stacking and displaying notifications in the status bar of electronic devices and sorting them according to priority and importance, the problem of users having difficulty paying attention to important notifications in a timely manner is solved, the timeliness and reminder effect of notifications are improved, and the display space is saved.

WO2024217094A1PCT designated stage expired Publication Date: 2024-10-24HUAWEI TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/073118
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-07-26
Filing Date
2024-01-18
Publication Date
2024-10-24

AI Technical Summary

Technical Problem

Due to the large number of notifications in electronic devices, it is difficult for users to pay attention to timely notifications in a timely manner, and too many invalid notifications interfere with the acquisition of effective notifications.

Method used

By displaying multiple notifications in a stacked form in the status bar, the display priority is determined according to the sorting rules to ensure that high priority or important notifications are displayed in a timely manner, and when the display space is insufficient, some notifications are hidden or stacked to avoid users Miss important notifications.

Benefits of technology

It effectively solves the problem of users' difficulty in paying attention to important notifications in a timely manner, saves status bar display space, improves the timeliness and reminder effect of notifications, and avoids the interference of useless notifications to users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024073118_24102024_PF_FP_ABST
    Figure CN2024073118_24102024_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of terminals, and provides a notification display method and an electronic device. The electronic device provided by the present application supports displaying indication information of a plurality of notifications in a status bar in a stacked form, so as to satisfy the display requirements for a plurality of live notifications. The method comprises: an electronic device displays a first interface, wherein the first interface comprises a status bar located at the top; and the electronic device displays indication information of at least two notifications in the status bar in a stacked form, wherein the indication information of the at least two notifications comprises indication information of a first notification and indication information of a second notification, the stacked form comprises the indication information of the first notification partially overlapping or completely overlapping the indication information of the second notification, or the indication information of the second notification partially overlapping or completely overlapping the indication information of the first notification.
Need to check novelty before this filing date? Find Prior Art

Description

Notification display method and electronic device

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on April 20, 2023, with application number 202310460548.3 and application name “A method, device and equipment for live notification”, and the Chinese patent application filed with the State Intellectual Property Office on July 26, 2023, with application number 202310945845.7 and application name “Notification display method and electronic device”, all contents of which are incorporated by reference into this application. Technical Field

[0002] The embodiments of the present application relate to the field of terminal technology, and in particular to a notification display method and electronic device. Background Art

[0003] With the advancement of terminal technology, electronic devices (such as mobile phones and tablets) are increasingly equipped with applications. These applications can generate various types of notifications to indicate relevant content within the application. For example, a food delivery application might generate multiple notifications after a user places an order, as the order progresses. The electronic device can display these notifications to help the user understand the order's progress.

[0004] However, due to the large number of notifications, it is difficult for users to pay attention to some time-sensitive notifications. If notifications are displayed for a while before users notice them, they become invalid information, and the backlog in the notification center will interfere with users receiving other valid notifications.

[0005] Summary of the Invention

[0006] To solve the above technical problems, the present application provides a notification display method and electronic device. The technical solution provided by the present application supports the electronic device to display multiple notification indication information in a stacked form in the status bar to meet the display requirements of multiple live notifications.

[0007] In order to achieve the above technical objectives, this application provides the following technical solutions:

[0008] In a first aspect, a notification display method is provided, applicable to an electronic device. The method includes: displaying a first interface, the first interface including a status bar at the top. Displaying indication information of at least two notifications in a stacked form in the status bar, the indication information of the at least two notifications including indication information of the first notification and indication information of the second notification, wherein the stacked form includes the indication information of the first notification partially or completely covering the indication information of the second notification, or the indication information of the second notification partially or completely covering the indication information of the first notification.

[0009] In this way, by stacking and displaying multiple notifications in the status bar, the display space of the status bar is saved while ensuring that the user can find the notifications in time.

[0010] According to the first aspect, before displaying the indication information of at least two notifications in the status bar in a stacked form, the method also includes: determining, according to a sorting rule, that the stacking form of the indication information of at least two notifications is that the indication information of the first notification partially covers or fully covers the indication information of the second notification, or that the indication information of the second notification partially covers or fully covers the indication information of the first notification.

[0011] In this way, the display priorities of different notifications are determined according to the sorting rules, thereby ensuring that notifications with higher display priorities are displayed first, thereby ensuring that users can view these notifications with higher display priorities in a timely manner.

[0012] According to the first aspect, or any implementation of the first aspect above, the sorting rules include one or more of the following rules: the creation time of the notification, the update time of the notification, the importance of the notification, the priority of the notification, the historical data of the user viewing the notification, or the notification order manually set by the user.

[0013] According to the first aspect, or any implementation method of the first aspect above, when the sorting rule is the update time of the notification, if the update time of the first notification is later than the update time of the second notification, the stacking form is determined to be that the indication information of the first notification partially covers or completely covers the indication information of the second notification; if the update time of the second notification is later than the update time of the first notification, the stacking form is determined to be that the indication information of the second notification partially covers or completely covers the indication information of the first notification.

[0014] In this way, the electronic device displays the most recently updated notification according to the update time of the notification, thereby ensuring that the user can view the most recently updated notification in a timely manner.

[0015] In other examples, when the sorting rule is the importance of notifications, if the importance of the first notification is greater than or equal to the importance of the second notification, the stacking form is determined to be that the indication information of the first notification partially covers or completely covers the indication information of the second notification. If the importance of the first notification is less than or equal to the importance of the second notification, the stacking form is determined to be that the indication information of the second notification partially covers or completely covers the indication information of the first notification.

[0016] Optionally, the electronic device determines the importance of the notification based on the importance of the application generating the notification. For example, some important applications, such as the call application, may be preset. Then, after receiving a notification from the call application, the electronic device may determine that the notification from the call application is more important than the notification currently displayed in the status bar, and the notification from the call application may partially or completely overwrite the notification currently displayed in the status bar.

[0017] Alternatively, the electronic device determines the importance of the notification based on the notification type. For example, notifications generated by applications of a preset application type are more important, or notifications generated by node updates (such as various nodes in a food delivery process) are more important.

[0018] In this way, the electronic device displays more important notifications according to the importance of the notifications, thereby ensuring that the user can view the more important notifications in a timely manner.

[0019] In other examples, when the sorting rule is the priority of the notification, if the priority of the first notification is higher than or equal to the priority of the second notification, the stacking form is determined to be that the indication information of the first notification partially covers or completely covers the indication information of the second notification; if the priority of the first notification is lower than or equal to the priority of the second notification, the stacking form is determined to be that the indication information of the second notification partially covers or completely covers the indication information of the first notification.

[0020] Optionally, the electronic device may preset a priority order of notifications of different types of applications, a priority order of different types of notifications, and the like.

[0021] In this way, the electronic device displays notifications with higher priorities according to the priorities of the notifications, thereby ensuring that the user can view the notifications with higher priorities in a timely manner.

[0022] According to the first aspect, or any implementation of the first aspect above, when the indication information of the first notification partially overlaps the indication information of the second notification, and a change in the content of the second notification is detected, the stacking format is updated so that the indication information of the second notification partially overlaps or completely overlaps the indication information of the first notification. When the indication information of the second notification partially overlaps the indication information of the first notification, and a change in the content of the first notification is detected, the stacking format is updated so that the indication information of the first notification partially overlaps or completely overlaps the indication information of the second notification.

[0023] According to the first aspect, or any implementation of the first aspect above, within a preset time after the stacking form is updated for the Nth time, the stacking form is updated for the N+1th time, so that the stacking form returns to the state before the Nth update, where N is a positive integer.

[0024] For example, an electronic device displays the indication information of a first notification and the indication information of a second notification in a stacked form in a status bar, wherein the indication information of the first notification partially or completely covers the indication information of the second notification. Afterwards, the electronic device determines that the content of the second notification has changed and the stacking form needs to be updated for the first time, then the electronic device may make the indication information of the second notification partially or completely cover the indication information of the first notification. Afterwards, within a preset time, the electronic device still needs to display the indication information of the first notification and the indication information of the second notification, and determines that the content of the first notification has changed and the stacking form needs to be updated for the second time, then the electronic device may make the stacking form return to the state before the first update, such as making the indication information of the first notification partially or completely cover the indication information of the second notification.

[0025] In this way, the electronic device adjusts the display order of multiple live notifications that have been displayed according to changes in the live notifications, thereby ensuring the timeliness of the display of the live notifications and preventing the user from missing important live notifications.

[0026] Furthermore, if display space is insufficient, electronic devices can temporarily hide or stack some notifications so that users can view them later. Furthermore, live notifications are more timely and update more quickly, so hiding or stacking some notifications can help prevent users from missing them.

[0027] According to the first aspect, or any implementation method of the first aspect above, indication information of at least two notifications is displayed in a top status bar in a stacked form, including: when it is detected that a first preset condition corresponding to the first notification is met or when it is detected that a second preset condition corresponding to the second notification is met, the indication information of the first notification or the indication information of the second notification is displayed in the top status bar.

[0028] According to the first aspect, or any implementation of the first aspect above, the first preset condition or the second preset condition includes the arrival of a predetermined time, or the content of the first notification or the second notification is substantially updated.

[0029] For example, after the electronic device determines that a live notification has been received, it displays the live notification in a status bar.

[0030] For another example, if event A, which generates a live notification, is a scheduled event, the electronic device can display the live notification of event A based on the actual time of event A. For example, if event A is a high-speed rail ticket booking event, and if the high-speed rail ticket booking event occurs 5 days before the actual departure time, the electronic device can determine that the live notification of event A is a scheduled live notification based on the actual departure time. Therefore, the electronic device can display the live notification of event A at a delayed time. If the preset rule is to display the live notification corresponding to the ticket information 3 hours before the actual departure, the electronic device will determine the time to display the live notification to be after (T1-T2) based on the actual departure time T1 and the advance time T2.

[0031] For another example, the electronic device may notify after determining that the content of the notification has been substantially updated, such as updated content generated after reaching a preset node.

[0032] In this way, while ensuring that users check notifications in a timely manner, too many useless notifications will not affect users.

[0033] According to the first aspect, or any implementation of the first aspect above, the method further includes: displaying an interface of the first application. In response to a user operation on indication information of at least two notifications displayed in a stacked form, detailed information of the first notification and / or detailed information of the second notification are displayed in a suspended form on the interface of the first application.

[0034] According to the first aspect, or any implementation of the first aspect above, the detailed information is carried in the form of a card.

[0035] This allows users to display notifications in a simple status bar with a capsule or in detailed form with a card, depending on their needs. This streamlined interface and lightweight display make it easier for users to maintain their tasks in different scenarios.

[0036] According to the first aspect, or any implementation of the first aspect above, the method further includes: ceasing to display indication information of at least two notifications in the top status bar. If a first operation is received with respect to the detailed information of the first notification or the detailed information of the second notification, in response to the first operation, displaying a functional interface of the application that sent the first notification or the second notification, the functional interface being related to the first notification or the second notification.

[0037] Alternatively, if a second operation is received, in response to the second operation, the detailed information of the first notification and / or the detailed information of the second notification is stopped from being displayed, and indication information of at least two notifications is displayed.

[0038] In this way, when using other applications or browsing the desktop, users can follow the event process based on the status bar capsule information. Optionally, if the user needs to know more detailed information, they can also click (using click as an example, the operation can actually be defined as any simple operation that conforms to the user's intuition) the status bar capsule to make the electronic device expand the floating card list for viewing or convenient operation, thereby meeting the user's need to view notification details. Moreover, the expansion of the floating card does not interrupt the current task.

[0039] According to the first aspect, or any implementation of the first aspect above, the method also includes: in response to the user's operation on the status bar, expanding and displaying the notification center, the notification center including indication information or detailed information of at least two notifications, and the display method of the indication information or detailed information of at least two notifications includes tiling, stacking or three-dimensional display.

[0040] According to the first aspect, or any implementation of the first aspect above, the method also includes: the electronic device enters a screen-off state and displays a screen-off interface, the screen-off interface includes indication information or detailed information of at least two notifications, and the display method of the indication information or detailed information of at least two notifications includes: tiling, stacking or three-dimensional display.

[0041] According to the first aspect, or any implementation of the first aspect above, the method also includes: the electronic device enters a lock screen state and displays a lock screen interface, the lock screen interface includes indication information or detailed information of at least two notifications, and the display method of the indication information or detailed information of at least two notifications includes tiling, stacking or three-dimensional display.

[0042] In this way, the electronic device combines different display scenarios to display notifications in a timely and appropriate manner, thereby preventing users from missing some notifications with high timeliness and improving the notification reminder effect.

[0043] Moreover, in different display scenarios, the electronic device automatically adjusts the display style of the notification to ensure that the displayed notification does not affect the display and operation of the current task.

[0044] In addition, electronic devices can display notifications generated by third-party services in a timely and effective manner to ensure the completeness and accuracy of the notifications.

[0045] According to the first aspect, or any implementation of the first aspect above, the indication information of the first notification and the indication information of the second notification are both in capsule form, and the two capsule-shaped indication information are displayed in a stacked form, and the stacking includes horizontal stacking or vertical stacking.

[0046] This allows live notifications to be displayed differently on different devices to ensure the best experience for the device. For example, on devices with a narrow status bar display area, such as mobile phones, notification capsules can be stacked vertically to conserve the status bar display area. Alternatively, on devices with a wider status bar display area, such as foldable screens and tablets, notification capsules can be stacked horizontally to display richer content.

[0047] According to the first aspect, or any implementation of the first aspect above, the indication information not only indicates the application that sends the first notification or the second notification, but also indicates the content of the first notification or the content of the second notification.

[0048] For example, the indication information includes information such as the icon of the application sending the first notification or the second notification, part of the content of the first notification or the second notification, the color of the first notification or the second notification (such as capsule color, card color, text color, etc.), etc.

[0049] According to the first aspect, or any implementation of the first aspect above, the method further includes: when the indication information of the first notification partially covers the indication information of the second notification, in response to a user operation on a first control in the indication information of the first notification, executing the first task via the second application corresponding to the first notification. When the indication information of the second notification partially covers the indication information of the first notification, in response to a user operation on a second control in the indication information of the second notification, executing the second task via the third application corresponding to the second notification.

[0050] According to the first aspect, or any implementation of the first aspect above, the number of the first control or the second control is at least one.

[0051] Alternatively, devices like PCs and smart TVs may be equipped with more precise keyboard and mouse or focus control functions. These devices can then support multi-hotspot button operations in a capsule form factor. For example, a capsule notification could have multiple actionable controls pre-installed, allowing users to access different functions through these controls, thus meeting more user needs.

[0052] In a second aspect, a notification display method is provided, applicable to an electronic device. The method includes: displaying a first interface, wherein a status bar of the first interface displays indication information of a first notification; generating indication information of a second notification; determining, based on a sorting rule, a display priority ranking of the indication information of the first notification and the indication information of the second notification; and displaying the indication information of the first notification and the indication information of the second notification in the status bar according to the display priority ranking.

[0053] According to the second aspect, or any implementation of the second aspect above, the indication information of the second notification satisfies a second condition, and the second condition includes that the indication information of the second notification is live notification type indication information.

[0054] According to the second aspect, displaying the indication information of the first notification and the indication information of the second notification in the status bar according to the display priority includes: displaying the indication information of the first notification and the indication information of the second notification in the status bar in a capsule display manner.

[0055] According to the second aspect, or any implementation of the second aspect above, the indication information of the first notification and the indication information of the second notification are displayed in the status bar according to the display priority, including: if the display priority of the indication information of the second notification is higher than or equal to the display priority of the indication information of the first notification, the display position of the indication information of the first notification is preempted to reveal the indication information of the second notification. If the display priority of the indication information of the second notification is lower than or equal to the display priority of the indication information of the first notification, the indication information of the second notification is not displayed, or the indication information of the second notification is stacked and displayed so that the indication information of the first notification partially covers or completely covers the indication information of the second notification.

[0056] According to the second aspect, or any implementation of the second aspect above, the number of display positions in the status bar is a first number, and the number of indication information of the first notification is greater than or equal to the first number.

[0057] In this way, when the display space is insufficient, the electronic device can also give priority to displaying important live notifications by preempting the display position, so as to avoid exceeding the timeliness requirement of the live notifications and making the live notifications invalid.

[0058] According to the second aspect, or any implementation of the second aspect above, when the amount of indication information of the first notification is less than the first amount, the method further includes: exposing and displaying the indication information of the first notification and the indication information of the second notification.

[0059] In this way, in various display scenarios, if there is sufficient display space at the intended display location, the electronic device can adaptively display the generated live notifications according to preset sorting rules. This prevents users from missing live notifications by following a reasonable display order and ensures that important live notifications are displayed first.

[0060] According to the second aspect, or any implementation of the second aspect above, the method further includes: when the indication information of the second notification is not displayed or is displayed in a stacked manner, obtaining refreshed content of the indication information of the second notification. Within a preset time period, preempting the display position of the indication information of the first notification to reveal the refreshed content of the indication information of the second notification.

[0061] In this way, the electronic device adjusts the display order of multiple live notifications that have been displayed according to changes in the live notifications, thereby ensuring the timeliness of the display of the live notifications and preventing the user from missing important live notifications.

[0062] According to the second aspect, or any implementation method of the above second aspect, the refresh content is the refresh content that meets the first condition among the multiple refresh contents of the indication information of the second notification, and the first condition includes that the refresh content is the refresh content of the preset node, or the refresh content is the refresh content of the preset type.

[0063] In this way, the electronic device adjusts the display order of multiple live notifications according to the changes in live notifications, ensuring the timely display of live notifications and preventing users from missing important live notifications. While allowing users to focus on the progress of the most important notifications, they also do not miss important updates from other notifications.

[0064] In addition, the overall solution takes into account the advantages of fixed sorting to facilitate user searches, and also allows users to obtain more comprehensive information through a temporary preemption mechanism to avoid missing important content.

[0065] According to the second aspect, or any implementation of the second aspect above, the method also includes: detecting the user's operation on the indication information of the notification displayed in the status bar, displaying the first card corresponding to the indication information of the first notification, and displaying the second card corresponding to the indication information of the second notification.

[0066] According to the second aspect, or any implementation of the second aspect above, the method further includes: detecting a user operation on a first control in the indication information of the first notification, and executing the first task via a second application corresponding to the first notification; and detecting a user operation on a second control in the indication information of the second notification, and executing the second task via a third application corresponding to the second notification.

[0067] According to the second aspect, or any implementation of the second aspect, the number of the first control or the second control is at least one.

[0068] In a third aspect, a notification display method is provided for use in an electronic device. The method includes: displaying a screen-off interface, the screen-off interface including a function window; and displaying a first animation in the function window, the first animation corresponding to a first notification.

[0069] According to the third aspect, the function window further displays a second animation in a stacked form, the second animation corresponding to the second notification, and the stacked form includes the first animation partially or completely covering the second animation, or the second animation partially or completely covering the first animation.

[0070] According to the third aspect, or any implementation of the third aspect, the first animation is a 2D animation or a 3D animation.

[0071] For example, if the notification is for a takeout delivery, the electronic device can display the takeout route map corresponding to the notification in the function window, making it easier for users to determine the rider's location and estimate the delivery time.

[0072] For example, if the electronic device is a VR / AR device, it can support the presentation of 3D models. For example, a VR / AR device could display a notification from a food delivery app that includes a 3D model, such as a delivery man approaching on a bicycle.

[0073] In this way, through the notification display method of 2D animation or 3D animation, a more flexible and vivid notification display experience is provided to users.

[0074] According to the third aspect, or any implementation of the third aspect above, the method also includes: determining, according to the sorting rules, that the stacking form of the first animation and the second animation is that the first animation partially covers or completely covers the second animation, or that the first animation partially covers or completely covers the first animation.

[0075] According to the third aspect, or any implementation of the third aspect above, the sorting rules include one or more of the following rules: the creation time of the notification, the update time of the notification, the importance of the notification, the priority of the notification, the historical data of the user viewing the notification, or the notification order manually set by the user.

[0076] According to the third aspect, or any implementation of the third aspect above, when the sorting rule is notification update time, if the update time of the first notification is later than the update time of the second notification, the stacking form is determined to be that the first animation partially covers or completely covers the second animation. If the update time of the second notification is later than the update time of the first notification, the stacking form is determined to be that the second animation partially covers or completely covers the first animation.

[0077] Alternatively, when the sorting rule is the importance of notifications, if the importance of the first notification is greater than or equal to the importance of the second notification, the stacking form is determined to be that the first animation covers or completely covers the second animation. If the importance of the first notification is less than or equal to the importance of the second notification, the stacking form is determined to be that the second animation partially covers or completely covers the first animation.

[0078] Alternatively, when the sorting rule is notification priority, if the priority of the first notification is higher than or equal to the priority of the second notification, the stacking form is determined to be that the first animation partially covers or completely covers the second animation. If the priority of the first notification is lower than or equal to the priority of the second notification, the stacking form is determined to be that the second animation partially covers or completely covers the first animation.

[0079] According to the third aspect, or any implementation of the third aspect above, when the first animation partially covers the second animation, if a change in the content of the second notification is detected, the stacking format is updated so that the second animation partially covers or completely covers the first animation. When the second animation partially covers the first animation, if a change in the content of the first notification is detected, the stacking format is updated so that the first animation partially covers or completely covers the second animation.

[0080] According to the third aspect, or any implementation of the third aspect above, within a preset time after the stacking form is updated for the Nth time, the stacking form is updated for the N+1th time, so that the stacking form returns to the state before the Nth update, where N is a positive integer.

[0081] According to the third aspect, or any implementation method of the third aspect above, the method also includes: when it is detected that the first preset condition corresponding to the first notification is met or when it is detected that the second preset condition corresponding to the second notification is met, displaying the first animation or the second animation in the function window of the screen-off interface.

[0082] According to the third aspect, or any implementation of the third aspect, the first preset condition or the second preset condition includes the arrival of a predetermined time, or the content of the first notification or the second notification is substantially updated.

[0083] In a fourth aspect, an electronic device is provided. The electronic device includes: a processor, a memory, and a display screen, wherein the memory and the display screen are coupled to the processor, the memory is used to store computer program code, and the computer program code includes computer instructions. When the processor reads the computer instructions from the memory, the electronic device executes: displaying a first interface, wherein the first interface includes a status bar located at the top. At least two notification indication information is displayed in the status bar in a stacked form, wherein the at least two notification indication information includes the indication information of the first notification and the indication information of the second notification. The stacked form includes the indication information of the first notification partially covering or completely covering the indication information of the second notification, or the indication information of the second notification partially covering or completely covering the indication information of the first notification.

[0084] According to the fourth aspect, when the processor reads computer instructions from the memory, it also enables the electronic device to execute: determine, according to the sorting rules, the stacking form of the indication information of at least two notifications is that the indication information of the first notification partially covers or completely covers the indication information of the second notification, or that the indication information of the second notification partially covers or completely covers the indication information of the first notification.

[0085] According to the fourth aspect, or any implementation of the fourth aspect above, the sorting rules include one or more of the following rules: the creation time of the notification, the update time of the notification, the importance of the notification, the priority of the notification, the historical data of the user viewing the notification, or the notification order manually set by the user.

[0086] According to the fourth aspect, or any implementation method of the above fourth aspect, when the sorting rule is the update time of the notification, if the update time of the first notification is later than the update time of the second notification, the stacking form is determined to be that the indication information of the first notification partially covers or completely covers the indication information of the second notification; if the update time of the second notification is later than the update time of the first notification, the stacking form is determined to be that the indication information of the second notification partially covers or completely covers the indication information of the first notification.

[0087] Alternatively, when the sorting rule is the importance of the notification, if the importance of the first notification is greater than or equal to the importance of the second notification, determining the stacking form is that the indication information of the first notification partially covers or completely covers the indication information of the second notification;

[0088] If the importance of the first notification is less than or equal to the importance of the second notification, it is determined that the stacking form is that the indication information of the second notification partially covers or completely covers the indication information of the first notification.

[0089] Alternatively, when the sorting rule is the priority of the notification, if the priority of the first notification is higher than or equal to the priority of the second notification, the stacking form is determined to be that the indication information of the first notification partially covers or fully covers the indication information of the second notification; if the priority of the first notification is lower than or equal to the priority of the second notification, the stacking form is determined to be that the indication information of the second notification partially covers or fully covers the indication information of the first notification.

[0090] According to the fourth aspect, or any implementation of the fourth aspect above, when the indication information of the first notification partially overlaps the indication information of the second notification, and a change in the content of the second notification is detected, the stacking format is updated so that the indication information of the second notification partially overlaps or completely overlaps the indication information of the first notification. When the indication information of the second notification partially overlaps the indication information of the first notification, and a change in the content of the first notification is detected, the stacking format is updated so that the indication information of the first notification partially overlaps or completely overlaps the indication information of the second notification.

[0091] According to the fourth aspect, or any implementation of the fourth aspect above, within a preset time after the stacking form is updated for the Nth time, the stacking form is updated for the N+1th time, so that the stacking form returns to the state before the Nth update, where N is a positive integer.

[0092] According to the fourth aspect, or any implementation method of the above fourth aspect, indication information of at least two notifications is displayed in a stacked form in a status bar located at the top, including: when it is detected that the first preset condition corresponding to the first notification is met or when it is detected that the second preset condition corresponding to the second notification is met, the indication information of the first notification or the indication information of the second notification is displayed in the status bar located at the top.

[0093] According to the fourth aspect, or any implementation of the fourth aspect above, the first preset condition or the second preset condition includes the arrival of a predetermined time, or the content of the first notification or the second notification is substantially updated.

[0094] According to the fourth aspect, or any implementation of the fourth aspect, when the processor reads the computer instructions from the memory, the electronic device is further caused to: display the interface of the first application; and in response to a user operation on the indication information of at least two notifications displayed in a stacked form, display detailed information of the first notification and / or detailed information of the second notification in a suspended form on the interface of the first application.

[0095] According to the fourth aspect, or any implementation of the fourth aspect above, the detailed information is carried in the form of a card.

[0096] According to the fourth aspect, or any implementation of the fourth aspect above, when the processor reads the computer instructions from the memory, the electronic device is further caused to execute: stopping displaying indication information of at least two notifications in the top status bar. If a first operation is received with respect to the detailed information of the first notification or the detailed information of the second notification, in response to the first operation, displaying a functional interface of the application that sent the first notification or the second notification, the functional interface being related to the first notification or the second notification.

[0097] Alternatively, if a second operation is received, in response to the second operation, the detailed information of the first notification and / or the detailed information of the second notification is stopped from being displayed, and indication information of at least two notifications is displayed.

[0098] According to the fourth aspect, or any implementation of the fourth aspect above, when the processor reads computer instructions from the memory, it also causes the electronic device to execute: in response to the user's operation on the status bar, expand and display the notification center, the notification center includes indication information or detailed information of at least two notifications, and the display method of the indication information or detailed information of at least two notifications includes tiling, stacking or three-dimensional display.

[0099] According to the fourth aspect, or any implementation of the above fourth aspect, when the processor reads computer instructions from the memory, it also enables the electronic device to execute: the electronic device enters the screen-off state and displays the screen-off interface, the screen-off interface includes indication information or detailed information of at least two notifications, and the display method of the indication information or detailed information of at least two notifications includes: tiling, stacking or three-dimensional display.

[0100] According to the fourth aspect, or any implementation of the fourth aspect above, when the processor reads computer instructions from the memory, it also enables the electronic device to execute: the electronic device enters a lock screen state and displays a lock screen interface, the lock screen interface includes indication information or detailed information of at least two notifications, and the indication information or detailed information of at least two notifications are displayed in a manner including tiling, stacking or three-dimensional display.

[0101] According to the fourth aspect, or any implementation of the fourth aspect above, the indication information of the first notification and the indication information of the second notification are both in capsule form, and the two capsule-shaped indication information are displayed in a stacked form, and the stacking includes horizontal stacking or vertical stacking.

[0102] According to the fourth aspect, or any implementation of the fourth aspect above, the indication information not only indicates the application that sends the first notification or the second notification, but also indicates the content of the first notification or the content of the second notification.

[0103] According to the fourth aspect, or any implementation of the fourth aspect above, when the processor reads computer instructions from the memory, the electronic device is further caused to execute: when the indication information of the first notification partially covers the indication information of the second notification, in response to a user operation on a first control in the indication information of the first notification, executing the first task through the second application corresponding to the first notification. When the indication information of the second notification partially covers the indication information of the first notification, in response to a user operation on a second control in the indication information of the second notification, executing the second task through the third application corresponding to the second notification.

[0104] According to the fourth aspect, or any implementation of the fourth aspect above, the number of the first control or the second control is at least one.

[0105] In a fifth aspect, an electronic device is provided. The electronic device includes: a processor, a memory, and a display screen. The memory and the display screen are coupled to the processor. The memory is used to store computer program code. The computer program code includes computer instructions. When the processor reads the computer instructions from the memory, the electronic device executes: displaying a first interface, and displaying the indication information of the first notification in the status bar of the first interface. Generate the indication information of the second notification. According to the sorting rules, determine the display priority of the indication information of the first notification and the indication information of the second notification. According to the display priority sorting, display the indication information of the first notification and the indication information of the second notification in the status bar.

[0106] According to the fifth aspect, or any implementation of the fifth aspect above, the indication information of the second notification satisfies a second condition, and the second condition includes that the indication information of the second notification is live notification type indication information.

[0107] According to the fifth aspect, displaying the indication information of the first notification and the indication information of the second notification in the status bar according to the display priority includes: displaying the indication information of the first notification and the indication information of the second notification in the status bar in a capsule display manner.

[0108] According to the fifth aspect, or any implementation of the fifth aspect above, the indication information of the first notification and the indication information of the second notification are displayed in the status bar according to the display priority sorting, including: if the display priority of the indication information of the second notification is higher than or equal to the display priority of the indication information of the first notification, the display position of the indication information of the first notification is preempted to reveal the indication information of the second notification. If the display priority of the indication information of the second notification is lower than or equal to the display priority of the indication information of the first notification, the indication information of the second notification is not displayed, or the indication information of the second notification is stacked and displayed so that the indication information of the first notification partially covers or completely covers the indication information of the second notification.

[0109] According to the fifth aspect, or any implementation of the fifth aspect above, the number of display positions in the status bar is a first number, and the number of indication information of the first notification is greater than or equal to the first number.

[0110] According to the fifth aspect, or any implementation method of the above fifth aspect, when the amount of indication information of the first notification is less than the first amount, when the processor reads computer instructions from the memory, it also enables the electronic device to execute: revealing and displaying the indication information of the first notification and the indication information of the second notification.

[0111] According to the fifth aspect, or any implementation of the fifth aspect, when the processor reads the computer instructions from the memory, the electronic device is further caused to execute: when the indication information of the second notification is not displayed or displayed in a stacked manner, obtaining refreshed content of the indication information of the second notification; and within a preset time period, preempting the display position of the indication information of the first notification to reveal the refreshed content of the indication information of the second notification.

[0112] According to the fifth aspect, or any implementation method of the above fifth aspect, the refresh content is the refresh content that meets the first condition among the multiple refresh contents of the indication information of the second notification, and the first condition includes that the refresh content is the refresh content of the preset node, or the refresh content is the refresh content of the preset type.

[0113] According to the fifth aspect, or any implementation of the above fifth aspect, when the processor reads computer instructions from the memory, it also enables the electronic device to execute: detecting the user's operation on the indication information of the notification displayed in the status bar, displaying the first card corresponding to the indication information of the first notification, and displaying the second card corresponding to the indication information of the second notification.

[0114] According to the fifth aspect, or any implementation of the fifth aspect above, when the processor reads the computer instructions from the memory, the electronic device is further caused to execute the following: detecting a user operation on a first control in the indication information of a first notification, and executing a first task via a second application corresponding to the first notification; and detecting a user operation on a second control in the indication information of a second notification, and executing a second task via a third application corresponding to the second notification.

[0115] According to the fifth aspect, or any implementation of the fifth aspect, the number of the first control or the second control is at least one.

[0116] In a sixth aspect, an electronic device is provided. The electronic device includes: a processor, a memory, and a display screen. The memory and the display screen are coupled to the processor. The memory is used to store computer program code. The computer program code includes computer instructions. When the processor reads the computer instructions from the memory, the electronic device executes: displaying a screen-off interface, the screen-off interface including a function window. Displaying a first animation in the function window, the first animation corresponding to a first notification.

[0117] According to the sixth aspect, the function window also displays a second animation in a stacked form, the second animation corresponds to the second notification, and the stacked form includes the first animation partially covering or completely covering the second animation, or the second animation partially covering or completely covering the first animation.

[0118] According to the sixth aspect, or any implementation of the sixth aspect, the first animation is a 2D animation or a 3D animation.

[0119] According to the sixth aspect, or any implementation of the sixth aspect above, when the processor reads computer instructions from the memory, it also enables the electronic device to execute: determining, according to the sorting rules, that the stacking form of the first animation and the second animation is that the first animation partially covers or completely covers the second animation, or that the first animation partially covers or completely covers the first animation.

[0120] According to the sixth aspect, or any implementation of the above sixth aspect, the sorting rules include one or more of the following rules: the creation time of the notification, the update time of the notification, the importance of the notification, the priority of the notification, the historical data of the user viewing the notification, or the notification order manually set by the user.

[0121] According to the sixth aspect, or any implementation of the sixth aspect, when the sorting rule is notification update time, if the update time of the first notification is later than the update time of the second notification, the stacking form is determined to be that the first animation partially covers or completely covers the second animation. If the update time of the second notification is later than the update time of the first notification, the stacking form is determined to be that the second animation partially covers or completely covers the first animation.

[0122] Alternatively, when the sorting rule is the importance of notifications, if the importance of the first notification is greater than or equal to the importance of the second notification, the stacking form is determined to be that the first animation covers or completely covers the second animation. If the importance of the first notification is less than or equal to the importance of the second notification, the stacking form is determined to be that the second animation partially covers or completely covers the first animation.

[0123] Alternatively, when the sorting rule is notification priority, if the priority of the first notification is higher than or equal to the priority of the second notification, the stacking form is determined to be that the first animation partially covers or completely covers the second animation. If the priority of the first notification is lower than or equal to the priority of the second notification, the stacking form is determined to be that the second animation partially covers or completely covers the first animation.

[0124] According to the sixth aspect, or any implementation of the sixth aspect, when the first animation partially covers the second animation, a change in the content of the second notification is detected, and the stacking format is updated so that the second animation partially covers or completely covers the first animation. When the second animation partially covers the first animation, a change in the content of the first notification is detected, and the stacking format is updated so that the first animation partially covers or completely covers the second animation.

[0125] According to the sixth aspect, or any implementation method of the above sixth aspect, within a preset time after the stacking form is updated for the Nth time, the stacking form is updated for the N+1th time, so that the stacking form returns to the state before the Nth update, where N is a positive integer.

[0126] According to the sixth aspect, or any implementation method of the above sixth aspect, when the processor reads computer instructions from the memory, it also enables the electronic device to execute: when it is detected that the first preset condition corresponding to the first notification is met or when it is detected that the second preset condition corresponding to the second notification is met, the first animation or the second animation is displayed in the function window of the screen-off interface.

[0127] According to the sixth aspect, or any implementation of the sixth aspect above, the first preset condition or the second preset condition includes the arrival of a predetermined time, or the content of the first notification or the second notification is substantially updated.

[0128] In a seventh aspect, an electronic device is provided, which has the function of implementing the notification display method as described in the first aspect and any possible implementation thereof; or, the electronic device has the function of implementing the notification display method as described in the second aspect and any possible implementation thereof; or, the electronic device has the function of implementing the notification display method as described in the third aspect and any possible implementation thereof. This function can be implemented by hardware, or by hardware executing corresponding software implementation. The hardware or software includes one or more modules corresponding to the above functions.

[0129] In an eighth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program (also referred to as instructions or code). When the computer program is executed by an electronic device, the electronic device performs the method of the first aspect or any one of the embodiments of the first aspect; or performs the method of the second aspect or any one of the embodiments of the second aspect; or performs the method of the third aspect or any one of the embodiments of the third aspect.

[0130] In the ninth aspect, a computer program product is provided. When the computer program product is run on an electronic device, the electronic device executes the method of the first aspect or any one of the embodiments of the first aspect; or, the electronic device executes the method of the second aspect or any one of the embodiments of the second aspect; or, the electronic device executes the method of the third aspect or any one of the embodiments of the third aspect.

[0131] In a tenth aspect, a circuit system is provided, the circuit system including a processing circuit, the processing circuit being configured to execute the method of the first aspect or any one of the embodiments of the first aspect; or, the processing circuit being configured to execute the method of the second aspect or any one of the embodiments of the second aspect; or, the processing circuit being configured to execute the method of the third aspect or any one of the embodiments of the third aspect.

[0132] In the eleventh aspect, a chip system is provided, comprising at least one processor and at least one interface circuit, wherein the at least one interface circuit is used to perform transceiver functions and send instructions to the at least one processor. When the at least one processor executes the instructions, the at least one processor executes the method of the first aspect or any one of the embodiments of the first aspect; or, the at least one processor executes the method of the second aspect or any one of the embodiments of the second aspect; or, the at least one processor executes the method of the third aspect or any one of the embodiments of the third aspect.

[0133] The technical effects of the aforementioned aspects can be referenced with each other and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0134] FIG1 is a schematic diagram of an electronic device according to an embodiment of the present application;

[0135] FIG2 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;

[0136] FIG3 is a flowchart of a notification display method according to an embodiment of the present application;

[0137] FIG4 is a first schematic diagram of a notification display interface in different display scenarios provided by an embodiment of the present application;

[0138] FIG5 is a second schematic diagram of a notification display interface in different display scenarios provided by an embodiment of the present application;

[0139] FIG6 is a third schematic diagram of a notification display interface in different display scenarios provided by an embodiment of the present application;

[0140] FIG7 is a second flow chart of a notification display method according to an embodiment of the present application;

[0141] FIG8 is a first schematic diagram of an interface for displaying notification refresh content according to an embodiment of the present application;

[0142] FIG9 is a second schematic diagram of an interface for displaying notification refresh content provided by an embodiment of the present application;

[0143] FIG10 is a first schematic diagram of an interface for displaying a notification disappearance according to an embodiment of the present application;

[0144] FIG11 is a second schematic diagram of an interface for displaying a notification disappearance according to an embodiment of the present application;

[0145] FIG12 is a third flow chart of a notification display method according to an embodiment of the present application;

[0146] FIG13 is a first schematic diagram of an interface for displaying notification details provided in an embodiment of the present application;

[0147] FIG14 is a second schematic diagram of an interface for displaying notification details provided in an embodiment of the present application;

[0148] FIG15 is a third schematic diagram of an interface for displaying notification details provided in an embodiment of the present application;

[0149] FIG16 is a fourth flowchart of a notification display method according to an embodiment of the present application;

[0150] FIG17 is a first diagram of an interface for notifying a user of a display location according to an embodiment of the present application;

[0151] FIG18 is a second schematic diagram of an interface for notifying a user of a display location according to an embodiment of the present application;

[0152] FIG19 is a third diagram of an interface for notifying a user of a display location according to an embodiment of the present application;

[0153] FIG20 is a fourth diagram of an interface for notifying a user of a display location according to an embodiment of the present application;

[0154] FIG21 is a fifth diagram of an interface for notifying a user of a display location according to an embodiment of the present application;

[0155] FIG22 is a schematic diagram of an interface for expanding and displaying stacked notifications according to an embodiment of the present application;

[0156] FIG23 is a fifth flow chart of a notification display method according to an embodiment of the present application;

[0157] FIG24 is a schematic diagram of an interface for temporarily preempting a display position for notification provided in an embodiment of the present application;

[0158] FIG25 is a sixth flowchart of a notification display method according to an embodiment of the present application;

[0159] FIG26 is a first diagram illustrating a notification display interface for a special-type device according to an embodiment of the present application;

[0160] FIG27 is a second diagram of a notification display interface for a special-type device provided in an embodiment of the present application;

[0161] FIG28 is a third diagram of a notification display interface for a special-type device according to an embodiment of the present application;

[0162] FIG29 is a seventh flowchart of a notification display method according to an embodiment of the present application;

[0163] FIG30 is a schematic diagram of an interface for displaying notifications in a status bar according to an embodiment of the present application;

[0164] FIG31 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0165] The technical solutions in the embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to include expressions such as "one or more", unless there is a clear indication to the contrary 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 or more (including two).

[0166] References to "one embodiment" or "some embodiments" etc. described in this specification mean that the specific features, structures or characteristics described in conjunction with the embodiment are included in one or more embodiments of the present application. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in another way. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in another way. The term "connected" includes direct and indirect connections, unless otherwise stated. "First" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.

[0167] In the embodiments of this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplarily" or "for example" is intended to present the relevant concepts in a concrete manner.

[0168] In some embodiments, electronic devices (such as mobile phones and tablets) can display notifications generated by the service side in various ways. The service generating the notification may be, for example, an application, a meta-service, or a mini-program. For example, the electronic device may display notifications generated by the application to the user through various means, such as banner notifications, lock screen notifications, and desktop badges, and the user can view these notifications.

[0169] Optionally, notifications can be categorized by timeliness, including live and non-live notifications. Live notifications are used to indicate notifications with high timeliness requirements, such as incoming call notifications and notifications of changes in the progress of takeout orders. Non-live notifications are used to indicate notifications with lower timeliness requirements, such as application update notifications and content recommendations. Applications can pre-configure the rules for classifying live and non-live notifications. After generating a notification, the application can determine whether the notification is live or non-live.

[0170] In some examples, live notifications need to draw the user's attention within a certain time limit in order to deliver accurate and valuable information. After the time limit is exceeded, live notifications become spam. For example, users determine the progress of the current order based on notifications of changes in the progress of a takeaway order. The order process may include the merchant accepting the order, the rider accepting the order, the rider rushing to the merchant, the rider delivering the order, and the order being delivered. So, if the user fails to pay attention to the notification displayed on the electronic device that the merchant has accepted the order, but only pays attention to this notification after the order process has reached a subsequent stage, then this notification has become invalid spam at the moment the user pays attention.

[0171] Furthermore, as the number of applications installed in electronic devices increases, the number of notifications generated by different applications increases, and it becomes increasingly difficult for users to pay attention to live notifications in a timely manner.

[0172] In addition, after some notifications are invalid, the electronic device will still display these invalid notifications, and the display of these invalid information will also interfere with the user's attention to other valid notifications.

[0173] In this regard, many manufacturers currently configure preset functions in electronic devices so that the electronic devices highlight live notifications in a preset manner, or highlight notifications that the electronic devices believe require the user's timely attention.

[0174] For example, after receiving a live notification, some electronic devices display the live notification in a pop-up window to remind the user to pay attention to the live notification. The window display position is generally located near the camera hole.

[0175] However, current notification display methods are highly dependent on hardware form factors, have poor universality, and can only display brief content of live notifications generated by a limited number of pre-configured real-time tasks.

[0176] For example, some electronic devices are pre-configured with multiple notification display templates. After receiving an important notification, the electronic device simplifies the notification content according to the display template and displays the processed notification content, so that users can quickly pay attention to the important notifications received by the electronic device.

[0177] However, current notification display methods rely heavily on the processing power of electronic devices, increasing the likelihood of inaccurate notifications. Furthermore, electronic devices display processed notifications based on preset display timings, failing to meet the timeliness requirements of live notifications, preventing users from being able to perceive them in a timely manner.

[0178] For another example, some electronic devices pre-configure a window on the desktop. After receiving an important notification from a preset application, the electronic device can display the received notification through the preset window, so that the user can perceive the notification in a timely manner.

[0179] However, the long-term floating display of the preset window can block important information displayed on the desktop, affecting user operations. In addition, the current preset window only supports displaying notification messages from some preset applications, which limits its use cases.

[0180] Therefore, the present invention provides a notification display method in which, upon receiving a notification of a preset type, an electronic device provides a reminder using capsules or cards that can be adapted to a variety of display scenarios. Furthermore, the method supports the display of multiple capsules or cards to meet the needs of multiple live notifications.

[0181] Optionally, the notification display method provided in the embodiment of the present application can be applied to an electronic device 100. As shown in Figure 1, the electronic device 100 can specifically be a mobile phone 11, a folding screen mobile phone 12, a wearable device (such as a smart watch, a smart bracelet, etc.) 13, a tablet computer 14, a laptop computer 15, a smart screen 16, a scroll screen mobile phone, a car terminal, a computer, a personal computer (personal computer, PC), an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook, a personal digital assistant (personal digital assistant, PDA), a virtual reality (virtual reality, VR) device / augmented reality (augmented reality, AR) device, an artificial intelligence (artificial intelligence, AI) device, and other terminal devices with display functions. The operating system installed on the above electronic device 100 includes but is not limited to This application does not limit the specific type of the electronic device 100 or the installed operating system.

[0182] Exemplarily, as shown in Figure 2, 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 sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.

[0183] 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.

[0184] 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 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.

[0185] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0186] 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 retrieve it from the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.

[0187] 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.

[0188] The I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple I2C bus lines. The processor 110 may be coupled to a touch sensor, a charger, a flash, a camera 193, and the like via different I2C bus interfaces. For example, the processor 110 may be coupled to a touch sensor via an I2C interface, enabling communication between the processor 110 and the touch sensor via the I2C bus interface, thereby enabling touch functionality of the electronic device 100.

[0189] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display 194 and the camera 193. MIPI interfaces include the camera serial interface (CSI) and the display serial interface (DSI). In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the camera function of the electronic device 100. The processor 110 and the display 194 communicate via the DSI interface to implement the display function of the electronic device 100.

[0190] The USB interface 130 is an interface that complies with USB standards and specifications, 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 to other first electronic devices, such as an AR device.

[0191] 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.

[0192] 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 first electronic device via the power management module 141.

[0193] 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 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.

[0194] 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.

[0195] 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.

[0196] 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.

[0197] 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.

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

[0199] 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.

[0200] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel can be manufactured using a liquid crystal display (LCD), for example, an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini-LED, a Micro-LED, a Micro-OLED, or a quantum dot light-emitting diode (QLED). In some embodiments, electronic device 100 can include one or N display screens 194, where N is a positive integer greater than one.

[0201] 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.

[0202] 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.

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

[0204] 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 set in the processor 110, or some functional modules of the audio module 170 can be set in the processor 110. The electronic device 100 can use the audio module 170, such as music playback and recording. The audio module 170 may include a speaker, a receiver, a microphone, a headphone jack, and an application processor to implement audio functions.

[0205] The sensor module 180 may include a pressure sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.

[0206] A touch sensor, also known as a "touch-sensitive device," can be provided on the display screen 194. The touch sensor and the display screen 194 form a touch screen, also known as a "touch screen." The touch sensor is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to an application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In other embodiments, the touch sensor can also be provided on the surface of the electronic device 100, at a location different from that of the display screen 194.

[0207] 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.

[0208] 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.

[0209] 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.

[0210] The SIM card interface 195 is used to connect a SIM card. The device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.

[0211] In some embodiments, the electronic device supports displaying notifications in multiple display scenarios such as the off-screen interface, lock screen interface, notification center, status bar, and floating cards. The system can pre-configure containers for displaying notifications in different display scenarios, which are used to indicate the notification display style. For example, the electronic device displays the display notification sent by the service side in a capsule display style in the status bar. Among them, the off-screen interface display includes full-screen off-screen display (always on display, AOD), local AOD, and functional AOD.

[0212] Optionally, after generating a notification, the service side of the electronic device can call the corresponding system interface according to the current display scene and write the notification content into the corresponding pre-set container through the system interface. In this way, the system can obtain and display the notification.

[0213] Optionally, the service generating the notification in the electronic device is, for example, an application, a meta-service, a small program, etc. The system managing the display of the notification in the electronic device is, for example, an operating system installed in the electronic device.

[0214] In some embodiments, notifications generated by the service side may include live notifications (which may also be described as live notifications, live-type notifications, etc.) and non-live notifications (which may also be described as non-live notifications, non-live-type notifications, etc.) based on timeliness. Live notifications are used to indicate notifications with high timeliness requirements, such as incoming call notifications, takeout order progress change notifications, etc. Non-live notifications are used to indicate notifications with low timeliness requirements, such as application update notifications, content recommendations, etc. The electronic device may determine whether the current notification is a live notification or a non-live notification based on preset rules.

[0215] For example, Figure 3 is a flowchart of a notification display method provided in an embodiment of the present application. As shown in Figure 3, the method includes the following steps.

[0216] S301: An electronic device generates event A.

[0217] In some embodiments, the electronic device generates event A in response to a user operation, and determines that event A needs to be notified to the user.

[0218] For example, an electronic device detects a user's operation in a food delivery app, generating Order 1. The electronic device then generates Event A indicating Order 1. During the state change of Event A, the electronic device generates a corresponding notification to inform the user of the progress of Order 1.

[0219] Optionally, event A is an event that generates a live notification. Optionally, the electronic device can generate different types of live notifications, such as system task live notifications, third-party service live notifications, and scheduled live notifications. The electronic device can display the live notification at an appropriate time based on the type of live notification.

[0220] S302: The electronic device determines that event A is an immediate event. If so, step S303 is executed; if not, step S304 is executed.

[0221] S303: The electronic device instantly displays event A according to the current display scene.

[0222] S304: The electronic device delays displaying event A.

[0223] In some embodiments, after the electronic device generates event A, in order to prevent the user from missing the notification of event A or excessive reminders from disturbing the user, the electronic device needs to analyze the event type of event A and determine the live notification type of event A so as to display the notification of event A appropriately.

[0224] Optionally, the event type includes an immediate occurrence event and a scheduled occurrence event.

[0225] For example, if event A is an immediate event, the electronic device determines that the live notification of event A needs to be displayed immediately, i.e., step S303 is executed. For example, if event A is a takeout order event, the electronic device needs to display the corresponding live notification in real time based on the progress of the takeout order, such as the merchant has accepted the order, the rider has accepted the order, the rider is rushing to the merchant, the rider is delivering the order, the order has been delivered, etc., to prevent the user from missing the live notification, causing the notification to expire and become invalid.

[0226] For another example, if Event A is a scheduled event, the electronic device can display a live notification for Event A based on the actual time of Event A, executing step S304. For example, if Event A is a high-speed rail ticket booking event, and if the high-speed rail ticket booking event occurs five days before the actual departure time, the electronic device can determine that the live notification for Event A is a scheduled live notification based on the actual departure time. Then, based on the preset rules, the electronic device displays the live notification for Event A at a delayed time. For example, if the preset rule is to display the live notification corresponding to the ticket information three hours before the actual departure time, the electronic device determines the time to display the live notification to be after (T1-T2) based on the actual departure time T1 and the advance time T2.

[0227] In some embodiments, when the electronic device determines that a notification needs to be displayed, it can determine information such as the display position, display style, and display content of the notification in different display scenes based on the current display scene.

[0228] Optionally, display scenarios include full-screen AOD, partial AOD, functional AOD, lock screen interface, notification center, status bar, floating card, desktop display, etc. Display styles include capsule display, card display, visual image display, etc. Optionally, the display style may also include display colors, such as capsule color, card color, text color, etc. Among them, the display color may be the same or similar to the theme color of the service from which the notification comes. For example, if the notification source is an application and the application theme color is blue, then the corresponding capsule notification color may also be blue, which makes it easier for users to distinguish between different notification sources.

[0229] Optionally, in different display scenarios, different display locations have different priorities. The electronic device may display live notifications at corresponding priority locations based on the priority of the live notifications. For example, the electronic device may prioritize displaying the most recently received live notification at a high-priority display location based on the order in which the live notifications were received. For another example, for some live notifications that require a higher timeliness, the electronic device may prioritize displaying these live notifications at a higher-priority location. For example, the timeliness requirement for call notifications is higher than that for other live notifications. The electronic device may preset rules for determining the priority order of live notifications.

[0230] For example, in display scenarios such as full-screen AOD, lock screen interface, notification center, floating card, etc., the electronic device displays the notification content through the display style of the card display. Optionally, the display content of the card includes, for example, the notification source icon, primary and secondary texts, visual details information, operable controls, etc. Among them, the notification source icon is, for example, the icon of the service that generates the notification, such as an application icon. The primary and secondary texts are, for example, the text content of the notification. The visual details information is, for example, the detailed content of the notification, such as text, images, etc. The operable control is, for example, a control that allows the user to operate the notification. For example, if the notification is a timer notification, a pause / resume control is displayed on the corresponding card. In response to the user's operation of the pause / resume control, the electronic device can pause or continue the timing without having to start the timer application again.

[0231] For example, as shown in FIG4 (a), while displaying a full-screen AOD interface 401, the electronic device receives event A and determines that event A is an immediate event, and its corresponding live notification needs to be displayed immediately. Then, the electronic device may display a live notification 41 corresponding to event A via a card at the highest priority position on the full-screen AOD interface 401, based on the current full-screen AOD display scene. Alternatively, as shown in FIG4 (b), while displaying a lock screen interface 402, the electronic device receives event A and determines that event A is an immediate event, and its corresponding live notification needs to be displayed immediately. Then, the electronic device may display a live notification 42 corresponding to event A via a card at the highest priority position on the lock screen interface 402, based on the current lock screen display scene. Alternatively, as shown in FIG4 (c), while displaying a notification center interface 403, the electronic device receives event A and determines that event A is an immediate event, and its corresponding live notification needs to be displayed immediately. Then, the electronic device may display a live notification 43 corresponding to event A via a card at the highest priority position on the notification center interface 403, based on the current notification center display scene. Alternatively, as shown in FIG4(d), while displaying floating interface 404, the electronic device receives event A and determines that event A is an immediate event, requiring immediate display of its corresponding live notification. The electronic device can then display the live notification 44 corresponding to event A via a floating card at the highest priority position on desktop 404, based on the current floating card display scenario.

[0232] For example, in display scenarios such as local AOD and status bar, electronic devices display notification content through a capsule display style. Optionally, the display content of the capsule includes, for example, the notification source icon, the theme color of the notification source, and the main information. Among them, since the capsule display area is small, the electronic device can extract the main information of the notification and display it through the capsule, which makes it easier for users to directly determine the core information of the notification, which not only serves as a reminder but also effectively reduces the proportion of the display screen occupied by the notification.

[0233] Exemplarily, as shown in (a) in FIG5 , the electronic device receives event A during the process of displaying the local AOD interface 501, and determines that event A is an instant-occurring event, and its corresponding live notification needs to be displayed immediately. Then, the electronic device can display the live notification 51 corresponding to event A on the local AOD interface 501 through a capsule according to the current local AOD display scene. Alternatively, as shown in (b) in FIG5 , the electronic device receives event A during the process of displaying the desktop 502, and determines that event A is an instant-occurring event, and its corresponding live notification needs to be displayed immediately. Then, the electronic device can display the live notification 52 corresponding to event A through a capsule in the desktop status bar according to the current desktop display scene.

[0234] Optionally, the capsule may display a service logo (such as an application icon, etc.), brief content, etc. corresponding to the live notification, wherein the brief content may be determined by the service.

[0235] For example, in display scenarios such as AOD, electronic devices display notification content through visual image display. In this way, through visual images, users can be provided with more vivid and interesting content display on the basis of conveying information.

[0236] For example, as shown in FIG6 , the electronic device receives event A while displaying the screen-off interface 601, and determines that event A is an immediate event, and its corresponding live notification needs to be displayed immediately. Then, the electronic device can display the live notification corresponding to event A through a visual image in the function window 61 on the screen-off interface 601 according to the current function AOD display scene. For example, if event A is a takeaway order event, the takeaway application can generate a delivery route map corresponding to the takeaway order, so that the electronic device can display the delivery route map in the function window 61, which is convenient for users to determine the rider's movement location, estimate the delivery time, etc.

[0237] In some embodiments, the service is pre-configured with permissions to display notifications with different display styles. For example, the notification generated by service 1 has permissions for capsule display and card display, so the electronic device can display the notification generated by service 1 through a capsule or a card. For another example, the notification generated by service 2 has permissions for card display and visual image display, so the electronic device can display the notification generated by service 2 through a card display or a visual image. Optionally, different notifications generated by the same service may also have different display style permissions, which is not limited in this embodiment of the present application. Optionally, after generating the notification, the service side selects a display style that is more suitable for the current display scene based on the current display scene and the display style permissions, and calls the corresponding system interface to write the notification content, thereby realizing the display of the notification.

[0238] In some embodiments, if the electronic device or technology supports richer display forms and display content, the electronic device can display notifications in more display styles in different display scenarios. For example, the electronic device is a VR / AR device, and the VR / AR device can support the information presentation of 3D models. Then, the electronic device can display notifications through 3D display. For example, when the electronic device displays a takeaway order notification, the 3D character model corresponding to the rider is displayed on the delivery route map to increase the interactive fun of the user. For another example, the electronic device is a PC, smart TV, etc. that is equipped with a keyboard or focus operation that supports more precise operation. The electronic device can support the configuration of operable controls in the displayed capsule. In this way, users can interact with notifications directly through the capsule without having to open the corresponding service.

[0239] In this way, the electronic device combines different display scenarios to display notifications in a timely and appropriate manner, thereby preventing users from missing some notifications with high timeliness and improving the notification reminder effect.

[0240] Moreover, in different display scenarios, the electronic device automatically adjusts the display style of the notification to ensure that the displayed notification does not affect the display and operation of the current task.

[0241] In addition, electronic devices can display notifications generated by third-party services in a timely and effective manner to ensure the completeness and accuracy of the notifications.

[0242] In some embodiments, as the event progresses, the corresponding live notification content may change. Therefore, when displaying the live notification, the electronic device can determine whether to refresh the live notification based on the event progress and changes in the display scene.

[0243] For example, Figure 7 is a flowchart of another notification display method provided in an embodiment of the present application. As shown in Figure 7, the method includes the following steps.

[0244] S701: The electronic device generates refresh content of the displayed event A notification.

[0245] In some embodiments, while displaying a live notification of event A, the electronic device determines that event A progresses and the content of the notification of event A changes with the progress of event A. Then, the electronic device may determine the refresh content of the event A notification.

[0246] For example, event A is a takeaway order event. After the takeaway order is placed, the takeaway order event progresses as the order status changes. Then the electronic device needs to generate corresponding refresh content according to the progress of the takeaway order event.

[0247] S702: The electronic device determines that the container style needs to be refreshed. If so, step S704 is executed; if not, step S703 is executed.

[0248] In some embodiments, after generating a notification, the service side may call the corresponding system interface and write the notification content into the corresponding preset container through the system interface, thereby realizing the system notification display. Then, during the display process of the electronic device, the display scene may change, or the display requirements may change. Therefore, after the electronic device determines to generate the refresh content of the notification being displayed, it may determine whether the display style needs to be refreshed based on whether there is a difference between the original display scene of the notification and the current display scene, whether there is a difference between the characteristics of the original display content of the notification and the refresh content, etc. If the electronic device determines that the display container does not need to be refreshed, the refresh content can be directly written into the original container to display the refreshed notification, that is, step S703 is executed. If the electronic device determines that the display container needs to be refreshed, it can write the refresh content into the new container after refreshing the display container to display the refreshed notification, that is, step S704 is executed.

[0249] Optionally, the container style corresponds to a display style of subsequent notifications, such as a container style including a capsule display container, a card display container, a visual image display container, and the like.

[0250] S703: The electronic device refreshes the display content in the original container style.

[0251] In some embodiments, after generating refreshed content for a currently displayed notification, the electronic device determines that the current display scene and the characteristics of the message conveyed by the notification have not changed. The electronic device may then retain the original container style and refresh only the displayed content within the container to refresh the display of the notification. For example, the electronic device may only update the text information, images, etc. within the notification.

[0252] For example, in the takeaway order event scenario shown in Figure 8, according to the progress changes of the takeaway order, the electronic device will generate a refresh content of the takeaway order notification corresponding to the takeaway order event. If the electronic device keeps displaying the notification center during the entire takeaway order notification display process, the electronic device determines that the takeaway order notification does not need to change the container style based on the characteristics of the takeaway order notification content. Then, the electronic device generates the refresh content of the takeaway order notification at the corresponding notification node according to the changes in the takeaway order process, and writes the refresh content in the original container style. During this process, the electronic device can display the refreshed notification in the notification center. As shown in (a)-(e) in Figure 8, according to the changes in the five nodes of the takeaway order, namely, the merchant has accepted the order, the rider has accepted the order, the rider is rushing to the merchant, the rider is delivering, and the order has been delivered, the electronic device refreshes the display content of the takeaway order notification 81 in the original container style.

[0253] S704: The electronic device changes the container style and refreshes the displayed content.

[0254] In some embodiments, after generating refresh content for a currently displayed notification, the electronic device determines that at least one of the current display scene or characteristics of the message content conveyed by the notification has changed. The electronic device may then determine a container style that is more suitable for the current display scene or the refresh content, and write the refresh content into the changed container style to refresh the display of the notification.

[0255] For example, the same container style may not meet the optimal display requirements for refreshed content, that is, the characteristics of the original notification content and the refreshed content are different. In this case, the electronic device can also change the container style when refreshing the displayed content to ensure the best display effect.

[0256] For example, as shown in interface 901 in Figure 9(a), the electronic device displays a notification 91 regarding a taxi-hailing event. Since the user is not currently in the vehicle, the display content in notification 91 highlights the license plate number. Later, while driving, the user may be more concerned with the driving route. Therefore, as the vehicle moves, the content of the notification generated by the taxi-hailing event refreshes, such as changes in the driving route. As shown in interface 902 in Figure 9(b), during driving, the electronic device changes the container style of notification 91 to more prominently display the route change.

[0257] In this way, by flexibly switching the container style, users can focus more on the important information in the notification, and the display effects of notification content with different characteristics can be met.

[0258] In addition, in step S703 and step S704, the electronic device refreshes multiple notification contents generated by the same event at the same display position, which will not cause multiple notifications of the same event to occupy too many display positions, reduce the display of notifications, avoid displaying multiple notifications and interfering with the user's notification viewing, and reduce notification redundancy.

[0259] S705: The electronic device determines that event A ends. If so, the process goes to step S706; if not, the process returns to step S701.

[0260] S706: The electronic device determines whether to retain the notification display according to a preset rule.

[0261] In some embodiments, live notifications focus more on the timeliness of notifications, so after an event ends, the electronic device may no longer display notifications for the event. The electronic device may determine how long it will take for the notification to no longer be displayed according to a preset rule.

[0262] Optionally, the service can pre-set rules for determining the retention period. During the notification delivery process, the service can inform the system of the retention period. Alternatively, the system can determine the event type and, based on that, determine the notification retention period. Alternatively, the user can set pre-set rules to specify the notification retention period. Alternatively, the system can pre-set a unified live notification display time limit. After the corresponding event ends, the system will simply instruct the live notification to no longer be displayed.

[0263] For example, for some time-sensitive notifications such as call notifications and timer notifications, the electronic device can immediately clear the displayed notification after the event ends.

[0264] For example, as shown in interface 1001 in FIG10(a), while the electronic device is displaying call notification 101 in the notification center, it detects the user's operation on hang-up control 102 and determines that the user has indicated to hang up the call. The electronic device then ends the call event and, as shown in interface 1002 in FIG10(b), no longer displays the call notification in the notification center, i.e., immediately removes the call notification.

[0265] For example, for some notifications such as food delivery progress notifications and vehicle progress notifications, the electronic device can retain the notification for a period of time after confirming that the event is over before clearing the notification, so that the user can determine the outcome of the event.

[0266] For example, as shown in interface 1101 in FIG. 11 (a), while the electronic device is displaying the takeaway progress notification 111 in the notification center, it determines that the takeaway order has been delivered and the takeaway order event has ended. Based on a preset rule, the electronic device determines that the notification of the takeaway order event needs to be retained for 10 minutes after the event ends. Then, as shown in interface 1102 in FIG. 11 (b), the electronic device removes the display of the takeaway progress notification 111 10 minutes after the takeaway order event ends. In this way, the electronic device retains the takeaway progress notification display for 10 minutes, making it easier for the user to view the takeaway progress notification.

[0267] For another example, if some live notifications do not have a display duration set in the service, the system will directly clear the live notification according to the display duration limit after determining that the event has ended. For example, the electronic device will clear the live notification one hour after the live notification event ends.

[0268] In this way, after the event ends, the electronic device can automatically clear the display of notifications according to preset rules, avoiding expired notifications from being stuck on the interface and causing interference to the user.

[0269] In some embodiments, while displaying a notification, the electronic device may display the details of the notification or perform a corresponding operation in response to a user's operation in the notification display area. Furthermore, viewing the notification does not interrupt the current task of the electronic device.

[0270] For example, taking capsule display as an example, Figure 12 is a flowchart of another notification display method provided by an embodiment of the present application. As shown in Figure 12, the method includes the following steps.

[0271] S1201: When the electronic device is displaying a capsule, it detects a user's operation on the capsule.

[0272] S1202. The electronic device displays a card corresponding to the capsule.

[0273] In some embodiments, the electronic device detects a live notification generated by event A and displays a capsule corresponding to the live notification in the status bar based on the current display scene. Later, while displaying the capsule, the electronic device detects a user action on the capsule, such as clicking on it. In response to the user action on the capsule, the electronic device determines that the user instructed to expand and display the live notification corresponding to the capsule and may enlarge the capsule into a floating card to display more live notification content, making it easier for the user to view the live notification details.

[0274] For example, as shown in interface 1301 in Figure 13(a), while the electronic device is displaying capsule 131 corresponding to a takeout order event, if it detects a user clicking capsule 131, it may display interface 1302 as shown in Figure 13(b). On interface 1302, the electronic device displays card 132 corresponding to capsule 131. Compared to capsule 131, card 132 has a larger display area and can display more content related to the takeout order event, thereby helping the user understand more relevant information about the takeout order event.

[0275] Optionally, the user's operation on the capsule is, for example, an operation performed by the user on a blank display area (non-operation area) of the capsule.

[0276] S1203: The electronic device detects the user's operation on the blank display area in the card and enters the event details page.

[0277] In some embodiments, when the electronic device is displaying the card corresponding to the capsule, if it detects a user's operation on the blank display area of ​​the card, it can display an event details page to help the user understand the relevant information of the event in more detail. Optionally, the event details page is, for example, a page corresponding to the card notification in the service.

[0278] For example, as shown in interface 1302 in Figure 13(b), while displaying card 132 corresponding to capsule 131, the electronic device detects a user's operation on blank display area 133 on card 132, and determines that card 132 is used to display a notification corresponding to a food delivery order event. Then, as shown in interface 1303 in Figure 13(c), the electronic device may launch the food delivery application that generated the food delivery order event and display the event details page corresponding to the notification content displayed on card 132, thereby helping the user understand more detailed information about the food delivery order event.

[0279] S1204: The electronic device detects the user's operation on the control displayed in the card and performs the operation corresponding to the control.

[0280] In some embodiments, when the electronic device detects a user's operation on a control displayed on the card while displaying the corresponding card for a capsule, it can determine a command to instruct the electronic device to perform the corresponding operation. In response to the user's operation, the electronic device can then perform the corresponding operation. Optionally, the service preconfigures the functions of one or more controls displayed on the card. When writing the card notification content, the service sends control function information to the system, so that the system can perform the corresponding operation in response to the user's operation. Alternatively, after detecting a user's operation on a control, the system reports the detected operation to the service, which then determines the corresponding operation for the control.

[0281] For example, as shown in interface 1401 in FIG14(a), while the electronic device is displaying the capsule 141 corresponding to the call event, it detects the user's operation on the capsule 141 and displays interface 1402 as shown in FIG14(b), on which the card 142 corresponding to the capsule is displayed. Afterwards, the electronic device detects the user's operation on the hang-up control 143 displayed on the card 142 and determines that the user has instructed to hang up the call. Then, the electronic device can end the call event corresponding to the current card 142. Furthermore, as shown in interface 1403 in FIG14(c), after the call event ends, the electronic device no longer displays the notification corresponding to the call event, such as no longer displaying the card 142 or the capsule 141.

[0282] S1205: The electronic device detects that the user cancels the card display operation.

[0283] In some embodiments, the above step S1202 further includes step S1205, wherein the operation of canceling the card display is, for example, a sliding gesture operation, an operation on a display area outside the card display area, etc. For example, when the electronic device is displaying a card, if it detects a user's upward swipe operation and determines that the user cancels the display of the card, the card display may be restored to the original capsule display. Alternatively, when the electronic device is displaying a card, if it detects a user's operation on a display area outside the card display area, the card display may be restored to the original capsule display. Alternatively, after the electronic device displays the card corresponding to the capsule in response to a user operation, if it does not detect a user operation on the card within a preset time, the card display may be automatically restored to the original capsule display.

[0284] For example, as shown in interface 1501 in Figure 15(a), while the electronic device is displaying capsule 151 corresponding to a takeout order event, it detects a user clicking on capsule 151 and may display interface 1502 as shown in Figure 15(b). On interface 1502, the electronic device displays card 152 corresponding to capsule 151. While displaying card 152, the electronic device detects a user swiping up on card 152, or detects a user clicking on display area 153 outside of card 152 (such as a click on a blank area on the desktop or an icon displayed on the desktop), and determines that the user has indicated that the card display has been canceled. Then, as shown in interface 1503 in Figure 15(c), the electronic device may restore card 152 to its original display of capsule 151.

[0285] Optionally, during the process of the notification display style changing, the display of the capsule or card does not affect the execution of the current task of the electronic device.

[0286] This allows users to display notifications in a simple status bar with a capsule or in detailed form with a card, depending on their needs. This streamlined interface and lightweight display make it easier for users to maintain their tasks in different scenarios.

[0287] In the user operation scenarios of notifications shown in Figures 12-15 above, the switching between capsule display and card display is used as an example to illustrate the change in notification display format. It should be understood that when displaying notifications through other display formats, electronic devices can also respond to user operations on notifications by switching to a larger or smaller display format to display the notification corresponding to the current event, while taking into account the continuity of the original event and meeting the user's needs for the amount of notification content.

[0288] In some embodiments, when the electronic device is displaying live notifications, there may be live notifications generated by new events that need to be displayed, that is, the electronic device needs to display multiple live notifications. Then, the electronic device can display these multiple live notifications according to a preset sorting rule.

[0289] Optionally, the preset sorting rules include one or more of the following: notification creation time order, notification node refresh time order, other time ordering such as important types being pinned to the top, priority sorting determined by the system based on event type, intelligent sorting based on data used or viewed by the user, order manually set by the user, and notification type.

[0290] The following is a detailed introduction to the display process of multiple live notifications.

[0291] For example, Figure 16 is a flowchart of another notification display method provided in an embodiment of the present application. As shown in Figure 16, the method includes the following steps.

[0292] S1601. The electronic device generates a live notification of event A.

[0293] S1602: The electronic device determines whether there are other notifications at the location to be displayed. If so, the electronic device executes step S1604; if not, the electronic device executes step S1603.

[0294] In some embodiments, the electronic device generates a notification of event A and determines that the notification is a live notification that needs to be displayed immediately. The electronic device can determine the display position of the live notification to be displayed based on the display permission and the current display scene. Then, the electronic device can determine whether there are other notifications at the location to be displayed. If there are no other notifications at the location to be displayed, the electronic device can display the live notification at the determined display position, that is, execute the following step S1603. If there are other notifications at the location to be displayed, the electronic device can determine whether the remaining display space at the location to be displayed meets the display requirements of the live notification, that is, execute the following step S1604.

[0295] S1603. The electronic device displays a live notification of event A.

[0296] In some embodiments, after the electronic device generates a live notification of event A, if it determines that no other notifications exist at the location to be displayed, the electronic device may directly display the live notification at the determined location to be displayed.

[0297] Optionally, the electronic device determines that the notification generated by event A is a live notification, and the method for determining the display mode and display position of the live notification can be found in the methods described in the above embodiments and will not be repeated here.

[0298] S1604: The electronic device determines that the display space at the current display position is sufficient. If so, the process proceeds to step S1605; if not, the process proceeds to step S1606.

[0299] In some embodiments, due to limitations on the size of the electronic device's display screen, the electronic device may only fully display some notifications in certain display locations. For example, a typical mobile phone is relatively small, and only one notification capsule can be displayed in the status bar. Other notification capsules must be hidden or obscured by the currently displayed notification capsule. For another example, due to the limited length of the electronic device, the global AOD or notification center can only fully display a limited number of notifications. Other notifications must be stacked to display brief information or hidden.

[0300] In some embodiments, after the electronic device generates a live notification for event A, it determines that other notifications exist at the location to be displayed. The electronic device may then determine whether the display space at the location to be displayed is sufficient, that is, whether the display space meets the display requirements for the live notification for event A. If the display space at the location to be displayed is sufficient, the electronic device may display the live notification, executing step S1605 below. If the display space at the location to be displayed is insufficient, the electronic device may further determine whether the live notification needs to be exposed for display, executing step S1606 below.

[0301] S1605. The electronic device displays a live notification of event A according to a preset sorting rule.

[0302] In some embodiments, after the electronic device generates a live notification of event A and determines that there is sufficient display space at the location to be displayed, the electronic device may determine the display location of the live notification according to a preset sorting rule to display the live notification at the location to be displayed.

[0303] It should be understood that the location to be displayed for a live notification can be used to display at least one of a live notification or a regular notification, and that live notifications have a higher display priority than regular notifications. Therefore, when the electronic device determines whether the display space at the location to be displayed is sufficient and determines whether to display a live notification based on a preset sorting rule, it needs to consider the various notification types already displayed at the location to be displayed, such as live notifications and regular notifications.

[0304] For example, as shown in interface 1701 in FIG17(a), the full-screen AOD displayed by the electronic device includes multiple notifications, including a text message notification 171 and a taxi order notification 172. Since text message notification 171 is a regular notification and taxi order notification 172 is a live notification, the display priority of taxi order notification 172 is higher than that of text message notification 171, i.e., taxi order notification 172 is displayed in the highest priority display position.

[0305] Afterwards, the electronic device determines that a call event has been received and generates a call notification corresponding to the call event, which is a live notification. The electronic device determines that there is sufficient space for the display location of the notification to be displayed on the current interface 1701. Furthermore, based on the preset sorting rules, the electronic device determines that the call notification meets the preset sorting rule requirements for the important type to be pinned to the top. Then, as shown in interface 1702 in Figure 17 (b), the electronic device displays call notification 173 at the top position with the highest priority among the notification display locations.

[0306] Afterward, the electronic device determines that it has received a takeout order event and generates a takeout order notification corresponding to the takeout order event, which is a live notification. The electronic device determines that there is sufficient space in the display location on current interface 1702 for the notifications to be displayed. Furthermore, based on the preset sorting rules, SMS notification 171 is determined to be a normal notification and has the lowest display priority. Of the remaining three live notifications, call notification 173 is an important event notification and has the highest display priority. Based on the creation or node refresh time sequence, takeout order notification 174 is the most recent notification, so its display priority is higher than that of taxi order notification 172. Therefore, the electronic device determines that the display priority order of the multiple notifications to be displayed in the display location is: call notification 173 > takeout order notification 174 > taxi order notification 172 > SMS notification 171. As shown in interface 1703 in Figure 17(c), the electronic device displays the multiple notifications in the notification display location in the determined display priority order.

[0307] In some examples, in other display scenarios, if the display space of the position to be displayed is sufficient, the electronic device may also determine the display order of the live notifications to be displayed according to a preset sorting rule.

[0308] Exemplarily, as shown in (a) of Figure 18, the electronic device receives a call notification generated by a call event while displaying the lock screen interface 1801, and in response to sufficient display space at the current position to be displayed, displays the call notification 181 at the top position with the highest priority among the positions to be displayed.

[0309] As another example, as shown in (b) of Figure 18, the electronic device receives a call notification generated by a call event during the process of the notification center interface 1802, and in response to sufficient display space in the current position to be displayed, displays the call notification 182 at the top position with the highest priority among the positions to be displayed.

[0310] As another example, as shown in (c) in FIG18 , the electronic device receives a call notification generated by a call event in the process of the desktop 1803, and in response to sufficient display space in the current position to be displayed, displays the call notification card 183 at the top position with the highest priority in the position to be displayed.

[0311] In this way, in various display scenarios, if there is sufficient display space at the intended display location, the electronic device can adaptively display the generated live notifications according to preset sorting rules. This prevents users from missing live notifications by following a reasonable display order and ensures that important live notifications are displayed first.

[0312] S1606: The electronic device determines that the live notification of event A needs to be exposed and displayed. If so, execute step S1607; if not, execute step S1608.

[0313] In some embodiments, after the electronic device generates a live notification for event A, it determines that the display space at the location to be displayed is insufficient. The electronic device may then determine that a notification has already been exposed and displayed at the location to be displayed, and determine, based on a preset sorting rule, whether the display priority of the live notification precedes the exposed notification. If the display priority of the live notification is higher than the exposed notification, the electronic device may seize the display position of the exposed notification, i.e., execute step S1607 below. If the display priority of the live notification is not higher than the exposed notification, the electronic device may hide or stack the live notification, i.e., execute step S1608 below.

[0314] S1607. According to a preset sorting rule, the electronic device seizes the display position of the notification that has been exposed to display, so as to display the live notification of event A.

[0315] In some embodiments, after generating a live notification for event A, the electronic device determines that there is insufficient display space for the location to be displayed. Furthermore, the electronic device determines that the display priority of the live notification to be displayed is higher than that of the notification that has already been displayed. The electronic device may then preempt the display location of the notification that has already been displayed to display the live notification to be displayed.

[0316] For example, as shown in interface 1901 in FIG. 19(a), while the electronic device is displaying a taxi-hailing notification 191 via a status bar capsule, it creates a takeout order event in response to a user operation and generates a takeout order notification for the takeout order event. The electronic device determines that it also needs to display the takeout order notification via a status bar capsule. Due to the limited display size, the electronic device can only display one capsule in the status bar. This means that there is insufficient display space for the takeout order notification. The electronic device then determines, based on a preset sorting rule, whether the display priority of the takeout order notification precedes the display priority of the already displayed taxi-hailing notification. For example, the electronic device determines that the display priority of the takeout order notification precedes the display priority of the already displayed taxi-hailing notification based on the creation time sequence. Then, as shown in interface 1902 in FIG. 19(b), the electronic device displays the takeout order notification 192 via a capsule in the status bar, meaning that the takeout order notification preempts the display position of the taxi-hailing notification.

[0317] Optionally, in capsule display mode, the obscured capsule can reveal a portion of its edge display area to alert the user that multiple notifications exist at the current display location. For example, as shown in interface 1902, the electronic device displays a takeout order notification 192, and below it, a taxi-hailing notification 191 is exposed. This allows the user to identify the notification currently obscured by takeout order notification 192.

[0318] Optionally, the electronic device may expose a portion of the edge display area of ​​the obscured capsule in one or more of the following positions: below, above, to the left, to the right, to the lower right, or to the upper right of the displayed notification. That is, the electronic device may display multiple notifications in various ways, such as vertically stacked display and horizontally stacked display.

[0319] Optionally, if there are multiple obscured notifications at a display location, the electronic device may expose a peripheral display area displaying all obscured notifications by stacking them, allowing the user to determine the specific number of obscured notifications at that display location. Alternatively, the electronic device may expose only a peripheral display area displaying some of the obscured notifications to inform the user of the obscured notifications at that display location and conserve display space.

[0320] It should be understood that the above uses capsule stacking to display multiple notifications as an example to illustrate the notification preemptive display process. In other display scenarios, the electronic device can also display multiple notifications in the above stacking manner.

[0321] In this way, when the display space is insufficient, the electronic device can also give priority to displaying important live notifications by preempting the display position, so as to avoid exceeding the timeliness requirement of the live notifications and making the live notifications invalid.

[0322] In some embodiments, after the electronic device preempts the display position of the previously displayed notification, if it determines that the event corresponding to the currently displayed live notification has ended, it may determine whether to retain the notification display according to a preset rule. If the electronic device determines that it is not necessary to retain the notification display due to the event ending, it may reveal the obscured notification.

[0323] For example, as shown in interface 1902 in Figure 19(b), a food delivery order notification preempts the display position of a taxi hailing notification. While the status bar is displaying food delivery order notification 192, the electronic device determines that the food delivery order event has ended. Furthermore, based on a preset rule, the electronic device determines that food delivery order notification 192 needs to be retained for another 10 minutes. Then, as shown in interface 1903 in Figure 19(c), after 10 minutes, the electronic device stops displaying food delivery order notification 192 and reveals the previously obscured taxi hailing notification 191.

[0324] In this way, the electronic device adjusts the display order of multiple live notifications that have been displayed according to changes in the live notifications, thereby ensuring the timeliness of the display of the live notifications and preventing the user from missing important live notifications.

[0325] S1608. According to a preset sorting rule, the electronic device hides or stacks the live notification of event A.

[0326] In some embodiments, after the electronic device generates a live notification for event A, it determines that there is insufficient display space at the location where the live notification is to be displayed. Furthermore, the electronic device determines that the display priority of the live notification to be displayed is lower than that of the notifications already displayed. In this case, the electronic device may hide or stack the live notification for event A.

[0327] Optionally, if the electronic device has multiple hidden or stacked notifications, it can determine the display priority according to a preset sorting rule and then hide or stack the multiple notifications. In this way, after the electronic device stops displaying the exposed notifications, it can directly display the previously hidden or stacked notification with the highest display priority.

[0328] For example, as shown in interface 2001 in FIG. 20( a), in a functional AOD scenario, a function window can only display one notification. As shown in interface 2001, while the electronic device is displaying live notification 201 in the function window, it receives a new live notification 202. The electronic device determines that there is insufficient display space for the location where live notification 202 is to be displayed. Furthermore, the electronic device determines, based on a preset sorting rule, that live notification 202 has a lower display priority than live notification 201. The electronic device may then hide live notification 202, i.e., keep live notification 201 exposed and displayed.

[0329] Alternatively, as shown in interface 2002 in FIG20( b ), the electronic device displays live notifications 202 in a stacked manner. That is, while the electronic device maintains the exposed display of live notification 201, it also exposes part of live notification 202 below live notification 201, so that the user can easily determine that there are multiple live notifications in the current function window.

[0330] Optionally, when an electronic device displays multiple notifications in a stacked manner, the electronic device may adjust the display of the multiple notifications in response to a user operation. For example, as shown in interface 2002 in FIG. 20( b ), the electronic device may reveal live notification 201 and stack live notification 202, and may detect a user sliding operation in a function window and reveal the stacked live notification 202.

[0331] It should be understood that if the electronic device displays a larger number of stacked notifications in the function window, in response to multiple sliding operations by the user, the electronic device can sequentially switch to display the corresponding notifications.

[0332] For example, as shown in interface 2101 in Figure 21(a), in a local AOD scenario, the electronic device displays a maximum of two notification capsules. If the electronic device determines that more notification capsules are to be generated, it can, based on preset sorting rules, preempt the display position of the previously displayed notification capsule, or hide or display the new notification capsule in a stacked manner.

[0333] As another example, as shown in interface 2101 in (a) of Figure 21, in a local AOD scenario, the electronic device displays a taxi notification 211 and a takeaway order notification 212 in a capsule display. Afterwards, in response to a user operation, as shown in interface 2102 in (b) of Figure 21, the electronic device displays the desktop, where a maximum of one capsule notification is displayed in the status bar. Then, the electronic device may determine that the display space of the current display position is insufficient and cannot display the taxi notification 211 and the takeaway order notification 212 at the same time. Then, the electronic device determines the display priority of the multiple notifications to be displayed according to the preset sorting rules. For example, the display priority of the takeaway order notification 212 is higher than the display priority of the taxi notification 211. Therefore, the electronic device may display the takeaway order notification 212 in an exposed manner and hide the taxi notification 211.

[0334] In this way, when display space is insufficient, the electronic device can temporarily hide or stack some notifications so that users can view them later. In addition, live notifications are more timely and update faster, so hiding or stacking some notifications can also prevent users from missing these notifications.

[0335] In some embodiments, when the electronic device hides or stacks some notifications, it may also expand and display the hidden or stacked notifications in response to user operations to facilitate the user to determine the notification display status.

[0336] Optionally, the electronic device can display hidden or stacked notifications by switching the display mode, making it easier for the user to determine the notification details.

[0337] For example, as shown in interface 2201 in FIG. 22 (a), the electronic device displays a takeaway order notification 221 in the status bar in the form of a capsule, wherein there is also a taxi notification in the status bar that is blocked by the takeaway order notification 221. In response to the user's operation on the takeaway order notification 221, as shown in interface 2202 in FIG. 22 (b), the electronic device may expand and display the detail pages of multiple notifications displayed in the status bar through capsules. For example, the electronic device displays the takeaway order notification 221 and the taxi notification 222 in the form of floating cards. Optionally, multiple floating cards can be displayed in styles such as tiling, stacking, and 3D depth display.

[0338] Optionally, due to limitations on the size of the electronic device's display screen, the electronic device can display a limited number of hovercards. Therefore, the electronic device can preset a certain number of status bar capsules to prevent the number of hovercards subsequently expanded in response to user actions from exceeding a threshold for the number of hovercards the electronic device can display. For example, this threshold is 5.

[0339] Optionally, when the electronic device displays interface 2202, in response to a user sliding operation after selecting a floating card, the electronic device may adjust the display order of multiple floating cards so that the user can view notification details in the best visual position.

[0340] As another example, in the scenario shown in FIG22(a), in response to a user's operation on a takeout order notification 221, the electronic device may expand and display multiple capsules, such as the takeout order notification 221 and the taxi notification 222, as shown in FIG22(c) interface 2203. In this way, while the user is aware of the multiple notifications displayed in a stack, they can independently select the notification for which they want to view the details page. For example, while the electronic device is displaying interface 2203, in response to a user's operation on a taxi notification 222, the electronic device may display the details of the taxi notification 222 via a floating card.

[0341] In this way, when the display space is limited, the electronic device can determine the hidden or stacked notifications through simple operations, thereby preventing the notifications from being hidden or stacked and causing the user to miss these notifications.

[0342] In some embodiments, in step S1601 above, the live notification for event A may be the first live notification for the newly generated event A. Alternatively, the live notification for event A may be a live notification updated at a node in response to a change in the event state. In this case, in the case of a node update, the later notification may temporarily occupy the display position of the earlier notification to be displayed, making it easier for the user to determine the notification update status.

[0343] Optionally, after a notification occupies the front position and is displayed for a period of time, the electronic device may restore the display of the notification in the original front position, thereby ensuring that notifications of higher importance are displayed first (ie, notifications with higher priority are displayed).

[0344] Optionally, the leading position is used to indicate a display position that can be exposed, and the trailing position is used to indicate a display position that is hidden or stacked.

[0345] The following is a detailed introduction to the display process of the temporary preemption of the notification front position.

[0346] For example, Figure 23 is a flowchart of another notification display method provided in an embodiment of the present application. As shown in Figure 23, the method includes the following steps.

[0347] S2301. The electronic device generates refresh content of live notification A.

[0348] In some embodiments, during the process of displaying live notification A, the electronic device determines that a node of an event that generates live notification A is updated, and generates refreshed content of the live notification.

[0349] S2302: The electronic device determines whether live notification A is exposed for display. If so, execute step S2303; if not, execute step S2304.

[0350] In some embodiments, after generating the refreshed content of live notification A, the electronic device determines that the original live notification A is already displayed in the leading position at the to-be-displayed position. In this case, the electronic device may directly refresh and display live notification A, i.e., execute the following step S2303. Alternatively, if the electronic device determines that the original live notification A is hidden or displayed in a stacked position at the to-be-displayed position, the electronic device may determine whether the refreshed content of live notification A is an important update to determine whether it needs to temporarily occupy the leading position for display, i.e., execute the following step S2304.

[0351] S2303. The electronic device refreshes and displays the live notification A.

[0352] In some embodiments, the electronic device determines that live notification A generates refresh content during the process of being exposed and displayed at the front position. The electronic device can directly display the refreshed live notification A at the original front position according to the refresh content.

[0353] In other embodiments, the electronic device determines that live notification A generates refresh content while being displayed at the front position. Furthermore, the electronic device further determines that a refresh of the container style is not necessary. In this case, the electronic device may directly display the refreshed live notification A at the original front position based on the refresh content.

[0354] S2304: The electronic device determines that the refreshed content is an important update. If so, step S2305 is executed; if not, step S2306 is executed.

[0355] In some embodiments, after acquiring the refresh content, the electronic device determines whether the refresh content needs to be notified to the user immediately. If the refresh content needs to be notified to the user immediately, the electronic device may determine that the refresh content is an important update. If the refresh content does not need to be notified to the user immediately, the electronic device may determine that the refresh content is not an important update.

[0356] In some embodiments, the electronic device determines to temporarily preempt the front position to display the refreshed content, i.e., executes step S2305 below. If the electronic device determines that the current refreshed content is not an important update, it can directly refresh the displayed content of live notification A. When live notification A is subsequently needed, it can display the refreshed content, i.e., return to step S2306 below.

[0357] S2305. The electronic device temporarily occupies the exposed position and refreshes the display of the live notification A.

[0358] In some embodiments, live notification A is temporarily preempted from the front position to be displayed, aiming to ensure the user's timely attention to the updated content of live notification A. Therefore, after temporarily preempting the front position to refresh and display live notification A, the electronic device may use animation or visual effects to attract the user's attention. This stage lasts for a duration of T1. After T1, the electronic device may retain the display of live notification A for T2, allowing the user to confirm the specific updated content of live notification A. In other words, the temporary preemption duration of live notification A is (T1 + T2).

[0359] Optionally, after the temporary preemption period, the electronic device can restore the original notification display in the front position, hiding the live notification or displaying it in a stacked manner. Optionally, when restoring the original notification display in the front position, the electronic device can restore the display of the original notification in the front position through the same dynamic or visual effects as those used for the temporary preemption, thereby making it easier for users to understand the concept of restoration after temporary preemption.

[0360] Optionally, the electronic device may determine a T1 duration that can better attract the user's attention based on device characteristics, experimental data, etc.

[0361] Optionally, the electronic device may determine the dwell time T2 required for the user to browse through the refreshed content and digest the refreshed content based on the amount of refreshed content, device characteristics, experimental data, etc.

[0362] For example, as shown in interface 2401 in FIG. 24 (a), the electronic device displays a takeout order notification 241 in the front position through a capsule display in the status bar. Below the takeout order notification 241, the electronic device hides and displays a taxi hailing notification 242 in the back position. During this process, the taxi hailing event generates refresh content for the taxi hailing notification, and the electronic device determines that the refresh content is an important update. Then, as shown in interface 2402 in FIG. 24 (b), the taxi hailing notification 242 temporarily occupies the front position of the takeout order notification 241, and the electronic device displays the taxi hailing notification 242 in the status bar through a capsule display. Afterwards, after the temporary occupation period, as shown in interface 2403 in FIG. 24 (c), the electronic device restores the exposed display of the takeout order notification 241 in the front position and hides the taxi hailing notification 242 in the back position.

[0363] S2306. The electronic device refreshes the live notification A.

[0364] In some embodiments, after obtaining the refreshed content, the electronic device determines that the refreshed content does not need to be notified to the user immediately, that is, the refreshed content is not an important update. In this case, the electronic device may refresh the displayed content of live notification A while maintaining the hidden or stacked display state of live notification A. Later, when the electronic device determines that live notification A needs to be revealed, it may display the refreshed display content of live notification A.

[0365] In this way, the electronic device adjusts the display order of multiple live notifications according to the changes in live notifications, ensuring the timely display of live notifications and preventing users from missing important live notifications. While allowing users to focus on the progress of the most important notifications, they also do not miss important updates from other notifications.

[0366] In addition, the overall solution takes into account the advantages of fixed sorting to facilitate user searches, and also allows users to obtain more comprehensive information through a temporary preemption mechanism to avoid missing important content.

[0367] In some embodiments, as terminal technology develops, electronic devices come in increasingly diverse forms. Therefore, display effects can be adapted to the characteristics of different electronic devices, providing users with the best display experience while fully utilizing display space.

[0368] For example, Figure 25 is a flowchart of another notification display method provided in an embodiment of the present application. As shown in Figure 25, the method includes the following steps.

[0369] S2501. The electronic device generates a live notification A.

[0370] S2502: The electronic device determines that the current device state is a special state. If so, step S2504 is executed; if not, step S2503 is executed.

[0371] Electronic device forms can be categorized as either standard or special forms. Special forms include devices with overly large or undersized displays, or displays with unusual shapes. Examples include foldable or tablet devices with ultra-wide status bars, or small foldable external displays or watches with circular, small screens. All other device forms are standard.

[0372] Optionally, a rule for distinguishing between common and special forms may be pre-set in the electronic device, and the electronic device can determine whether its own device form belongs to the common form or the special form according to the rule.

[0373] In some embodiments, after determining to generate live notification A, the electronic device may determine the current device form. If the current device form is a normal form, live notification A may be directly displayed based on the display scenario, i.e., executing step S2503 below. If the current device form is a special form, tag content may be determined to adjust the display of live notification A, i.e., executing step S2504 below.

[0374] S2503. The electronic device displays live notification A according to the current display scene.

[0375] In some embodiments, after determining to generate live notification A, the electronic device determines that the current device form is a normal form, and can display live notification A based on the current display scene in combination with the relevant methods described in the above embodiments.

[0376] S2504: The electronic device determines the display content of the marked live notification A. If so, execute step S2505; if not, execute step S2506.

[0377] S2505. The electronic device displays live notification A according to the tagged content.

[0378] S2506. The electronic device obtains appropriate display content and displays live notification A.

[0379] In some embodiments, some special form factor electronic devices with larger display screens can display more notification content compared to standard form factor electronic devices; whereas some special form factor electronic devices with smaller display screens can display less notification content. Therefore, the service can pre-configure and label different notification display content for standard and special form factor electronic devices.

[0380] In some embodiments, when the electronic device determines that it is an electronic device of a special form, it determines to generate a live notification A. Then, the electronic device can determine whether the live notification A has been marked with the display content corresponding to the current special form. If the display content has been marked, the electronic device can directly display the live notification A according to the display content marked by the service side (i.e., execute step S2505). If the display content is not marked, the electronic device can directly extract appropriate information from the notification display content corresponding to the original ordinary form electronic device according to the display requirements of the special form device, and display the live notification A (i.e., execute step S2506).

[0381] For example, as shown in interface 2601 in Figure 26(a), while a tablet displays call notification 261 in the status bar, it generates a taxi notification 262. The tablet identifies itself as a special form factor electronic device and determines whether the taxi app has marked taxi notification 262 as corresponding to the display content of a special form factor device. If so, the tablet retrieves the marked content. Subsequently, as shown in interface 2602 in Figure 26(b), the electronic device determines the display priority of the notifications based on pre-set sorting rules. For example, if the display priority of call notification 261 is higher than that of taxi notification 262, the tablet can then display call notification 261 at the top of the status bar using a capsule display, with taxi notification 262 stacked below call notification 261. Furthermore, tablets are wider than standard mobile phones, so the stacked taxi notification 262 can reveal part or all of the display area. In addition to tablets, other types of electronic devices with relatively large screens, such as foldable and rollable phones, PCs, and laptops, can also use the capsule stacking design shown in Figure 26.

[0382] As another example, in the scenario shown in Figure 27, the watch generates a takeout order notification 271 and determines that it is an electronic device of a special form. It can determine whether the takeout application has marked the takeout order notification 271 as corresponding to the display content of the special form device. If it is not marked, the display content of the takeout order notification 271 in the ordinary form device is shown in the interface 2701 shown in Figure 27 (a). The watch can extract the appropriate display content based on the display content of the takeout order notification 271 in the ordinary form device and the size of its own display screen. As shown in interface 2702 in Figure 27 (b), the watch displays the takeout order notification after extracting the appropriate display content.

[0383] In this way, by adapting to the display requirements of special-shaped devices, the original notification display content is simplified, and key content is highlighted to adapt to the device form, making it easier for users to quickly obtain important content.

[0384] For example, the temporary preemption mechanism described in FIG. 23 is also applicable to electronic devices with special form factors. As shown in interface 2801 in FIG. 28 (a), a tablet displays a call notification 281 at the top of the status bar using a capsule display method, and displays a taxi notification 282 stacked below call notification 281. During this process, the tablet receives the refreshed content of taxi notification 282 and determines that the refreshed content is important and needs to be displayed. The tablet determines that call notification 281 is important and needs to remain displayed at the top. Then, as shown in interface 2802 in FIG. 28 (b), the tablet determines that it is a special form factor device that supports displaying multiple capsule notifications in the status bar. As shown in interface 2802, the tablet can expand and display taxi notification 282. Alternatively, the tablet can cause taxi notification 282 to preempt the top display position of call notification 281. However, similar to the display method shown in interface 2802, the tablet also displays call notification 281 below taxi notification 282.

[0385] In this way, for special form factors of devices, notification display can be flexibly implemented in combination with the characteristics of the device to present the notification display style that is most convenient to view and use.

[0386] In each of the above embodiments, the corresponding method implementation process is described by taking a partial display form as an example. It should be understood that the notification display method provided in the embodiment of the present application is not limited to the partial display form of the above example, but can be applied to more display forms. For example, the electronic device is a VR / AR device. Then, the electronic device can support the presentation of information of 3D models. For example, the VR / AR device displays a notification of a takeaway application including a 3D model presentation, such as a takeaway man model riding a bicycle approaching.

[0387] Figure 29 is a flowchart of a notification display method provided by an embodiment of the present application. It should be noted that the method is not limited to Figure 29 and the specific sequence described below. It should be understood that in other embodiments, the order of some steps in the method can be interchanged according to actual needs, or some steps can be omitted or deleted. The method includes the following steps:

[0388] S2901. The electronic device displays a first interface, where the first interface includes a status bar at the top.

[0389] For example, as shown in FIG30 , the first interface may be a desktop or application interface, etc. The top of the first interface includes a status bar 301. The status bar 301 may be used to display status information of the electronic device, such as time, battery level, and network connection status.

[0390] S2902. The electronic device displays indication information of at least two notifications in a stacked form in a status bar.

[0391] The indication information of the at least two notifications includes the indication information of the first notification and the indication information of the second notification. The stacking form includes that the indication information of the first notification partially covers or completely covers the indication information of the second notification, or the indication information of the second notification partially covers or completely covers the indication information of the first notification.

[0392] 30 , the electronic device displays the indication information 302 of the first notification and the indication information 303 of the second notification in the status bar 301. The indication information 302 of the first notification partially covers the indication information 303 of the second notification.

[0393] In this way, by stacking and displaying multiple notifications in the status bar, the display space of the status bar is saved while ensuring that the user can find the notifications in time.

[0394] Optionally, the first notification and the second notification are live notifications.

[0395] In some embodiments, the indication information of the first notification and the indication information of the second notification are both in capsule form, and the two capsule-shaped indication information are displayed in a stacked form, and the stacking includes horizontal stacking or vertical stacking.

[0396] This allows live notifications to be displayed differently on different devices to ensure the best experience for the device. For example, on devices with a narrow status bar display area, such as mobile phones, notification capsules can be stacked vertically to conserve the status bar display area. Alternatively, on devices with a wider status bar display area, such as foldable screens and tablets, notification capsules can be stacked horizontally to display richer content.

[0397] In some embodiments, the indication information not only indicates the application that sends the first notification or the second notification, but also indicates the content of the first notification or the content of the second notification.

[0398] For example, the indication information includes information such as the icon of the application sending the first notification or the second notification, part of the content of the first notification or the second notification, the color of the first notification or the second notification (such as capsule color, card color, text color, etc.), etc.

[0399] In some embodiments, the electronic device determines, based on a sorting rule, that the stacking format of the indication information of at least two notifications is such that the indication information of the first notification partially or completely covers the indication information of the second notification, or such that the indication information of the second notification partially or completely covers the indication information of the first notification. Subsequently, the electronic device displays the indication information of the at least two notifications in the status bar in a stacked format.

[0400] Optionally, the sorting rules include one or more of the following rules: notification creation time, notification update time, notification importance, notification priority, historical data of user viewing notifications, or notification order manually set by the user.

[0401] For example, when the sorting rule is notification update time, if the update time of the first notification is later than the update time of the second notification, the stacking form is determined to be that the indication information of the first notification partially or completely overwrites the indication information of the second notification. If the update time of the second notification is later than the update time of the first notification, the stacking form is determined to be that the indication information of the second notification partially or completely overwrites the indication information of the first notification.

[0402] For example, if the electronic device receives a second notification while displaying the indication information of a first notification in the status bar, the indication information of the second notification may partially or completely cover the indication information of the first notification in the status bar. Alternatively, if the electronic device determines that the indication information of the first notification has been updated while displaying the indication information of the second notification in the status bar, the indication information of the first notification may partially or completely cover the indication information of the second notification.

[0403] In this way, the electronic device displays the most recently updated notification according to the update time of the notification, thereby ensuring that the user can view the most recently updated notification in a timely manner.

[0404] For another example, when the sorting rule is the importance of notifications, if the importance of the first notification is greater than or equal to the importance of the second notification, the stacking form is determined to be that the indication information of the first notification partially covers or completely covers the indication information of the second notification. If the importance of the first notification is less than or equal to the importance of the second notification, the stacking form is determined to be that the indication information of the second notification partially covers or completely covers the indication information of the first notification.

[0405] Optionally, the electronic device determines the importance of the notification based on the importance of the application generating the notification. For example, some important applications, such as the call application, may be preset. Then, after receiving a notification from the call application, the electronic device may determine that the notification from the call application is more important than the notification currently displayed in the status bar, and the notification from the call application may partially or completely overwrite the notification currently displayed in the status bar.

[0406] Alternatively, the electronic device determines the importance of the notification based on the notification type. For example, notifications generated by applications of a preset application type are more important, or notifications generated by node updates (such as various nodes in a food delivery process) are more important.

[0407] In this way, the electronic device displays more important notifications according to the importance of the notifications, thereby ensuring that the user can view the more important notifications in a timely manner.

[0408] For another example, when the sorting rule is the priority of the notification, if the priority of the first notification is higher than or equal to the priority of the second notification, the stacking form is determined to be that the indication information of the first notification partially covers or completely covers the indication information of the second notification. If the priority of the first notification is lower than or equal to the priority of the second notification, the stacking form is determined to be that the indication information of the second notification partially covers or completely covers the indication information of the first notification.

[0409] Optionally, the electronic device may preset a priority order of notifications of different types of applications, a priority order of different types of notifications, and the like.

[0410] In this way, the electronic device displays notifications with higher priorities according to the priorities of the notifications, thereby ensuring that the user can view the notifications with higher priorities in a timely manner.

[0411] In some examples, the electronic device displays a first interface, and the status bar of the first interface displays the indication information of the first notification. After the electronic device generates the indication information of the second notification, it determines the display priority of the indication information of the first notification and the indication information of the second notification according to the sorting rule. The electronic device then displays the indication information of the first notification and the indication information of the second notification in the status bar according to the display priority.

[0412] In some examples, due to limited display space in the status bar, the electronic device may preset a first number of display positions in the status bar. The first number of display positions may be used to display corresponding notifications, and any remaining notifications may be displayed in a stacked manner, such as being partially or fully covered by the first number of display positions.

[0413] For example, if the number of indication information in the first notification is greater than or equal to the first number, and the display priority of the indication information in the second notification is higher than or equal to the display priority of the indication information in the first notification, the display position of the indication information in the first notification is preempted to reveal the indication information in the second notification.

[0414] If the display priority of the indication information of the second notification is lower than or equal to the display priority of the indication information of the first notification, the indication information of the second notification is not displayed, or the indication information of the second notification is stacked and displayed so that the indication information of the first notification partially or completely covers the indication information of the second notification.

[0415] That is, when display space is insufficient, notifications with higher priority are displayed first.

[0416] It should be understood that if the number of first notifications is greater than the first number, some of the first notifications will be displayed in a stacked manner. Therefore, when a second notification with a higher display priority preempts the display position of a first notification, it will occupy the display position of the already displayed first notification, rather than the display position of the stacked first notification, thereby ensuring that the second notification with a higher display priority can be displayed.

[0417] For another example, when the amount of indication information of the first notification is less than the first amount, the electronic device displays the indication information of the first notification and the indication information of the second notification.

[0418] That is, when there is sufficient display space, all notifications to be displayed can be exposed.

[0419] In this way, the display priorities of different notifications are determined according to the sorting rules, thereby ensuring that notifications with higher display priorities are displayed first, thereby ensuring that users can view these notifications with higher display priorities in a timely manner.

[0420] In some embodiments, when the indication information of a first notification partially overlaps the indication information of a second notification, and a change in the content of the second notification is detected, the stacking format is updated so that the indication information of the second notification partially overlaps or completely overlaps the indication information of the first notification. When the indication information of a second notification partially overlaps the indication information of a first notification, and a change in the content of the first notification is detected, the stacking format is updated so that the indication information of the first notification partially overlaps or completely overlaps the indication information of the second notification.

[0421] The stacking form is updated for the N+1th time within a preset time after the stacking form is updated for the Nth time, so that the stacking form returns to the state before the Nth update, where N is a positive integer.

[0422] For example, an electronic device displays the indication information of a first notification and the indication information of a second notification in a stacked form in a status bar, wherein the indication information of the first notification partially or completely covers the indication information of the second notification. Afterwards, the electronic device determines that the content of the second notification has changed and the stacking form needs to be updated for the first time, then the electronic device may make the indication information of the second notification partially or completely cover the indication information of the first notification. Afterwards, within a preset time, the electronic device still needs to display the indication information of the first notification and the indication information of the second notification, and determines that the content of the first notification has changed and the stacking form needs to be updated for the second time, then the electronic device may make the stacking form return to the state before the first update, such as making the indication information of the first notification partially or completely cover the indication information of the second notification.

[0423] In some examples, when the indication information of the second notification is not displayed or displayed in a stacked manner, the refresh content of the indication information of the second notification is obtained. Within a preset time period, the display position of the indication information of the first notification is preempted to reveal the refresh content of the indication information of the second notification.

[0424] Optionally, the refresh content is refresh content that meets a first condition among multiple refresh contents of the indication information of the second notification, and the first condition includes that the refresh content is refresh content of a preset node, or the refresh content is refresh content of a preset type.

[0425] For example, as shown in interface 2401 in FIG. 24 (a), the electronic device displays a takeout order notification 241 in the front position using a capsule display in the status bar. Below the takeout order notification 241, the electronic device hides and displays a taxi hailing notification 242 in the back position. For example, the takeout order notification 241 partially covers the taxi hailing notification 242. During this process, the taxi hailing event generates refresh content for the taxi hailing notification, and the electronic device determines that the refresh content is an important update. Then, as shown in interface 2402 in FIG. 24 (b), the taxi hailing notification 242 temporarily takes over the front position of the takeout order notification 241, and the electronic device displays the taxi hailing notification 242 in the status bar using a capsule display. After the temporary preemption period, as shown in interface 2403 in FIG. 24 (c), the electronic device resumes the display of the takeout order notification 241 in the front position and hides the taxi hailing notification 242 in the back position.

[0426] In this way, in a scenario where there are multiple live notifications that need to be displayed at the same time and the display space is limited, the electronic device can temporarily display the notification content that is ranked lower but has important updates by preempting the display position, thereby providing timely prompts to the user.

[0427] In some embodiments, when the electronic device detects that the first preset condition corresponding to the first notification is met or detects that the second preset condition corresponding to the second notification is met, the electronic device displays the indication information of the first notification or the indication information of the second notification in the status bar at the top.

[0428] Optionally, the first preset condition or the second preset condition includes the arrival of a predetermined time, or the content of the first notification or the second notification is substantially updated.

[0429] For example, after the electronic device determines that a live notification has been received, it displays the live notification in a status bar.

[0430] For another example, if event A, which generates a live notification, is a scheduled event, the electronic device can display the live notification of event A based on the actual time of event A. For example, if event A is a high-speed rail ticket booking event, and if the high-speed rail ticket booking event occurs 5 days before the actual departure time, the electronic device can determine that the live notification of event A is a scheduled live notification based on the actual departure time. Therefore, the electronic device can display the live notification of event A at a delayed time. If the preset rule is to display the live notification corresponding to the ticket information 3 hours before the actual departure, the electronic device will determine the time to display the live notification to be after (T1-T2) based on the actual departure time T1 and the advance time T2.

[0431] For another example, the electronic device may notify after determining that the content of the notification has been substantially updated, such as updated content generated after reaching a preset node.

[0432] In this way, while ensuring that users check notifications in a timely manner, too many useless notifications will not affect users.

[0433] In some embodiments, while the electronic device is displaying the interface of a first application, detailed information of the first notification and / or detailed information of the second notification are displayed in a suspended form on the interface of the first application in response to a user's operation on the indication information of at least two stacked notifications.

[0434] Optionally, the detailed information is carried in the form of a card.

[0435] For example, as shown in interface 2201 in FIG. 22 (a), the electronic device displays a takeaway order notification 221 in the status bar in the form of a capsule, wherein there is also a taxi notification in the status bar that is blocked by the takeaway order notification 221. In response to the user's operation on the takeaway order notification 221, as shown in interface 2202 in FIG. 22 (b), the electronic device may expand and display the detail pages of multiple notifications displayed in the status bar through capsules. For example, the electronic device displays the takeaway order notification 221 and the taxi notification 222 in the form of floating cards. Optionally, multiple floating cards can be displayed in styles such as tiling, stacking, and 3D depth display.

[0436] In this way, when using other applications or browsing the desktop, users can follow the event process based on the status bar capsule information. Optionally, if the user needs to know more detailed information, they can also click (using click as an example, the operation can actually be defined as any simple operation that conforms to the user's intuition) the status bar capsule to make the electronic device expand the floating card list for viewing or convenient operation, thereby meeting the user's need to view notification details. Moreover, the expansion of the floating card does not interrupt the current task.

[0437] In some embodiments, the electronic device stops displaying indication information of the at least two notifications in the top status bar in response to a user operation after expanding and displaying detailed information of the at least two notifications.

[0438] In some embodiments, if a first operation is received with respect to the detailed information of a first notification or the detailed information of a second notification, in response to the first operation, the electronic device displays a functional interface of the application that sent the first notification or the second notification, where the functional interface is related to the first notification or the second notification. Alternatively, if a second operation is received, in response to the second operation, the display of the detailed information of the first notification and / or the detailed information of the second notification is stopped, and the electronic device displays indication information of at least two notifications.

[0439] For example, as shown in interface 1301 in FIG13(a), while the electronic device is displaying capsule 131 corresponding to a takeout order event, it detects a user clicking on capsule 131 and may display interface 1302 as shown in FIG13(b). On interface 1302, the electronic device displays card 132 corresponding to capsule 131. Compared to capsule 131, card 132 has a larger display area, allowing it to display more content related to the takeout order event, thereby helping the user understand more about the takeout order event. Subsequently, as shown in interface 1302 in FIG13(b), while displaying card 132 corresponding to capsule 131, the electronic device detects a user clicking on blank display area 133 on card 132 and determines that card 132 is used to display a notification corresponding to the takeout order event. Then, as shown in interface 1303 in FIG13(c), the electronic device may launch the takeout order application that generated the takeout order event and display the event details page corresponding to the notification displayed on card 132, thereby helping the user understand more about the takeout order event.

[0440] Alternatively, as shown in interface 1302 in FIG13( b ), when the electronic device is displaying the card 132 corresponding to the capsule 131 , if it detects a user operation on the desktop, it may stop displaying the card 132 and resume displaying the capsule 131 .

[0441] In this way, multiple operations on capsule notifications are pre-set in the electronic device to meet the user's various display needs.

[0442] In some embodiments, when there are multiple live notifications at the same time, the electronic device can adapt and display the multiple live notifications in multiple locations in combination with the current display scene, thereby facilitating users to quickly browse the required content.

[0443] Optionally, display scenarios include full-screen AOD, partial AOD, function AOD, lock screen interface, notification center, status bar, floating card, desktop display, etc. Display styles include capsule display, card display, visual image display, etc.

[0444] For example, in response to a user operation on the status bar, the notification center is expanded and displayed, and the notification center includes indication information or detailed information of at least two notifications, and the indication information or detailed information of at least two notifications are displayed in a manner including tiling, stacking or three-dimensional display.

[0445] For another example, an electronic device enters a screen-off state and displays a screen-off interface, which includes indication information or detailed information of at least two notifications. The indication information or detailed information of at least two notifications are displayed in a manner including: tiling, stacking, or three-dimensional display.

[0446] For another example, the electronic device enters the lock screen state and displays the lock screen interface, which includes indication information or detailed information of at least two notifications, and the indication information or detailed information of at least two notifications are displayed in a tiling, stacking or three-dimensional manner.

[0447] In some embodiments, when the indication information of the first notification partially covers the indication information of the second notification, in response to the user's operation on the first control in the indication information of the first notification, the first task is performed by the second application corresponding to the first notification. When the indication information of the second notification partially covers the indication information of the first notification, in response to the user's operation on the second control in the indication information of the second notification, the second task is performed by the third application corresponding to the second notification.

[0448] Optionally, the number of the first control or the second control is at least one.

[0449] For example, as shown in interface 1401 in FIG14(a), while the electronic device is displaying the capsule 141 corresponding to the call event, it detects the user's operation on the capsule 141 and displays interface 1402 as shown in FIG14(b), on which the card 142 corresponding to the capsule is displayed. Afterwards, the electronic device detects the user's operation on the hang-up control 143 displayed on the card 142 and determines that the user has instructed to hang up the call. Then, the electronic device can end the call event corresponding to the current card 142. Furthermore, as shown in interface 1403 in FIG14(c), after the call event ends, the electronic device no longer displays the notification corresponding to the call event, such as no longer displaying the card 142 or the capsule 141.

[0450] Alternatively, devices like PCs and smart TVs may be equipped with more precise keyboard and mouse or focus control functions. These devices can then support multi-hotspot button operations in a capsule form factor. For example, a capsule notification could have multiple actionable controls pre-installed, allowing users to access different functions through these controls, thus meeting more user needs.

[0451] In some embodiments, the electronic device displays a screen-off interface, the screen-off interface includes a function window, and a first animation is displayed in the function window, the first animation corresponding to the first notification.

[0452] Optionally, the function window further displays a second animation in a stacked form, the second animation corresponding to the second notification, and the stacked form includes the first animation partially covering or fully covering the second animation, or the second animation partially covering or fully covering the first animation.

[0453] Optionally, the first animation is a 2D animation or a 3D animation.

[0454] For example, if the electronic device is a VR / AR device, it can support the presentation of 3D model information. For example, a VR / AR device can display a notification from a food delivery app that includes a 3D model, such as a delivery man approaching on a bicycle.

[0455] For example, as shown in FIG6 , the electronic device receives event A while displaying the screen-off interface 601, and determines that event A is an immediate event, and its corresponding live notification needs to be displayed immediately. Then, the electronic device can display the live notification corresponding to event A through a visual image in the function window 61 on the screen-off interface 601 according to the current function AOD display scene. For example, if event A is a takeaway order event, the takeaway application can generate a delivery route map corresponding to the takeaway order, so that the electronic device can display the delivery route map in the function window 61, which is convenient for users to determine the rider's movement location, estimate the delivery time, etc.

[0456] As another example, as shown in FIG20( b ), the electronic device displays live notification 202 in a stacked display manner while displaying screen-off interface 2002. That is, while the electronic device maintains live notification 201, it also partially displays live notification 202 below live notification 201, making it easier for the user to identify the presence of multiple live notifications in the current function window.

[0457] The notification display method provided by the embodiment of the present application is described in detail above with reference to Figures 3 to 30. The electronic device provided by the embodiment of the present application is described in detail below with reference to Figure 31.

[0458] In one possible design, Figure 31 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. As shown in Figure 31, electronic device 3100 may include: a display unit 3101, a processing unit 3102, and a transceiver unit 3103. Electronic device 3100 may be used to implement the functions of the electronic device involved in the above method embodiments.

[0459] Optionally, the display unit 3101 is used to support the electronic device 3100 to execute S303 or S304 in Figure 3; and / or, support the electronic device 3100 to execute S703, S704 and S706 in Figure 7; and / or, support the electronic device 3100 to execute S1201, S1202, S1203 and S1204 in Figure 12; and / or, support the electronic device 3100 to execute S1603, S1605, S1607 and S1608 in Figure 16; and / or, support the electronic device 3100 to execute S2303, S2305 and S2306 in Figure 23; and / or, support the electronic device 3100 to execute S2503, S2505 and S2506 in Figure 25; and / or, support the electronic device 3100 to execute S2901 and S2902 in Figure 29.

[0460] Optionally, the processing unit 3102 is used to support the electronic device 3100 to execute S302 in Figure 3; and / or, support the electronic device 3100 to execute S701, S702, S705 and S706 in Figure 7; and / or, support the electronic device 3100 to execute S1602, S1604 and S1606 in Figure 16; and / or, support the electronic device 3100 to execute S2302 and S2304 in Figure 23; and / or, support the electronic device 3100 to execute S2502 and S2504 in Figure 25.

[0461] Optionally, the transceiver unit 3103 is used to support the electronic device 3100 to execute S301 in Figure 3; and / or, support the electronic device 3100 to execute S1201, S1203, S1204 and S1205 in Figure 12; and / or, support the electronic device 3100 to execute S1601 in Figure 16; and / or, support the electronic device 3100 to execute S2301 in Figure 23; and / or, support the electronic device 3100 to execute S2501 in Figure 25.

[0462] Among them, the transceiver unit may include a receiving unit and a sending unit, and may be implemented by a transceiver or a transceiver-related circuit component, and may be a transceiver or a transceiver module. The operations and / or functions of each unit in the electronic device 3100 are respectively to implement the corresponding process of the notification display method described in the above method embodiment. All relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional unit. For the sake of brevity, they are not repeated here.

[0463] Optionally, the electronic device 3100 shown in Figure 31 may further include a storage unit (not shown in Figure 31) having a program or instruction stored therein. When the display unit 3101, the processing unit 3102, and the transceiver unit 3103 execute the program or instruction, the electronic device 3100 shown in Figure 31 may execute the notification display method described in the above method embodiment.

[0464] The technical effects of the electronic device 3100 shown in FIG31 can refer to the technical effects of the notification display method described in the above method embodiment, and will not be repeated here.

[0465] In addition to being in the form of electronic device 3100, the technical solution provided in this application can also be a functional unit or chip in an electronic device, or a device used in conjunction with the electronic device.

[0466] An embodiment of the present application also provides a chip system, including: a processor, the processor is coupled to a memory, the memory is used to store programs or instructions, when the program or instructions are executed by the processor, the chip system implements the method in any of the above method embodiments.

[0467] Optionally, there may be one or more processors in the chip system. The processor may be implemented in hardware or software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented in software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.

[0468] Optionally, the memory in the chip system may be one or more. The memory may be integrated with the processor or may be provided separately from the processor, which is not limited in the embodiments of the present application. For example, the memory may be a non-transient processor, such as a read-only memory (ROM), which may be integrated with the processor on the same chip or provided on different chips. The embodiments of the present application do not specifically limit the type of memory or the configuration of the memory and the processor.

[0469] Exemplarily, the chip system may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.

[0470] It should be understood that each step in the above method embodiment can be completed by hardware integrated logic circuits in a processor or by software instructions. The method steps disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or by a combination of hardware and software modules in a processor.

[0471] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a computer, the computer executes the above-mentioned related steps to implement the notification display method in the above-mentioned embodiment.

[0472] An embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, it enables the computer to execute the above-mentioned related steps to implement the notification display method in the above-mentioned embodiment.

[0473] In addition, embodiments of the present application further provide a device. Specifically, the device may be a component or module, and may include one or more processors and a memory connected thereto. The memory is configured to store a computer program. When the computer program is executed by one or more processors, the device performs the notification display method described in each of the above method embodiments.

[0474] The apparatus, computer-readable storage medium, computer program product, or chip provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects of the corresponding methods provided above, and will not be repeated here.

[0475] The steps of the method or algorithm described in conjunction with the disclosure of the embodiments of the present application can be implemented in a hardware manner or can be implemented by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in a random access memory (RAM), a flash memory, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a register, a hard disk, a mobile hard disk, a read-only compact disc (CD-ROM) or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC).

[0476] Through the description of the above embodiments, those skilled in the art will clearly understand that for the sake of convenience and brevity, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed; that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working processes of the above-mentioned systems, devices, and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0477] In the several embodiments provided in this application, it should be understood that the disclosed methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of modules or units, which can be electrical, mechanical or other forms.

[0478] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0479] Computer-readable storage media include, but are not limited to, any of the following: 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, and other media that can store program code.

[0480] The above is only a specific embodiment of the present application, but the scope of protection of this application is not limited to this. Any changes or substitutions within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A notification display method, characterized in that: Applied to electronic equipment, the method comprises: Display a first interface, wherein the first interface includes a status bar at the top; Indication information of at least two notifications is displayed in the status bar in a stacked form, wherein the indication information of the at least two notifications includes indication information of a first notification and indication information of a second notification, and the stacked form includes the indication information of the first notification partially covering or fully covering the indication information of the second notification, or the indication information of the second notification partially covering or fully covering the indication information of the first notification.

2. The method according to claim 1, characterized in that Before displaying indication information of at least two notifications in the status bar in a stacked form, the method further includes: The stacking form of the indication information of the at least two notifications is determined according to the sorting rule that the indication information of the first notification partially covers or completely covers the indication information of the second notification, or that the indication information of the second notification partially covers or completely covers the indication information of the first notification.

3. The method according to claim 2, characterized in that The sorting rules include one or more of the following rules: creation time of notification, update time of notification, importance of notification, priority of notification, historical data of user viewing notifications, or notification order manually set by the user.

4. The method according to claim 3, characterized in that When the sorting rule is the update time of the notification, If the update time of the first notification is later than the update time of the second notification, determining that the stacking form is that the indication information of the first notification partially covers or completely covers the indication information of the second notification; If the update time of the second notification is later than the update time of the first notification, determining that the stacking form is that the indication information of the second notification partially covers or completely covers the indication information of the first notification; or, When the sorting rule is the importance of the notification, If the importance of the first notification is greater than or equal to the importance of the second notification, determining that the stacking form is that the indication information of the first notification partially covers or completely covers the indication information of the second notification; If the importance of the first notification is less than or equal to the importance of the second notification, determining that the stacking form is that the indication information of the second notification partially covers or completely covers the indication information of the first notification; or, When the sorting rule is the priority of the notification, If the priority of the first notification is higher than or equal to the priority of the second notification, determining that the stacking form is that the indication information of the first notification partially covers or completely covers the indication information of the second notification; If the priority of the first notification is lower than or equal to the priority of the second notification, the stacking form is determined to be that the indication information of the second notification partially covers or completely covers the indication information of the first notification.

5. The method according to any one of claims 1 to 4, characterized in that: When the indication information of the first notification partially covers the indication information of the second notification, it is detected that the content of the second notification has changed, updating the stacking form so that the indication information of the second notification partially covers or completely covers the indication information of the first notification; When the indication information of the second notification partially covers the indication information of the first notification, it is detected that the content of the first notification has changed, and the stacking form is updated so that the indication information of the first notification partially or completely covers the indication information of the second notification.

6. The method according to claim 5, characterized in that Within a preset time after the stacking form is updated for the Nth time, the stacking form is updated for the N+1th time, so that the stacking form returns to the state before the Nth update, where N is a positive integer.

7. The method according to any one of claims 1 to 6, characterized in that: Displaying indication information of at least two notifications in the status bar located at the top in a stacked form includes: When it is detected that a first preset condition corresponding to the first notification is met or when it is detected that a second preset condition corresponding to the second notification is met, indication information of the first notification or indication information of the second notification is displayed in the status bar located at the top.

8. The method according to claim 7, characterized in that The first preset condition or the second preset condition includes that a predetermined time has arrived, or that the content of the first notification or the second notification has been substantially updated.

9. The method according to any one of claims 1 to 8, characterized in that: The method further comprises: Displaying the interface of the first application; In response to a user operation on indication information of at least two notifications displayed in a stacked form, detailed information of the first notification and / or detailed information of the second notification are displayed on the interface of the first application in a suspended form.

10. The method according to claim 9, characterized in that The detailed information is carried in the form of a card.

11. The method according to claim 9 or 10, characterized in that: The method further comprises: Stop displaying indication information of the at least two notifications in the top status bar; If a first operation is received for the detailed information of the first notification or the detailed information of the second notification, in response to the first operation, a function interface of an application that sends the first notification or the second notification is displayed, the function interface being related to the first notification or the second notification; or, If a second operation is received, in response to the second operation, the detailed information of the first notification and / or the detailed information of the second notification is stopped from being displayed, and the indication information of the at least two notifications is displayed.

12. The method according to any one of claims 1 to 11, characterized in that: The method further comprises: In response to the user's operation on the status bar, the notification center is expanded and displayed, and the notification center includes indication information or detailed information of the at least two notifications. The indication information or detailed information of the at least two notifications are displayed in a tiling, stacking or three-dimensional manner.

13. The method according to any one of claims 1 to 12, characterized in that: The method further comprises: The electronic device enters a screen-off state and displays a screen-off interface, wherein the screen-off interface includes indication information or detailed information of the at least two notifications, and the indication information or detailed information of the at least two notifications are displayed in a manner including: tiling, stacking, or three-dimensional display.

14. The method according to any one of claims 1 to 13, characterized in that: The method further comprises: The electronic device enters a lock screen state and displays a lock screen interface, wherein the lock screen interface includes indication information or detailed information of the at least two notifications, and the indication information or detailed information of the at least two notifications are displayed in a tiling, stacking or three-dimensional manner.

15. The method according to any one of claims 1 to 8, characterized in that: The indication information of the first notification and the indication information of the second notification are both in capsule form, and the two capsule-shaped indication information are displayed in a stacked form, and the stacking includes horizontal stacking or vertical stacking.

16. The method according to any one of claims 1 to 15, characterized in that: The indication information not only indicates an application that sends the first notification or the second notification, but also indicates the content of the first notification or the content of the second notification.

17. The method according to any one of claims 1 to 16, characterized in that: The method further comprises: When the indication information of the first notification partially covers the indication information of the second notification, in response to a user operation on a first control in the indication information of the first notification, executing a first task through a second application corresponding to the first notification; When the indication information of the second notification partially covers the indication information of the first notification, in response to the user's operation on the second control in the indication information of the second notification, the second task is executed through the third application corresponding to the second notification.

18. The method according to claim 17, characterized in that The number of the first control or the second control is at least one.

19. A notification display method, characterized in that: Applied to electronic equipment, the method comprises: Displaying a first interface, wherein a status bar of the first interface displays indication information of a first notification; generating instruction information for a second notification; Determine, according to the sorting rule, a display priority sorting of the indication information of the first notification and the indication information of the second notification; According to the display priority sorting, the indication information of the first notification and the indication information of the second notification are displayed in the status bar.

20. The method according to claim 19, characterized in that The displaying the indication information of the first notification and the indication information of the second notification in the status bar according to the display priority order includes: The indication information of the first notification and the indication information of the second notification are displayed in the status bar in a capsule display manner. interest.

21. The method according to claim 19 or 20, characterized in that The displaying, in the status bar, the indication information of the first notification and the indication information of the second notification according to the display priority sorting includes: If the display priority of the indication information of the second notification is higher than or equal to the display priority of the indication information of the first notification, occupy the display position of the indication information of the first notification to expose the indication information of the second notification; If the display priority of the indication information of the second notification is lower than or equal to the display priority of the indication information of the first notification, the indication information of the second notification is not displayed, or the indication information of the second notification is stacked and displayed so that the indication information of the first notification partially or completely covers the indication information of the second notification.

22. The method according to claim 21, characterized in that The number of display positions in the status bar is a first number, and the number of indication information of the first notification is greater than or equal to the first number.

23. The method according to claim 22, characterized in that In a case where the amount of indication information of the first notification is less than the first amount, the method further includes: The indication information of displaying the first notification and the indication information of the second notification are exposed.

24. The method according to any one of claims 21 to 23, characterized in that: The method further comprises: When the indication information of the second notification is not displayed or is displayed in a stacked manner, obtaining refresh content of the indication information of the second notification; Within a preset time period, the display position of the indication information of the first notification is preempted to reveal the refreshed content of the indication information of the second notification.

25. The method according to claim 24, characterized in that The refresh content is refresh content that meets a first condition among multiple refresh contents of the indication information of the second notification, and the first condition includes that the refresh content is refresh content of a preset node, or the refresh content is refresh content of a preset type.

26. The method according to any one of claims 19 to 25, characterized in that: The method further comprises: A user operation on the indication information of the notification displayed in the status bar is detected, and a first card corresponding to the indication information of the first notification is displayed, and a second card corresponding to the indication information of the second notification is displayed.

27. The method according to any one of claims 19 to 25, characterized in that: The method further comprises: Detecting a user operation on a first control in the indication information of the first notification, and executing a first task through a second application corresponding to the first notification; An operation of a user on a second control in the indication information of the second notification is detected, and a second task is executed through a third application corresponding to the second notification.

28. The method according to claim 27, characterized in that The number of the first control or the second control is at least one.

29. The method according to any one of claims 19 to 28, characterized in that: The indication information of the second notification satisfies a second condition, where the second condition includes that the indication information of the second notification is live notification type indication information.

30. A notification display method, characterized in that: Applied to electronic equipment, the method comprises: Displaying a screen-off interface, wherein the screen-off interface includes a function window; A first animation is displayed in the function window, wherein the first animation corresponds to a first notification.

31. The method according to claim 30, characterized in that The function window also displays a second animation in a stacked form, where the second animation corresponds to a second notification. The stacked form includes the first animation partially or completely covering the second animation, or the second animation partially or completely covering the first animation.

32. The method according to claim 30 or 31, characterized in that The first animation is a 2D animation or a 3D animation.

33. The method according to claim 31, characterized in that The method further comprises: The stacking form of the first animation and the second animation is determined according to the sorting rule as follows: the first animation partially covers or completely covers the second animation, or the first animation partially covers or completely covers the first animation.

34. The method according to claim 33, characterized in that The sorting rules include one or more of the following rules: creation time of notification, update time of notification, importance of notification, priority of notification, historical data of user viewing notifications, or notification order manually set by the user.

35. An electronic device, characterized in that: include: A processor, a memory and a display screen, wherein the memory and the display screen are coupled to the processor, the memory is used to store computer program code, and the computer program code includes computer instructions. When the processor reads the computer instructions from the memory, the electronic device executes the method as described in any one of claims 1 to 18; or, the electronic device executes the method as described in any one of claims 19 to 29; or, the electronic device executes the method as described in any one of claims 30 to 34.

36. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a computer program, which, when executed on an electronic device, enables the electronic device to execute a method as described in any one of claims 1 to 18; or, enables the electronic device to execute a method as described in any one of claims 19 to 29; or, enables the electronic device to execute a method as described in any one of claims 30 to 34.

37. A computer program product, characterized in that When the computer program product is executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 34.

Citation Information

Patent Citations

  • Notification display method and electronic equipment

    CN118260001A

  • Notification message previewing method and electronic equipment

    CN110351422A

  • Notification message display method and electronic equipment

    CN113722027A

  • Notification message display method and electronic equipment

    CN113824842A

  • Display method and device of delivery order information and electronic equipment

    CN113868358A