CN113126851B - Notification message display method and electronic equipment - Google Patents

Notification message display method and electronic equipment Download PDF

Info

Publication number
CN113126851B
CN113126851B CN202110541250.6A CN202110541250A CN113126851B CN 113126851 B CN113126851 B CN 113126851B CN 202110541250 A CN202110541250 A CN 202110541250A CN 113126851 B CN113126851 B CN 113126851B
Authority
CN
China
Prior art keywords
target
notification messages
total number
application
unread notification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110541250.6A
Other languages
Chinese (zh)
Other versions
CN113126851A (en
Inventor
王世轩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN202110541250.6A priority Critical patent/CN113126851B/en
Publication of CN113126851A publication Critical patent/CN113126851A/en
Priority to PCT/CN2022/092825 priority patent/WO2022242576A1/en
Application granted granted Critical
Publication of CN113126851B publication Critical patent/CN113126851B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros

Abstract

The application discloses a display method of notification messages and electronic equipment, and belongs to the technical field of communication. The display method of the notification message comprises the following steps: under the condition that unread notification messages exist in a target application, acquiring the total number of the unread notification messages corresponding to the target application; displaying a first part of a target control corresponding to the target application in a target manner according to the total number of unread notification messages corresponding to the target application; the target control is used for representing the quantity of the unread notification messages corresponding to the target application, and the first part of the target control corresponds to the total quantity of the unread notification messages.

Description

Notification message display method and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a notification message display method and electronic equipment.
Background
The notification push function of the electronic equipment can enable a user to obtain the latest information dynamic state, and meanwhile, the notification push function has the functions of pushing effective information, reminding items in time and feeding back information in time.
As electronic devices are increasingly installed with more applications, more notification messages are received. In the prior art, under the condition that the notification messages are not processed, the number of unread notification messages is displayed on the upper right corner of an application icon, and the unread notification messages are only displayed on the application icon in a digital form, so that the perception of the unread notification messages by a user is not intuitive, and the user is easy to generate visual panic.
Therefore, the problem of single display form of the display mode of the unread notification message in the prior art is solved.
Disclosure of Invention
The embodiment of the application aims to provide a notification message display method and electronic equipment, so as to solve the problem that the display form of an unread notification message in the prior art is single.
In a first aspect, an embodiment of the present application provides a method for displaying a notification message, where the method includes:
under the condition that the unread notification messages exist in the target application, acquiring the total number of the unread notification messages corresponding to the target application;
displaying a first part of a target control corresponding to the target application in a target mode according to the total number of unread notification messages corresponding to the target application;
the target control is used for representing the number of the unread notification messages corresponding to the target application, and the first part of the target control corresponds to the total number of the unread notification messages.
In a second aspect, an embodiment of the present application provides an apparatus for displaying a notification message, where the apparatus includes:
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring the total number of unread notification messages corresponding to a target application under the condition that the unread notification messages exist in the target application;
the first display module is used for displaying a first part of a target control corresponding to the target application in a target mode according to the total number of the unread notification messages corresponding to the target application;
the target control is used for representing the number of the unread notification messages corresponding to the target application, and the first part of the target control corresponds to the total number of the unread notification messages.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, under the condition that the unread notification messages exist in the target application, the total number of the unread notification messages corresponding to the target application is obtained, and the first part of the target control corresponding to the target application is displayed in a target mode according to the total number of the unread notification messages corresponding to the target application, so that a user can visually know the number of the unread notification messages based on the first part of the target control, the display form of the number of the unread notification messages is enriched, and the visual anxiety and the visual fatigue generated by the user can be relieved.
Drawings
Fig. 1 is a schematic diagram of a method for displaying a notification message according to an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating a target control displayed around a target application icon according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an open progressive notification mode provided by an embodiment of the present application;
FIG. 4 is a graph associated with a total number of unread notification messages and a growth rate of a first portion, provided by an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating a target control displayed on a target application icon according to an embodiment of the present application;
fig. 6 is a schematic diagram of a specific example of a method for displaying a notification message according to an embodiment of the present application;
FIG. 7 is a block diagram of a display device for notification messages provided by an embodiment of the present application;
FIG. 8 is a block diagram of an electronic device provided by an embodiment of the application;
fig. 9 is a second schematic block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application are capable of operation in sequences other than those illustrated or described herein, and that the terms "first," "second," etc. are generally used in a generic sense and do not limit the number of terms, e.g., a first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/", and generally means that the former and latter related objects are in an "or" relationship.
The method for displaying the notification message provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, a method for displaying a notification message provided in the embodiment of the present application includes:
step 101, acquiring the total number of unread notification messages corresponding to a target application under the condition that the unread notification messages exist in the target application.
When the electronic equipment monitors that the notification message arrives, the target application corresponding to the notification message is identified, and if the input of opening the notification message by a user is received within the preset time, a landing page of the target application is displayed through a graphical user interface so as to display the monitored notification message. And if the input of the user opening the notification message is not received within the preset time length, determining the monitored notification message as an unread notification message. The electronic device may display a notification banner corresponding to the notification message when receiving the notification message, and a time period from the start of displaying the notification banner to the cancellation of the display of the notification banner may be a preset time period. When the unread notification messages exist in the target application, counting the total number of the unread notification messages corresponding to the target application until the current moment.
102, displaying a first part of a target control corresponding to the target application in a target mode according to the total number of unread notification messages corresponding to the target application; the target control is used for representing the quantity of the unread notification messages corresponding to the target application, and the first part of the target control corresponds to the total quantity of the unread notification messages.
After the total number of the unread notification messages corresponding to the target application is obtained, the first portion may be determined on a target control corresponding to the target application, where the target control is a control for representing the number of the unread notification messages corresponding to the target application, and specifically, the target control may be a progress bar control for representing the number progress of the unread notification messages corresponding to the target application. The target control corresponds to a notification capacity, and when the first portion is determined on the target control, the first portion may be determined on the target control according to the total number of unread notification messages corresponding to the target application and the notification capacity corresponding to the target control.
After the first portion is determined, the first portion of the target control may be displayed in a target manner, and when the first portion of the target control is displayed in the target manner, the first portion of the target control may be marked with a marking symbol, such as a specific shape, a specific symbol, a specific color, and a specific color saturation. By marking the first part of the target control, a user can conveniently and intuitively know the quantity of the unread notification messages, so that the quantity of the unread notification messages is displayed through the target control in a marked state.
In the implementation process of the application, under the condition that the unread notification messages exist in the target application, the total number of the unread notification messages corresponding to the target application is obtained, the first part of the target control corresponding to the target application is displayed in a target mode according to the total number of the unread notification messages corresponding to the target application, a user can conveniently and visually know the number of the unread notification messages based on the first part, the display mode of the number of the unread notification messages is enriched, and compared with the mode of displaying numbers on application icons, visual anxiety and visual fatigue generated by the user can be relieved.
Optionally, the method for displaying the notification message provided in the embodiment of the present application further includes the following steps:
under the condition that the first unread notification message of the target application is monitored, displaying the target control in a target area corresponding to a target application icon;
and the target application icon is an icon corresponding to the target application.
The method includes the steps that a target control can be triggered to be displayed in a target area corresponding to a target application icon according to the condition that a first unread notification message of the target application is monitored, wherein the target application icon is an icon corresponding to the target application, and the target area corresponding to the target application icon can be the periphery of the target application icon, the upper portion of the target application icon, the lower portion of the target application icon, the area occupied by the target application icon and the like. The target control may be a rectilinear shape, a circle, a square, a ring, or other shape. As shown in fig. 2, the target area is an area corresponding to the periphery of the edge of the target application icon, and the target control in the shape of a square ring is displayed in the target area. When monitoring a first unread notification message, the electronic device determines a target area at the periphery of the target application icon, and triggers a target control in a square ring shape to be displayed in the target area, wherein the total length (the total length of four sides) corresponding to the target control in the square ring shape corresponds to the notification capacity.
The display method of the notification message corresponds to a progressive notification mode, and when a user starts the progressive notification mode, the target control can be displayed in a target area corresponding to the target application icon under the condition that the first unread notification message is monitored. The method specifically comprises the following steps: under the condition that the first unread notification message of the target application is monitored, a target application icon corresponding to the target application is identified from a plurality of application icons on a display interface, and then a target area corresponding to the target application icon is determined. For example, for the case that the target area is an area corresponding to the periphery of the edge of the target application icon, the edge of the target application icon may be extracted according to the comparison between the desktop wallpaper and the target application icon in terms of RGB color values, and then the target area may be determined according to the principle that the target area does not overlap with each application icon. Of course, the target area may be located in other positions, and accordingly, the target area may be determined in other manners, which are not illustrated herein. The target control may be displayed in the target area after the target area is determined. And if the progressive notification mode is not started, directly displaying the number of the unread notification messages in the upper right corner of the target application icon according to the monitored unread notification messages.
Wherein, when the progressive notification mode is started, the notification capacity can be set. As shown in fig. 3, a process of starting the progressive notification mode includes displaying a page corresponding to the notification and the status bar on the graphical user interface, where the page includes a progressive notification option, displaying a page corresponding to the progressive notification option after the progressive notification option is selected, starting a progressive notification reminder according to an input of a user, and setting a notification capacity. Note that the notification capacities corresponding to different applications may be the same or different, and fig. 3 illustrates a case where the notification capacities corresponding to the applications are the same. In the page corresponding to the progressive notification option, after the progressive notification reminder is started, notification capacity setting controls corresponding to the multiple applications can be displayed, so that the notification capacity can be set for different applications.
According to the implementation process, the progressive notification mode is started according to the selection of the user, the target control is displayed in the target area according to the trigger condition in the progressive notification mode, the quantity condition that the unread notification messages are displayed through the target control according to the selection of the user can be realized, the target control is displayed in the target area corresponding to the target application icon by triggering based on the first unread notification message, the display timeliness of the target control can be ensured, and meanwhile, the target control can be displayed at a proper position.
Optionally, step 102: the displaying, in a target manner, the first portion of the target control corresponding to the target application according to the total number of the unread notification messages corresponding to the target application includes:
determining a first part of the target control according to the total number of unread notification messages corresponding to the target application and the notification capacity corresponding to the target control;
determining a target mark symbol according to the total number of the unread notification messages corresponding to the target application;
marking a first portion of the target control with the target mark symbol.
When the first part of the target control corresponding to the target application is displayed in a target manner according to the total number of the unread notification messages corresponding to the target application, the first part and the target mark symbol need to be determined on the target control, and then the target mark symbol is displayed on the first part of the target control, that is, the first part of the target control is marked by the target mark symbol.
The following describes a process of determining the first part of the target control, and when determining the first part of the target control, one of the following schemes is included.
Scheme one
When the first part is determined on the target control according to the total number of the unread notification messages and the notification capacity corresponding to the target control, the first part may be determined on the target control according to a ratio of the total number of the unread notification messages to the notification capacity, and a proportion of the first part on the target control is equal to the ratio of the total number of the unread notification messages to the notification capacity.
Scheme two
For the target control, the target control may include a plurality of continuous sub-regions, each sub-region corresponds to a number, a sum of the numbers corresponding to the sub-regions is a notification capacity corresponding to the target control, when the first portion is determined on the target control according to the total number of the unread notification messages and the notification capacity corresponding to the target control, at least one sub-region may be determined on the target control according to the total number of the unread notification messages, the determined at least one sub-region is combined, and the obtained combined region is determined as the first portion.
Scheme three
For the target control, a first position, a second position and at least one third position may be corresponded, where the first position corresponds to a quantity of 0, the second position corresponds to a notification capacity, and each third position corresponds to quantity information, when a first portion is determined on the target control according to the total quantity of the unread notification messages and the notification capacity corresponding to the target control, an end position may be determined by using the first position as a starting point, according to the total quantity of the unread notification messages, the quantity information corresponding to each third position, and the notification capacity corresponding to the target control, that is, an end position is determined by using the first position as a starting point, and reaches the end position along a preset path (in an extending direction of the preset path, the corresponding quantities increase in sequence), and the first portion is determined by using the start position and the end position, that is, a portion between the start position and the end position (a portion corresponding to the preset path) is determined as the first portion.
Of course, the manner of determining the first portion on the target control according to the total number of the unread notification messages and the notification capacity corresponding to the target control is not limited to the above-mentioned several manners, and those skilled in the art may also determine the first portion corresponding to the total number of the unread notification messages in other manners.
In determining the target mark symbol, the target mark symbol may be determined according to the total number of the unread notification messages corresponding to the statistical target application, where the target mark symbol includes, but is not limited to, a target color saturation, a target shape, a target symbol, and the like.
The first part of the target control and the target mark symbol are determined on the target control, the first part of the target control and the target mark symbol are determined, the target mark symbol and the first part of the target control are determined, and the first part of the target control and the target mark symbol are determined simultaneously.
After the first portion is determined and the target mark symbol is determined on the target control, the target mark symbol may be displayed on the first portion of the target control, that is, the target mark symbol is adopted to mark the first portion of the target control, so that the first portion is displayed in a display style different from other portions, and a user may intuitively know a quantity condition corresponding to the unread notification message based on the first portion and the target mark symbol.
In the implementation process of the application, the first part is determined on the target control based on the total number of the unread notification messages and the notification capacity of the target control, the target mark symbol is determined according to the total number of the unread notification messages, and the first part of the target control is marked by the target mark symbol, so that the first part can be displayed in a mark form, and a user can visually know the number of the unread notification messages based on the target control and the target mark symbol.
Optionally, the determining a target marker symbol according to the total number of unread notification messages corresponding to the target application includes:
determining an application type to which the target application belongs;
under the condition that the target application belongs to a first application type, determining a first target mark symbol according to a first corresponding relation between the mark symbol and the total number of the unread notification messages;
and under the condition that the target application belongs to a second application type, determining a second target mark symbol according to a second corresponding relation between the mark symbol and the total number of the unread notification messages.
When determining the target marker symbol according to the total number of the unread notification messages corresponding to the target application, the application type to which the target application belongs may be determined first. When determining the application type to which the target application belongs, the application type to which the target application belongs may be determined according to the frequency of use of the target application (e.g., when determining that the target application belongs to a high-frequency application (the number of times of use is greater than or equal to a preset number threshold and/or the frequency of use is greater than or equal to a preset frequency threshold) according to the frequency of use of the target application, it is determined that the target application belongs to a first application type, and when determining that the target application belongs to a low-frequency application (e.g., the number of times of use is less than the preset number threshold and/or the frequency of use is less than the preset frequency threshold), it is determined that the target application belongs to a second application type). The application type to which the target application belongs may also be determined according to the importance level of the target application (for example, when the importance level of the target application is greater than or equal to a preset level, it is determined that the target application belongs to a first application type, and when the importance level of the target application is less than the preset level, it is determined that the target application belongs to a second application type), where the importance level here may be replaced by an association level between the application and the user (that is, for each application, an association level with the user may be corresponded, and the higher the association level is, the higher the level is). The application type to which the target application belongs may also be determined in the dimension of application classification (e.g., communication-class application belongs to a first application type, e-commerce-class application belongs to a second application type).
After determining the application type to which the target application belongs, if the target application belongs to the first application type, the first target mark symbol may be determined according to a first corresponding relationship between the mark symbol and the total number of the unread notification messages, and if the target application belongs to the second application type, the second target mark symbol may be determined according to a second corresponding relationship between the mark symbol and the total number of the unread notification messages.
The following explains a process of determining the first target mark symbol and the second target mark symbol respectively for a case where the target mark symbol is a target color, a target color saturation, a target shape, or a target symbol.
For the case where the target mark symbol is the target color, after determining that the target application belongs to the first application type, the first target color may be determined according to the first corresponding relationship between the hue and the total number of the unread notification messages. The hue corresponding to different number ranges of the total number of the unread notification messages is different, and the association between the hue and the total number of the unread notification messages can be established according to a preset spectrum sequence (for example, red, orange, yellow, green, cyan, blue and purple are sequentially arranged), and as the total number of the unread notification messages increases, a first corresponding relationship is sequentially established with different hues according to the preset spectrum sequence. That is, the greater the total number of unread notification messages, the later the corresponding hue. For example, when the total number of unread notification messages corresponds to the number range 1 to 10, the corresponding hue is red, when the total number of unread notification messages corresponds to the number range 11 to 20, the corresponding hue is orange, and when the total number of unread notification messages corresponds to the number range 21 to 30, the corresponding hue is yellow. After establishing the first corresponding relationship, a first target color may be determined, and then a first portion of the target control is displayed in the first target color, for example, a red color is displayed in the first portion of the target control, and other portions of the target control except the first portion are displayed in a default color (white), so that the first portion is marked in a prominent color.
After determining that the target application belongs to the second application type, a second target color may be determined according to a second correspondence of the hue to the total number of unread notification messages. The different quantity ranges of the total quantity of the unread notification messages correspond to different hues, when the total quantity of the unread notification messages is less than or equal to a preset quantity threshold, the association between the hue and the total quantity of the unread notification messages can be established according to a preset spectrum sequence (for example, red, orange, yellow, green, cyan, blue and purple are sequentially arranged), and as the total quantity of the unread notification messages increases, the association with the different hues is sequentially established according to the preset spectrum sequence. When the total number of the unread notification messages is greater than the preset number threshold, the association between the color phases and the total number of the unread notification messages may be established according to a reverse order of a preset spectral order (for example, red, orange, yellow, green, cyan, blue, and purple are sequentially arranged), and as the total number of the unread notification messages increases, the association with the different color phases may be sequentially established according to the reverse order of the preset spectral order. A second corresponding relationship may be formed according to the corresponding association when the total number of the unread notification messages is less than or equal to the preset number threshold and the corresponding association when the total number of the unread notification messages is greater than the preset number threshold. For example, the preset number threshold is 30, the corresponding hue is red when the total number of unread notification messages corresponds to the number range 1 to 5, the corresponding hue is orange when the total number of unread notification messages corresponds to the number range 6 to 10, the corresponding hue is yellow when the total number of unread notification messages corresponds to the number range 11 to 15, the corresponding hue is green when the total number of unread notification messages corresponds to the number range 16 to 20, the corresponding hue is cyan when the total number of unread notification messages corresponds to the number range 21 to 25, and the corresponding hue is blue when the total number of unread notification messages corresponds to the number range 26 to 30. The corresponding hue is cyan when the total number of unread notification messages corresponds to the number range 31 to 35, and green when the total number of unread notification messages corresponds to the number range 36 to 40. After establishing the second correspondence, a second target color may be determined, and the first portion of the target control may be displayed in the second target color. Although there are cases where the same color corresponds to different number ranges (e.g., the corresponding color is cyan in the number range 21-25 and the corresponding color is cyan in the number range 31-35), the number of unread notification messages can be known based on the ratio of the first portion on the target control.
The above-mentioned situation that the target mark symbol is the target color can enable the user to clearly and intuitively know the number of the unread notification messages based on two dimensions of the first part of the target control (the proportion of the unread notification messages to the notification capacity can be known through the proportion of the first part on the target control) and the hue corresponding to the first part (the range of the number of the unread notification messages can be intuitively known through the hue of the first part).
For a case where the target markup symbol is the target color saturation, after determining that the target application belongs to the first application type, the first target color saturation may be determined according to a first corresponding relationship between the color saturation and the total number of the unread notification messages. The color saturation corresponding to different number ranges of the total number of the unread notification messages is different, and the color saturation is positively correlated with the total number of the unread notification messages, that is, the first corresponding relationship is established according to the principle that the larger the total number of the unread notification messages is, the larger the value of the color saturation is. As corresponding to a first color saturation (50%) when the total number of unread notification messages corresponds to the number range 1 to 10, a second color saturation (60%) when the total number of unread notification messages corresponds to the number range 11 to 20, and a third color saturation (70%) when the total number of unread notification messages corresponds to the number range 21 to 30. After establishing the first correspondence, a first target color saturation may be determined, and a first portion of the target control is displayed with the first target color saturation corresponding to a default color (e.g., red), e.g., red is displayed at the first portion of the target control at the first target color saturation (70%), and white is displayed at a portion of the target control other than the first portion.
After determining that the target application is categorized in the second application type, a second target color saturation may be determined according to a second correspondence of the color saturation to the total number of unread notification messages. The color saturation corresponding to different quantity ranges of the total quantity of the unread notification messages is different, when the total quantity of the unread notification messages is smaller than or equal to a preset quantity threshold value, the color saturation is positively correlated with the total quantity of the unread notification messages, when the total quantity of the unread notification messages is larger than the preset quantity threshold value, the color saturation is negatively correlated with the total quantity of the unread notification messages, and a second corresponding relation is established according to the principle. For example, the preset number threshold is 30, when the total number of the unread notification messages is less than or equal to 30, the color saturation increases as the total number of the unread notification messages increases, and when the total number of the unread notification messages is greater than 30, the color saturation decreases as the total number of the unread notification messages increases. After establishing the second correspondence, a second target color saturation may be determined, and the first portion of the target control is displayed with the second target color saturation corresponding to the default color (e.g., red), e.g., red is displayed at the first portion of the target control with the second target color saturation (60%), and white is displayed at the other portions of the target control except for the first portion. The implementation process may have the situation that the same color saturation corresponds to different quantity ranges, but the quantity of unread notification messages can be known based on the proportion of the first part on the target control.
The above-mentioned case that the target mark symbol is the target color saturation may enable the user to clearly and intuitively know the number of the unread notification messages based on two dimensions of the first portion (the ratio of the number of the unread notification messages to the notification capacity may be known through the proportion of the first portion on the target control) and the color saturation corresponding to the first portion (the range of the number of the unread notification messages may be intuitively known through the color saturation of the first portion), and may weaken the color saturation for the application of the second application type when the total number of the unread notification messages is greater than the preset number threshold, so that the attention of the user on the application of the first application type is greater than that of the application of the second application type, thereby reducing the disturbance of the application notification of the second application type to the user.
For the case where the target mark symbol is the target shape, after determining that the target application belongs to the first application type, the first target shape may be determined according to the first corresponding relationship between the shape and the total number of the unread notification messages. The shapes corresponding to different number ranges of the total number of the unread notification messages are different, and the association between the shapes and the total number of the unread notification messages can be established according to a preset shape arrangement sequence (such as sequential arrangement of a triangle, a square and a circle), and as the total number of the unread notification messages increases, a first corresponding relationship is established with different shapes in sequence according to the preset shape arrangement sequence. That is, the greater the total number of unread notification messages, the more backward the corresponding shape. After establishing the first correspondence, a first target shape may be determined, and the first target shape may be displayed on a first portion of the target control, e.g., a circle on the first portion of the target control.
After determining that the target application belongs to the second application type, a second target shape may be determined according to a second correspondence of shapes to the total number of unread notification messages. The shapes corresponding to different number ranges of the total number of the unread notification messages are different, when the total number of the unread notification messages is less than or equal to a preset number threshold, the association between the shapes and the total number of the unread notification messages can be established according to a preset shape arrangement sequence (such as sequential arrangement of a triangle, a square and a circle), and as the total number of the unread notification messages increases, the association with the different shapes is sequentially established according to the preset shape arrangement sequence. When the total number of the unread notification messages is greater than the preset number threshold, the association between the shapes and the total number of the unread notification messages may be established according to an opposite sequence of a preset shape arrangement sequence (such as a triangle, a square, and a circle), and as the total number of the unread notification messages increases, the association with different shapes may be established according to an opposite sequence of the preset shape arrangement sequence. A second corresponding relationship may be formed according to the corresponding association when the total number of the unread notification messages is less than or equal to the preset number threshold and the corresponding association when the total number of the unread notification messages is greater than the preset number threshold. After establishing the second correspondence, a second target shape may be determined, and the second target shape may then be displayed on the first portion of the target control. The implementation process may have the situation that the same shape corresponds to different number ranges, but the number of unread notification messages can be known based on the proportion of the first part on the target control.
The above-mentioned situation that the target mark symbol is the target shape can enable the user to clearly and intuitively know the number of the unread notification messages based on two dimensions of the first part (the proportion of the unread notification messages to the notification capacity can be known through the proportion of the first part on the target control) and the shape displayed on the first part (the range of the number of the unread notification messages can be intuitively known through the shape displayed on the first part).
For the case that the target mark symbol is a target symbol (the target symbol may be plus or minus), it is similar to the case that the target mark symbol is a target shape, and details are not repeated here. It should be noted that the mark symbol may also include a combination of at least two of the shape, symbol, color and color saturation, for example, the shape, symbol and color respectively correspond to the total number of the unread notification messages, and the description of the case is not further listed here.
In the foregoing implementation process of the present application, when the target application belongs to the first application type, the first target mark symbol is determined according to the first corresponding relationship, and when the target application belongs to the second application type, the second target mark symbol is determined according to the second corresponding relationship, so that the corresponding mark mode can be determined based on different application types.
Optionally, a proportion of the first portion on the target control increases according to an increase in the total number of the unread notification messages, and a rate of increase of the proportion of the first portion on the target control is negatively correlated with the total number of the unread notification messages.
The proportion of the first part of the target control on the target control is increased along with the increase of the total number of the unread notification messages, the increase of the proportion of the first part on the target control is in nonlinear increase, the increase speed of the proportion of the first part on the target control is reduced along with the increase of the total number of the unread notification messages, and the visual anxiety of a user can be reduced to a certain degree.
The following describes a non-linear increase of the proportion of the first portion on the target control by using a specific example, where the total amount of the unread notification messages corresponding to the target application is x, and the proportion of the first portion on the target control may be according to
Figure BDA0003071643560000131
The slope of the curve of (a) increases, the greater y (i.e., the greater x), the slower the rate of increase. If a is equal to 2,x, the maximum value is 64, then the equation is
Figure BDA0003071643560000132
The corresponding curve is shown in fig. 4, the horizontal axis represents the total number of unread notification messages, the vertical axis represents the value of y, the slope of the curve represents the growth rate, the growth rate of the unread notification messages is completely different from that of the unread notification messages from 4 to 8, and the growth rate of the unread notification messages from 8 to 12, and as the total number of the unread notification messages increases, the increase of the proportion of the first portion on the target control shows a gradual trend.
The non-linear increase of the proportion of the first portion on the target control may also correspond to other forms, but it is necessary to follow the principle that the corresponding increase speed gradually decreases with the increase of the total number of the unread notification messages, and specific forms are not illustrated one by one here.
When the mark symbol is color saturation, for the application of the first application type, along with the increase of the total number of the unread notification messages, the increase of the proportion of the first part on the target control shows a gradual trend, the color saturation is positively correlated with the total number of the unread notification messages, and the color saturation is enhanced along with the increase of the total number of the unread notification messages. For the application of the second application type, as the total number of the unread notification messages increases, the increase of the proportion of the first part on the target control shows a gradual trend, when the total number of the unread notification messages is less than or equal to a preset number threshold, the color saturation is increased as the total number of the unread notification messages increases, and when the total number of the unread notification messages is greater than the preset number threshold, the color saturation is decreased as the total number of the unread notification messages increases. The situation that the mark symbol is in shape, symbol and color is not described in combination with the increase of the proportion of the first part on the target control.
The above-mentioned implementation of this application process, through the increase along with the total number of unread notice message, slows down the growth rate of the shared proportion of first part on the target control, can realize nonlinear growth, avoids the rapid growth of first part, can slow down user's vision anxiety to a certain extent.
The target control in the embodiment of the present application may be in the form of a progress bar, and is displayed on one side of the target application icon (for example, the elongated progress bar is displayed below the target application icon) or on a periphery (for example, the square annular progress bar is displayed around the target application icon), which is not limited to this. Referring to fig. 5, a target control may be displayed on the target application icon with a first portion of the target control (the bottom region of the target application icon) displaying an air bubble. As the total number of unread notification messages increases, the number of bubbles increases, the proportion of the corresponding first portion on the target control also increases, and both the number of bubbles and the proportion of the first portion on the target control increase nonlinearly, that is, as the total number of unread notification messages increases, the increase rate slows down. The method comprises the steps that for the condition that a mark symbol is color saturation, if a target application belongs to a first application type, the color saturation of bubbles is increased along with the increase of the total number of unread notification messages, if the target application belongs to a second application type, when the total number of the unread notification messages is smaller than or equal to a preset number threshold value, the color saturation of the bubbles is increased along with the increase of the total number of the unread notification messages, and when the total number of the unread notification messages is larger than the preset number threshold value, the color saturation of the bubbles is weakened along with the increase of the total number of the unread notification messages.
It should be noted that, when receiving an input that satisfies a preset input characteristic and is executed by a user on a target control corresponding to a target application (for example, a long-time press of a user finger on the target control, a click that satisfies a preset force and is executed by the user finger on the target control, and the like), the display of the first portion on the target control in a target manner may be cancelled, that is, the number corresponding to the target control is controlled to be cleared, so that a notification prompt for clearing the target application is implemented.
An overall implementation flow of the method for displaying the notification message provided by the embodiment of the present application is described below by using a specific example, as shown in fig. 6, including:
step 601, detecting whether to start the progressive notification mode, if so, executing step 602, otherwise, executing step 611.
Step 602, obtaining a notification capacity corresponding to the target control, where the notification capacity may be a default capacity or a capacity set by a user.
Step 603, displaying the target control in the corresponding area for each application.
And step 604, acquiring the target application corresponding to the notification message when the notification message is received.
Step 605, detecting whether the notification message is opened, if not, executing step 607, and if so, executing step 606.
And step 606, jumping to a target application landing page, and displaying a notification message.
And 607, after the notification banner corresponding to the notification message disappears, displaying the first part of the target control corresponding to the target application in the target color saturation according to the total number of the unread notification messages corresponding to the target application.
And 608, when the target application belongs to the high-frequency application, increasing the total number of the unread notification messages to enhance the color saturation corresponding to the first part. High frequency applications are applications that are used more frequently. Step 610 is performed after step 608.
And 609, when the target application belongs to the low-frequency application, when the total number of the unread notification messages is less than or equal to a preset number threshold, the color saturation corresponding to the first part is increased along with the increase of the total number of the unread notification messages, and when the total number of the unread notification messages is greater than the preset number threshold, the color saturation corresponding to the first part is decreased along with the increase of the total number of the unread notification messages. Step 610 is performed after step 609.
And 610, controlling the number corresponding to the target control to be cleared according to the input meeting the preset input characteristics of the user.
Step 611, display the number of unread notification messages in the upper right corner of the application icon in the existing manner.
In the implementation process, the target control can be adopted to display the quantity of the unread notification messages, a novel notification quantity display mode is provided, and the perception of the user is optimized from two dimensions by combining the target control and the color saturation.
According to the implementation process of the notification message display method provided by the embodiment of the application, under the condition that the unread notification message exists in the target application, the total number of the unread notification messages corresponding to the target application is obtained, and the first part of the target control corresponding to the target application is displayed in a target mode according to the total number of the unread notification messages corresponding to the target application, so that a user can intuitively know the number of the unread notification messages based on the proportion of the first part on the target control and two dimensions of the marking mode of the first part, the display mode of the number of the unread notification messages is enriched, and visual anxiety and visual fatigue generated by the user can be relieved.
Furthermore, as the number of the unread notification messages increases, the first part grows nonlinearly on the target control, so that the growth speed of the proportion of the first part on the target control can be reduced, the nonlinear display of the number of the unread notification messages is realized, and the visual anxiety of a user is further reduced; when the target mark symbol is determined, the target mark symbol is determined by adopting the matched corresponding relation according to the application type to which the target application belongs, and the corresponding mark mode can be determined based on different application types.
It should be noted that, in the method for displaying a notification message provided in the embodiment of the present application, the execution subject may be a display apparatus of the notification message, or a control module of the display apparatus of the notification message, which is used for executing the method for displaying the notification message. In the embodiment of the present application, a method for a display apparatus of a notification message to perform display of the notification message is taken as an example, and the display apparatus of the notification message provided in the embodiment of the present application is described.
Fig. 7 is a schematic block diagram of a display apparatus for a notification message according to an embodiment of the present application. As shown in fig. 7, the apparatus for presenting the notification message includes:
an obtaining module 701, configured to obtain, when an unread notification message exists in a target application, a total number of unread notification messages corresponding to the target application;
a first display module 702, configured to display, in a target manner, a first portion of a target control corresponding to the target application according to the total number of unread notification messages corresponding to the target application;
the target control is used for representing the number of the unread notification messages corresponding to the target application, and the first part of the target control corresponds to the total number of the unread notification messages.
Optionally, the apparatus further comprises:
the second display module is used for displaying the target control in a target area corresponding to a target application icon under the condition that the first unread notification message of the target application is monitored;
and the target application icon is an icon corresponding to the target application.
Optionally, the first display module includes:
the first determining submodule is used for determining a first part of the target control according to the total number of unread notification messages corresponding to the target application and the notification capacity corresponding to the target control;
the second determining submodule is used for determining a target mark symbol according to the total number of the unread notification messages corresponding to the target application;
and the marking sub-module is used for marking the first part of the target control through the target marking symbol.
Optionally, the second determining submodule includes:
a first determining unit, configured to determine an application type to which the target application belongs;
a second determining unit, configured to determine, when the target application belongs to a first application type, a first target flag according to a first correspondence between a flag and the total number of the unread notification messages;
a third determining unit, configured to determine a second target token according to a second corresponding relationship between tokens and the total number of the unread notification messages, when the target application belongs to a second application type.
Optionally, the proportion of the first portion on the target control increases according to an increase in the total number of the unread notification messages, and a rate of increase of the proportion of the first portion on the target control is inversely related to the total number of the unread notification messages.
The display device for the notification messages, provided by the embodiment of the application, acquires the total number of the unread notification messages corresponding to the target application under the condition that the unread notification messages exist in the target application, and displays the first part of the target control corresponding to the target application in a target mode according to the total number of the unread notification messages corresponding to the target application, so that a user can intuitively know the number of the unread notification messages based on the proportion of the first part on the target control and two dimensions of the marking mode of the first part, the display form of the number of the unread notification messages is enriched, and the visual anxiety and the visual fatigue generated by the user can be relieved.
Furthermore, as the number of the unread notification messages increases, the first part grows nonlinearly on the target control, so that the growth speed of the proportion of the first part on the target control can be reduced, the nonlinear display of the number of the unread notification messages is realized, and the visual anxiety of a user is further reduced; when the target mark symbol is determined, the target mark symbol is determined by adopting the matched corresponding relation according to the application type to which the target application belongs, and the corresponding mark mode can be determined based on different application types.
The display device of the notification message in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in the terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiment of the present application is not particularly limited.
The presentation device of the notification message in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The device for displaying the notification message provided in the embodiment of the present application can implement each process implemented by the method for displaying the notification message shown in fig. 1 and fig. 6, and is not described here again to avoid repetition.
Optionally, as shown in fig. 8, an electronic device 800 is further provided in this embodiment of the present application, and includes a processor 801, a memory 802, and a program or an instruction that is stored in the memory 802 and is executable on the processor 801, and when the program or the instruction is executed by the processor 801, the process of the above-mentioned method for displaying a notification message is implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 900 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910.
Those skilled in the art will appreciate that the electronic device 900 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 910 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
Wherein, the processor 910 is configured to: under the condition that the unread notification messages exist in the target application, acquiring the total number of the unread notification messages corresponding to the target application; controlling a display unit 906 to display a first part of a target control corresponding to the target application in a target manner according to the total number of the unread notification messages corresponding to the target application; the target control is used for representing the number of the unread notification messages corresponding to the target application, and the first part of the target control corresponds to the total number of the unread notification messages.
Optionally, the processor 910 is further configured to: under the condition that the first unread notification message of the target application is monitored, controlling a display unit 906 to display the target control in a target area corresponding to a target application icon; and the target application icon is an icon corresponding to the target application.
Optionally, the processor 910 is further configured to: determining a first part of the target control according to the total number of unread notification messages corresponding to the target application and the notification capacity corresponding to the target control; determining a target mark symbol according to the total number of the unread notification messages corresponding to the target application; marking a first portion of the target control with the target marker symbol.
Optionally, the processor 910 is further configured to: determining an application type to which the target application belongs; under the condition that the target application belongs to a first application type, determining a first target mark symbol according to a first corresponding relation between the mark symbol and the total number of the unread notification messages; and under the condition that the target application belongs to a second application type, determining a second target mark symbol according to a second corresponding relation between the mark symbol and the total number of the unread notification messages.
Optionally, the processor 910 is further configured to: and controlling the proportion of the first part on the target control to increase according to the increase of the total number of the unread notification messages, wherein the increase speed of the proportion of the first part on the target control is in negative correlation with the total number of the unread notification messages.
Therefore, under the condition that the unread notification messages exist in the target application, the total number of the unread notification messages corresponding to the target application is obtained, the first part of the target control corresponding to the target application is displayed in a target mode according to the total number of the unread notification messages corresponding to the target application, a user can conveniently and intuitively know the number of the unread notification messages based on the proportion of the first part on the target control and two dimensions of the marking mode of the first part, the display mode of the number of the unread notification messages is enriched, and visual anxiety and visual fatigue generated by the user can be relieved.
Furthermore, as the number of the unread notification messages increases, the first part grows nonlinearly on the target control, so that the growth speed of the proportion of the first part on the target control can be reduced, the nonlinear display of the number of the unread notification messages is realized, and the visual anxiety of a user is further reduced; when the target mark symbol is determined, the target mark symbol is determined by adopting the matched corresponding relation according to the application type to which the target application belongs, and the corresponding mark mode can be determined based on different application types.
It should be understood that, in the embodiment of the present application, the input Unit 904 may include a Graphics Processing Unit (GPU) 9041 and a microphone 9042, and the Graphics Processing Unit 9041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 907 includes a touch panel 9071 and other input devices 9072. A touch panel 9071 also referred to as a touch screen. The touch panel 9071 may include two parts, a touch detection device and a touch controller. Other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 909 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 910 may integrate an application processor, which primarily handles operating systems, user pages, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 910.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction implements the processes of the above-mentioned method for displaying a notification message, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above-mentioned method for displaying a notification message, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

1. A method for displaying a notification message, comprising:
under the condition that the unread notification messages exist in the target application, acquiring the total number of the unread notification messages corresponding to the target application;
displaying a first part of a target control corresponding to the target application in a target mode according to the total number of unread notification messages corresponding to the target application;
the displaying a first part of a target control corresponding to the target application in a target manner according to the total number of the unread notification messages corresponding to the target application includes:
determining a first part of the target control according to the total number of unread notification messages corresponding to the target application and the notification capacity corresponding to the target control;
determining a target mark symbol according to the total number of the unread notification messages corresponding to the target application;
determining a target marker symbol according to the total number of unread notification messages corresponding to the target application, including:
determining an application type to which the target application belongs;
under the condition that the target application belongs to a first application type, determining a first target mark symbol according to a first corresponding relation between the mark symbol and the total number of the unread notification messages;
under the condition that the target application belongs to a second application type, determining a second target mark symbol according to a second corresponding relation between the mark symbol and the total number of the unread notification messages;
marking a first part of the target control through the target mark symbol;
the target control is used for representing the number of the unread notification messages corresponding to the target application, and the first part of the target control corresponds to the total number of the unread notification messages.
2. The method for displaying a notification message according to claim 1, further comprising:
under the condition that the first unread notification message of the target application is monitored, displaying the target control in a target area corresponding to a target application icon;
and the target application icon is an icon corresponding to the target application.
3. The method for showing the notification message according to claim 1, wherein the proportion of the first portion on the target control increases according to an increase in the total number of the unread notification messages, and a speed of the increase in the proportion of the first portion on the target control is inversely related to the total number of the unread notification messages.
4. An apparatus for presenting a notification message, comprising:
the device comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring the total number of unread notification messages corresponding to a target application under the condition that the unread notification messages exist in the target application;
the first display module is used for displaying a first part of a target control corresponding to the target application in a target mode according to the total number of the unread notification messages corresponding to the target application;
the first display module includes:
the first determining submodule is used for determining a first part of the target control according to the total number of unread notification messages corresponding to the target application and the notification capacity corresponding to the target control;
the second determining submodule is used for determining a target mark symbol according to the total number of the unread notification messages corresponding to the target application;
the second determination submodule includes:
a first determining unit, configured to determine an application type to which the target application belongs;
a second determining unit, configured to determine, when the target application belongs to a first application type, a first target token according to a first corresponding relationship between tokens and the total number of the unread notification messages;
a third determining unit, configured to determine a second target flag symbol according to a second corresponding relationship between the flag symbol and the total number of the unread notification messages when the target application belongs to a second application type
A marking sub-module for marking a first portion of the target control with the target mark symbol;
the target control is used for representing the number of the unread notification messages corresponding to the target application, and the first part of the target control corresponds to the total number of the unread notification messages.
5. The apparatus for displaying a notification message according to claim 4, further comprising:
the second display module is used for displaying the target control in a target area corresponding to a target application icon under the condition that the first unread notification message of the target application is monitored;
and the target application icon is an icon corresponding to the target application.
6. The presentation device of a notification message according to claim 4, wherein the proportion of the first portion on the target control increases according to an increase in the total number of the unread notification messages, and a rate of increase of the proportion of the first portion on the target control is inversely related to the total number of the unread notification messages.
7. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the presentation method of a notification message according to any one of claims 1 to 3.
8. A readable storage medium, on which a program or instructions are stored, which, when executed by a processor, carry out the steps of the presentation method of a notification message according to any one of claims 1 to 3.
CN202110541250.6A 2021-05-18 2021-05-18 Notification message display method and electronic equipment Active CN113126851B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110541250.6A CN113126851B (en) 2021-05-18 2021-05-18 Notification message display method and electronic equipment
PCT/CN2022/092825 WO2022242576A1 (en) 2021-05-18 2022-05-13 Notification message display method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110541250.6A CN113126851B (en) 2021-05-18 2021-05-18 Notification message display method and electronic equipment

Publications (2)

Publication Number Publication Date
CN113126851A CN113126851A (en) 2021-07-16
CN113126851B true CN113126851B (en) 2023-02-03

Family

ID=76782716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110541250.6A Active CN113126851B (en) 2021-05-18 2021-05-18 Notification message display method and electronic equipment

Country Status (2)

Country Link
CN (1) CN113126851B (en)
WO (1) WO2022242576A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113126851B (en) * 2021-05-18 2023-02-03 维沃移动通信(杭州)有限公司 Notification message display method and electronic equipment
CN113900759A (en) * 2021-10-26 2022-01-07 北京字跳网络技术有限公司 Medal display method, device and equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6195098B2 (en) * 2013-06-21 2017-09-13 華為技術有限公司Huawei Technologies Co.,Ltd. File reading method, storage device, and reading system
CN105426043A (en) * 2015-11-05 2016-03-23 青岛海信移动通信技术股份有限公司 Display method of message prompt, and mobile terminal
CN112333329B (en) * 2020-10-28 2022-04-26 维沃移动通信有限公司 Unread information reminding method and device and electronic equipment
CN112615775A (en) * 2020-12-31 2021-04-06 天津中新智冠信息技术有限公司 Message marking method, device, storage medium and electronic equipment
CN113126851B (en) * 2021-05-18 2023-02-03 维沃移动通信(杭州)有限公司 Notification message display method and electronic equipment

Also Published As

Publication number Publication date
WO2022242576A1 (en) 2022-11-24
CN113126851A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
CN113126851B (en) Notification message display method and electronic equipment
CN111857509A (en) Split screen display method and device and electronic equipment
CN112099685B (en) Notification message display control method and device, electronic equipment and readable storage medium
WO2023005828A1 (en) Message display method and apparatus, and electronic device
CN113296649A (en) Icon display method and device and electronic equipment
CN111857511B (en) Wallpaper display control method and device and electronic equipment
CN112083854A (en) Application program running method and device
WO2023116678A1 (en) Desktop display method and apparatus, electronic device, and medium
CN112188001A (en) Shortcut setting method, shortcut setting device and electronic equipment
CN113703634A (en) Interface display method and device
CN113709307A (en) Message display method and device and electronic equipment
CN113783995A (en) Display control method, display control device, electronic apparatus, and medium
CN113253883A (en) Application interface display method and device and electronic equipment
CN112596643A (en) Application icon management method and device
CN113268182A (en) Application icon management method and electronic equipment
CN112783594A (en) Message display method and device and electronic equipment
CN112286612A (en) Information display method and device and electronic equipment
CN112764606A (en) Identification display method and device and electronic equipment
CN112214774A (en) Permission setting method, file playing method and device and electronic equipment
CN112148193A (en) Navigation gesture setting method and device and electronic equipment
WO2022247787A1 (en) Application classification method and apparatus, and electronic device
CN113347478B (en) Display method and display device
CN112286611B (en) Icon display method and device and electronic equipment
CN114896208A (en) Application icon retrieval method and device, storage medium and terminal equipment
CN113986425A (en) Information processing method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant