Method for displaying notification and electronic device

By classifying applications based on user behavior data and adjusting notification areas and priorities, the problem of users finding interesting notifications in the notification interface has been solved, improving user viewing efficiency and experience.

WO2025260931A1PCT designated stage Publication Date: 2025-12-26HUAWEI TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/088726
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-06-20
Filing Date
2025-04-14
Publication Date
2025-12-26

AI Technical Summary

Technical Problem

When users need to find interesting notifications from a large number of unviewed notifications in the notification interface, the operation is inconvenient and it is difficult to view the notifications they want to see in a timely manner.

Method used

Applications are categorized into two types based on user behavior data and displayed separately in the notification interface. Notifications from the first type of applications are prioritized, and the notification area and priority are adjusted to meet user expectations.

Benefits of technology

It improves the efficiency of users viewing expected notifications, reduces the interference of unwanted notifications, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025088726_26122025_PF_FP_ABST
    Figure CN2025088726_26122025_PF_FP_ABST
Patent Text Reader

Abstract

The present application discloses a method for displaying a notification, and an electronic device. In the method, the electronic device may determine, on the basis of behavior data of a user, a type of an application to which a notification that a user wants to know about belongs, and a type of an application to which a notification that the user does not want to know about belongs, and specify regions of a notification interface in which notifications of the two types of applications are displayed. The electronic device may display a notification within a specified region of the notification interface on the basis of an application type to which the notification belongs. The electronic device may also adjust the position of the notification within different regions. The region in which the notification is displayed may be determined on the basis of a degree to which a user desires to know about the notification. In this way, the notification interface can be laid out from the point of view of the user, and it is more convenient for the user to view a notification that the user wants to know about.
Need to check novelty before this filing date? Find Prior Art

Description

Method for displaying notification and electronic device

[0001] The present application claims priority from the Chinese patent application No. 202410808061.4 filed on June 20, 2024, and entitled "Method for displaying notification and electronic device", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0002] The present application relates to the technical field of terminal, and in particular, to a method for displaying notification and an electronic device. BACKGROUND

[0003] The electronic device can display notifications of various applications in a notification interface. However, since the notifications that are not viewed are continuously displayed in the notification interface, and the range of the notification interface is limited, many notifications can be displayed in the notification interface. When the user wants to view the notification of an application of interest, the user needs to search for the notification of interest from many notifications by operation. In this way, the user operation is inconvenient. SUMMARY

[0004] The present application provides a method for displaying notification and an electronic device. The region for displaying the notification can be determined based on the degree of the user's desire to understand the notification. In this way, the notification interface can be arranged from the user's perspective, and it is more convenient for the user to view the notification that the user desires to understand.

[0005] In a first aspect, the present application provides a method for displaying notification, comprising: displaying a notification interface, the notification interface comprising a first region and a second region, the first region comprising a first notification of a first application, and the second region comprising a second notification of a second application; receiving a first operation on the second notification; in response to the first operation, moving the second notification to the first region for display; receiving a third notification of the second application, the third notification being displayed in the first region.

[0006] Implementing the above method can fully understand the user's intention to adjust the position of the notification. And the position after adjustment is determined in time, and the region and specific position for displaying the subsequently obtained notification of the application are determined based on the position, and the user experience is good.

[0007] In combination with the first aspect, in some implementations, the first region further comprises a fourth notification, a third application to which the fourth notification belongs belongs to the first type, and the first application belongs to the first type.

[0008] In some implementations, the first region displays notifications of applications belonging to a first type, and the second region displays notifications of applications belonging to a second type. In this way, notifications that the user expects to learn about can be displayed in one region, and notifications that the user does not expect to learn about can be displayed in another region. The user can focus on viewing notifications that the user expects to learn about in one region, and can roughly flow through notifications that the user does not expect to learn about in another region, and the user experience is good.

[0009] In combination with the first aspect, in some implementations, the first application has a higher priority than the third application, and the first notification is arranged in front of the fourth notification. Among the applications belonging to the first type, the notification of the application with a higher priority can be arranged in front. Among the applications belonging to the second type, the notification of the application with a higher priority can be arranged in back. In this way, based on the user's conventional top-to-bottom browsing order, the user can view the notification of the application belonging to the first type with a higher priority in time, which is more expected to be learned about. The user can avoid or as late as possible view the notification of the application belonging to the second type with a higher priority, which is less expected to be learned about.

[0010] In combination with the first aspect, in some implementations, the moving the second notification to the first region for display specifically includes: moving the second notification to be the notification with the first ranking in the first region; and the third notification is displayed in the first region specifically includes: the third notification is displayed as the notification with the first ranking in the first region.

[0011] In combination with the first aspect, in some implementations, after moving the second notification to be the notification with the first ranking in the first region, the method further includes: setting the priority of the second application to be higher than the priority of the applications belonging to the first type.

[0012] In this way, the electronic device can predict that the user is more likely to view the notification of the second application based on the user's operation of adjusting the second notification. Therefore, the electronic device can arrange the notification of the second application in front. In this way, the user can view as early as possible.

[0013] In combination with the first aspect, in some implementations, the moving the second notification to the first region for display specifically includes: moving the second notification to be between the first notification and the fourth notification. The third notification is displayed in the first region specifically includes: the third notification is displayed between the first notification and the fourth notification.

[0014] In combination with the first aspect, in some implementations, after moving the second notification to be between the first notification and the fourth notification, the method further includes: setting the priority of the second application to be higher than the priority of the third application and lower than the priority of the first application.

[0015] In this way, the electronic device can understand that the user can expect to view the notification of the second application after viewing the notification of the first application. And the acquired notifications of the second application are all arranged after the first application thereafter.

[0016] In combination with the first aspect, in some implementations, after the display of the notification interface, the method further includes: receiving a second operation on the fourth notification; and in response to the second operation, moving the fourth notification in front of the first notification.

[0017] In combination with the first aspect, in some implementations, after the moving of the fourth notification in front of the first notification, the method further includes: setting the priority of the third application to be higher than the priority of the first application.

[0018] In combination with the first aspect, in some implementations, after the moving of the fourth notification in front of the first notification, the method further includes: receiving a fifth notification of the third application, the fifth notification being displayed in front of the first notification.

[0019] In some implementations, the electronic device can not only adjust the displayed notifications between different areas, but also adjust the displayed notifications in the same area, and update the priority of the application to which the notification after the adjustment position belongs. In this way, the electronic device can re-determine the priority of the application to which the notification after the adjustment position belongs according to the user operation. In this way, the intention of the user to adjust the position of the notification can be fully understood. And the position after the adjustment is determined in time, and the area and the specific position where the subsequent newly acquired notification of the application should be displayed are determined based on the position, and the user experience is good.

[0020] In combination with the first aspect, in some implementations, the second area further includes a first aggregated notification, the first aggregated notification containing a notification of a fifth application and a notification of a sixth application, the fifth application and the sixth application belonging to the same application type.

[0021] In combination with the first aspect, in some implementations, after the display of the notification interface, the method further includes: receiving a third operation on the first aggregated notification; and in response to the third operation, canceling the display of the first aggregated notification in the second area, and displaying the notification of the fifth application and the notification of the sixth application in the second area respectively.

[0022] In combination with the first aspect, in some implementations, the first aggregated notification further includes a notification of a seventh application, and after the canceling of the display of the first aggregated notification in the second area, the method further includes: receiving a fourth operation on the notification of the sixth application, changing the position of the notification of the sixth application in the second area; and displaying the first aggregated notification, the first aggregated notification including the notification of the fifth application and the notification of the seventh application.

[0023] In this way, the electronic device can not only fold and display notifications of multiple applications of the same application type, but also unfold the folded notifications, and adjust the positions of the unfolded notifications. In this way, the user can be prevented from feeling bored by receiving notifications of the same application type, and the user experience can be improved by folding. The needs of the user to adjust each notification are fully considered.

[0024] In some implementations, the first aggregated notification is displayed in a first notification box, and the first notification is displayed in a second notification box.

[0025] In some implementations, before the display notification interface is displayed, the method further includes: collecting behavior data of the user; and dividing the multiple applications into the first type and the second type based on the behavior data of the user. In some implementations, the electronic device can determine the user characteristics based on the behavior data of the user, and further determine the applications included in the first type and the second type. For example, the first type can include applications that the user likes or has a tendency to understand, and the second type can include applications that the user does not like or has no tendency to understand.

[0026] In some implementations, after the multiple applications are divided into the first type and the second type based on the behavior data of the user, the method further includes: determining the priority of the multiple applications belonging to the first type and the priority of the multiple applications belonging to the second type based on the behavior data of the user.

[0027] In this way, the user interest degree of each application type can be determined based on the behavior data of the user. The more interested the user is in the application type, the more timely the user can view the notifications of the application, and thus the individuality of the user using the electronic device is improved.

[0028] In some implementations, the behavior data of the user includes one or more of the following: the number of times of clicking the application, the length of time of using the application, the number of times of removing the notification, the number of times of shielding the notification, and the application indicated by the user focus point.

[0029] In a second aspect, the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory. The processor executes the computer program to implement the method of the first aspect or any of the implementations of the first aspect.

[0030] In a third aspect, the present application provides a computer readable storage medium, which stores a computer program. The computer program is executed by a processor to implement the method of the first aspect or any of the implementations of the first aspect.

[0031] In a fourth aspect, an embodiment of the present application provides a computer program product, which contains computer instructions, and when the computer instructions are executed by a processor, the method of the first aspect or any of the embodiments of the first aspect is implemented.

[0032] The advantages of the second aspect to the fourth aspect can refer to the advantages of the first aspect. BRIEF DESCRIPTION OF DRAWINGS

[0033] FIG. 1 is a notification interface and a related notification interface containing content in the notification interface according to an embodiment of the present application;

[0034] FIG. 2 is a flowchart of a method for displaying a notification according to an embodiment of the present application;

[0035] FIG. 3A is a diagram of a rule for determining an application belonging to a first type according to an embodiment of the present application;

[0036] FIG. 3B is a diagram of a rule for determining an application belonging to a second type according to an embodiment of the present application;

[0037] FIG. 4A is a notification interface containing a first area and a second area according to an embodiment of the present application;

[0038] FIG. 4B is another notification interface containing a first area and a second area according to an embodiment of the present application;

[0039] FIG. 5 is a flowchart of a method for displaying a notification according to an embodiment of the present application;

[0040] FIG. 6 is a diagram of determining a specific position for displaying a notification according to a priority according to an embodiment of the present application;

[0041] FIG. 7A is a flowchart of a method for changing a notification from being displayed in a first area to being displayed in a second area according to an embodiment of the present application;

[0042] FIG. 7B is a flowchart of a method for changing a notification from being displayed in a second area to being displayed in a first area according to an embodiment of the present application;

[0043] FIG. 8A-FIG. 8D are a set of notification interfaces for displaying a notification according to an embodiment of the present application;

[0044] FIG. 9A is a flowchart of a method for changing a specific position of a notification in a first area according to an embodiment of the present application;

[0045] FIG. 9B is a flowchart of a method for changing a specific position of a notification in a second area according to an embodiment of the present application;

[0046] FIG. 10A-FIG. 10D are another set of notification interfaces for displaying a notification according to an embodiment of the present application;

[0047] Fig. 11 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application;

[0048] Fig. 12 is a schematic diagram of a functional module of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0049] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text only describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which means that there are three cases of A alone, A and B together, and B alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0050] Hereinafter, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first" and "second" can explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, the meaning of "multiple" is two or more than two.

[0051] In the following embodiments of the present application, the term "user interface (UI)" is a medium interface for interaction and information exchange between an application or an operating system and a user, which realizes the conversion between the internal form of information and the form that the user can accept. The user interface is source code written in a specific computer language such as Java, extensible markup language (XML), etc. The interface source code is parsed, rendered, and finally presented as content that can be recognized by the user on the electronic device. The commonly used form of user interface is graphic user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be a visual interface element such as text, icon, button, menu, tab, text box, dialog box, status bar, navigation bar, Widget, etc. displayed in the display screen of the electronic device.

[0052] Some concepts related to the embodiments of the present application will be introduced below.

[0053] The notification can refer to a message prompt acquired by an application installed on the electronic device for delivering information to a user. The installed application can include a system application and a third-party application. The system application refers to an application directly provided by an operating system of the electronic device. The third-party application refers to an application provided by an application developer and acquired by the electronic device through the Internet.

[0054] In the embodiments of the present application, the electronic device can display notifications of various applications in a notification interface. The electronic device can display the notification interface in response to a user operation. The user operation can include any one or more of a click operation, a sliding operation, a voice instruction, and a gesture operation. The notification interface can include notifications of various applications acquired by the electronic device. The notification interface can also include time, date, a setting control, a deletion control, and the like. The notification can include one or more of an application identifier of the notification, a notification title, notification content, and a time of acquiring the notification. The application identifier of the notification can include one or more of an icon of an application to which the notification belongs and a name of the application to which the notification belongs. The notification can also serve as an entry to a user interface of the application to which the notification belongs.

[0055] The notification interface will be described below with reference to FIG. 1.

