Notification display methods and electronic devices

By stacking notification information in the status bar and prioritizing important or up-to-date notifications according to sorting rules, the problem of users having difficulty paying attention to time-sensitive notifications is solved, improving the efficiency and accuracy of notification display.

CN118260001BActive Publication Date: 2026-01-30HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202310945845.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2023-04-20
Filing Date
2023-07-26
Publication Date
2026-01-30
Estimated Expiration
2043-07-26

AI Technical Summary

Technical Problem

Users may find it difficult to pay attention to timely notifications, leading to a backlog of notifications that interferes with accessing other useful information.

Method used

Display multiple notifications in a stacked manner in the status bar, determine the display priority of notifications according to sorting rules, ensure that important or recently updated notifications are displayed first, and adjust the display order according to changes in live notifications.

Benefits of technology

It enables users to view important notifications in a timely manner, saves display space, avoids interference from useless notifications, and improves the effectiveness of notification reminders.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118260001B_ABST
    Figure CN118260001B_ABST
Patent Text Reader

Abstract

This application provides a notification display method and an electronic device, relating to the field of terminal technology. The electronic device of this application supports displaying indication information of multiple notifications in a stacked manner in the status bar to meet the display requirements of multiple real-time notifications. The method includes: the electronic device displaying a first interface, the first interface including a status bar at the top; the electronic device displaying indication information of at least two notifications in the status bar in a stacked manner. The indication information of the at least two notifications includes indication information of a first notification and indication information of a second notification. The stacking manner 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.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims priority to Chinese Patent Application No. 202310460548.3, filed on April 20, 2023, entitled "A Method, Apparatus and Device for Real-Time Notification", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of terminal technology, and in particular to a notification display method and electronic device. Background Technology

[0003] With the development of terminal technology, electronic devices (such as mobile phones and tablets) are installing more and more applications. These applications can generate various types of notifications to indicate relevant content. For example, a food delivery application can 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, users may find it difficult to notice timely notifications. If users only notice notifications after a period of time, these notifications become invalid, and their accumulation in the notification center can interfere with users receiving other valid notifications. Summary of the Invention

[0005] To address the aforementioned technical problems, this application provides a notification display method and an electronic device. The technical solution provided by this application allows the electronic device to display multiple notification messages in a stacked manner in the status bar, thereby meeting the display requirements of multiple real-time notifications.

[0006] To achieve the above-mentioned technical objectives, this application provides the following technical solution:

[0007] A first aspect provides a notification display method applied to an electronic device. The method includes: displaying a first interface, the first interface including a status bar at the top. The status bar displays indication information of at least two notifications in a stacked manner, the indication information of the at least two notifications including indication information of a first notification and indication information of a second notification, the stacking manner including 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.

[0008] In this way, by stacking multiple notifications in the status bar, we can ensure that users can discover notifications in a timely manner while saving display space in the status bar.

[0009] According to the first aspect, before displaying the indication information of at least two notifications in the status bar in a stacked manner, the method further includes: determining, according to a sorting rule, that the stacked manner of the indication information of the 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 that the indication information of the second notification partially or completely covers the indication information of the first notification.

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

[0011] 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 user's historical data of viewing notifications, or the notification order manually set by the user.

[0012] According to the first aspect, or any implementation 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, then the stacking form is determined to be that the indication information of the first notification partially 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, then the stacking form is determined to be that the indication information of the second notification partially or completely covers the indication information of the first notification.

[0013] In this way, electronic devices display the most recently updated notifications based on their update time, ensuring that users can view the most recently updated notifications in a timely manner.

[0014] In other examples, when the sorting rule is the importance of the notifications, if the importance of the first notification is greater than or equal to the importance of the second notification, then the stacking format is determined to be such that the indication information of the first notification partially 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, then the stacking format is determined to be such that the indication information of the second notification partially or completely covers the indication information of the first notification.

[0015] Optionally, the electronic device determines the importance of a notification based on the importance of the application that generated it. For example, it may pre-select certain important applications, such as a calling application. Then, upon receiving a notification from a calling application, the electronic device can determine that the notification from that calling application is more important than the notification currently displayed in the status bar, and the notification from the calling application can partially or completely override the notification currently displayed in the status bar.

[0016] Alternatively, electronic devices may determine the importance of a notification based on its type. For example, notifications from pre-defined application types may be considered more important, or notifications from updates at specific points in the food delivery process (such as the various stages of the delivery process) may be considered more important.

[0017] In this way, electronic devices display more important notifications based on their level of importance, thus ensuring that users can view more important notifications in a timely manner.

[0018] 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, then the stacking form is determined to be such that the indication information of the first notification partially 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, then the stacking form is determined to be such that the indication information of the second notification partially or completely covers the indication information of the first notification.

[0019] Optionally, the electronic device can be pre-configured with the priority order of notifications for different types of applications, the priority order of different types of notifications, etc.

[0020] In this way, electronic devices display higher-priority notifications based on their priority, ensuring that users can view higher-priority notifications in a timely manner.

[0021] According to the first aspect, or any implementation of the first aspect above, when the indication information of the first notification partially covers the indication information of the second notification, if 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 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, if 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 or completely covers the indication information of the second notification.

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

[0023] For example, an electronic device displays the indication information of a first notification and the indication information of a second notification in a stacked manner in the status bar, where the indication information of the first notification partially or completely covers the indication information of the second notification. Later, if the electronic device determines that the content of the second notification has changed and a first update of the stacking arrangement is required, the electronic device can make the indication information of the second notification partially or completely cover the indication information of the first notification. Subsequently, if within a preset time, the electronic device still needs to display the indication information of both the first and second notifications, and determines that the content of the first notification has changed and a second update of the stacking arrangement is required, the electronic device can revert the stacking arrangement to its 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.

[0024] In this way, the electronic device adjusts the display order of multiple live notifications based on changes in the live notification status, ensuring the timeliness of live notification display and preventing users from missing important live notifications.

[0025] Furthermore, when display space is insufficient, electronic devices can temporarily hide or stack some notifications, allowing users to view them later. Additionally, live notifications are highly time-sensitive and update quickly; hiding or stacking some notifications can prevent users from missing them.

[0026] According to the first aspect, or any implementation of the first aspect above, at least two notification indications are displayed in the status bar at the top in a stacked manner, including: when the first preset condition corresponding to the first notification is detected to be met or the second preset condition corresponding to the second notification is detected to be met, the indication information of the first notification or the indication information of the second notification is displayed in the status bar at the top.

[0027] 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 the predetermined time, or the content of the first notification or the second notification being substantially updated.

[0028] For example, after an electronic device confirms that it has received a live notification, it displays the live notification in its status bar.

[0029] For example, if event A, which generates the live notification, is a scheduled event, the electronic device can display the live notification for event A based on the actual occurrence time of event A. For instance, if event A is a high-speed rail ticket booking event, and the booking occurs 5 days before the actual departure time, the electronic device can determine that the live notification for event A is a scheduled event based on the actual departure time. Therefore, the electronic device can display the live notification for 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 time, then the electronic device will determine the time to display the live notification as (T1-T2) based on the actual departure time T1 and the advance time T2.

[0030] For example, electronic devices may issue a notification only after confirming that the content of the notification has been substantially updated, such as after reaching a preset node.

[0031] In this way, while ensuring that users see notifications in a timely manner, too many useless notifications will not be generated and affect users.

[0032] According to the first aspect, or any implementation of the first aspect above, the method further includes: displaying an interface of a first application. In response to a user's action regarding instructions for at least two notifications displayed in a stacked manner, details of the first notification and / or details of the second notification are displayed in a floating manner on the interface of the first application.

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

[0034] In this way, depending on user needs, electronic devices can display brief notification information via status bar capsules or detailed notification information via cards. User operation is simple, the display style is lightweight, and it allows users to maintain continuity of their original tasks in different scenarios.

[0035] According to the first aspect, or any implementation of the first aspect above, the method further includes: stopping the display of indication information for at least two notifications in the top status bar. If a first operation is received regarding details of the first notification or details of the second notification, in response to the first operation, the functional interface of the application that sent the first notification or the second notification is displayed, the functional interface being related to the first notification or the second notification.

[0036] Alternatively, if a second operation is received, in response to the second operation, the display of details of the first notification and / or the details of the second notification is stopped, and instruction information of at least two notifications is displayed.

[0037] In this way, while using other applications or browsing the desktop, users can follow the progress of events based on the information in the status bar capsule. Optionally, if users need more detailed information, they can also click on the status bar capsule (taking a click as an example, this operation can actually be defined as any simple operation that conforms to the user's intuition) to expand the floating card list on the electronic device for viewing or convenient operation, thereby meeting the user's need to view notification details. Furthermore, the expansion and display of the floating cards will not interrupt the current task.

[0038] According to the first aspect, or any implementation of the first aspect above, the method further includes: in response to a user's operation on the status bar, expanding and displaying a notification center, the notification center including indication information or details of at least two notifications, the indication information or details of the at least two notifications being displayed in a tiling, stacking, or three-dimensional manner.

[0039] According to the first aspect, or any implementation of the first aspect above, the method further includes: the electronic device entering a screen-off state and displaying a screen-off interface, the screen-off interface including instruction information or detailed information of at least two notifications, the display method of the instruction information or detailed information of at least two notifications including: tiling, stacking or three-dimensional display.

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

[0041] In this way, electronic devices can display notifications in a timely and appropriate manner by combining different display scenarios, thereby preventing users from missing some time-sensitive notifications and improving the effectiveness of notification reminders.

[0042] Furthermore, in different display scenarios, electronic devices automatically adjust the display style of notifications to ensure that the notifications are displayed without affecting the display and operation of the current task.

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

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

[0045] In this way, the display format of live notifications is adapted differently on different devices to ensure the best experience for the current device. For example, on devices with a narrow status bar display area, such as mobile phones, capsule notifications are stacked vertically to save space in the status bar. On the other hand, on devices with a wider status bar display area, such as foldable screens / tablets, capsule notifications are stacked horizontally to display more content.

[0046] According to the first aspect, or any implementation of the first aspect above, the instruction information not only indicates the application sending the first notification or the second notification, but also indicates the content of the first notification or the content of the second notification.

[0047] For example, the instruction information may include the icon of the application that sent the first or second notification, part of the content of the first or second notification, and the color of the first or second notification (such as capsule color, card color, text color, etc.).

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

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

[0050] Optionally, devices such as PCs and smart TVs can be equipped with more precise keyboard and mouse or focus control functions. These devices can then support multi-zone button operation within the capsule-shaped design. For example, multiple operable controls can be pre-installed in the capsule notification, allowing users to perform different functions and meet a wider range of operational needs.

[0051] Secondly, a notification display method is provided, applied to an electronic device. The method includes: displaying a first interface, wherein the status bar of the first interface displays indication information of a first notification; generating indication information of a second notification; determining the display priority order of the indication information of the first notification and the indication information of the second notification according to a sorting rule; 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 order.

[0052] According to the second aspect, or any implementation of the second aspect above, the instruction information of the second notification satisfies the second condition, the second condition including that the instruction information of the second notification is a real-time notification type instruction information.

[0053] According to the second aspect, 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: displaying the indication information of the first notification and the indication information of the second notification in the status bar through a capsule display.

[0054] According to the second aspect, or any implementation thereof, the indication information of the first notification and the indication information of the second notification are displayed in the status bar according to 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 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, such that the indication information of the first notification partially or completely covers the indication information of the second notification.

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

[0056] In this way, when display space is insufficient, electronic devices can prioritize displaying important live notifications by seizing display space, thus avoiding exceeding the timeliness requirements of live notifications and causing them to become invalid.

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

[0058] Thus, in various display scenarios, if there is sufficient display space at the desired location, the electronic device can adaptively display the generated live notifications according to preset sorting rules. This ensures that users don't miss live notifications by following a reasonable display order, and also guarantees that important live notifications are displayed first.

[0059] 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 stacked, obtaining the 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 expose the refreshed content of the indication information of the second notification.

[0060] In this way, the electronic device adjusts the display order of multiple live notifications based on changes in the live notification status, ensuring the timeliness of live notification display and preventing users from missing important live notifications.

[0061] According to the second aspect, or any implementation of the second aspect above, the refresh content is the refresh content that satisfies the first condition among the various refresh contents of the instruction information of the second notification. The first condition includes the refresh content being the refresh content of a preset node, or the refresh content being the refresh content of a preset type.

[0062] In this way, the electronic device adjusts the display order of multiple live notifications based on changes in the live notification status, ensuring the timeliness of live notifications and preventing users from missing important live notifications. This allows users to focus on the progress of the most important notifications while also ensuring they don't miss important updates from other notifications.

[0063] In addition, the overall solution takes into account the advantages of fixed sorting for easy user search, and also uses a temporary preemption mechanism to allow users to obtain more comprehensive information and avoid missing important content.

[0064] According to the second aspect, or any implementation of the second aspect above, the method further 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.

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

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

[0067] Thirdly, a notification display method is provided, applied to an electronic device. The method includes: displaying an always-on display screen, the screen including a function window; and displaying a first animation in the function window, the first animation corresponding to a first notification.

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

[0069] According to the third aspect, or any of the above-mentioned third aspects, the first animation is a 2D animation or a 3D animation.

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

[0071] For example, if the electronic device is a VR / AR device, then it can support the presentation of 3D model information. For instance, a VR / AR device displaying notifications from a food delivery app might include a 3D model, such as a delivery person model approaching on a bicycle.

[0072] In this way, by displaying notifications using 2D or 3D animations, users can have a more flexible and vivid notification display experience.

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

[0074] 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 user's historical data of viewing notifications, or the notification order manually set by the user.

[0075] According to the third aspect, or any implementation of the third 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, then the stacking form is determined to be that the first animation partially or completely covers the second animation. If the update time of the second notification is later than the update time of the first notification, then the stacking form is determined to be that the second animation partially or completely covers the first animation.

[0076] Alternatively, when the sorting rule is based on the importance of notifications, if the importance of the first notification is greater than or equal to the importance of the second notification, then the stacking format is determined to be either the first animation covering or completely covering the second animation. If the importance of the first notification is less than or equal to the importance of the second notification, then the stacking format is determined to be either the second animation partially covering or completely covering the first animation.

[0077] Alternatively, when the sorting rule is based on notification priority, if the priority of the first notification is higher than or equal to the priority of the second notification, the stacking arrangement is determined to be that the first animation partially 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 arrangement is determined to be that the second animation partially or completely covers the first animation.

[0078] 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 structure is updated so that the second animation partially 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 structure is updated so that the first animation partially or completely covers the second animation.

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

[0080] According to the third aspect, or any implementation of the third aspect above, the method further includes: when the first preset condition corresponding to the first notification is met or 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.

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

[0082] Fourthly, an electronic device is provided. The electronic device includes: a processor, a memory, and a display screen, the memory and the display screen being coupled to the processor. The memory stores computer program code, which includes computer instructions. When the processor reads the computer instructions from the memory, the electronic device performs the following actions: displaying a first interface, the first interface including a status bar at the top. The status bar displays indication information for at least two notifications in a stacked manner, the indication information for the at least two notifications including indication information for a first notification and indication information for a second notification. The stacking manner includes the indication information for the first notification partially or completely covering the indication information for the second notification, or the indication information for the second notification partially or completely covering the indication information for the first notification.

[0083] According to the fourth aspect, when the processor reads computer instructions from memory, it also causes the electronic device to perform: determining, according to a sorting rule, that the stacking 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 that the indication information of the second notification partially or completely covers the indication information of the first notification.

[0084] 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 user's historical data of viewing notifications, or the notification order manually set by the user.

[0085] According to the fourth aspect, or any implementation of the fourth 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, then the stacking form is determined to be that the indication information of the first notification partially 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, then the stacking form is determined to be that the indication information of the second notification partially or completely covers the indication information of the first notification.

[0086] 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, then the stacking form is determined to be that the indication information of the first notification partially or completely covers the indication information of the second notification.

[0087] If the importance of the first notification is less than or equal to the importance of the second notification, then the stacking format is determined to be such that the instruction information of the second notification partially or completely covers the instruction information of the first notification.

[0088] Alternatively, when the sorting rule is based on the priority of the notification, if the priority of the first notification is higher than or equal to the priority of the second notification, then the stacking form is determined to be such that the indication information of the first notification partially 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, then the stacking form is determined to be such that the indication information of the second notification partially or completely covers the indication information of the first notification.

[0089] According to the fourth aspect, or any implementation of the fourth aspect above, when the indication information of the first notification partially covers the indication information of the second notification, if 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 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, if 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 or completely covers the indication information of the second notification.

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

[0091] According to the fourth aspect, or any implementation of the fourth aspect above, at least two notification indications are displayed in the status bar at the top in a stacked manner, including: when the first preset condition corresponding to the first notification is detected to be met or the second preset condition corresponding to the second notification is detected to be met, the indication information of the first notification or the indication information of the second notification is displayed in the status bar at the top.

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

[0093] According to the fourth aspect, or any implementation of the fourth aspect above, when the processor reads computer instructions from memory, it further causes the electronic device to perform: displaying the interface of the first application; and, in response to a user's operation regarding instructions for at least two notifications displayed in a stacked manner, displaying details of the first notification and / or the second notification in a floating manner on the interface of the first application.

[0094] According to the fourth aspect, or any of the above implementations of the fourth aspect, detailed information is carried in the form of cards.

[0095] According to the fourth aspect, or any implementation of the fourth aspect above, when the processor reads computer instructions from memory, it also causes the electronic device to: stop displaying indication information for at least two notifications in the top status bar. If a first operation is received regarding details of the first notification or details of the second notification, in response to the first operation, the functional interface of the application that sent the first notification or the second notification is displayed, the functional interface being related to the first notification or the second notification.

[0096] Alternatively, if a second operation is received, in response to the second operation, the display of details of the first notification and / or the details of the second notification is stopped, and instruction information of at least two notifications is displayed.

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

[0098] According to the fourth aspect, or any implementation of the fourth aspect above, when the processor reads computer instructions from memory, it also causes the electronic device to execute: the electronic device enters a screen-off state and displays a screen-off interface, the screen-off interface including instruction information or detailed information of at least two notifications, and the display method of the instruction 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 fourth aspect above, when the processor reads computer instructions from memory, it also causes the electronic device to execute: the electronic device enters a lock screen state and displays a lock screen interface, the lock screen interface including indication information or details of at least two notifications, the indication information or details of the at least two notifications being displayed in a tiling, stacking, or three-dimensional manner.

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

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

[0102] According to the fourth aspect, or any implementation thereof, when the processor reads computer instructions from memory, it further causes the electronic device to perform: when the instruction information of the first notification partially covers the instruction information of the second notification, in response to the user's operation on the first control in the instruction information of the first notification, a first task is performed through the second application corresponding to the first notification. When the instruction information of the second notification partially covers the instruction information of the first notification, in response to the user's operation on the second control in the instruction information of the second notification, a second task is performed through the third application corresponding to the second notification.

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

[0104] Fifthly, an electronic device is provided. The electronic device includes: a processor, a memory, and a display screen, the memory and the display screen being coupled to the processor. The memory stores computer program code, which includes computer instructions. When the processor reads the computer instructions from the memory, the electronic device performs the following actions: displaying a first interface, the status bar of which displays indication information of a first notification; generating indication information of a second notification; determining the display priority order of the indication information of the first notification and the indication information of the second notification according to a sorting rule; 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 order.

[0105] According to the fifth aspect, or any implementation of the fifth aspect above, the instruction information of the second notification satisfies the second condition, the second condition including that the instruction information of the second notification is a real-time notification type instruction information.

[0106] According to the fifth aspect, 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: displaying the indication information of the first notification and the indication information of the second notification in the status bar through a capsule display.

[0107] According to the fifth aspect, or any implementation thereof, the indication information of the first notification and the indication information of the second notification are displayed in the status bar according to 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 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, such that the indication information of the first notification partially or completely covers the indication information of the second notification.

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

[0109] According to the fifth aspect, or any implementation of the fifth aspect above, when the number of indications in the first notification is less than the first number, when the processor reads computer instructions from memory, it also causes the electronic device to perform: displaying the indications in the first notification and the indications in the second notification.

[0110] According to the fifth aspect, or any implementation thereof, when the processor reads computer instructions from memory, the electronic device further performs the following: when the instruction information of the second notification is not displayed or is not stacked, acquiring the refreshed content of the instruction information of the second notification; and within a preset time period, preempting the display position of the instruction information of the first notification to reveal the refreshed content of the instruction information of the second notification.

[0111] According to the fifth aspect, or any implementation of the fifth aspect above, the refresh content is the refresh content that satisfies the first condition among the various refresh contents of the instruction information of the second notification. The first condition includes the refresh content being the refresh content of a preset node, or the refresh content being the refresh content of a preset type.

[0112] According to the fifth aspect, or any implementation of the fifth aspect above, when the processor reads computer instructions from memory, it also causes the electronic device to perform: 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.

[0113] According to the fifth aspect, or any implementation thereof, when the processor reads computer instructions from memory, it further causes the electronic device to perform: detecting user operation on a first control in the instruction information of a first notification, and performing a first task through a second application corresponding to the first notification; detecting user operation on a second control in the instruction information of a second notification, and performing a second task through a third application corresponding to the second notification.

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

[0115] Sixthly, an electronic device is provided. The electronic device includes: a processor, a memory, and a display screen, the memory and the display screen being coupled to the processor. The memory stores computer program code, which includes computer instructions. When the processor reads the computer instructions from the memory, it causes the electronic device to execute: displaying an always-on display, the always-on display including a function window. A first animation is displayed in the function window, the first animation corresponding to a first notification.

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

[0117] According to the sixth aspect, or any of the above-mentioned implementations of the sixth aspect, the first animation is a 2D animation or a 3D animation.

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

[0119] According to the sixth aspect, or any implementation of the sixth 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 user's historical data of viewing notifications, or the notification order manually set by the user.

[0120] According to the sixth aspect, or any implementation of the sixth 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, then the stacking form is determined to be that the first animation partially or completely covers the second animation. If the update time of the second notification is later than the update time of the first notification, then the stacking form is determined to be that the second animation partially or completely covers the first animation.

[0121] Alternatively, when the sorting rule is based on the importance of notifications, if the importance of the first notification is greater than or equal to the importance of the second notification, then the stacking format is determined to be either the first animation covering or completely covering the second animation. If the importance of the first notification is less than or equal to the importance of the second notification, then the stacking format is determined to be either the second animation partially covering or completely covering the first animation.

[0122] Alternatively, when the sorting rule is based on notification priority, if the priority of the first notification is higher than or equal to the priority of the second notification, the stacking arrangement is determined to be that the first animation partially 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 arrangement is determined to be that the second animation partially or completely covers the first animation.

[0123] According to the sixth aspect, or any implementation of the sixth 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 structure is updated so that the second animation partially 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 structure is updated so that the first animation partially or completely covers the second animation.

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

[0125] According to the sixth aspect, or any implementation of the sixth aspect above, when the processor reads computer instructions from the memory, it also causes the electronic device to perform: when the first preset condition corresponding to the first notification is met or 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.

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

[0127] A seventh aspect provides an electronic device that functions to implement the notification display method as described in the first aspect and any of its possible implementations; or, the electronic device functions to implement the notification display method as described in the second aspect and any of its possible implementations; or, the electronic device functions to implement the notification display method as described in the third aspect and any of its possible implementations. This function can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-described function.

[0128] Eighthly, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program (also referred to as instructions or code) that, when executed by an electronic device, causes the electronic device to perform the method of the first aspect or any embodiment thereof; or causes the electronic device to perform the method of the second aspect or any embodiment thereof; or causes the electronic device to perform the method of the third aspect or any embodiment thereof.

[0129] Ninth aspect, a computer program product is provided that, when the computer program product is run on an electronic device, causes the electronic device to perform the method of the first aspect or any one of the embodiments of the first aspect; or causes the electronic device to perform the method of the second aspect or any one of the embodiments of the second aspect; or causes the electronic device to perform the method of the third aspect or any one of the embodiments of the third aspect.

[0130] In a tenth aspect, a circuit system is provided, the circuit system including a processing circuit configured to perform the method of the first aspect or any embodiment of the first aspect; or, the processing circuit is configured to perform the method of the second aspect or any embodiment of the second aspect; or, the processing circuit is configured to perform the method of the third aspect or any embodiment of the third aspect.

[0131] Eleventhly, a chip system is provided, including 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, wherein 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.

[0132] The technical effects of the aforementioned aspects can be referenced from each other, and will not be elaborated further here. Attached Figure Description

[0133] Figure 1 This is a schematic diagram of the electronic device provided in the embodiments of this application;

[0134] Figure 2 A schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application;

[0135] Figure 3 Flowchart of the notification display method provided in the embodiments of this application Figure 1 ;

[0136] Figure 4 Schematic diagrams of notification display interfaces in different display scenarios provided in the embodiments of this application. Figure 1 ;

[0137] Figure 5 Schematic diagrams of notification display interfaces in different display scenarios provided in the embodiments of this application. Figure 2 ;

[0138] Figure 6 Schematic diagrams of notification display interfaces in different display scenarios provided in the embodiments of this application. Figure 3 ;

[0139] Figure 7 Flowchart of the notification display method provided in the embodiments of this application Figure 2 ;

[0140] Figure 8 A schematic diagram of the interface for displaying notification refresh content provided in this application embodiment. Figure 1 ;

[0141] Figure 9 A schematic diagram of the interface for displaying notification refresh content provided in this application embodiment. Figure 2 ;

[0142] Figure 10 A schematic diagram of the notification disappearance provided in this application embodiment. Figure 1 ;

[0143] Figure 11 A schematic diagram of the notification disappearance provided in this application embodiment. Figure 2 ;

[0144] Figure 12 Flowchart of the notification display method provided in the embodiments of this application Figure 3 ;

[0145] Figure 13 A schematic diagram of the interface for displaying notification details provided in this application embodiment. Figure 1 ;

[0146] Figure 14 A schematic diagram of the interface for displaying notification details provided in this application embodiment. Figure 2 ;

[0147] Figure 15 A schematic diagram of the interface for displaying notification details provided in this application embodiment. Figure 3 ;

[0148] Figure 16 Flowchart of the notification display method provided in the embodiments of this application Figure 4 ;

[0149] Figure 17 A schematic diagram of the interface for preempting display position of a notification provided in this application embodiment. Figure 1 ;

[0150] Figure 18 A schematic diagram of the interface for preempting display position of a notification provided in this application embodiment. Figure 2 ;

[0151] Figure 19 A schematic diagram of the interface for preempting display position of a notification provided in this application embodiment. Figure 3 ;

[0152] Figure 20 A schematic diagram of the interface for preempting display position of a notification provided in this application embodiment. Figure 4 ;

[0153] Figure 21 A schematic diagram of the interface for preempting display position of a notification provided in this application embodiment. Figure 5 ;

[0154] Figure 22 A schematic diagram of the interface for displaying stacked notifications provided in an embodiment of this application;

[0155] Figure 23 Flowchart of the notification display method provided in the embodiments of this application Figure 5 ;

[0156] Figure 24 A schematic diagram of an interface for temporarily preempting display space for a notification, provided in an embodiment of this application.

[0157] Figure 25 Flowchart of the notification display method provided in the embodiments of this application Figure 6 ;

[0158] Figure 26 A schematic diagram of the interface for displaying notifications for a special form device provided in this application embodiment. Figure 1 ;

[0159] Figure 27 A schematic diagram of the interface for displaying notifications for a special form device provided in this application embodiment. Figure 2 ;

[0160] Figure 28 A schematic diagram of the interface for displaying notifications for a special form device provided in this application embodiment. Figure 3 ;

[0161] Figure 29 Flowchart of the notification display method provided in the embodiments of this application Figure 7 ;

[0162] Figure 30 A schematic diagram of an interface for displaying notifications in the status bar, provided for an embodiment of this application;

[0163] Figure 31 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0164] The technical solutions of the embodiments of this application are described below with reference to the accompanying drawings. In the description of the embodiments of this application, the terminology used in the following embodiments is for the purpose of describing specific embodiments only and is not intended to be a limitation of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to include expressions such as “one or more,” unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of this application, “at least one” and “one or more” refer to one or more (including two).

[0165] References to "one embodiment" or "some embodiments" in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized. The term "connection" includes direct connections and indirect connections, unless otherwise stated. "First" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated.

[0166] In the embodiments of this application, the words "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 construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of the words "exemplarily" or "for example" is intended to present the relevant concepts in a specific manner.

[0167] In some embodiments, electronic devices (such as mobile phones, tablets, etc.) can display notifications generated by the service side in various ways. These services that generate notifications may be applications, meta-services, mini-programs, etc. For example, electronic devices may use banner notifications, lock screen notifications, desktop badges, and other methods to alert users to notifications generated by applications, which users can then view.

[0168] Optionally, based on timeliness, notifications can include live notifications 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 food delivery orders. Non-live notifications are used to indicate notifications with lower timeliness requirements, such as application update notifications and content recommendations. The application can pre-configure the rules for classifying live and non-live notifications; after generating a notification, the application can determine whether the current notification is live or non-live.

[0169] In some examples, real-time notifications need to reach the user within a certain timeframe to deliver accurate and valuable information. After that timeframe, the notification becomes junk. For instance, users track the progress of their food delivery orders based on notifications, which may include messages like "Merchant accepted order," "Rider accepted order," "Rider is en route to merchant," "Rider is delivering," or "Order delivered." If a user fails to see the "Merchant accepted order" notification on their electronic device until later in the order process, the notification becomes invalid junk at the time of its attention.

[0170] Furthermore, as the number of applications installed on electronic devices increases, and the number of notifications generated by different applications also increases, it becomes more difficult for users to keep up with live notifications in a timely manner.

[0171] Furthermore, even after some notifications have become invalid, electronic devices may still display these invalid notifications, which can also distract users from paying attention to other valid notifications.

[0172] In response, many manufacturers are currently configuring preset functions in electronic devices to enable the devices to highlight live notifications or notifications that the devices deem necessary for the user to pay attention to.

[0173] For example, some electronic devices display a pop-up notification after receiving a live feed to alert the user. This pop-up is typically located near the camera cutout.

[0174] However, current notification display methods are heavily reliant on hardware configurations and lack versatility. Furthermore, they can only display brief content from a limited number of pre-configured real-time notifications generated by specific tasks.

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

[0176] However, current notification display methods heavily rely on the processing power of electronic devices, increasing the possibility of inaccurate notifications. Furthermore, electronic devices display processed notifications based on preset timing, which fails to meet the timeliness requirements of real-time notifications, preventing users from noticing them promptly.

[0177] For example, some electronic devices have pre-configured windows on the desktop. When an important notification is received from a preset application, the electronic device can display the received notification through this preset window, making it easier for the user to be aware of the notification in a timely manner.

[0178] However, because the preset window is displayed floating for extended periods, it obscures important information on the desktop, affecting user operation. Furthermore, the current preset window only supports displaying notifications from a subset of preset applications, limiting its usability.

[0179] Therefore, this application provides a notification display method in which an electronic device, upon receiving a notification of a preset type, sends a reminder via capsules or cards adaptable to various display scenarios. Furthermore, it supports the display of multiple capsules or cards to meet the needs of multiple real-time notifications.

[0180] Optionally, the notification display method provided in this application embodiment can be applied to electronic device 100. For example, 1 Figure 1 As shown, the electronic device 100 can specifically be a mobile phone 11, a foldable screen phone 12, a wearable device (such as a smartwatch, smart bracelet, etc.) 13, a tablet computer 14, a laptop computer 15, a smart screen 16, a rollable screen phone, an in-vehicle terminal, a computer, a personal computer (PC), an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a virtual reality (VR) device / augmented reality (AR) device, an artificial intelligence (AI) device, or other terminal devices with display functions. The operating system installed on the aforementioned electronic device 100 includes, but is not limited to, those that are not installed on the device. Or other operating systems. This application does not limit the specific type of the above-mentioned electronic device 100 or the operating system installed on it.

[0181] For example, such as Figure 2 As shown, 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.

[0182] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0183] Processor 110 may include one or more processing units. For example, 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), etc. Different processing units may be independent devices or integrated into one or more processors.

[0184] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.

[0185] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0186] In some embodiments, the processor 110 may include one or more interfaces. 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, etc.

[0187] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple I2C buses. The processor 110 can couple to a touch sensor, charger, flash, camera 193, etc., through different I2C bus interfaces. For example, the processor 110 can couple to a touch sensor through the I2C interface, enabling the processor 110 and the touch sensor to communicate through the I2C bus interface, thereby realizing the touch function of the electronic device 100.

[0188] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI) and a display serial interface (DSI). In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to enable the electronic device 100 to capture images. The processor 110 and the display screen 194 communicate via the DSI interface to enable the electronic device 100 to display images.

[0189] USB port 130 is a USB standard compliant interface, specifically a Mini USB port, Micro USB port, USB Type-C port, etc. USB port 130 can be used to connect a charger to charge electronic device 100, and can also be used for data transfer between electronic device 100 and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other electronic devices, such as AR devices.

[0190] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.

[0191] The charging management module 140 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 receives charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 receives 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 supply power to the first electronic device via the power management module 141.

[0192] The power management module 141 connects 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, providing power to the processor 110, internal memory 121, display screen 194, camera 193, and wireless communication module 160, etc. The power management module 141 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 141 may also be located within the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be located in the same device.

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

[0194] 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 one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.

[0195] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.

[0196] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.

[0197] 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, enabling electronic device 100 to communicate with networks 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 technologies, etc. GNSS can 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 satellite-based augmentation systems (SBAS).

[0198] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.

[0199] 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), such as an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a mini-LED, a micro-LED, a micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 100 may include one or N displays 194, where N is a positive integer greater than 1.

[0200] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. 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, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.

[0201] The external storage interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.

[0202] Internal memory 121 can be used to store executable program code, including instructions. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of electronic device 100 (such as audio data, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. Processor 110 executes various functional applications and data processing of electronic device 100 by running instructions stored in internal memory 121 and / or instructions stored in memory located within the processor.

[0203] The audio module 170 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 may be located in the processor 110, or some functional modules of the audio module 170 may be located in the processor 110. The electronic device 100 can use the audio module 170 for functions such as music playback and recording. The audio module 170 may include a speaker, receiver, microphone, headphone jack, and application processor to implement audio functions.

[0204] The sensor module 180 may include pressure sensors, gyroscope sensors, barometric pressure sensors, magnetic sensors, accelerometers, distance sensors, proximity sensors, fingerprint sensors, temperature sensors, touch sensors, ambient light sensors, bone conduction sensors, etc.

[0205] A touch sensor, also known as a "touch device," can be located on the display screen 194. The touch sensor and the display screen 194 together form a touchscreen, also known as a "touchscreen." The touch sensor detects touch operations applied to or near it. The touch sensor can then transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In some embodiments, the touch sensor may also be located on the surface of the electronic device 100, in a different position than the display screen 194.

[0206] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch-sensitive buttons. Electronic device 100 can receive button input and generate key signal inputs related to user settings and function control of electronic device 100.

[0207] Motor 191 can generate vibration alerts. Motor 191 can be used for incoming call vibration alerts or for touch vibration feedback.

[0208] Indicator 192 can be an indicator light, used to indicate charging status, power changes, or to indicate messages, missed calls, notifications, etc.

[0209] SIM card interface 195 is used to connect SIM cards. Device 100 can support one or N SIM card interfaces, where N is a positive integer greater than 1.

[0210] In some embodiments, electronic devices support displaying notifications in various display scenarios, such as the always-on display, lock screen, notification center, status bar, and floating cards. The system can pre-configure containers for displaying notifications in different display scenarios, and these containers indicate the notification display style. For example, the electronic device displays notifications sent by the service side in the status bar using a capsule display style. The always-on display includes always-on display (AOD), partial AOD, and functional AOD.

[0211] Optionally, after generating a notification, the server in the electronic device can call the corresponding system interface according to the current display scenario to write the notification content into the corresponding preset container. In this way, the system can obtain and display the notification.

[0212] Optionally, the service that generates notifications in the electronic device may be, for example, an application, a meta-service, or a mini-program. The system that manages the display of notifications in the electronic device may be, for example, the operating system installed on the electronic device.

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

[0214] For example, Figure 3 This is a schematic flowchart illustrating a notification display method provided in an embodiment of this application. Figure 3 As shown, the method includes the following steps.

[0215] S301, Electronic device generates event A.

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

[0217] For example, an electronic device detects a user's action in a food delivery app and generates order 1. The electronic device then generates event A to indicate the progress of 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.

[0218] Optionally, event A is the 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, scheduled live notifications, etc. The electronic device can display the live notification at an appropriate time depending on the type of live notification.

[0219] S302. The electronic device determines that event A is an instantaneous event. If yes, proceed to step S303; otherwise, proceed to step S304.

[0220] S303. The electronic device displays event A in real time according to the current display scene.

[0221] S304, Electronic device delayed display event A.

[0222] In some embodiments, after generating event A, in order to avoid the user missing the notification of event A or being disturbed by excessive reminders, the electronic device needs to analyze the event type of event A and determine the real-time notification type of event A so as to display the notification of event A in an appropriate real-time manner.

[0223] Optionally, the event types include instantaneous events and scheduled events.

[0224] For example, if event A is an immediate event, the electronic device determines that the real-time notification for event A needs to be displayed immediately, i.e., it executes step S303. For instance, if event A is a food delivery order event, the electronic device needs to display the corresponding real-time notification based on the progress of the food delivery order, such as the merchant has accepted the order, the rider has accepted the order, the rider is on their way to the merchant, the rider is delivering, or the order has been delivered, to avoid the user missing the real-time notification and causing it to become an invalid message due to exceeding the time limit.

[0225] For example, if event A is a scheduled event, the electronic device can display a real-time notification for event A based on the actual occurrence time of event A, i.e., execute step S304. For instance, if event A is a high-speed rail ticket booking event, and the event occurs 5 days before the actual departure time, the electronic device can determine that the real-time notification for event A is a scheduled real-time notification based on the actual departure time. Then, according to preset rules, the electronic device displays the real-time notification for event A at the delayed time. For example, if the preset rule is to display the real-time notification corresponding to the ticket information 3 hours before the actual departure time, then the electronic device determines the time to display the real-time notification as (T1-T2) based on the actual departure time T1 and the advance time T2.

[0226] In some embodiments, when an electronic device determines that a notification needs to be displayed, it can determine the display position, display style, display content, and other information of the notification in different display scenarios based on the current display scenario.

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

[0228] Optionally, different display positions have different priorities in different display scenarios. Electronic devices can display live notifications at corresponding priority positions based on their priority. For example, based on the order in which live notifications are received, the electronic device can prioritize displaying the most recently received live notifications in higher priority positions. As another example, for live notifications with higher timeliness requirements, the electronic device can prioritize displaying these live notifications in higher priority positions. For instance, the timeliness requirement for call notifications is higher than that for other live notifications. The electronic device can have pre-set rules for determining the priority order of live notifications.

[0229] For example, in display scenarios such as full-screen AOD, lock screen, notification center, and floating cards, electronic devices display notification content through card-based display styles. Optionally, the displayed content of the card may include, for example, a notification source icon, main and secondary text, visual details, and operable controls. The notification source icon may be, for example, the icon of the service that generated the notification, such as an application icon. The main and secondary text may be, for example, the text content of the notification. The visual details may be, for example, the detailed content of the notification, such as text or images. Operable controls may be controls that allow the user to interact with the notification; for example, if the notification is a timer notification, a pause / resume control may be displayed on the corresponding card. In response to the user's operation of the pause / resume control, the electronic device can pause or resume the timer without having to launch the timer application again.

[0230] For example, such as Figure 4 As shown in (a), during the display of the 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. Therefore, the electronic device can, based on the current full-screen AOD display scenario, display the live notification 41 corresponding to event A in the highest priority position on the full-screen AOD interface 401 via a card. Alternatively, as... Figure 4 As shown in (b), during the display of the 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. Therefore, the electronic device can, based on the current lock screen display scenario, display the live notification 42 corresponding to event A in the highest priority position on the lock screen interface 402 via a card. Alternatively, as... Figure 4 As shown in (c), during the display of the 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. Therefore, the electronic device can, based on the current notification center interface display scenario, display the live notification 43 corresponding to event A in the highest priority position on the notification center interface 403 via a card. Alternatively, as... Figure 4 As shown in (d), during the display of the floating interface 404, 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. Therefore, the electronic device can display the live notification 44 corresponding to event A via a floating card at the highest priority position on the desktop 404, based on the current floating card display scenario.

[0231] For example, in scenarios such as partial AOD (Always-On Display) and status bars, electronic devices display notification content using a capsule-like display style. Optionally, the capsule's content may include, for example, the notification source icon, the notification source's theme color, and key information. Because the capsule display area is small, the electronic device can extract the main information of the notification and display it through the capsule. This allows users to directly identify the core information of the notification, serving both as a reminder and effectively reducing the proportion of the notification's screen space occupied.

[0232] For example, such as Figure 5 As shown in (a), during the display of a partial AOD interface 501, 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. Therefore, the electronic device can display the live notification 51 corresponding to event A on the partial AOD interface 501 via a capsule, depending on the current partial AOD display scenario. Alternatively, as... Figure 5 As shown in (b), during the display of desktop 502, 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. Therefore, the electronic device can display the live notification 52 corresponding to event A in the desktop status bar via a capsule, depending on the current desktop display scenario.

[0233] Optionally, the capsule may display the service identifier (such as an app icon) and a brief description of the live notification. The brief description can be determined by the service.

[0234] For example, in scenarios such as Active Distance Detection (AOD), electronic devices display notification content using visual imagery. In this way, visual images not only convey information but also provide users with more vivid and engaging content.

[0235] For example, such as Figure 6 As shown, during the display of the always-on display (AOD) screen 601, the electronic device receives event A and determines that event A is an immediate event, requiring the corresponding live notification to be displayed immediately. Therefore, the electronic device can display the live notification corresponding to event A in the function window 61 on the always-on display screen 601 through a visual image, based on the current AOD display scenario. For example, if event A is a food delivery order event, the food delivery application can generate a delivery route map corresponding to the order. The electronic device can then display this delivery route map in function window 61, allowing users to easily determine the rider's location and estimate delivery time.

[0236] In some embodiments, the service is pre-configured with permissions to display notifications in different display styles. For example, if a notification generated by service 1 has permissions for capsule display and card display, then the electronic device can display the notification generated by service 1 via a capsule or card. Similarly, if a notification generated by service 2 has permissions for card display and visual image display, then the electronic device can display the notification generated by service 2 via a card display or a visual image. Optionally, different notifications generated by the same service may also have different display style permissions, and this embodiment does not impose such limitations. Optionally, after generating a notification, the service side selects a display style more suitable for the current display scenario based on the current display scenario and display style permissions, and calls the corresponding system interface to write the notification content, thereby realizing the display of the notification.

[0237] In some embodiments, if the electronic device or technology supports richer display formats and content, the electronic device can display notifications through more display styles in different display scenarios. For example, if the electronic device is a VR / AR device, it can support the presentation of 3D model information. Therefore, the electronic device can display notifications in 3D. For instance, when displaying a food delivery order notification, the electronic device can display a 3D character model of the delivery rider on the delivery route map to increase user interaction and engagement. As another example, if the electronic device is a PC, smart TV, or similar device equipped with more precise keyboard or focus controls, it can support configuring operable controls within the displayed capsule. This allows users to interact with notifications directly through the capsule without having to open the corresponding service.

[0238] In this way, electronic devices can display notifications in a timely and appropriate manner by combining different display scenarios, thereby preventing users from missing some time-sensitive notifications and improving the effectiveness of notification reminders.

[0239] Furthermore, in different display scenarios, electronic devices automatically adjust the display style of notifications to ensure that the notifications are displayed without affecting the display and operation of the current task.

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

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

[0242] For example, Figure 7 This is a schematic flowchart illustrating another notification display method provided in an embodiment of this application. Figure 7 As shown, the method includes the following steps.

[0243] S701, The electronic device generates refresh content for the displayed Event A notification.

[0244] In some embodiments, during the display of a live notification of event A, the electronic device determines that event A is progressing, and the notification content of event A changes as event A progresses. Therefore, the electronic device can determine the refresh content of the event A notification.

[0245] For example, if event A is a food delivery order event, after the food delivery order is placed, the food delivery order event will change and progress as the order status changes. Therefore, the electronic device needs to generate corresponding refresh content according to the progress of the food delivery order event.

[0246] S702. The electronic device determines that the container style needs to be refreshed. If yes, proceed to step S704; otherwise, proceed to step S703.

[0247] In some embodiments, after generating a notification, the server can call the corresponding system interface to write the notification content into a pre-defined container, thereby enabling the system to display the notification. However, during the display process, the display scenario or display requirements may change. Therefore, after determining the refresh content for the notification being displayed, the electronic device can determine whether to refresh the display style based on factors such as whether there are differences between the original and current display scenarios, and whether there are differences in characteristics between the original and refreshed content. If the electronic device determines that it does not need to refresh the display container, it can directly write the refresh content into the original container to display the refreshed notification, i.e., execute step S703. If the electronic device determines that it needs to refresh the display container, it can refresh the display container and then write the refresh content into a new container to display the refreshed notification, i.e., execute step S704.

[0248] Optionally, the container style corresponds to the display style of subsequent notifications, such as container styles including capsule display containers, card display containers, and visual image display containers.

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

[0250] In some embodiments, after generating refresh content for a notification being displayed, the electronic device determines that the current display scenario and the characteristics of the message content conveyed by the notification have not changed. Therefore, the electronic device can retain the original container style and only refresh the display content within the container to update the notification's display. For example, the electronic device may only update the text information, images, etc., within the notification.

[0251] For example, such as Figure 8In the food delivery order event scenario shown, the electronic device generates updated content for the corresponding food delivery order notification based on the order's progress. If the electronic device maintains its notification center display throughout the notification process, and determines, based on the characteristics of the notification content, that the notification does not require a change in container style, then the device generates updated content for the notification at the appropriate notification node based on the order's progress and writes this updated content into the original container style. During this process, the electronic device can display the updated notification in the notification center. Figure 8 As shown in (a)-(e), based on the changes in the five nodes of the food delivery order—merchant has accepted the order, rider has accepted the order, rider is on his way to the merchant, rider is delivering, and order has been delivered—the electronic device refreshes the display content of the food delivery order notification 81 in the original container style.

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

[0253] In some embodiments, after generating refresh content for a notification being displayed, the electronic device determines that at least one of the characteristics of the current display scenario or the message content being delivered by the notification has changed. Then, the electronic device can determine a container style more suitable for the current display scenario or the refresh content, and write the refresh content into the changed container style to refresh the notification display.

[0254] For example, the same container style may not be optimal for displaying refreshed content, meaning there are differences between the original content and the refreshed content. In this case, the electronic device can change the container style when refreshing the displayed content to ensure the best display effect.

[0255] For example, such as Figure 9 In the interface 901 shown in (a), the electronic device displays a ride-hailing event notification 91. The user has not yet boarded the vehicle, and the notification 91 prominently displays the license plate number. Subsequently, during the ride, the user may focus more on the route. Therefore, as the vehicle moves, the ride-hailing event notification updates, such as reflecting changes in the route. Figure 9 As shown in interface 902 (b), during the journey, the electronic device changes the container style of notification 91 to better highlight the changes in the route.

[0256] In this way, by flexibly switching container styles, users can focus more on the important information in the notification, while also meeting the display requirements for notification content with different characteristics.

[0257] Furthermore, in steps S703 and S704, the electronic device refreshes the content of multiple notifications generated by the same event at the same display position, which will not cause multiple notifications of the same event to occupy too much display space, reduce the display of notifications, avoid displaying multiple notifications and interfering with the user's notification viewing, and reduce notification redundancy.

[0258] S705. Electronic device confirms the end of event A. If yes, proceed to step S706; otherwise, return to step S701.

[0259] S706. Electronic devices determine whether to retain notification display according to preset rules.

[0260] In some embodiments, live notifications focus more on the timeliness of the notification; therefore, the electronic device may stop displaying the notification for the event after it has ended. The electronic device may determine the time interval after which the notification will no longer be displayed according to preset rules.

[0261] Optionally, the server can pre-configure rules for determining the retention period, informing the system of the notification retention period during the notification delivery process. Alternatively, the system can determine the event type and then determine the notification retention period accordingly. Alternatively, users can set pre-configured rules specifying the notification retention period. Alternatively, the system can pre-configure a uniform live notification display duration limit; after the display duration limit for the corresponding event of the live notification ends, the system will directly instruct that the live notification will no longer be displayed.

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

[0263] For example, such as Figure 10 In interface 1001 shown in (a), while the electronic device is displaying call notification 101 in the notification center, it detects the user's operation on the hang-up control 102 and determines that the user has instructed to hang up the phone. Then, the electronic device can end the call event and proceed as follows: Figure 10 As shown in interface 1002 (b), call notifications are no longer displayed in the notification center, i.e., call notifications are immediately eliminated.

[0264] For example, for notifications such as food delivery progress notifications or vehicle progress notifications, electronic devices can retain the notifications for a period of time after the event has ended, making it easier for users to confirm the outcome of the event.

[0265] For example, such as Figure 11In interface 1101 shown in (a), during the process of the electronic device displaying the food delivery progress notification 111 in the notification center, it is confirmed that the food delivery order has been delivered and the food delivery order event has ended. According to preset rules, the electronic device determines that the notification of the food delivery order event needs to be retained for 10 minutes after the event ends. Therefore, as... Figure 11 In interface 1102 shown in (b), the electronic device removes the delivery progress notification 111 from the display 10 minutes after the delivery order event ends. This allows the electronic device to retain the delivery progress notification for 10 minutes, making it convenient for the user to view the notification.

[0266] For example, if some live notifications do not have a set display duration in the service, the system will clear the live notification directly after the event ends, based on the display duration limit. For instance, the electronic device will clear the live notification one hour after the event ends.

[0267] In this way, electronic devices can automatically clear the display of notifications according to preset rules after the event ends, avoiding expired notifications from remaining on the interface and interfering with the user.

[0268] In some embodiments, during the display of a notification, the electronic device may display detailed content of the notification or perform a corresponding operation in response to a user's action on the notification display area. Furthermore, viewing the notification will not interrupt the current task running on the electronic device.

[0269] For example, taking a capsule display as an example, Figure 12 This is a schematic flowchart illustrating another notification display method provided in an embodiment of this application. Figure 12 As shown, the method includes the following steps.

[0270] S1201. During the display of the capsule, the electronic device detects the user's operation on the capsule.

[0271] S1202, The electronic device displays the card corresponding to the capsule.

[0272] 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 according to the current display scenario. Then, during the display of the capsule, the electronic device detects user interaction with the capsule, such as clicking it. In response to the user's interaction with the capsule, the electronic device determines that the user has instructed the display of the live notification corresponding to the capsule. It can enlarge the capsule into a floating card to display more live notification content, making it easier for the user to view the details of the live notification.

[0273] For example, such as Figure 13As shown in interface 1301 (a), during the process of the electronic device displaying the capsule 131 corresponding to the food delivery order event, if the user clicks on the capsule 131, the following can be displayed: Figure 13 Interface 1302 is shown in (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, which can display more takeout order event content, thereby helping users to understand more relevant information about takeout order events.

[0274] Alternatively, user operations on the capsule may be, for example, user operations on the capsule's blank display area (no operation area).

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

[0276] In some embodiments, when an electronic device detects user interaction with a blank display area within the card during the display of the card corresponding to the capsule, it may display an event details page to help the user gain a more detailed understanding of the event. Optionally, the event details page may be, for example, a page within the service corresponding to a card notification.

[0277] For example, such as Figure 13 In interface 1302 shown in (b), during the process of displaying the card 132 corresponding to the capsule 131, the electronic device detects the user's operation on the blank display area 133 on the card 132, and determines that the card 132 is used to display the notification corresponding to the food delivery order event. Therefore, as... Figure 13 As shown in interface 1303 (c), the electronic device can launch the food delivery application that generates the food delivery order event and display an event details page corresponding to the notification content displayed on card 132, thereby helping the user to understand the relevant information of the food delivery order event in more detail.

[0278] S1204. The electronic device detects the user's operation on the controls displayed in the card and executes the operation corresponding to the controls.

[0279] In some embodiments, during the process of displaying the card corresponding to the capsule, the electronic device detects the user's operation on a control displayed on the card, and can determine an operation to instruct the electronic device to execute. Then, in response to the user's operation, the electronic device can execute the operation corresponding to the control. Optionally, the service pre-configures the functions of one or more controls displayed on the card. During the process of writing the card notification content, the service sends control function information to the system, so that the system can execute the corresponding operation in response to the user's operation; or, after detecting the user's operation on a control, the system feeds back the detected operation to the service, and the service determines the operation corresponding to that control.

[0280] For example, such as Figure 14 As shown in interface 1401 (a), during the process of the electronic device displaying the capsule 141 corresponding to the call event, the user's operation on the capsule 141 is detected, and the following is displayed: Figure 14 As shown in (b), interface 1402 displays the card 142 corresponding to the capsule. Then, the electronic device detects the user's operation on the hang-up control 143 displayed on card 142, confirming that the user has instructed to hang up the call. The electronic device can then terminate the call event corresponding to the current card 142. Furthermore, as... Figure 14 As shown in interface 1403 (c), after a call event ends, the electronic device no longer displays the notification corresponding to the call event, such as no longer displaying card 142 or capsule 141.

[0281] S1205, The electronic device detected that the user canceled the card display.

[0282] In some embodiments, step S1202 is followed by step S1205, where the operation to cancel card display is, for example, a swipe gesture or an operation on a display area outside the card display area. For example, if the electronic device detects a user's swipe-up gesture while displaying a card, determines that the user has canceled the card display, and can restore the card display to its original capsule display. Alternatively, if the electronic device detects a user's operation on a display area outside the card display area while displaying a card, it can restore the card display to its original capsule display. Or, if the electronic device displays the card corresponding to the capsule in response to a user's operation, and no user operation on the card is detected within a preset time, it can also automatically restore the card display to its original capsule display.

[0283] For example, such as Figure 15 As shown in interface 1501 (a), during the process of the electronic device displaying the capsule 151 corresponding to the food delivery order event, if the user clicks on the capsule 151, the following can be displayed: Figure 15 Interface 1502 is shown in (b). On interface 1502, the electronic device displays the card 152 corresponding to capsule 151. During the display of card 152, the electronic device detects a user's swipe operation on card 152, or detects a user's operation on the display area 153 outside of card 152 (such as clicking on a blank area of ​​the desktop, clicking on an icon displayed on the desktop, etc.), and determines that the user has instructed to cancel the card display. Then, as... Figure 15 As shown in interface 1503 (c), the electronic device can restore the display of card 152 to the original capsule 151.

[0284] Optionally, during the aforementioned notification display style change, the display of the capsule or card will not affect the operation of the current task of the electronic device.

[0285] In this way, depending on user needs, electronic devices can display brief notification information via status bar capsules or detailed notification information via cards. User operation is simple, the display style is lightweight, and it allows users to maintain continuity of their original tasks in different scenarios.

[0286] Among them, the above Figures 12-15 The user interaction scenario shown illustrates the process of switching between capsule and card displays to explain the changes in notification display format. It should be understood that while displaying notifications in other formats, electronic devices can also respond to user actions by switching to a larger or smaller display area to show the notification corresponding to the current event, thus maintaining the continuity of the original event while meeting the user's needs regarding the amount of notification content.

[0287] In some embodiments, during the display of live notifications, new live notifications generated by new events may need to be displayed, meaning the electronic device needs to display multiple live notifications. In this case, the electronic device can display these multiple live notifications according to a preset sorting rule.

[0288] Optionally, the preset sorting rules may include one or more of the following: notification creation time order, notification node refresh time order, other time sorting such as prioritizing important types, 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.

[0289] The following is a detailed explanation of the display process of multiple live notifications.

[0290] For example, Figure 16 This is a schematic flowchart illustrating another notification display method provided in an embodiment of this application. Figure 16 As shown, the method includes the following steps.

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

[0292] S1602. The electronic device determines that there is another notification at the location to be displayed. If yes, proceed to step S1604; otherwise, proceed to step S1603.

[0293] In some embodiments, the electronic device generates a notification of event A, determines that the notification is a live notification and needs to be displayed immediately. Based on display permissions and the current display scenario, the electronic device determines the display location for the live notification. Then, the electronic device can determine whether there are other notifications at that location. If there are no other notifications at the location, the electronic device can display the live notification at the determined location, i.e., perform step S1603 below. If there are other notifications at the location, the electronic device can determine whether the remaining display space at the location meets the display requirements of the live notification, i.e., perform step S1604 below.

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

[0295] In some embodiments, after an electronic device generates a live notification for event A, it determines that there are no other notifications at the designated display location. Then, the electronic device can directly display the live notification at the determined display location.

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

[0297] S1604. The electronic device determines that there is sufficient display space at the current display position. If yes, proceed to step S1605; otherwise, proceed to step S1606.

[0298] In some embodiments, due to limitations in the size of the electronic device's display screen, the electronic device can only fully display a portion of the notifications in certain display areas. For example, typical mobile phones are relatively narrow, and can only display a maximum of one notification capsule in the status bar; other notification capsules must be hidden or obscured by the currently displayed capsule. As another example, electronic devices with limited length can only fully display a limited number of notifications via global AOD or notification center; other notifications can only be displayed with brief information or hidden.

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

[0300] S1605. According to the preset sorting rules, the electronic device displays a live notification of event A.

[0301] In some embodiments, after an electronic device generates a live notification of event A, it determines that there is sufficient display space at the desired display location. Then, the electronic device can determine the display location of the live notification according to a preset sorting rule, and display the live notification at the desired location.

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

[0303] For example, such as Figure 17 As shown in interface 1701 in Figure (a), the full-screen AOD displayed on the electronic device includes multiple notifications, including an SMS notification 171 and a ride-hailing order notification 172. The SMS notification 171 is a regular notification, while the ride-hailing order notification 172 is a live notification. Therefore, the ride-hailing order notification 172 has a higher display priority than the SMS notification 171; that is, the ride-hailing order notification 172 is displayed in the highest priority display position.

[0304] Subsequently, the electronic device confirms that a call event has been received and generates a corresponding call notification, which is a live notification. The electronic device determines that there is sufficient space in the display area for the notification to be displayed on the current interface 1701. Furthermore, according to the preset sorting rules, the electronic device determines that the call notification meets the preset sorting rule requirement of prioritizing important types. Therefore, if... Figure 17 In the interface 1702 shown in (b), the electronic device displays call notifications 173 in the highest priority position in the notification display.

[0305] Afterwards, the electronic device confirms that a food delivery order event has been received and generates a corresponding food delivery order notification, which is a live notification. The electronic device determines that there is sufficient space on the current interface 1702 to display the notifications. Furthermore, according to preset sorting rules, SMS notification 171 is determined to be a regular notification with the lowest display priority. Among the remaining three live notifications, call notification 173 is an important event notification with the highest display priority; based on the creation or node refresh time order, food delivery order notification 174 is the newest notification, therefore its display priority is higher than that of ride-hailing order notification 172. Therefore, the electronic device determines the display priority order of the multiple notifications to be displayed as follows: call notification 173 > food delivery order notification 174 > ride-hailing order notification 172 > SMS notification 171. So, if... Figure 17As shown in interface 1703 (c), the electronic device displays multiple notifications sequentially in the notification display position according to a determined display priority order.

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

[0307] For example, such as Figure 18 As shown in (a), during the process of displaying the lock screen interface 1801, the electronic device receives a call notification generated by a call event, and in response to the sufficient display space at the current display position, displays the call notification 181 at the top position with the highest priority in the display position.

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

[0309] For example, such as Figure 18 As shown in (c), during the process of the electronic device on the desktop 1803, it receives a call notification generated by a call event, and in response to the sufficient display space at the current display position, displays the call notification card 183 at the top position with the highest priority in the display position.

[0310] Thus, in various display scenarios, if there is sufficient display space at the desired location, the electronic device can adaptively display the generated live notifications according to preset sorting rules. This ensures that users don't miss live notifications by following a reasonable display order, and also guarantees that important live notifications are displayed first.

[0311] S1606. The electronic device determines that the live notification of event A needs to be displayed. If yes, proceed to step S1607; otherwise, proceed to step S1608.

[0312] In some embodiments, after the electronic device generates a live notification of event A, it determines that the display space at the desired display location is insufficient. Then, the electronic device can determine if a notification is already displayed at the desired location, and according to a preset sorting rule, determine whether the display priority of the live notification is higher than that of the already displayed notification. If the display priority of the live notification is higher than that of the already displayed notification, the electronic device can preempt the display position of the already displayed notification, i.e., perform step S1607 below. If the display priority of the live notification is not higher than that of the already displayed notification, the electronic device can hide or stack the live notification, i.e., perform step S1608 below.

[0313] S1607. According to the preset sorting rules, the electronic device preempts the display position of the already exposed notification to display the live notification of event A.

[0314] In some embodiments, after the electronic device generates a live notification of event A, it determines that there is insufficient display space at the desired display location. Furthermore, the electronic device determines that the live notification to be displayed has a higher display priority than any already displayed notification. Therefore, the electronic device can preempt the display space of an already displayed notification to display the live notification to be displayed.

[0315] For example, such as Figure 19 In interface 1901 shown in (a), during the process of the electronic device displaying a ride-hailing notification 191 via a status bar capsule, it responds to a user's action to create a food delivery order and generates a food delivery order notification. The electronic device also needs to display the food delivery order notification via a status bar capsule, but due to screen size limitations, it can only display one capsule in the status bar. That is, there is insufficient display space for the food delivery order notification. Therefore, the electronic device determines whether the display priority of the food delivery order notification is higher than the display priority of the already displayed ride-hailing notification based on a preset sorting rule. For example, the electronic device determines the display priority of the food delivery order notification is higher than the display priority of the already displayed ride-hailing notification based on the creation time order. Then, if... Figure 19 In the interface 1902 shown in (b), the electronic device displays the food delivery order notification 192 through a capsule in the status bar, that is, the food delivery order notification takes up the display position of the ride-hailing notification.

[0316] Optionally, in the capsule display mode, the obscured capsule can also have its edge display area exposed to indicate to the user that multiple notifications are currently displayed at that location. For example, as shown in interface 1902, the electronic device exposes the food delivery order notification 192, and below the food delivery order notification 192, the edge display area of ​​the ride-hailing notification 191 is exposed. In this way, the user can know that there are currently notifications obscured by the food delivery order notification 192.

[0317] 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, left, right, lower right, and upper right. That is, the electronic device can display multiple notifications using various methods such as vertical stacking and horizontal stacking.

[0318] Optionally, when multiple notifications are obscured at a display location, the electronic device can stack them to expose the edge display area that displays all obscured notifications, allowing the user to determine the exact number of obscured notifications at that location. Alternatively, the electronic device can expose only the edge display area that displays a portion of the obscured notifications to inform the user of the obscured notifications at that location and save display space.

[0319] It should be understood that the above example of displaying multiple notifications in a stacked capsule format illustrates the process of notification preemption. In other display scenarios, electronic devices can also display multiple notifications using the stacking method described above.

[0320] In this way, when display space is insufficient, electronic devices can prioritize displaying important live notifications by seizing display space, thus avoiding exceeding the timeliness requirements of live notifications and causing them to become invalid.

[0321] In some embodiments, after the electronic device seizes the display position of the previously exposed notification, it determines that the event corresponding to the currently exposed live notification has ended, and may determine whether to retain the notification display according to preset rules. If the electronic device determines that it does not need to retain the display of a notification whose event has ended, it may expose the obscured notification.

[0322] For example, such as Figure 19 In interface 1902 shown in (b), the food delivery order notification takes over the display position of the ride-hailing notification. While the electronic device is displaying the food delivery order notification 192 in the status bar, it determines that the food delivery order event has ended. Furthermore, according to preset rules, the electronic device determines that the food delivery order notification 192 needs to be retained for another 10 minutes. Therefore, as... Figure 19 In the interface 1903 shown in (c), after 10 minutes, the electronic device ends the display of the food delivery order notification 192 and reveals the previously obscured ride-hailing notification 191.

[0323] In this way, the electronic device adjusts the display order of multiple live notifications based on changes in the live notification status, ensuring the timeliness of live notification display and preventing users from missing important live notifications.

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

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

[0326] Optionally, when an electronic device hides or stacks multiple notifications, it can determine the display priority according to a preset sorting rule before hiding or stacking the notifications. This way, after finishing displaying the previously hidden or stacked notifications, the electronic device can directly reveal the notification with the highest display priority.

[0327] For example, such as Figure 20 In interface 2001 shown in Figure (a), during a functional AOD scenario, the function window can only display one notification. Therefore, 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 at the desired display location for live notification 202. Furthermore, according to a preset sorting rule, the electronic device determines that the display priority of live notification 202 is lower than that of live notification 201. Therefore, the electronic device can hide live notification 202, i.e., keep live notification 201 exposed.

[0328] Or, such as Figure 20 In the interface 2002 shown in (b), the electronic device displays live notifications 202 in a stacked manner. That is, while maintaining the live notification 201 in full view, the electronic device also displays a portion of the live notification 202 below the live notification 201, so that the user can determine that there are multiple live notifications in the current function window.

[0329] Optionally, when an electronic device displays multiple notifications in a stacked manner, the device can adjust the display of the notifications in response to user interaction. For example, such as... Figure 20 In the interface 2002 shown in (b), during the process of the electronic device displaying live notification 201 and stacking live notification 202, the user's sliding operation in the function window is detected, and the stacked live notification 202 can be displayed.

[0330] It should be understood that if an electronic device displays a larger number of notifications stacked in a function window, the electronic device can sequentially switch between displaying the corresponding notifications in response to multiple swipes by the user.

[0331] For example, such as Figure 21 In the interface 2101 shown in (a), within a local AOD scene, the electronic device can display a maximum of two notification capsules. Therefore, if the electronic device determines to generate more notification capsules, it can, according to a preset sorting rule, either seize the display position of the previously exposed notification capsule, or hide or stack the new notification capsules.

[0332] For example, such as Figure 21 In the interface 2101 shown in (a), within a local AOD scenario, the electronic device displays a ride-hailing notification 211 and a food delivery order notification 212 via a capsule display. Subsequently, in response to user actions, such as... Figure 21 In the interface 2102 shown in (b), the electronic device displays the desktop, where the status bar can display a maximum of one capsule notification. The electronic device can determine that the current display space is insufficient to simultaneously display both the ride-hailing notification 211 and the food delivery order notification 212. Therefore, the electronic device determines the display priority of the multiple notifications according to a preset sorting rule. For example, the food delivery order notification 212 has a higher display priority than the ride-hailing notification 211. Thus, the electronic device can display the food delivery order notification 212 while hiding the ride-hailing notification 211.

[0333] Thus, when display space is insufficient, electronic devices can temporarily hide or stack some notifications, allowing users to view them later. Furthermore, live notifications are highly time-sensitive and update quickly; hiding or stacking some notifications prevents users from missing them.

[0334] In some embodiments, while an electronic device is hiding or stacking some notifications, it may also expand to display the hidden or stacked notifications in response to a user action, so that the user can determine the notification display status.

[0335] Optionally, electronic devices can switch display modes to show hidden or stacked notifications, making it easier for users to determine the notification details.

[0336] For example, such as Figure 22 In the interface 2201 shown in (a), the electronic device displays a food delivery order notification 221 in a capsule format in the status bar. A ride-hailing notification is also present in the status bar, obscured by the food delivery order notification 221. In response to user actions on the food delivery order notification 221, such as... Figure 22 In the interface 2202 shown in (b), the electronic device can expand to display details of multiple notifications displayed in the status bar via capsules. For example, the electronic device displays food delivery order notification 221 and ride-hailing notification 222 as floating cards. Optionally, multiple floating cards can be displayed in styles such as tiling, stacking, or 3D depth display.

[0337] Optionally, due to limitations in the screen size of the electronic device, the electronic device can display a limited number of floating cards. Therefore, the number of status bar capsules stacked can be preset in the electronic device to prevent the number of floating cards subsequently expanded in response to user actions from exceeding a threshold for the number of floating cards that the electronic device can display. For example, this threshold is 5.

[0338] Optionally, during the display of interface 2202, in response to a user's swiping action after selecting a floating card, the electronic device can adjust the display order of multiple floating cards. This allows the user to view notification details from the optimal visual position.

[0339] For example, such as Figure 22 In the scenario shown in (a), in response to the user's action on the food delivery order notification 221, as follows: Figure 22 As shown in interface 2203 (c), the electronic device can expand to display multiple capsules, such as a food delivery order notification 221 and a ride-hailing notification 222. This allows the user to see multiple stacked notifications while simultaneously selecting the notification whose details they wish to view. For example, while displaying interface 2203, in response to the user's action on the ride-hailing notification 222, the electronic device can display the details of the ride-hailing notification 222 via a floating card.

[0340] Thus, in situations where display space is limited, electronic devices can identify hidden or stacked notifications through simple operations, thereby preventing users from missing these notifications due to their being hidden or stacked.

[0341] In some embodiments, in step S1601 above, the live notification for event A can be the first live notification of the newly generated event A. Alternatively, the live notification for event A can also be a live notification updated on the node in response to a change in the event state. In the case of a node update, a notification in a later position can temporarily preempt the display position of a notification in a earlier position to make it visible and facilitate the user's confirmation of the notification update.

[0342] Optionally, after a notification has been displayed in the front position for a period of time, the electronic device can restore the original front position of the notification to ensure that notifications of higher importance are displayed first (i.e., notifications with higher priority are displayed).

[0343] Optionally, the front bit is used to indicate the display position that can be exposed. The back bit is used to indicate the display position that is hidden or stacked.

[0344] The following is a detailed explanation of the process by which a notification temporarily preempts the display position.

[0345] For example, Figure 23 This is a schematic flowchart illustrating another notification display method provided in an embodiment of this application. Figure 23 As shown, the method includes the following steps.

[0346] S2301, The electronic device generates a refresh message for Live Notification A.

[0347] In some embodiments, during the process of displaying Live Notification A, the electronic device determines the node update of the event that generated Live Notification A and generates refreshed content for the Live Notification.

[0348] S2302. The electronic device confirms that a real-time notification A is displayed. If yes, proceed to step S2303; otherwise, proceed to step S2304.

[0349] In some embodiments, after generating the refresh content of Live Notification A, the electronic device determines that the original Live Notification A is already displayed in the foreground position at the desired display location. In this case, the electronic device can directly refresh and display Live Notification A, i.e., perform step S2303 below. Alternatively, if the electronic device determines that the original Live Notification A is hidden or stacked in the background position at the desired display location, the electronic device can determine whether the refresh content of Live Notification A is an important update to determine whether it is necessary to temporarily preempt the foreground position for display, i.e., perform step S2304 below.

[0350] S2303, Electronic device refreshes display of live notification A.

[0351] In some embodiments, during the process of the electronic device determining that a live notification A is to be displayed in the front position, the live notification A generates refreshed content, and the electronic device can directly display the refreshed live notification A in the original front position according to the refreshed content.

[0352] In other embodiments, during the process of the electronic device determining that Live Notification A is displayed in the front position, Live Notification A generates refreshed content. Furthermore, the electronic device further determines that refreshing the container style is unnecessary. Therefore, the electronic device can directly display the refreshed Live Notification A in the original front position based on the refreshed content.

[0353] S2304. The electronic device determines that the refreshed content is an important update. If yes, proceed to step S2305; otherwise, proceed to step S2306.

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

[0355] In some embodiments, the electronic device determines that it may temporarily preempt the front position to expose the refreshed content, i.e., it executes step S2305 below. If the electronic device determines that the current refreshed content is not an important update, it can directly refresh the display content of the live notification A. Subsequently, when it is necessary to display the live notification A, it can display the refreshed content, i.e., it returns to step S2306 below.

[0356] S2305, Electronic devices temporarily occupy exposed positions to refresh and display live notifications A.

[0357] In some embodiments, temporarily preempting the front-facing position to display live notification A aims to ensure that the user promptly notices the refreshed content of live notification A. Therefore, after the electronic device temporarily preempts the front-facing position to refresh and display live notification A, it can attract the user's attention through animation or visual effects, with this stage lasting for a duration T1. After a duration of T1, the electronic device can then display live notification A again for a retention period of T2, allowing the user to confirm the specific refreshed content of live notification A. That is, the temporary preemption period for live notification A is (T1 + T2).

[0358] Optionally, after the temporary preemption period, the electronic device can restore the original front-position notification display, hiding or stacking the live notification. Optionally, during the process of restoring the original front-position notification display, the electronic device can restore the original front-position notification display through the same animation or visual effects as those used for the temporary preemption, thereby helping users understand the concept of restoration after temporary preemption.

[0359] Optionally, the electronic device can determine the T1 duration that is more likely to attract the user's attention based on the device's characteristics, experimental data, etc.

[0360] Optionally, the electronic device can determine the dwell time T2 required for the user to finish browsing the refreshed content and digest the refreshed content based on the content volume, device characteristics, experimental data, etc.

[0361] For example, such as Figure 24 In interface 2401 shown in (a), the electronic device displays a food delivery order notification 241 in the front position via a capsule display in the status bar. Below the food delivery order notification 241, the electronic device displays a ride-hailing notification 242 in the back position. During this process, a ride-hailing event generates refreshed content for the ride-hailing notification, and the electronic device determines that this refreshed content is an important update. Therefore, as... Figure 24 In interface 2402 shown in (b), the ride-hailing notification 242 temporarily takes over the prime position of the food delivery order notification 241. The electronic device displays the ride-hailing notification 242 in the status bar via a capsule display. After the temporary takeover period, as shown... Figure 24 In the interface 2403 shown in (c), the electronic device restores the exposure display of the food delivery order notification 241 in the front position and hides the ride-hailing notification 242 in the rear position.

[0362] S2306, Electronic device refresh status notification A.

[0363] In some embodiments, after obtaining refreshed content, the electronic device determines that the refreshed content does not need to be immediately notified to the user, i.e., the refreshed content is not an important update. In this case, the electronic device can refresh the display content of Live Notification A and maintain the display state of Live Notification A being hidden or stacked. Subsequently, when the electronic device determines that Live Notification A needs to be displayed, it can then display the refreshed content of Live Notification A.

[0364] In this way, the electronic device adjusts the display order of multiple live notifications based on changes in the live notification status, ensuring the timeliness of live notifications and preventing users from missing important live notifications. This allows users to focus on the progress of the most important notifications while also ensuring they don't miss important updates from other notifications.

[0365] In addition, the overall solution takes into account the advantages of fixed sorting for easy user search, and also uses a temporary preemption mechanism to allow users to obtain more comprehensive information and avoid missing important content.

[0366] In some embodiments, with the development of terminal technology, electronic devices are taking on increasingly diverse forms. Therefore, display effects can be adapted to the characteristics of different electronic device forms, making full use of display space while providing users with the best display experience.

[0367] For example, Figure 25 This is a schematic flowchart illustrating another notification display method provided in an embodiment of this application. Figure 25 As shown, the method includes the following steps.

[0368] S2501, Electronic device generates live notification A.

[0369] S2502. The electronic device determines that its current device mode is a special mode. If yes, proceed to step S2504; otherwise, proceed to step S2503.

[0370] Electronic devices can be categorized into standard and special forms. Special forms include devices with excessively large or small displays, or devices with uniquely shaped displays. Examples include foldable screens or tablets with extra-wide status bars, or small foldable external screens or watches with small, round screens. All other forms are considered standard.

[0371] Optionally, the electronic device may have pre-set rules for distinguishing between normal and special modes. The electronic device can determine whether its mode belongs to a normal or special mode based on the distinction rules.

[0372] In some embodiments, after determining that a live notification A has been generated, the electronic device may determine the current device configuration. If the current device configuration is a normal configuration, the live notification A can be displayed directly according to the display scenario, i.e., step S2503 is executed below. If the current device configuration is a special configuration, the marking content can be determined to adjust the display of the live notification A, i.e., step S2504 is executed below.

[0373] S2503. The electronic device displays a real-time notification A based on the current display scene.

[0374] In some embodiments, after determining that a live notification A has been generated, the electronic device determines that the current device mode is normal mode, and can display the live notification A based on the current display scenario by combining the relevant methods described in the above embodiments.

[0375] S2504. The electronic device determines the displayed content of the marked live notification A. If yes, proceed to step S2505; otherwise, proceed to step S2506.

[0376] S2505. The electronic device displays a live notification A based on the marked content.

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

[0378] In some embodiments, compared to conventional electronic devices, some special-shaped electronic devices with larger screen sizes can display more notification content, while some special-shaped electronic devices with smaller screen sizes can display less notification content. Therefore, the service can pre-configure and label different notification display content for conventional and special-shaped electronic devices.

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

[0380] For example, such as Figure 26In interface 2601 shown in (a), while the tablet is displaying call notification 261 in the status bar, it generates a ride-hailing notification 262. The tablet, determining itself to be a special-type electronic device, can determine whether the ride-hailing application has marked the ride-hailing notification 262 as corresponding to the display content of a special-type device. If it has been marked, the tablet can obtain the marked content. Then, as... Figure 26 In interface 2602 shown in (b), the electronic device determines the display priority of notifications according to a preset sorting rule. For example, the display priority of call notification 261 is higher than that of taxi notification 262. Therefore, the tablet can use a capsule display method to display call notification 261 at the top of the status bar and stack taxi notification 262 below it. Furthermore, tablets are wider than regular mobile phones, so the stacked taxi notification 262 can also be partially or fully displayed. Besides tablets, other types of electronic devices with relatively large screens, such as foldable phones, rollable phones, PCs, and laptops, can also use this method. Figure 26 The capsule stacking design shown.

[0381] For example, such as Figure 27 In the scenario shown, the watch generates a food delivery order notification 271 and, recognizing itself as a special-type electronic device, determines whether the food delivery application has marked the food delivery order notification 271 as display content corresponding to a special-type device. If not marked, such as Figure 27 The content displayed in the food delivery order notification 271 of the ordinary form device shown in interface 2701 (a) is shown in the image. The watch can select appropriate display content based on the content displayed in the food delivery order notification 271 of this ordinary form device and its own screen size. For example... Figure 27 As shown in interface 2702 (b), the watch displays a takeout order notification after selecting the appropriate content.

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

[0383] For example, the above Figure 23 The aforementioned temporary preemption mechanism also applies to special types of electronic devices. For example... Figure 28 In interface 2801 shown in (a), the tablet displays a call notification 281 at the top of the status bar via a capsule display method, and a ride-hailing notification 282 is stacked below the call notification 281. During this process, the tablet obtains the refreshed content of the ride-hailing notification 282 and determines that this refreshed content is an important update that needs to be displayed. The tablet also determines that the call notification 281 is an important item and needs to remain at the top. Therefore, as... Figure 28In interface 2802 shown in (b), the tablet determines itself to be a special-form device, supporting the display of multiple capsule notifications in the status bar. Therefore, as shown in interface 2802, the tablet can expand to display the ride-hailing notification 282. Alternatively, the tablet can also make the ride-hailing notification 282 take over the top display position of the call notification 281. However, similar to the display method shown in interface 2802, the tablet also displays the call notification 281 below the ride-hailing notification 282.

[0384] Thus, for devices with special shapes, notification display can be flexibly implemented according to the characteristics of the device to present the most convenient notification display style for viewing and use.

[0385] In the above embodiments, the implementation process of the corresponding methods is described using partial display forms as examples. It should be understood that the notification display method provided in this application is not limited to the partial display forms shown above, 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 3D model information. For example, the VR / AR device displays notifications for food delivery applications, including 3D model presentation, such as a food delivery person model riding a bicycle approaching.

[0386] Figure 29 This is a flowchart illustrating a notification display method provided in an embodiment of this application. It should be noted that this method does not rely on... Figure 29 The specific order described below is a limitation. 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:

[0387] S2901. An electronic device displays a first interface, which includes a status bar located at the top.

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

[0389] S2902, The electronic device displays at least two notification indications in the status bar in a stacked manner.

[0390] The instruction information of at least two notifications includes the instruction information of a first notification and the instruction information of a second notification. The stacking form includes the instruction information of the first notification partially or completely covering the instruction information of the second notification, or the instruction information of the second notification partially or completely covering the instruction information of the first notification.

[0391] For example, such as Figure 30The first interface shown displays indication information 302 for a first notification and indication information 303 for a second notification in the status bar 301. The indication information 302 for the first notification partially overlaps the indication information 303 for the second notification.

[0392] In this way, by stacking multiple notifications in the status bar, we can ensure that users can discover notifications in a timely manner while saving display space in the status bar.

[0393] Optionally, the first and second notices are live notifications.

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

[0395] In this way, the display format of live notifications is adapted differently on different devices to ensure the best experience for the current device. For example, on devices with a narrow status bar display area, such as mobile phones, capsule notifications are stacked vertically to save space in the status bar. On the other hand, on devices with a wider status bar display area, such as foldable screens / tablets, capsule notifications are stacked horizontally to display more content.

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

[0397] For example, the instruction information may include the icon of the application that sent the first or second notification, part of the content of the first or second notification, and the color of the first or second notification (such as capsule color, card color, text color, etc.).

[0398] In some embodiments, the electronic device determines, according to a sorting rule, that the stacking 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 that the indication information of the second notification partially or completely covers the indication information of the first notification. Then, the electronic device displays the indication information of the at least two notifications in the status bar in this stacked manner.

[0399] Optionally, the sorting rules may include one or more of the following: notification creation time, notification update time, notification importance, notification priority, user's history of viewing notifications, or notification order manually set by the user.

[0400] For example, 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, then the stacking format is determined to be such that the indication information of the first notification partially 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, then the stacking format is determined to be such that the indication information of the second notification partially or completely covers the indication information of the first notification.

[0401] For example, if an electronic device receives a second notification while displaying the indication information of a first notification in the status bar, it can partially or completely overwrite the indication information of the first notification in the status bar with the indication information of the second notification. Alternatively, if the electronic device determines that the indication information of the first notification has been updated while partially or completely overwriting the indication information of the first notification in the status bar with the indication information of the second notification, it can partially or completely overwrite the indication information of the second notification.

[0402] In this way, electronic devices display the most recently updated notifications based on their update time, ensuring that users can view the most recently updated notifications in a timely manner.

[0403] For example, when the sorting rule is based on the importance of the notifications, if the importance of the first notification is greater than or equal to the importance of the second notification, then the stacking format is determined to be such that the instruction information of the first notification partially or completely covers the instruction information of the second notification. If the importance of the first notification is less than or equal to the importance of the second notification, then the stacking format is determined to be such that the instruction information of the second notification partially or completely covers the instruction information of the first notification.

[0404] Optionally, the electronic device determines the importance of a notification based on the importance of the application that generated it. For example, it may pre-select certain important applications, such as a calling application. Then, upon receiving a notification from a calling application, the electronic device can determine that the notification from that calling application is more important than the notification currently displayed in the status bar, and the notification from the calling application can partially or completely override the notification currently displayed in the status bar.

[0405] Alternatively, electronic devices may determine the importance of a notification based on its type. For example, notifications from pre-defined application types may be considered more important, or notifications from updates at specific points in the food delivery process (such as the various stages of the delivery process) may be considered more important.

[0406] In this way, electronic devices display more important notifications based on their level of importance, thus ensuring that users can view more important notifications in a timely manner.

[0407] For example, when the sorting rule is based on notification priority, if the priority of the first notification is higher than or equal to the priority of the second notification, then the stacking format is determined to be such that the indication information of the first notification partially 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, then the stacking format is determined to be such that the indication information of the second notification partially or completely covers the indication information of the first notification.

[0408] Optionally, the electronic device can be pre-configured with the priority order of notifications for different types of applications, the priority order of different types of notifications, etc.

[0409] In this way, electronic devices display higher-priority notifications based on their priority, ensuring that users can view higher-priority notifications in a timely manner.

[0410] 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 order of the indication information of the first notification and the indication information of the second notification according to the sorting rules. Then, the electronic device 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.

[0411] In some examples, due to limited display space in the status bar, electronic devices can preset a first number of display positions in the status bar. This first number of display positions can be used to expose the corresponding notification, and any additional notifications that may exist are stacked, either partially or completely covered by the first number of display positions.

[0412] For example, the number of instructions in the first notification is greater than or equal to the first quantity. If the display priority of the instructions in the second notification is higher than or equal to the display priority of the instructions in the first notification, it will preempt the display position of the instructions in the first notification in order to expose the instructions in the second notification.

[0413] If the display priority of the instruction information of the second notification is lower than or equal to the display priority of the instruction information of the first notification, the instruction information of the second notification is not displayed, or the instruction information of the second notification is displayed in a stacked manner, such that the instruction information of the first notification partially or completely covers the instruction information of the second notification.

[0414] In other words, when display space is insufficient, notifications with higher display priority will be displayed first.

[0415] It should be understood that when the number of first notifications exceeds the first quantity, some of the first notifications are displayed in a stacked manner. Therefore, when a second notification with a higher display priority takes over the display position of a first notification, it takes over the display position of the first notification that is already exposed, rather than the display position of the first notification that is being stacked, thus ensuring that the second notification with a higher display priority can be exposed.

[0416] For example, if the number of instructions in the first notification is less than the first quantity, the electronic device may display the instructions in the first notification and the instructions in the second notification.

[0417] That is, if there is sufficient display space, all notifications to be displayed can be shown.

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

[0419] In some embodiments, when the indication information of the first notification partially covers 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 or completely covers the indication information of the first notification.

[0420] Within a preset time period after the Nth update of the stacking form, the (N+1)th update of the stacking form will return the stacking form to the state before the Nth update, where N is a positive integer.

[0421] For example, an electronic device displays the indication information of a first notification and the indication information of a second notification in a stacked manner in the status bar, where the indication information of the first notification partially or completely covers the indication information of the second notification. Later, if the electronic device determines that the content of the second notification has changed and a first update of the stacking arrangement is required, the electronic device can make the indication information of the second notification partially or completely cover the indication information of the first notification. Subsequently, if within a preset time, the electronic device still needs to display the indication information of both the first and second notifications, and determines that the content of the first notification has changed and a second update of the stacking arrangement is required, the electronic device can revert the stacking arrangement to its 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.

[0422] In some examples, when the indication information of the second notification is not displayed or is stacked, the refreshed 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 refreshed content of the indication information of the second notification.

[0423] Optionally, the refresh content is the refresh content that meets the first condition among the various refresh contents of the instruction information of the second notification. The first condition includes refresh content that is a preset node or refresh content that is a preset type.

[0424] For example, such as Figure 24 In interface 2401 shown in (a), the electronic device displays a food delivery order notification 241 in the front position via a capsule display in the status bar. Below the food delivery order notification 241, the electronic device displays a ride-hailing notification 242 in a hidden position, such that the food delivery order notification 241 partially covers the ride-hailing notification 242. During this process, a ride-hailing event generates refreshed content for the ride-hailing notification, and the electronic device determines that this refreshed content is an important update. Therefore, if... Figure 24 In interface 2402 shown in (b), the ride-hailing notification 242 temporarily takes over the prime position of the food delivery order notification 241. The electronic device displays the ride-hailing notification 242 in the status bar via a capsule display. After the temporary takeover period, as shown... Figure 24 In the interface 2403 shown in (c), the electronic device restores the exposure display of the food delivery order notification 241 in the front position and hides the ride-hailing notification 242 in the rear position.

[0425] Thus, in scenarios where multiple live notifications need to be displayed simultaneously and display space is limited, electronic devices can temporarily display notifications that are later in the order but have important updates by preempting display positions, thereby providing timely reminders to users.

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

[0427] Optionally, the first or second preset condition includes the arrival of the scheduled time, or a substantial update to the content of the first or second notification.

[0428] For example, after an electronic device confirms that it has received a live notification, it displays the live notification in its status bar.

[0429] For example, if event A, which generates the live notification, is a scheduled event, the electronic device can display the live notification for event A based on the actual occurrence time of event A. For instance, if event A is a high-speed rail ticket booking event, and the booking occurs 5 days before the actual departure time, the electronic device can determine that the live notification for event A is a scheduled event based on the actual departure time. Therefore, the electronic device can display the live notification for 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 time, then the electronic device will determine the time to display the live notification as (T1-T2) based on the actual departure time T1 and the advance time T2.

[0430] For example, electronic devices may issue a notification only after confirming that the content of the notification has been substantially updated, such as after reaching a preset node.

[0431] In this way, while ensuring that users see notifications in a timely manner, too many useless notifications will not be generated and affect users.

[0432] In some embodiments, during the process of an electronic device displaying the interface of a first application, in response to a user's operation on instruction information for at least two notifications displayed in a stacked manner, details of the first notification and / or details of the second notification are displayed in a floating manner on the interface of the first application.

[0433] Optionally, detailed information can be carried out in the form of cards.

[0434] For example, such as Figure 22 In the interface 2201 shown in (a), the electronic device displays a food delivery order notification 221 in a capsule format in the status bar. A ride-hailing notification is also present in the status bar, obscured by the food delivery order notification 221. In response to user actions on the food delivery order notification 221, such as... Figure 22 In the interface 2202 shown in (b), the electronic device can expand to display details of multiple notifications displayed in the status bar via capsules. For example, the electronic device displays food delivery order notification 221 and ride-hailing notification 222 as floating cards. Optionally, multiple floating cards can be displayed in styles such as tiling, stacking, or 3D depth display.

[0435] In this way, while using other applications or browsing the desktop, users can follow the progress of events based on the information in the status bar capsule. Optionally, if users need more detailed information, they can also click on the status bar capsule (taking a click as an example, this operation can actually be defined as any simple operation that conforms to the user's intuition) to expand the floating card list on the electronic device for viewing or convenient operation, thereby meeting the user's need to view notification details. Furthermore, the expansion and display of the floating cards will not interrupt the current task.

[0436] In some embodiments, the electronic device, in response to a user action, expands to display details of at least two notifications and then stops displaying indication information for at least two notifications in the top status bar.

[0437] In some embodiments, if a first operation is received regarding details of a first notification or details 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, the functional interface being 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 details of the first notification and / or details of the second notification is stopped, and the electronic device displays indication information for at least two notifications.

[0438] For example, such as Figure 13 As shown in interface 1301 (a), during the process of the electronic device displaying the capsule 131 corresponding to the food delivery order event, if the user clicks on the capsule 131, the following can be displayed: Figure 13 Interface 1302 is shown in (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 information about the food delivery order, thus helping the user to understand more relevant information about the food delivery order. Then, as... Figure 13 In interface 1302 shown in (b), during the process of displaying the card 132 corresponding to the capsule 131, the electronic device detects the user's operation on the blank display area 133 on the card 132, and determines that the card 132 is used to display the notification corresponding to the food delivery order event. Therefore, as... Figure 13 As shown in interface 1303 (c), the electronic device can launch the food delivery application that generates the food delivery order event and display an event details page corresponding to the notification content displayed on card 132, thereby helping the user to understand the relevant information of the food delivery order event in more detail.

[0439] Or, such as Figure 13 In the interface 1302 shown in (b), the electronic device can detect the user's operation on the desktop while displaying the card 132 corresponding to the capsule 131, and can stop displaying the card 132 and restore the display of the capsule 131.

[0440] In this way, electronic devices have multiple pre-set operations for capsule notifications to meet users' various display needs.

[0441] In some embodiments, when multiple live notifications are present simultaneously, the electronic device can adapt and display multiple live notifications in multiple locations based on the current display scenario, thereby facilitating users to quickly browse the content they need.

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

[0443] For example, in response to a user's action on the status bar, the notification center is expanded and displayed. The notification center includes instructions or details of at least two notifications, and the instructions or details of the at least two notifications are displayed in a tiled, stacked, or three-dimensional manner.

[0444] For example, an electronic device enters a screen-off state and displays a screen-off interface, which includes instructions or details of at least two notifications. The display methods of the instructions or details of the at least two notifications include: tiling, stacking, or three-dimensional display.

[0445] For example, when an electronic device enters a lock screen state and displays a lock screen interface, the lock screen interface includes instructions or details of at least two notifications, and the display method of the instructions or details of the at least two notifications includes tiling, stacking, or three-dimensional display.

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

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

[0448] For example, such as Figure 14 As shown in interface 1401 (a), during the process of the electronic device displaying the capsule 141 corresponding to the call event, the user's operation on the capsule 141 is detected, and the following is displayed: Figure 14 As shown in (b), interface 1402 displays the card 142 corresponding to the capsule. Then, the electronic device detects the user's operation on the hang-up control 143 displayed on card 142, confirming that the user has instructed to hang up the call. The electronic device can then terminate the call event corresponding to the current card 142. Furthermore, as... Figure 14 As shown in interface 1403 (c), after a call event ends, the electronic device no longer displays the notification corresponding to the call event, such as no longer displaying card 142 or capsule 141.

[0449] Optionally, devices such as PCs and smart TVs can be equipped with more precise keyboard and mouse or focus control functions. These devices can then support multi-zone button operation within the capsule-shaped design. For example, multiple operable controls can be pre-installed in the capsule notification, allowing users to perform different functions and meet a wider range of operational needs.

[0450] In some embodiments, the electronic device displays an always-on display, which includes a function window. A first animation is displayed in the function window, the first animation corresponding to a first notification.

[0451] Optionally, the function window may also display a second animation in a stacked manner, the second animation corresponding to the second notification, the stacking manner including the first animation partially or completely covering the second animation, or the second animation partially or completely covering the first animation.

[0452] Optionally, the first animation can be a 2D animation or a 3D animation.

[0453] For example, if the electronic device is a VR / AR device, then it can support the presentation of 3D model information. For instance, a VR / AR device displaying notifications from a food delivery app might include a 3D model, such as a delivery person model approaching on a bicycle.

[0454] For example, such as Figure 6 As shown, during the display of the always-on display (AOD) screen 601, the electronic device receives event A and determines that event A is an immediate event, requiring the corresponding live notification to be displayed immediately. Therefore, the electronic device can display the live notification corresponding to event A in the function window 61 on the always-on display screen 601 through a visual image, based on the current AOD display scenario. For example, if event A is a food delivery order event, the food delivery application can generate a delivery route map corresponding to the order. The electronic device can then display this delivery route map in function window 61, allowing users to easily determine the rider's location and estimate delivery time.

[0455] For example, such as Figure 20 As shown in (b), the electronic device displays live notifications 202 in the function window in a stacked display manner on the always-on display screen 2002. That is, while keeping the live notification 201 exposed, the electronic device also exposes a portion of the live notification 202 below the live notification 201, so that the user can determine that there are multiple live notifications in the current function window.

[0456] The above combination Figures 3-30 The notification display method provided in the embodiments of this application is described in detail below. Figure 31 This application provides a detailed description of the electronic device provided in its embodiments.

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

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

[0459] Optionally, the processing unit 3102 is used to support the electronic device 3100 in performing operations. Figure 3 S302 in the middle; and / or, supporting electronic device 3100 to perform Figure 7 S701, S702, S705, and S706; and / or, support electronic device 3100 to perform Figure 16 S1602, S1604, and S1606; and / or, support electronic device 3100 to perform Figure 23 S2302 and S2304 in the above; and / or, support electronic device 3100 to perform Figure 25 S2502 and S2504 in the example.

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

[0461] The transceiver unit may include a receiving unit and a transmitting unit, and may be implemented by a transceiver or transceiver-related circuit components, and may be a transceiver or transceiver module. The operation and / or function of each unit in the electronic device 3100 are respectively for implementing the corresponding process of the notification display method described in the above method embodiments. All relevant content of each step involved in the above method embodiments can be referred to the functional description of the corresponding functional unit, and for the sake of brevity, it will not be repeated here.

[0462] Optionally, Figure 31 The illustrated electronic device 3100 may also include a storage unit ( Figure 31 (not shown in the image), this storage unit stores a program or instruction. When the display unit 3101, processing unit 3102, and transceiver unit 3103 execute the program or instruction, it causes... Figure 31 The electronic device 3100 shown can execute the notification display method described in the above method embodiments.

[0463] Figure 31 The technical effects of the electronic device 3100 shown can be referred to the technical effects of the notification display method described in the above method embodiments, and will not be repeated here.

[0464] 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 an electronic device.

[0465] This application also provides a chip system, including: a processor coupled to a memory, the memory being used to store programs or instructions, wherein when the program or instructions are executed by the processor, the chip system implements the methods in any of the above method embodiments.

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

[0467] Optionally, the chip system may contain one or more memories. The memory may be integrated with the processor or disposed separately from it; this application embodiment does not limit this. 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 disposed separately on different chips. This application embodiment does not specifically limit the type of memory or the arrangement of the memory and processor.

[0468] For example, 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 micro controller unit (MCU), a programmable logic device (PLD), or other integrated chips.

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

[0470] This application also provides a computer-readable storage medium storing a computer program. When the computer program is run on a computer, it causes the computer to perform the aforementioned steps to implement the notification display method in the above embodiments.

[0471] This application also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned steps to implement the notification display method in the above embodiments.

[0472] In addition, this application also provides an apparatus. Specifically, the apparatus may be a component or module, and may include one or more processors and a memory connected together. The memory is used to store a computer program. When the computer program is executed by one or more processors, the apparatus performs the notification display method in the above-described method embodiments.

[0473] The apparatus, computer-readable storage medium, computer program product, or chip provided in the embodiments of this application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.

[0474] The steps of the methods or algorithms described in conjunction with the embodiments of this application can be implemented in hardware or by a processor executing software instructions. The software instructions can consist of corresponding software modules, which can be stored in random access memory (RAM), flash memory, read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, portable hard disks, CD-ROMs, or any other form of storage medium well known in the art. An exemplary storage medium is coupled to a processor, enabling the processor to read information from and 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 reside in an application-specific integrated circuit (ASIC).

[0475] Through the above description of the embodiments, those skilled in the art will clearly understand that, for the sake of convenience and brevity, the division of the above functional modules is only used as an example. In practical applications, the above 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 process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0476] 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 modules or units is only a logical functional division, and there may be other division methods in actual implementation; for example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of modules or units may be electrical, mechanical or other forms.

[0477] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0478] Computer-readable storage media include, but are not limited to, any of the following: USB flash drive, portable hard drive, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, and other media capable of storing program code.

[0479] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A notification display method characterized by comprising: The method is applied to an electronic device, and the method comprises: displaying a first interface, the first interface comprising a status bar at the top, the status bar displaying status information of the electronic device; displaying indication information of at least two notifications in the status bar in a stacking form, the indication information of the at least two notifications comprising main information of the corresponding notifications, the indication information of the at least two notifications comprising indication information of a first notification and indication information of a second notification, the stacking form comprising that the indication information of the first notification partially or entirely covers the indication information of the second notification, or the indication information of the second notification partially or entirely covers the indication information of the first notification, wherein the indication information of the first notification and the indication information of the second notification are in a capsule form; wherein, when the indication information of the first notification partially or entirely covers the indication information of the second notification, it is detected that the content of the second notification changes, and the stacking form is updated so that the refreshed indication information of the second notification partially or entirely covers the indication information of the first notification, and after the refreshed indication information of the second notification is exposed for a period of time, it is restored to that the indication information of the first notification partially or entirely covers the indication information of the second notification; when the indication information of the second notification partially or entirely covers the indication information of the first notification, it is detected that the content of the first notification changes, and the stacking form is updated so that the refreshed indication information of the first notification partially or entirely covers the indication information of the second notification, and after the refreshed indication information of the first notification is exposed for a period of time, it is restored to that the indication information of the second notification partially or entirely covers the indication information of the first notification.

2. The method of claim 1, wherein, Before the indication information of the at least two notifications is displayed in the status bar in the stacking form, the method further comprises: determining the stacking form of the indication information of the at least two notifications according to a sorting rule, the stacking form being that the indication information of the first notification partially or entirely covers the indication information of the second notification, or that the indication information of the second notification partially or entirely covers the indication information of the first notification.

3. The method of claim 2, wherein, The sorting rule comprises one or more of the following rules: creation time of the notification, update time of the notification, importance of the notification, priority of the notification, historical data of the user viewing the notification, or notification order manually set by the user.

4. The method of claim 3, wherein, 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, it is determined that the stacking form is that the indication information of the first notification partially or entirely 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, it is determined that the stacking form is that the indication information of the second notification partially or entirely 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 covers or fully 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 covers or fully 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 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, determining that the stacking form is that the indication information of the second notification covers or fully covers the indication information of the first notification.

5. The method of any one of claims 1-4, wherein, within a preset time after the Nth update of the stacking form, the N+1th update of the stacking form is performed to return the stacking form to a state before the Nth update, wherein N is a positive integer.

6. The method according to any one of claims 1 to 4, characterized in that, displaying, in the top status bar, the indication information of the at least two notifications in the stacking form, comprising: when it is detected that a first preset condition corresponding to the first notification is met or a second preset condition corresponding to the second notification is met, displaying the indication information of the first notification or the indication information of the second notification in the top status bar.

7. The method of claim 6, wherein, The first preset condition or the second preset condition includes a predetermined time reaching, or the content of the first notification or the second notification being substantially updated.

8. The method according to any one of claims 1 to 4, characterized in that, The method further comprises: displaying an interface of a first application; in response to a user operation on the indication information of the at least two notifications displayed in the stacking form, displaying 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.

9. The method of claim 8, wherein, The detailed information is carried in a card form.

10. The method of claim 8, wherein, The method further comprises: stopping displaying the indication information of the at least two notifications in the top status bar; if a first operation on the detailed information of the first notification or the detailed information of the second notification is received, in response to the first operation, displaying a function interface of an application sending the first notification or the second notification, 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, stopping displaying the detailed information of the first notification and / or the detailed information of the second notification, and displaying the indication information of the at least two notifications.

11. The method according to any one of claims 1 to 4, characterized in that, The method further comprises: in response to a user operation on the status bar, unfolding and displaying a notification center, the notification center including the indication information or the detailed information of the at least two notifications, and the indication information or the detailed information of the at least two notifications being displayed in a manner including tiling, stacking or three-dimensional display.

12. The method of any one of claims 1-4, wherein, The method further comprises: The electronic device enters a screen-off state and displays a screen-off interface, and the screen-off interface includes the indication information or detailed information of the at least two notifications, and the display mode of the indication information or detailed information of the at least two notifications includes tiling, stacking or three-dimensional display.

13. The method of any one of claims 1-4, wherein, The method further includes: The electronic device enters a lock screen state and displays a lock screen interface, and the lock screen interface includes the indication information or detailed information of the at least two notifications, and the display mode of the indication information or detailed information of the at least two notifications includes tiling, stacking or three-dimensional display.

14. The method of any one of claims 1-4, wherein, The indication information of the two capsule forms is displayed in a stacked form, and the stacking includes horizontal stacking or vertical stacking.

15. The method of any one of claims 1-4, wherein, 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.

16. The method of any one of claims 1-4, wherein, The method further includes: When the indication information of the first notification partially covers the indication information of the second notification, a first task is executed by a second application corresponding to the first notification in response to user operation on a first control in the indication information of the first notification; When the indication information of the second notification partially covers the indication information of the first notification, a second task is executed by a third application corresponding to the second notification in response to user operation on a second control in the indication information of the second notification.

17. The method of claim 16, wherein, The number of the first control or the second control is at least one.

18. A notification display method characterized by comprising: The method applied to an electronic device includes: displaying a first interface, the first interface having indication information of a first notification and state information of the electronic device displayed in a status bar of the first interface; generating indication information of a second notification; determining a display priority order of the indication information of the first notification and the indication information of the second notification according to a sorting rule; 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, wherein 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 mode, the indication information of the first notification includes main information of the first notification, and the indication information of the second notification includes main information of the second notification; wherein when the indication information of the second notification is not displayed or is displayed in a stacked mode, a refreshed content of the indication information of the second notification is obtained; within a preset time length, preempting a display position of the indication information of the first notification to expose the refreshed content of the indication information of the second notification; after the preset time length, displaying the indication information of the second notification in a stacked mode, so that the indication information of the first notification partially covers or entirely covers the indication information of the second notification.

19. The method of claim 18, wherein, The displaying of 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: 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, preempting 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 displayed in a manner that the indication information of the first notification partially or entirely covers the indication information of the second notification.

20. The method of claim 19, wherein, The number of display positions in the status bar is a first number, and the number of the indication information of the first notification is greater than or equal to the first number.

21. The method of claim 20, wherein, In a case where the number of the indication information of the first notification is less than the first number, the method further includes: The display of the indication information of the first notification and the indication information of the second notification is exposed.

22. The method of any one of claims 18-21, wherein, The refresh content is a refresh content of the indication information of the second notification that satisfies a first condition, and the first condition includes that the refresh content is a refresh content of a preset node or a refresh content of a preset type.

23. The method of any one of claims 18-21, wherein, The method further includes: Detecting a user operation on the indication information of the notification displayed in the status bar, displaying a first card corresponding to the indication information of the first notification, and displaying a second card corresponding to the indication information of the second notification.

24. The method of any one of claims 18-21, wherein, The method further includes: 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; Detecting a user operation on a second control in the indication information of the second notification, and executing a second task through a third application corresponding to the second notification.

25. The method of claim 24, wherein, The number of the first control or the second control is at least one.

26. The method of any one of claims 18-21, wherein, 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.

27. An electronic device, comprising: Including: A processor, a memory, and a display screen, the memory and the display screen being coupled with the processor, the memory being configured to store computer program code, the computer program code including computer instructions, when the processor reads the computer instructions from the memory, causing the electronic device to perform the method of any one of claims 1-17; or, causing the electronic device to perform the method of any one of claims 18-26.

28. A computer-readable storage medium, characterized in that, The computer readable storage medium includes a computer program, when the computer program is run on an electronic device, causing the electronic device to perform the method of any one of claims 1-17; or, causing the electronic device to perform the method of any one of claims 18-26.

29. A computer program product, characterised in that, When the computer program product is run on a computer, the computer is caused to perform the method of any one of claims 1-26.

Citation Information

Patent Citations

  • Notification message display method and device and electronic equipment

    CN103500079A

  • Application icon display method and device, terminal and computer readable storage medium

    CN107846503A

  • Notification method in full screen immersive environment as well as mobile terminal

    CN109413263A

  • Function execution method and device

    CN112162807A

  • Method for controlling mobile terminal, mobile terminal, and storage medium

    WO2022016694A1