WO2022242576A1 - Notification message display method and electronic device - Google Patents

Notification message display method and electronic device Download PDF

Info

Publication number
WO2022242576A1
WO2022242576A1 PCT/CN2022/092825 CN2022092825W WO2022242576A1 WO 2022242576 A1 WO2022242576 A1 WO 2022242576A1 CN 2022092825 W CN2022092825 W CN 2022092825W WO 2022242576 A1 WO2022242576 A1 WO 2022242576A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
notification messages
total number
application
target application
Prior art date
Application number
PCT/CN2022/092825
Other languages
French (fr)
Chinese (zh)
Inventor
王世轩
Original Assignee
维沃移动通信(杭州)有限公司
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 维沃移动通信(杭州)有限公司 filed Critical 维沃移动通信(杭州)有限公司
Publication of WO2022242576A1 publication Critical patent/WO2022242576A1/en

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

Definitions

  • the present application belongs to the technical field of communication, and in particular relates to a method for displaying a notification message and an electronic device.
  • the notification push function of electronic devices can enable users to learn the latest information trends, and at the same time, it has the functions of pushing effective information, timely reminders, and timely feedback information.
  • the purpose of the embodiments of the present application is to provide a notification message display method and an electronic device, so as to solve the problem in the prior art that there is a single display form in the display method of unread notification messages.
  • the embodiment of the present application provides a method for displaying a notification message, the method including:
  • the target control is a control for representing the number of unread notification messages corresponding to the target application, and the first part of the target control corresponds to the total number of unread notification messages.
  • the embodiment of the present application provides a notification message display device, the device includes:
  • An acquisition module configured to acquire the total number of unread notification messages corresponding to the target application when there are unread notification messages in the target application;
  • the first display module is configured to display the first part of the target control corresponding to the target application in a targeted manner according to the total number of unread notification messages corresponding to the target application;
  • the target control is a control for representing the number of unread notification messages corresponding to the target application, and the first part of the target control corresponds to the total number of unread notification messages.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
  • an embodiment of the present application provides an apparatus configured to perform the steps of the method described in the first aspect.
  • the embodiment of the present application provides a computer program product, the computer program product is stored in a non-volatile storage medium, and the program product is executed by at least one processor to implement the method described in the first aspect step.
  • the target application when it is detected that there are unread notification messages in the target application, the total number of unread notification messages corresponding to the target application is obtained, and according to the total number of unread notification messages corresponding to the target application, the target application Displaying the first part of the target control corresponding to the target application can facilitate the user to intuitively understand the number of unread notification messages based on the first part of the target control, enrich the display form of the number of unread notification messages, and can reduce the visual anxiety and anxiety caused by the user. Visual fatigue.
  • FIG. 1 is a schematic diagram of a display method of a notification message provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of displaying a target control around a target application icon provided by an embodiment of the present application
  • Fig. 3 is a schematic diagram of enabling the progressive notification mode provided by the embodiment of the present application.
  • FIG. 4 is a graph associated with the total number of unread notification messages and the growth rate of the first part provided by the embodiment of the present application;
  • FIG. 5 is a schematic diagram of displaying a target control 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 notification message display method provided by an embodiment of the present application.
  • FIG. 7 is a block diagram of an apparatus for displaying a notification message provided by an embodiment of the present application.
  • Fig. 8 is one of the schematic block diagrams of the electronic device provided by the embodiment of the present application.
  • FIG. 9 is a second schematic block diagram of an electronic device provided by an embodiment of the present application.
  • the display method of the notification message provided by the embodiment of the present application includes:
  • Step 101 if there are unread notification messages in the target application, acquire the total number of unread notification messages corresponding to the target application.
  • the electronic device When the electronic device detects the arrival of a notification message, it identifies the target application corresponding to the notification message, and if it receives an input from the user to open the notification message within a preset period of time, it displays the landing page of the target application through the graphical user interface to show the monitored application. notification message. If no input from the user to open the notification message is received within the preset time period, the detected notification message is determined as an unread notification message. Wherein, when the electronic device receives the notification message, it may display a notification banner corresponding to the notification message, and the period from the start of displaying the notification banner to the cancellation of the notification banner may be a preset period of time. When it is determined that there are unread notification messages in the target application, the total number of unread notification messages corresponding to the target application is counted up to the current moment.
  • Step 102 According to the total number of unread notification messages corresponding to the target application, display the first part of the target control corresponding to the target application in a target manner; A control for the number of unread notification messages, the first part of the target control corresponds to the total number of unread notification messages.
  • the first part can be determined on the target control corresponding to the target application.
  • the target control is a control used to represent the number of unread notification messages corresponding to the target application.
  • the target The control may be a progress bar control, representing the progress of the number of unread notification messages corresponding to the target application.
  • the target control corresponds to a notification capacity, and when determining the first part on the target control, the first part 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.
  • the first part of the target control can be displayed by the target method.
  • the first part of the target control can be marked with a marking symbol, such as using a specific shape, a specific symbol, A specific color, a specific color saturation marks the first part.
  • the total number of unread notification messages corresponding to the target application is obtained, and displayed in a target manner according to the total number of unread notification messages corresponding to the target application
  • the first part of the target control corresponding to the target application can facilitate the user to intuitively understand the number of unread notification messages based on the first part, and enrich the display form of the number of unread notification messages. Compared with the way of displaying numbers on the application icon, It can relieve visual anxiety and visual fatigue generated by users.
  • the method for displaying a notification message further includes the following steps:
  • the target application icon is an icon corresponding to the target application.
  • the display of the target control in the target area corresponding to the target application icon can be triggered, wherein the target application icon is the icon corresponding to the target application, and the target area corresponding to the target application icon can be Surrounding the icon of the target application, above the icon of the target application, below the icon of the target application, the area occupied by the icon of the target application, etc.
  • the target control can be in the shape of a line, a circle, a square, a ring, or other shapes.
  • the target area is the area corresponding to the periphery of the target application icon, and the target control in the shape of a square ring is displayed in the target area.
  • the electronic device When the electronic device detects the first unread notification message, it determines the target area on the periphery of the target application icon, and triggers the display of the target control in the shape of a square ring in the target area, wherein the target control in the shape of a square ring corresponds to a total length (four sides) total length) corresponds to the notification capacity.
  • the display method of the notification message in the embodiment of the present application corresponds to the progressive notification mode.
  • the target control can be displayed in the target area corresponding to the target application icon when the first unread notification message is detected.
  • identify the target application icon corresponding to the target application among multiple application icons on the display interface and then determine the target area corresponding to the target application icon.
  • the edge of the target application icon can be extracted according to the comparison of the RGB color values between the desktop wallpaper and the target application icon, and then according to the target area and each Apply the principle that icons do not overlap to determine the target area.
  • the target area can also be located in other positions.
  • the target area can also be determined in other ways, which will not be listed here.
  • the target control can be displayed in the target area. If the progressive notification mode is not enabled, the number of unread notification messages is directly displayed on the upper right corner of the target application icon for the detected unread notification messages.
  • the notification capacity can also be set when the progressive notification mode is turned on.
  • the process of enabling the progressive notification mode can be seen in Figure 3.
  • the page corresponding to the notification and the status bar is displayed in the GUI, and the progressive notification option is included on this page. After the progressive notification option is selected, the page corresponding to the progressive notification option is displayed.
  • Enable progressive notification reminders based on user input, and set the notification capacity.
  • 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 each application are the same.
  • notification capacity setting controls corresponding to multiple applications can also be displayed, so as to realize setting notification capacities for different applications.
  • the progressive notification mode is enabled according to the user's choice.
  • the target control is displayed in the target area according to the trigger condition, and the number of unread notification messages can be displayed through the target control according to the user's choice.
  • the first unread notification message triggers the display of the target control in the target area corresponding to the target application icon, which can ensure the timeliness of displaying the target control and ensure that the target control is displayed at an appropriate position.
  • step 102 displaying the first part of the target control corresponding to the target application in a targeted manner according to the total number of unread notification messages corresponding to the target application includes:
  • the first part of the target control is marked by the target marking symbol.
  • the target control When displaying the first part of the target control corresponding to the target application in a targeted manner according to the total number of unread notification messages corresponding to the target application, it is necessary to determine the first part on the target control, determine the target mark symbol, and then display the first part of the target control on the first part of the target control Displays the target marker symbol, marking the first part of the target control with the target marker symbol.
  • the process of determining the first part of the target control is described below, and one of the following schemes is included when determining the first part of the target control.
  • the first part can be determined on the target control according to the ratio of the total number of unread notification messages to the notification capacity.
  • the proportion of a part on the target control is equal to the ratio of the total number of unread notification messages to the notification capacity, that is, in this solution, the first part can be determined on the target control based on the ratio of the total number of unread notification messages to the notification capacity.
  • the target control it can include multiple continuous sub-areas, each sub-area corresponds to a quantity, and the sum of the quantities corresponding to each sub-area is the notification capacity corresponding to the target control. According to the total number of unread notification messages and The notification capacity corresponding to the target control.
  • at least one sub-area can be determined on the target control according to the total number of unread notification messages, and the determined at least one sub-area can be combined to obtain the combined The area is identified as the first part.
  • the target control it can correspond to a first position, a second position and at least one third position, wherein the first position corresponds to the quantity 0, the second position corresponds to the notification capacity, and each third position corresponds to a quantity Information, when determining the first part on the target control according to the total number of unread notification messages and the notification capacity corresponding to the target control, the first position can be used as the starting point, according to the total number of unread notification messages, each third position
  • the corresponding quantity information and the notification capacity corresponding to the second location determine the end location, that is, take the first location as the starting point and arrive at
  • the first part is determined according to the start position and the end position, that is, the part between the start position and the end position (the part corresponding to the preset path) is determined as the first part.
  • the method of determining the first part on the target control is not limited to the above-mentioned methods, and those skilled in the art can also use other methods to determine the relationship between the unread notification message and the unread notification message.
  • the first part corresponding to the total quantity.
  • the target mark symbol can be determined according to the total number of statistics of unread notification messages corresponding to the target application, where the target mark symbol includes but not limited to target color, target color saturation, target shape, target symbol, etc. .
  • the first part of the target control can be determined first, and then the target mark symbol can be determined, or the target mark symbol can be determined first, and then the target can be determined The first part of the control, or both the first part of the target control and the target marker symbol.
  • the target mark symbol can be displayed on the first part of the target control, that is, the target mark symbol is used to mark the first part of the target control, so that the first part can be displayed differently from other parts
  • the style is displayed, so that the user can intuitively understand the corresponding quantity of unread notification messages based on the first part and the target mark symbol.
  • the above implementation process of the present application determines the first part on the target control based on the total number of unread notification messages and the notification capacity of the target control, determines the target mark symbol according to the total number of unread notification messages, and uses the target mark symbol to target the target control Marking the first part of the first part can realize displaying the first part in the form of a mark, so that the user can intuitively understand the number of unread notification messages based on the target control and the target mark symbol.
  • the determining the target mark symbol according to the total number of unread notification messages corresponding to the target application includes:
  • the target application belongs to the first application type, determining a first target marker symbol according to a first correspondence between the marker symbol and the total number of unread notification messages;
  • a second target marking symbol is determined according to a second corresponding relationship between the marking symbol and the total number of the unread notification messages.
  • the application type to which the target application belongs may first be determined.
  • the application type to which the target application belongs can be determined according to the frequency of use of the target application (for example, it is determined according to the frequency of use of the target application that the target application belongs to a high-frequency application (the number of times of use is greater than or equal to the preset When the number of times threshold and/or the frequency of use are greater than or equal to the preset frequency threshold), it is determined that the target application belongs to the first application type; is less than the preset frequency threshold), it is determined that the target application belongs to the second application type).
  • the application type to which the target application belongs can 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 the preset level, it is determined that the target application belongs to the first application type, and when the importance level of the target application is less than When the level is preset, it is determined that the target application belongs to the second application type), wherein the importance level here can be replaced by the degree of association between the application and the user (that is, for each application, there can be one degree of association with the user , the higher the correlation, the higher the level).
  • the application type to which the target application belongs may also be determined by using application classification as a dimension (for example, a communication application belongs to the first application type, and an e-commerce application belongs to the second application type).
  • the first target marking symbol can be determined according to the first correspondence relationship between the marking symbol and the total number of unread notification messages
  • the second target marking symbol may be determined according to the second corresponding relationship between the marking symbol and the total number of unread notification messages.
  • the process of determining the first target marking symbol and the second target marking symbol will be described respectively for the case where the target marking symbols are target color, target color saturation, target shape, and target symbol.
  • the first target color may be determined according to the first correspondence between the hue and the total number of unread notification messages.
  • the hues corresponding to the different ranges of the total number of unread notification messages are different, and the hue and unread notification messages can be established according to the preset spectral order (for example, red, orange, yellow, green, blue, blue, and purple in sequence).
  • the preset spectral order for example, red, orange, yellow, green, blue, blue, and purple in sequence.
  • 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; When the total number of read notification messages corresponds to the number range 21 to 30, the corresponding hue is yellow.
  • the first target color can be determined, and then the first part of the target control can be displayed through the first target color, for example, red is displayed on the first part of the target control, and the other parts of the target control except the first part Displayed in the default color (white) to mark the first part with a prominent color.
  • the second target color may be determined according to the second corresponding relationship between the hue and the total number of unread notification messages.
  • the hues corresponding to different ranges of the total number of unread notification messages are different.
  • the color can be displayed according to the preset spectral order (such as red, orange, yellow, green, etc.). , cyan, blue, and purple in sequence) to establish the association between the hue and the total number of unread notification messages, and as the total number of unread notification messages increases, associations are established with different hues in sequence according to the preset spectral order.
  • the hue and unread notifications can be established in the reverse order of the preset spectral order (for example, red, orange, yellow, green, cyan, blue, and purple).
  • the association between the total number of messages as the total number of unread notification messages increases, associations are successively established with different hues according to the reverse order of the preset spectral order.
  • the second corresponding relationship may be formed according to the corresponding association when the total number of unread notification messages is less than or equal to the preset number threshold and the corresponding association when the total number of unread notification messages is greater than the preset number threshold.
  • the preset number threshold is 30, when the total number of unread notification messages corresponds to the number range 1 to 5, the corresponding hue is red; when the total number of unread notification messages corresponds to the number range 6 to 10, the corresponding hue is red.
  • the hue of is orange.
  • the corresponding hue is yellow.
  • the corresponding hue is green.
  • the corresponding hue is cyan
  • the corresponding hue is blue.
  • the corresponding hue is cyan; when the total number of unread notification messages corresponds to the number range 36-40, the corresponding hue is green.
  • the second target color can be determined, and then the first part of the target control can be displayed through the second target color.
  • the same hue corresponds to different number ranges in the above-mentioned implementation process (for example, when the number ranges from 21 to 25, the corresponding hue is cyan; when the number ranges from 31 to 35, the corresponding hue is cyan), but it can be based on the first part.
  • the proportion of the target control to know the number of unread notification messages.
  • the user can know the ratio of the number of unread notification messages to the notification capacity based on the first part of the target control (through the proportion of the first part on the target control) and the hue corresponding to the first part (Through the hue of the first part, you can intuitively understand the range of the number of unread notification messages) Two dimensions, clearly and intuitively understand the number of unread notification messages.
  • the first target color saturation may be determined according to the first corresponding relationship between the color saturation and the total number of unread notification messages .
  • the color saturation corresponding to different ranges of the total number of unread notification messages is different, and the color saturation is positively correlated with the total number of unread notification messages, that is, the greater the total number of unread notification messages, the greater the color saturation.
  • the first target color saturation can be determined, and the first part of the target control is displayed through the first target color saturation corresponding to the default color (for example, red), for example, the first part of the target control is represented by the first A target color saturation (70%) displays red, and other parts of the target control except the first part display white.
  • the second target color saturation may be determined according to the second corresponding relationship between the color saturation and the total number of unread notification messages.
  • the color saturation corresponding to different ranges of the total number of unread notification messages is different, and when the total number of unread notification messages is less than or equal to a preset number threshold, the color saturation is positively correlated with the total number of unread notification messages, When the total number of unread notification messages is greater than the preset number threshold, the color saturation is negatively correlated with the total number of unread notification messages, and the second corresponding relationship is established according to this principle.
  • the preset number threshold is 30.
  • the color saturation increases.
  • the color saturation weakens.
  • the second target color saturation can be determined, and the first part of the target control is displayed through the second target color saturation corresponding to the default color (for example, red).
  • the first part of the target control is represented by the first The second target color saturation (60%) shows red, and the other parts of the target control except the first part show white.
  • the same color saturation may correspond 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 user can know the ratio of the number of unread notification messages to the notification capacity based on the first part (through the proportion of the first part on the target control) and the color saturation corresponding to the first part Degree (through the color saturation of the first part, you can intuitively understand the range of the number of unread notification messages) two dimensions, clearly and intuitively understand the number of unread notification messages, and can be used when the total number of unread notification messages is greater than the preset number threshold
  • the color saturation is weakened, so that the user pays more attention to the first application type than the second application type, so as to reduce the interruption of the second application type application notification to the user.
  • the first target shape may be determined according to the first correspondence between the shape and the total number of unread notification messages.
  • the different ranges of the total number of unread notification messages correspond to different shapes, and the association between the shape and the total number of unread notification messages can be established according to the preset order of shapes (such as triangles, squares, and circles in sequence).
  • a first corresponding relationship is established with different shapes in sequence according to the preset arrangement order of shapes. That is, the greater the total number of unread notification messages, the lower the corresponding shape.
  • the first target shape can be determined, and then the first target shape is displayed on the first part of the target control, for example, a circle is displayed on the first part of the target control.
  • the second target shape may be determined according to the second corresponding relationship between the shape and the total number of unread notification messages.
  • the shapes corresponding to the different ranges of the total number of unread notification messages are different.
  • the sequence can be arranged according to the preset shape (such as triangle, square, circle, etc.) Arrangement) establishes associations between shapes and the total number of unread notification messages, and as the total number of unread notification messages increases, associations are established with different shapes in sequence according to the preset shape arrangement sequence.
  • the relationship between the shape and the total number of unread notification messages can be established according to the reverse order of the preset shape arrangement order (such as triangle, square, and circle). Associating, as the total number of unread notification messages increases, associations with different shapes are established sequentially in the reverse order of the preset shape arrangement order.
  • the second corresponding relationship may be formed according to the corresponding association when the total number of unread notification messages is less than or equal to the preset number threshold and the corresponding association when the total number of unread notification messages is greater than the preset number threshold.
  • the second target shape can be determined, and then the second target shape can be displayed on the first part of the target control.
  • the same shape may correspond 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 user can know the ratio of the number of unread notification messages to the notification capacity based on the first part (through the proportion of the first part on the target control) and the shape displayed on the first part (through The shape displayed on the first part can intuitively understand the number range of unread notification messages) in two dimensions, and clearly and intuitively understand the number of unread notification messages.
  • the target mark symbol is a target symbol (the target symbol can be a plus sign, a minus sign, etc.), it is similar to the case that the target mark symbol is a target shape, and will not be repeated here.
  • the marking symbol may also include a combination of at least two conditions among shape, symbol, color, and color saturation.
  • shape, symbol, and color respectively correspond to the total number of different unread notification messages. For this This case will not be listed here.
  • the first target symbol is determined according to the first correspondence
  • the target application belongs to the second application type it is determined according to the second correspondence.
  • a corresponding marking manner may be determined based on different application types.
  • the proportion of the first part on the target control increases according to the increase of the total number of unread notification messages, and the growth rate of the proportion of the first part on the target control is the same as The total number of unread notification messages is negatively correlated.
  • the proportion of the first part of the target control on the target control increases with the increase of the total number of unread notification messages, and the growth of the proportion of the first part on the target control is a non-linear growth.
  • the increase in the total number of , and the slowdown in the growth rate of the proportion of the first part on the target control can alleviate the user's visual anxiety to a certain extent.
  • the following describes the non-linear growth of the proportion of the first part on the target control through a specific example.
  • the total number of unread notification messages corresponding to the target application is x
  • the proportion of the first part on the target control can be calculated according to The slope of the curve (a>1) grows, and the larger y (that is, the larger x), the slower the growth rate. If a is equal to 2 and the maximum value of x is 64, then the formula is The corresponding curve is shown in Figure 4.
  • the horizontal axis represents the total number of unread notification messages, the vertical axis represents the value of y, and the slope of the curve represents the growth rate.
  • the number of unread notification messages ranges from 4 to 8, and the number ranges from 8 to The growth rates of 12 are completely different. As the total number of unread notification messages increases, the proportion of the first part in the target control increases gradually.
  • the non-linear growth of the proportion of the first part on the target control can also correspond to other forms, but it needs to follow the principle that the corresponding growth rate gradually decreases with the increase of the total number of unread notification messages.
  • the specific form here no longer list them one by one.
  • the marking symbol is color saturation
  • the proportion of the first part in the target control increases gradually
  • the color saturation is positively correlated with the total number of unread notification messages, and the color saturation increases with the increase of the total number of unread notification messages.
  • the proportion of the first part in the target control increases gradually.
  • the color saturation increases with the increase of the total number of unread notification messages.
  • the color saturation increases with the total number of unread notification messages And weakened.
  • the target control in this embodiment of the present application can be in the form of a progress bar, which is displayed on one side of the target application icon (for example, a strip-shaped progress bar is displayed below the target application icon) or on the periphery (for example, a square ring-shaped progress bar is displayed around the target application icon), of course, is not limited to this.
  • the target control can be displayed on the target application icon, and the first part of the target control (the bottom area of the target application icon) displays bubbles. As the total number of unread notification messages increases, the number of bubbles increases, and the proportion of the corresponding first part on the target control also increases.
  • the number of bubbles and the proportion of the first part on the target control both increase non-linearly, that is , as the total number of unread notification messages increases, the growth rate slows down.
  • the marking symbol is color saturation
  • the target application belongs to the first application type the color saturation of the bubble increases as the total number of unread notification messages increases;
  • the target application belongs to the second application type when the total number of unread notification messages is less than or equal to the preset number threshold, as the total number of unread notification messages increases, the color saturation of the bubbles increases, and when the total number of unread notification messages is greater than the preset
  • the number threshold is set, as the total number of unread notification messages increases, the color saturation of the bubbles decreases accordingly.
  • Step 601 check whether the progressive notification mode is enabled, if enabled, execute step 602 , otherwise execute step 611 .
  • Step 602 acquiring the notification capacity corresponding to the target control, the notification capacity may be a default capacity or a capacity set by the user.
  • Step 603 displaying target controls in corresponding areas for each application.
  • Step 604 when the notification message is received, obtain the target application corresponding to the notification message.
  • Step 605 check whether the notification message is opened, if not, perform step 607 , if it is opened, perform step 606 .
  • Step 606 jumping to the landing page of the target application, and displaying a notification message.
  • Step 607 After the notification banner corresponding to the notification message disappears, display the first part of the target control corresponding to the target application with the target color saturation according to the total number of unread notification messages corresponding to the target application.
  • Step 608 when the target application is a high-frequency application, as the total number of unread notification messages increases, the color saturation corresponding to the first part increases. High-frequency applications are applications that are used more frequently. Step 610 is executed after step 608 .
  • Step 609 When the target application is an infrequent application and the total number of unread notification messages is less than or equal to the preset number threshold, as the total number of unread notification messages increases, the color saturation corresponding to the first part increases, and the When the total number of unread notification messages is greater than the preset number threshold, as the total number of unread notification messages increases, the color saturation corresponding to the first part is weakened.
  • Step 610 is executed after step 609 .
  • Step 610 according to the user's input that satisfies the preset input characteristics, the quantity corresponding to the control target control is cleared.
  • Step 611 display the number of unread notification messages on the upper right corner of the application icon in an existing manner.
  • the target control can be used to display the number of unread notification messages, and a new way of displaying the number of notifications is provided.
  • the target control can be optimized from two dimensions.
  • the above is the implementation process of the notification message display method provided by the embodiment of the present application.
  • the total number of unread notification messages corresponding to the target application is obtained, and the unread notification messages corresponding to the target application are obtained.
  • the total number of read notification messages, and the first part of the target control corresponding to the target application is displayed in a targeted manner, which can facilitate users to intuitively understand unread notification messages based on the proportion of the first part on the target control and the marking method of the first part
  • the number of unread notification messages enriches the display form of the number of unread notification messages, and can reduce the visual anxiety and visual fatigue of users.
  • the first part increases nonlinearly on the target control, which can slow down the growth rate of the proportion of the first part on the target control, and realize the non-linear display of the number of unread notification messages, further Alleviate the user's visual anxiety; when determining the target marking symbol, according to the application type to which the target application belongs, the matching corresponding relationship is used to determine the target marking symbol, and the corresponding marking method can be determined based on different application types.
  • the execution body may be a display device for a notification message, or a control module in the device for displaying a notification message for executing the method for displaying a notification message.
  • the method for displaying the notification message performed by the notification message display device is taken as an example to describe the notification message display device provided in the embodiment of the present application.
  • Fig. 7 is a schematic block diagram of an apparatus for displaying a notification message provided by an embodiment of the present application.
  • the means for displaying the notification message includes:
  • An acquisition module 701 configured to acquire the total number of unread notification messages corresponding to the target application if there are unread notification messages in the target application;
  • the first display module 702 is configured to display the first part of the target control corresponding to the target application in a targeted manner according to the total number of unread notification messages corresponding to the target application;
  • the target control is a control for representing the number of unread notification messages corresponding to the target application, and the first part of the target control corresponds to the total number of unread notification messages.
  • the device also includes:
  • the second display module is configured to display the target control in the target area corresponding to the target application icon when the first unread notification message of the target application is detected;
  • the target application icon is an icon corresponding to the target application.
  • the first display module includes:
  • the first determination submodule is configured to determine the 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 to determine the target mark symbol according to the total number of unread notification messages corresponding to the target application;
  • a marking submodule configured to mark the first part of the target control with the target marking symbol.
  • the second determining submodule includes:
  • a first determining unit configured to determine the application type to which the target application belongs
  • a second determining unit configured to determine a first target marker symbol according to a first correspondence relationship between marker symbols and the total number of unread notification messages when the target application belongs to the first application type;
  • the third determining unit is configured to determine a second target marker symbol according to a second correspondence relationship between the marker symbol and the total number of unread notification messages when the target application belongs to the second application type.
  • the proportion of the first part on the target control increases according to the increase of the total number of unread notification messages, and the growth rate of the proportion of the first part on the target control is the same as The total number of unread notification messages is negatively correlated.
  • the above is the notification message display device provided by the embodiment of the present application.
  • the total number of unread notification messages corresponding to the target application is obtained, and according to the unread notification messages corresponding to the target application Display the first part of the target control corresponding to the target application in a target way, which can facilitate users to intuitively understand the number of unread notification messages based on the proportion of the first part on the target control and the marking method of the first part , which enriches the display form of the number of unread notification messages, and can relieve the visual anxiety and visual fatigue of the user.
  • the first part increases nonlinearly on the target control, which can slow down the growth rate of the proportion of the first part on the target control, and realize the non-linear display of the number of unread notification messages, further Alleviate the user's visual anxiety; when determining the target marking symbol, according to the application type to which the target application belongs, the matching corresponding relationship is used to determine the target marking symbol, and the corresponding marking method can be determined based on different application types.
  • the device for displaying 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 a terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant).
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the device for displaying the notification message in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the apparatus for displaying notification messages provided by the embodiments of the present application can realize various processes in the embodiments of the display method for notification messages shown in FIG. 1 and FIG. 6 , and details are not repeated here to avoid repetition.
  • the embodiment of the present application further provides an electronic device 800, including a processor 801, a memory 802, and programs or instructions stored in the memory 802 and operable on the processor 801,
  • an electronic device 800 including a processor 801, a memory 802, and programs or instructions stored in the memory 802 and operable on the processor 801,
  • the program or instruction is executed by the processor 801
  • each process of the above embodiment of the method for displaying the notification message can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • 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. .
  • the electronic device 900 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 910 through the power management system, so as to manage charging, discharging and power consumption through the power management system. Management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 9 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
  • the processor 910 is configured to: obtain the total number of unread notification messages corresponding to the target application if there are unread notification messages in the target application; according to the total number of unread notification messages corresponding to the target application, Controlling the display unit 906 to display the first part of the target control corresponding to the target application in a target manner; wherein, the target control is a control used to represent the number of unread notification messages corresponding to the target application, and the first part of the target control A part corresponds to the total number of the unread notification messages.
  • the processor 910 is further configured to: when the first unread notification message of the target application is detected, control the display unit 906 to display the target control in the target area corresponding to the target application icon; wherein, the The target application icon is an icon corresponding to the target application.
  • the processor 910 is further configured to: determine the 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 total number of unread notification messages, determine the target marker symbol; mark the first part of the target control with the target marker symbol.
  • the processor 910 is further configured to: determine the application type to which the target application belongs; if the target application belongs to the first application type, The first corresponding relationship, determine the first target mark symbol; in the case that the target application belongs to the second application type, according to the second corresponding relationship between the mark symbol and the total number of unread notification messages, determine the second Target mark symbol.
  • the processor 910 is further configured to: control the proportion of the first part on the target control to increase according to the increase of the total number of unread notification messages, and the first part is on the target control
  • the growth rate of the ratio above is negatively correlated with the total number of unread notification messages.
  • the target control can facilitate users to intuitively understand the number of unread notification messages based on the proportion of the first part on the target control and the marking method of the first part, which enriches the display form of the number of unread notification messages. And can slow down the visual anxiety and visual fatigue generated by the user.
  • the first part increases nonlinearly on the target control, which can slow down the growth rate of the proportion of the first part on the target control, and realize the non-linear display of the number of unread notification messages, further Alleviate the user's visual anxiety; when determining the target marking symbol, according to the application type to which the target application belongs, the matching corresponding relationship is used to determine the target marking symbol, and the corresponding marking method can be determined based on different application types.
  • the input unit 904 may include a graphics processor (Graphics Processing Unit, GPU) 9041 and a microphone 9042, and the graphics processor 9041 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • 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 .
  • the touch panel 9071 is also called 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, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • the memory 909 can be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 910 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user pages, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 910 .
  • the embodiment of the present application also provides a readable storage medium, the readable storage medium stores a program or an instruction, and when the program or instruction is executed by the processor, each process of the above embodiment of the method for displaying the notification message is implemented, and can To achieve the same technical effect, in order to avoid repetition, no more details are given here.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run programs or instructions, and realize the implementation of the display method of the above notification message
  • the chip includes a processor and a communication interface
  • the communication interface is coupled to the processor
  • the processor is used to run programs or instructions, and realize the implementation of the display method of the above notification message
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the embodiment of the present application also provides a device configured to execute the processes of the above embodiment of the method for displaying the notification message, and can achieve the same technical effect. To avoid repetition, details are not repeated here.
  • the embodiment of the present application also provides a computer program product, the computer program product is stored in a non-volatile storage medium, and the program product is executed by at least one processor to implement the various processes in the above embodiment of the notification message presentation method, And can achieve the same technical effect, in order to avoid repetition, no more details here.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
  • the disclosed devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • modules, units, and subunits can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processor, DSP), digital signal processing equipment (DSP Device, DSPD ), Programmable Logic Device (Programmable Logic Device, PLD), Field Programmable Gate Array (Field-Programmable Gate Array, FPGA), general processor, controller, microcontroller, microprocessor, used to implement the application other electronic units or combinations thereof.
  • ASIC Application Specific Integrated Circuits
  • DSP Digital Signal Processor
  • DSP Device digital signal processing equipment
  • PLD Programmable Logic Device
  • Field Programmable Gate Array Field-Programmable Gate Array
  • FPGA Field-Programmable Gate Array
  • the technologies described in the embodiments of the present application may be implemented through modules (such as procedures, functions, etc.) that execute the functions described in the embodiments of the present application.
  • Software codes can be stored in memory and executed by a processor.
  • Memory can be implemented within the processor or external to the processor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present application relates to the technical field of communications, and discloses a notification message display method and an electronic device. The notification message display method comprises: when unread notification messages exist in a target application, obtaining the total number of the unread notification messages corresponding to the target application; and according to the total number of the unread notification messages corresponding to the target application, displaying, in a target mode, a first part of a target control corresponding to the target application, wherein the target control is a control 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.

