Notification display method and electronic device

By independently displaying in the status bar and adaptively adjusting the notification expansion method according to user operations, the problem of users' difficulty in paying attention to high-time notifications is solved, and timely display and flexible viewing of notifications are realized, improving user experience.

WO2025152565A1PCT designated stage expired Publication Date: 2025-07-24HUAWEI TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/129931
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-01-17
Filing Date
2024-11-05
Publication Date
2025-07-24

AI Technical Summary

Technical Problem

It is difficult for users to pay attention to the timely timely notifications displayed on electronic devices, which leads to invalid information, and the backlog of multiple notifications interferes with the process of obtaining other valid notifications.

Method used

The instructions for multiple notifications are independently displayed in the status bar. After the user operates a notification, expands its detailed information, and adapts the display method according to the priority of the notification and the status bar space, including folding, stacking or tiling, to ensure that important notifications are displayed in a timely manner.

Benefits of technology

It realizes timely display and flexible viewing of notifications, reduces interference with invalid information, prioritizes high-priority notifications, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024129931_24072025_PF_FP_ABST
    Figure CN2024129931_24072025_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of terminals, and provides a notification display method and an electronic device. In the present application, an electronic device displays corresponding detailed information on the basis of a user's operation on indication information of a certain notification among indication information of a plurality of notifications displayed in a status bar, helping the user to flexibly view notification content. The method comprises: an electronic device displaying a first interface comprising a status bar located at the top, wherein the status bar displays indication information of at least two notifications comprising indication information of a first notification and indication information of a second notification, and the indication information of the first notification and the indication information of the second notification are displayed independently of each other; in response to a user's first operation on the indication information of the first notification, displaying detailed information of the first notification on the first interface in a floating form; and in response to the user's second operation on the indication information of the second notification, displaying detailed information of the second notification on the first interface in a floating form, and restoring display of the indication information of the first notification in the status bar.
Need to check novelty before this filing date? Find Prior Art

Description

Notification display method and electronic device

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on January 17, 2024, with application number 202410071718.3 and application name “Notification Display Method and Electronic Device”, the entire contents of which are incorporated by reference into this application. Technical Field

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

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

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

[0005] Summary of the Invention

[0006] To solve the above technical problems, the present application provides a notification display method and electronic device. The technical solution provided by the present application enables an electronic device to display the indication information of multiple notifications in the status bar, and then display the detailed information of a notification based on the user's operation on the indication information of the notification. This method can not only quickly display the notification to the user, but also help the user flexibly view the detailed information of the notification.

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

[0008] In a first aspect, a notification display method is provided, which is applied to an electronic device. The method includes: displaying a first interface, the first interface including a status bar at the top. Displaying indication information of at least two notifications in the status bar, the indication information of the at least two notifications including indication information of the first notification and indication information of the second notification, the indication information of the first notification and the indication information of the second notification being displayed independently of each other. In response to a first operation of a user on the indication information of the first notification, detailed information of the first notification is displayed on the first interface in a suspended form. In response to a second operation of the user on the indication information of the second notification, detailed information of the second notification is displayed on the first interface in a suspended form, and the display of the indication information of the first notification in the status bar is restored.

[0009] In this way, the electronic device can display the indication information of multiple independently displayed notifications in the status bar, so that the notifications can be displayed to the user in a timely manner.

[0010] Furthermore, the electronic device can expand and display detailed information of a notification according to the user's operation on the instruction information of the notification, thereby meeting the user's demand for flexible viewing of detailed information of the notification.

[0011] In addition, in response to the user's operation on the indication information of other notifications, the electronic device may determine that the user has finished viewing or is no longer interested in the notification currently displaying detailed information. Then, the electronic device may automatically resume displaying the indication information of the notification, simplifying the user's operation.

[0012] According to the first aspect, the method further includes: obtaining a third notification. In response to the remaining display space in the status bar not meeting the display requirements of the indication information of the third notification, displaying the indication information of at least two notifications and a folding control in a collapsed form, the folding control being used to indicate the collapsed third notification, the collapsed form including the indication information of the first notification, the indication information of the second notification, and the folding control being displayed independently of each other.

[0013] For example, while the electronic device is displaying the indication information for a phone call notification and a taxi call notification in a tiled manner in the status bar, it receives a food delivery notification and determines that the indication information for the food delivery notification needs to be displayed. Furthermore, the electronic device determines that the remaining display space in the status bar is insufficient to display the indication information for the food delivery notification. The electronic device then collapses the displayed indication information for the phone call notification and the taxi call notification and displays a collapse control for displaying the collapsed indication information for the food delivery notification.

[0014] In this way, when the status bar display space is insufficient, the electronic device can display the indication information of multiple notifications in a folded manner, meeting the notification display requirements and making it easier for users to view notifications.

[0015] According to the first aspect, or any implementation of the first aspect above, the method further includes: detecting a third user operation on a folding control; displaying detailed information of the folded third notification on the first interface in a floating manner; or displaying detailed information of the first notification, detailed information of the second notification, and detailed information of the third notification on the first interface in a floating manner.

[0016] In this way, the user can click on the indication information of the notification as needed to instruct the electronic device to display the detailed information of the folded notification, thereby avoiding the problem that the user cannot obtain the content of the notification due to the folding of the indication information of the notification.

[0017] According to the first aspect, or any implementation of the first aspect above, the method further includes: obtaining a fourth notification, the fourth notification having a lower priority than the first notification and the second notification. Displaying indication information of at least two notifications and a folding control in a folded form, the folding control being used to indicate the folded third and fourth notifications.

[0018] In this way, when the indication information of the notification is folded and displayed, after receiving a new notification, the indication information corresponding to the new notification is still displayed in a folded form. In addition, the electronic device determines whether to display the indication information of the notification in an exposed or folded form according to the priority of the indication information of the notification to be displayed.

[0019] According to the first aspect, or any implementation of the first aspect above, after displaying detailed information of the first notification in a suspended form on the first interface in response to the user's first operation on the indication information of the first notification, the method also includes: when the remaining display space in the status bar meets the display requirements of the indication information of the folded third notification, displaying the indication information of the third notification in the status bar, the priority of the third notification is higher than the priority of the fourth notification.

[0020] In this way, the electronic device adaptively adjusts whether to display the notification indicator information exposed or collapsed, as well as the display order of the notification indicator information, based on the priority order of the notifications and the remaining display space in the status bar. This allows the user to be presented with live notifications in a timely manner while giving priority to live notifications with higher priority.

[0021] According to the first aspect, or any implementation of the first aspect above, after displaying detailed information of the first notification in a suspended form on the first interface in response to the user's first operation on the indication information of the first notification, the method also includes: when the remaining display space in the status bar meets the display requirements of the indication information of the folded third notification, the indication information of the third notification is displayed in the status bar, and the folding control is no longer displayed in the status bar.

[0022] Exemplarily, when the number of indication information of the folded notification is 1, in response to the user's operation on the folding control, the electronic device no longer displays the folding control after displaying the card corresponding to the folded notification.

[0023] In this way, the electronic device can adaptively adjust whether to fold the notification indication information according to the display status of the notification indication information and the remaining space of the status bar, thereby flexibly displaying the notification indication information to the user.

[0024] According to the first aspect, or any implementation method of the first aspect above, the priority of the first notification is higher than the priority of the second notification. In response to the user's first operation on the indication information of the first notification, after displaying the detailed information of the first notification in a floating form on the first interface, the method also includes: moving the indication information of the second notification in the status bar to the display position of the original indication information of the first notification for display.

[0025] For example, the electronic device displays the indication information of a phone call notification and the indication information of a taxi hailing notification side by side, with the phone call notification having a higher priority than the taxi hailing notification. In response to a user clicking the indication information of the phone call notification, the electronic device expands and displays the phone card corresponding to the indication information of the phone call notification and advances the indication information of the taxi hailing notification to a higher priority position for display.

[0026] In this way, in response to the user's operation on the indication information of the notification, the electronic device can not only display more information of the notification to the user, but also adaptively adjust the display position of the indication information of different notifications to achieve better display effects.

[0027] According to the first aspect, or any implementation method of the first aspect above, the indication information of the second notification displayed in the status bar includes a paragraph of text information, and the second notification corresponds to multiple paragraphs of text information. In response to the user's first operation on the indication information of the first notification, after displaying the detailed information of the first notification in a floating form on the first interface, the method also includes: when the remaining display space in the status bar satisfies the need to display the multiple paragraphs of text information of the second notification, displaying the indication information of the second notification including multiple paragraphs of text information in the status bar.

[0028] For example, the electronic device displays the indication information of a phone call notification and the indication information of a taxi call notification in a tiled manner. In response to a user clicking the indication information of the phone call notification, the electronic device expands and displays the phone card corresponding to the indication information of the phone call notification. The indication information of the taxi call notification, which was displayed in a normal tiled manner, is moved to a higher display priority position and displayed in an extended tiled manner.

[0029] In this way, in response to the user's operation on the indication information of the notification, the electronic device can not only display more information of the live notification to the user, but also adaptively adjust the display position and display method of the indication information of different notifications to achieve better display effects.

[0030] According to the first aspect, or any implementation method of the above first aspect, the indication information of the first notification includes a paragraph of text information or multiple paragraphs of text information corresponding to the first notification, and the indication information of the second notification includes a paragraph of text information or multiple paragraphs of text information corresponding to the second notification.

[0031] In some examples, the service side is pre-configured with a notification display content format, such as color, icon, information quantity, etc. The information quantity is used to indicate how many segments of indication information the live notification includes.

[0032] According to the first aspect, or any implementation of the first aspect above, the method further includes: obtaining a fifth notification. In response to the remaining display space in the status bar not meeting the display requirements of the indication information of the fifth notification, the indication information of at least two notifications and the indication information of the fifth notification are displayed in a stacked form, where the priority of the fifth notification is lower than the priority of the at least two notifications, and the stacked form includes the indication information of the at least two notifications partially covering the indication information of the fifth notification.

[0033] In this way, the electronic device can choose to display in a folded form or in a stacked form, and flexibly display more notification indication information.

[0034] According to the first aspect, or any implementation of the first aspect above, the method also includes: in response to the user's operation on the display area of ​​the indication information of at least two notifications and the indication information of the fifth notification, displaying the detailed information of the first notification, the detailed information of the second notification, and the detailed information of the fifth notification on the first interface in a suspended form.

[0035] In this way, when the electronic device displays the indication information of multiple notifications in a stacked manner, in response to user operations, the electronic device can also display detailed information of the notifications to the user, so that the user can better understand the content of the notifications.

[0036] According to the first aspect, or any implementation of the first aspect above, the indication information of the first notification and the indication information of the second notification are both in capsule form.

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

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

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

[0040] In this way, after receiving the live notification, the electronic device can promptly display the live notification to the user in the status bar in the form of notification indication information.

[0041] In a second aspect, an electronic device is provided. The electronic device includes: a processor, a memory and a display screen, the memory and the display screen are coupled to the processor, the memory is used to store computer program code, the computer program code includes computer instructions, and when the processor reads the computer instructions from the memory, the electronic device executes: displaying a first interface, the first interface includes a status bar located at the top. Indication information of at least two notifications is displayed in the status bar, the indication information of at least two notifications includes indication information of the first notification and indication information of the second notification, and the indication information of the first notification and the indication information of the second notification are displayed independently of each other. In response to a first operation of the user on the indication information of the first notification, detailed information of the first notification is displayed on the first interface in a suspended form. In response to a second operation of the user on the indication information of the second notification, detailed information of the second notification is displayed on the first interface in a suspended form, and the display of the indication information of the first notification in the status bar is restored.

[0042] According to a second aspect, when the processor reads computer instructions from the memory, the electronic device is further caused to execute: obtaining a third notification. In response to the remaining display space in the status bar not meeting the display requirements of the indication information of the third notification, the indication information of at least two notifications and a folding control are displayed in a folded form, the folding control being used to indicate the folded third notification, the folded form including the indication information of the first notification, the indication information of the second notification, and the folding control being displayed independently of each other.

[0043] According to the second aspect, or any implementation of the second aspect above, when the processor reads the computer instructions from the memory, the electronic device is further caused to execute: upon detecting a third user operation on the folding control, display detailed information of the folded third notification in a floating manner on the first interface. Alternatively, detailed information of the first notification, detailed information of the second notification, and detailed information of the third notification are displayed in a floating manner on the first interface.

[0044] According to the second aspect, or any implementation of the second aspect above, when the processor reads the computer instructions from the memory, the electronic device is further caused to execute: obtaining a fourth notification, the fourth notification having a lower priority than the first notification and the second notification; and displaying indication information of at least two notifications and a folding control in a folded form, the folding control being used to indicate the folded third and fourth notifications.

[0045] According to the second aspect, or any implementation of the second aspect above, when the processor reads computer instructions from the memory, it also enables the electronic device to execute: when the remaining display space in the status bar meets the display requirements of the indication information of the folded third notification, the indication information of the third notification is displayed in the status bar, and the priority of the third notification is higher than the priority of the fourth notification.

[0046] According to the second aspect, or any implementation of the above second aspect, when the processor reads computer instructions from the memory, it also enables the electronic device to execute: when the remaining display space in the status bar meets the display requirements of the indication information of the folded third notification, the indication information of the third notification is displayed in the status bar, and the folding control is no longer displayed in the status bar.

[0047] According to the second aspect, or any implementation method of the above second aspect, the priority of the first notification is higher than the priority of the second notification. When the processor reads computer instructions from the memory, it also enables the electronic device to execute: move the indication information of the second notification in the status bar to the display position of the original indication information of the first notification for display.

[0048] According to the second aspect, or any implementation method of the above second aspect, the indication information of the second notification displayed in the status bar includes a paragraph of text information, and the second notification corresponds to multiple paragraphs of text information. When the processor reads computer instructions from the memory, it also enables the electronic device to execute: when the remaining display space in the status bar satisfies the need to display multiple paragraphs of text information of the second notification, the indication information of the second notification including multiple paragraphs of text information is displayed in the status bar.

[0049] According to the second aspect, or any implementation method of the above second aspect, the indication information of the first notification includes a paragraph of text information or multiple paragraphs of text information corresponding to the first notification, and the indication information of the second notification includes a paragraph of text information or multiple paragraphs of text information corresponding to the second notification.

[0050] According to the second aspect, or any implementation of the second aspect above, when the processor reads the computer instructions from the memory, the electronic device is further caused to execute: obtaining a fifth notification. In response to the remaining display space in the status bar not meeting the display requirements of the indication information of the fifth notification, the indication information of at least two notifications and the indication information of the fifth notification are displayed in a stacked form, the priority of the fifth notification being lower than the priority of the at least two notifications, and the stacked form including the indication information of the at least two notifications partially covering the indication information of the fifth notification.

[0051] According to the second aspect, or any implementation of the second aspect above, when the processor reads computer instructions from the memory, it also causes the electronic device to execute: in response to the user's operation on the display area of ​​the indication information of at least two notifications and the indication information of the fifth notification, detailed information of the first notification, detailed information of the second notification, and detailed information of the fifth notification are displayed on the first interface in a suspended form.

[0052] According to the second aspect, or any implementation of the second aspect, the indication information of the first notification and the indication information of the second notification are both in capsule form.

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

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

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

[0056] In a fourth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program (also referred to as instructions or code), which, when executed by 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.

[0057] In a fifth aspect, a computer program product is provided. When the computer program product is run on an electronic device, the electronic device executes the method of the first aspect or any one of the embodiments of the first aspect.

[0058] In a sixth aspect, a circuit system is provided, the circuit system including a processing circuit, the processing circuit being configured to execute the method of the first aspect or any one of the embodiments of the first aspect.

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

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

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

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

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

[0064] FIG4 is a schematic diagram of a status bar display space provided in an embodiment of the present application;

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

[0066] FIG6 is a schematic diagram of an interface showing capsules of different lengths provided in an embodiment of the present application;

[0067] FIG7 is a first schematic diagram of a multi-capsule display interface provided by an embodiment of the present application;

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

[0069] FIG9 is a second schematic diagram of a multi-capsule display interface provided in an embodiment of the present application;

[0070] FIG10 is a third schematic diagram of a multi-capsule display interface provided in an embodiment of the present application;

[0071] FIG11 is a fourth schematic diagram of a multi-capsule display interface provided in an embodiment of the present application;

[0072] FIG12 is a fifth schematic diagram of a multi-capsule display interface provided in an embodiment of the present application;

[0073] FIG13 is a sixth schematic diagram of a multi-capsule display interface provided in an embodiment of the present application;

[0074] FIG14A is a seventh schematic diagram of a multi-capsule display interface provided in an embodiment of the present application;

[0075] FIG14B is a schematic diagram eight of a multi-capsule display interface provided in an embodiment of the present application;

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

[0077] FIG16 is a first schematic diagram of an interface showing detailed contents corresponding to a tiled capsule according to an embodiment of the present application;

[0078] FIG17 is a second schematic diagram of an interface showing detailed contents corresponding to a tiled capsule according to an embodiment of the present application;

[0079] FIG18 is a third schematic diagram of an interface showing detailed contents corresponding to a tiled capsule according to an embodiment of the present application;

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

[0081] FIG20 is a schematic diagram of an interface showing a capsule stack provided in an embodiment of the present application;

[0082] FIG21 is a schematic diagram of an interface for displaying a capsule folded according to an embodiment of the present application;

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

[0084] FIG23 is a schematic diagram of an interface showing detailed contents corresponding to stacked capsules according to an embodiment of the present application;

[0085] FIG24 is a first schematic diagram of an interface showing detailed information corresponding to a foldable capsule according to an embodiment of the present application;

[0086] FIG25 is a second schematic diagram of an interface showing detailed contents corresponding to a foldable capsule according to an embodiment of the present application;

[0087] FIG26 is a third schematic diagram of an interface showing detailed contents corresponding to a foldable capsule according to an embodiment of the present application;

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

[0089] FIG28 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0090] The technical solutions in the embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to include expressions such as "one or more", unless there is a clear indication to the contrary in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one or more (including two).

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

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

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

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

[0095] Optionally, after generating a notification, the service side sends it to the system side, instructing the system side to display the notification to facilitate user notification. A notification can also be described as a message or information. Optionally, the service side sends the notification to the system side by calling an interface. The service side may use the same or different interfaces to send live and non-live notifications to the system side.

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

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

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

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

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

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

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

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

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

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

[0106] Thus, the present invention provides a notification display method in which, upon receiving a notification of a preset type, an electronic device uses capsules that can be adapted to a variety of display scenarios to provide a reminder. Furthermore, the method supports multiple capsule displays to meet the needs of multiple live notifications. Furthermore, users can instruct the electronic device to expand a capsule individually as needed to display the card corresponding to that capsule, allowing users to flexibly view more notification content.

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

[0108] Exemplarily, as shown in Figure 2, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.

[0109] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

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

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

[0112] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly retrieve it from the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.

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

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

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

[0116] The USB interface 130 is an interface that complies with USB standards and specifications, and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100, or to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect to other first electronic devices, such as an AR device.

[0117] It is understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.

[0118] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also provide power to the first electronic device via the power management module 141.

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

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

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

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

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

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

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

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

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

[0128] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.

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

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

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

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

[0133] The buttons 190 include a power button, a volume button, and the like. The buttons 190 may be mechanical buttons or touch buttons. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100.

[0134] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts and can also be used for touch vibration feedback.

[0135] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, etc.

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

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

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

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

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

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

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

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

[0144] For example, in display scenarios such as full-screen AOD, lock screen interface, notification center, floating card, etc., electronic devices display notification content through display styles such as capsules or cards.

[0145] Optionally, the display content of the card includes, for example, a notification source icon, primary and secondary texts, visual details information, and operable controls. Among them, the notification source icon is, for example, the icon of the service that generates the notification, such as an application icon. The primary and secondary texts are, for example, the text content of the notification. The visual details information is, for example, the detailed content of the notification, such as text, images, etc. The operable controls are, for example, controls that allow users to operate on the notification. For example, if the notification is a timer notification, a pause / resume control is displayed on the corresponding card. In response to the user's operation of the pause / resume control, the electronic device can pause or continue timing without having to start the timer application again.

[0146] Optionally, the capsule display content may include, for example, the notification source icon, the notification source's theme color, and key information. Because the capsule display area is relatively small, the service side can extract the key information from the notification and send it to the system side, triggering the system side to display this key information via the capsule. This allows users to directly identify the core information of the notification, serving as a reminder while effectively reducing the proportion of the notification screen occupied.

[0147] For example, as shown in FIG3 (a), while displaying a local AOD interface 301, the electronic device receives event A and determines that event A is an immediate event, and its corresponding live notification needs to be displayed immediately. Then, the electronic device may display a live notification 31 corresponding to event A on the local AOD interface 301 using a capsule based on the current local AOD display scene. Alternatively, as shown in FIG3 (b), while displaying a lock screen interface 302, the electronic device receives event A and determines that event A is an immediate event, and its corresponding live notification needs to be displayed immediately. Then, the electronic device may display a live notification 32 corresponding to event A using a card at the highest priority position on the lock screen interface 302 based on the current lock screen display scene. Alternatively, as shown in FIG3 (c), while displaying a notification center interface 303, the electronic device receives event A and determines that event A is an immediate event, and its corresponding live notification needs to be displayed immediately. Then, the electronic device may display a live notification 33 corresponding to event A using a card at the highest priority position on the notification center interface 303 based on the current notification center display scene. Alternatively, as shown in (d) in Figure 3, the electronic device receives event A during the process of displaying the desktop 304, and determines that event A is an immediate event, and its corresponding live notification needs to be displayed immediately. Then, the electronic device can display the live notification 34 corresponding to event A in the desktop status bar through a capsule based on the current desktop display scene. Alternatively, as shown in (e) in Figure 3, the electronic device receives event A during the process of displaying the desktop 305, and determines that event A is an immediate event, and its corresponding live notification needs to be displayed immediately. Then, the electronic device can display the live notification 35 corresponding to event A through a floating card at the highest priority position on the desktop 305 based on the current floating card display scene.

[0148] It should be understood that in the scenarios shown in Figure 3(d) and Figure 3(e), the live notification display process is illustrated by taking the case where the electronic device receives a live notification while displaying the desktop. Furthermore, the electronic device can also display received live notifications in the form of capsules or cards while displaying the application interface.

[0149] The following describes the process of displaying live notifications in a capsule display style while the electronic device is displaying the desktop as an example. The example of displaying live notifications in a capsule display style while the electronic device is displaying the application interface is not repeated.

[0150] In some embodiments, a status bar is configured at the top of the electronic device's display screen, and the electronic device can display the status bar while running an application. Optionally, a capsule notification is displayed in the status bar at the top of the electronic device's display screen to facilitate timely reminders to the user. Optionally, after receiving a notification corresponding to an event, the electronic device needs to determine whether the remaining display space in the status bar meets the display requirements of the capsule notification. Optionally, if the width of the remaining display space is greater than or equal to the width of the capsule notification to be displayed, the electronic device determines that the capsule notification can be displayed.

[0151] In some examples, the top of the electronic device's display screen is configured with a camera hole that matches the camera installation position. The space in the top of the display screen other than the camera hole can be used to display the status bar. It should be understood that some electronic devices do not have a camera occupying the display screen space, in which case the entire top space of the display screen can be used to display the status bar.

[0152] Optionally, the display space of the status bar includes a fixed display space and an active display space, wherein the fixed display space is used to display pre-configured fixed content, and the active display space is used to display configurable active content. For example, the fixed display space is used to display one or more of the following: time, wireless network status, wired network status of SIM card 1, wired network status of SIM card 2, battery power, etc. The active display space is used to display capsule notifications, non-live notification identifiers, other system statuses (such as the Do Not Disturb identifier, device vibration identifier, etc.), etc. For example, the available width of the capsule notification in the status bar = the width of the status bar - the width of the fixed display space - the interval between the fixed display space and the active display space.

[0153] The following describes the notification display process in detail, using a fixed display space for displaying battery power and time as an example.

[0154] For example, different types or models of electronic devices have different widths, so the available width for capsule notifications also varies. For example, as shown in Figure 4 (a), the space at the top of the display screen of mobile phone 1 includes, in order, an elliptical camera cutout 41, an active display space 42, and a fixed display space 43. As shown in Figure 4 (b), the space at the top of the display screen of mobile phone 2 includes, in order, a circular camera cutout 44, an active display space 45, and a fixed display space 46. Both mobile phones have the same width, and fixed display space 43 and fixed display space 46 are both used to display battery level and time. Because the elliptical camera cutout 41 is wider than the circular camera cutout 44, the active display space 42 is smaller than the active display space 45, resulting in mobile phone 2 having more available width for capsule notifications. For another example, as shown in Figure 4 (c), the space at the top of the display screen of a tablet includes, in order, an active display space 47, a fixed display space 48, and a circular camera cutout 49. The tablet's display screen is wider than both mobile phones 1 and 2, so the tablet has more available width for capsule notifications.

[0155] The following describes the process by which an electronic device adaptively displays a capsule notification based on the available width of the capsule notification.

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

[0157] S501: The electronic device generates event A.

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

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

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

[0161] S502: The electronic device determines that the notification of event A includes multiple pieces of information. If not, execute step S503; if so, execute step S504.

[0162] In some embodiments, the service side pre-configures notification display content formats, such as color, icon, and number of messages. The number of messages indicates how many segments of information the live notification includes. Optionally, due to display width limitations, both the number of messages and the length of each segment are less than corresponding thresholds.

[0163] For example, a preconfigured taxi notification in a taxi application includes two pieces of information, such as information indicating the distance between the vehicle and the passenger or the destination, and information indicating the estimated time to travel the distance.

[0164] S503: The electronic device displays a notification of event A through a common capsule.

[0165] In some embodiments, the electronic device is configured with capsule sizes for displaying different amounts of information. For example, a regular capsule can be used to display one paragraph of information, while an elongated capsule can be used to display multiple paragraphs of information.

[0166] In some examples, the electronic device determines that the notification of event A includes only one piece of information, and the electronic device may display the notification of event A through a common capsule.

[0167] For example, as shown in FIG6(a), in response to a user's request to hail a ride in a ride-hailing app, the ride-hailing app generates a ride notification indicating a ride-hailing event. The electronic device determines that the ride-hailing notification generated by the ride-hailing app includes information indicating the distance between the vehicle and the passenger. The electronic device then displays information 61 of the ride-hailing notification via a standard capsule. The capsule also displays the ride-hailing app's logo, and the capsule's color matches the ride-hailing app's theme color.

[0168] S504: The electronic device determines that the display space is sufficient. If so, execute step S505; if not, execute step S503.

[0169] S505: The electronic device displays a notification of event A via the extended capsule.

[0170] In some embodiments, if the electronic device determines that the notification for event A includes multiple segments of information, the electronic device then determines, based on the available width of the notification capsule, whether the remaining display space in the status bar can accommodate the display of these multiple segments. If so, the electronic device may display the notification for event A using an elongated capsule, executing step S505. If not, the electronic device may display the notification for event A using a standard capsule, executing step S503.

[0171] In some examples, electronic devices can also select capsule specifications based on display width. For example, devices with smaller displays, such as non-foldable phones or folded foldable phones, can display notifications using standard capsules. Another example is devices with larger displays, such as unfolded foldable phones and tablets, which can display notifications using extended capsules.

[0172] In some examples, if the remaining display space in the status bar can accommodate some of the multiple segments, the electronic device may adjust the width of the capsule to display the segments. For example, if the notification for event A includes three segments, the electronic device determines that the remaining display space in the status bar can display two of them, and adjusts the width of the capsule to display the two segments.

[0173] In some examples, the service side preconfigures the importance of different information segments. When the electronic device adjusts the capsule display length according to the remaining display space in the status bar, it can sort the different information segments according to their importance and give priority to displaying the most important information segments.

[0174] In some examples, the active display space in the status bar is also used to display non-live notification identifiers, other system status information, and other display content. Live notifications have a higher display priority than other display content in the active display space. Therefore, if the remaining display space in the status bar is insufficient, a capsule notification can preempt the display space of other display content in the active display space.

[0175] For example, a preconfigured taxi notification in a taxi app includes information indicating the distance between the vehicle and the passenger or destination, as well as information indicating the estimated travel time for that distance. For example, as shown in Figure 6(a), a mobile phone with a large display screen receives a taxi notification and determines that there is insufficient space left in the status bar. As indicated by reference numeral 61, the mobile phone displays the taxi notification using a standard capsule, where the taxi notification's indication includes the more important information indicating the distance between the vehicle and the passenger. For another example, as shown in Figure 6(b), a mobile phone receives a taxi notification and determines that there is sufficient space left in the status bar. As indicated by reference numeral 62, the mobile phone displays the taxi notification using an extended capsule, where the taxi notification's indication includes all preconfigured information. For another example, as shown in Figure 6(c), a tablet receives a taxi notification and determines that there is sufficient space left in the status bar. As indicated by reference numeral 63, the tablet displays the taxi notification using an extended capsule, where the taxi notification's indication includes all preconfigured information.

[0176] In this way, the electronic device displays a capsule in the status bar, which makes it convenient for users to browse important content at a glance in any scenario when using the device, providing convenience for users to obtain highly timely information at the right time.

[0177] In addition, the notification display in the status bar will not interfere with the display and operation of the current device, avoiding interference with user operations.

[0178] In addition, the electronic device adaptively adjusts the capsule specifications according to the remaining display space of the status bar, maximizes the use of the device form, enriches the capsule display effect, and presents richer content to users.

[0179] In some embodiments, when the electronic device is displaying live notifications through the capsule, there may be live notifications generated by new events that need to be displayed, that is, the electronic device needs to display multiple live notifications.

[0180] For example, as shown in FIG7 , when the electronic device receives a taxi notification while displaying a phone capsule notification 71 , the electronic device may then display a taxi capsule notification 72 .

[0181] In some examples, the electronic device determines the priority order of the multiple live notifications according to a preset sorting rule to display the multiple live notifications.

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

[0183] For example, as shown in Figure 7, while the electronic device is displaying phone capsule notification 71, it receives a taxi notification. The electronic device determines that the taxi notification has a lower priority than the phone notification. In this case, the electronic device may display taxi capsule notification 72 at a lower priority location to the right of phone capsule notification 71. Alternatively, while the electronic device is displaying taxi capsule notification 72, it receives a phone notification. The electronic device determines that the phone notification has a higher priority than the taxi notification. In this case, the electronic device may display phone capsule notification 71 at the original taxi capsule notification 73 and display taxi capsule notification 72 at a lower priority location to the right of phone capsule notification 71.

[0184] In some examples, during the display of multiple capsule notifications, the electronic device may also determine the number of segments of information indicated in the capsule based on the size of the remaining display space in the status bar, and whether to display the capsules flatly, stacked, or folded.

[0185] For example, in the scenario shown in FIG7 , there is sufficient display space, and the electronic device displays the phone call capsule notification 71 and the taxi capsule notification 72 in a tiled manner.

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

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

[0188] S801: The electronic device generates event A.

[0189] S802: The electronic device determines that the notification of event A includes multiple pieces of information. If not, execute step S803; if so, execute step S806.

[0190] Optionally, the contents of step S801 and step S802 may refer to the relevant contents of the above-mentioned step S501 and step S502, which will not be repeated here.

[0191] S803: The electronic device determines whether the remaining display space meets the requirements for ordinary capsule tile display. If so, step S804 is executed; if not, step S805 is executed.

[0192] S804: The electronic device displays the notification of event A in ordinary capsule tiles.

[0193] S805: The electronic device is stacked or folded to display a notification of event A.

[0194] In some embodiments, after determining that the notification for event A to be displayed includes a piece of information, the electronic device may obtain the remaining display space in the status bar to determine whether the remaining display space is sufficient. If sufficient, the electronic device may display the notification for event A in a tiled manner using a standard capsule display, i.e., executing step S804. If insufficient, the electronic device may display the notification for event A in a stacked or folded manner.

[0195] Optionally, when capsules are displayed in stacked form, a capsule covers part or all of other capsules, or is covered part or all of other capsules.

[0196] Optionally, when the capsules are displayed in a folded state, different capsules are displayed separately.

[0197] For example, as shown in interface 901 in Figure 9(a), while the electronic device is displaying a call capsule notification 91 tiled in the status bar, it receives a taxi notification. The electronic device determines that the taxi notification includes a message and that the remaining display space in the status bar satisfies the requirements for tiled display of a standard capsule. Then, as shown in interface 902 in Figure 9(b), the electronic device may tiled display a taxi capsule notification 92, which is a standard capsule.

[0198] As another example, as shown in interface 1001 in FIG10(a), while the electronic device is displaying a call capsule notification 101 tiled in the status bar, it receives a taxi notification. The electronic device determines that the taxi notification includes a piece of information, but the remaining display space in the status bar does not meet the requirements for tiled display of ordinary capsules. Then, as shown in interface 1002 in FIG10(b), the electronic device may stack and display the call capsule notification 101 and the taxi capsule notification 102 according to their priority. The higher-priority call capsule notification 101 partially covers the lower-priority taxi capsule notification 102.

[0199] As another example, as shown in interface 1101 in FIG11(a), while the electronic device is displaying a phone capsule notification 111 in a tiled manner in the status bar, it receives a taxi notification. The electronic device determines that the taxi notification includes a piece of information, but the remaining display space in the status bar does not meet the requirements for displaying ordinary capsules in a tiled manner. Then, as shown in interface 1102 in FIG11(b), the electronic device may fold and display the phone capsule notification 111 and the taxi capsule notification 112 according to the priority order of the taxi notification and the phone notification. Among them, the taxi capsule notification 112 with a lower priority is completely folded and hidden. As shown in interface 1102, when the capsules are folded and displayed, the electronic device displays a folding control 112 for expanding the folded capsules.

[0200] In some embodiments, notifications with lower priorities are stacked or folded for display. If a notification with higher priority finishes displaying, the electronic device can then determine whether it is necessary to stack or fold the notifications, which notifications should no longer be stacked or folded, etc., based on the priority order of the remaining notifications to be displayed. In this way, notifications with lower priority can also be moved forward to the display position of the original notification with higher priority for display. Optionally, if there is sufficient display space left after the notification with higher priority finishes displaying, notifications that were previously only displayed as ordinary capsules can also be displayed as elongated capsules.

[0201] In some embodiments, notifications of event A are displayed in a stacked (or folded) manner, and when multiple notifications that have been displayed have not finished displaying, the electronic device displays the new notification in a stacked (or folded) manner in order of priority after receiving a new notification.

[0202] In some embodiments, when the electronic device determines that part of the notification needs to be hidden, it obtains a preconfigured display rule. If the display rule indicates that the notification should be displayed in a stacked manner, the electronic device displays the notification in a stacked manner; if the display rule indicates that the notification should be displayed in a folded manner, the electronic device displays the notification in a folded manner.

[0203] Optionally, the electronic device determines the display rule according to system pre-configuration, user settings, etc.

[0204] In this way, when the display space is insufficient, the electronic device can display the live notification in a stacked or folded manner, thereby meeting the timeliness requirement of the live notification.

[0205] S806: The electronic device determines whether the remaining display space meets the requirement for displaying the extended capsule in a tiled manner. If so, the electronic device executes step S807; if not, the electronic device executes step S808.

[0206] S807. The electronic device displays the notification of event A in a tiled manner by lengthening the capsule.

[0207] In some embodiments, after determining that the notification for event A to be displayed includes multiple segments of information, the electronic device may obtain the remaining display space in the status bar to determine whether the remaining display space is sufficient. If so, the electronic device may display the notification for event A in a tiled manner using a lengthened capsule, executing step S807. If not, the electronic device further determines whether the remaining display space can accommodate the display requirements of a standard capsule, executing step S808.

[0208] For example, as shown in interface 1201 in FIG12(a), while the electronic device is displaying a call capsule notification 121 in a tiled manner in the status bar, it receives a taxi notification. The electronic device determines that the taxi notification includes multiple segments of information and that the remaining display space in the status bar satisfies the requirements for displaying the elongated capsule in a tiled manner. Then, as shown in interface 1202 in FIG12(b), the electronic device may display a taxi capsule notification 122 in a tiled manner, where the taxi capsule notification 122 is an elongated capsule.

[0209] In this way, when multiple live notifications are displayed, the electronic device can adaptively select a normal capsule or an elongated capsule to display the new live notification according to the remaining space.

[0210] S808: The electronic device determines whether the remaining display space meets the requirements for ordinary capsule tile display. If so, execute step S809; if not, execute step S805.

[0211] In some embodiments, the electronic device determines that the notification of event A to be displayed includes multiple segments of information, and the remaining display space in the status bar does not meet the requirements of displaying the notification of event A in a tiled form using an elongated capsule. Then, the electronic device may determine whether the remaining display space meets the display requirements of ordinary capsules. If the remaining display space does not meet the display requirements of ordinary capsules, the electronic device may display the notification of event A in a stacked or folded manner, i.e., execute step S805. If the remaining display space can meet the display requirements of ordinary capsules, the electronic device may display the notification of event A in the form of ordinary capsules. Alternatively, the electronic device may further determine whether there are any low-priority notifications among the notifications that have been tiled and display them in a lengthened capsule, i.e., execute step S809.

[0212] S809: The electronic device determines that there is a notification of event B with a low priority and displayed in a tiled form with an elongated capsule. If so, execute step S810; otherwise, execute step S804.

[0213] S810. The electronic device displays the notification of event A in a tiled manner using an elongated capsule, and displays the notification of event B in a tiled manner using a normal capsule.

[0214] In some embodiments, when the electronic device determines that the notification of event A to be displayed includes multiple segments of information and the remaining display space in the status bar meets the requirements for ordinary capsule tiled display, the electronic device can then sort the priorities of the current multiple notifications and determine whether there is a notification with a lower priority than the event A notification among the notifications that have been displayed through the extended capsule tile. If so, the electronic device can display the low-priority notification through ordinary capsule tile to save more display space for the event A notification to be displayed in the extended capsule tile manner, that is, execute step S810. If not, the electronic device can display the event A notification through ordinary capsule tile again, that is, execute step S804.

[0215] For example, as shown in interface 1301 in FIG13(a), while the electronic device is displaying a taxi capsule notification 131 in a tiled manner in the status bar, a phone notification is received. The electronic device determines that the phone notification includes multiple segments of information, but the remaining display space in the status bar can only meet the requirements of tiled display of ordinary capsules. Then, as shown in interface 1302 in FIG13(b), the electronic device determines that the priority of the phone notification is higher than the priority of the taxi notification ID. It can change the taxi notification 131 displayed in an extended capsule tile to a tiled display of ordinary capsules, and display the phone capsule notification 132 in the extended capsule tile. Alternatively, as shown in interface 1303 in FIG13(c), the electronic device can display the phone capsule notification 132 in a higher priority display position in an extended capsule tile, and display the taxi notification 131 in a lower priority display position in a tiled manner in an ordinary capsule.

[0216] As another example, as shown in interface 1401 in FIG14A(a), while the electronic device is displaying a call capsule notification 141 in the status bar via a tiled display of elongated capsules, a taxi notification is received. The electronic device determines that the taxi notification includes multiple segments of information. If the electronic device determines that the remaining display space meets the requirements for tiled display of the elongated capsules required for these multiple segments of information, then, as shown in interface 1402 in FIG14A(b), the electronic device may tiled display a taxi capsule notification 142, which is an elongated capsule.

[0217] Alternatively, as shown in interface 1403 in FIG14B (a), the electronic device receives a taxi notification while displaying the phone capsule notification 141 in the status bar using an elongated capsule tiled display. The electronic device determines that the taxi notification includes multiple segments of information. Because the camera hole of the electronic device occupies part of the top space of the display screen, the remaining display space in the status bar can only meet the needs of tiled display of ordinary capsules. Then, as shown in interface 1404 in FIG14B (b), since the priority of the taxi notification is lower than that of the phone notification, the electronic device retains the phone capsule notification 141 to tile the elongated capsule display, and displays the taxi capsule notification 142 in a tiled display using ordinary capsules.

[0218] In this way, the electronic device can display more comprehensive, versatile, convenient, and lightweight adaptive multi-capsule notifications based on the number of information segments included in the notification, the remaining display space, and the priority order of the notifications.

[0219] In some embodiments, the electronic device may display the details of the notification in response to a user's operation in the notification display area while displaying the notification, and the electronic device will not interrupt the execution of the current task during the viewing of the details of the notification.

[0220] Optionally, in the two scenarios of tiled display of capsule notifications and stacked (or folded) display of capsule notifications, the implementation method of displaying notification details in response to user operations in the notification display area is different. These two scenarios are introduced below.

[0221] In some examples, the electronic device displays the capsule notification in a tiled manner. In response to a user's operation on the capsule notification, the electronic device displays a function page corresponding to the capsule notification, where the function page is used to display detailed content of the capsule notification. Optionally, the function page is, for example, a card.

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

[0223] S1501. The electronic device displays capsule A and capsule B in a tiled manner.

[0224] The remaining space in the status bar of the electronic device meets the tiled display requirements of one or more existing capsule notifications, and the electronic device can tile the one or more capsule notifications.

[0225] For example, as shown in interface 1601 in FIG16( a ), the electronic device displays a phone call capsule notification 161 and a taxi capsule notification 162 in a tiled manner.

[0226] In some examples, the priority order of multiple capsule notifications tiled on the electronic device is different, for example, the priority of the phone call capsule notification 161 is higher than the priority of the taxi capsule notification 162 .

[0227] S1502: The electronic device detects a user clicking on a capsule. If the electronic device detects a user clicking on capsule B, the electronic device executes step S1503; if the electronic device detects a user clicking on capsule A, the electronic device executes step S1504a or S1504b.

[0228] In some embodiments, when an electronic device is displaying a notification capsule, if it detects a user's action on a notification capsule, it may determine that the user has instructed the display of the corresponding detailed content of the notification capsule. For example, the electronic device may display the corresponding function page (such as a card) or display the corresponding page after launching an application.

[0229] In some examples, the display content on the capsule also includes a preset control that is used to instruct the electronic device to execute a corresponding response event. For example, a call notification capsule may display a hang-up control. In response to the user's operation on the hang-up control, the electronic device may hang up the ongoing call corresponding to the current call notification capsule.

[0230] In some examples, the electronic device detects that the user clicks on an area outside the preset controls on the capsule and can display corresponding detailed content.

[0231] In some embodiments, the electronic device displays multiple capsule notifications in a preset priority order. Upon detecting a user action on the lowest-priority capsule notification, the electronic device may display the details of the lowest-priority capsule notification, executing step S1503. Upon detecting a user action on a higher-priority capsule notification, the electronic device not only displays the details of the higher-priority capsule notification but also adjusts the display order of the remaining capsule notifications, executing step S1504a or S1504b.

[0232] In some examples, the following describes the process of displaying detailed content corresponding to a capsule by taking the example that the priority of capsule A is higher than the priority of capsule B.

[0233] S1503: The electronic device unfolds capsule B and displays it as a corresponding card, while keeping capsule A displayed.

[0234] In some embodiments, among multiple capsules displayed in a tiled manner, expanding the card corresponding to the lowest-priority capsule does not affect the display of other capsules. Therefore, in response to a user's operation on the lower-priority capsule B among capsules A and B currently displayed in a tiled manner, the electronic device expands capsule B to display its corresponding card while maintaining the display of capsule A.

[0235] For example, as shown in interface 1601 in FIG16(a), in response to a user clicking on taxi-hailing capsule notification 162, which is ranked lower, the electronic device displays a taxi-hailing card 163 corresponding to taxi-hailing capsule notification 162, as shown in interface 1602 in FIG16(b). Furthermore, the electronic device maintains display of phone call capsule notification 161 and no longer displays taxi-hailing capsule notification 162.

[0236] In other embodiments, in response to a user's action on Capsule B, which has a lower priority than Capsule A, displayed flatly, the electronic device expands Capsule B to display it as a corresponding card. This increases the remaining display space in the status bar. The electronic device may then reconfirm the display mode of Capsule A. If Capsule A is displayed as a flat, extended capsule, the electronic device maintains the display of Capsule A. If Capsule A is displayed as a flat, standard capsule, and the notification corresponding to Capsule A includes multiple messages, the electronic device may determine whether the remaining display space in the status bar meets the requirements for displaying Capsule A as a flat, extended capsule. If so, the electronic device may switch Capsule A from being displayed as a flat, standard capsule to being displayed as a flat, extended capsule.

[0237] In some examples, when there are multiple capsules A, the electronic device may determine, based on the priority order of the multiple capsules, whether the remaining display space in the status bar satisfies the capsule switching display mode.

[0238] In this way, in response to the user's operation on the low-priority capsule, the electronic device can display the detailed content corresponding to the capsule, so that the user can better understand more information of the live notification.

[0239] It should be understood that the electronic device displays the notification details corresponding to the capsule in the form of a card, and may also display the notification details corresponding to the capsule in other ways, such as displaying an application interface, which will not be described in detail below.

[0240] S1504a: The electronic device unfolds capsule A and displays it as a corresponding card, and displays capsule B at the original display position of capsule A.

[0241] In some embodiments, in response to a user's operation on a higher-priority capsule A, the electronic device may expand and display the card corresponding to capsule A. Furthermore, since capsule A is no longer displayed, the original display position of capsule A is vacant. In this case, the electronic device may display capsule B, which has a lower priority, in the original display position of capsule A.

[0242] For example, as shown in interface 1701 in FIG17(a), the electronic device displays a phone capsule notification 171 and a taxi capsule notification 172 in parallel. As shown in interface 1702 in FIG17(b), the electronic device expands and displays the phone card 173 corresponding to phone capsule notification 171, and advances the display priority of taxi capsule notification 172 to a higher position.

[0243] It should be understood that after the electronic device expands and displays the card corresponding to the capsule in response to the user's operation on the capsule, the display positions of other capsules with lower priority than the capsule can be adaptively adjusted, that is, the number of capsule B is at least one.

[0244] In this way, in response to the user's operation on the capsule, the electronic device can not only display more information of the live notification to the user, but also adaptively adjust the display position of different capsules to achieve better display effect.

[0245] S1504b. The electronic device unfolds capsule A and displays it as a corresponding card, and switches the display of ordinary capsule B to elongated capsule B.

[0246] In some embodiments, in response to a user's operation on a higher-priority capsule A, the electronic device may expand and display the card corresponding to capsule A. Furthermore, since capsule A is no longer displayed, the original display position of capsule A is vacant. In this case, the electronic device may display capsule B, which has a lower priority, in the original display position of capsule A.

[0247] In some examples, when adjusting the display position of capsule B, the electronic device may also determine whether the notification corresponding to capsule B includes multiple paragraphs and whether the remaining display space in the status bar is sufficient to display the extended capsule after capsule A is no longer displayed. If the notification corresponding to capsule B includes multiple paragraphs and the remaining display space in the status bar is sufficient to display the extended capsule, the electronic device may switch the display of the standard capsule B to the extended capsule B.

[0248] For example, as shown in interface 1801 in FIG18(a), the electronic device displays a phone capsule notification 181 and a taxi capsule notification 182 in a tiled manner. As shown in interface 1802 in FIG18(b), the electronic device expands and displays the phone card 183 corresponding to phone capsule notification 181, and advances the taxi capsule notification 182, which was displayed as a tiled ordinary capsule, to a higher display priority position and displays it as a tiled extended capsule.

[0249] It should be understood that after the electronic device expands and displays the card corresponding to the capsule in response to the user's operation on the capsule, it can adaptively adjust the display mode of other capsules with lower priority than the capsule, that is, the number of capsule B is at least one.

[0250] In this way, in response to the user's operation on the capsule, the electronic device can not only display more information of the live notification to the user, but also adaptively adjust the display position and display mode of different capsules to achieve better display effect.

[0251] In some embodiments, the process of expanding capsules to display cards is described above using two capsules, Capsule A and Capsule B, displayed in a tiled manner as an example. In some examples, an electronic device displays a single capsule in a tiled manner. Then, in response to a user's operation on the capsule, the electronic device displays the card corresponding to the capsule and no longer displays the capsule. In some examples, an electronic device displays more than two capsules in a tiled manner. In response to a user's operation on any one of the capsules, the electronic device expands and displays the card corresponding to the capsule and then adjusts the display position and / or display mode based on the priority order of the remaining capsules. The specific process can be referred to in the above examples.

[0252] In some embodiments, if the electronic device does not detect a user action on the card within a preset time after expanding and displaying the corresponding card of a capsule, the electronic device may cancel the card display and restore the original capsule display. Alternatively, if the electronic device detects a user click on a display area outside the card (e.g., a click on a blank display area outside the card) after expanding and displaying the corresponding card of a capsule, the electronic device may cancel the card display and restore the original capsule display.

[0253] For example, as shown in interface 1602 in Figure 16(b), if the electronic device displays a ride card 163 and detects no user interaction with the ride card 163 within a preset time, the electronic device may no longer display the ride card 163 and instead display the ride capsule 162, as shown in interface 1601 in Figure 16(a). The electronic device may determine the display position and display mode of the restored ride capsule 162 based on the priority of the other currently displayed capsules.

[0254] In some embodiments, when the electronic device is expanding and displaying the card corresponding to capsule A, if it detects a user operation on capsule B, it may expand and display the card corresponding to capsule B and restore the display of capsule A.

[0255] For example, as shown in interface 1602 in FIG. 16( b ), in response to a user's operation on taxi capsule notification 162, the electronic device displays a taxi card 163. Subsequently, the electronic device detects a user's operation on phone capsule notification 161, as shown in interface 1603 in FIG. 16( c ), whereupon the electronic device displays phone card 164 and no longer displays taxi card 163. Instead, the taxi capsule notification 162 is restored to display in the status bar. Optionally, based on the priority of the remaining capsule notifications, the restored taxi capsule notification 162 is displayed in the highest priority position in the status bar.

[0256] In this way, users can select the capsule notification details they want to view as needed. Moreover, when the user has finished viewing or is no longer interested in the capsule notification details, the electronic device can automatically restore the display of the capsule notification, simplifying user operations.

[0257] In some examples, after displaying a card of a capsule notification, the electronic device may no longer display the card and the capsule notification corresponding to the card in response to a user's operation on other capsule notifications.

[0258] In some examples, after displaying a card for a capsule notification, the electronic device may also display multiple cards simultaneously in response to user operations on other capsule notifications.

[0259] In some embodiments, as described in step S805 above, when the display space is insufficient, the electronic device can display the notification of event A in a stacked or folded manner. The process of displaying capsules in a stacked or folded manner is described in detail below.

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

[0261] S1901: The electronic device generates event A.

[0262] S1902: The electronic device determines whether the remaining display space meets the display requirements of the notification of event A. If so, execute step S1903; if not, execute step S1904a or S1904b.

[0263] S1903. The electronic device displays a notification of event A according to the display rules.

[0264] S1904a: The electronic device displays notifications of event A in a stacked manner as a whole, and notifications of subsequent events are also displayed in a stacked manner as a whole.

[0265] S1904b. The electronic device independently folds and displays the notification of event A, and also independently folds and displays notifications of subsequent events.

[0266] In some embodiments, after generating event A, the electronic device determines whether the remaining display space in the status bar meets the display requirements of the notification of event A. If the remaining display space in the status bar meets the display requirements of the notification of event A, the electronic device may display the notification of event A according to the process of determining the display mode according to the display rules as described in steps S801 to S810 above, that is, execute step S1903. If the remaining display space in the status bar does not meet the display requirements of the notification of event A, the electronic device displays the notification of event A in an overall stacking or independent folding manner according to the display rules pre-configured by the system or set by the user. Optionally, when multiple capsules currently displayed in an overall stacking or independent folding manner have not finished displaying, notifications of subsequent events are also displayed in the same overall stacking or independent folding manner.

[0267] In some examples, stacked display may also be described as whole stacked display, etc. In the case of capsule stacking display, except for the capsule with the highest priority, the remaining capsules may be displayed completely, and the remaining capsules may cover part or all of other capsules, or be covered part or all of other capsules.

[0268] Exemplarily, as shown in (a) of FIG20 , the electronic device displays multiple capsules in an overall stacked manner, such as the phone capsule notification 201 with the highest priority that can be fully displayed, and the taxi capsule notification 202 that is partially displayed and covered. In addition, as shown in the figure mark 203 , at least one capsule with more covered content is also included under the taxi capsule notification 202.

[0269] Optionally, the electronic device displays multiple stacked capsules in the form of ordinary capsules or extended capsules according to the size of the remaining display space in the status bar and the number of segments of the message included in the notification. For example, as shown in Figure 20 (a), the electronic device displays the phone capsule notification 201 and the taxi capsule notification 202 in the form of ordinary capsules. For another example, as shown in Figure 20 (b), the electronic device displays the phone capsule notification 201 in the form of an extended capsule, and displays the taxi capsule notification 202 in the form of an ordinary capsule. For another example, as shown in Figure 20 (c), the electronic device displays the phone capsule notification 201 in the form of an ordinary capsule, and displays the taxi capsule notification 202 in the form of an extended capsule. For another example, as shown in Figure 20 (d), the electronic device displays the phone capsule notification 201 and the taxi capsule notification 202 in the form of an extended capsule.

[0270] In this way, when the status bar display space is insufficient, the electronic device can display multiple notification capsules in a stacked manner. In addition, the electronic device can adaptively adjust the display length of the capsule to enrich the display effect.

[0271] In other examples, the folded display may also be described as an independent folded display, etc. In the case of capsule folded display, the capsules are all uncovered or all covered.

[0272] For example, as shown in FIG21(a), the electronic device displays multiple capsules in an independently folded manner. Depending on the remaining display space, the electronic device fully displays at least one capsule, such as independently and completely displaying a phone call capsule notification 211 and a taxi capsule notification 212. Furthermore, the electronic device displays a folding control 213 for expanding and displaying the detailed content corresponding to the folded capsule or all capsules (e.g., displaying them as cards).

[0273] Optionally, the electronic device displays multiple independently folded capsules in the form of ordinary capsules or extended capsules according to the size of the remaining display space in the status bar and the number of segments of the message included in the notification. For example, as shown in Figure 21 (a), the electronic device displays the phone capsule notification 211 and the taxi capsule notification 212 in the form of ordinary capsules. For another example, as shown in Figure 21 (b), the electronic device displays the phone capsule notification 211 in the form of an extended capsule, and displays the taxi capsule notification 212 in the form of an ordinary capsule. For another example, as shown in Figure 21 (c), the electronic device displays the phone capsule notification 211 in the form of an ordinary capsule, and displays the taxi capsule notification 212 in the form of an extended capsule. For another example, as shown in Figure 21 (d), the electronic device displays the phone capsule notification 211 and the taxi capsule notification 212 in the form of an extended capsule.

[0274] In this way, when the status bar display space is insufficient, the electronic device can display multiple notification capsules in a folded manner. In addition, the electronic device can adaptively adjust the display length of the capsule to enrich the display effect.

[0275] In some embodiments, when displaying multiple capsules in a stacked or folded manner, the electronic device may also display corresponding detailed content in response to a user's operation on the capsules.

[0276] Exemplarily, as shown in FIG22 , after the above step S1904a, step S2201 and step S2202 are further included.

[0277] S2201: The electronic device detects an operation on the hot zone of the capsule.

[0278] S2202: The electronic device unfolds all capsules and displays them as corresponding cards.

[0279] In some examples, when capsules are displayed in a stacked manner, the display areas of different capsules form a capsule hot zone. In response to a user's operation on any position in the capsule hot zone, the electronic device can expand and display the function pages corresponding to all capsules.

[0280] For example, as shown in interface 2301 in FIG23(a), the electronic device displays a stacked display of a phone capsule notification 231, a taxi capsule notification 232, and other covered capsules, with the capsule hotspot comprising the display areas of these capsules. As shown in interface 2302 in FIG23(b), in response to a user's operation on the capsule hotspot, the electronic device expands the cards corresponding to all of the stacked capsules, such as displaying a phone card 233 corresponding to phone capsule notification 231, a taxi card 234 corresponding to taxi capsule notification 232, and a takeout card 235 corresponding to the covered takeout capsule notification.

[0281] Optionally, the electronic device displays the cards in order of priority of the notifications.

[0282] Optionally, when there are many stacked capsules, the electronic device display screen cannot display the cards corresponding to all the capsules. Then, the electronic device displays the cards corresponding to some of the capsules, and in response to the user's sliding operation on the display screen, the hidden cards can be displayed.

[0283] In this way, when capsules are stacked, the electronic device can also expand and display the detailed content of the notification corresponding to the capsule in response to user operation, helping users understand more accurate notification information. It also makes it easier for users to browse and select notifications.

[0284] As another example, as shown in FIG22 , after the above-mentioned step S1904b , step S2203 and step S2204a (or S2204b ) are further included.

[0285] S2203: The electronic device detects an operation on the folding control.

[0286] S2204a: The electronic device unfolds the folded capsule and displays it as a corresponding card. Alternatively, S2204b: The electronic device unfolds all capsules and displays them as corresponding cards.

[0287] In some examples, when a capsule is folded, the electronic device displays a folding control for expanding the details corresponding to the folded capsule, or for expanding the details corresponding to all capsules. Optionally, the folding control can be displayed as a folding arrow, a folded service icon, etc.

[0288] For example, as shown in interface 2401 in FIG. 24( a ), the electronic device folds to display a phone capsule notification 241, a taxi capsule notification 242, and a folding control 243. In response to a user operating folding control 243, the electronic device displays a takeout card 244 corresponding to the folded takeout capsule notification, as shown in interface 2402 in FIG. 24( b ).

[0289] Optionally, if the number of collapsed capsule notifications is one, in response to the user operating the collapse control, the electronic device, after displaying the card corresponding to the collapsed capsule notification, no longer displays the collapse control. For example, as shown in interface 2402 in FIG24(b), if the collapsed capsules only include a takeout capsule, the electronic device will display the phone call capsule notification 241 and the taxi capsule notification 242 in parallel.

[0290] Optionally, when the electronic device no longer displays the folding control, the electronic device may determine whether to adjust the display length of the capsule according to the remaining display space in the status bar and the number of message segments included in the notification corresponding to the currently displayed capsule.

[0291] As another example, as shown in interface 2501 in FIG. 25( a ), the electronic device folds and displays a phone capsule notification 251, a taxi capsule notification 252, and a folding control 253. In response to the user's operation of folding control 253, as shown in interface 2502 in FIG. 25( b ), the electronic device displays the cards corresponding to all capsules, such as a phone card 254 corresponding to phone capsule notification 251, a taxi card 255 corresponding to taxi capsule notification 252, and a takeout card 256 corresponding to the folded takeout capsule notification.

[0292] In this way, the user can click on the capsule as needed to instruct the electronic device to display the detailed content of the stacked or folded capsule, avoiding the problem that the user cannot obtain the notification content due to the stacking or folding of the capsule.

[0293] In some examples, when the capsules are folded and displayed, different capsules not covered and displayed correspond to different capsule hot zones. In response to a user's operation in a certain capsule hot zone, the electronic device can expand and display the function page corresponding to the capsule in the capsule hot zone.

[0294] For example, as shown in interface 2601 in FIG. 26 (a), the electronic device folds and displays a phone capsule notification 261, a taxi capsule notification 262, and a folding control 263. In response to a user clicking on phone capsule notification 261, the electronic device unfolds and displays the phone card 264 corresponding to phone capsule notification 261, as shown in interface 2602 in FIG. 26 (b). Furthermore, since phone capsule notification 261 is no longer displayed in the status bar, the electronic device may adjust the display of the remaining capsules. As shown in interface 2602, the electronic device displays a taxi capsule notification 262 in the original display position of phone capsule notification 261 and displays the previously folded takeout capsule notification 265. Optionally, if the folded capsule is not included, the electronic device no longer displays the folding control.

[0295] As another example, in response to a user clicking on the taxi capsule notification 262, the electronic device expands and displays the taxi card 266 corresponding to the taxi capsule notification 262, as shown in interface 2603 in FIG26(c). Furthermore, since the taxi capsule notification 262 is no longer displayed in the status bar, the electronic device may adjust the display of the remaining capsules. As shown in interface 2603, the electronic device displays the phone capsule notification 261 and the previously folded takeout capsule notification 265. Alternatively, since the taxi capsule notification 262 is no longer displayed in the status bar, the remaining display space in the status bar increases. The electronic device may also adjust the capsule display length based on the number of segments of the message included in the notification corresponding to the remaining capsules. As shown in interface 2603, the electronic device adjusts the phone capsule notification 261, which was originally displayed as a normal capsule, to an extended capsule.

[0296] In this way, when the capsules are folded and displayed, users can select the capsules whose detailed content they want to view according to their needs and operate them separately, thus meeting the user's needs for flexible viewing of notification content.

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

[0298] S2701. The electronic device displays a first interface, which includes a status bar at the top.

[0299] For example, as shown in the first interface in FIG16(a), the first interface can be a desktop or application interface. The top of the first interface includes a status bar. Optionally, the display space of the status bar includes a fixed display space and an active display space. The fixed display space is used to display pre-configured fixed content, and the active display space is used to display configurable active content. For example, the fixed display space is used to display battery level, time, etc., and the active display space is used to display capsule notifications, etc.

[0300] S2702. The electronic device displays indication information of at least two notifications in a status bar, where the indication information of the at least two notifications includes indication information of a first notification and indication information of a second notification, and the indication information of the first notification and the indication information of the second notification are displayed independently of each other.

[0301] In some examples, the indication information of the first notification and the indication information of the second notification are both in capsule form. Optionally, the two capsule-shaped indication information are displayed independently horizontally or vertically. The independent display includes the display areas of the capsule notifications not overlapping each other.

[0302] For example, as shown in interface 1601 in FIG16( a ), the electronic device displays two independent capsule notifications horizontally in the status bar, such as a phone call capsule notification 161 and a taxi capsule notification 162 .

[0303] In some examples, 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.

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

[0305] In this way, after receiving the live notification, the electronic device can promptly display the live notification to the user in the status bar in the form of a capsule notification.

[0306] S2703. In response to the user's first operation on the indication information of the first notification, the electronic device displays detailed information of the first notification on the first interface in a floating form.

[0307] In some examples, notification details are presented as cards.

[0308] In some examples, the first operation is, for example, an operation of clicking anywhere in the capsule notification display area, or an operation of clicking a blank display area in the capsule display area.

[0309] For example, as shown in interface 1601 in FIG. 16 (a), in response to the user clicking on the taxi capsule notification 162, as shown in interface 1602 in FIG. 16 (b), the electronic device displays the taxi card 163 corresponding to the taxi capsule notification 162.

[0310] In this way, in response to an operation on a certain capsule notification, the electronic device can separately expand and display the detailed information corresponding to the capsule notification, meeting the user's need to flexibly view the notification details.

[0311] In some embodiments, the priority of the first notification is higher than the priority of the second notification. In response to the user's first operation on the indication information of the first notification, after displaying the detailed information of the first notification in a floating form on the first interface, the electronic device moves the indication information of the second notification in the status bar to the display position of the original indication information of the first notification for display.

[0312] For example, as shown in interface 1701 in FIG17(a), the electronic device displays a call capsule notification 171 and a taxi capsule notification 172 side by side, with the call notification having a higher priority than the taxi notification. In response to a user clicking on call capsule notification 171, as shown in interface 1702 in FIG17(b), the electronic device expands and displays the phone card 173 corresponding to call capsule notification 171, and advances the display of taxi capsule notification 172 to a higher priority position.

[0313] In this way, in response to the user's operation on the capsule, the electronic device can not only display more information of the live notification to the user, but also adaptively adjust the display position of different capsules to achieve better display effect.

[0314] In some embodiments, the indication information of the first notification includes a piece of text information or multiple pieces of text information corresponding to the first notification, and the indication information of the second notification includes a piece of text information or multiple pieces of text information corresponding to the second notification.

[0315] In some examples, the service side is pre-configured with a notification display content format, such as color, icon, information quantity, etc. The information quantity is used to indicate how many segments of indication information the live notification includes.

[0316] In some embodiments, the indication information of the second notification displayed in the status bar includes a paragraph of text information, and the second notification corresponds to multiple paragraphs of text information. After the detailed information of the first notification is displayed on the first interface in a floating form in response to the user's first operation on the indication information of the first notification, the electronic device displays the indication information of the second notification including multiple paragraphs of text information in the status bar when the remaining display space in the status bar of the electronic device is sufficient to display the multiple paragraphs of text information of the second notification.

[0317] For example, as shown in interface 1801 in FIG18(a), the electronic device displays a phone capsule notification 181 and a taxi capsule notification 182 in a tiled manner. In response to a user clicking on phone capsule notification 181, as shown in interface 1802 in FIG18(b), the electronic device expands and displays the phone card 183 corresponding to phone capsule notification 181. The taxi capsule notification 182, which was displayed as a tiled standard capsule, is moved to a higher priority position and displayed as a tiled extended capsule.

[0318] In this way, in response to the user's operation on the capsule, the electronic device can not only display more information of the live notification to the user, but also adaptively adjust the display position and display mode of different capsules to achieve better display effect.

[0319] S2704. In response to the user's second operation on the indication information of the second notification, the electronic device displays detailed information of the second notification on the first interface in a suspended form, and restores the display of the indication information of the first notification in the status bar.

[0320] For example, as shown in interface 1602 in FIG. 16( b ), in response to a user's operation on taxi capsule notification 162, the electronic device displays a taxi card 163. Subsequently, the electronic device detects a user's operation on phone capsule notification 161, as shown in interface 1603 in FIG. 16( c ), whereupon the electronic device displays phone card 164 and no longer displays taxi card 163. Instead, the taxi capsule notification 162 is restored to display in the status bar. Optionally, based on the priority of the remaining capsule notifications, the restored taxi capsule notification 162 is displayed in the highest priority position in the status bar.

[0321] In this way, users can select the capsule notification details they want to view as needed. Moreover, when the user has finished viewing or is no longer interested in the capsule notification details, the electronic device can automatically restore the display of the capsule notification, simplifying user operations.

[0322] In some embodiments, the electronic device receives a third notification. In response to the remaining display space in the status bar not being sufficient to display the indication information of the third notification, the electronic device displays the indication information of at least two notifications and a folding control in a collapsed form, the folding control being used to indicate the collapsed third notification. The collapsed form includes the indication information of the first notification, the indication information of the second notification, and the folding control being displayed independently of each other.

[0323] Optionally, the indication information of the two capsule forms is displayed in a folded form, where the folding includes horizontal folding or vertical folding.

[0324] For example, as shown in interface 1601 in FIG16(a), while the electronic device is displaying a phone call capsule notification 161 and a taxi capsule notification 162 in a tiled manner in the status bar, it receives a food delivery notification and determines that the food delivery capsule notification needs to be displayed. Furthermore, the electronic device determines that the remaining display space in the status bar is insufficient to display the food delivery capsule notification. Then, as shown in FIG21(b), the electronic device collapses the displayed phone call capsule notification and taxi capsule notification and displays a collapse control 213, which is used to indicate that the food delivery capsule notification is collapsed.

[0325] In this way, when the status bar display space is insufficient, the electronic device can display multiple capsule notifications in a folded manner to meet the notification display requirements and make it easier for users to view notifications.

[0326] In some examples, the electronic device detects a user's third operation on the folding control and displays detailed information about the folded third notification on the first interface in a floating manner. Alternatively, detailed information about the first notification, detailed information about the second notification, and detailed information about the third notification are displayed on the first interface in a floating manner.

[0327] For example, as shown in interface 2401 in FIG. 24( a ), the electronic device folds to display a phone capsule notification 241, a taxi capsule notification 242, and a folding control 243. In response to a user operating folding control 243, the electronic device displays a takeout card 244 corresponding to the folded takeout capsule notification, as shown in interface 2402 in FIG. 24( b ).

[0328] As another example, as shown in interface 2501 in FIG. 25( a ), the electronic device folds and displays a phone capsule notification 251, a taxi capsule notification 252, and a folding control 253. In response to the user's operation of folding control 253, as shown in interface 2502 in FIG. 25( b ), the electronic device displays the cards corresponding to all capsules, such as a phone card 254 corresponding to phone capsule notification 251, a taxi card 255 corresponding to taxi capsule notification 252, and a takeout card 256 corresponding to the folded takeout capsule notification.

[0329] In this way, the user can click on the capsule as needed to instruct the electronic device to display detailed information of the folded capsule notification, thereby avoiding the problem that the user cannot obtain the notification content due to the folding of the capsule notification.

[0330] In some embodiments, the electronic device receives a fourth notification having a lower priority than the first and second notifications. Then, the electronic device displays indication information of at least two notifications and a folding control in a folded form, where the folding control is used to indicate the folded third and fourth notifications.

[0331] In some examples, after displaying detailed information of the first notification in a suspended form on the first interface in response to the user's first operation on the indication information of the first notification, if the remaining display space in the status bar meets the display requirements of the indication information of the folded third notification, the electronic device displays the indication information of the third notification in the status bar, and the priority of the third notification is higher than that of the fourth notification.

[0332] In this way, the electronic device adaptively adjusts whether to display or collapse the notification capsules, as well as the order in which they are displayed, based on the priority order of the notifications and the remaining display space in the status bar. This allows the user to receive live notifications in a timely manner while giving priority to higher-priority notifications.

[0333] In some embodiments, after displaying detailed information of the first notification in a suspended form on the first interface in response to the user's first operation on the indication information of the first notification, if the remaining display space in the status bar meets the display requirements of the indication information of the folded third notification, the electronic device displays the indication information of the third notification in the status bar, and the folding control is no longer displayed in the status bar.

[0334] For example, in the scenario shown in Figure 24, when there is only one collapsed capsule notification, in response to the user's operation on the collapse control, the electronic device displays the card corresponding to the collapsed capsule notification and no longer displays the collapse control. For example, as shown in interface 2402 in Figure 24(b), if the collapsed capsules only include a takeout capsule, the electronic device will display the phone call capsule notification 241 and the taxi capsule notification 242 flatly, and no longer display the collapse control 243.

[0335] In this way, the electronic device can adaptively adjust whether to fold and display the capsule notification according to the display status of the capsule notification and the remaining space in the status bar, thereby flexibly displaying the capsule notification to the user.

[0336] In some embodiments, the electronic device receives a fifth notification. In response to the remaining display space in the status bar not meeting the display requirements of the indication information of the fifth notification, the electronic device displays the indication information of at least two notifications and the indication information of the fifth notification in a stacked manner, where the priority of the fifth notification is lower than that of the at least two notifications, and the stacked manner includes the indication information of the at least two notifications partially covering the indication information of the fifth notification.

[0337] In some examples, two capsule-shaped indication information are displayed in a stacked form, where the stacking includes horizontal stacking or vertical stacking.

[0338] In this way, the electronic device can choose to display the capsules in a folded form or in a stacked form, flexibly displaying more capsule notifications.

[0339] In some examples, in response to a user's operation on the display area of ​​the indication information of at least two notifications and the indication information of the fifth notification, the electronic device displays detailed information of the first notification, detailed information of the second notification, and detailed information of the fifth notification on the first interface in a suspended form.

[0340] In this way, when the electronic device displays multiple capsule notifications in a stacked manner, in response to user operations, the electronic device can also display detailed information of the capsule notifications to the user, so that the user can better understand the content of the notifications.

[0341] In some schemes, multiple embodiments of the present application can be combined and the combined scheme can be implemented. Optionally, some operations in the process of each method embodiment are optionally combined, and / or the order of some operations is optionally changed. In addition, the execution order between the steps of each process is only exemplary and does not constitute a limitation on the execution order between the steps. There can also be other execution orders between the steps. It is not intended to indicate that the execution order is the only order in which these operations can be performed. Ordinary technicians in this field will think of many ways to reorder the operations described herein. In addition, it should be noted that the process details involved in a certain embodiment of this article are also applicable to other embodiments in a similar manner, or different embodiments can be used in combination.

[0342] Furthermore, some steps in the method embodiments may be equivalently replaced with other possible steps. Alternatively, some steps in the method embodiments may be optional and may be deleted in certain usage scenarios. Alternatively, other possible steps may be added to the method embodiments.

[0343] Furthermore, the various method embodiments may be implemented separately or in combination.

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

[0345] In one possible design, Figure 28 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. As shown in Figure 28, electronic device 2800 may include: a display unit 2801, a processing unit 2802, and a transceiver unit 2803. Electronic device 2800 may be used to implement the functions of the electronic device involved in the above method embodiments.

[0346] Optionally, the display unit 2801 is used to support the electronic device 2800 to execute S503 or S505 in Figure 5; and / or, support the electronic device 2800 to execute S804, S805, S807 and S810 in Figure 8; and / or, support the electronic device 2800 to execute S1501, S1503, S1504a, and S1504b in Figure 15; and / or, support the electronic device 2800 to execute S1903, S1904a, and S1904b in Figure 19; and / or, support the electronic device 2800 to execute S2202, S2204a, and S2204b in Figure 22; and / or, support the electronic device 2800 to execute S2701, S2702, S2703 and S2704 in Figure 27.

[0347] Optionally, the processing unit 2802 is used to support the electronic device 2800 to execute S502 and S504 in Figure 5; and / or, support the electronic device 2800 to execute S802, S803, S806, S808 and S809 in Figure 8; and / or, support the electronic device 2800 to execute S1902 in Figure 19.

[0348] Optionally, the transceiver unit 2803 is used to support the electronic device 2800 to execute S501 in Figure 5; and / or, support the electronic device 2800 to execute S801 in Figure 8; and / or, support the electronic device 2800 to execute S1502 in Figure 15; and / or, support the electronic device 2800 to execute S1901 in Figure 19; and / or, support the electronic device 2800 to execute S2201 and S2203 in Figure 22.

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

[0350] Optionally, the electronic device 2800 shown in Figure 28 may further include a storage unit (not shown in Figure 28) in which a program or instruction is stored. When the display unit 2801, the processing unit 2802, and the transceiver unit 2803 execute the program or instruction, the electronic device 2800 shown in Figure 28 may perform the notification display method described in the above method embodiment.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[0366] Computer-readable storage media include, but are not limited to, any of the following: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and other media that can store program code.

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

Claims

1. A notification display method, characterized in that, Applied to an electronic device, the method includes: Displaying a first interface, the first interface including a status bar at the top; Displaying indication information of at least two notifications in the status bar, the indication information of the at least two notifications including indication information of a first notification and indication information of a second notification, and the indication information of the first notification and the indication information of the second notification being displayed independently of each other; In response to a first operation by the user on the indication information of the first notification, displaying detailed information of the first notification in a floating form on the first interface; In response to a second operation by the user on the indication information of the second notification, displaying detailed information of the second notification in a floating form on the first interface and restoring the display of the indication information of the first notification in the status bar.

2. The method according to claim 1, characterized in that, The method further includes: Obtaining a third notification; In response to the remaining display space in the status bar not meeting the display requirement of the indication information of the third notification; Displaying the indication information of the at least two notifications and a folding control in a folded form, the folding control being used to indicate the folded third notification, and the folded form including the indication information of the first notification, the indication information of the second notification, and the folding control being displayed independently of each other.

3. The method according to claim 2, wherein The method further includes: Detecting a third operation by the user on the folding control; Displaying detailed information of the folded third notification in a floating form on the first interface; Or, Displaying detailed information of the first notification, detailed information of the second notification, and detailed information of the third notification in a floating form on the first interface.

4. The method according to claim 2 or 3, characterized in that, The method further includes: Obtaining a fourth notification, the priority of the fourth notification being lower than that of the first notification and the second notification; Displaying the indication information of the at least two notifications and a folding control in a folded form, the folding control being used to indicate the folded third notification and the fourth notification.

5. The method according to claim 4, wherein After the step of, in response to a first operation by the user on the indication information of the first notification, displaying detailed information of the first notification in a floating form on the first interface, the method further includes: In the case where the remaining display space in the status bar meets the display requirement of the indication information of the folded third notification, displaying the indication information of the third notification in the status bar, the priority of the third notification being higher than that of the fourth notification.

6. The method according to claim 2 or 3, characterized in that, After the step of, in response to a first operation by the user on the indication information of the first notification, displaying detailed information of the first notification in a floating form on the first interface, the method further includes: In the case where the remaining display space in the status bar meets the display requirement of the indication information of the folded third notification, displaying the indication information of the third notification in the status bar and no longer displaying the folding control in the status bar.

7. The method according to any one of claims 1-6, characterized in that, The priority of the first notification is higher than that of the second notification. After the step of, in response to a first operation by the user on the indication information of the first notification, displaying detailed information of the first notification in a floating form on the first interface, the method further includes: Move the indication information of the second notification in the status bar to the display position of the indication information of the original first notification for display.

8. The method according to any one of claims 1-7, characterized in that, The indication information of the second notification displayed in the status bar includes a piece of text information. The second notification corresponds to multiple pieces of text information. After displaying the detailed information of the first notification in a floating form on the first interface in response to a first operation by the user on the indication information of the first notification, the method further includes: When the remaining display space in the status bar meets the requirement for displaying the multiple pieces of text information of the second notification, display the indication information of the second notification including the multiple pieces of text information in the status bar.

9. The method according to any one of claims 1-8, characterized in that, The indication information of the first notification includes a piece of text information or multiple pieces of text information corresponding to the first notification, and the indication information of the second notification is a piece of text information or multiple pieces of text information corresponding to the second notification.

10. The method according to claim 1, characterized in that, The method further includes: Obtain a fifth notification; In response to the remaining display space in the status bar not meeting the display requirement for the indication information of the fifth notification; Display the indication information of the at least two notifications and the indication information of the fifth notification in a stacked form. The priority of the fifth notification is lower than that of the at least two notifications. The stacked form includes the indication information of the at least two notifications partially covering the indication information of the fifth notification.

11. The method according to claim 10, characterized in that, The method further includes: In response to an operation by the user on the display area of the indication information of the at least two notifications and the indication information of the fifth notification, display the detailed information of the first notification, the detailed information of the second notification, and the detailed information of the fifth notification in a floating form on the first interface.

12. The method according to any one of claims 1-11, characterized in that, The indication information of the first notification and the indication information of the second notification are both in the form of capsules.

13. The method according to any one of claims 1-12, characterized in that, The detailed information is carried in the form of a card.

14. The method according to any one of claims 1 to 13, characterized in that 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.

15. An electronic device, characterized in that, Includes: A processor, a memory, and a display screen. The memory and the display screen are coupled to the processor. The memory is used to store computer program code. The computer program code includes computer instructions. When the processor reads the computer instructions from the memory, the electronic device executes the method according to any one of claims 1-14.

16. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a computer program. When the computer program runs on an electronic device, the electronic device executes the method according to any one of claims 1-14.

17. A computer program product, characterized in that, When the computer program product runs on a computer, the computer executes the method according to any one of claims 1-14.

Citation Information

Patent Citations

  • Notification display method and electronic equipment

    CN118170476A

  • Notification message displaying method and terminal device

    CN105912219A

  • Notification message processing method and device, electronic equipment and storage medium

    CN108334352A

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

    CN109413263A

  • Notification message display method and device, terminal equipment and storage medium

    CN112083991A