Notification message display method and device, equipment and storage medium
By adjusting the display parameters of the notification angle mark according to the number of unread messages of the target application, the problem of notification angle marks in the prior art interfering with users' visual interference, and a more flexible and low-interference notification message display is achieved.
Patent Information
- Application Number
- CN202411598271.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-08
- Publication Date
- 2025-03-11
AI Technical Summary
The existing method of message prompting through notification angle markers is not flexible enough, which may cause varying degrees of interference to the user's vision.
According to the number of unread messages of the target application, the target display parameters of the notification angle corresponding to the target application are determined, and the notification angle symbol is controlled to display with the target display parameters, thereby weakening the prompt effect of the notification angle symbol.
While displaying notification angle marks flexibly, it effectively reduces the interference of notification angle marks on user vision and improves the flexibility of notification angle marks to display.
Smart Images

Figure CN119597176A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a method, device, equipment and storage medium for displaying a notification message. Background Art
[0002] When receiving a message, most applications on electronic devices often prompt users to check the message by displaying a notification badge. However, the existing method of prompting messages through notification badges is usually not flexible enough and may cause varying degrees of interference to the user's vision. Summary of the invention
[0003] The present application provides a method, apparatus, device and storage medium for displaying notification messages, which can flexibly display notification corner marks while effectively reducing the interference of notification corner marks on user vision.
[0004] A first aspect of an embodiment of the present application provides a method for displaying a notification message, including:
[0005] Determine the target display parameter of the notification badge corresponding to the target application according to the status parameter of the unread messages of the target application; wherein the notification badge is used to display the number of the unread messages, the status parameter at least includes the number, and the larger the number indicated by the status parameter, the weaker the prompt effect of the notification badge displayed with the target display parameter;
[0006] The notification badge is controlled to be displayed according to the target display parameters.
[0007] A second aspect of an embodiment of the present application provides a device for displaying a notification message, the device comprising:
[0008] A determination unit, configured to determine a target display parameter of a notification badge corresponding to the target application according to a status parameter of unread messages of the target application; wherein the notification badge is used to display the number of the unread messages, the status parameter at least includes the number, and the larger the number indicated by the status parameter, the weaker the prompt effect of the notification badge displayed with the target display parameter;
[0009] The display unit is used to control the notification badge to be displayed with the target display parameters.
[0010] A third aspect of the embodiments of the present application provides an electronic device,
[0011] A memory storing executable program code;
[0012] and a processor coupled to the memory;
[0013] The processor calls the executable program code stored in the memory, and when the executable program code is executed by the processor, the processor implements the method disclosed in the first aspect of the embodiment of the present application.
[0014] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium having executable program code stored thereon. When the executable program code is executed by a processor, the method disclosed in the first aspect of the embodiment of the present application is implemented.
[0015] The fifth aspect of the embodiments of the present application discloses a computer program product. When the computer program product runs on a computer, the computer executes the method disclosed in the first aspect of the embodiments of the present application.
[0016] A sixth aspect of an embodiment of the present application discloses an application publishing platform, which is used to publish a computer program product. When the computer program product runs on a computer, the computer executes the method disclosed in the first aspect of the embodiment of the present application.
[0017] It can be seen from the above technical solutions that the embodiments of the present application have at least the following advantages:
[0018] Determine the target display parameters of the notification badge corresponding to the target application based on the status parameters of the unread messages of the target application; wherein the notification badge is used to display the number of unread messages, and the status parameters include at least the number, and the larger the number indicated by the status parameters, the weaker the prompt effect of the notification badge displayed with the target display parameters; control the notification badge to be displayed with the target display parameters.
[0019] By implementing this method, the target display parameters of the notification badge corresponding to the target application are determined at least according to the number of unread messages of the target application, and the notification badge corresponding to the target application is controlled to be displayed according to the determined target display parameters, wherein the greater the number of unread messages of the target application, the weaker the prompt effect of the notification badge displayed with the target display parameters determined based on the number, that is, the intensity of the prompt effect of the notification badge decreases with the increase of the number of unread messages, so that the notification badge can be flexibly displayed while effectively reducing the interference of the notification badge on the user's vision. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 It is a flowchart of the method for displaying notification messages disclosed in the embodiment of the present application;
[0021] Figure 2A It is a variation diagram of the notification corner mark disclosed in the embodiment of the present application;
[0022] Figure 2B It is another variation diagram of the notification corner mark disclosed in the embodiment of the present application;
[0023] Figure 2C It is another variation of the notification corner mark disclosed in the embodiment of the present application;
[0024] Figure 2D It is another variation of the notification corner mark disclosed in the embodiment of the present application;
[0025] Figure 2E It is another variation of the notification corner mark disclosed in the embodiment of the present application;
[0026] Figure 2F It is another variation of the notification corner mark disclosed in the embodiment of the present application;
[0027] Figure 3 It is another flowchart of the method for displaying a notification message disclosed in an embodiment of the present application;
[0028] Figure 4A It is another variation of the notification corner mark disclosed in the embodiment of the present application;
[0029] Figure 4B It is a diagram of an output interface of the first prompt information disclosed in the embodiment of the present application;
[0030] Figure 4C It is another illustration of the output interface of the first prompt information disclosed in the embodiment of the present application;
[0031] Figure 4D It is another illustration of the output interface of the first prompt information disclosed in the embodiment of the present application;
[0032] Figure 5 It is a structural diagram of a display device for notification messages disclosed in an embodiment of the present application;
[0033] Figure 6 It is a structural diagram of an electronic device disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0034] The present application provides a method, apparatus, device and storage medium for displaying notification messages, which can flexibly display notification corner marks while effectively reducing the interference of notification corner marks on user vision.
[0035] In order to make the technical personnel in the technical field better understand the scheme of the present application, the technical scheme in the embodiment of the present application will be described below in conjunction with the drawings in the embodiment of the present application. Obviously, the described embodiment is only a part of the embodiment of the present application, not all of the embodiments. Based on the embodiments in the present application, they should all fall within the scope of protection of the present application.
[0036] It should be noted that, in this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.
[0037] "At least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can mean: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c, where a, b, c can be single or plural.
[0038] Most electronic devices currently have the function of message prompts. When receiving messages, most applications on electronic devices can display a notification corner with a strong prompt effect on the desktop icon of the application or in the message notification bar corresponding to the application, such as a notification corner with a brighter color or a notification corner with a larger size, to prompt the user to check the message received by the application. If the user does not check the message received by the application, the notification corner with a strong prompt effect will usually be displayed on the desktop of the electronic device. As the number of applications in electronic devices continues to increase, the number of messages received by electronic devices also increases. In this way, the desktop of the electronic device is often filled with a large number of notification corners with a strong prompt effect. It can be seen that the existing method of using notification corners for message prompts is not flexible enough and may cause varying degrees of interference to the user's vision.
[0039] To solve this problem, the embodiments of the present application disclose a method, device, equipment and storage medium for displaying notification messages, which can effectively reduce the interference of notification corner marks on user vision while flexibly displaying notification corner marks. Among them, the method for displaying notification messages may include: determining the target display parameters of the notification corner mark corresponding to the target application at least according to the number of unread messages of the target application, and controlling the notification corner mark corresponding to the target application to display according to the determined target display parameters, wherein the larger the number of unread messages of the target application, the weaker the prompt effect of the notification corner mark displayed with the target display parameters determined based on the number, that is, the intensity of the prompt effect of the notification corner mark decreases with the increase in the number of unread messages, while realizing the flexible display of the notification corner mark, it also effectively reduces the interference of the notification corner mark on user vision.
[0040] It should be noted that the execution subject of the notification message display method disclosed in the embodiment of the present application can be an electronic device, which can include a general handheld screen electronic device, such as a mobile phone, a smart phone, a portable terminal, a terminal, a personal digital assistant (PDA), a portable multimedia player (Personal Media Player, PMP) device, a laptop computer, a notebook (Note Pad), a wireless broadband (Wireless Broadband, Wibro) terminal, a tablet computer (Personal Computer, PC) and a smart PC, etc.
[0041] Electronic devices may also include wearable devices. Wearable devices are portable electronic devices that can be worn directly on the user or integrated into the user's clothes or accessories. Wearable devices are not just hardware devices, but can also achieve powerful intelligent functions through software support, data interaction, and cloud server interaction, such as: computing function, positioning function, and alarm function. They can also be connected to mobile phones and various terminals. Wearable devices may include but are not limited to watches supported by the wrist (such as watches, wrists, etc.), shoes supported by the feet (such as shoes, socks, or other products worn on the legs), glasses supported by the head (such as glasses, helmets, headbands, etc.), as well as smart clothing, school bags, crutches, accessories and other non-mainstream product forms.
[0042] The following describes a method for displaying a notification message according to an embodiment of the present application in conjunction with a specific embodiment.
[0043] See also Figure 1 , Figure 1 FIG. 1 is a flowchart of a method for displaying a notification message disclosed in an embodiment of the present application. Figure 1The method for displaying the notification message shown may include the following steps:
[0044] 101. The electronic device determines a target display parameter of a notification badge corresponding to a target application according to a status parameter of an unread message of the target application; wherein the status parameter includes at least a quantity.
[0045] In the embodiment of the present application, the target application may be any application installed on the electronic device, may be a third-party application, or may be a system application, and the embodiment of the present application does not limit this.
[0046] Among them, the notification badge corresponding to the target application can be used to display the number of unread messages received by the target application. It can be understood that the display of the notification badge corresponding to the target application is to prompt the user to check the unread messages of the target application.
[0047] In the implementation of this application, the notification badge corresponding to the target application can be a notification badge displayed on the desktop icon of the target application, or it can be a notification badge displayed in the message notification bar corresponding to the target application, and the embodiment of this application is not limited.
[0048] In some embodiments, the state parameter of the unread messages of the target application may include the number of unread messages of the target application. The larger the number indicated by the state parameter, the weaker the prompt effect of the notification corner displayed with the target display parameter determined by the state parameter, and the less visual interference to the user.
[0049] It should be noted that the greater the number of unread messages, the lower the user's interest in the messages received by the target application, and the probability of the user viewing the unread messages of the target application in the future is smaller. The electronic device can change the display parameters of the notification badge of the target application to weaken the prompt effect of the notification badge of the target application to reduce the visual interference to the user.
[0050] Optionally, when the state parameter of the unread messages of the target application includes the number of unread messages of the target application, the electronic device determines the target display parameter of the notification badge corresponding to the target application according to the state parameter of the unread messages of the target application, which may include:
[0051] The electronic device determines a target number interval in which the number of unread messages of the target application falls;
[0052] The electronic device determines the display parameters matching the target quantity interval as the target display parameters of the notification badge corresponding to the target application.
[0053] It is understandable that the electronic device may be pre-set with multiple preset number intervals and display parameters matching each preset number interval, the target number interval is one of the preset number intervals, and the target display parameter is the display parameter matching the preset number interval. The larger the value of the preset number interval, the weaker the prompt effect of the notification badge corresponding to the display parameter matching it.
[0054] Exemplarily, the preset number intervals may include 1-9, 10-99, and 100-100+, wherein the display parameters matching the preset number interval 1-9 have the strongest display effect of the corresponding notification badge, the display parameters matching the preset number interval 10-99 have the second strongest display effect of the corresponding notification badge, and the display parameters matching the preset number interval 100-100+ have the weakest display effect of the corresponding notification badge.
[0055] In the embodiment of the present application, the electronic device determines the target display parameters based on the number of unread messages and the correspondence between the preset number interval and the display parameters, which is conducive to improving the efficiency of determining the target display parameters.
[0056] In some embodiments, the state parameter of the unread messages of the target application may include the number of unread messages of the target application and the duration of the unread messages. The larger the number indicated by the state parameter and the longer the duration of the unread messages indicated by the state parameter, the weaker the prompt effect of the notification corner displayed by the target display parameter determined by the state parameter, and the less visual interference to the user.
[0057] The continuous unchecked time may refer to the time interval from the earliest received unread message to the current time, or the time interval from the nth received unread message to the current time, where n is greater than or equal to 2.
[0058] It should be noted that the more unread messages there are and the longer the time that the unread messages have not been checked, the more accurately it can be explained that the user is less interested in the messages received by the target application, and the probability of the user checking the unread messages of the target application in the future is smaller. The electronic device can then change the display parameters of the notification badge of the target application to weaken the prompt effect of the notification badge of the target application and reduce the visual interference to the user.
[0059] In some embodiments, when the state parameters of the unread messages of the target application include the number of unread messages of the target application and the duration of continuous non-viewing, the electronic device determines the target display parameters of the notification badge corresponding to the target application according to the state parameters of the unread messages of the target application, which may include:
[0060] The electronic device determines a target duration interval of a continuous non-viewing duration of unread messages of a target application, and acquires a first display parameter matching the target duration interval;
[0061] The electronic device determines a target number interval in which the number of unread messages of the target application is located, and acquires a second display parameter matching the target number interval;
[0062] The electronic device determines a target display parameter of a notification badge corresponding to a target application according to the first display parameter and the second display parameter.
[0063] It should be noted that, for the determination of the first display parameter, reference may be made to the above related introduction, which will not be repeated here.
[0064] It is understandable that the electronic device may be pre-set with multiple preset duration intervals, and the target duration interval is one of the preset duration intervals. Exemplarily, the preset duration intervals may include t1, t2, t3 and t4, and t1<t2<t3<t4, wherein the display parameters matching the preset duration interval t1 correspond to the strongest display effect of the notification corner mark, the display parameters matching the preset duration interval t2 correspond to the second strongest display effect of the notification corner mark, the display parameters matching the preset duration interval t3 correspond to the second weakest display effect of the notification corner mark, and the display parameters matching the preset duration interval t4 correspond to the weakest display effect of the notification corner mark.
[0065] Optionally, the electronic device determines the target display parameters of the notification badge corresponding to the target application based on the first display parameter and the second display parameter, which may include: the electronic device uses the first display parameter to multiply the first weight coefficient to obtain third display data, and uses the second display parameter to multiply the second weight coefficient to obtain fourth display data, and sums the third display data and the fourth display data to obtain the target display parameters of the notification badge corresponding to the target application.
[0066] It should be noted that, when the display parameters of the notification badge include multiple parameters, the first display parameter is multiplied by the first weight coefficient, which means that each display parameter in the first display parameter is multiplied by the first weight coefficient. Similarly, the second display parameter and the second weight coefficient are similar, which will not be repeated here.
[0067] The first weight coefficient and the second weight coefficient may be the same or different, which is not limited in the embodiment of the present application. When the first weight coefficient and the second weight coefficient are different, the first weight coefficient may be greater than the second weight coefficient or less than the second weight coefficient.
[0068] In an embodiment of the present application, the electronic device determines the target display parameters based on the number of unread messages, the correspondence between the preset number interval and the display parameters, the continuous unchecked time of the unread messages, and the correspondence between the preset time interval and the display parameters, and provides a multi-dimensional method for determining the target display parameters, which makes the determination of the target display parameters more flexible, thereby further improving the display flexibility of the notification badge.
[0069] In an embodiment of the present application, the display parameters of the notification badge may include but are not limited to at least one of the following: color type, saturation of the specified color, size, and transparency.
[0070] The color type can be used to indicate the display color of the notification badge, wherein the more eye-catching the display color is, the stronger the corresponding prompt effect is, and vice versa, the less eye-catching the display color is, the weaker the corresponding prompt effect is. For example, the prompt effect corresponding to a red notification badge is stronger than the prompt effect corresponding to a blue notification badge.
[0071] The saturation of the specified color may indicate the vividness of the specified color in the color space. The greater the saturation of the specified color, the stronger the corresponding prompt effect. Conversely, the smaller the saturation of the specified color, the weaker the corresponding prompt effect.
[0072] The size indication may be the area size of the notification corner mark. The larger the size of the notification corner mark, the stronger the corresponding prompt effect. Conversely, the smaller the size of the notification corner mark, the weaker the corresponding prompt effect.
[0073] Transparency indicates the degree to which the notification badge visually obscures the background below it. The transparency value is between 0 (completely opaque) and 1 (completely transparent). The smaller the transparency value of the notification badge, the stronger the corresponding prompt effect. Conversely, the larger the transparency value of the notification badge, the weaker the corresponding prompt effect.
[0074] 102. The electronic device control notification badge is displayed with the target display parameters.
[0075] When the notification badge corresponding to the target application is a notification badge displayed on the desktop icon of the target application, the electronic device controls the notification badge to be displayed on the desktop icon of the target application with the target display parameter.
[0076] When the notification badge corresponding to the target application is the notification badge displayed in the message notification bar corresponding to the target application, the electronic device controls the notification badge to be displayed in the message notification bar of the target application with the target display parameters.
[0077] For example, when the notification badge corresponding to the target application is a notification badge displayed on the desktop icon of the target application, the change diagram of the notification badge can refer to the following Figure 2A-2C .
[0078] like Figure 2A As shown, the number of unread messages accumulated by application 1 at the beginning is 5, and a notification badge 201 is displayed on the desktop icon of application 1. The number of unread messages displayed on the notification badge 201 is 5, and the color of the notification badge 201 is red. Figure 2A As shown in the interface diagram on the left, after time period T1, the number of unread messages accumulated by application 1 is 25, the number of unread messages displayed on notification badge 201 changes to 25, and the color of notification badge 201 changes to blue, as shown in FIG. Figure 2A As shown in the middle interface diagram, after time period T2, the number of unread messages accumulated by application 1 is 100, the number of unread messages displayed on notification badge 201 becomes 100, and the color of notification badge 201 becomes purple, as shown in FIG. Figure 2A The interface is shown on the right.
[0079] like Figure 2B As shown, the number of unread messages accumulated by application 1 at the beginning is 5, and a notification badge 201 is displayed on the desktop icon of application 1. The number of unread messages displayed on the notification badge 201 is 5, and the size of the notification badge 201 is the first size, such as Figure 2B As shown in the interface diagram on the left, after time period T1, the number of unread messages accumulated by application 1 is 25, the number of unread messages displayed on notification badge 201 changes to 25, and the size of notification badge 201 changes to the second size, as shown in FIG. Figure 2B As shown in the middle interface diagram, after time period T2, the number of unread messages accumulated by application 1 is 100, the number of unread messages displayed on notification badge 201 becomes 100, and the size of notification badge 201 becomes the third size, as shown in FIG. Figure 2B The interface is shown on the right.
[0080] like Figure 2C As shown, the number of unread messages accumulated by application 1 at the beginning is 5, and a notification badge 201 is displayed on the desktop icon of application 1. The number of unread messages displayed on the notification badge 201 is 5, and the transparency of the notification badge 201 is the first transparency, such as Figure 2C As shown in the interface diagram on the left, after time period T1, the number of unread messages accumulated by application 1 is 25, the number of unread messages displayed on notification badge 201 becomes 25, and the transparency of notification badge 201 becomes the second transparency, as shown in FIG. Figure 2C As shown in the middle interface diagram, after time period T2, the number of unread messages accumulated by application 1 is 100, the number of unread messages displayed on notification badge 201 becomes 100, and the transparency of notification badge 201 becomes the third transparency, as shown in FIG. Figure 2C The interface is shown on the right.
[0081] For example, when the notification badge corresponding to the target application is a notification badge displayed in the message notification bar corresponding to the target application, the change diagram of the notification badge can refer to the following Figure 2D-2F .
[0082] like Figure 2D As shown, the number of unread messages accumulated by application 1 at the beginning is 5, and a notification badge 201 is displayed in the message notification bar 20 corresponding to application 1. The number of unread messages displayed on the notification badge 201 is 5, and the color of the notification badge 201 is red. Figure 2D As shown in the interface diagram on the left, after time period T1, the number of unread messages accumulated by application 1 is 25, the number of unread messages displayed on notification badge 201 changes to 25, and the color of notification badge 201 changes to blue, as shown in FIG. Figure 2D As shown in the middle interface diagram, after time period T2, the number of unread messages accumulated by application 1 is 100, the number of unread messages displayed on notification badge 201 becomes 100, and the color of notification badge 201 becomes purple, as shown in FIG. Figure 2D The interface is shown on the right.
[0083] like Figure 2E As shown, the number of unread messages accumulated by application 1 at the beginning is 5, and a notification badge 201 is displayed in the message notification bar 20 corresponding to application 1. The number of unread messages displayed on the notification badge 201 is 5, and the size of the notification badge 201 is the first size, such as Figure 2E As shown in the interface diagram on the left, after time period T1, the number of unread messages accumulated by application 1 is 25, the number of unread messages displayed on notification badge 201 changes to 25, and the size of notification badge 201 changes to the second size, as shown in FIG. Figure 2B As shown in the middle interface diagram, after time period T2, the number of unread messages accumulated by application 1 is 100, the number of unread messages displayed on notification badge 201 becomes 100, and the size of notification badge 201 becomes the third size, as shown in FIG. Figure 2E The interface is shown on the right.
[0084] like Figure 2F As shown, the number of unread messages accumulated by application 1 at the beginning is 5, and a notification badge 201 is displayed in the message notification bar 20 corresponding to application 1. The number of unread messages displayed on the notification badge 201 is 5, and the transparency of the notification badge 201 is the first transparency, such as Figure 2F As shown in the interface diagram on the left, after time period T1, the number of unread messages accumulated by application 1 is 25, the number of unread messages displayed on notification badge 201 becomes 25, and the transparency of notification badge 201 becomes the second transparency, as shown in FIG. Figure 2FAs shown in the middle interface diagram, after time period T2, the number of unread messages accumulated by application 1 is 100, the number of unread messages displayed on notification badge 201 becomes 100, and the transparency of notification badge 201 becomes the third transparency, as shown in FIG. Figure 2F The interface is shown on the right.
[0085] It should be noted that Figure 2A-2F The shape of the notification badge 201 in the interface diagram on the right is only an example. In some embodiments, the shape of the notification badge 201 may also be circular. That is to say, as the number of digits in the message increases, the shape of the notification badge 201 may change or may not change, and the embodiments of the present application do not limit this.
[0086] By implementing Figure 1 According to the method shown, the electronic device determines the target display parameters of the notification badge corresponding to the target application at least based on the number of unread messages of the target application, and controls the notification badge corresponding to the target application to be displayed according to the determined target display parameters, wherein the greater the number of unread messages of the target application, the weaker the prompt effect of the notification badge displayed with the target display parameters determined based on the number, that is, the intensity of the prompt effect of the notification badge decreases with the increase of the number of unread messages, so that the notification badge can be flexibly displayed while effectively reducing the interference of the notification badge on the user's vision.
[0087] See also Figure 3 , Figure 3 FIG. 1 is another flowchart of the method for displaying notification messages disclosed in the embodiment of the present application. Figure 3 The method for displaying the notification message shown may include the following steps:
[0088] 301. The electronic device determines a target display parameter of a notification badge corresponding to a target application according to a status parameter of an unread message of the target application; wherein the status parameter includes at least a quantity.
[0089] Among them, for the explanation of the target application, status parameters, notification badge and target display parameters, please refer to the relevant description in the above embodiment, which will not be repeated here.
[0090] In some embodiments, the target application may also be an application selected from a plurality of applications that allow message notification according to a preset rule.
[0091] Optionally, the electronic device determines the usage frequency of each application in the multiple applications that allow message notification within a specified time period, and determines an application in the multiple applications that allow message notification whose usage frequency is lower than a frequency threshold as a target application.
[0092] The specified duration may be the most recent week, the most recent month, or the most recent quarter, etc., and is not limited in the embodiments of the present application.
[0093] In the embodiment of the present application, the frequency threshold may be set when the electronic device leaves the factory, or may be set independently by the user, and the embodiment of the present application does not limit this.
[0094] It should be noted that the target application is used less frequently within a specified period of time, indicating that the user is less interested in the target application. The electronic device then sets the prompt effect of the notification badge corresponding to the target application, which can weaken as the number of unread messages of the target application increases, or as the number of unread messages of the target application and the duration of continuous non-viewing increase. This not only reduces the interference of the notification badge corresponding to the target application on the user's vision, but also makes the prompt for the notification message more personalized.
[0095] Optionally, the electronic device determines the application type of each application among multiple applications that allow message notification, and determines the application corresponding to the target application type as the target application; wherein the target application type may be entertainment type, shopping type or other types.
[0096] It should be noted that when the target application is an entertainment application or a shopping application, the messages received by the target application are usually less important to the user. The electronic device sets the prompt effect of the notification corner mark corresponding to the target application, which can be weakened as the number of unread messages of the target application increases, or as the number of unread messages of the target application and the continuous unchecked time increase. This not only reduces the interference of the notification corner mark corresponding to the target application on the user's vision, but also makes the prompt for the notification message more intelligent.
[0097] In some embodiments, the target application may include multiple applications with unread messages in the same folder, and the continuous unchecked duration of the unread messages of the target application is the shortest continuous unchecked duration of the unread messages of each application, or the average continuous unchecked duration of the unread messages of each application; the number of unread messages of the target application is the sum of the number of unread messages of each application.
[0098] It is understandable that the notification badge corresponding to the target application may be the notification badge displayed on the desktop icon of the folder.
[0099] It should be noted that, for the same display parameter, when the target application includes multiple applications, the status parameter of the unread message is greater than the status parameter when the target application is only one application.
[0100] In an embodiment of the present application, the electronic device also flexibly displays the notification corner mark of the folder, which can further reduce the visual interference to the user.
[0101] 302. The electronic device controls the notification badge to be displayed with the target display parameters.
[0102] It should be noted that when the target application is one application, the display of the notification badge can refer to the relevant description in the above embodiment. Figure 4A Provide explanation.
[0103] In the case where the notification badge corresponding to the target application is a notification badge displayed on the desktop icon of the folder, for example, the change diagram of the notification badge can be referred to as follows Figure 4A , the number of unread messages accumulated in folder 1 is 50 at the beginning, and a notification badge 201 is displayed in the message notification bar corresponding to application 1. The number of unread messages displayed on the notification badge 201 is 50, and the transparency of the notification badge 201 is the first transparency. Figure 4A As shown in the interface diagram on the left, after time period T1, the number of unread messages accumulated in folder 1 is 200, the number of unread messages displayed on notification badge 201 changes to 200, and the transparency of notification badge 201 changes to the second transparency, as shown in FIG. Figure 4A As shown in the middle interface diagram, after time period T1, the number of unread messages accumulated in folder 1 is 500, the number of unread messages displayed on notification badge 201 becomes 500, and the transparency of notification badge 201 is the third transparency, as shown in FIG. Figure 4A The interface is shown on the right.
[0104] 303. When the status parameter of the unread messages of the target application is greater than or equal to the first parameter threshold, the electronic device outputs a first prompt message, where the first prompt message is used to prompt the user to hide the notification badge or view the unread messages of the target application.
[0105] When the status parameter is quantity, the status parameter of the target application's unread messages is greater than or equal to the first parameter threshold, which means that the number of the target application's unread messages is greater than or equal to the first quantity threshold. Exemplarily, the first quantity threshold is 500.
[0106] When the status parameter includes quantity and continuous non-viewing duration, the status parameter of the unread messages of the target application is greater than or equal to the first parameter threshold, which means that the number of unread messages of the target application is greater than or equal to the first quantity threshold, and the continuous non-viewing duration of the target unread messages is greater than or equal to the first duration threshold.
[0107] It should be noted that the following mainly uses the state parameter as a quantity to exemplify the output of the first prompt information.
[0108] In some embodiments, the first prompt information may include but is not limited to any of the following:
[0109] Indication information for indicating that the number of unread messages is greater than or equal to a first number threshold and a first control for triggering hiding of a notification badge;
[0110] Indication information for indicating that the number of unread messages is greater than or equal to a first number threshold and a second control for triggering viewing of unread information of a target application;
[0111] Indication information for indicating that the number of unread messages is greater than or equal to a first number threshold, a first control for triggering hiding of a notification badge, and a second control for triggering viewing of unread information of a target application.
[0112] In some embodiments, the electronic device may output the first prompt information in the following ways, including but not limited to:
[0113] When the notification badge of the target application is displayed on a desktop icon (including an application desktop icon and a folder desktop icon), the first prompt information may be output in the form of a pop-up window or a message notification bar.
[0114] When the notification badge of the target application is displayed in the message notification bar corresponding to the target application, the first prompt information may be output in the message notification bar.
[0115] For example, when the notification badge is displayed on the desktop icon of the target application and the first prompt information is displayed in a pop-up window, the interface diagram can be referred to as Figure 4B ,like Figure 4B The interface shown includes a notification badge 201 and a pop-up window 202; wherein, the notification badge 201 is displayed on the desktop icon of application 1, the transparency of the notification badge 201 is the third transparency, the notification badge 201 displays that the number of unread messages of application 1 is 500, and the pop-up window 202 includes indication information for indicating that the number of unread messages is greater than the first quantity threshold, a first control 2021 for triggering the hiding of the notification badge, and a second control 2022 for triggering the viewing of the unread information of the target application.
[0116] For example, when the notification badge is displayed on the desktop icon of the target application and the first prompt information is displayed in the message notification bar, if the number of unread messages of application 1 is 500, the electronic device displays the message notification bar 30 corresponding to application 1 on the desktop of the electronic device, such as Figure 4C As shown, the message notification bar 30 corresponding to application 1 displays indication information for indicating that the number of unread messages is greater than a first number threshold, a first control 3001 for triggering hiding of the notification badge, and a second control 3002 for triggering viewing of unread information of the target application.
[0117] For example, when the notification badge is displayed in the message notification bar of the target application and the first prompt information is displayed in the message notification bar, the interface diagram can refer to Figure 4D ,like Figure 4D The interface shown includes a message notification bar 20 corresponding to application 1, which displays a notification badge 201, indication information indicating that the number of unread messages is greater than a first quantity threshold, a first control 2001 for triggering the hiding of the notification badge, and a second control 2002 for triggering the viewing of unread information of the target application; wherein the transparency of the notification badge 201 is the third transparency, and the notification badge 201 displays that the number of unread messages of application 1 is 500.
[0118] In some embodiments, the electronic device may also hide the notification badge corresponding to the target application when the status parameter of the unread messages of the target application is greater than or equal to the second parameter threshold.
[0119] The second parameter threshold may be the same as or different from the first parameter threshold. For the explanation of the unread message status parameter being greater than or equal to the second parameter threshold, please refer to the above explanation of the unread message status parameter being greater than or equal to the first parameter threshold, which will not be repeated here.
[0120] In an embodiment of the present application, hiding the notification badge corresponding to the target application may include: the electronic device prohibiting display of the notification badge corresponding to the target application, or the electronic device adjusting the transparency value of the notification badge corresponding to the target application to 1 (completely transparent).
[0121] It should be noted that when the notification badge corresponding to the target application is hidden, the prompt information for unread messages in the application interface of the target application may still exist, and the number of unread messages indicated by the notification badge is reset to zero and the count starts again.
[0122] It can be understood that if the status parameter of the unread messages of the target application is greater than or equal to the second parameter threshold, it means that the user is less interested in the unread messages of the target application. The electronic device then automatically hides the notification badge corresponding to the target application without user intervention, thereby realizing intelligent cleaning of the notification badge and further reducing visual interference to the user.
[0123] In some embodiments, the electronic device may also output a second prompt message when the status parameter of the unread messages of the target application is greater than or equal to a third parameter threshold, and the second prompt message is used to prompt the user to set the target application as an application that does not allow message notifications.
[0124] The third parameter threshold and the first parameter threshold may be the same or different. For the explanation of the unread message status parameter being greater than or equal to the third parameter threshold, please refer to the above explanation of the unread message status parameter being greater than or equal to the first parameter threshold, which will not be repeated here.
[0125] In some embodiments, the second prompt information may include but is not limited to any of the following:
[0126] Instruction information for prompting the user to set the target application as an application that does not allow message notifications;
[0127] Indication information for prompting the user to set the target application as an application that does not allow message notifications, and a third control for triggering the display of a settings interface for message notifications.
[0128] It can be understood that if the status parameter of the unread messages of the target application is greater than or equal to the third parameter threshold, it means that the user is less interested in the unread messages of the target application. The electronic device then outputs a second prompt message to prompt the user to set the target application as an application that does not allow message notifications. The user can be guided to set the message notifications of the application in a personalized manner.
[0129] By implementing Figure 3 According to the method shown, the electronic device determines the target display parameters of the notification badge corresponding to the target application based on at least the number of unread messages of the target application, and controls the notification badge corresponding to the target application to be displayed according to the determined target display parameters, wherein the greater the number of unread messages of the target application, the weaker the prompt effect of the notification badge displayed with the target display parameters determined based on the number, that is, the intensity of the prompt effect of the notification badge decreases as the number of unread messages increases, which can effectively reduce the interference of the notification badge on the user's vision while flexibly displaying the notification badge. In addition, when the status parameters of the unread messages meet certain conditions, the electronic device can also output prompt information so that the user can handle the unread messages in time.
[0130] See also Figure 5 , Figure 5 FIG. 1 is a structural diagram of a display device for notification messages disclosed in an embodiment of the present application. Figure 5 The display device of the notification message shown may include a determination unit 501 and a display unit 502; wherein:
[0131] The determining unit 501 is used to determine the target display parameter of the notification badge corresponding to the target application according to the status parameter of the unread messages of the target application; wherein the notification badge is used to display the number of the unread messages, and the status parameter at least includes the number, and the larger the number indicated by the status parameter, the weaker the prompt effect of the notification badge displayed with the target display parameter;
[0132] The display unit 502 is used to control the notification badge to be displayed according to the target display parameters.
[0133] In some embodiments, the status parameter includes a quantity, and the determination unit 501 is used to determine the target display parameters of the notification badge corresponding to the target application based on the status parameters of the unread messages of the target application. Specifically, the determination unit 501 is used to determine the target quantity interval in which the number of unread messages of the target application is located; and determine the display parameters that match the target quantity interval as the target display parameters of the notification badge corresponding to the target application.
[0134] In some embodiments, the status parameter includes a quantity and a continuous non-viewing time. The larger the quantity indicated by the status parameter and the longer the continuous non-viewing time indicated by the status parameter, the weaker the prompt effect of the notification badge displayed with the target display parameter.
[0135] In some embodiments, the determination unit 501 is used to determine the target display parameters of the notification badge corresponding to the target application based on the status parameters of the unread messages of the target application, which may specifically include: the determination unit 501 is used to determine the target duration interval of the continuous unviewed duration of the unread messages of the target application, and obtain a first display parameter that matches the target duration interval; and, determine the target number interval of the number of unread messages of the target application, and obtain a second display parameter that matches the target number interval; and, based on the first display parameter and the second display parameter, determine the target display parameters of the notification badge corresponding to the target application.
[0136] In some embodiments, the target application includes multiple applications with unread messages in the same folder, and the continuous unchecked duration of the unread messages of the target application is the shortest continuous unchecked duration of the unread messages of each application, or the average continuous unchecked duration of the unread messages of each application; the number of unread messages of the target application is the sum of the number of unread messages of each application.
[0137] In some embodiments, the target display parameter includes at least one of the following: color type, saturation of a specified color, size, and transparency.
[0138] In some embodiments, Figure 5 The device shown may also include a prompt unit (not shown in the figure), which is used to output a first prompt message when the status parameter of the unread messages of the target application is greater than or equal to a first parameter threshold. The first prompt message is used to prompt the user to hide the notification badge or view the unread messages of the target application.
[0139] In some embodiments, the display unit 502 is further configured to hide the notification badge corresponding to the target application when the status parameter of the unread messages of the target application is greater than or equal to a second parameter threshold.
[0140] In some embodiments, the prompt unit is further used to output a second prompt message when a status parameter of unread messages of the target application is greater than or equal to a third parameter threshold, wherein the second prompt message is used to prompt the user to set the target application as an application that does not allow message notifications.
[0141] In some embodiments, the determination unit 501 is also used to determine the usage frequency of each application in a plurality of applications that allow message notifications within a specified time period before determining the target display parameters of the notification badge corresponding to the target application based on the status parameters of the unread messages of the target application; and determine, as the target application, an application whose usage frequency is lower than a frequency threshold among the plurality of applications that allow message notifications.
[0142] In some embodiments, the determination unit 501 is also used to determine the application type of each application in multiple applications that allow message notifications before determining the target display parameters of the notification badge corresponding to the target application based on the status parameters of the unread messages of the target application; determine the application corresponding to the target application type as the target application; wherein the target application type is an entertainment type or a shopping type.
[0143] See also Figure 6 , Figure 6 FIG. 1 is a structural diagram of an electronic device disclosed in an embodiment of the present application. Figure 6 The electronic device shown may include components such as a processor 601 , a memory 602 , a display unit 603 , an input unit 604 , a sensor 605 , an audio circuit 6806 , and the like.
[0144] The processor 601 is the control center of the electronic device, which uses various interfaces and lines to connect various parts of the entire electronic device, and executes various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 602, and calling data stored in the memory 602, so as to monitor the electronic device as a whole. Optionally, the processor 601 may include one or more processing units; optionally, the processor 601 may integrate an application processor, which mainly processes operating devices, user interfaces, and application programs, etc. Of course, other processors may also be included, which are not listed here one by one.
[0145] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and data processing of the electronic device by running the software programs and modules stored in the memory 602. The memory 602 can mainly include a program storage area and a data storage area, wherein the program storage area can store operating devices, at least one application required for a function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the electronic device (such as audio data, a phone book, etc.), etc. In addition, the memory 602 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0146] The display unit 603 can be used to display information input by the user or information provided to the user and various menus of the electronic device. The display unit 603 may include a display panel. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch panel may cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 601 to determine the type of touch event. Then, the processor 601 provides a corresponding visual output on the display panel according to the type of touch event. Among them, the touch panel and the display panel are not in contact with each other. Figure 6 The touch panel and the display panel can be used as two independent components to realize the input and output functions of the electronic device, or the touch panel and the display panel can be integrated to realize the input and output functions of the electronic device.
[0147] The input unit 604 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the input unit 604 may include a touch panel and other input devices. A touch panel, also referred to as a touch screen, can collect user touch operations on or near it (such as operations performed by a user using any suitable object or accessory such as a finger, stylus, etc. on or near the touch panel), and drive the corresponding connection device according to a pre-set program. In addition, a variety of types such as resistive, capacitive, infrared, and surface acoustic waves can be used to implement the touch panel. In addition to the touch panel, the input unit 604 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of function keys (such as volume control keys, switch keys, etc.), trackballs, joysticks, etc.
[0148] The electronic device may also include at least one sensor 605, such as a magnetometer, a gyroscope sensor, a motion sensor, and other sensors. Specifically, the magnetometer is used to determine the orientation of the electronic device, and the gyroscope sensor can be used to determine the motion posture of the electronic device. It can be used for anti-shake shooting, and can also be used for navigation and somatosensory game scenes. As a type of motion sensor, the acceleration sensor can detect the magnitude of acceleration in all directions, and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the electronic device, such as horizontal and vertical screen switching, related games, magnetometer posture calibration, etc.; as for other sensors that the electronic device can also be configured with, such as pressure gauges, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.
[0149] The audio circuit 6806 may include a speaker and a microphone, and may provide an audio interface between a user and an electronic device. The audio circuit 6806 may transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 6806 and converted into audio data, and then the audio data is output to the processor 601 for processing, and then sent to another device through the video circuit, or the audio data is output to the memory 602 for further processing.
[0150] Although not shown, the electronic device may further include a power supply and a camera. Optionally, the camera may be located at the front or rear of the electronic device, which is not limited in the present embodiment.
[0151] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0152] In the embodiment of the present application, the processor 601 also has the following functions:
[0153] Determine the target display parameter of the notification badge corresponding to the target application according to the status parameter of the unread messages of the target application; wherein the notification badge is used to display the number of the unread messages, the status parameter at least includes the number, and the larger the number indicated by the status parameter, the weaker the prompt effect of the notification badge displayed with the target display parameter;
[0154] The notification badge is controlled to be displayed according to the target display parameters.
[0155] In the embodiment of the present application, the state parameter includes quantity, and the processor 601 also has the following functions:
[0156] Determine a target number interval within which the number of unread messages of the target application falls;
[0157] The display parameters matching the target quantity interval are determined as target display parameters of the notification badge corresponding to the target application.
[0158] In an embodiment of the present application, the status parameters include quantity and continuous non-viewing time. The larger the quantity indicated by the status parameter and the longer the continuous non-viewing time indicated by the status parameter, the weaker the prompt effect of the notification badge displayed with the target display parameter.
[0159] In the embodiment of the present application, the processor 601 also has the following functions:
[0160] Determine a target duration interval for a continuous non-viewing duration of unread messages of a target application, and obtain a first display parameter matching the target duration interval;
[0161] Determine a target number interval in which the number of unread messages of the target application is located, and obtain a second display parameter matching the target number interval;
[0162] A target display parameter of the notification badge corresponding to the target application is determined according to the first display parameter and the second display parameter.
[0163] In an embodiment of the present application, the target application includes multiple applications that have unread messages in the same folder, and the continuous unchecked duration of the unread messages of the target application is the shortest continuous unchecked duration of the unread messages of each application, or the average continuous unchecked duration of the unread messages of each application; the number of unread messages of the target application is the sum of the number of unread messages of each application.
[0164] In the embodiment of the present application, the target display parameter includes at least one of the following: color type, saturation, size and transparency of a specified color.
[0165] In the embodiment of the present application, the processor 601 also has the following functions:
[0166] When the status parameter of the unread messages of the target application is greater than or equal to the first parameter threshold, a first prompt message is output, where the first prompt message is used to prompt the user to hide the notification badge or view the unread messages of the target application.
[0167] In the embodiment of the present application, the processor 601 also has the following functions:
[0168] When the status parameter of the unread messages of the target application is greater than or equal to the second parameter threshold, the notification badge corresponding to the target application is hidden.
[0169] In the embodiment of the present application, the processor 601 also has the following functions:
[0170] When the state parameter of the unread messages of the target application is greater than or equal to the third parameter threshold, a second prompt information is output, where the second prompt information is used to prompt the user to set the target application as an application that does not allow message notifications.
[0171] In the embodiment of the present application, the processor 601 also has the following functions:
[0172] Determine the usage frequency of each of the plurality of applications that allow message notifications within a specified time period;
[0173] Among the multiple applications that are allowed to be notified by the message, an application whose usage frequency is lower than a frequency threshold is determined as a target application.
[0174] In the embodiment of the present application, the processor 601 also has the following functions:
[0175] Determining an application type for each of the plurality of applications that allow message notifications;
[0176] An application corresponding to the target application type is determined as the target application; wherein the target application type is an entertainment type or a shopping type.
[0177] An embodiment of the present application discloses a computer-readable storage medium having executable program code stored thereon. When the executable program code is executed by a processor, the method executed by the electronic device in the embodiment of the present application is implemented.
[0178] The embodiment of the present application discloses a computer program product. When the computer program product is executed on a computer, the computer implements the method executed by the electronic device in the embodiment of the present application.
[0179] An embodiment of the present application discloses an application publishing platform, which is used to publish a computer program product. When the computer program product runs on a computer, the computer implements the method executed by the electronic device in the embodiment of the present application.
[0180] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium, storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.
[0181] It should be understood that "one embodiment" or "an embodiment" or "some embodiments" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in one embodiment" or "in some embodiments" appearing throughout the specification may not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments. The above description of each embodiment tends to emphasize the differences between the various embodiments, and the same or similar aspects can be referenced to each other. For the sake of brevity, this article will not repeat them.
[0182] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, object A and / or object B can represent three situations: object A exists alone, object A and object B exist at the same time, and object B exists alone.
[0183] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0184] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as: multiple modules or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or modules can be electrical, mechanical or other forms.
[0185] The modules described above as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules; they may be located in one place or distributed on multiple network units; some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0186] In addition, all functional modules in the embodiments of the present application may be integrated into one processing unit, or each module may be a separate unit, or two or more modules may be integrated into one unit; the above-mentioned integrated modules may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0187] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.
[0188] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling an electronic device to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0189] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0190] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0191] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0192] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for displaying a notification message, characterized in that: include: Determine the target display parameter of the notification badge corresponding to the target application according to the status parameter of the unread messages of the target application; wherein the notification badge is used to display the number of the unread messages, the status parameter at least includes the number, and the larger the number indicated by the status parameter, the weaker the prompt effect of the notification badge displayed with the target display parameter; The notification badge is controlled to be displayed according to the target display parameters.
2. The method according to claim 1, characterized in that The state parameter includes a quantity, and determining the target display parameter of the notification badge corresponding to the target application according to the state parameter of the unread message of the target application includes: Determine a target number interval within which the number of unread messages of the target application falls; The display parameters matching the target quantity interval are determined as target display parameters of the notification badge corresponding to the target application.
3. The method according to claim 1, characterized in that The status parameter includes a quantity and a continuous non-viewing time. The larger the quantity indicated by the status parameter and the longer the continuous non-viewing time indicated by the status parameter, the weaker the prompt effect of the notification badge displayed with the target display parameter.
4. The method according to claim 3, characterized in that The step of determining, according to the state parameters of the unread messages of the target application, the target display parameters of the notification badge corresponding to the target application includes: Determine a target duration interval for a continuous non-viewing duration of unread messages of a target application, and obtain a first display parameter matching the target duration interval; Determine a target number interval in which the number of unread messages of the target application is located, and acquire a second display parameter matching the target number interval; A target display parameter of the notification badge corresponding to the target application is determined according to the first display parameter and the second display parameter.
5. The method according to claim 3, characterized in that: The target application includes multiple applications with unread messages in the same folder, and the continuous unchecked duration of the unread messages of the target application is the shortest continuous unchecked duration of the unread messages of each application, or the average continuous unchecked duration of the unread messages of each application; the number of unread messages of the target application is the sum of the number of unread messages of each application.
6. The method according to any one of claims 1 to 5, characterized in that: The target display parameter includes at least one of the following: color type, saturation, size and transparency of a specified color.
7. The method according to claim 1, characterized in that The method further comprises: When the status parameter of the unread messages of the target application is greater than or equal to the first parameter threshold, a first prompt message is output, where the first prompt message is used to prompt the user to hide the notification badge or view the unread messages of the target application.
8. The method according to claim 1, characterized in that: The method further comprises: When the status parameter of the unread messages of the target application is greater than or equal to the second parameter threshold, the notification badge corresponding to the target application is hidden.
9. The method according to claim 1, characterized in that: The method further comprises: When the state parameter of the unread messages of the target application is greater than or equal to the third parameter threshold, a second prompt information is output, where the second prompt information is used to prompt the user to set the target application as an application that does not allow message notifications.
10. The method according to claim 1, characterized in that Before determining the target display parameter of the notification badge corresponding to the target application according to the state parameter of the unread message of the target application, the method further includes: Determine the usage frequency of each of the plurality of applications that allow message notifications within a specified time period; Among the multiple applications that are allowed to be notified by the message, an application whose usage frequency is lower than a frequency threshold is determined as a target application.
11. The method according to claim 1, characterized in that: Before determining the target display parameter of the notification badge corresponding to the target application according to the state parameter of the unread message of the target application, the method further includes: Determining an application type for each of the plurality of applications that allow message notifications; An application corresponding to the target application type is determined as the target application; wherein the target application type is an entertainment type or a shopping type.
12. A notification message display device, characterized in that: The device comprises: A determination unit, configured to determine a target display parameter of a notification badge corresponding to the target application according to a status parameter of unread messages of the target application; wherein the notification badge is used to display the number of the unread messages, the status parameter at least includes the number, and the larger the number indicated by the status parameter, the weaker the prompt effect of the notification badge displayed with the target display parameter; The display unit is used to control the notification badge to be displayed with the target display parameters.
13. An electronic device, characterized in that: include: A memory storing executable program code; and a processor coupled to the memory; The processor calls the executable program code stored in the memory, and when the executable program code is executed by the processor, the processor implements the method according to any one of claims 1 to 11.
14. A computer-readable storage medium having executable program code stored thereon, characterized in that: When the executable program code is executed by a processor, the method according to any one of claims 1 to 11 is implemented.
Citation Information
Cited By
Display method for vehicle, display device for vehicle, and vehicle
CN121166260A