Notification display method and device, equipment, readable storage medium and program product
By providing switching elements in the notification page of mobile devices, users can switch to view notifications of different applications within the same page, solving the problems of complex notification viewing operations and high performance consumption in the prior art, and achieving a simpler and more efficient notification viewing experience.
Patent Information
- Application Number
- CN202412000202.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-18
AI Technical Summary
The notification viewing method of existing mobile devices is complex, and users need to frequently switch back to the notification center to view notifications from other applications, which is cumbersome and consumes a lot of performance.
A notification display method is provided, and the content of the first application notification is displayed through the first display area of the target notification page and a plurality of switching elements are displayed in the second display area. The user can switch the content of the second application notification in the first display area by triggering the switching element to switch to display the content of the second application notification in the first display area to avoid returning to the notification center.
Simplifies notification viewing operations, and users can seamlessly switch notifications from different applications within the same page, reducing the consumption of mobile device performance and improving the efficiency and user experience of notification viewing.
Smart Images

Figure CN119847394A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a notification display method, device, equipment, readable storage medium and program product. Background Art
[0002] Notifications are instant messages, reminders, or warnings sent by various applications on mobile devices to users. They improve user experience and application efficiency by delivering information to users in a timely manner, and are an indispensable function on mobile devices.
[0003] Currently, notifications are displayed in the notification center of the mobile device. When the user needs to view the notification, he or she clicks on the notification in the notification center to open the corresponding application and view the notification in the application. However, in this way, when the user needs to view the notification of other applications again, he or she needs to return to the notification center and click on the notification of other applications to view the notification, which is a complicated operation. Summary of the invention
[0004] Based on this, it is necessary to provide a notification display method, device, equipment, readable storage medium and program product with simpler operation to address the above technical problems.
[0005] In a first aspect, the present application provides a notification display method, comprising:
[0006] In response to the target operation, displaying a target notification page, wherein the target notification page includes a first display area and a second display area, wherein the first display area displays notification content of the first application notification, and the second display area displays a plurality of switching elements;
[0007] In response to a triggering operation on the switching element, the notification content of the second application notification is switched to be displayed in the first display area.
[0008] In a second aspect, the present application also provides a notification display device, including:
[0009] a display module, configured to display a target notification page in response to a target operation, wherein the target notification page includes a first display area and a second display area, wherein the first display area displays notification content of a first application notification, and the second display area displays a plurality of switching elements;
[0010] The display module is used to switch and display the notification content of the second application notification in the first display area in response to the trigger operation on the switching element.
[0011] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps described in the first aspect when executing the computer program.
[0012] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps described in the first aspect above when executed by a processor.
[0013] In a fifth aspect, the present application further provides a computer program product, comprising a computer program, which implements the steps described in the first aspect when executed by a processor.
[0014] The above-mentioned notification display method, apparatus, device, readable storage medium and program product, in response to the target operation, display a target notification page including a first display area and a second display area, wherein the first display area displays the notification content of the first application notification, and the second display area displays a plurality of switching elements, and then, in response to the triggering operation for the switching element, the notification content of the second application notification is switched to be displayed in the first display area. The notification display method provided in the present application can display the notification content of the first application notification in the first display area of the target notification page, and when the switching element is triggered on the target notification page, the first display area can switch to display the notification content of the second application notification, so that there is no need to return to the notification center, and the notification content of other application notifications can be switched to be viewed on the target notification page, which is more convenient to operate. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0016] Figure 1 A flowchart of a notification display method in one embodiment;
[0017] Figure 2 A flowchart of a notification display method in another embodiment;
[0018] Figure 3 This is a schematic diagram of an interface of a target notification page in an embodiment;
[0019] Figure 4 A flowchart of a notification display method in another embodiment;
[0020] Figure 5 A flowchart of a notification display method in another embodiment;
[0021] Figure 6 A flowchart of a notification display method in another embodiment;
[0022] Figure 7 A flowchart of a notification display method in another embodiment;
[0023] Figure 8 A flowchart of a notification display method in another embodiment;
[0024] Fig. 9 A schematic diagram of an interface of a notification center and a target notification page in one embodiment;
[0025] Fig.10 A schematic diagram of an interface for switching application element display areas in an embodiment;
[0026] Fig.11 A schematic diagram of an expansion control of a target notification page in one embodiment;
[0027] Fig.12 A schematic diagram of an interface for switching a display area of a notification element in an embodiment;
[0028] Fig.13 A structural block diagram of a notification display device in one embodiment;
[0029] Fig.14 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0031] Notifications are instant messages, reminders, or warnings sent by various applications on mobile devices to users. They improve user experience and application efficiency by delivering information to users in a timely manner, and are an indispensable function on mobile devices.
[0032] In the related art, notifications are displayed in the notification center of the mobile device. When the user needs to view the notification, he clicks on the notification in the notification center to open the corresponding application and view it in the application. However, in this way, when the user needs to view the notification of other applications, he needs to return to the notification center and click on the notification of other applications to view it, which is a complicated operation. At the same time, when viewing the notification, the corresponding application needs to be opened. When too many applications are opened, the performance of the mobile device will be reduced, which may cause the page to freeze, and to a certain extent, it will affect the opening rate of the notification.
[0033] In view of this, the embodiments of the present application provide a notification display method, apparatus, device, readable storage medium and program product. In the notification display method, in response to a target operation, a target notification page including a first display area and a second display area is displayed, wherein the first display area displays the notification content of the first application notification, and the second display area displays a plurality of switching elements. Then, in response to a trigger operation for the switching element, the notification content of the second application notification is switched to be displayed in the first display area. In this way, the notification content of the first application notification can be displayed in the first display area of the target notification page. When the switching element is triggered on the target notification page, the first display area can switch to display the notification content of the second application notification. There is no need to return to the notification center. The notification content of other application notifications can be switched to be viewed on the target notification page, which is more convenient.
[0034] In an exemplary embodiment, Figure 1 As shown, a notification display method is provided, and the method is applied to an electronic device as an example for explanation, wherein the electronic device may be a laptop, a smart phone, a tablet computer, an Internet of Things device, and a portable wearable device, etc., wherein the Internet of Things device may be a smart speaker, a smart TV, a smart air conditioner, a smart car device, a projection device, etc., and the portable wearable device may be a smart watch, a smart bracelet, a head-mounted device, etc., and the head-mounted device may be a virtual reality (VR) device, an augmented reality (AR) device, smart glasses, etc. Figure 1 As shown, the notification display method may include the following steps:
[0035] Step 101: In response to a target operation, a target notification page is displayed.
[0036] The target notification page includes a first display area and a second display area, wherein the first display area displays the notification content of the first application notification, and the second display area displays multiple switching elements.
[0037] Typically, the application to which the application notification belongs and brief information about the application notification are displayed in the notification center of the electronic device. If a user wants to view detailed information about the application notification, he needs to trigger the application notification from the notification center and open the corresponding application for viewing.
[0038] In an optional embodiment of the present application, the first application notification may be any notification in the notification center that the user wants to view, and the target operation may be a trigger operation of the user on the first application notification, for example, a click operation on the first application notification. Based on the target operation, the target notification page is displayed, and the notification content of the first application notification that the user wants to view is displayed in the first display area of the target notification page. The notification content may be detailed information of the first application notification. The first display area may support sliding up and down to display the graphic content of the first application notification.
[0039] The multiple switching elements in the second display area may correspond to different application notifications, or may correspond to applications to which different application notifications belong. The switching elements may be used to control switching of different application notifications or switching of different applications on the target notification page.
[0040] Step 102: In response to a trigger operation on a switching element, display the notification content of a second application notification in the first display area.
[0041] The second application notification and the first application notification may be application notifications of the same application or application notifications of different applications.
[0042] The trigger operation for the switching element can be a sliding operation on the switching element or a clicking operation on the switching element. For example, taking the switching element corresponding to different application notifications as an example, different application notifications can be switched by sliding operations. After selecting the second application notification, the notification content of the second application notification is switched to display in the first display area without returning to the notification center for viewing. For another example, if the first application notification and the second application notification are application notifications of different applications, when the switching element corresponds to different applications, different applications can be switched by clicking operations. After selecting the second application notification, the notification content of the second application notification can be switched to display in the first display area.
[0043] The notification display method provided in this embodiment, in response to the target operation, displays a target notification page including a first display area and a second display area, wherein the first display area displays the notification content of the first application notification, and the second display area displays a plurality of switching elements, and then, in response to the triggering operation for the switching element, the notification content of the second application notification is switched to be displayed in the first display area. The notification display method provided in this application can display the notification content of the first application notification in the first display area of the target notification page, and when the switching element is triggered on the target notification page, the first display area can switch to display the notification content of the second application notification, so that there is no need to return to the notification center, and the notification content of other application notifications can be switched to be viewed on the target notification page, which is more convenient to operate.
[0044] Please refer to Figure 2In an optional embodiment of the present application, an optional technical process for displaying a target notification page is provided, such as Figure 2 As shown, the following steps are included:
[0045] Step 201: Display the notification center.
[0046] The notification center includes multiple application notifications, including the first application notification. In response to the user's operation, the notification center is displayed, and the multiple application notifications in the notification center may be sent by the same application or different applications.
[0047] Step 202: After detecting a trigger operation for the first application notification, display the target notification page.
[0048] Optionally, the trigger operation for the first application notification may be a click operation for the first application notification, or other gesture operations for the first application notification. This application does not impose any restrictions on this. Based on the trigger operation, the target notification page is displayed.
[0049] In an optional embodiment of the present application, after a trigger operation for a first application notification is detected, multiple switching elements are displayed in a second display area of the target notification page according to the application notifications included in the notification center and the application to which the application notifications belong.
[0050] Optionally, multiple switching elements can be displayed in the second display area based on all application notifications included in the notification center and the applications to which the application notifications belong. The switching elements can correspond to the application notifications or the applications to which the application notifications belong. For another example, multiple switching elements can be displayed in the second display area based on the application notifications after the first application notification in the notification center and the applications to which the application notifications belong. The switching elements can correspond to the application notifications or the applications to which the application notifications belong. Since the notification before the first application notification may be an application notification that the user does not need to view, displaying multiple switching elements in the second display area based on the application notifications after the first application notification in the notification center and the applications to which the application notifications belong can reduce the number of switching elements.
[0051] In this embodiment, after detecting a trigger operation for the first application notification, multiple switching elements can be displayed according to all application notifications in the notification center or application notifications after the first application notification, and the display method of the second display area of the target notification page is more flexible.
[0052] In an embodiment of the present application, the second display area includes a notification element display area and an application element display area. The technical method for displaying multiple switching elements in the second display area of the target notification page according to the application notification included in the notification center and the application to which the application notification belongs includes: displaying a first notification element in the notification element display area according to the application notification included in the notification center and the application to which the application notification belongs, the first notification element corresponding to the first application notification, and displaying at least one application element in the application element display area, the application element corresponding to the application to which the application notification in the notification center belongs.
[0053] For example, Figure 3 As shown, it is a schematic diagram of the target notification page, the second display area includes a notification element display area and an application element display area. After detecting the trigger operation for the first application notification, the first notification element corresponding to the first application notification can be displayed in the notification element display area according to the application notification included in the notification center, and the application element corresponding to the application to which the first application notification belongs can be displayed in the application element display area. If the notification center also includes application notifications of other applications other than the application to which the first application notification belongs, the application elements corresponding to the other applications will be displayed in the application element display area. Among them, the notification element and the application element can be interface elements such as windows, cards, controls or buttons, which are not limited in the embodiments of the present application.
[0054] In this embodiment, the application notification and the application to which the application notification belongs can be displayed respectively through the notification element display area and the application element display area, and it is convenient to switch from the application notification dimension and the application dimension respectively to view different application notifications.
[0055] Furthermore, the application element display area displays multiple application elements, and the technical method of displaying at least one application element in the application element display area includes: displaying the first application element with a first display effect, and displaying other application elements except the first application element with a second display effect.
[0056] Among them, the first application element corresponds to the first application to which the first application notification belongs. The first display effect can be a highlighted display, a different color display, or an enlarged display, so as to distinguish the first application element from other application elements. The first application element corresponds to the first application to which the first application notification belongs. When the first application notification is displayed in the notification element display area, the first application element is displayed with the first display effect, and other application elements except the first application element are displayed with the second display effect. The second display effect is a display method different from the first display effect.
[0057] In this embodiment, the first application element is displayed through the first display effect, so that the first application element is different from other application elements displayed by the second display effect, so that the user can determine the first application to which the application notification displayed in the current notification element display area or the first display area belongs according to the display method of the application element.
[0058] In an optional embodiment of the present application, the application element display area displays multiple application elements, and the technical method of displaying at least one application element in the application element display area is as follows: Figure 4 As shown, it also includes:
[0059] Step 401: Display the first application element at the first position of the application element display area.
[0060] When the application element display area displays multiple application elements, the first application element displayed first, that is, the first application element displayed in the application element display area, is the first application element. The first application element can be displayed by the application identifier of the first application.
[0061] Step 402: Based on the arrangement order of application notifications in the notification center, determine the arrangement order of other application elements except the first application element, and display the other application elements in the application element display area based on the determined arrangement order.
[0062] Exemplarily, taking the application notifications after the first application notification of the notification center as an example, the arrangement order of each application notification after the first application notification of the notification center is obtained, and the arrangement order of application elements of other applications except the first application element is determined according to the arrangement order of each application notification and the application to which each application notification belongs, and the other application elements are displayed after the first application element according to the arrangement order. For example, the notification center includes the first application notification, application notification B, application notification C, and application notification D arranged in sequence, wherein the application to which the first application notification belongs is application A, the application to which application notification B belongs is application B, the application to which application notification C belongs is application C, and the application to which application notification D belongs is application D, then the order of displaying the application elements in the application element display area can be application A, application B, application C, and application D.
[0063] In the embodiment of the present application, the application element display area displays multiple application elements, and the interaction between the user and the switching element of the target notification page provides two technical methods. The first technical method is as follows: Figure 5 As shown, including:
[0064] Step 501: after detecting a triggering operation on a second application element among multiple application elements, switching to display a first candidate notification element in a notification element display area.
[0065] Among them, the first candidate notification element and the second application element both correspond to the second application. When the user wants to view the application notification of the second application, the second application element corresponding to the second application is triggered. The triggering operation can be a click, or when the interface cannot fully display multiple application elements, slide first and then click. When the second application element is triggered, the notification element display area is correspondingly switched from the first notification element to the first candidate notification element of the second application.
[0066] Step 502: In response to a touch operation detected in the notification element display area, switching to display the notification content of the second application notification in the first display area.
[0067] After the notification element display area is switched to display the first candidate notification element of the second application, the second application notification is determined by a touch operation on the notification element display area, and then the notification content of the second application notification is switched to be displayed in the first display area.
[0068] Specifically, determining the second application notification through the touch operation on the notification element display area includes two situations. In the first situation, if the second application only includes one application notification, after detecting the trigger operation for the first candidate notification element, the notification content of the second application notification is switched to be displayed in the first display area; wherein, the first candidate notification element corresponds to the second application notification.
[0069] If the second application includes only one application notification, the trigger operation for the first candidate notification element may be clicking the first candidate notification element to select the first candidate notification element, that is, the notification content of the second application notification corresponding to the first candidate notification element may be switched to be displayed in the first display area.
[0070] In the second case, if the second application includes multiple application notifications, in response to a touch operation detected in the notification element display area, the step of switching to display the notification content of the second application notification in the first display area is as follows: Figure 6 As shown, this may include:
[0071] Step 601: After detecting a sliding operation on a notification element display area, display multiple target notification elements corresponding to a second application.
[0072] The multiple target notification elements include the first candidate notification element. Optionally, the notification element display area may include an expansion control, and the expansion control is used to indicate that the notification element display area includes multiple target notification elements. The sliding operation may be an up and down sliding operation, and the user can view multiple target notification elements by sliding the notification element display area up and down.
[0073] In one possible implementation, the expansion control can also be a button. By triggering an operation on the expansion control, such as a click operation, after clicking the expansion control, an interface of multiple target notification elements corresponding to the second application is displayed, that is, the multiple target notification elements can be viewed by sliding up and down.
[0074] Step 602: after detecting a triggering operation on a first candidate notification element among multiple target notification elements, switching to display the notification content of a second application notification in a first display area.
[0075] Among them, the first candidate notification element corresponds to the second application notification. After detecting a trigger operation on the first candidate notification element among multiple target notification elements, such as a click operation or other gesture operation on the first candidate notification element, the first candidate notification element is selected, that is, the notification content of the second application notification corresponding to the first candidate notification element can be switched and displayed in the first display area.
[0076] In this embodiment, by triggering the second application element among multiple application elements, the target notification element corresponding to the second application is switched to be displayed in the notification element display area, and the first candidate notification element corresponding to the second application notification is further determined based on the user's operation, and the notification content of the second application notification is switched to be displayed in the first display area, thereby achieving seamless switching of application notifications without returning to the notification center.
[0077] Exemplary, the second technical method of user interaction with the switching element of the target notification page is as follows: Figure 7 As shown, the steps include:
[0078] Step 701: In response to a sliding operation on a notification element display area, display a second candidate notification element in the notification element display area.
[0079] Optionally, sliding in the notification element display area can switch to display different notification elements. For example, sliding left and right in the notification element display area can switch to display notification elements corresponding to application notifications of different applications. When an application includes multiple application notifications, sliding up and down in the notification element display area can switch to display notification elements corresponding to different application notifications of an application. According to the user's sliding operation, it switches to display the second candidate notification element, and the second candidate notification element can be the notification element corresponding to the application notification that the user currently wants to view.
[0080] Step 702: In response to a touch operation on a second candidate notification element, switching to display the notification content of a second application notification in the first display area.
[0081] The second candidate notification element corresponds to the second application notification. In response to a touch operation on the second candidate notification, such as a click or other gesture operation for selecting, the notification content of the second application notification corresponding to the second candidate notification is switched and displayed in the first display area.
[0082] During the above-mentioned sliding operation in the notification element display area, when the notification element display area switches to the second candidate notification element, the third application element is displayed in the application element display area with the first display effect, and other application elements except the third application element are displayed with the second display effect. The second candidate notification element corresponds to the third application element.
[0083] Among them, the first display effect is as described in the above embodiment, and the third application element corresponding to the second candidate notification element is displayed with the first display effect, and other application elements except the third application element are displayed with the second display effect, which can facilitate the user to determine which application the application notification corresponding to the second candidate notification element belongs to.
[0084] Exemplarily, in response to the target operation, the target notification page is displayed such as Figure 8 As shown, this may include:
[0085] Step 801: Create a notification container.
[0086] Among them, the notification container is a container design between the notification center and the application, which is lightweight, easy to operate, and can be used and closed immediately.
[0087] Step 802: In response to the target operation, display the target notification page based on the created notification container.
[0088] In the notification center, in response to the user's target operation, the target notification page for notification display is displayed based on the created notification container. For example, select the second notification element in the notification element display area of the target notification page, and then the background can open the application to which the second application notification corresponding to the second notification element belongs, and then display the notification content of the second application notification in the first display area. If the application corresponding to the second application notification is an H5 page, there is no need to start the main program, and the corresponding notification content can be displayed directly. In this way, the target notification page can continuously open all application notifications, including application notifications of multiple applications and multiple application notifications of an application, thereby improving the efficiency and experience of opening application notifications.
[0089] In an optional embodiment of the present application, after the first display area switches to display the notification content of the second application notification, the method also includes: if the application to which the second application notification belongs is different from the application to which the first application notification belongs, after the duration of switching to display the notification content of the second application notification in the first display area exceeds a preset time threshold, closing the application to which the first application notification belongs.
[0090] In order to improve the performance of electronic devices and realize the instant opening and closing of application notifications, when the duration of switching the notification content of the second application notification to be displayed in the first display area exceeds a preset time threshold, that is, when the first application notification is no longer needed, the application to which the first application notification belongs is closed in the background of the electronic device to avoid too many open applications affecting the performance of the electronic device and causing page freezes.
[0091] In order to make it easier for readers to understand the technical solution provided by this application, the following embodiments of this application will be combined with Fig. 9 and Fig.10 The notification display method provided in the embodiment of the present application is briefly described.
[0092] like Fig. 9 As shown, the notification center of the electronic device includes multiple application notifications, a first application notification, a second application notification, a third application notification, a fourth application notification, a fifth application notification and a sixth application notification, wherein the first application notification belongs to application A, the second application notification belongs to application B, the third application notification and the fourth application notification belong to application C, the fifth application notification belongs to application D, and the sixth application notification belongs to application E.
[0093] After the user clicks the first application notification, the target notification page is displayed, the first display area of the target notification page displays the notification content of the first application notification, the notification element display area of the second display area displays the first notification element corresponding to the first application notification, and the application element display area of the second display area displays application elements corresponding to multiple applications, such as application A, application B, application C, application D, and application E. Among them, application A corresponding to the first application notification can be highlighted, and other application elements are displayed normally, and the arrangement order of the multiple application elements is the same as the arrangement order of the application notifications in the notification center.
[0094] like Fig.10 As shown in the figure, during the interaction process, if the user triggers a second application element such as application B, application B is highlighted and other application elements are displayed normally. At this time, the notification element display area is associated with the notification element of the second application notification corresponding to application B. Click the notification element of the second application notification to display the notification content of the second application notification in the first display area. If the user triggers application C, since application C includes two application notifications, the notification element display area may include an expansion control, such as Fig.11 As shown, sliding up and down in the notification element display area can display the notification elements of the third application notification and the notification elements of the fourth application notification. Click the notification element of the third application notification to be displayed, and the notification content of the third application notification can be displayed in the first display area.
[0095] Furthermore, the notification elements in the notification element display area can be switched. The notification element can be a card. Different notification elements can be displayed by sliding left and right. During the sliding process, the application elements in the application element display area are switched in a linked manner, such as Fig.12 As shown, slide to the notification element of the second application notification. At this time, application B corresponding to the second application notification in the application element display area is highlighted, and other application elements are displayed normally.
[0096] In this embodiment, all notifications can be opened continuously through the target notification page, which improves the efficiency of opening and switching notifications and ensures the user's seamless content connection experience.
[0097] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0098] Based on the same inventive concept, the embodiment of the present application also provides a notification display device for implementing the notification display method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more notification display device embodiments provided below can refer to the limitations of the notification display method above, and will not be repeated here.
[0099] In an exemplary embodiment, Fig.13 As shown, a notification display device 1300 is provided, including: a display module 1301 and a display module 1302, wherein:
[0100] The display module 1301 is used to display a target notification page in response to a target operation, wherein the target notification page includes a first display area and a second display area, wherein the first display area displays the notification content of the first application notification, and the second display area displays a plurality of switching elements;
[0101] The display module 1302 is used to switch and display the notification content of the second application notification in the first display area in response to the trigger operation on the switching element.
[0102] In some embodiments, the display module 1301 is specifically used to display a notification center, which includes multiple application notifications, including a first application notification; after detecting a trigger operation for the first application notification, the target notification page is displayed.
[0103] In some embodiments, the display module 1301 is specifically used to display multiple switching elements in the second display area of the target notification page according to the application notifications included in the notification center and the application to which the application notifications belong after detecting a trigger operation for the first application notification.
[0104] In some embodiments, the second display area includes a notification element display area and an application element display area. The display module 1301 is specifically used to display a first notification element in the notification element display area according to the application notification included in the notification center and the application to which the application notification belongs, and the first notification element corresponds to the first application notification, and display at least one application element in the application element display area, and the application element corresponds to the application to which the application notification in the notification center belongs.
[0105] In some embodiments, the application element display area displays multiple application elements, and the display module 1301 is specifically used to display the first application element with a first display effect, and to display other application elements except the first application element with a second display effect, wherein the first application element corresponds to the first application to which the first application notification belongs.
[0106] In some embodiments, the application element display area displays multiple application elements, and the display module 1301 is specifically used to display the first application element at the first position in the application element display area; based on the arrangement order of application notifications in the notification center, determine the arrangement order of other application elements except the first application element, and display other application elements in the application element display area based on the determined arrangement order.
[0107] In some embodiments, the application element display area displays multiple application elements, and the display module 1302 is specifically used to switch display of the first candidate notification element in the notification element display area after detecting a trigger operation on the second application element among the multiple application elements, and the first candidate notification element and the second application element both correspond to the second application; in response to the touch operation detected in the notification element display area, switch display of the notification content of the second application notification in the first display area.
[0108] In some embodiments, the display module 1302 is specifically used to switch the display of the notification content of the second application notification in the first display area after detecting a trigger operation for the first candidate notification element; wherein the first candidate notification element corresponds to the second application notification.
[0109] In some embodiments, the display module 1302 is specifically used to display multiple target notification elements corresponding to the second application after detecting a sliding operation on the notification element display area, and the multiple target notification elements include a first candidate notification element; after detecting a trigger operation on the first candidate notification element among the multiple target notification elements, switching to display the notification content of the second application notification in the first display area; wherein the first candidate notification element corresponds to the second application notification.
[0110] In some embodiments, the display module 1302 is specifically used to display a second candidate notification element in the notification element display area in response to a sliding operation on the notification element display area; in response to a touch operation on the second candidate notification element, switch to display the notification content of the second application notification in the first display area; wherein the second candidate notification element corresponds to the second application notification.
[0111] In some embodiments, a second display module 1302 is further included, which is used to display a third application element in the application element display area with a first display effect, and to display other application elements except the third application element with a second display effect, and the second candidate notification element corresponds to the third application element.
[0112] In some embodiments, a closing module is also included, which is used to close the application to which the first application notification belongs after the duration of switching to display the notification content of the second application notification in the first display area exceeds a preset time threshold if the application to which the second application notification belongs is different from the application to which the first application notification belongs.
[0113] In some embodiments, the display module 1301 is specifically used to create a notification container; in response to a target operation, the target notification page is displayed based on the created notification container.
[0114] Each module in the notification display device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0115] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig.14As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a notification display method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0116] Those skilled in the art will understand that Fig.14 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0117] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0118] In response to the target operation, the target notification page is displayed, wherein the target notification page includes a first display area and a second display area, wherein the first display area displays the notification content of the first application notification, and the second display area displays multiple switching elements; in response to the triggering operation on the switching element, the notification content of the second application notification is switched to be displayed in the first display area.
[0119] In one embodiment, when the processor executes the computer program, the processor also implements the following steps: displaying a notification center, the notification center including multiple application notifications, the multiple application notifications including a first application notification; after detecting a trigger operation for the first application notification, displaying a target notification page.
[0120] In one embodiment, the processor further implements the following steps when executing the computer program: after detecting a trigger operation for the first application notification, displaying multiple switching elements in the second display area of the target notification page according to the application notification included in the notification center and the application to which the application notification belongs.
[0121] In one embodiment, the second display area includes a notification element display area and an application element display area, and the processor further implements the following steps when executing the computer program: based on the application notification included in the notification center and the application to which the application notification belongs, display a first notification element in the notification element display area, the first notification element corresponding to the first application notification, and display at least one application element in the application element display area, the application element corresponding to the application to which the application notification in the notification center belongs.
[0122] In one embodiment, the application element display area displays multiple application elements, and the processor further implements the following steps when executing the computer program: displaying the first application element with a first display effect, and displaying other application elements except the first application element with a second display effect, wherein the first application element corresponds to the first application to which the first application notification belongs.
[0123] In one embodiment, the application element display area displays multiple application elements, and the processor further implements the following steps when executing the computer program: displaying the first application element at the first position in the application element display area; determining the arrangement order of other application elements except the first application element based on the arrangement order of application notifications in the notification center, and displaying other application elements in the application element display area based on the determined arrangement order.
[0124] In one embodiment, the application element display area displays multiple application elements, and the processor further implements the following steps when executing the computer program: after detecting a trigger operation for a second application element among the multiple application elements, switching to display a first candidate notification element in the notification element display area, the first candidate notification element and the second application element both correspond to the second application; in response to a touch operation detected in the notification element display area, switching to display the notification content of the second application notification in the first display area.
[0125] In one embodiment, when the processor executes the computer program, the following steps are also implemented: after detecting a trigger operation for the first candidate notification element, switching to display the notification content of the second application notification in the first display area; wherein the first candidate notification element corresponds to the second application notification.
[0126] In one embodiment, the processor further implements the following steps when executing the computer program: after detecting a sliding operation on the notification element display area, displaying multiple target notification elements corresponding to the second application, the multiple target notification elements including a first candidate notification element; after detecting a trigger operation on the first candidate notification element among the multiple target notification elements, switching to display the notification content of the second application notification in the first display area; wherein the first candidate notification element corresponds to the second application notification.
[0127] In one embodiment, when the processor executes the computer program, the following steps are also implemented: in response to a sliding operation on the notification element display area, a second candidate notification element is displayed in the notification element display area; in response to a touch operation on the second candidate notification element, the notification content of the second application notification is switched to be displayed in the first display area; wherein the second candidate notification element corresponds to the second application notification.
[0128] In one embodiment, when the processor executes the computer program, the following steps are also implemented: displaying the third application element in the application element display area with the first display effect, and displaying other application elements except the third application element with the second display effect, and the second candidate notification element corresponds to the third application element.
[0129] In one embodiment, when the processor executes the computer program, the following steps are also implemented: if the application to which the second application notification belongs is different from the application to which the first application notification belongs, after the duration of switching to display the notification content of the second application notification in the first display area exceeds a preset time threshold, the application to which the first application notification belongs is closed.
[0130] In one embodiment, when the processor executes the computer program, the following steps are further implemented: creating a notification container; and in response to a target operation, displaying a target notification page based on the created notification container.
[0131] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0132] In response to the target operation, the target notification page is displayed, wherein the target notification page includes a first display area and a second display area, wherein the first display area displays the notification content of the first application notification, and the second display area displays multiple switching elements; in response to the triggering operation on the switching element, the notification content of the second application notification is switched to be displayed in the first display area.
[0133] In one embodiment, when the processor executes the computer program, the processor also implements the following steps: displaying a notification center, the notification center including multiple application notifications, the multiple application notifications including a first application notification; after detecting a trigger operation for the first application notification, displaying a target notification page.
[0134] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: after detecting a trigger operation for the first application notification, multiple switching elements are displayed in the second display area of the target notification page according to the application notification included in the notification center and the application to which the application notification belongs.
[0135] In one embodiment, the second display area includes a notification element display area and an application element display area. When the computer program is executed by the processor, the following steps are also implemented: based on the application notification included in the notification center and the application to which the application notification belongs, a first notification element is displayed in the notification element display area, and the first notification element corresponds to the first application notification, and at least one application element is displayed in the application element display area, and the application element corresponds to the application to which the application notification in the notification center belongs.
[0136] In one embodiment, the application element display area displays multiple application elements, and the computer program, when executed by the processor, also implements the following steps: displaying the first application element with a first display effect, and displaying other application elements except the first application element with a second display effect, wherein the first application element corresponds to the first application to which the first application notification belongs.
[0137] In one embodiment, the application element display area displays multiple application elements, and the computer program, when executed by the processor, further implements the following steps: displaying the first application element at the first position in the application element display area; determining the arrangement order of other application elements except the first application element based on the arrangement order of application notifications in the notification center, and displaying other application elements in the application element display area based on the determined arrangement order.
[0138] In one embodiment, the application element display area displays multiple application elements, and the computer program, when executed by the processor, also implements the following steps: after detecting a trigger operation for a second application element among the multiple application elements, switching to display a first candidate notification element in the notification element display area, the first candidate notification element and the second application element both correspond to the second application; in response to a touch operation detected in the notification element display area, switching to display the notification content of the second application notification in the first display area.
[0139] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: after detecting a trigger operation for the first candidate notification element, switching to display the notification content of the second application notification in the first display area; wherein the first candidate notification element corresponds to the second application notification.
[0140] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented: after detecting a sliding operation on the notification element display area, displaying multiple target notification elements corresponding to the second application, the multiple target notification elements include a first candidate notification element; after detecting a trigger operation on the first candidate notification element among the multiple target notification elements, switching to display the notification content of the second application notification in the first display area; wherein the first candidate notification element corresponds to the second application notification.
[0141] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: in response to a sliding operation on the notification element display area, a second candidate notification element is displayed in the notification element display area; in response to a touch operation on the second candidate notification element, the notification content of the second application notification is switched to be displayed in the first display area; wherein the second candidate notification element corresponds to the second application notification.
[0142] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: displaying the third application element in the application element display area with the first display effect, and displaying other application elements except the third application element with the second display effect, and the second candidate notification element corresponds to the third application element.
[0143] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if the application to which the second application notification belongs is different from the application to which the first application notification belongs, after the duration of switching to display the notification content of the second application notification in the first display area exceeds a preset time threshold, the application to which the first application notification belongs is closed.
[0144] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: creating a notification container; and in response to a target operation, displaying a target notification page based on the created notification container.
[0145] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0146] In response to the target operation, the target notification page is displayed, wherein the target notification page includes a first display area and a second display area, wherein the first display area displays the notification content of the first application notification, and the second display area displays multiple switching elements; in response to the triggering operation on the switching element, the notification content of the second application notification is switched to be displayed in the first display area.
[0147] In one embodiment, when the processor executes the computer program, the processor also implements the following steps: displaying a notification center, the notification center including multiple application notifications, the multiple application notifications including a first application notification; after detecting a trigger operation for the first application notification, displaying a target notification page.
[0148] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: after detecting a trigger operation for the first application notification, multiple switching elements are displayed in the second display area of the target notification page according to the application notification included in the notification center and the application to which the application notification belongs.
[0149] In one embodiment, the second display area includes a notification element display area and an application element display area. When the computer program is executed by the processor, the following steps are also implemented: based on the application notification included in the notification center and the application to which the application notification belongs, a first notification element is displayed in the notification element display area, and the first notification element corresponds to the first application notification, and at least one application element is displayed in the application element display area, and the application element corresponds to the application to which the application notification in the notification center belongs.
[0150] In one embodiment, the application element display area displays multiple application elements, and the computer program, when executed by the processor, also implements the following steps: displaying the first application element with a first display effect, and displaying other application elements except the first application element with a second display effect, wherein the first application element corresponds to the first application to which the first application notification belongs.
[0151] In one embodiment, the application element display area displays multiple application elements, and the computer program, when executed by the processor, further implements the following steps: displaying the first application element at the first position in the application element display area; determining the arrangement order of other application elements except the first application element based on the arrangement order of application notifications in the notification center, and displaying other application elements in the application element display area based on the determined arrangement order.
[0152] In one embodiment, the application element display area displays multiple application elements, and the computer program, when executed by the processor, also implements the following steps: after detecting a trigger operation for a second application element among the multiple application elements, switching to display a first candidate notification element in the notification element display area, the first candidate notification element and the second application element both correspond to the second application; in response to a touch operation detected in the notification element display area, switching to display the notification content of the second application notification in the first display area.
[0153] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: after detecting a trigger operation for the first candidate notification element, switching to display the notification content of the second application notification in the first display area; wherein the first candidate notification element corresponds to the second application notification.
[0154] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented: after detecting a sliding operation on the notification element display area, displaying multiple target notification elements corresponding to the second application, the multiple target notification elements include a first candidate notification element; after detecting a trigger operation on the first candidate notification element among the multiple target notification elements, switching to display the notification content of the second application notification in the first display area; wherein the first candidate notification element corresponds to the second application notification.
[0155] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: in response to a sliding operation on the notification element display area, a second candidate notification element is displayed in the notification element display area; in response to a touch operation on the second candidate notification element, the notification content of the second application notification is switched to be displayed in the first display area; wherein the second candidate notification element corresponds to the second application notification.
[0156] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: displaying the third application element in the application element display area with the first display effect, and displaying other application elements except the third application element with the second display effect, and the second candidate notification element corresponds to the third application element.
[0157] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if the application to which the second application notification belongs is different from the application to which the first application notification belongs, after the duration of switching to display the notification content of the second application notification in the first display area exceeds a preset time threshold, the application to which the first application notification belongs is closed.
[0158] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: creating a notification container; and in response to a target operation, displaying a target notification page based on the created notification container.
[0159] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0160] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0161] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0162] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A notification display method, characterized in that: The method comprises: In response to the target operation, displaying a target notification page, wherein the target notification page includes a first display area and a second display area, wherein the first display area displays notification content of the first application notification, and the second display area displays a plurality of switching elements; In response to a triggering operation on the switching element, the notification content of the second application notification is switched to be displayed in the first display area.
2. The method according to claim 1, characterized in that The step of displaying a target notification page in response to the target operation includes: Displaying a notification center, the notification center including multiple application notifications, the multiple application notifications including the first application notification; After detecting a triggering operation for the first application notification, displaying the target notification page.
3. The method according to claim 2, characterized in that After detecting the triggering operation for the first application notification, displaying the target notification page includes: After detecting a trigger operation for the first application notification, the plurality of switching elements are displayed in the second display area of the target notification page according to the application notification included in the notification center and the application to which the application notification belongs.
4. The method according to claim 3, characterized in that The second display area includes a notification element display area and an application element display area, and displaying the plurality of switching elements in the second display area of the target notification page according to the application notification included in the notification center and the application to which the application notification belongs includes: According to the application notification included in the notification center and the application to which the application notification belongs, a first notification element is displayed in the notification element display area, the first notification element corresponds to the first application notification, and at least one application element is displayed in the application element display area, the application element corresponds to the application to which the application notification in the notification center belongs.
5. The method according to claim 4, characterized in that The application element display area displays a plurality of the application elements, and displaying at least one application element in the application element display area includes: A first application element is displayed with a first display effect, and other application elements except the first application element are displayed with a second display effect, wherein the first application element corresponds to a first application to which the first application notification belongs.
6. The method according to claim 5, characterized in that The application element display area displays a plurality of the application elements, and displaying at least one application element in the application element display area includes: Displaying the first application element at the first position of the application element display area; Based on the arrangement order of the application notifications in the notification center, the arrangement order of other application elements except the first application element is determined, and the other application elements are displayed in the application element display area based on the determined arrangement order.
7. The method according to claim 4, characterized in that The application element display area displays a plurality of the application elements, and in response to the trigger operation on the switching element, switching to display the notification content of the second application notification in the first display area includes: After detecting a trigger operation on a second application element among the multiple application elements, switching to display a first candidate notification element in the notification element display area, wherein both the first candidate notification element and the second application element correspond to a second application; In response to a touch operation detected in the notification element display area, the notification content of the second application notification is switched to be displayed in the first display area.
8. The method according to claim 7, characterized in that The step of switching to display the notification content of the second application notification in the first display area in response to the touch operation detected in the notification element display area includes: After detecting a trigger operation on the first candidate notification element, switching to display the notification content of the second application notification in the first display area; The first candidate notification element corresponds to the second application notification.
9. The method according to claim 7, characterized in that: The step of switching to display the notification content of the second application notification in the first display area in response to the touch operation detected in the notification element display area includes: After detecting a sliding operation on the notification element display area, displaying a plurality of target notification elements corresponding to the second application, the plurality of target notification elements including the first candidate notification element; After detecting a triggering operation on the first candidate notification element among the multiple target notification elements, switching to display the notification content of the second application notification in the first display area; wherein the first candidate notification element corresponds to the second application notification.
10. The method according to claim 5, characterized in that The step of switching to display the notification content of the second application notification in the first display area in response to the triggering operation on the switching element includes: In response to a sliding operation on the notification element display area, displaying a second candidate notification element in the notification element display area; In response to a touch operation on the second candidate notification element, the notification content of the second application notification is switched and displayed in the first display area; wherein the second candidate notification element corresponds to the second application notification.
11. The method according to claim 10, characterized in that In response to the sliding operation on the notification element display area, after the notification element display area displays the second candidate notification element, the method further includes: A third application element is displayed in the application element display area with the first display effect, and other application elements except the third application element are displayed with the second display effect, and the second candidate notification element corresponds to the third application element.
12. The method according to claim 1, characterized in that After switching to display the notification content of the second application notification in the first display area, the method further includes: If the application to which the second application notification belongs is different from the application to which the first application notification belongs, after the duration of switching to display the notification content of the second application notification in the first display area exceeds a preset time threshold, the application to which the first application notification belongs is closed.
13. The method according to claim 1, characterized in that The step of displaying a target notification page in response to the target operation includes: Create a notification container; In response to the target operation, the target notification page is displayed based on the created notification container.
14. A notification display device, characterized in that: The device comprises: a display module, configured to display a target notification page in response to a target operation, wherein the target notification page includes a first display area and a second display area, wherein the first display area displays notification content of a first application notification, and the second display area displays a plurality of switching elements; The display module is used to switch and display the notification content of the second application notification in the first display area in response to the trigger operation on the switching element.
15. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 13 are implemented.
16. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 13 are implemented.
17. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 13 are implemented.