[0056] Referring to FIG. 1, a desktop 200 is exemplarily illustrated in a of FIG. 1. The desktop 200 can include a status bar 201. The status bar 201 displays one or more icons of applications to which notifications acquired by the electronic device belong. For example, when the desktop 200 is displayed, the electronic device has acquired a notification of an application A1, a notification of an application A2, and a notification of an application A3. The status bar 201 displays an icon of the application A1, an icon of the application A2, and an icon of the application A3. For example, the electronic device can display a notification interface 210 illustrated in b of FIG. 1 or a notification interface 220 illustrated in c of FIG. 1 in response to a downward sliding operation on the desktop 200. The downward sliding operation can refer to a vertical or diagonal downward sliding operation from the top of the electronic device or a vertical downward sliding operation from a non-top of the electronic device. For example, the direction of the downward sliding operation can refer to the direction of three arrows in a of FIG. 1.

[0057] As shown in b of FIG. 1, the notification interface 210 can include a notification box 211. The notification box 211 displays the notification a1 obtained by the application A1. The notification box 211 can include the icon of the application A1, the title of the notification a1, the content of the notification a1, and the time when the notification a1 is obtained; or the notification box 211 can include the icon of the application A1, the name of the application A1, the content of the notification a1, and the time when the notification a1 is obtained. The electronic device can enter the user interface of the application A1 for displaying the message represented by the notification a1 in response to a click operation on the notification box 211. The electronic device can also delete the notification box 211, i.e., delete the notification a1 obtained by the electronic device, in response to a left swipe operation or a right swipe operation on the notification box 211. The content in other notification boxes displayed in the notification interface 210 is similar to that in the notification box 211, and is not described herein.

[0058] Due to the limited size of the display screen, the notification interface can not be able to display all the notifications obtained by the electronic device at the same time. In the notification interface, the electronic device can prompt the user that the electronic device has obtained but is not currently displaying the notifications. The electronic device can also display the notifications not currently displayed in response to a user operation. Optionally, in the notification interface, the electronic device can not prompt the user that the notifications obtained but not currently displayed by the electronic device belong to which application.

[0059] For example, the notification interface 210 can also include a notification box 212. The notification box 212 can be located at the bottom of the notification interface 210 or other set positions. The notification box 212 is used to prompt the user that the electronic device has obtained but is not currently displaying the notifications. For example, the notification box 212 can include the icon of the application A7, the icon of the application A8, the icon of the application A9, and the like. This indicates that the electronic device has obtained the notification of the application A7, the notification of the application A8, and the notification of the application A9, but there is no more space in the current notification interface 210 to display the notification of the application A7, the notification of the application A8, and the notification of the application A9 due to too many notifications obtained by the electronic device. The electronic device can display more notifications such as the notification of the application A7 in response to an upward swipe operation on the notification interface 210 shown in b of FIG. 1.

[0060] In the embodiments of the present application, one notification box can display one notification or fold display multiple notifications. Specifically, when the electronic device only acquires one unique notification of an application, the electronic device can display the unique notification of the application in one notification box. When the electronic device acquires multiple notifications of an application, the electronic device can fold display the multiple notifications of the application in one notification box. Then, in response to a click operation of the user acting on the one notification box, the multiple notifications of the application are unfolded and displayed, i.e., the multiple notifications of the application are displayed in multiple notification boxes, and each notification box displays one notification of the application. The electronic device can also directly display the multiple notifications of the application in multiple notification boxes without user operation. In the embodiments of the present application, this is not limited.

[0061] The notification interface 210 can also include a setting control 213 and a deletion control 214. The setting control 213 is used to set functions related to displaying notifications. For example, the electronic device can display a user interface provided by the application for setting functions related to displaying notifications in response to a click operation acting on the setting control 213. The deletion control 214 is used to clear all notifications acquired by the electronic device. For example, the electronic device can clear all notifications in the notification interface 210 in response to the deletion control 214.

[0062] The notification interface 220 shown in FIG. 1c is another notification interface provided by the electronic device. The notification interface 220 is similar to the notification interface 210, but different in that the electronic device divides the area for displaying notifications in the notification interface 220 into two areas, one of which (which can be referred to as the main notification area) is used to display notifications of applications set by the electronic device, such as notifications of system applications, and the other (which can be referred to as the more notification area) is used to display notifications of applications other than the applications set by the electronic device, such as notifications of third-party applications. For example, in the notification interface 220, the area for displaying notifications can be divided into the main notification area, i.e., area 221, and the more notification area, i.e., area 222. The area 221 displays notifications of applications set by the electronic device. For example, the area 221 displays notifications of application A1 and notifications of application A2. The area 222 displays notifications of applications other than the applications set by the electronic device. For example, the area 222 displays notifications of application A3, notifications of application A4, and notifications of application A5, and more notifications. The area 222 also includes an identifier 222A indicating that the area 222 is different from the area 221. The identifier 222A displays the text content "more notifications".

[0063] The manner of displaying the notifications in the notification interface 220 is consistent with the manner of displaying the notifications in the notification interface 210, and the notifications can be displayed according to the layout of the notification box 211. Similarly, the notification interface 220 can also include a notification box 222B for prompting the user that the electronic device has acquired but is not currently displaying the notification.

[0064] In the embodiments of the present application, the notification interface 210 and the notification interface 220 are only exemplary, and the electronic device can enter the notification interface from any user interface other than the notification interface.

[0065] In the embodiments of the present application, the notification boxes displayed in the user interface can be arranged in the order from top to bottom, or in the order from left to right, or in other arrangement orders, which are not limited.

[0066] In some implementations, the electronic device can display the multiple notifications in the notification interface in the order of the time of acquiring the multiple notifications. The later the acquisition time of a notification, the more front the position of the notification in the notification interface. For example, before displaying the notification interface 2, among all the notifications acquired by the electronic device, the acquisition time of the notification of the application A1 is the latest. Therefore, in the notification interface 210, the notification of the application A1 is displayed above the other notifications. For another example, the acquisition time of the notification of the application A2 is "7:56", which is later than the acquisition time of the notification of the application A3 "7:47", and therefore, the electronic device can display the notification of the application A2 above the notification of the application A3.

[0067] In a possible implementation, the electronic device can also display the multiple notifications in the different regions of the notification interface in the order of the acquisition time of the multiple notifications respectively. For example, before displaying the notification interface 210, among all the notifications acquired by the electronic device and belonging to the main notification region, the acquisition time of the notification of the application A1 is the latest; among all the notifications acquired by the electronic device and belonging to the more notification region, the acquisition time of the notification of the application A3 is the latest. Therefore, in the notification interface 220, the electronic device can display the notification of the application A1 above the other notifications in the region 221, and display the notification of the application A3 above the other notifications in the region 222.

[0068] However, in the case that the acquisition time of the notification that the user wants to know is relatively early, the user is difficult to view the notification that the user wants to know as soon as entering the notification interface, and the user needs some operations on the electronic device to view the notification that the user wants to know, which causes a poor experience for the user to view the notifications of the electronic device.

[0069] The embodiment of the present application provides a method for displaying a notification. In the method, first, the electronic device can determine the type of the application to which the notification that the user expects to know belongs and the type of the application to which the notification that the user does not expect to know belongs based on the behavior data of the user, and define the region of the notification interface in which the notification of the two types of applications is displayed. Then, the electronic device acquires the notification, and determines the region in the notification interface in which the notification is displayed according to the type of the application to which the notification belongs. Finally, the electronic device displays the notification in the region of the notification interface determined.

[0070] By implementing the method, the region in which the notification is displayed can be determined based on the degree to which the user expects to know the notification. In this way, the notification interface can be arranged from the perspective of the user, and the user can more conveniently view the notification that the user expects to know.

[0071] The following describes several methods for displaying a notification provided by the embodiment of the present application.

[0072] FIG. 2 exemplarily shows a method flow for displaying a notification provided by the embodiment of the present application. The method comprises the following steps.

[0073] S201, dividing a plurality of applications installed on the electronic device into a first type and a second type based on the behavior data of the user.

[0074] In the embodiment of the present application, the electronic device can collect the behavior data of the user.

[0075] In the embodiment of the present application, the behavior data of the user can include one or more of the number of times of clicking the application, the length of time of using the application, the number of times of removing the notification, the number of times of shielding the notification, and the user's focus point. In the embodiment of the present application, the number of times of clicking the application, the length of time of using the application, the number of times of removing the notification, and the number of times of shielding the notification can be used to determine the type of the application to which the notification that the user expects to know belongs and the type of the application to which the notification that the user does not expect to know belongs.

[0076] 1. The number of times of clicking the application refers to the number of times of switching from displaying other user interfaces to displaying the user interface of the application in response to the user operation of entering the application or the same type of application on the electronic device within a certain time period. The user operation can include but is not limited to the operation of clicking the application icon, the operation of clicking the notification of the application, the voice instruction, the gesture instruction, and the like. It is worth noting that before entering the application, the application can be in a non-running state or a background running state, which is not limited.

[0077] 2. The length of time of using the application refers to the length of time of running the application or the same type of application on the electronic device within a certain time period. The running can include background running and foreground running.

[0078] 3. The number of times of removing the notification refers to the number of times of deleting the notification of the application or the same type of application displayed in the notification interface in response to the user operation on the electronic device within a certain time period.

[0079] 4, Shielded notification times: in a certain period of time, the electronic device responds to user operation, the type of application to which the notification displayed in the notification interface belongs and the number of applications belonging to the type that is prohibited from being displayed. For example, the electronic device can respond to user operation to disable 3 game applications in the notification interface. At this time, the electronic device records the shielded notification times as "disable 3 game applications".

[0080] 5, User focus point refers to: in a certain period of time, according to the user's historical behavior and preference, the user's interest is identified or predicted by big data, which can indicate a certain type of application. That is, the application type indicated by the user focus point is the application type that the user likes or prefers, and the application type not indicated by the user focus point is the application type that the user does not like or does not prefer.

[0081] In a possible implementation, the electronic device can also determine the degree of preference of various application types installed in the electronic device through big data. The more the user focuses on a certain application type, the higher the degree of preference of the application type; the less the user focuses on a certain application type, the lower the degree of preference of the application type. Optionally, the electronic device can also determine the degree of preference and the degree of dislike of different applications of the same application type through big data. Among all the types belonging to the same application type, the more the user focuses on a certain application and / or the content in the application is closer to the content indicated by the application type, the higher the degree of preference of the application and the lower the degree of dislike of the application among all the applications belonging to the same application type.

[0082] For example, the electronic device predicts that the user focus point includes news by several behaviors of the user, such as selecting to focus on the "news information" category in different applications, searching for news-related content, and frequently browsing news information.

[0083] Among the above, the time period for collecting user behavior data can be set by the electronic device, for example, the time period can refer to a day, a week, a month, etc., which is not limited.

[0084] In the embodiments of the present application, the application type (which can be referred to as type) is generally determined during the development of the application, and the determined application type needs to comply with the standard specifications formulated by the national network information department. For example, the type of the application can include but is not limited to: social class, news class, video class, game class, financial class, shopping class, travel class, tool class.

[0085] In some implementations, the electronic device can determine the user features based on the above-mentioned user behavior data, and further determine the applications of the first type and the second type. For example, the first type can include the user's favorite applications or the applications that the user tends to know, and the second type can include the user's unfavorite applications or the applications that the user does not tend to know.

[0086] In a possible implementation, the electronic device can first determine the application types belonging to the first type, and then determine the application types other than the first type installed in the electronic device as belonging to the second type. For example, the electronic device can determine the application types that satisfy the following three conditions at the same time: the number of times of clicking the application exceeds a preset threshold, the use duration of the application exceeds a preset threshold, and the application type belongs to the user's focus point, as the application types belonging to the first type.

[0087] The electronic device can also determine the application types belonging to the first type by the following calculation method:

[0088] Calculation method 1: The electronic device determines that the first type includes at most N types. First, the electronic device determines the top N application types with the largest number of times of clicking the application, the top N application types with the longest use duration of the application, and the multiple application types indicated by the user's focus point. Then, the electronic device determines the intersection (which can be referred to as a favorite intersection) of the above-mentioned application types, and the number of the favorite intersection is less than or equal to N.

[0089] If the number of the favorite intersection is equal to N, the electronic device determines that the N application types belonging to the first type are the favorite intersection.

[0090] If the number of the favorite intersection is less than N, the electronic device can directly determine that the application types belonging to the first type are the favorite intersection, or the electronic device can determine the top N+1 application types with the largest number of times of clicking the application, the top N+1 application types with the longest use duration of the application, and the application types indicated by the user's focus point, determine the favorite intersection of the above-mentioned application types again, repeat the above-mentioned two steps until the number of the favorite intersection determined is equal to N, and determine that the N application types belonging to the first type are the favorite intersection equal to N. In the embodiments of the present application, the first calculation method of calculating the intersection is only illustrative, and other calculation methods of calculating the intersection can also be used to determine the application types belonging to the first type, which are not limited herein.

[0091] In the second calculation manner, the electronic device also determines N types with the most in the first type. First, the number of times of clicking the application, the time of using the application, and the degree of preference of each application type are determined. Then, the weight of the number of times of clicking the application is set as n1, the weight of the time of using the application is set as n2, and the weight of the degree of preference is set as n3. Then, the comprehensive score of each application type is calculated as n1*the number of times of clicking the application+n2*the time of using the application+n3*the degree of preference, and N types with the highest comprehensive score are determined as the first type. In the embodiment of the present application, the second calculation manner is only illustrative, and other calculation manners can also be used to determine the application type of the first type, which is not limited.

[0092] Referring to FIG. 3A, the electronic device can determine that the user belongs to the “news lover” according to the number of times of clicking the news application, the time of using the news application, and the fact that the user's focus point includes “hot news”, and then mark the user's feature as the preference for the news application, that is, the first type includes the news application.

[0093] For example, the electronic device can determine that the news application belongs to the first type by determining that the number of times of clicking the news application exceeds a preset threshold, the time of using the news application exceeds a preset threshold, and the news application belongs to the user's focus point. For another example, the electronic device can determine that the news application belongs to the first type by determining that the news application belongs to the intersection of the preferred types in the first calculation manner. For another example, the electronic device can determine that the news application belongs to the first type by determining that the news application belongs to the N types with the highest comprehensive score in the second calculation manner. In the embodiment of the present application, FIG. 3A is only illustrative, and whether the news application belongs to the first type or the second type is not limited.

[0094] In the embodiment of the present application, the above-mentioned several calculation manners of determining the application type of the first type are only illustrative, and other calculation manners can also be used to determine the application type of the first type.

[0095] In another possible implementation manner, the electronic device can first determine the application type of the second type, and then determine the application type other than the second type as the first type. For example, the electronic device can determine the application type that satisfies the following three conditions at the same time: the number of times of removing the notification exceeds a preset threshold, the number of times of shielding the notification exceeds a preset threshold, and the application type does not belong to the user's focus point, as the application type of the second type.

[0096] The electronic device can also determine the application type of the second type by the following calculation manner:

[0097] The electronic device determines that the second type contains at most M types. First, the electronic device determines the top M types of application types with the most removal notifications, the top M types of application types with the most shielding notifications, and the types of application types that are not included in the user focus point indication. Then, the electronic device determines the intersection of the above-mentioned application types (which can be referred to as a dislike intersection) and the number of the dislike intersection is less than or equal to M.

[0098] If the number of the dislike intersection is equal to M, the electronic device determines that the M types of application types belonging to the second type are the dislike intersection.

[0099] If the number of the dislike intersection is less than M, the electronic device can directly determine that the types of application types belonging to the second type are the dislike intersection, or the electronic device can determine the top M+1 types of application types with the most removal notifications, the top M+1 types of application types with the most shielding notifications, and the types of application types that are not included in the user focus point indication, determine the dislike intersection of the above-mentioned application types again, repeat the above-mentioned two steps until the number of the determined dislike intersection is equal to M, and determine that the M types of application types belonging to the second type are the dislike intersection with the number equal to M. In the embodiments of the present application, the first type of calculating the intersection is only illustrative, and other ways of calculating the intersection can be used to determine the types of application types belonging to the second type, which are not limited.

[0100] The electronic device determines that the second type contains at most M types. First, the electronic device determines the removal notification times of various types of application, the shielding notification times of various types of application, and the dislike degrees of various types of application. Then, the electronic device sets the weight of the removal notification times as n4, the weight of the shielding notification times as n5, and the weight of the dislike degree as n6. Then, the electronic device calculates the comprehensive score of various types of application = n4*removal notification times + n5*shielding notification times + n6*dislike degree, and determines that the M types of application with the highest comprehensive score belong to the second type. In the embodiments of the present application, the second type of calculating the weight is only illustrative, and other ways of calculating the weight can be used to determine the types of application belonging to the second type, which are not limited.

[0101] Referring to FIG. 3B, the electronic device can determine that the user belongs to “film and television dislikers” according to the fact that the film and television application has the most removal notifications, the film and television application has the most shielding notifications, and the user focus point does not include “film and television information”, and then mark the user feature as disliking the film and television application, i.e., the second type includes the film and television application.

[0102] For example, the electronic device can determine that the movie application belongs to the second type by determining that the number of removal notifications of the movie application exceeds a preset threshold, the number of shield notifications of the movie application exceeds a preset threshold, and the movie application does not belong to the user's focus. For another example, the electronic device can determine that the movie application belongs to the second type by determining that the movie application belongs to the above-mentioned first calculation method. For another example, the electronic device can determine that the movie application belongs to the second type by determining that the movie application belongs to the M types of application types with the highest comprehensive scores in the above-mentioned second calculation method. In the embodiments of the present application, the above-mentioned FIG. 3B is only illustrative, and the movie application is not limited to belong to the first type or the second type.

[0103] In the embodiments of the present application, the above-mentioned several application types determined to belong to the second type are only illustrative, and other ways of determining the application types belonging to the second type can also be included.

[0104] In another possible implementation, the electronic device can directly determine the N types of application types belonging to the first type and the M types of application types belonging to the second type, as long as one type of application does not belong to both the first type and the second type. In the embodiments of the present application, this is not limited. The values of N and M can be the same or different, but are less than or equal to the number of application types to which all the applications installed in the electronic device belong.

[0105] For example, the electronic device can determine that the news application and the game application belong to the first type, and the shopping application, the movie application and the financial application belong to the second type.

[0106] In some embodiments, the electronic device can periodically determine the first type and the second type based on the user's behavior data. Further, the electronic device can synchronize the execution of S201 with the above-mentioned setting of the time period for collecting the user's behavior data. For example, the electronic device can determine the application types included in the first type and the application types included in the second type every day, every week or every month.

[0107] In a possible implementation, the first type and the second type are not limited to the multiple applications installed in the electronic device, but can also be divided for the applications existing on the market and the applications once installed in the electronic device.

[0108] S202, obtaining the notification of the application N.

[0109] In some implementations, the electronic device can acquire the notification of the application N at any time. The application N can refer to any one or more applications installed in the electronic device. The electronic device can acquire the notification of the application N based on information sent by a server that develops the application N. The electronic device can also acquire the notification of the application N based on the application N installed in the electronic device. The electronic device can also acquire the notification of the application N based on an input operation of the user for the application N. In the embodiments of the present application, the manner of acquiring the notification of the application is not limited.

[0110] In some implementations, S202 is an optional step.

[0111] S203, determining whether the application N belongs to the first type or the second type.

[0112] Based on the above description in S201, the electronic device has divided the plurality of applications into the first type and the second type. The electronic device can determine whether the application N belongs to the first type or the second type according to the type of the application N.

[0113] S204, determining that the application N belongs to the first type.

[0114] After performing S203, the electronic device can determine that the application N belongs to the first type based on the type of the application N, i.e., the type of the application N belongs to the first type.

[0115] For example, when the application N refers to a news application, the electronic device acquires the notification of the news application when performing S202. The electronic device determines whether the news application belongs to the first type or the second type by performing S203. The electronic device determines that the news application belongs to the first type by performing S204.

[0116] After performing S204, the electronic device can perform S205.

[0117] S205, displaying the notification of the application N in the first region of the notification interface.

[0118] Before performing S205, the electronic device can display the notification interface in response to the user operation. The operation of the user can include any one or more of the input operations such as click operation, sliding operation, voice instruction, and gesture operation. For example, how to enter the notification interface can be referred to the above description about FIG. 1, which will not be repeated here. The first region can be used to display the notification of the application belonging to the first type. In the case that the application N belongs to the first type, the first region can display the notification of the application N.

[0119] The notification of the application N can include one or more of the following: an icon of the application N, a name of the application N, a notification title, a notification content, and a time of obtaining the notification. The notification of the application N can also serve as an entry of a user interface of the application N. For example, the electronic device can display the user interface of the application N and display the specific content of the notification in response to a user operation of clicking the notification of the application N.

[0120] S206, determining that the application N belongs to the second type.

[0121] After performing S203, the electronic device can determine that the application N belongs to the second type based on the type of the application N. That is, the type of the application N belongs to the second type.

[0122] For example, in the case where the application N is a shopping application, a video application, or a financial application, the electronic device obtains the notification of the shopping application, the notification of the video application, and the notification of the financial application in S202. The electronic device determines whether the shopping application, the video application, and the financial application belong to the first type or the second type by performing S203. The electronic device determines that the shopping application, the video application, and the financial application belong to the second type by performing S204.

[0123] After performing S206, the electronic device can perform S207.

[0124] S207, displaying the notification of the application N in the second region of the notification interface.

[0125] For example, how to enter the notification interface can be referred to the above description of FIG. 1, and will not be repeated here. The second region can be used to display the notification of the application belonging to the second type. The notification of the application N can be referred to the above description of S205.

[0126] Optionally, when the application N is a plurality of applications of the same application type belonging to the second type, the electronic device can fold and display the notifications of the plurality of applications in the second region. For example, how to fold and display the plurality of notifications can be referred to the above description of FIG. 1, and will not be repeated here.

[0127] The first region and the second region are different.

[0128] Specifically, the first area is located in front of the second area. In the embodiments of the present application, the notifications displayed in the notification interface can be arranged in order, for example, arranged in order from top to bottom, arranged in order from left to right. Exemplarily, the first area can be arranged above the second area, left of the second area, and the like can represent the front direction. That is, the second area can be arranged behind the first area. Exemplarily, the second area can be arranged below the first area, right of the first area, and the like can represent the back direction.

[0129] The size of the first area is different from the size of the second area. Wherein, the size of the first area and the size of the second area depend on the number of notifications contained in each of them. Exemplarily, if the number of notifications contained in the first area is more than the number of notifications contained in the second area, the first area is larger than the second area; if the number of notifications contained in the first area is less than the number of notifications contained in the second area, the first area is smaller than the second area.

[0130] Optionally, the electronic device can also preferentially display the first area. That is, the electronic device can first display the notifications of the first type of application obtained preferentially, and then display the notifications of the second type of application in the case that there is still space in the notification interface.

[0131] Before displaying the notification interface, that is, before performing S205 or performing S207, the electronic device can customize or set the specific range of the first area and the second area in the notification interface in response to the user operation. Exemplarily, the electronic device can set the first area in the notification interface to be above the second area.

[0132] The method flow shown in FIG. 2 is further introduced below in combination with the user interface.

[0133] FIGS. 4A and 4B exemplarily show a notification interface including a first area and a second area. Wherein, FIGS. 4A and 4B take the example of arranging the notification boxes displayed in the notification interface in order from top to bottom. Before displaying the notification interface shown in FIGS. 4A and 4B, the electronic device can display the desktop 200 shown in FIG. 1a. The electronic device can enter the notification interface shown in FIGS. 4A and 4B through the user operation introduced in FIG. 1a.

[0134] Exemplarily, the notification interface 230 shown in FIG. 4A and the notification interface 240 shown in FIG. 4B can refer to the notification interfaces displayed in S205 and S207 in FIG. 2.

[0135] As shown in FIG. 4A, the notification interface 230 includes a region 231 and a region 232. The region 231 is above the region 232. The region 231 can be referred to as a first region. The region 232 can be referred to as a second region. The region 231 is configured to display notifications of applications of a first type, such as a notification of the news application B1, a notification of the news application B2, and a notification of the news application B3. The region 232 is configured to display notifications of applications of a second type, such as a notification of the shopping application B4, a notification of the video application B5, and notifications of multiple financial applications.

[0136] Since the electronic device obtains notifications of N1 (e.g., 3) financial applications, the electronic device can fold the notifications of the multiple financial applications and display the notifications in the second region. For example, the region 232 includes a notification box 233. The notification box 233 is configured to fold and display a notification b6 of the application B6, a notification of the application B7, and a notification of the application B7. The notification box 233 can include an icon of the application B6, a title of the notification b6, and a time when the notification b6 is obtained. Alternatively, the notification box 233 can include an icon of the application B6, a name of the application B6, and a time when the notification b6 is obtained. Optionally, the notification box 233 can further include an incomplete content of the notification b6. The electronic device can unfold and display the notifications of the multiple financial applications in response to a click operation on the notification box 233. That is, the electronic device no longer displays the notification box 233 after receiving the click operation on the notification box 233, and instead displays three notification boxes, each of which is configured to display a notification of a financial application.

[0137] In this way, the user can avoid feeling bored by receiving notifications of the same application type, and the folding can improve the user experience.

[0138] As shown in FIG. 4B, the notification interface 240 is similar to the notification interface 230, except that the notification interface 240 further includes an identifier 241. The identifier 241 is configured to indicate the specific positions of the first region and the second region. For example, in the notification interface 240, the region above the identifier 241 is the first region, and the region below the identifier 241 is the second region. The identifier 241 can also display a text box “more notifications”.

[0139] Implementing the above method can display notifications that the user wants to know and notifications that the user does not want to know in different regions. In this way, the user can focus on viewing the notifications that the user wants to know in one region, and can roughly view the notifications that the user does not want to know in another region, which improves the user experience.

[0140] Furthermore, electronic devices can not only determine the area in the notification interface where notifications received by various applications are displayed, but also determine the specific location of the notification within that area.

[0141] The following describes how to determine the specific location of the notification displayed in the first area and the specific location in the second area. For example, Figure 5 illustrates this with the first area positioned above the second area.

[0142] Figure 5 illustrates an exemplary method flow for displaying notifications in a notification interface according to an embodiment of this application.

[0143] S501. Prioritize multiple applications based on user behavior data.

[0144] As can be seen from the notification interface 210 shown in Figure 1b and the notification interface 220 shown in Figure 1c, electronic devices can classify applications into a first type and a second type, or they can choose not to classify applications.

[0145] In some implementations, the electronic device may perform S501 in the following two cases.

[0146] Scenario 1: When the application does not distinguish between the first type and the second type, determine the sorting priority of multiple application types.

[0147] Among all types of applications installed on an electronic device, the more a user expects to know about notifications from a particular application type, the higher that application type will be ranked.

[0148] In some implementations, electronic devices can determine sorting priorities based on user behavior data, such as the number of times applications are clicked, the duration of use for each application type, and the degree of preference for each application type.

[0149] Specifically, first, determine the number of clicks, usage time, and preference level for each app type. Then, assign weights to the number of clicks (n1), usage time (n2), and preference level (n3). Next, calculate the preference score for each app type: n1 * number of clicks + n2 * usage time + n3 * preference level. Finally, sort the app types from highest to lowest preference score. App types with higher preference scores have higher ranking priority.

[0150] In another possible implementation, electronic devices can also determine sorting priorities based on user behavior data, such as the number of times notifications were removed from various app types, the number of times notifications were blocked from various app types, and the degree of dislike for various app types.

[0151] Specifically, first, the removal notification times of various application types, the shielding notification times of various application types, and the dislike degrees of various application types are determined. Then, the weight of the removal notification times is set as n4, the weight of the shielding notification times is set as n5, and the weight of the dislike degrees is set as n6. Next, the comprehensive scores of the various application types are calculated as n4*removal notification times+n5*shielding notification times+n6*dislike degrees. Finally, the various application types are ranked from high to low based on the dislike scores of the various application types. The higher the dislike score of an application type, the lower the priority of the application type.

[0152] Case 2: In the case where the application is divided into the first type and the second type, the priority of the application belonging to the first type is determined and the priority of the application belonging to the second type is determined.

[0153] In some implementations, the different application types belonging to the first type have priorities, and the different application types belonging to the second type also have priorities. The higher the priority of an application type belonging to the first type, the more the user expects to know the notification of the application type. The higher the priority of an application type belonging to the first type, the less the user expects to know the notification of the application type. The electronic device can determine the priorities of the different application types belonging to the first type and the priorities of the different application types belonging to the second type according to the data behaviors of the user.

[0154] In the embodiments of the present application, the priority of one application type being higher than the priority of another application type can mean that the priority of all the applications belonging to the one application type is higher than the priority of the applications belonging to the another application type.

[0155] Next, how to determine the priorities of the different application types belonging to the first type is introduced.

[0156] First, the click application times of the multiple application types belonging to the first type, the use application time lengths of the multiple application types, and the like degrees of the multiple application types are determined. Then, the weight of the click application times is set as n1, the weight of the use application time lengths is set as n2, and the weight of the like degrees is set as n3. Next, the comprehensive scores of the multiple application types are calculated as n1*click application times+n2*use application time lengths+n3*like degrees. Finally, the multiple application types belonging to the first type are ranked from high to low based on the comprehensive scores of the multiple application types. In the first type, the higher the comprehensive score of an application type, the higher the priority of the application type.

[0157] In another possible implementation, different applications belonging to the same application type of the first type also have priorities. Among all the applications belonging to one application type, the more a user expects to know about the notification of a certain application, the higher the priority of the application among all the applications belonging to the same application type. The electronic device can also determine the priorities among different applications belonging to the same application type of the first type according to user data behaviors.

[0158] Next, how to determine the priorities among different applications belonging to the same application type of the second type is introduced.

[0159] First, the number of times of clicking the applications, the length of time of using the applications, and the degree of favoring the applications of the multiple applications belonging to the same application type of the first type are determined. Then, the weight of the number of times of clicking the applications is set as n1, the weight of the length of time of using the applications is set as n2, and the weight of the degree of favoring the applications is set as n3. Then, the comprehensive score of the multiple applications is calculated as n1*the number of times of clicking the applications+n2*the length of time of using the applications+n3*the degree of favoring the applications. Finally, the multiple applications are ranked from high to low based on the comprehensive scores of the multiple applications belonging to the same application type of the first type. Among the same application type of the first type, the higher the comprehensive score of an application, the higher the priority of the application.

[0160] Next, how to determine the priorities among different applications belonging to the same application type of the second type is introduced.

[0161] First, the number of times of removing the notifications, the number of times of shielding the notifications, and the degree of disfavoring the multiple application types belonging to the second type are determined. Then, the weight of the number of times of removing the notifications is set as n4, the weight of the number of times of shielding the notifications is set as n5, and the weight of the degree of disfavoring the applications is set as n6. Next, the comprehensive score of the multiple application types is calculated as n4*the number of times of removing the notifications+n5*the number of times of shielding the notifications+n6*the degree of disfavoring the applications. Finally, the multiple application types belonging to the second type are ranked from high to low based on the comprehensive scores of the multiple application types. Among the second type, the higher the comprehensive score of an application type, the higher the priority of the application type.

[0162] In another possible implementation, different applications belonging to the same application type of the second type also have priorities. Among all the applications belonging to the same application type, the less a user expects to know about the notification of a certain application, the higher the priority of the application among all the applications belonging to the same application type. The electronic device can also determine the priorities among different applications belonging to the same application type of the second type according to user data behaviors.

[0163] Next, how to determine the priorities among different applications belonging to the same application type of the second type is introduced.

[0164] First, the removal notification times of the plurality of applications belonging to the same application type of the second type, the shielding notification times of the plurality of applications, and the unpopularity degrees of the plurality of applications are determined. Then, the weight of the removal notification times is set as n4, the weight of the shielding notification times is set as n5, and the weight of the unpopularity degrees is set as n6. Then, the comprehensive scores of the plurality of applications are calculated as n4*removal notification times+n5*shielding notification times+n6*unpopularity degrees. Finally, the plurality of applications are ranked from high to low based on the comprehensive scores of the plurality of applications belonging to the same application type of the second type. In the same application type of the second type, the higher the comprehensive score of an application, the higher the priority of the application.

[0165] In the embodiments of the present application, the priority determination manner described above is not limited, and more methods for determining the priority based on the behavior data of the user can be included, which are not limited.

[0166] In some embodiments, the electronic device can periodically determine the priority of each application based on the behavior data of the user. Further, the electronic device can perform S501 synchronously with the setting of the time period for collecting the behavior data of the user.

[0167] S502, obtaining the notifications of the plurality of applications.

[0168] In a possible implementation, S502 is optional.

[0169] After performing S501 or S502, in a case where it is determined to perform S501 in the above case 1, the electronic device can perform S503, and at this time, the plurality of applications in S502 can include application N1 and application N2.

[0170] After performing S501 or S502, in a case where it is determined to perform S501 in the above case 2, the electronic device can perform S504 and / or S505, and at this time, the plurality of applications in S502 can include application A, application B, application C, and application D.

[0171] S503, arranging the notification of application N1 in front of the notification of application N2 in the notification interface, where the sorting priority of application N1 is higher than the sorting priority of application N2.

[0172] Before performing S503, the electronic device can determine the sorting priority between application N1 and application N2 based on the sorting priority of each application type determined in S501. Wherein, the above application N1 and application N2 can refer to two applications of different application types, or can refer to two applications of the same application type.

[0173] In some embodiments, the electronic device can determine the specific position of the notifications of the applications of the various application types in the notification interface according to the sorting priorities of the various application types. At this time, the high-priority application can refer to the application of the application type with high sorting priority, and the low-priority application can refer to the application of the application type with low sorting priority. For example, the sorting priority of the application type to which the application N1 belongs is higher than the sorting priority of the application type to which the application N2 belongs.

[0174] If the sorting priorities of two or more application types are the same, the electronic device can determine the position of the notifications of the applications belonging to the application types with the same sorting priority in the first area according to the acquisition time and the content importance of the notifications. Among the notifications of the multiple applications belonging to the application types with the same sorting priority, the notification acquired later is arranged above the notification acquired earlier, and the notification with higher content importance is arranged above the notification with lower content importance.

[0175] In some embodiments, the electronic device can also determine the specific position of the notifications of the multiple applications of the same application type in the notification interface according to the sorting priorities of the multiple applications of the same application type. At this time, the high-priority application can refer to the application of the same application type with high sorting priority, and the low-priority application can refer to the application of the same application type with low sorting priority. For example, the application N1 and the application N2 belong to the same application type, and the sorting priority of the application N1 is higher than the sorting priority of the application N2. Among the multiple notifications acquired by the applications belonging to the same application type, the notification of the high-priority application is arranged in front of the notification of the low-priority application.

[0176] For example, the notification of the application N1 is arranged in front of the notification of the application N2. For example, the front can refer to the top. Alternatively, in the case where the electronic device does not determine the sorting priorities of the multiple applications of the same application type, the electronic device can also determine the position of the notifications of the multiple applications of the same application type in the notification interface according to the acquisition time and the content importance of the notifications.

[0177] By implementing the above method, the user interest degree of each application type can be determined based on the behavior data of the user. The more interested the user is in the application type, the more timely the user can view the notifications of the applications of the application type, so that the individuality of the user in using the electronic device is improved.

[0178] S504、In the first area of the notification interface, the notification of the application B is arranged in front of the notification of the application C, where the priority of the application B is higher than the priority of the application C in the first type.

[0179] In some embodiments, before performing S504, the electronic device can determine that the application B and the application C both belong to the first type, i.e., the types of the application B and the application C belong to the first type, based on the type of the application B and the type of the application C.

[0180] In some implementations, the electronic device can determine the specific position of the notifications of the applications of the multiple application types belonging to the first type in the first area according to the priorities of the multiple application types. At this time, the high-priority application can refer to an application of an application type with a high priority, and the low-priority application can refer to an application of an application type with a low priority. For example, the priority of the application type to which the application B belongs is higher than the priority of the application type to which the application C belongs. The notification of the high-priority application belonging to the first type is arranged in front of the notification of the low-priority application belonging to the first type. For example, the notification of the application B is arranged in front of the notification of the application C. For example, front can refer to above.

[0181] In this way, based on the conventional top-to-bottom browsing order of the user, the user can timely view the notification of the more expected understanding, i.e., the notification of the high-priority application belonging to the first type.

[0182] If the priorities of the two or more application types belonging to the first type are the same, the electronic device can determine the position of the notifications of the applications of the application types with the same priority in the first area according to the acquisition time and the content importance of the notifications. Among the notifications of the applications of the application types with the same priority, the notification acquired later is arranged above the notification acquired earlier, and the notification with a higher content importance is arranged above the notification with a lower content importance. The content importance can be determined by extracting keywords in the content of the notification. For example, the content importance of the notification related to the country is higher than the content importance of the notification related to the place, and the content importance of the notification related to the family is higher than the content importance of the notification related to the work. In the embodiments of the present application, the above content importance is only illustrative, and other ways can also be used to determine the content importance of the notification.

[0183] In some implementations, the electronic device can also determine the specific position of the notifications of the multiple applications of the same application type belonging to the first type displayed in the first area according to the priorities of the multiple applications of the same application type. At this time, the high-priority application can refer to an application with a high priority in the same application type, and the low-priority application can refer to an application with a low priority in the same application type. For example, the application B and the application C belong to the same application type, and the priority of the application B is higher than the priority of the application B. Among the multiple notifications acquired by the applications of the same application type belonging to the first type, the notification of the high-priority application is arranged in front of the notification of the low-priority application. For example, the notification of the application B is arranged in front of the notification of the application C. For example, front can refer to above.

[0184] If the priorities of the two or more applications of the same application type belonging to the first type are the same, the electronic device can determine the position of the notification of the same priority of the same application type in the first area according to the acquisition time, the content importance of the notification of the same priority of the same application type. How to determine the position of the notification in the first area based on the acquisition time, the content importance can be referred to the above detailed description, and will not be repeated here.

[0185] Optionally, in the case where the electronic device does not determine the priorities of the multiple applications of the same application type, the electronic device can also determine the position of the notification of the multiple applications of the same application type in the first area according to the acquisition time, the content importance of the notification of the multiple applications of the same application type.

[0186] In a possible implementation, the electronic device can set that the applications of the first type, the schedule application, and the system application are displayed in the first area. Specifically, when the applications of the first type do not include the schedule application and the system application, in the first area, the priority of the schedule application is higher than that of the applications of the first type, and the priority of the applications of the first type is higher than that of the system application. When the applications of the first type include the schedule application and the system application, in the first area, the priority of the schedule application is higher than that of the other applications of the first type except the schedule application and the system application, and the priority of the other applications of the first type except the schedule application and the system application is higher than that of the system application.

[0187] In this way, the user can not only observe the notification that the user wants to know in time, but also the most interesting notification can be placed in the front among the multiple notifications that the user wants to know, and the user experience is good.

[0188] S505, in the second area of the notification interface, the notification of the application A is arranged in front of the notification of the application D, wherein in the second type, the priority of the application D is higher than that of the application A.

[0189] In some embodiments, before S505 is performed, the electronic device can determine that the application A and the application D both belong to the second type based on the type of the application A and the type of the application D, that is, the type of the application A and the type of the application D belong to the second type.

[0190] In some embodiments, the electronic device can determine the specific position of the notifications of the applications of the multiple application types belonging to the second type in the second area according to the priorities of the multiple application types. At this time, the high-priority application can refer to an application of an application type with a high priority, and the low-priority application can refer to an application of an application type with a low priority. For example, the priority of the application type to which the application A belongs is lower than the priority of the application type to which the application D belongs. The notifications of the low-priority applications belonging to the second type are arranged in front of the notifications of the high-priority applications belonging to the second type. For example, the notification of the application A is arranged in front of the notification of the application D. For example, the front can refer to the top.

[0191] In this way, based on the conventional top-to-bottom browsing order of the user, the user can avoid or as late as possible view the notifications that the user does not expect to know, i.e., the notifications of the high-priority applications belonging to the second type, and the user experience is good.

[0192] If the priorities of the two or more application types belonging to the second type are the same, the electronic device can determine the position of the notifications of the multiple applications of the application types with the same priority in the second area according to the acquisition time and the content importance of the notifications. Among the notifications of the multiple applications of the application types with the same priority, the notification acquired later is arranged above the notification acquired earlier, and the notification with a higher content importance is arranged above the notification with a lower content importance.

[0193] In some embodiments, the electronic device can also determine the specific position of the notifications of the multiple applications of the same application type belonging to the second type in the second area according to the priorities of the multiple applications of the same application type. At this time, the high-priority application can refer to an application with a high priority in the same application type, and the low-priority application can refer to an application with a low priority in the same application type. For example, the application A and the application D belong to the same application type, and the priority of the application A is lower than the priority of the application D. Among the multiple notifications acquired by the applications of the same application type belonging to the second type, the notification of the high-priority application is arranged above the notification of the low-priority application. For example, the notification of the application A is arranged in front of the notification of the application D. For example, the front can refer to the top.

[0194] If the priorities of the two or more applications of the same application type belonging to the second type are the same, the electronic device can determine the position of the notifications of the applications of the same application type with the same priority in the second area according to the acquisition time and the content importance of the notifications. How to determine the position of the notifications in the second area based on the acquisition time and the content importance can be referred to the detailed description above, and will not be repeated here.

[0195] Optionally, in a case where the electronic device does not determine the priorities of the plurality of applications of the same application type, the electronic device can also determine the position of the notification in the second area according to the acquisition time and the content importance of the notification of the plurality of applications of the same application type.

[0196] It is worth noting that the priorities mentioned in S504 and S505 are not the same concept. The priority mentioned in S504 (which can be referred to as a favorite priority) refers to the priority of different application types and the priority of different applications of the same application type in the case of belonging to the first type. The priority mentioned in S505 (which can be referred to as an un-favorite priority) refers to the priority of different application types and the priority of different applications of the same application type in the case of belonging to the second type.

[0197] In the embodiments of the present application, the flowchart shown in FIG. 5 is introduced as an example, in which the closer the position of the notification displayed in the notification interface to the top, the more the user wants to know about the notification; the closer the position of the notification displayed in the notification interface to the bottom, the less the user wants to know about the notification. It is not limited to this way, and it can also be introduced as an example that the closer the position of the notification displayed in the notification interface to other positions, the more the user wants to know about the notification, and this is not limited.

[0198] In this way, the user can delay viewing the notification that the user does not want to know about, and among the plurality of notifications that the user does not want to know about, the notification that the user is least interested in can need the user to perform a sliding operation to view it, so that the user's un-aware notification can avoid affecting the user experience.

[0199] FIG. 6 exemplarily shows a schematic diagram of determining the specific position of displaying a notification according to the priority of the first type and the priority of the second type according to an embodiment of the present application.

[0200] As shown in FIG. 6, the first type includes a news type application and a game type application. Moreover, the priority of the news type application is higher than that of the game type application. That is, the application B can refer to the news type application, and the application C can refer to the game type application. Among the application B1, the application B2 and the application B3 belonging to the news type application, the priority of the application B1 is higher than that of the application B2, and the priority of the application B2 is higher than that of the application B3. That is, the application B can also refer to the application B1, and the application C can refer to the application B2, or the application B can also refer to the application B2, and the application C can refer to the application B3.

[0201] The second type includes a finance type application and a video type application. Moreover, the priority of the finance type application is higher than that of the video type application. That is, the application A can refer to the video type application, and the application D can refer to the finance type application.

[0202] The electronic device can display the notification interface 250 as shown on the right side of FIG. 6 based on the priority conditions shown in FIG. 6. In the notification interface 250, the notifications of the news application are displayed above the notifications of the game application in the first area. The notifications of the news application are above the notifications of the game application. The notification of the application B1 belonging to the news application is above the notification of the application B2, and the notification of the application B2 is above the notification of the application B3. The notifications of the financial application are displayed below the notifications of the movie application in the second area. The notifications of the financial application are below the notifications of the movie application. Optionally, the application B6, the application B7, and the application B8 belonging to the financial application are displayed in the same notification box.

[0203] In the embodiments of the present application, the notification interface 250 is taken as an example to introduce that the more the user wants to know about the notification, the closer the position of the notification to the top of the notification interface; and the less the user wants to know about the notification, the closer the position of the notification to the bottom of the notification interface. The present application is not limited to this mode, and the more the user wants to know about the notification, the closer the position of the notification to other positions of the notification interface can also be taken as an example to introduce, which is not limited herein.

[0204] In the embodiments of the present application, the electronic device can also change the specific position of the notification displayed in the notification interface in response to the user operation. Specifically, the electronic device can change the notification from being displayed in one area to being displayed in another area, and can also change the notification from being displayed at one position in the same area to being displayed at another position in the same area.

[0205] How to change the notification from being displayed in one area to being displayed in another area is introduced below. FIGS. 7A and 7B are taken as examples to introduce that the notification is displayed above the first area in the second area.

[0206] FIG. 7A exemplarily shows a method for changing the notification from being displayed in the first area to being displayed in the second area according to an embodiment of the present application.

[0207] S701, in the first area of the notification interface, the notification of the application B is arranged in front of the notification of the application C. In the second area of the notification interface, the notification of the application A is arranged in front of the notification of the application D.

[0208] In some implementations, S701 can be a step after the execution of the method shown in FIG. 5. For details, refer to the method shown in FIG. 5, which is not repeated here.

[0209] S702, in response to the user operation, the notification of the application A located in the second area is moved to the first area.

[0210] For example, the electronic device can move the notification of the application A located in the second region to the first region in response to the user operation of long-pressing the notification of the application A in the second region and dragging the application A into the first region. For another example, the electronic device can also display an editable notification interface in response to the user operation of clicking the edit control in the notification interface, and then move the notification of the application A in the second region to the first region. In the embodiments of the present application, the above-mentioned user operations are only exemplary, and more user operations can be used to implement S702.

[0211] After performing S702, the electronic device can perform S703 or S704.

[0212] S703, arranging the notification of the application A in front of other notifications in the first region of the notification interface.

[0213] In some embodiments, the electronic device can determine that the application A is expected to be learned by the user based on the user operation of adjusting the position of the notification of the application A. At this time, the electronic device can arrange the notification of the application A after moving in front of other notifications in the first region. That is, the notification of the application A after moving is displayed in the first notification box of the first region, that is, the notification of the application A after moving is arranged as the first notification in the first region. For example, the notification of the application A is arranged in front of the notifications of the applications B and C.

[0214] In a possible implementation, the electronic device can obtain the new notification of the application A in real time. Therefore, after performing S703, the electronic device can re-determine the priority between the application A and each application belonging to the first type. Specifically, in the case that the notification of the application A after moving is arranged in front of other notifications in the first region, the electronic device can determine that the priority of the application A is higher than the priorities of other applications belonging to the first type. For example, the priority of the application A can be higher than the priorities of the applications B and C. However, the application A does not affect the priorities between all the applications belonging to the first type, nor does it affect the priorities between the other applications belonging to the second type except the application A. For example, the priority of the application B is still higher than the priority of the application C.

[0215] S704, arranging the notification of the application A behind the notification of the application B and in front of the notification of the application C in the first region of the notification interface.

[0216] In some embodiments, the electronic device can determine the specific position of the notification of the application A after the movement based on the user operation. For example, the electronic device determines the specific position of the notification of the application A after the movement in the first area through the drag operation in the user operation in S702. For example, the user operation in S702 above leaves the position of the screen between the notification of the application B and the notification of the application C. At this time, the electronic device can arrange the notification of the application A after the movement behind the notification of the application B and in front of the notification of the application C.

[0217] In a possible implementation, the electronic device can also re-determine the priority between the application A and each application belonging to the first type after performing S704.

[0218] First, the electronic device can determine the specific position of the notification of the application A in the first area through the storage folder of the application providing the notification interface, and determine the application arranged in front of the notification of the application A and the application arranged behind the notification of the application A. For example, the electronic device can determine that the notification of the application A is arranged behind the notification of the application B and the notification of the application A is arranged in front of the notification of the application C according to the storage folder above.

[0219] Then, the priority of the application A and other applications belonging to the first type is determined according to the specific position of the notification of the application A after the movement in the first area. Specifically, the priority of the application A is higher than the priority of the application to which the notification arranged behind the notification of the application A belongs, and lower than the priority of the application to which the notification arranged in front of the notification of the application A belongs. For example, based on the position relationship between the notification of the application A after the movement, the notification of the application B and the notification of the application C, it can be determined that the priority of the application A is higher than the priority of the application C and lower than the priority of the application B.

[0220] Similarly, the application A does not affect the priority between all applications belonging to the first type, nor does it affect the priority between other applications belonging to the second type except the application A.

[0221] Further, in the first area, when the type of the application to which the notification arranged in front of the notification of the application A belongs and the type of the application to which the notification arranged behind the notification of the application A belongs are not the same application type, the priority of the application A is higher than the priority of the application type to which the notification arranged behind the notification of the application A in the first area belongs, and the priority of the application A is lower than the priority of the application type to which the notification arranged in front of the notification of the application A in the first area belongs. And the priority of the application A and the priority of other applications belonging to the first type can be obtained through the priority between various application types belonging to the first type.

[0222] For example, after the notification of the application A is moved, the notification of the application A is arranged behind the notifications of all news applications. Moreover, in the first type, the priority of the news application is higher than that of the game application. Then, the electronic device can determine that the priority of the application A is lower than that of the news application and higher than that of the game application.

[0223] Further, in the first area, when the notifications arranged in front of the notification of the application A and the notifications arranged behind the notification of the application A belong to the same application type, the priority of the application A is higher than that of the application to which the notifications arranged behind the notification of the application A belong in the first area, and the priority of the application A is lower than that of the application to which the notifications arranged in front of the notification of the application A belong in the first area. The priority of the application A and the priority of the other application types belonging to the first type can also be obtained by the priority between the various application types belonging to the first type.

[0224] For example, after the notification of the application A is moved, the notification of the application A is arranged behind the notification of the news application B2 and behind the notification of the news application B3. Moreover, in the first type, the priority of the news application is higher than that of the game application. Then, the electronic device can determine that the priority of the application A is lower than that of the news application B2 and higher than that of the news application B3. Moreover, the priority of the application A is also higher than that of the game application.

[0225] In some implementations, when the electronic device obtains a new notification of the application A, the electronic device can determine the specific position of the new notification of the application A in the first area according to the priority relationship between the application A and the applications belonging to the first type.

[0226] In the embodiments of the present application, when the notification of the application A belonging to the second type is moved to the first area, since the priority of the application A needs to be compared with the applications belonging to the first type at this time, the priority of the application A mentioned after the movement is understood as the favorite priority. Moreover, the priority of the application A mentioned after the movement is not calculated, but obtained by comparing the position of the notification of the application A with the positions of the other notifications in the first area.

[0227] The method flow shown in FIG. 7A is further introduced below in combination with the user interface.

[0228] Referring to FIG. 8A, FIG. 8A exemplarily shows the notification interface 240. The related introduction about the notification interface 240 can refer to the detailed description of FIG. 4B above, which will not be repeated here. As shown in FIG. 8A, the notification interface 240 can include: the notification box 242 displayed in the first area, the notification box 243 displayed in the second area. Among them, the notification box 242 displays the notification of the news application B3. The notification box 243 displays the notification of the shopping application B4. At this time, the application A can refer to the shopping application B4, the application B can refer to the application B2, and the application C can refer to the application B3.

[0229] Exemplarily, the electronic device can change the position of the notification of the shopping application B4 displayed in the notification interface in response to the operation of long pressing on the notification box 243 and dragging to the first area. The direction of the operation can refer to the arrow direction in FIG. 8A. Then, the electronic device can display the notification interface 320 shown in FIG. 8B a or the notification interface 250 shown in FIG. 8C a. Among them, the notification interface 320 refers to the notification interface mentioned in S703 above, and the notification interface 250 refers to the notification interface mentioned in S704 above.

[0230] FIG. 8B exemplarily shows a user interface for displaying new notifications of the application A.

[0231] In the notification interface 320 shown in FIG. 8B a, the notification of the shopping application B4 indicated by the notification box 321 is arranged in front of the notifications of other applications, i.e. the notifications of the news application. Among them, the notification in the notification box 321 is the same notification as the notification in the notification box 243 above. At this time, the electronic device can determine that the priority of the shopping application B4 is higher than the priority of other applications belonging to the first type.

[0232] Based on the determined priority of the shopping application B4, after the electronic device obtains the new notification of the shopping application B4, the electronic device can display the notification interface 260 shown in FIG. 8B b.

[0233] As shown in FIG. 8B b, the notification box 261 contains two notifications of the shopping application B4, i.e. the first notification of the shopping application B4 and the second notification of the shopping application B4. Among them, the first notification of the shopping application B4 is the newly obtained notification of the shopping application B4. The notification box 262 contains two notifications of the news application B1, i.e. the first notification of the news application B1 and the second notification of the news application B1. Among them, the first notification of the news application B1 is the newly obtained notification of the shopping application B4. In the notification interface 320 shown in FIG. 8B b, the notification of the shopping application B4 indicated by the notification box 261 is arranged in front of the notification of the news application B1 indicated by the notification box 262. And the new notification of the shopping application B4 indicated by the notification box 261 is arranged in front of other notifications in the first area.

[0234] FIG. 8C illustrates another user interface displaying notifications of newly acquired application A.

[0235] In the notification interface 250 shown in a of FIG. 8C, the notification of the shopping application B4 indicated in the notification box 252 is arranged behind the notification of the news application B2 indicated in the notification box 251, and in front of the notification of the news application B3 indicated in the notification box 253. Among them, the notification in the notification box 252 is the same notification as the notification in the notification box 243 described above, and the notification in the notification box 253 is the same notification as the notification in the notification box 242 described above. At this time, the electronic device can determine that the priority of the shopping application B4 is lower than the priority of the news application B2, and higher than the priority of the news application B3. And based on the previously obtained priority of the first type, the priority of the news application is higher than the priority of the game application, it can also be determined that the priority of the shopping application B4 is higher than the priority of the game application. That is, at this time, the priority of the shopping application B4 is higher than the application type whose priority is lower than the news application, and the priority of the shopping application B4 is lower than the application type whose priority is higher than the news application.

[0236] Based on the above determination of the priority of the shopping application B4, after the electronic device acquires the new notification of the shopping application B4, it can display the notification interface 270 shown in b of FIG. 8C.

[0237] As shown in b of FIG. 8C, the notification box 272 contains two notifications of the shopping application B4, that is, the first notification of the shopping application B4 and the second notification of the shopping application B4. Among them, the first notification of the shopping application B4 is the newly acquired notification of the shopping application B4. The notification box 274 contains the newly acquired notification of the game application B12. The notification in the notification box 271 is the same notification as the notification in the notification box 251 described above, and the notification in the notification box 273 is the same notification as the notification in the notification box 253 described above. In the notification interface 270 shown in b of FIG. 8C, the notification of the shopping application B4 indicated in the notification box 272 is arranged behind the notification of the news application B2 indicated in the notification box 271, and in front of the notification of the news application B3 indicated in the notification box 273. The notification of the game application B12 indicated in the notification box 274 is arranged behind the notification of the news application B3 indicated in the notification box 273.

[0238] Not limited to the above-mentioned operation of long pressing the notification box 242 of FIG. 8A and dragging to the first area, the electronic device can enter an editable notification interface through an editing control, and change the position of the notification in the editable notification interface.

[0239] For example, FIG. 8D-a illustrates an example of the notification interface 280. Details about the notification interface 280 can be found in the description of FIG. 4B above, and will not be repeated here. The notification interface 280 further includes an editable control 281. The electronic device can display the notification interface 290 as shown in FIG. 8D-b in response to a click operation on the editable control 281. The notification interface 290 is an editable notification interface. The electronic device can adjust the position of each notification in the notification interface 290 by a click-and-drag operation on the notification.

[0240] For example, the notification interface 290 includes a notification box 291 in which the notification of the financial application B6, the notification of the financial application B7, and the notification of the financial application B8 are folded. The electronic device can change the position of the notification of the financial application B6 in the notification interface in response to a click-and-upward-drag operation on the notification of the financial application B6 in the notification box 291. The direction of the operation can be found in the arrow direction in FIG. 8D-b. Then, the electronic device can display the notification interface 350 as shown in FIG. 8D-c. The notification interface 350 includes a notification box 351 and a notification box 352. The notification box 351 displays the notification of the financial application B6. The notification box 352 folds the notification of the financial application B7 and the notification of the financial application B8. The electronic device can further exit the editable mode in response to a click operation of a user on a blank area of the notification interface 350.

[0241] Each notification box of the notification interface 290 further includes a setting control. The electronic device can enter a user interface that provides the function of deleting the notification, shielding the notification, or setting the notification-related function in response to a click operation on the setting control.

[0242] FIG. 7B illustrates an example of a method for changing the display of a notification from a second area to a first area according to an embodiment of the present application.

[0243] S801, in the first area of the notification interface, arrange the notification of the application B in front of the notification of the application C. In the second area of the notification interface, arrange the notification of the application A in front of the notification of the application D.

[0244] In some implementations, S801 can be a step after the execution of the method shown in FIG. 5 above. Details can be found in the method shown in FIG. 5 above, and will not be repeated here.

[0245] S802, in response to a user operation, move the notification of the application B in the first area to the second area.

[0246] For example, the electronic device can move the notification of the application B located in the first region to the second region in response to the user operation of long-pressing the notification of the application B in the first region and dragging the application B into the second region. For another example, the electronic device can also display an editable notification interface in response to the user operation of clicking the edit control in the notification interface, and then move the notification of the application B located in the first region to the second region. In the embodiments of the present application, the above-mentioned user operations are only exemplary, and more user operations can be used to implement S802.

[0247] After performing S702, the electronic device can perform S703 or S704.

[0248] S803, in the second region of the notification interface, arrange the application B behind other notifications in the second region.

[0249] In some embodiments, based on the user operation of adjusting the position of the notification of the application B, the electronic device can determine that the application B is not expected to be known by the user. At this time, the electronic device can arrange the notification of the application B after moving behind other notifications in the second region. For example, the notification of the application B is arranged behind the notification of the application A and the notification of the application D.

[0250] In a possible implementation, since the electronic device can obtain the newly obtained notification of the application B in real time. Therefore, after performing S803, the electronic device can re-determine the priority between the application B and each application belonging to the second type. Specifically, in the case that the notification of the application B after moving is arranged behind other notifications in the second region, the electronic device can determine that the priority of the application B is higher than the priority of other applications belonging to the second type. For example, the priority of the application B can be higher than the priority of the application A and the application D. However, the application B does not affect the priority between all applications belonging to the second type, nor does it affect the priority between other applications belonging to the first type except the application B. For example, the priority of the application D is still higher than the priority of the application A.

[0251] In some embodiments, when the electronic device obtains a new notification of the application B, the electronic device can display the new notification of the application B in the second region, and other notifications in the second region are arranged in front of the new notification of the application B. For example, the new notification of the application B can be arranged behind the notification of the application D.

[0252] S804, in the first region of the notification interface, arrange the notification of the application B behind the notification of the application A and in front of the notification of the application D.

[0253] In some embodiments, the electronic device can determine the specific position of the notification of the application B after the movement based on the user operation. For example, the electronic device determines the specific position of the notification of the application B after the movement in the second area through the position of the screen where the user operation in S802 is dragged. For example, the position of the screen where the user operation in S802 is dragged is between the notification of the application A and the notification of the application D. At this time, the electronic device can arrange the notification of the application B after the movement behind the notification of the application A and in front of the notification of the application D.

[0254] In one possible implementation, the electronic device can also re-determine the priority between the application B and each application belonging to the second type after performing S804.

[0255] First, the electronic device can determine the specific position of the notification of the application B in the second area through the storage folder of the application providing the notification interface, and determine the application arranged in front of the notification of the application B and the application arranged behind the notification of the application B. For example, the electronic device can determine that the notification of the application B is arranged behind the notification of the application A and in front of the notification of the application D according to the above storage folder.

[0256] Then, the priority of the application B and other applications belonging to the second type is determined according to the specific position of the notification of the application B after the movement in the second area. Specifically, the priority of the application B is higher than the priority of the application to which the notification arranged in front of the notification of the application B belongs, and lower than the priority of the application to which the notification arranged behind the notification of the application B belongs. For example, based on the position relationship between the notification of the application B after the movement and the notification of the application A and the notification of the application D, it can be determined that the priority of the application B is higher than the priority of the application A and lower than the priority of the application D.

[0257] Similarly, the application B does not affect the priority between all applications belonging to the second type, nor does it affect the priority between other applications belonging to the first type except the application B.

[0258] Further, in the second area, when the type of the application to which the notification arranged in front of the notification of the application B belongs and the type of the application to which the notification arranged behind the notification of the application B belongs are not the same application type, the priority of the application B is higher than the priority of the application type to which the notification arranged in front of the notification of the application B in the second area belongs, and the priority of the application B is lower than the priority of the application type to which the notification arranged behind the notification of the application B in the second area belongs. Moreover, the priority of the application B and the priority of other applications belonging to the second type can be obtained through the priority between various application types belonging to the second type.

[0259] For example, after the notification of application B is moved, the notification of application B is arranged in front of the notification of the movie application B51, and is arranged behind the notification of the movie application B52. Moreover, in the second type, the priority of the movie application is higher than that of the shopping application. Then, the electronic device can determine that the priority of application B is lower than that of the movie application B51, and is higher than that of the movie application B52. Moreover, the priority of application B is also higher than that of the shopping application.

[0260] Further, in the second region, if the notification arranged in front of the notification of application B and the notification arranged behind the notification of application B belong to the same application type, the priority of application B is higher than that of the application to which the notification arranged in front of the notification of application B belongs, and the priority of application B is lower than that of the application to which the notification arranged behind the notification of application B belongs. The priority of application B and the priority of other application types belonging to the second type can also be obtained through the priority between various application types belonging to the second type.

[0261] For example, after the notification of application B is moved, the notification of application B is arranged in front of the notification of the movie application B51, and is arranged behind the notification of the movie application B52. Moreover, in the second type, the priority of the movie application is higher than that of the shopping application. Then, the electronic device can determine that the priority of application B is lower than that of the movie application B51, and is higher than that of the movie application B52. Moreover, the priority of application B is also higher than that of the shopping application.

[0262] In some implementations, when the electronic device obtains a new notification of application B, the electronic device can determine the specific position of the new notification of application B in the second region according to the priority relationship between application B and the application belonging to the second type.

[0263] In the embodiments of the present application, after the notification of application B belonging to the first type is moved to the second region, since the priority of application B needs to be compared with the application belonging to the second type at this time, the priority of application B mentioned after the movement is understood as the unloved priority. Moreover, the priority of application B mentioned after the movement is not calculated, but is obtained through the position comparison between the notification of application B and other notifications in the second region.

[0264] Next, how to change the notification from being displayed at one position in the same region to being displayed at another position in the same region is introduced. For example, the first region is displayed above the second region, and the following FIG. 9A and FIG. 9B are introduced.

[0265] FIG. 9A exemplarily shows a method flow of changing the specific position of the notification in the first region provided by the embodiments of the present application.

[0266] S901. In the first area of the notification interface, arrange the notification of application B in front of the notification of application C.

[0267] In some implementations, S901 can be a step after the method shown in FIG. 5. For details, refer to the method flow shown in FIG. 5, which will not be repeated here.

[0268] S902. In response to the user operation, move the position of the notification of application C in the first area.

[0269] The user operation can refer to the user operation mentioned in FIG. 7A and FIG. 7B, which will not be repeated here.

[0270] S903. In the first area of the notification interface, arrange the notification of application C in front of the notification of application B.

[0271] In some implementations, the electronic device can determine the specific position of the notification of application C after the movement based on the user operation. For example, the electronic device determines the specific position of the notification of application C in the first area after the movement through the position of the drag operation in the user operation in S902. For example, the position of the user operation in S902 is in front of the notification of application B. At this time, the electronic device can arrange the notification of application C after the movement in front of the notification of application B.

[0272] In a possible implementation, after performing S903, the electronic device can also re-determine the priority between application C and each application belonging to the first type.

[0273] First, the electronic device can determine the specific position of the notification of application C in the first area through the storage folder of the application providing the notification interface, and determine the application arranged in front of the notification of application C and the application arranged behind the notification of application C. Then, according to the specific position of the notification of application C after the movement in the first area, the priority of application C and other applications belonging to the first type is determined. Specifically, the priority of application C is higher than the priority of the application to which the notification arranged behind the notification of application C belongs, and lower than the priority of the application to which the notification arranged in front of the notification of application C belongs. For example, based on the positional relationship between the notification of application C after the movement and the notification of application B, it can be determined that the priority of application C is higher than the priority of application B.

[0274] Similarly, application C does not affect the priority between other applications belonging to the first type except application C.

[0275] For the priority relationship between application C and other applications, refer to the related description in S704, which will not be repeated here.

[0276] FIG. 9B illustrates a method for changing the specific position of the notification in the second area according to an embodiment of the present application.

[0277] S1001, arrange the notification of the application A in front of the notification of the application D in the second area of the notification interface.

[0278] In some implementations, S1001 can be a step after the method shown in FIG. 5. For details, refer to the method shown in FIG. 5, which will not be repeated here.

[0279] S1002, move the position of the notification of the application D in the second area in response to the user operation.

[0280] The user operation can refer to the user operation mentioned in FIG. 7A and FIG. 7B, which will not be repeated here.

[0281] S1003, arrange the application D in front of the notification of the application A in the second area of the notification interface.

[0282] In some implementations, the electronic device can determine the specific position of the notification of the application D after the moving based on the user operation. For example, the electronic device determines the specific position of the notification of the application after the moving in the second area through the position of the dragging operation out of the screen in the user operation in S1002. For example, the position of the user operation out of the screen in S1002 is in front of the notification of the application A. At this time, the electronic device can arrange the notification of the application D after the moving in front of the notification of the application A.

[0283] In a possible implementation, after performing S1003, the electronic device can also re-determine the priority between the application D and each application belonging to the second type.

[0284] First, the electronic device can determine the specific position of the notification of the application D in the second area through the storage folder of the application providing the notification interface, and determine the application arranged in front of the notification of the application D and the application arranged behind the notification of the application D. Then, according to the specific position of the notification of the application D after the moving in the second area, the priority of the application D and other applications belonging to the second type is determined. Specifically, the priority of the application D is higher than the priority of the application to which the notification arranged in front of the notification of the application D belongs, and lower than the priority of the application to which the notification arranged behind the notification of the application D belongs. For example, based on the positional relationship between the notification of the application D after the moving and the notification of the application A, it can be determined that the priority of the application D is lower than the priority of the application A.

[0285] Similarly, the application D does not affect the priority between the other applications belonging to the second type except the application D.

[0286] The priority relationship between application D and other applications can refer to the description of S804 above, and will not be repeated here.

[0287] The method flow shown in FIG. 9B will be further introduced below in combination with a user interface.

[0288] Referring to FIG. 10A, FIG. 10A exemplarily shows a notification interface 240. The related description of the notification interface 240 can refer to the detailed description of FIG. 4B above, and will not be repeated here. As shown in FIG. 10A, the notification interface 240 can further include a notification box 243, a notification box 244 and a notification box 245 displayed in the second area. Among them, the notification box 243 displays a notification of the shopping application B4. The notification box 244 displays a notification of the video application B5, and the notification box 245 folds and displays a notification of the financial application. At this time, the application A can refer to the shopping application B4, and the application D can refer to the video application B5.

[0289] Exemplarily, the electronic device can change the display position of the notification of the video application B5 in the notification interface in response to the operation of long pressing and dragging upwards on the notification box 244. The direction of the operation can refer to the arrow direction in FIG. 10A. Then, the electronic device can display the notification interface 300 shown in FIG. 10B a. The notification interface 300 can refer to the notification interface mentioned in S1003 above.

[0290] In the notification interface 300 shown in FIG. 10B a, the notification of the video application B5 indicated by the notification box 301 is arranged in front of the notification of the shopping application B4 indicated by the notification box 302. Among them, the notification in the notification box 301 is the same notification as the notification in the notification box 244 above, the notification in the notification box 302 is the same notification as the notification in the notification box 243 above, and the notification in the notification box 303 is the same as the notification in the notification box 245 above. At this time, the electronic device can determine that the priority of the video application B5 is lower than the priority of the shopping application B4. And based on the previously obtained priority of the financial application in the second type is higher than the priority of the video application, it can also be determined that the priority of the video application B5 is lower than the priority of the financial application. That is, at this time, the priority of the video application B5 is higher than the application type whose priority is lower than the shopping application, and the priority of the video application B5 is lower than the application type whose priority is higher than the shopping application.

[0291] Based on the determined priority of the video application B5, after the electronic device obtains the new notification of the video application B5, the electronic device can display the notification interface 310 shown in FIG. 10Bb. The notification interface 310 can include a notification box 311, a notification box 312, and a notification box 313. The notification box 311 contains two notifications of the video application B5, i.e., the first notification of the video application B5 and the second notification of the video application B5. The first notification of the video application B5 is the newly obtained notification of the video application B5. The notification in the notification box 312 is the same notification as the notification in the notification box 302, and the notification in the notification box 313 is the same notification as the notification in the notification box 303. The notification of the video application B5 indicated by the notification box 311 is arranged in front of the new notification of the shopping application B4 indicated by the notification box 312.

[0292] In some embodiments, the application D mentioned in FIG. 9B above can also be a folded display notification. That is, the electronic device changes the specific position of the folded display notification in the second area.

[0293] The method of changing the specific position of the folded display notification in the second area will be further described below in combination with the user interface.

[0294] Referring to FIG. 10C, FIG. 10Ca exemplarily shows the notification interface 240. The related description of the notification interface 240 can refer to the detailed description of FIG. 4B above, and will not be repeated here. As shown in FIG. 10Ca, the notification interface 240 can further include a notification box 243, a notification box 244, and a notification box 245 displayed in the second area. The notification box 243 displays the notification of the shopping application B4. The notification box 244 displays the notification of the video application B5, and the notification box 245 folds and displays the notification of the financial application B6, the notification of the financial application B7, and the notification of the financial application B8. At this time, the application D can refer to the financial application B6, and the application A can refer to the video application B5.

[0295] Exemplarily, the electronic device can limit the click operation on the notification box 245 to unfold the multiple notifications folded in the notification box 245. Then, the electronic device can display the notification interface 330 as shown in FIG. 10Cb. In the notification interface 330, the notification of the financial application B6 indicated by the notification box 333 and the notification of the financial application B7 indicated by the notification box 334 belong to the notifications folded and displayed in the notification box 245. The electronic device can also display more notifications of the financial application unfolded, such as the notification of the financial application B8, in response to the operation of sliding upwards on the notification interface 330.

[0296] For example, the electronic device can change the position of the notification of the finance application B6 displayed in the notification interface in response to the operation of long pressing and dragging upward on the notification box 333. The direction of the operation can refer to the arrow direction in FIG. 10Cb. Then, the electronic device can display the notification interface 340 shown in FIG. 10D. The notification interface 340 can be the notification interface mentioned in S1003.

[0297] In the notification interface 340 shown in FIG. 10D, the notification of the finance application B6 indicated by the notification box 343 is arranged in front of the notification of the video application B5 indicated by the notification box 342. Among them, the notification in the notification box 343 is the same notification as the notification in the notification box 333, the notification in the notification box 343 is the same notification as the notification in the notification box 332, and the notification in the notification box 341 is the same notification as the notification in the notification box 331. And, the notification of the finance application B7 and the notification of the finance application B8 are folded and displayed in the notification box 344.

[0298] At this time, the electronic device can determine that the priority of the finance application B6 is lower than the priority of the video application B5. And, based on the previously obtained priority of the shopping application in the second type is lower than the priority of the video application, it can also be determined that the priority of the finance application B6 is higher than the priority of the shopping application. That is, at this time, the priority of the finance application B6 is higher than the application type whose priority is lower than the video application, and the priority of the finance application B6 is lower than the application type whose priority is higher than the video application.

[0299] In the embodiments of the present application, each user interface is only illustrative, and the content and form of each user interface are not limited, as long as each user interface has the corresponding function.

[0300] By implementing the above-mentioned methods shown in FIGS. 7A-7B and FIGS. 9A-9B, the electronic device can re-determine the priority of the application to which the notification of the adjusted position belongs according to the user operation. In this way, the user's intention of adjusting the position of the notification can be fully understood. And timely determine the position after adjustment, and determine the area and specific position where the subsequently newly acquired notification of the application should be displayed based on the position, and the user experience is good.

[0301] In a possible implementation, before the electronic device acquires a new notification, the electronic device has already acquired a plurality of notifications. The electronic device can compare the priority of the application to which the newly acquired notification belongs with the priority of the plurality of applications to which the plurality of acquired notifications belong before displaying the notification interface. Thus, the priority relationship between the application to which the newly acquired notification belongs and the plurality of applications to which the plurality of acquired notifications belong is determined, and the specific position of the newly acquired notification is further determined.

[0302] In another possible implementation, the electronic device has acquired a plurality of notifications before acquiring a new notification. Before displaying the notification interface, the electronic device can determine whether the application to which the newly acquired notification belongs is of the first type or the second type. Assuming that the application to which the newly acquired notification belongs is of the first type, the application to which the newly acquired notification belongs can be compared with the plurality of applications to which the plurality of acquired notifications of the first type belong in priority. Thus, the priority relationship between the application to which the newly acquired notification belongs and the plurality of applications to which the plurality of acquired notifications of the first type belong is determined, and the specific position of the newly acquired notification in the first area is further determined.

[0303] In a possible implementation, the electronic device can adjust the position of the notification in the notification interface multiple times. For example, the electronic device can move the notification displayed in the first area forward in the first area, move the notification displayed in the first area backward, or move the notification displayed in the first area to the second area. The electronic device can move the notification displayed in the second area forward in the second area, move the notification displayed in the second area backward, or move the notification displayed in the second area to the first area.

[0304] In some implementations, the application B can be referred to as a first application, and the application A can be referred to as a second application. The notification of the application B can be referred to as a first notification. The notification of the application A can be referred to as a second notification. The newly acquired notification of the application A can be referred to as a third notification. The application C can be referred to as a third application. The notification of the application C can be referred to as a fourth notification. The user operation in S702 can be referred to as a first operation. The user operation in S902 can be referred to as a second operation. The newly acquired notification of the application C can be referred to as a fifth notification. The area in which the notifications of the plurality of same application types are folded and displayed can be referred to as a first aggregated notification. The financial application B6 can be referred to as a sixth application, the financial application B7 can be referred to as a fifth application, and the financial application B8 can be referred to as a seventh application.

[0305] The hardware structure of the electronic device 100 provided in an embodiment of the present application is described below.

[0306] FIG. 11 shows a schematic diagram of the hardware structure of the electronic device 100 provided in an embodiment of the present application.

[0307] The electronic device 100 can be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, and a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, an in-vehicle device, a smart home device, and / or a smart city device, and the specific type of the electronic device is not specially limited in the embodiments of the present application.

[0308] The electronic device 100 can 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, and the like. Optionally, the electronic device 100 can further include any one or more of the following: an audio module 170, a sensor module 180, a key 190, a motor 191, an indicator 192, a display screen 194, and the like. The sensor module 180 can include a touch sensor 180K, and optionally, the sensor module 180 can further include any one or more of the following: a pressure sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, an ambient light sensor, a bone conduction sensor, and the like.

[0309] It can be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 can include more or fewer components than illustrated, or combine certain components, or split certain components, or different arrangement of components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.

[0310] The processor 110 can include one or more processing units, for example: the processor 110 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units can be independent devices or integrated in one or more processors.

[0311] The controller can generate operation control signals according to the instruction operation code and the timing signal, and complete the control of fetching and executing instructions.

[0312] The processor 110 can also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can save instructions or data that have just been used or are used repeatedly by the processor 110. If the processor 110 needs to use the instructions or data again, it can directly call from the memory. This avoids repeated access and reduces the waiting time of the processor 110, thereby improving the efficiency of the system.

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

[0314] The charging management module 140 is configured to receive charging input from a charger. The charger can be a wireless charger or a wired charger. In some embodiments of wired charging, the charging management module 140 can receive charging input from a wired charger through the USB interface 130. In some embodiments of wireless charging, the charging management module 140 can receive wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 can supply power to the electronic device 100 while charging the battery 142.

[0315] The power management module 141 is configured 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 to supply power to the processor 110, the internal memory 121, the display 194, the wireless communication module 160, and the like. The power management module 141 can also be configured to monitor parameters such as battery capacity, battery cycle count, battery health status (leakage, impedance), and the like. In some other embodiments, the power management module 141 can also be disposed in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 can also be disposed in the same device.

[0316] 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, and the like.

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

[0318] The mobile communication module 150 can provide a solution for wireless communication including 2G / 3G / 4G / 5G and the like applied to the electronic device 100. The mobile communication module 150 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), and the like. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and perform filtering, amplification, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can also amplify signals modulated by the modem processor, and radiate the amplified signals as electromagnetic waves through the antenna 1. In some embodiments, at least part of the function modules of the mobile communication module 150 can be disposed in the processor 110. In some embodiments, at least part of the function modules of the mobile communication module 150 and at least part of the modules of the processor 110 can be disposed in the same device.

[0319] The modem processor can include a modulator and a demodulator. The modulator is configured to modulate a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is configured to demodulate a received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low-frequency baseband signal processed by the baseband processor is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a microphone 170B, etc.), or displays an image or a video through the display 194. In some embodiments, the modem processor can be a separate device. In other embodiments, the modem processor can be independent of the processor 110 and be disposed in the same device as the mobile communication module 150 or other functional modules.

[0320] The wireless communication module 160 can provide a wireless communication solution including a wireless local area network (WLAN) (such as a wireless fidelity (Wi-Fi) network), Bluetooth (BT), a global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, and the like, 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 an electromagnetic wave via the antenna 2, demodulates and filters the electromagnetic wave signal, and transmits the processed signal to the processor 110. The wireless communication module 160 can also receive a signal to be transmitted from the processor 110, frequency-modulate the signal, amplify it, and radiate it as an electromagnetic wave via the antenna 2.

[0321] In some embodiments, the antenna 1 and the mobile communication module 150 of the electronic device 100 are coupled, and the antenna 2 and the wireless communication module 160 are coupled, so that the electronic device 100 can communicate with a network and other devices through wireless communication technology. The wireless communication technology can 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, etc. The GNSS can include a global positioning system (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and / or a satellite based augmentation systems (SBAS).

[0322] The electronic device 100 implements a display function through a GPU, a display screen 194, and an application processor, etc. The GPU is a microprocessor for image processing, which is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 can include one or more GPUs, which execute program instructions to generate or change display information.

[0323] The display screen 194 is configured to display images, videos, and the like. The display screen 194 includes a display panel. The display panel can be manufactured by using a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flex light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light emitting diode (QLED), or the like. In some embodiments, the electronic device 100 can include one or N display screens 194, where N is a positive integer greater than 1.

[0324] The internal memory 121 can include one or more random access memories (RAMs) and one or more non-volatile memories (NVMs).

[0325] The random access memory can be directly read and written by the processor 110, and can be used to store executable programs (e.g., machine instructions) of an operating system or other programs running at present, and can also be used to store data of users and application programs, and the like.

[0326] The non-volatile memory can also store executable programs and store data of users and application programs, and the like, and can be loaded into the random access memory in advance for direct reading and writing by the processor 110.

[0327] The external memory interface 120 can be configured to connect an external non-volatile memory, and to expand the storage capacity of the electronic device 100. The external non-volatile memory communicates with the processor 110 through the external memory interface 120, and implements a data storage function. For example, files such as music and videos can be saved in the external non-volatile memory.

[0328] The audio module 170 can include any one or more of a speaker 170A, a receiver 170B, a microphone 170C, and the like. In some embodiments, the electronic device 100 can implement audio functions through the audio module 170 and an application processor, and the like. For example, music playback, recording, and the like.

[0329] The audio module 170 is configured to convert digital audio information into an analog audio signal output, and to convert an analog audio input into a digital audio signal. The audio module 170 can also be configured to encode and decode audio signals. In some embodiments, the audio module 170 can be disposed in the processor 110, or some of the functions of the audio module 170 can be disposed in the processor 110.

[0330] The speaker 170A, also referred to as a "loudspeaker", is configured to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or a hands-free call through the speaker 170A.

[0331] The receiver 170B, also referred to as an "earpiece", is configured to convert an audio electrical signal into a sound signal. When the electronic device 100 is engaged in a call or a voice message, a user can listen to the voice through the receiver 170B by placing the receiver 170B close to the ear.

[0332] The microphone 170C, also referred to as a "microphone", "microphone", is configured to convert a sound signal into an electrical signal. When making a call or sending a voice message, a user can make a sound through the mouth close to the microphone 170C to input a sound signal into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, in addition to collecting sound signals, it can also achieve noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C, which can collect sound signals, reduce noise, and also identify the source of the sound, realize directional recording function, etc.

[0333] The touch sensor 180K, also referred to as a "touch device". The touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also referred to as a "touch screen". The touch sensor 180K is configured to detect a touch operation acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the touch event type. The display screen 194 can provide visual output related to the touch operation. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0334] The keys 190 include a power key, a volume key, etc. The keys 190 can be mechanical keys. They can also be touch keys. The electronic device 100 can receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100.

[0335] The motor 191 can generate a vibration prompt. The motor 191 can be used for incoming call vibration prompt, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, playing audio, etc.) can correspond to different vibration feedback effects. The motor 191 can also correspond to different vibration feedback effects for touch operations acting on different regions of the display screen 194. Different application scenarios (such as time reminders, received messages, alarms, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0336] The indicator 192 can be an indicator light, which can be used to indicate the charging state, the power change, and can also be used to indicate messages, missed calls, notifications, etc.

[0337] The following describes a function module of the electronic device 100 provided in an embodiment of the present application.

[0338] FIG. 12 is a schematic diagram of a function module of the electronic device 100 provided in an embodiment of the present application.

[0339] As shown in FIG. 12, the electronic device 100 can include a data collection module 1201, an algorithm processing module 1202, a user operation module 1203, a notification display module 1204, and a notification acquisition module 1205.

[0340] The data collection module 1201 can be configured to collect the behavior data of the user. Specifically, the data collection module 1201 is configured to acquire the application types, the number of times of clicking the applications, the use time of the applications, the number of times of removing the notifications, the number of times of shielding the notifications, and the user focus points of each application type.

[0341] The algorithm processing module 1202 can be configured to determine the application types belonging to the first type and the application types belonging to the second type based on the behavior data of the user acquired by the data collection module 1201. The specific determination method can refer to the several calculation methods in S201 described above. The algorithm processing module 1202 can also be configured to determine the priority between the various application types belonging to the first type and the priority between the various application types belonging to the second type. The algorithm processing module 1202 can also be configured to determine the priority between the various applications belonging to the same application type of the first type and the priority between the various applications belonging to the same application type of the second type. The specific determination method of the priority can refer to the related description in FIG. 5 described above.

[0342] In a possible implementation manner, the algorithm processing module 1202 can be configured to determine the sorting priority between the various application types based on the behavior data of the user. The specific determination method of the sorting priority can refer to the related description of FIG. 5 described above.

[0343] The user operation module 1203 can be configured to identify an operation of changing a specific position of a notification by a user. Specifically, the user operation module 1203 can be configured to identify an operation of changing a notification from being displayed in one region to being displayed in another region. The user operation module 1203 can also be configured to identify an operation of changing a notification from being displayed in one position of the same region to being displayed in another position of the same region.

[0344] The algorithm processing module 1202 can be configured to re-determine the priority between application types or between applications according to the operation identified by the user operation module 1203. For details, refer to the related description of FIGS. 7A-7B and FIGS. 9A-9B.

[0345] The notification display module 1204 can determine the region and the specific position of displaying a notification according to the priority between the various application types or between the various applications determined by the algorithm processing module 1202, and display the notification in the notification interface. For example, in the first region, the notification of a high-priority application is displayed above the notification of a low-priority application. In the second region, the notification of a high-priority application is displayed below the notification of a low-priority application. The notification of a high-order priority application is displayed above the notification of a low-order priority application. For details, refer to the related description of displaying a notification in the various flowcharts.

[0346] The notification acquisition module 1205 can be configured to acquire a newly acquired notification, and send the newly acquired notification and the type of the application to which the notification belongs to the notification display module 1204. The notification display module 1204 can be configured to determine the specific position of displaying the notification based on the type of the application to which the notification belongs.

[0347] It can be understood that the embodiment shown in FIG. 12 is only an example. In the embodiments of the present application, the electronic device 100 can also include more, fewer or different functional modules than the above-described embodiments, which are not limited in the present application. In addition, in some embodiments, a plurality of functional modules in the above-described embodiments can also be integrated into one functional module, or one functional module in the above-described embodiments can also be divided into a plurality of different functional modules, which are not limited in the present application.

[0348] The embodiments of the present application provide an electronic device, which includes a memory, a processor, and a computer program stored in the memory. The processor executes the computer program to implement the method of displaying a notification.

[0349] The embodiments of the present application also provide a computer readable storage medium. The computer readable storage medium stores a computer program. The computer program is executed by a processor to implement the method of displaying a notification.

[0350] The embodiment of the present application further provides a computer program product. The computer program product contains computer instructions, which, when executed by a processor, implement the method for displaying a notification.

[0351] The embodiments of the present application can be combined in any manner to achieve different technical effects.

[0352] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product contains one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable devices. The computer instructions can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) mode. The computer readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains one or more available media sets. The available media can be magnetic media (such as floppy disk, hard disk, magnetic tape), optical media (such as DVD), or semiconductor media (such as solid state disk (SSD)) and the like.

[0353] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by a computer program to instruct the relevant hardware to complete, and the program can be stored in a computer readable storage medium. When the program is executed, it can include the processes of the above-mentioned embodiments. The storage medium mentioned above includes ROM or random access memory (RAM), magnetic disk or optical disk and various media that can store program codes.

[0354] In summary, the above only describes the embodiments of the technical solutions of the present application, and is not used to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of the present application shall be included in the protection scope of the present application.

Claims

1. A method for displaying a notification, characterized in that, include: The notification interface includes a first area and a second area. The first area includes a first notification from a first application, and the second area includes a second notification from a second application. Receive the first operation in response to the second notification; In response to the first operation, the second notification is moved to the first area for display; A third notification is received from the second application, and the third notification is displayed in the first area.

2. The method according to claim 1, characterized in that, The first area also includes a fourth notification, to which a third application belongs to the first type, and the first application belongs to the first type.

3. The method according to claim 2, characterized in that, The first application has a higher priority than the third application, and the first notification is placed before the fourth notification.

4. The method according to any one of claims 1-3, characterized in that, Moving the second notification to the first area for display specifically includes: Move the second notification to the first notification in the first region; The third notification, displayed in the first area, specifically includes: The third notification is displayed as the first notification in the first region.

5. The method according to claim 4, characterized in that, After moving the second notification to the first-ranked notification in the first region, the method further includes: The priority of the second application is set higher than that of applications belonging to the first type.

6. The method according to claim 2 or 3, characterized in that, Moving the second notification to the first area for display specifically includes: Move the second notification between the first notification and the fourth notification; The third notification, displayed in the first area, specifically includes: The third notification is displayed between the first notification and the fourth notification.

7. The method according to claim 6, characterized in that, After moving the second notification between the first notification and the fourth notification, the method further includes: The priority of the second application is set to be higher than that of the third application, but lower than that of the first application.

8. The method according to claim 2 or 3, characterized in that, After displaying the notification interface, the method further includes: Receive a second operation in response to the fourth notification; In response to the second operation, the fourth notification is moved in front of the first notification.

9. The method according to claim 8, characterized in that, After moving the fourth notification before the first notification, the method further includes: The priority of the third application is set higher than that of the first application.

10. The method according to claim 8 or 9, characterized in that, After moving the fourth notification before the first notification, the method further includes: A fifth notification is received from the third application, and the fifth notification is displayed before the first notification.

11. The method according to any one of claims 1-10, characterized in that, The second area also includes a first aggregated notification, which contains notifications from a fifth application and a sixth application, the fifth application and the sixth application being of the same application type.

12. The method according to claim 11, characterized in that, After displaying the notification interface, the method further includes: Receive a third operation on the first aggregation notification; In response to the third operation, the first aggregated notification is de-displayed in the second area, and the notifications from the fifth application and the sixth application are displayed in the second area respectively.

13. The method according to claim 12, characterized in that, The first aggregated notification also includes a notification from a seventh application. After the first aggregated notification is de-displayed in the second area, the method further includes: A fourth operation for receiving a notification from the sixth application is to change the position of the notification from the sixth application in the second area; The first aggregated notification is displayed, which includes notifications from the fifth application and notifications from the seventh application.

14. The method according to any one of claims 11-13, characterized in that, The first aggregated notification is displayed in the first notification box, and the first notification is displayed in the second notification box.

15. The method according to any one of claims 1-14, characterized in that, Prior to displaying the notification interface, the method further includes: Collect user behavior data; Based on the user's behavioral data, multiple applications are divided into the first type and the second type.

16. The method according to claim 15, characterized in that, After classifying multiple applications into the first type and the second type based on the user's behavior data, the method further includes: Based on the user's behavior data, the priorities of multiple applications belonging to the first type and the priorities of multiple applications belonging to the second type are determined.

17. The method according to claim 15 or 16, characterized in that, The user's behavioral data includes one or more of the following: the number of times the application was clicked, the duration of application use, the number of times notifications were removed, the number of times notifications were blocked, and the applications indicated by the user's focus.

18. An electronic device, characterized in that, The electronic device includes a memory, a processor, and computer instructions stored in the memory, wherein the processor executes the computer program to implement the method of any one of claims 1-17.

19. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method of any one of claims 1-17.

20. A computer program product, characterized in that, The computer program product includes computer instructions that, when executed by a processor, implement the method of any one of claims 1-17.

Citation Information

Patent Citations

  • Method for displaying messages in notification bar and mobile terminal

    CN104407827A

  • Classification display method and device for notification message

    CN107562453A

  • Method and device for displaying notification bar message, terminal and storage medium

    CN108804179A

  • Notification type message display method and device, storage medium and mobile terminal

    CN111913620A

  • Method, device for displaying notification information and storage medium

    US20210294464A1