Description

通知消息的展示方法和电子设备Display method and electronic device for notification message
相关申请的交叉引用Cross References to Related Applications
本申请要求在2021年05月18日提交中国专利局、申请号为202110541250.6、名称为“通知消息的展示方法和电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application with application number 202110541250.6 and titled "Display Method and Electronic Device for Notification Messages" filed with the China Patent Office on May 18, 2021, the entire contents of which are hereby incorporated by reference in this application .
技术领域technical field
本申请属于通信技术领域,具体涉及一种通知消息的展示方法和电子设备。The present application belongs to the technical field of communication, and in particular relates to a method for displaying a notification message and an electronic device.
背景技术Background technique
电子设备的通知推送功能可以使得用户获悉最新的信息动态,同时具有推送有效信息、及时提醒事项、及时反馈信息的作用。The notification push function of electronic devices can enable users to learn the latest information trends, and at the same time, it has the functions of pushing effective information, timely reminders, and timely feedback information.
由于电子设备所安装的应用越来越多,因此接收的通知消息也越来越多。现有技术中,在这些通知消息没有处理的情况下,会在应用图标的右上角显示未读通知消息的数量,未读通知消息只是通过数字形式展示在应用图标上,所以用户对于未读通知消息的感知并不直观,且容易使用户产生视觉恐慌。Since more and more applications are installed on electronic devices, more and more notification messages are received. In the prior art, when these notification messages are not processed, the number of unread notification messages will be displayed on the upper right corner of the application icon. The perception of the message is not intuitive, and it is easy to cause visual panic for users.
由此可见,现有技术中未读通知消息的展示方式存在展示形式单一的问题。It can be seen that there is a problem of a single display form in the display method of the unread notification message in the prior art.
发明内容Contents of the invention
本申请实施例的目的是提供一种通知消息的展示方法和电子设备,以解决现有技术中未读通知消息的展示方式存在展示形式单一的问题。The purpose of the embodiments of the present application is to provide a notification message display method and an electronic device, so as to solve the problem in the prior art that there is a single display form in the display method of unread notification messages.
第一方面,本申请实施例提供了一种通知消息的展示方法,该方法包括:In the first aspect, the embodiment of the present application provides a method for displaying a notification message, the method including:
在目标应用存在未读通知消息的情况下,获取所述目标应用对应的未读通知消息的总数量;If there are unread notification messages in the target application, acquire the total number of unread notification messages corresponding to the target application;
根据所述目标应用对应的未读通知消息的总数量,以目标方式显示所述 目标应用对应的目标控件的第一部分;Displaying the first part of the target control corresponding to the target application in a targeted manner according to the total number of unread notification messages corresponding to the target application;
其中,所述目标控件为用于表征所述目标应用对应的未读通知消息数量的控件,所述目标控件的第一部分与所述未读通知消息的总数量相对应。Wherein, the target control is a control for representing the number of unread notification messages corresponding to the target application, and the first part of the target control corresponds to the total number of unread notification messages.
第二方面,本申请实施例提供了一种通知消息的展示装置,该装置包括:In the second aspect, the embodiment of the present application provides a notification message display device, the device includes:
获取模块,用于在目标应用存在未读通知消息的情况下,获取所述目标应用对应的未读通知消息的总数量;An acquisition module, configured to acquire the total number of unread notification messages corresponding to the target application when there are unread notification messages in the target application;
第一显示模块,用于根据所述目标应用对应的未读通知消息的总数量,以目标方式显示所述目标应用对应的目标控件的第一部分;The first display module is configured to display the first part of the target control corresponding to the target application in a targeted manner according to the total number of unread notification messages corresponding to the target application;
其中,所述目标控件为用于表征所述目标应用对应的未读通知消息数量的控件,所述目标控件的第一部分与所述未读通知消息的总数量相对应。Wherein, the target control is a control for representing the number of unread notification messages corresponding to the target application, and the first part of the target control corresponds to the total number of unread notification messages.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In the fifth aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
第六方面,本申请实施例提供一种装置,所述装置被配置为用于执行如第一方面所述的方法的步骤。In a sixth aspect, an embodiment of the present application provides an apparatus configured to perform the steps of the method described in the first aspect.
第七方面,本申请实施例提供一种计算机程序产品,所述计算机程序产品被存储在非易失的存储介质中,程序产品被至少一个处理器执行以实现如第一方面所述的方法的步骤。In the seventh aspect, the embodiment of the present application provides a computer program product, the computer program product is stored in a non-volatile storage medium, and the program product is executed by at least one processor to implement the method described in the first aspect step.
在本申请实施例中,在监测到目标应用存在未读通知消息的情况下,获取目标应用对应的未读通知消息的总数量,根据目标应用对应的未读通知消息的总数量,以目标方式显示目标应用对应的目标控件的第一部分,可以便 于用户基于目标控件的第一部分直观了解未读通知消息的数量情况,丰富了未读通知消息数量的展示形式,且可以减缓用户产生的视觉焦虑和视觉疲劳。In the embodiment of the present application, when it is detected that there are unread notification messages in the target application, the total number of unread notification messages corresponding to the target application is obtained, and according to the total number of unread notification messages corresponding to the target application, the target application Displaying the first part of the target control corresponding to the target application can facilitate the user to intuitively understand the number of unread notification messages based on the first part of the target control, enrich the display form of the number of unread notification messages, and can reduce the visual anxiety and anxiety caused by the user. Visual fatigue.
附图说明Description of drawings
图1是本申请实施例提供的通知消息的展示方法的示意图;FIG. 1 is a schematic diagram of a display method of a notification message provided by an embodiment of the present application;
图2是本申请实施例提供的在目标应用图标周缘显示目标控件的示意图;FIG. 2 is a schematic diagram of displaying a target control around a target application icon provided by an embodiment of the present application;
图3是本申请实施例提供的开启渐进通知模式的示意图;Fig. 3 is a schematic diagram of enabling the progressive notification mode provided by the embodiment of the present application;
图4是本申请实施例提供的与未读通知消息的总数量以及第一部分的增长率关联的曲线图;FIG. 4 is a graph associated with the total number of unread notification messages and the growth rate of the first part provided by the embodiment of the present application;
图5是本申请实施例提供的在目标应用图标上显示目标控件的示意图;FIG. 5 is a schematic diagram of displaying a target control on a target application icon according to an embodiment of the present application;
图6是本申请实施例提供的通知消息的展示方法的具体实例示意图;FIG. 6 is a schematic diagram of a specific example of a notification message display method provided by an embodiment of the present application;
图7是本申请实施例提供的通知消息的展示装置的框图;FIG. 7 is a block diagram of an apparatus for displaying a notification message provided by an embodiment of the present application;
图8是本申请实施例提供的电子设备的示意框图之一;Fig. 8 is one of the schematic block diagrams of the electronic device provided by the embodiment of the present application;
图9是本申请实施例提供的电子设备的示意框图之二。FIG. 9 is a second schematic block diagram of an electronic device provided by an embodiment of the present application.
具体实施例specific embodiment
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will clearly describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It should be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein, and that references to "first," "second," etc. distinguish Objects are generally of one type, and the number of objects is not limited. For example, there may be one or more first objects. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的通知消息的展示方法进行详细地说明。The method for displaying the notification message provided by the embodiment of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
参见图1所示,本申请实施例提供的通知消息的展示方法,包括:Referring to Figure 1, the display method of the notification message provided by the embodiment of the present application includes:
步骤101、在目标应用存在未读通知消息的情况下,获取所述目标应用对应的未读通知消息的总数量。 Step 101, if there are unread notification messages in the target application, acquire the total number of unread notification messages corresponding to the target application.
电子设备在监测到有通知消息到达时,识别通知消息所对应的目标应用,若在预设时长接收到用户打开通知消息的输入,则通过图形用户界面显示目标应用的落地页,以展示监测到的通知消息。若在预设时长内未接收到用户打开通知消息的输入,则将监测到的通知消息确定为未读通知消息。其中,电子设备在接收到通知消息时可以显示通知消息对应的通知横幅,在开始显示通知横幅至通知横幅取消显示的这段时长可以为预设时长。在确定目标应用存在未读通知消息时,统计截止到当前时刻,目标应用对应的未读通知消息的总数量。When the electronic device detects the arrival of a notification message, it identifies the target application corresponding to the notification message, and if it receives an input from the user to open the notification message within a preset period of time, it displays the landing page of the target application through the graphical user interface to show the monitored application. notification message. If no input from the user to open the notification message is received within the preset time period, the detected notification message is determined as an unread notification message. Wherein, when the electronic device receives the notification message, it may display a notification banner corresponding to the notification message, and the period from the start of displaying the notification banner to the cancellation of the notification banner may be a preset period of time. When it is determined that there are unread notification messages in the target application, the total number of unread notification messages corresponding to the target application is counted up to the current moment.
步骤102、根据所述目标应用对应的未读通知消息的总数量,以目标方式显示所述目标应用对应的目标控件的第一部分;其中,所述目标控件为用于表征所述目标应用对应的未读通知消息数量的控件,所述目标控件的第一部分与所述未读通知消息的总数量相对应。Step 102: According to the total number of unread notification messages corresponding to the target application, display the first part of the target control corresponding to the target application in a target manner; A control for the number of unread notification messages, the first part of the target control corresponds to the total number of unread notification messages.
在获取目标应用对应的未读通知消息的总数量之后,可以在目标应用对应的目标控件上确定第一部分,目标控件为用于表征目标应用对应的未读通知消息数量的控件,具体的,目标控件可以为进度条控件,表征目标应用对应的未读通知消息的数量进度。其中,目标控件对应于一通知容量,在目标控件上确定第一部分时,可以根据目标应用对应的未读通知消息的总数量以及目标控件对应的通知容量,在目标控件上确定第一部分。After obtaining the total number of unread notification messages corresponding to the target application, the first part can be determined on the target control corresponding to the target application. The target control is a control used to represent the number of unread notification messages corresponding to the target application. Specifically, the target The control may be a progress bar control, representing the progress of the number of unread notification messages corresponding to the target application. Wherein, the target control corresponds to a notification capacity, and when determining the first part on the target control, the first part 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 part is determined, the first part of the target control can be displayed by the target method. When the first part of the target control is displayed by the target method, the first part of the target control can be marked with a marking symbol, such as using a specific shape, a specific symbol, A specific color, a specific color saturation marks the first part. By marking the first part of the target control, it is convenient for the user to intuitively understand the number of unread notification messages, so that the number of unread notification messages is displayed through the target control in the marked state.
本申请上述实施过程,在监测到目标应用存在未读通知消息的情况下,获取目标应用对应的未读通知消息的总数量,根据目标应用对应的未读通知消息的总数量,以目标方式显示目标应用对应的目标控件的第一部分,可以便于用户基于第一部分直观了解未读通知消息的数量情况,丰富了未读通知消息数量的展示形式,且相较于在应用图标上展示数字的方式,可以减缓用户产生的视觉焦虑和视觉疲劳。In the above implementation process of the present application, when it is detected that there are unread notification messages in the target application, the total number of unread notification messages corresponding to the target application is obtained, and displayed in a target manner according to the total number of unread notification messages corresponding to the target application The first part of the target control corresponding to the target application can facilitate the user to intuitively understand the number of unread notification messages based on the first part, and enrich the display form of the number of unread notification messages. Compared with the way of displaying numbers on the application icon, It can relieve visual anxiety and visual fatigue generated by users.
可选的,本申请实施例提供的通知消息的展示方法,还包括如下步骤:Optionally, the method for displaying a notification message provided in the embodiment of the present application further includes the following steps:
在监测到所述目标应用的首个未读通知消息的情况下,在目标应用图标对应的目标区域显示所述目标控件;When the first unread notification message of the target application is detected, displaying the target control in the target area corresponding to the target application icon;
其中,所述目标应用图标为所述目标应用对应的图标。Wherein, the target application icon is an icon corresponding to the target application.
针对监测到目标应用的首个未读通知消息的情况,可以触发在目标应用图标对应的目标区域显示目标控件,其中目标应用图标即为目标应用所对应的图标,目标应用图标对应的目标区域可以为目标应用图标的四周、目标应用图标的上方、目标应用图标的下方、目标应用图标所占用的区域等。目标控件可以为直线形状、圆形、方形、环形或者其他形状。如,参见图2所示,目标区域为目标应用图标的边缘四周所对应的区域,方环形状的目标控件在目标区域显示。电子设备在监测到首个未读通知消息时,在目标应用图标的周缘确定目标区域,并触发方环形状的目标控件在目标区域显示,其中方环形状的目标控件对应的总长度(四条边的总长度)与通知容量相对应。In view of the detection of the first unread notification message of the target application, the display of the target control in the target area corresponding to the target application icon can be triggered, wherein the target application icon is the icon corresponding to the target application, and the target area corresponding to the target application icon can be Surrounding the icon of the target application, above the icon of the target application, below the icon of the target application, the area occupied by the icon of the target application, etc. The target control can be in the shape of a line, a circle, a square, a ring, or other shapes. For example, as shown in FIG. 2 , the target area is the area corresponding to the periphery of the target application icon, and the target control in the shape of a square ring is displayed in the target area. When the electronic device detects the first unread notification message, it determines the target area on the periphery of the target application icon, and triggers the display of the target control in the shape of a square ring in the target area, wherein the target control in the shape of a square ring corresponds to a total length (four sides) total length) corresponds to the notification capacity.
本申请实施例通知消息的展示方法对应于渐进通知模式,在用户开启渐进通知模式时,可以在监测到首个未读通知消息的情况下,在目标应用图标对应的目标区域显示目标控件。具体可以为:在监测到目标应用的首个未读通知消息的情况下,在显示界面的多个应用图标中识别出目标应用对应的目标应用图标,然后确定目标应用图标对应的目标区域。例如,针对目标区域为目标应用图标的边缘四周所对应的区域的情况,可以根据桌面壁纸和目标 应用图标之间的RGB色值的对比,提取出目标应用图标的边缘,然后依据目标区域与各应用图标不重叠的原则确定目标区域。当然目标区域还可以处于其他位置,相应的,还可以通过其他方式确定目标区域,这里不再列举阐述。在确定目标区域之后可以在目标区域显示目标控件。若未开启渐进通知模式,则直接针对监测到的未读通知消息,在目标应用图标的右上角显示未读通知消息的数量。The display method of the notification message in the embodiment of the present application corresponds to the progressive notification mode. When the user turns on the progressive notification mode, the target control can be displayed in the target area corresponding to the target application icon when the first unread notification message is detected. Specifically, if the first unread notification message of the target application is detected, identify the target application icon corresponding to the target application among multiple application icons on the display interface, and then determine the target area corresponding to the target application icon. For example, when the target area is the area corresponding to the edge of the target application icon, the edge of the target application icon can be extracted according to the comparison of the RGB color values between the desktop wallpaper and the target application icon, and then according to the target area and each Apply the principle that icons do not overlap to determine the target area. Of course, the target area can also be located in other positions. Correspondingly, the target area can also be determined in other ways, which will not be listed here. After the target area is determined, the target control can be displayed in the target area. If the progressive notification mode is not enabled, the number of unread notification messages is directly displayed on the upper right corner of the target application icon for the detected unread notification messages.
其中,在开启渐进通知模式时还可以设置通知容量。开启渐进通知模式的过程可参见图3所示,在图形用户界面显示通知与状态栏对应的页面,在该页面上包括渐进通知选项,在选中渐进通知选项之后,显示渐进通知选项对应的页面,根据用户的输入开启渐进通知提醒,并设置通知容量。其中,不同应用所对应的通知容量可以相同或者不同,图3示意的是各应用对应的通知容量相同的情况。在渐进通知选项对应的页面,在开启渐进通知提醒之后,还可以显示多个应用分别对应的通知容量设置控件,以实现针对不同的应用分别设置通知容量。Among them, the notification capacity can also be set when the progressive notification mode is turned on. The process of enabling the progressive notification mode can be seen in Figure 3. The page corresponding to the notification and the status bar is displayed in the GUI, and the progressive notification option is included on this page. After the progressive notification option is selected, the page corresponding to the progressive notification option is displayed. Enable progressive notification reminders based on user input, and set the notification capacity. Wherein, 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 each application are the same. On the page corresponding to the progressive notification option, after the progressive notification reminder is turned on, notification capacity setting controls corresponding to multiple applications can also be displayed, so as to realize setting notification capacities for different applications.
本申请上述实施过程,根据用户的选择开启渐进通知模式,在该模式下,根据触发条件在目标区域显示目标控件,可以实现根据用户的选择通过目标控件展示未读通知消息的数量情况,通过基于首个未读通知消息触发在目标应用图标对应的目标区域展示目标控件,可以保证目标控件显示的及时性,同时可以保证在合适位置显示目标控件。In the above implementation process of this application, the progressive notification mode is enabled according to the user's choice. In this mode, the target control is displayed in the target area according to the trigger condition, and the number of unread notification messages can be displayed through the target control according to the user's choice. The first unread notification message triggers the display of the target control in the target area corresponding to the target application icon, which can ensure the timeliness of displaying the target control and ensure that the target control is displayed at an appropriate position.
可选的,步骤102:所述根据所述目标应用对应的未读通知消息的总数量,以目标方式显示所述目标应用对应的目标控件的第一部分,包括:Optionally, step 102: displaying the first part of the target control corresponding to the target application in a targeted manner according to the total number of unread notification messages corresponding to the target application includes:
根据所述目标应用对应的未读通知消息的总数量和所述目标控件对应的通知容量,确定所述目标控件的第一部分;determining the 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;
根据所述目标应用对应的未读通知消息的总数量,确定目标标记符号;Determine the target mark symbol according to the total number of unread notification messages corresponding to the target application;
通过所述目标标记符号对所述目标控件的第一部分进行标记。The first part of the target control is marked by the target marking symbol.
在根据目标应用对应的未读通知消息的总数量,以目标方式显示目标应用对应的目标控件的第一部分时,需要在目标控件上确定第一部分、确定目 标标记符号,然后在目标控件的第一部分显示目标标记符号,即采用目标标记符号对目标控件的第一部分进行标记。When displaying the first part of the target control corresponding to the target application in a targeted manner according to the total number of unread notification messages corresponding to the target application, it is necessary to determine the first part on the target control, determine the target mark symbol, and then display the first part of the target control on the first part of the target control Displays the target marker symbol, marking the first part of the target control with the target marker symbol.
下面对确定目标控件的第一部分的过程进行阐述,在确定目标控件的第一部分时,包括以下方案其中之一。The process of determining the first part of the target control is described below, and one of the following schemes is included when determining the first part of the target control.
方案一Option One
在根据未读通知消息的总数量以及目标控件对应的通知容量,在目标控件上确定第一部分时,可以根据未读通知消息的总数量与通知容量的比值,在目标控件上确定第一部分,第一部分在目标控件上所占比例和未读通知消息的总数量与通知容量的比值相等,即,该方案中可以基于未读通知消息的总数量与通知容量的比值在目标控件上确定第一部分。When determining the first part on the target control according to the total number of unread notification messages and the corresponding notification capacity of the target control, the first part can be determined on the target control according to the ratio of the total number of unread notification messages to the notification capacity. The proportion of a part on the target control is equal to the ratio of the total number of unread notification messages to the notification capacity, that is, in this solution, the first part can be determined on the target control based on the ratio of the total number of unread notification messages to the notification capacity.
方案二Option II
针对目标控件而言,可以包括多个连续的子区域,每一子区域对应于一数量,各子区域对应的数量之和为目标控件对应的通知容量,在根据未读通知消息的总数量以及目标控件对应的通知容量,在目标控件上确定第一部分时,可以根据未读通知消息的总数量在目标控件上确定至少一个子区域,将所确定的至少一个子区域进行组合,将得到的组合区域确定为第一部分。For the target control, it can include multiple continuous sub-areas, each sub-area corresponds to a quantity, and the sum of the quantities corresponding to each sub-area is the notification capacity corresponding to the target control. According to the total number of unread notification messages and The notification capacity corresponding to the target control. When determining the first part on the target control, at least one sub-area can be determined on the target control according to the total number of unread notification messages, and the determined at least one sub-area can be combined to obtain the combined The area is identified as the first part.
方案三third solution
针对目标控件而言,可以对应一第一位置、一第二位置以及至少一个第三位置,其中第一位置对应于数量0,第二位置对应于通知容量,每个第三位置对应于一数量信息,在根据未读通知消息的总数量以及目标控件对应的通知容量,在目标控件上确定第一部分时,可以以第一位置为起点,根据未读通知消息的总数量、每个第三位置对应的数量信息、第二位置对应的通知容量,确定终点位置,即,以第一位置为起点,沿着预设路径(在预设路径的延伸方向上,所对应的数量依次增大)到达终点位置,根据起点位置和终点位置确定第一部分,即,将起点位置与终点位置之间的部分(预设路径对应的部分)确定为第一部分。For the target control, it can correspond to a first position, a second position and at least one third position, wherein the first position corresponds to the quantity 0, the second position corresponds to the notification capacity, and each third position corresponds to a quantity Information, when determining the first part on the target control according to the total number of unread notification messages and the notification capacity corresponding to the target control, the first position can be used as the starting point, according to the total number of unread notification messages, each third position The corresponding quantity information and the notification capacity corresponding to the second location determine the end location, that is, take the first location as the starting point and arrive at For the end position, the first part is determined according to the start position and the end position, that is, the part between the start position and the end position (the part corresponding to the preset path) is determined as the first part.
当然根据未读通知消息的总数量和目标控件对应的通知容量,在目标控 件上确定第一部分的方式并不局限于上述几种,本领域技术人员还可以采用其他方式确定与未读通知消息的总数量对应的第一部分。Of course, according to the total number of unread notification messages and the notification capacity corresponding to the target control, the method of determining the first part on the target control is not limited to the above-mentioned methods, and those skilled in the art can also use other methods to determine the relationship between the unread notification message and the unread notification message. The first part corresponding to the total quantity.
在确定目标标记符号时,可以根据统计的目标应用对应的未读通知消息的总数量,确定目标标记符号,其中目标标记符号包括但不限于目标颜色、目标颜色饱和度、目标形状、目标符号等。When determining the target mark symbol, the target mark symbol can be determined according to the total number of statistics of unread notification messages corresponding to the target application, where the target mark symbol includes but not limited to target color, target color saturation, target shape, target symbol, etc. .
其中,在目标控件上确定第一部分以及确定目标标记符号,两者无明确的先后执行顺序,可以首先确定目标控件的第一部分、然后确定目标标记符号,还可以首先确定目标标记符号、然后确定目标控件的第一部分,也可以同时确定目标控件的第一部分以及目标标记符号。Among them, determining the first part and determining the target mark symbol on the target control, there is no clear order of execution of the two, the first part of the target control can be determined first, and then the target mark symbol can be determined, or the target mark symbol can be determined first, and then the target can be determined The first part of the control, or both the first part of the target control and the target marker symbol.
在目标控件上确定第一部分且确定目标标记符号之后,可以在目标控件的第一部分显示目标标记符号,即采用目标标记符号对目标控件的第一部分进行标记,使得第一部分以区别于其他部分的显示样式进行显示,以便于用户可以基于第一部分以及目标标记符号直观的了解到未读通知消息对应的数量情况。After the first part is determined on the target control and the target mark symbol is determined, the target mark symbol can be displayed on the first part of the target control, that is, the target mark symbol is used to mark the first part of the target control, so that the first part can be displayed differently from other parts The style is displayed, so that the user can intuitively understand the corresponding quantity of unread notification messages based on the first part and the target mark symbol.
本申请上述实施过程,通过基于未读通知消息的总数量以及目标控件的通知容量,在目标控件上确定第一部分,根据未读通知消息的总数量确定目标标记符号,以目标标记符号对目标控件的第一部分进行标记,可以实现以标记的形式展示第一部分,使得用户可以基于目标控件以及目标标记符号直观了解未读通知消息的数量情况。The above implementation process of the present application determines the first part on the target control based on the total number of unread notification messages and the notification capacity of the target control, determines the target mark symbol according to the total number of unread notification messages, and uses the target mark symbol to target the target control Marking the first part of the first part can realize displaying the first part in the form of a mark, so that the user can intuitively understand the number of unread notification messages based on the target control and the target mark symbol.
可选的,所述根据所述目标应用对应的未读通知消息的总数量,确定目标标记符号,包括:Optionally, the determining the target mark symbol according to the total number of unread notification messages corresponding to the target application includes:
确定所述目标应用所归属的应用类型;Determine the application type to which the target application belongs;
在所述目标应用归属于第一应用类型的情况下,根据标记符号与所述未读通知消息的总数量的第一对应关系,确定第一目标标记符号;In the case where the target application belongs to the first application type, determining a first target marker symbol according to a first correspondence between the marker symbol and the total number of unread notification messages;
在所述目标应用归属于第二应用类型的情况下,根据标记符号与所述未读通知消息的总数量的第二对应关系,确定第二目标标记符号。In a case where the target application belongs to the second application type, a second target marking symbol is determined according to a second corresponding relationship between the marking symbol and the total number of the unread notification messages.
在根据目标应用对应的未读通知消息的总数量确定目标标记符号时,可 以首先确定目标应用所归属的应用类型。在确定目标应用所归属的应用类型时,可以根据目标应用的使用频次确定目标应用所归属的应用类型(如,根据目标应用的使用频次确定目标应用属于高频应用(使用次数大于或者等于预设次数阈值和/或使用频率大于或者等于预设频率阈值)时,则确定目标应用归属于第一应用类型,在确定目标应用属于低频应用(如,使用次数小于预设次数阈值和/或使用频率小于预设频率阈值)时,则确定目标应用归属于第二应用类型)。也可以根据目标应用的重要等级确定目标应用所归属的应用类型(如,在目标应用的重要等级大于或者等于预设等级时,确定目标应用归属于第一应用类型,在目标应用的重要等级小于预设等级时,确定目标应用归属于第二应用类型),其中这里的重要等级可以替换为应用与用户之间的关联度等级(即,针对每个应用可以对应一与用户之间的关联度,关联度越高,则等级越高)。还可以以应用分类为维度确定目标应用所归属的应用类型(如,通信类应用归属于第一应用类型、电商类应用归属于第二应用类型)。When determining the target marker symbol according to the total number of unread notification messages corresponding to the target application, the application type to which the target application belongs may first be determined. When determining the application type to which the target application belongs, the application type to which the target application belongs can be determined according to the frequency of use of the target application (for example, it is determined according to the frequency of use of the target application that the target application belongs to a high-frequency application (the number of times of use is greater than or equal to the preset When the number of times threshold and/or the frequency of use are greater than or equal to the preset frequency threshold), it is determined that the target application belongs to the first application type; is less than the preset frequency threshold), it is determined that the target application belongs to the second application type). The application type to which the target application belongs can 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 the preset level, it is determined that the target application belongs to the first application type, and when the importance level of the target application is less than When the level is preset, it is determined that the target application belongs to the second application type), wherein the importance level here can be replaced by the degree of association between the application and the user (that is, for each application, there can be one degree of association with the user , the higher the correlation, the higher the level). The application type to which the target application belongs may also be determined by using application classification as a dimension (for example, a communication application belongs to the first application type, and an e-commerce application belongs to the 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 marking symbol can be determined according to the first correspondence relationship between the marking symbol and the total number of unread notification messages, if the target application Belonging to the second application type, the second target marking symbol may be determined according to the second corresponding relationship between the marking symbol and the total number of unread notification messages.
下面针对目标标记符号为目标颜色、目标颜色饱和度、目标形状、目标符号的情况,分别对确定第一目标标记符号和第二目标标记符号的过程进行阐述。In the following, the process of determining the first target marking symbol and the second target marking symbol will be described respectively for the case where the target marking symbols are target color, target color saturation, target shape, and target symbol.
针对目标标记符号为目标颜色的情况,在确定目标应用归属于第一应用类型之后,可以根据色相与未读通知消息的总数量的第一对应关系,确定第一目标颜色。其中未读通知消息的总数量的不同数量范围对应的色相不同,且可以按照预设光谱顺序(如,红、橙、黄、绿、青、蓝、紫依次排列)建立色相与未读通知消息的总数量之间的关联,随着未读通知消息的总数量的增多,按照预设光谱顺序依次与不同的色相建立第一对应关系。即,未读通 知消息的总数量越多,则对应的色相越靠后。例如,在未读通知消息的总数量对应于数量范围1至10时,对应的色相为红色,在未读通知消息的总数量对应于数量范围11至20时,对应的色相为橙色,在未读通知消息的总数量对应于数量范围21至30时,对应的色相为黄色。在建立第一对应关系之后,可以确定第一目标颜色,进而通过第一目标颜色显示目标控件的第一部分,如,在目标控件的第一部分显示红色,在目标控件除第一部分之外的其他部分以默认颜色(白色)显示,实现以突出的颜色对第一部分进行标记。For the case where the target marking symbol is the target color, after it is determined that the target application belongs to the first application type, the first target color may be determined according to the first correspondence between the hue and the total number of unread notification messages. The hues corresponding to the different ranges of the total number of unread notification messages are different, and the hue and unread notification messages can be established according to the preset spectral order (for example, red, orange, yellow, green, blue, blue, and purple in sequence). As the total number of unread notification messages increases, a first corresponding relationship is established with different hues in sequence according to the preset spectral sequence. That is, the more the total number of unread notification messages, the lower 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; When the total number of read notification messages corresponds to the number range 21 to 30, the corresponding hue is yellow. After the first corresponding relationship is established, the first target color can be determined, and then the first part of the target control can be displayed through the first target color, for example, red is displayed on the first part of the target control, and the other parts of the target control except the first part Displayed in the default color (white) to mark the first part with a prominent color.
在确定目标应用归属于第二应用类型之后,可以根据色相与未读通知消息的总数量的第二对应关系,确定第二目标颜色。其中未读通知消息的总数量的不同数量范围对应的色相不同,在未读通知消息的总数量小于或者等于预设数量阈值时,可以按照预设光谱顺序(如,红、橙、黄、绿、青、蓝、紫依次排列)建立色相与未读通知消息的总数量之间的关联,随着未读通知消息的总数量的增多,按照预设光谱顺序依次与不同的色相建立关联。在未读通知消息的总数量大于预设数量阈值时,可以按照预设光谱顺序(如,红、橙、黄、绿、青、蓝、紫依次排列)的相反顺序,建立色相与未读通知消息的总数量之间的关联,随着未读通知消息的总数量的增多,按照预设光谱顺序的相反顺序依次与不同的色相建立关联。根据未读通知消息的总数量小于或者等于预设数量阈值时对应的关联以及未读通知消息的总数量大于预设数量阈值时对应的关联,可以形成第二对应关系。例如,预设数量阈值为30,在未读通知消息的总数量对应于数量范围1至5时,对应的色相为红色,在未读通知消息的总数量对应于数量范围6至10时,对应的色相为橙色,在未读通知消息的总数量对应于数量范围11至15时,对应的色相为黄色,在未读通知消息的总数量对应于数量范围16至20时,对应的色相为绿色,在未读通知消息的总数量对应于数量范围21至25时,对应的色相为青色,在未读通知消息的总数量对应于数量范围26至30时,对应的色相为蓝色。在未读通知消息的总数量对应于数量范围31至35时,对应的色相为青色,在未读通知消息的总数量对应于数量范围36至40时,对应的色相为绿色。在 建立第二对应关系之后,可以确定第二目标颜色,进而通过第二目标颜色显示目标控件的第一部分。上述实施过程虽然存在同一色相对应于不同数量范围的情况(如,数量范围21至25时,对应的色相为青色;数量范围31至35时,对应的色相为青色),但可以基于第一部分在目标控件上所占的比例,了解到未读通知消息的数量情况。After it is determined that the target application belongs to the second application type, the second target color may be determined according to the second corresponding relationship between the hue and the total number of unread notification messages. The hues corresponding to different ranges of the total number of unread notification messages are different. When the total number of unread notification messages is less than or equal to the preset number threshold, the color can be displayed according to the preset spectral order (such as red, orange, yellow, green, etc.). , cyan, blue, and purple in sequence) to establish the association between the hue and the total number of unread notification messages, and as the total number of unread notification messages increases, associations are established with different hues in sequence according to the preset spectral order. When the total number of unread notification messages is greater than the preset number threshold, the hue and unread notifications can be established in the reverse order of the preset spectral order (for example, red, orange, yellow, green, cyan, blue, and purple). As for the association between the total number of messages, as the total number of unread notification messages increases, associations are successively established with different hues according to the reverse order of the preset spectral order. The second corresponding relationship may be formed according to the corresponding association when the total number of unread notification messages is less than or equal to the preset number threshold and the corresponding association when the total number of unread notification messages is greater than the preset number threshold. For example, if the preset number threshold is 30, when the total number of unread notification messages corresponds to the number range 1 to 5, the corresponding hue is red; when the total number of unread notification messages corresponds to the number range 6 to 10, the corresponding hue is red. The hue of is orange. When the total number of unread notification messages corresponds to the number range of 11 to 15, the corresponding hue is yellow. When the total number of unread notification messages corresponds to the number range of 16 to 20, the corresponding hue is green. , when the total number of unread notification messages corresponds to the number range of 21 to 25, the corresponding hue is cyan, and when the total number of unread notification messages corresponds to the number range of 26 to 30, the corresponding hue is blue. When the total number of unread notification messages corresponds to the number range 31-35, the corresponding hue is cyan; when the total number of unread notification messages corresponds to the number range 36-40, the corresponding hue is green. After the second corresponding relationship is established, the second target color can be determined, and then the first part of the target control can be displayed through the second target color. Although there are situations in which the same hue corresponds to different number ranges in the above-mentioned implementation process (for example, when the number ranges from 21 to 25, the corresponding hue is cyan; when the number ranges from 31 to 35, the corresponding hue is cyan), but it can be based on the first part. The proportion of the target control to know the number of unread notification messages.
上述针对目标标记符号为目标颜色的情况,可以使得用户基于目标控件的第一部分(通过第一部分在目标控件上所占比例可以了解未读通知消息数量与通知容量的比例)以及第一部分对应的色相(通过第一部分的色相可以直观了解未读通知消息的数量范围)两个维度,清晰直观了解未读通知消息的数量情况。For the above case where the target mark symbol is the target color, the user can know the ratio of the number of unread notification messages to the notification capacity based on the first part of the target control (through the proportion of the first part on the target control) and the hue corresponding to the first part (Through the hue of the first part, you can intuitively understand the range of the number of unread notification messages) Two dimensions, clearly and intuitively understand the number of unread notification messages.
针对目标标记符号为目标颜色饱和度的情况,在确定目标应用归属于第一应用类型之后,可以根据颜色饱和度与未读通知消息的总数量的第一对应关系,确定第一目标颜色饱和度。其中未读通知消息的总数量的不同数量范围对应的颜色饱和度不同,颜色饱和度和未读通知消息的总数量正相关,即按照未读通知消息的总数量越大,则颜色饱和度的取值越大这一原则建立第一对应关系。如在未读通知消息的总数量对应于数量范围1至10时,对应于第一颜色饱和度(50%),在未读通知消息的总数量对应于数量范围11至20时,对应于第二颜色饱和度(60%),在未读通知消息的总数量对应于数量范围21至30时,对应于第三颜色饱和度(70%)。在建立第一对应关系之后,可以确定第一目标颜色饱和度,通过默认颜色(如,红色)对应的第一目标颜色饱和度显示目标控件的第一部分,如,在目标控件的第一部分以第一目标颜色饱和度(70%)显示红色,在目标控件除第一部分之外的其他部分显示白色。For the case where the target mark 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 the first corresponding relationship between the color saturation and the total number of unread notification messages . The color saturation corresponding to different ranges of the total number of unread notification messages is different, and the color saturation is positively correlated with the total number of unread notification messages, that is, the greater the total number of unread notification messages, the greater the color saturation. The principle that the larger the value is, establishes the first corresponding relationship. For example, when the total number of unread notification messages corresponds to the number range 1 to 10, it corresponds to the first color saturation (50%); when the total number of unread notification messages corresponds to the number range 11 to 20, it corresponds to the first color saturation (50%). The second color saturation (60%) corresponds to the third color saturation (70%) when the total number of unread notification messages corresponds to the number range from 21 to 30. After the first corresponding relationship is established, the first target color saturation can be determined, and the first part of the target control is displayed through the first target color saturation corresponding to the default color (for example, red), for example, the first part of the target control is represented by the first A target color saturation (70%) displays red, and other parts of the target control except the first part display white.
在确定目标应用归属于第二应用类型之后,可以根据颜色饱和度与未读通知消息的总数量的第二对应关系,确定第二目标颜色饱和度。其中未读通知消息的总数量的不同数量范围对应的颜色饱和度不同,在未读通知消息的总数量小于或者等于预设数量阈值时,颜色饱和度和未读通知消息的总数量 正相关,在未读通知消息的总数量大于预设数量阈值时,颜色饱和度和未读通知消息的总数量负相关,根据这一原则建立第二对应关系。如,预设数量阈值为30,在未读通知消息的总数量小于或者等于30时,随着未读通知消息的总数量的增加,颜色饱和度增强,在未读通知消息的总数量大于30时,随着未读通知消息的总数量的增加,颜色饱和度减弱。在建立第二对应关系之后,可以确定第二目标颜色饱和度,通过默认颜色(如,红色)对应的第二目标颜色饱和度显示目标控件的第一部分,如,在目标控件的第一部分以第二目标颜色饱和度(60%)显示红色,在目标控件除第一部分之外的其他部分显示白色。上述实施过程可能会存在同一颜色饱和度对应于不同数量范围的情况,但可以基于第一部分在目标控件上所占的比例,了解到未读通知消息的数量情况。After it is determined that the target application belongs to the second application type, the second target color saturation may be determined according to the second corresponding relationship between the color saturation and the total number of unread notification messages. The color saturation corresponding to different ranges of the total number of unread notification messages is different, and when the total number of unread notification messages is less than or equal to a preset number threshold, the color saturation is positively correlated with the total number of unread notification messages, When the total number of unread notification messages is greater than the preset number threshold, the color saturation is negatively correlated with the total number of unread notification messages, and the second corresponding relationship is established according to this principle. For example, the preset number threshold is 30. When the total number of unread notification messages is less than or equal to 30, as the total number of unread notification messages increases, the color saturation increases. When the total number of unread notification messages is greater than 30 , as the total number of unread notification messages increases, the color saturation weakens. After the second corresponding relationship is established, the second target color saturation can be determined, and the first part of the target control is displayed through the second target color saturation corresponding to the default color (for example, red). For example, the first part of the target control is represented by the first The second target color saturation (60%) shows red, and the other parts of the target control except the first part show white. In the above implementation process, the same color saturation may correspond 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.
上述针对目标标记符号为目标颜色饱和度的情况,可以使得用户基于第一部分(通过第一部分在目标控件上所占比例可以了解未读通知消息数量与通知容量的比例)以及第一部分对应的颜色饱和度(通过第一部分的颜色饱和度可以直观了解未读通知消息的数量范围)两个维度,清晰直观了解未读通知消息的数量情况,且可以在未读通知消息的总数量大于预设数量阈值时,针对第二应用类型的应用,弱化颜色饱和度,使得用户在第一应用类型的应用上的关注度大于第二应用类型的应用,实现减少第二应用类型的应用通知对用户的打扰。For the above-mentioned situation where the target mark symbol is the target color saturation, the user can know the ratio of the number of unread notification messages to the notification capacity based on the first part (through the proportion of the first part on the target control) and the color saturation corresponding to the first part Degree (through the color saturation of the first part, you can intuitively understand the range of the number of unread notification messages) two dimensions, clearly and intuitively understand the number of unread notification messages, and can be used when the total number of unread notification messages is greater than the preset number threshold At this time, for the second application type, the color saturation is weakened, so that the user pays more attention to the first application type than the second application type, so as to reduce the interruption of the second application type application notification to the user.
针对目标标记符号为目标形状的情况,在确定目标应用归属于第一应用类型之后,可以根据形状与未读通知消息的总数量的第一对应关系,确定第一目标形状。其中未读通知消息的总数量的不同数量范围对应的形状不同,且可以按照预设形状排列顺序(如三角形、正方形、圆形依次排列)建立形状与未读通知消息的总数量之间的关联,随着未读通知消息的总数量的增多,按照预设形状排列顺序依次与不同的形状建立第一对应关系。即,未读通知消息的总数量越多,则对应的形状越靠后。在建立第一对应关系之后,可以确定第一目标形状,进而在目标控件的第一部分显示第一目标形状,如,在 目标控件的第一部分显示圆形。For the case where the target mark symbol is a 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 correspondence between the shape and the total number of unread notification messages. The different ranges of the total number of unread notification messages correspond to different shapes, and the association between the shape and the total number of unread notification messages can be established according to the preset order of shapes (such as triangles, squares, and circles in sequence). , as the total number of unread notification messages increases, a first corresponding relationship is established with different shapes in sequence according to the preset arrangement order of shapes. That is, the greater the total number of unread notification messages, the lower the corresponding shape. After the first corresponding relationship is established, the first target shape can be determined, and then the first target shape is displayed on the first part of the target control, for example, a circle is displayed on the first part of the target control.
在确定目标应用归属于第二应用类型之后,可以根据形状与未读通知消息的总数量的第二对应关系,确定第二目标形状。其中未读通知消息的总数量的不同数量范围对应的形状不同,在未读通知消息的总数量小于或者等于预设数量阈值时,可以按照预设形状排列顺序(如三角形、正方形、圆形依次排列)建立形状与未读通知消息的总数量之间的关联,随着未读通知消息的总数量的增多,按照预设形状排列顺序依次与不同的形状建立关联。在未读通知消息的总数量大于预设数量阈值时,可以按照预设形状排列顺序(如三角形、正方形、圆形依次排列)的相反顺序,建立形状与未读通知消息的总数量之间的关联,随着未读通知消息的总数量的增多,按照预设形状排列顺序的相反顺序依次与不同的形状建立关联。根据未读通知消息的总数量小于或者等于预设数量阈值时对应的关联以及未读通知消息的总数量大于预设数量阈值时对应的关联,可以形成第二对应关系。在建立第二对应关系之后,可以确定第二目标形状,进而在目标控件的第一部分显示第二目标形状。上述实施过程可能会存在同一形状对应于不同数量范围的情况,但可以基于第一部分在目标控件上所占的比例,了解到未读通知消息的数量情况。After it is determined that the target application belongs to the second application type, the second target shape may be determined according to the second corresponding relationship between the shape and the total number of unread notification messages. The shapes corresponding to the different ranges of the total number of unread notification messages are different. When the total number of unread notification messages is less than or equal to the preset number threshold, the sequence can be arranged according to the preset shape (such as triangle, square, circle, etc.) Arrangement) establishes associations between shapes and the total number of unread notification messages, and as the total number of unread notification messages increases, associations are established with different shapes in sequence according to the preset shape arrangement sequence. When the total number of unread notification messages is greater than the preset number threshold, the relationship between the shape and the total number of unread notification messages can be established according to the reverse order of the preset shape arrangement order (such as triangle, square, and circle). Associating, as the total number of unread notification messages increases, associations with different shapes are established sequentially in the reverse order of the preset shape arrangement order. The second corresponding relationship may be formed according to the corresponding association when the total number of unread notification messages is less than or equal to the preset number threshold and the corresponding association when the total number of unread notification messages is greater than the preset number threshold. After the second corresponding relationship is established, the second target shape can be determined, and then the second target shape can be displayed on the first part of the target control. In the above implementation process, the same shape may correspond 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.
上述针对目标标记符号为目标形状的情况,可以使得用户基于第一部分(通过第一部分在目标控件上所占比例可以了解未读通知消息数量与通知容量的比例)以及第一部分上显示的形状(通过第一部分上显示的形状可以直观了解未读通知消息的数量范围)两个维度,清晰直观了解未读通知消息的数量情况。For the above situation where the target mark symbol is a target shape, the user can know the ratio of the number of unread notification messages to the notification capacity based on the first part (through the proportion of the first part on the target control) and the shape displayed on the first part (through The shape displayed on the first part can intuitively understand the number range of unread notification messages) in two dimensions, and clearly and intuitively understand the number of unread notification messages.
针对目标标记符号为目标符号(目标符号可以为加号、减号等)的情况,与目标标记符号为目标形状的情况类似,这里不再赘述。且需要说明的是,标记符号也可以包括形状、符号、颜色、颜色饱和度中至少两种情况的组合,如,形状、符号、颜色分别对应于不同的未读通知消息的总数量,对于此种情况这里不再列举阐述。For the case where the target mark symbol is a target symbol (the target symbol can be a plus sign, a minus sign, etc.), it is similar to the case that the target mark symbol is a target shape, and will not be repeated here. And it should be noted that the marking symbol may also include a combination of at least two conditions among shape, symbol, color, and color saturation. For example, the shape, symbol, and color respectively correspond to the total number of different unread notification messages. For this This case will not be listed here.
本申请上述实施过程,在目标应用归属于第一应用类型的情况下,根据 第一对应关系确定第一目标标记符号,在目标应用归属于第二应用类型的情况下,根据第二对应关系确定第二目标标记符号,可以基于不同的应用类型确定对应的标记方式。In the above implementation process of this application, if the target application belongs to the first application type, the first target symbol is determined according to the first correspondence, and when the target application belongs to the second application type, it is determined according to the second correspondence. For the second target marking symbol, a corresponding marking manner may be determined based on different application types.
可选的,所述第一部分在所述目标控件上所占比例根据所述未读通知消息的总数量的增长而增长,且所述第一部分在所述目标控件上所占比例的增长速度与所述未读通知消息的总数量负相关。Optionally, the proportion of the first part on the target control increases according to the increase of the total number of unread notification messages, and the growth rate of the proportion of the first part on the target control is the same as The total number of unread notification messages is negatively correlated.
目标控件的第一部分在目标控件上所占的比例随未读通知消息的总数量的增长而增长,且第一部分在目标控件上所占的比例的增长属于非线性增长,随着未读通知消息的总数量的增加,第一部分在目标控件上所占比例的增长速度减缓,可以在一定程度上减缓用户的视觉焦虑。The proportion of the first part of the target control on the target control increases with the increase of the total number of unread notification messages, and the growth of the proportion of the first part on the target control is a non-linear growth. The increase in the total number of , and the slowdown in the growth rate of the proportion of the first part on the target control can alleviate the user's visual anxiety to a certain extent.
下面通过一具体实例对第一部分在目标控件上所占的比例的非线性增长进行介绍,目标应用对应的未读通知消息的总数量为x,第一部分在目标控件上所占的比例可以按照
Figure PCTCN2022092825-appb-000001
(a>1)的曲线斜率进行增长,y越大(即x越大),增长速率越慢。若a等于2,x的最大值为64,则该公式为
Figure PCTCN2022092825-appb-000002
对应的曲线如图4所示,横轴表示未读通知消息的总数量,纵轴表示y的取值,曲线的斜率代表增长速率,未读通知消息数量从4到8,和数量从8到12的增长速率是完全不同的,随着未读通知消息总数量的增加,第一部分在目标控件上所占的比例的增长呈现渐缓的趋势。
The following describes the non-linear growth of the proportion of the first part on the target control through a specific example. The total number of unread notification messages corresponding to the target application is x, and the proportion of the first part on the target control can be calculated according to
Figure PCTCN2022092825-appb-000001
The slope of the curve (a>1) grows, and the larger y (that is, the larger x), the slower the growth rate. If a is equal to 2 and the maximum value of x is 64, then the formula is
Figure PCTCN2022092825-appb-000002
The corresponding curve is shown in Figure 4. The horizontal axis represents the total number of unread notification messages, the vertical axis represents the value of y, and the slope of the curve represents the growth rate. The number of unread notification messages ranges from 4 to 8, and the number ranges from 8 to The growth rates of 12 are completely different. As the total number of unread notification messages increases, the proportion of the first part in the target control increases gradually.
其中,第一部分在目标控件上所占的比例的非线性增长还可以对应于其他形式,但需要遵循随着未读通知消息的总数量的增加,对应的增长速度逐渐减小的原则,具体形式这里不再一一列举阐述。Among them, the non-linear growth of the proportion of the first part on the target control can also correspond to other forms, but it needs to follow the principle that the corresponding growth rate gradually decreases with the increase of the total number of unread notification messages. The specific form Here no longer list them one by one.
其中,在标记符号为颜色饱和度时,针对第一应用类型的应用而言,随着未读通知消息总数量的增加,第一部分在目标控件上所占的比例的增长呈现渐缓的趋势,颜色饱和度与未读通知消息的总数量正相关,颜色饱和度随着未读通知消息总数量的增加而增强。针对第二应用类型的应用而言,随着未读通知消息总数量的增加,第一部分在目标控件上所占的比例的增长呈现渐缓的趋势,在未读通知消息的总数量小于或者等于预设数量阈值时,颜色 饱和度随未读通知消息的总数量的增加而增强,在未读通知消息的总数量大于预设数量阈值时,颜色饱和度随未读通知消息的总数量的增加而减弱。对于标记符号为形状、符号、颜色的情况,不再与第一部分在目标控件上所占的比例的增长情况进行结合阐述。Wherein, when the marking symbol is color saturation, for the application of the first application type, as the total number of unread notification messages increases, the proportion of the first part in the target control increases gradually, The color saturation is positively correlated with the total number of unread notification messages, and the color saturation increases with the increase of the total number of unread notification messages. For applications of the second application type, as the total number of unread notification messages increases, the proportion of the first part in the target control increases gradually. When the total number of unread notification messages is less than or equal to When the preset number threshold is reached, the color saturation increases with the increase of the total number of unread notification messages. When the total number of unread notification messages is greater than the preset number threshold, the color saturation increases with the total number of unread notification messages And weakened. For the case where the marking symbols are shapes, symbols, and colors, it will not be combined with the growth of the proportion of the first part on the target control.
本申请上述实施过程,通过随着未读通知消息的总数量的增加,减缓第一部分在目标控件上所占比例的增长速度,可以实现非线性增长,避免第一部分的快速增长,可以在一定程度上减缓用户的视觉焦虑。In the above implementation process of this application, by slowing down the growth rate of the proportion of the first part in the target control with the increase of the total number of unread notification messages, non-linear growth can be achieved, and the rapid growth of the first part can be avoided to a certain extent. Reduce the user's visual anxiety.
本申请实施例中的目标控件可以为进度条形式,显示在目标应用图标的一侧(如长条形的进度条显示在目标应用图标的下方)或者周缘(如,方环形状的进度条显示在目标应用图标的四周),当然并不局限于此。参见图5所示,目标控件可以显示在目标应用图标上,目标控件的第一部分(目标应用图标的底部区域)显示气泡。随着未读通知消息的总数量的增加,气泡的数量增加,相应的第一部分在目标控件上所占比例也增加,气泡数量以及第一部分在目标控件上所占比例均为非线性增长,即,随着未读通知消息的总数量的增加,增长速率减缓。其中,针对标记符号为颜色饱和度的情况,若目标应用属于第一应用类型,随着未读通知消息的总数量的增加,气泡的颜色饱和度随之增加,若目标应用属于第二应用类型,在未读通知消息的总数量小于或者等于预设数量阈值时,随着未读通知消息的总数量的增加,气泡的颜色饱和度随之增强,在未读通知消息的总数量大于预设数量阈值时,随着未读通知消息的总数量的增加,气泡的颜色饱和度随之减弱。The target control in this embodiment of the present application can be in the form of a progress bar, which is displayed on one side of the target application icon (for example, a strip-shaped progress bar is displayed below the target application icon) or on the periphery (for example, a square ring-shaped progress bar is displayed around the target application icon), of course, is not limited to this. Referring to FIG. 5 , the target control can be displayed on the target application icon, and the first part of the target control (the bottom area of the target application icon) displays bubbles. As the total number of unread notification messages increases, the number of bubbles increases, and the proportion of the corresponding first part on the target control also increases. The number of bubbles and the proportion of the first part on the target control both increase non-linearly, that is , as the total number of unread notification messages increases, the growth rate slows down. Wherein, for the case where the marking symbol is color saturation, if the target application belongs to the first application type, the color saturation of the bubble increases as the total number of unread notification messages increases; if the target application belongs to the second application type , when the total number of unread notification messages is less than or equal to the preset number threshold, as the total number of unread notification messages increases, the color saturation of the bubbles increases, and when the total number of unread notification messages is greater than the preset When the number threshold is set, as the total number of unread notification messages increases, the color saturation of the bubbles decreases accordingly.
需要说明的是,在接收到用户对目标应用对应的目标控件所执行的满足预设输入特征的输入时(如,用户手指对目标控件的长时间按压、用户手指对目标控件执行的满足预设力度的点击等),可以取消第一部分在目标控件上以目标方式进行的显示,即控制目标控件对应的数量清零,实现清空目标应用的通知提醒。It should be noted that when an input that satisfies the preset input characteristics performed by the user on the target control corresponding to the target application is received (for example, the user's finger presses the target control for a long time, the user's finger on the target control satisfies the preset The click of the force, etc.) can cancel the display of the first part in the target mode on the target control, that is, control the number corresponding to the target control to be cleared, and realize clearing the notification reminder of the target application.
下面通过一具体实例对本申请实施例提供的通知消息的展示方法的整体实施流程进行介绍,如图6所示,包括:The following uses a specific example to introduce the overall implementation process of the notification message display method provided by the embodiment of the present application, as shown in Figure 6, including:
步骤601、检测是否开启渐进通知模式,若开启执行步骤602,否则执行步骤611。 Step 601 , check whether the progressive notification mode is enabled, if enabled, execute step 602 , otherwise execute step 611 .
步骤602、获取目标控件对应的通知容量,通知容量可以为默认容量或者用户设置的容量。 Step 602, acquiring the notification capacity corresponding to the target control, the notification capacity may be a default capacity or a capacity set by the user.
步骤603、针对各应用在对应的区域显示目标控件。 Step 603 , displaying target controls in corresponding areas for each application.
步骤604、在接收到通知消息时,获取通知消息对应的目标应用。 Step 604, when the notification message is received, obtain the target application corresponding to the notification message.
步骤605、检测该通知消息是否被打开,若未被打开则执行步骤607,若被打开则执行步骤606。 Step 605 , check whether the notification message is opened, if not, perform step 607 , if it is opened, perform step 606 .
步骤606、跳转至目标应用落地页,显示通知消息。 Step 606, jumping to the landing page of the target application, and displaying a notification message.
步骤607、在通知消息对应的通知横幅消失后,根据目标应用对应的未读通知消息的总数量,以目标颜色饱和度显示目标应用对应的目标控件的第一部分。Step 607: After the notification banner corresponding to the notification message disappears, display the first part of the target control corresponding to the target application with the target color saturation according to the total number of unread notification messages corresponding to the target application.
步骤608、在目标应用属于高频应用时,随着未读通知消息的总数量的增加,第一部分对应的颜色饱和度增强。高频应用为使用频次较高的应用。在步骤608之后执行步骤610。 Step 608, when the target application is a high-frequency application, as the total number of unread notification messages increases, the color saturation corresponding to the first part increases. High-frequency applications are applications that are used more frequently. Step 610 is executed after step 608 .
步骤609、在目标应用属于低频应用时,在未读通知消息的总数量小于或者等于预设数量阈值时,随着未读通知消息的总数量的增加,第一部分对应的颜色饱和度增强,在未读通知消息的总数量大于预设数量阈值时,随着未读通知消息的总数量的增加,第一部分对应的颜色饱和度减弱。在步骤609之后执行步骤610。Step 609: When the target application is an infrequent application and the total number of unread notification messages is less than or equal to the preset number threshold, as the total number of unread notification messages increases, the color saturation corresponding to the first part increases, and the When the total number of unread notification messages is greater than the preset number threshold, as the total number of unread notification messages increases, the color saturation corresponding to the first part is weakened. Step 610 is executed after step 609 .
步骤610、根据用户满足预设输入特征的输入,控制目标控件对应的数量清零。 Step 610 , according to the user's input that satisfies the preset input characteristics, the quantity corresponding to the control target control is cleared.
步骤611、以现有方式在应用图标的右上角显示未读通知消息的数量。 Step 611 , display the number of unread notification messages on the upper right corner of the application icon in an existing manner.
上述实施过程,可以采用目标控件展示未读通知消息的数量情况,提供了新型的通知数量展示方式,通过将目标控件与颜色饱和度进行结合,实现从两个维度优化用户的感知。In the above implementation process, the target control can be used to display the number of unread notification messages, and a new way of displaying the number of notifications is provided. By combining the target control with color saturation, the user's perception can be optimized from two dimensions.
以上为本申请实施例提供的通知消息的展示方法的实施流程,在监测到 目标应用存在未读通知消息的情况下,获取目标应用对应的未读通知消息的总数量,根据目标应用对应的未读通知消息的总数量,以目标方式显示目标应用对应的目标控件的第一部分,可以便于用户基于第一部分在目标控件上所占的比例和第一部分的标记方式两个维度直观了解未读通知消息的数量情况,丰富了未读通知消息数量的展示形式,且可以减缓用户产生的视觉焦虑和视觉疲劳。The above is the implementation process of the notification message display method provided by the embodiment of the present application. When it is detected that there are unread notification messages in the target application, the total number of unread notification messages corresponding to the target application is obtained, and the unread notification messages corresponding to the target application are obtained. The total number of read notification messages, and the first part of the target control corresponding to the target application is displayed in a targeted manner, which can facilitate users to intuitively understand unread notification messages based on the proportion of the first part on the target control and the marking method of the first part The number of unread notification messages enriches the display form of the number of unread notification messages, and can reduce the visual anxiety and visual fatigue of users.
进一步的,随着未读通知消息数量的增加,第一部分在目标控件上非线性增长,可减缓第一部分在目标控件上所占比例的增长速度,实现未读通知消息数量的非线性展示,进一步减缓用户的视觉焦虑;在确定目标标记符号时,根据目标应用所归属的应用类型,采用匹配的对应关系确定目标标记符号,可以基于不同的应用类型确定对应的标记方式。Further, as the number of unread notification messages increases, the first part increases nonlinearly on the target control, which can slow down the growth rate of the proportion of the first part on the target control, and realize the non-linear display of the number of unread notification messages, further Alleviate the user's visual anxiety; when determining the target marking symbol, according to the application type to which the target application belongs, the matching corresponding relationship is used to determine the target marking symbol, and the corresponding marking method can be determined based on different application types.
需要说明的是,本申请实施例提供的通知消息的展示方法,执行主体可以为通知消息的展示装置,或者该通知消息的展示装置中的用于执行通知消息的展示的方法的控制模块。本申请实施例中以通知消息的展示装置执行通知消息的展示的方法为例,说明本申请实施例提供的通知消息的展示装置。It should be noted that, for the method for presenting a notification message provided in the embodiment of the present application, the execution body may be a display device for a notification message, or a control module in the device for displaying a notification message for executing the method for displaying a notification message. In the embodiment of the present application, the method for displaying the notification message performed by the notification message display device is taken as an example to describe the notification message display device provided in the embodiment of the present application.
图7是本申请实施例提供的一种通知消息的展示装置的示意框图。如图7所示,所述通知消息的展示装置包括:Fig. 7 is a schematic block diagram of an apparatus for displaying a notification message provided by an embodiment of the present application. As shown in Figure 7, the means for displaying the notification message includes:
获取模块701,用于在目标应用存在未读通知消息的情况下,获取所述目标应用对应的未读通知消息的总数量;An acquisition module 701, configured to acquire the total number of unread notification messages corresponding to the target application if there are unread notification messages in the target application;
第一显示模块702,用于根据所述目标应用对应的未读通知消息的总数量,以目标方式显示所述目标应用对应的目标控件的第一部分;The first display module 702 is configured to display the first part of the target control corresponding to the target application in a targeted manner according to the total number of unread notification messages corresponding to the target application;
其中,所述目标控件为用于表征所述目标应用对应的未读通知消息数量的控件,所述目标控件的第一部分与所述未读通知消息的总数量相对应。Wherein, the target control is a control for representing the number of unread notification messages corresponding to the target application, and the first part of the target control corresponds to the total number of unread notification messages.
可选的,该装置还包括:Optionally, the device also includes:
第二显示模块,用于在监测到所述目标应用的首个未读通知消息的情况下,在目标应用图标对应的目标区域显示所述目标控件;The second display module is configured to display the target control in the target area corresponding to the target application icon when the first unread notification message of the target application is detected;
其中,所述目标应用图标为所述目标应用对应的图标。Wherein, the target application icon is an icon corresponding to the target application.
可选的,所述第一显示模块包括:Optionally, the first display module includes:
第一确定子模块,用于根据所述目标应用对应的未读通知消息的总数量和所述目标控件对应的通知容量,确定所述目标控件的第一部分;The first determination submodule is configured to determine the 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 to determine the target mark symbol according to the total number of unread notification messages corresponding to the target application;
标记子模块,用于通过所述目标标记符号对所述目标控件的第一部分进行标记。A marking submodule, configured to mark the first part of the target control with the target marking symbol.
可选的,所述第二确定子模块包括:Optionally, the second determining submodule includes:
第一确定单元,用于确定所述目标应用所归属的应用类型;a first determining unit, configured to determine the application type to which the target application belongs;
第二确定单元,用于在所述目标应用归属于第一应用类型的情况下,根据标记符号与所述未读通知消息的总数量的第一对应关系,确定第一目标标记符号;A second determining unit, configured to determine a first target marker symbol according to a first correspondence relationship between marker symbols and the total number of unread notification messages when the target application belongs to the first application type;
第三确定单元,用于在所述目标应用归属于第二应用类型的情况下,根据标记符号与所述未读通知消息的总数量的第二对应关系,确定第二目标标记符号。The third determining unit is configured to determine a second target marker symbol according to a second correspondence relationship between the marker symbol and the total number of unread notification messages when the target application belongs to the second application type.
可选的,所述第一部分在所述目标控件上所占比例根据所述未读通知消息的总数量的增长而增长,且所述第一部分在所述目标控件上所占比例的增长速度与所述未读通知消息的总数量负相关。Optionally, the proportion of the first part on the target control increases according to the increase of the total number of unread notification messages, and the growth rate of the proportion of the first part on the target control is the same as The total number of unread notification messages is negatively correlated.
以上为本申请实施例提供的通知消息的展示装置,在监测到目标应用存在未读通知消息的情况下,获取目标应用对应的未读通知消息的总数量,根据目标应用对应的未读通知消息的总数量,以目标方式显示目标应用对应的目标控件的第一部分,可以便于用户基于第一部分在目标控件上所占的比例和第一部分的标记方式两个维度直观了解未读通知消息的数量情况,丰富了未读通知消息数量的展示形式,且可以减缓用户产生的视觉焦虑和视觉疲劳。The above is the notification message display device provided by the embodiment of the present application. When it is detected that there are unread notification messages in the target application, the total number of unread notification messages corresponding to the target application is obtained, and according to the unread notification messages corresponding to the target application Display the first part of the target control corresponding to the target application in a target way, which can facilitate users to intuitively understand the number of unread notification messages based on the proportion of the first part on the target control and the marking method of the first part , which enriches the display form of the number of unread notification messages, and can relieve the visual anxiety and visual fatigue of the user.
进一步的,随着未读通知消息数量的增加,第一部分在目标控件上非线性增长,可减缓第一部分在目标控件上所占比例的增长速度,实现未读通知消息数量的非线性展示,进一步减缓用户的视觉焦虑;在确定目标标记符号 时,根据目标应用所归属的应用类型,采用匹配的对应关系确定目标标记符号,可以基于不同的应用类型确定对应的标记方式。Further, as the number of unread notification messages increases, the first part increases nonlinearly on the target control, which can slow down the growth rate of the proportion of the first part on the target control, and realize the non-linear display of the number of unread notification messages, further Alleviate the user's visual anxiety; when determining the target marking symbol, according to the application type to which the target application belongs, the matching corresponding relationship is used to determine the target marking symbol, and the corresponding marking method can be determined based on different application types.
本申请实施例中的通知消息的展示装置可以是装置,也可以是终端中的部件、集成电路或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The device for displaying 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 a terminal. The device may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
本申请实施例中的通知消息的展示装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The device for displaying the notification message in the embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
本申请实施例提供的通知消息的展示装置能够实现图1、图6所示的通知消息的展示方法实施例实现的各个过程,为避免重复,这里不再赘述。The apparatus for displaying notification messages provided by the embodiments of the present application can realize various processes in the embodiments of the display method for notification messages shown in FIG. 1 and FIG. 6 , and details are not repeated here to avoid repetition.
可选地,如图8所示,本申请实施例还提供一种电子设备800,包括处理器801,存储器802,存储在存储器802上并可在所述处理器801上运行的程序或指令,该程序或指令被处理器801执行时实现上述通知消息的展示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 8 , the embodiment of the present application further provides an electronic device 800, including a processor 801, a memory 802, and programs or instructions stored in the memory 802 and operable on the processor 801, When the program or instruction is executed by the processor 801, each process of the above embodiment of the method for displaying the notification message can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图9为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备900包括但不限于:射频单元901、网络模块902、音频输出单元903、输入单元904、传感器905、显示单元906、用户输入单元907、接口单元908、存储器909以及处理器910等部件。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. .
本领域技术人员可以理解,电子设备900还可以包括给各个部件供电的 电源(比如电池),电源可以通过电源管理系统与处理器910逻辑相连,从而通过电源管理系统实现管理充电、放电以及功耗管理等功能。图9中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 900 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 910 through the power management system, so as to manage charging, discharging and power consumption through the power management system. Management and other functions. The structure of the electronic device shown in FIG. 9 does not constitute a limitation to the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
其中,处理器910用于:在目标应用存在未读通知消息的情况下,获取所述目标应用对应的未读通知消息的总数量;根据所述目标应用对应的未读通知消息的总数量,控制显示单元906以目标方式显示所述目标应用对应的目标控件的第一部分;其中,所述目标控件为用于表征所述目标应用对应的未读通知消息数量的控件,所述目标控件的第一部分与所述未读通知消息的总数量相对应。Wherein, the processor 910 is configured to: obtain the total number of unread notification messages corresponding to the target application if there are unread notification messages in the target application; according to the total number of unread notification messages corresponding to the target application, Controlling the display unit 906 to display the first part of the target control corresponding to the target application in a target manner; wherein, the target control is a control used to represent the number of unread notification messages corresponding to the target application, and the first part of the target control A part corresponds to the total number of the unread notification messages.
可选的,处理器910还用于:在监测到所述目标应用的首个未读通知消息的情况下,控制显示单元906在目标应用图标对应的目标区域显示所述目标控件;其中,所述目标应用图标为所述目标应用对应的图标。Optionally, the processor 910 is further configured to: when the first unread notification message of the target application is detected, control the display unit 906 to display the target control in the target area corresponding to the target application icon; wherein, the The target application icon is an icon corresponding to the target application.
可选的,处理器910还用于:根据所述目标应用对应的未读通知消息的总数量和所述目标控件对应的通知容量,确定所述目标控件的第一部分;根据所述目标应用对应的未读通知消息的总数量,确定目标标记符号;通过所述目标标记符号对所述目标控件的第一部分进行标记。Optionally, the processor 910 is further configured to: determine the 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 total number of unread notification messages, determine the target marker symbol; mark the first part of the target control with the target marker symbol.
可选的,处理器910还用于:确定所述目标应用所归属的应用类型;在所述目标应用归属于第一应用类型的情况下,根据标记符号与所述未读通知消息的总数量的第一对应关系,确定第一目标标记符号;在所述目标应用归属于第二应用类型的情况下,根据标记符号与所述未读通知消息的总数量的第二对应关系,确定第二目标标记符号。Optionally, the processor 910 is further configured to: determine the application type to which the target application belongs; if the target application belongs to the first application type, The first corresponding relationship, determine the first target mark symbol; in the case that the target application belongs to the second application type, according to the second corresponding relationship between the mark symbol and the total number of unread notification messages, determine the second Target mark symbol.
可选的,处理器910还用于:控制所述第一部分在所述目标控件上所占比例根据所述未读通知消息的总数量的增长而增长,且所述第一部分在所述目标控件上所占比例的增长速度与所述未读通知消息的总数量负相关。Optionally, the processor 910 is further configured to: control the proportion of the first part on the target control to increase according to the increase of the total number of unread notification messages, and the first part is on the target control The growth rate of the ratio above is negatively correlated with the total number of unread notification messages.
这样,在监测到目标应用存在未读通知消息的情况下,获取目标应用对应的未读通知消息的总数量,根据目标应用对应的未读通知消息的总数量, 以目标方式显示目标应用对应的目标控件的第一部分,可以便于用户基于第一部分在目标控件上所占的比例和第一部分的标记方式两个维度直观了解未读通知消息的数量情况,丰富了未读通知消息数量的展示形式,且可以减缓用户产生的视觉焦虑和视觉疲劳。In this way, when it is detected that there are unread notification messages in the target application, the total number of unread notification messages corresponding to the target application is acquired, and according to the total number of unread notification messages corresponding to the target application, the The first part of the target control can facilitate users to intuitively understand the number of unread notification messages based on the proportion of the first part on the target control and the marking method of the first part, which enriches the display form of the number of unread notification messages. And can slow down the visual anxiety and visual fatigue generated by the user.
进一步的,随着未读通知消息数量的增加,第一部分在目标控件上非线性增长,可减缓第一部分在目标控件上所占比例的增长速度,实现未读通知消息数量的非线性展示,进一步减缓用户的视觉焦虑;在确定目标标记符号时,根据目标应用所归属的应用类型,采用匹配的对应关系确定目标标记符号,可以基于不同的应用类型确定对应的标记方式。Further, as the number of unread notification messages increases, the first part increases nonlinearly on the target control, which can slow down the growth rate of the proportion of the first part on the target control, and realize the non-linear display of the number of unread notification messages, further Alleviate the user's visual anxiety; when determining the target marking symbol, according to the application type to which the target application belongs, the matching corresponding relationship is used to determine the target marking symbol, and the corresponding marking method can be determined based on different application types.
应理解的是,本申请实施例中,输入单元904可以包括图形处理器(Graphics Processing Unit,GPU)9041和麦克风9042,图形处理器9041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元906可包括显示面板9061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板9061。用户输入单元907包括触控面板9071以及其他输入设备9072。触控面板9071,也称为触摸屏。触控面板9071可包括触摸检测装置和触摸控制器两个部分。其他输入设备9072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器909可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器910可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户页面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器910中。It should be understood that, in the embodiment of the present application, the input unit 904 may include a graphics processor (Graphics Processing Unit, GPU) 9041 and a microphone 9042, and the graphics processor 9041 is used for the image capture device ( Such as the image data of the still picture or video obtained by the camera) for processing. 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 . The touch panel 9071 is also called 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, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here. The memory 909 can be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 910 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user pages, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 910 .
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述通知消息的展示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, the readable storage medium stores a program or an instruction, and when the program or instruction is executed by the processor, each process of the above embodiment of the method for displaying the notification message is implemented, and can To achieve the same technical effect, in order to avoid repetition, no more details are given here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only  Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述通知消息的展示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run programs or instructions, and realize the implementation of the display method of the above notification message Each process of the example, and can achieve the same technical effect, in order to avoid repetition, will not repeat them here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
本申请实施例还提供一种装置,所述装置被配置为用于执行上述通知消息的展示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a device configured to execute the processes of the above embodiment of the method for displaying the notification message, and can achieve the same technical effect. To avoid repetition, details are not repeated here.
本申请实施例还提供一种计算机程序产品,所述计算机程序产品被存储在非易失的存储介质中,程序产品被至少一个处理器执行以实现上述通知消息的展示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a computer program product, the computer program product is stored in a non-volatile storage medium, and the program product is executed by at least one processor to implement the various processes in the above embodiment of the notification message presentation method, And can achieve the same technical effect, in order to avoid repetition, no more details here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结 合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽咯,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, magnetic disk, etc.) , optical disc), including several instructions to enable a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.
可以理解的是,本申请实施例描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,模块、单元、子单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processor,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It should be understood that the embodiments described in the embodiments of the present application may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, modules, units, and subunits can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processor, DSP), digital signal processing equipment (DSP Device, DSPD ), Programmable Logic Device (Programmable Logic Device, PLD), Field Programmable Gate Array (Field-Programmable Gate Array, FPGA), general processor, controller, microcontroller, microprocessor, used to implement the application other electronic units or combinations thereof.
对于软件实现,可通过执行本申请实施例所述功能的模块(例如过程、函数等)来实现本申请实施例所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For software implementation, the technologies described in the embodiments of the present application may be implemented through modules (such as procedures, functions, etc.) that execute the functions described in the embodiments of the present application. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.

Claims (15)

  1. 一种通知消息的展示方法,其中,所述方法包括:A method for displaying a notification message, wherein the method includes:
    在目标应用存在未读通知消息的情况下,获取所述目标应用对应的未读通知消息的总数量;If there are unread notification messages in the target application, acquire the total number of unread notification messages corresponding to the target application;
    根据所述目标应用对应的未读通知消息的总数量,以目标方式显示所述目标应用对应的目标控件的第一部分;Displaying the first part of the target control corresponding to the target application in a targeted manner according to the total number of unread notification messages corresponding to the target application;
    其中,所述目标控件为用于表征所述目标应用对应的未读通知消息数量的控件,所述目标控件的第一部分与所述未读通知消息的总数量相对应。Wherein, the target control is a control for representing the number of unread notification messages corresponding to the target application, and the first part of the target control corresponds to the total number of unread notification messages.
  2. 根据权利要求1所述的通知消息的展示方法,其中,所述方法还包括:The method for displaying a notification message according to claim 1, wherein the method further comprises:
    在监测到所述目标应用的首个未读通知消息的情况下,在目标应用图标对应的目标区域显示所述目标控件;When the first unread notification message of the target application is detected, displaying the target control in the target area corresponding to the target application icon;
    其中,所述目标应用图标为所述目标应用对应的图标。Wherein, the target application icon is an icon corresponding to the target application.
  3. 根据权利要求1所述的通知消息的展示方法,其中,所述根据所述目标应用对应的未读通知消息的总数量,以目标方式显示所述目标应用对应的目标控件的第一部分,包括:The method for displaying notification messages according to claim 1, wherein the displaying the first part of the target control corresponding to the target application in a targeted manner according to the total number of unread notification messages corresponding to the target application includes:
    根据所述目标应用对应的未读通知消息的总数量和所述目标控件对应的通知容量,确定所述目标控件的第一部分;determining the 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;
    根据所述目标应用对应的未读通知消息的总数量,确定目标标记符号;Determine the target mark symbol according to the total number of unread notification messages corresponding to the target application;
    通过所述目标标记符号对所述目标控件的第一部分进行标记。The first part of the target control is marked by the target marking symbol.
  4. 根据权利要求3所述的通知消息的展示方法,其中,所述根据所述目标应用对应的未读通知消息的总数量,确定目标标记符号,包括:The method for displaying a notification message according to claim 3, wherein said determining the target mark symbol according to the total number of unread notification messages corresponding to the target application includes:
    确定所述目标应用所归属的应用类型;Determine the application type to which the target application belongs;
    在所述目标应用归属于第一应用类型的情况下,根据标记符号与所述未读通知消息的总数量的第一对应关系,确定第一目标标记符号;In the case where the target application belongs to the first application type, determining a first target marker symbol according to a first correspondence between the marker symbol and the total number of unread notification messages;
    在所述目标应用归属于第二应用类型的情况下,根据标记符号与所述未读通知消息的总数量的第二对应关系,确定第二目标标记符号。In a case where the target application belongs to the second application type, a second target marking symbol is determined according to a second corresponding relationship between the marking symbol and the total number of the unread notification messages.
  5. 根据权利要求1所述的通知消息的展示方法,其中,所述第一部分在 所述目标控件上所占比例根据所述未读通知消息的总数量的增长而增长,且所述第一部分在所述目标控件上所占比例的增长速度与所述未读通知消息的总数量负相关。The method for displaying a notification message according to claim 1, wherein the proportion of the first part on the target control increases according to the increase of the total number of the unread notification messages, and the first part in the The growth rate of the proportion on the target control is negatively correlated with the total number of unread notification messages.
  6. 一种通知消息的展示装置,其中,所述装置包括:A device for displaying a notification message, wherein the device includes:
    获取模块,用于在目标应用存在未读通知消息的情况下,获取所述目标应用对应的未读通知消息的总数量;An acquisition module, configured to acquire the total number of unread notification messages corresponding to the target application when there are unread notification messages in the target application;
    第一显示模块,用于根据所述目标应用对应的未读通知消息的总数量,以目标方式显示所述目标应用对应的目标控件的第一部分;The first display module is configured to display the first part of the target control corresponding to the target application in a targeted manner according to the total number of unread notification messages corresponding to the target application;
    其中,所述目标控件为用于表征所述目标应用对应的未读通知消息数量的控件,所述目标控件的第一部分与所述未读通知消息的总数量相对应。Wherein, the target control is a control for representing the number of unread notification messages corresponding to the target application, and the first part of the target control corresponds to the total number of unread notification messages.
  7. 根据权利要求6所述的通知消息的展示装置,其中,所述装置还包括:The device for displaying a notification message according to claim 6, wherein the device further comprises:
    第二显示模块,用于在监测到所述目标应用的首个未读通知消息的情况下,在目标应用图标对应的目标区域显示所述目标控件;The second display module is configured to display the target control in the target area corresponding to the target application icon when the first unread notification message of the target application is detected;
    其中,所述目标应用图标为所述目标应用对应的图标。Wherein, the target application icon is an icon corresponding to the target application.
  8. 根据权利要求6所述的通知消息的展示装置,其中,所述第一显示模块包括:The device for displaying notification messages according to claim 6, wherein the first display module comprises:
    第一确定子模块,用于根据所述目标应用对应的未读通知消息的总数量和所述目标控件对应的通知容量,确定所述目标控件的第一部分;The first determination submodule is configured to determine the 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 to determine the target mark symbol according to the total number of unread notification messages corresponding to the target application;
    标记子模块,用于通过所述目标标记符号对所述目标控件的第一部分进行标记。A marking submodule, configured to mark the first part of the target control with the target marking symbol.
  9. 根据权利要求8所述的通知消息的展示装置,其中,所述第二确定子模块包括:The device for displaying a notification message according to claim 8, wherein the second determining submodule comprises:
    第一确定单元,用于确定所述目标应用所归属的应用类型;a first determining unit, configured to determine the application type to which the target application belongs;
    第二确定单元,用于在所述目标应用归属于第一应用类型的情况下,根据标记符号与所述未读通知消息的总数量的第一对应关系,确定第一目标标 记符号;The second determining unit is configured to determine a first target mark symbol according to a first correspondence relationship between the mark symbol and the total number of unread notification messages when the target application belongs to the first application type;
    第三确定单元,用于在所述目标应用归属于第二应用类型的情况下,根据标记符号与所述未读通知消息的总数量的第二对应关系,确定第二目标标记符号。The third determining unit is configured to determine a second target marker symbol according to a second correspondence relationship between the marker symbol and the total number of unread notification messages when the target application belongs to the second application type.
  10. 根据权利要求6所述的通知消息的展示装置,其中,所述第一部分在所述目标控件上所占比例根据所述未读通知消息的总数量的增长而增长,且所述第一部分在所述目标控件上所占比例的增长速度与所述未读通知消息的总数量负相关。The device for displaying a notification message according to claim 6, wherein the proportion of the first part on the target control increases according to the increase of the total number of the unread notification messages, and the first part in the The growth rate of the proportion on the target control is negatively correlated with the total number of unread notification messages.
  11. 一种电子设备,其中,所述电子设备包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至5任一项所述的通知消息的展示方法的步骤。An electronic device, wherein the electronic device includes a processor, a memory, and a program or instruction stored on the memory and operable on the processor, and the program or instruction is implemented when executed by the processor. The steps of the method for displaying a notification message according to any one of claims 1 to 5.
  12. 一种可读存储介质,其中,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至5任一项所述的通知消息的展示方法的步骤。A readable storage medium, wherein a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the method for displaying a notification message according to any one of claims 1 to 5 is implemented step.
  13. 一种装置,其中,所述装置被配置为用于执行如权利要求1至5任一项所述的通知消息的展示方法的步骤。An apparatus, wherein the apparatus is configured to execute the steps of the method for presenting a notification message according to any one of claims 1 to 5.
  14. 一种芯片,其中,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至5任一项所述的通知消息的展示方法的步骤。A chip, wherein the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or an instruction to implement the method described in any one of claims 1 to 5 The steps of the display method of the notification message.
  15. 一种计算机程序产品,其中,所述计算机程序产品被存储在非易失的存储介质中,程序产品被至少一个处理器执行以实现如权利要求1至5任一项所述的通知消息的展示方法的步骤。A computer program product, wherein the computer program product is stored in a non-volatile storage medium, and the program product is executed by at least one processor to realize the presentation of the notification message according to any one of claims 1 to 5 method steps.
PCT/CN2022/092825 2021-05-18 2022-05-13 Notification message display method and electronic device WO2022242576A1 (en)

Applications Claiming Priority (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
CN202110541250.6 2021-05-18

Publications (1)

Publication Number Publication Date
WO2022242576A1 true WO2022242576A1 (en) 2022-11-24

Family

ID=76782716

Family Applications (1)

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

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

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105426043A (en) * 2015-11-05 2016-03-23 青岛海信移动通信技术股份有限公司 Display method of message prompt, and mobile terminal
CN112615775A (en) * 2020-12-31 2021-04-06 天津中新智冠信息技术有限公司 Message marking method, device, storage medium and electronic equipment
CN113126851A (en) * 2021-05-18 2021-07-16 维沃移动通信(杭州)有限公司 Notification message display method and electronic equipment

Family Cites Families (2)

* 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
CN112333329B (en) * 2020-10-28 2022-04-26 维沃移动通信有限公司 Unread information reminding method and device and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105426043A (en) * 2015-11-05 2016-03-23 青岛海信移动通信技术股份有限公司 Display method of message prompt, and mobile terminal
CN112615775A (en) * 2020-12-31 2021-04-06 天津中新智冠信息技术有限公司 Message marking method, device, storage medium and electronic equipment
CN113126851A (en) * 2021-05-18 2021-07-16 维沃移动通信(杭州)有限公司 Notification message display method and electronic equipment

Also Published As

Publication number Publication date
CN113126851A (en) 2021-07-16
CN113126851B (en) 2023-02-03

Similar Documents

Publication Publication Date Title
WO2022242576A1 (en) Notification message display method and electronic device
US10754520B2 (en) Method and apparatus for managing an application being executed in a portable terminal
WO2022017411A1 (en) Unread message display method and apparatus, and electronic device and storage medium
US10365817B2 (en) Mobile communication terminal providing adaptive sensitivity of a click event
US11694590B2 (en) Dynamic user interface with time indicator
JP5852392B2 (en) Apparatus, method, and program
CN107493389A (en) Singlehanded mode implementation method, terminal and computer-readable medium
WO2022247744A1 (en) Icon display method and apparatus, and electronic device
WO2022048632A1 (en) Notification message display method and apparatus, electronic device, and readable storage medium
CN107181858A (en) A kind of method and terminal for showing notification message
CN103605614A (en) Method and device for cleaning up memory of mobile terminal
WO2023030129A1 (en) Message display method, apparatus and electronic device
CN108469937A (en) A kind of information processing method and electronic equipment
WO2023046184A1 (en) Message processing method and apparatus, and electronic device
CN112286412A (en) Notification message management method and device
CN111796734A (en) Application program management method, management device, electronic device and storage medium
WO2023143430A1 (en) Information display method and apparatus
WO2022242586A1 (en) Application interface method and apparatus, and electronic device
WO2023284810A1 (en) Method and apparatus for processing event to be handled
WO2022127804A1 (en) Method and device for managing application icons
WO2023025121A1 (en) Display method and apparatus, electronic device, and readable storage medium
WO2022242542A1 (en) Application icon management method and electronic device
CN107133002A (en) A kind of information processing method and electronic equipment
CN109670507A (en) Image processing method, device and mobile terminal
CN111880699A (en) Message processing method and device and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22803898

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE