WO2022012662A1 - Notification display method and apparatus, and electronic device - Google Patents

Notification display method and apparatus, and electronic device Download PDF

Info

Publication number
WO2022012662A1
WO2022012662A1 PCT/CN2021/106738 CN2021106738W WO2022012662A1 WO 2022012662 A1 WO2022012662 A1 WO 2022012662A1 CN 2021106738 W CN2021106738 W CN 2021106738W WO 2022012662 A1 WO2022012662 A1 WO 2022012662A1
Authority
WO
WIPO (PCT)
Prior art keywords
priority
display
notification message
target
level
Prior art date
Application number
PCT/CN2021/106738
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 WO2022012662A1 publication Critical patent/WO2022012662A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/212Monitoring or handling of messages using filtering or selective blocking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/226Delivery according to priorities

Definitions

  • the present application belongs to the field of communication technologies, and in particular relates to a notification display method, apparatus and electronic device.
  • notifications are usually displayed according to the time when they are received. Important notifications are often buried in a bunch of useless notifications and are often ignored by users. If the notification reminder function is turned off, users may miss useful information. It can be seen that the notification display method in the prior art has a problem that the display effect is relatively poor.
  • the purpose of the embodiments of the present application is to provide a notification display method, device and electronic device, which can solve the problem of poor display effect in the notification display method in the prior art.
  • an embodiment of the present application provides a notification display method, including:
  • N is a positive integer greater than 1.
  • an acquisition module configured to acquire N display priorities corresponding to N dimensions of the notification message when the notification message is acquired;
  • a determining module configured to determine the target display priority of the notification message according to the N display priorities
  • a display module configured to display the notification message according to the target display priority
  • an 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 configured to run a program or an instruction, and implement the first aspect the method described.
  • FIG. 1 is a flowchart of a notification display method provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of determining the target display priority of a notification message with reference to the principle of double-slit interference
  • first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between “first”, “second”, etc.
  • the objects are usually of one type, and the number of objects is not limited.
  • the first object may be one or more than one.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
  • FIG. 1 is a flowchart of a notification display method provided by an embodiment of the present application, as shown in FIG. 1, including the following steps:
  • N is a positive integer greater than 1.
  • the target application is an application that needs to display notifications, and the user can enter the notification management setting interface to set the application that needs to be displayed, so as to display it when receiving a notification message from the target application.
  • N display priorities corresponding to the N dimensions respectively can be acquired for the notification message.
  • the N dimensions are user-level dimensions, such as the dimension of the user's usage time of the target application corresponding to the notification message, and, for example, the dimension of the user's usage frequency of the target application, for example, the target application Regarding the dimension of the importance of the notification message of the program to the user, etc., in the following embodiments, the notification display will be described in detail from two user-level dimensions.
  • multiple time periods may be preset to obtain N display priorities of the time periods in which the notification messages correspond to the N dimensions at the current time.
  • An example of the time period division is as follows:
  • the user's historical usage time of each application in the time period can be counted, and the display priority of the notification message can be divided into three priority levels according to the historical usage time of each application.
  • One of the priority classification methods is that when the historical usage time of the application is greater than or equal to the first preset threshold, the display priority of the notification message of the application is divided into the first level, the first level is the highest level, and the application's display priority is the highest level.
  • the display priority of the notification message of the application is divided into the second level, and when the historical usage duration of the application is less than the second preset threshold, The display priority of the notification message of the application is divided into a third level, the third level is the lowest level, and the first preset threshold is greater than the second preset threshold.
  • the first preset threshold and the second preset threshold may be preset as fixed values, and may also be determined according to the average or median of the historical usage duration of each application program by the user in this time period every day.
  • notification messages of 6 applications are received, and the 6 applications are application A, application B, application C, application D, application E and For application F, statistics show that the user's historical usage time of each application in the time period from 7:00 am to 9:00 am each day is 15 minutes, 13 minutes, 11 minutes, 6 minutes, 1 minute and 0.5 minutes respectively.
  • the first preset threshold and the second preset threshold may be preset, and may be set to 10 and 3, respectively.
  • the first preset threshold can also be determined according to the average of the historical usage durations of the first four applications sorted according to the historical usage durations.
  • the first preset threshold can be 11
  • the second preset threshold It can also be determined according to the average value of the historical usage durations of the last four application programs sorted in descending order of the historical usage durations.
  • the second preset threshold may be 4.
  • the display priority of the notification message is divided into three priority levels, which are the priority of the display priority of the notification messages of application A, application B, and application C respectively.
  • the level is the first level
  • the display priority of the notification message of application D is the second level
  • the display priority of the notification messages of application E and application F is the third level.
  • the timeliness of the user viewing the notification messages of each application within the time period every day, so as to determine the importance of the notification messages of each application to the user within the time period, wherein the timeliness
  • the degree can be characterized by the difference between the user's notification viewing time for the application and the notification arrival time. If the user views the application's notification message in a timely manner, that is, the smaller the difference, it means that the application is more important to the user. On the contrary, it is less important. Then, the display priority of the notification message is divided into three priority levels according to the difference between the user's notification viewing time for each application and the notification arrival time. Wherein, the priority classification method here is similar to the above, and will not be repeated here.
  • the user's notification viewing time and the notification arrival time for each application are sorted from small to large, application A, application F, application B, application C, application D and application E, according to the division rules of the first level, the second level and the third level, the priority level of the display priority of the notification messages of application program A and application program F is the first level, application program B and application program
  • the display priority of the notification message of C is the second priority
  • the display priority of the notification messages of the application D and the application E is the third priority.
  • the first dimension is the dimension of the importance of the notification message of the application to the user.
  • Step 102 Determine the target display priority of the notification message according to the N display priorities.
  • the priority levels of the N display priorities are all the same, they can be compared with each other, and the priority level is higher; otherwise, if the priority levels of the N display priorities are not the same or completely different, the priority Low grade.
  • the step 102 specifically includes:
  • the target display priority of the notification message is determined to be the display priority with the lowest priority among the N display priorities.
  • the target display priority is the display priority with the lowest priority among the N display priorities.
  • the target display priority of the notification message can be evaluated from multiple dimensions based on the optical principle, so as to display the notification message based on the target display priority, so that the effect of the notification display can be improved.
  • the determining of the target display priority of the notification message according to the number of display priorities with the same priority in the case where there are display priorities with the same priority among the N display priorities includes:
  • the priority level for determining the target display priority of the notification message is: target priority; or,
  • the priority level of the target priority level is the same as that of the display priority level with the same priority level.
  • the priority level of the target display priority finally determined based on the N display priorities is the same as the priority level of the N display priorities. If the priority levels of the N display priorities are not identical, the determined priority level of the target display priority level is lower than the target priority level. In the case where the priority levels of the N display priorities are completely different, the priority level of the target display priority is determined to be the lowest priority level among the priority levels of the N display priorities.
  • the priority level of the display priority corresponding to the first dimension of the notification message is the first level
  • the priority level of the display priority corresponding to the second dimension is also the first level
  • the target display priority is determined to be the first level, wherein, The first level may be the highest priority level among all preset priority levels.
  • the priority level of the display priority corresponding to the first dimension of the notification message is the first level
  • the priority level of the display priority corresponding to the second dimension is the second level
  • the priority level of the target display priority is determined to be the second level.
  • the priority levels of the target display priority can be divided into more priority levels than the display priority levels.
  • the priority levels of the target display priority can be divided into 5 levels, which are the first level to the fifth level, and the display priority level.
  • the priority level can be divided into 3 levels. In this case, when the priority levels of the display priorities corresponding to the three dimensions of the notification message are all the first level, it can be determined that the priority level of the target display priority is the first level.
  • the number of notification messages can be 1 or multiple.
  • the number of target applications corresponding to these notification messages can be 1 or multiple, such as 6, respectively application A, application B.
  • Application program C, application program D, application program E, and application program F At this time, it is necessary to determine the target display priorities of the notification messages of the six target application programs respectively.
  • Level 1 Application A, Application F;
  • the second level application B, application C;
  • the third level application D, application E.
  • Level 1 Application A, Application B, Application C;
  • the third level application E, application F.
  • the second level application B, application C;
  • Step 103 Display the notification message according to the target display priority.
  • the target display object may be displayed in the notification interface, and in the case of receiving a notification message with a low priority, the notification identifier of the notification message may be associated with the target display object, and the target display object may be a folder, It can also be an icon, so that notification messages with low priority levels are put away through the target display object, so as to avoid too much disturbance to the user caused by some notification messages with low priority levels. In this way, the notification reminder is more suitable for user needs.
  • the notification messages can be displayed in partitions according to the priority of the target display priority, so that the notification messages of the same priority level are displayed in the same display area, and the notification messages of different priority levels are displayed in different display areas, which is convenient for users to Notification messages for viewing and cleaning.
  • N display priorities corresponding to N dimensions of the notification message are acquired; and according to the N display priorities, the target display of the notification message is determined priority.
  • the target display priority of the notification message can be evaluated from multiple dimensions, so as to display the notification message based on the target display priority, so that the effect of the notification display can be improved.
  • the user can customize the N dimensions and the time dimension, such as defining the number of priority levels for each dimension's display priority (for example, divided into 5 priority levels), the priority level division rules, Adjust the specific time interval of the divided time period according to your own work and rest time (for example, adjust the divided time period from 6:00 am to 8:00 am).
  • the step 103 specifically includes:
  • the notification message is displayed in a display area corresponding to the target display priority in the notification interface.
  • the displaying the notification message in a display area corresponding to the target display priority in the notification interface includes:
  • the priority level of the target display priority is the second priority level, displaying the notification message in the second display area in the notification interface;
  • FIG. 3 is a schematic diagram of displaying the notification message according to the target display priority.
  • the notification interface can be divided into The three display areas are respectively a display area 301 corresponding to the first level, a display area 302 corresponding to the second level, and a display area 303 corresponding to the third level.
  • the display area 301 corresponding to the first level usually displays the notification messages of the first level
  • the display area 302 corresponding to the second level displays the notification messages of the second level
  • the display area 303 corresponding to the third level displays the notification messages of the third level .
  • the higher the priority level the closer the corresponding display area is to the top of the notification interface, which can make the notification message with the higher priority level more conspicuous.
  • the notification messages can be displayed in partitions according to the priority levels of the target display priorities, so that notification messages of the same priority level are displayed in the same display area, and notification messages of different priority levels are displayed in different display areas, which is convenient for Users view and clean up notification messages.
  • the notification identifier of the notification message may be associated with the target display object
  • the target display object is displayed in a display area corresponding to the target display priority in the notification interface.
  • the received notification messages can be screened and classified according to the priority of the target display priority to obtain a type of notification message with the lowest priority, and the notification identifier of this type of notification message is associated with the target display object, and the target display The object is displayed on the display area 303 corresponding to the third level as shown in FIG. 3 .
  • the target display object may be a folder or a target icon, the target icon may be an icon corresponding to the target application, and the target icon may be associated with all notification messages of the target application.
  • notification messages with lower priority of the target display can be collapsed through the target display object, and when the user clicks on the target display object, such notification messages can be expanded and displayed accordingly. In this way, some low-priority notification messages can be prevented from causing too much disturbance to the user, and the user experience can be improved.
  • the N dimensions include a first dimension
  • the step 103 includes:
  • the target position is a position that matches the display priority of the notification message corresponding to the first dimension.
  • the N dimensions include a first dimension
  • the step 103 includes:
  • the notification message is displayed in the display area corresponding to the first level in the form of a thumbnail;
  • the first level is the highest priority level among all preset priority levels of display priorities for the first dimension.
  • the notification messages displayed on the display area may be sorted according to the priority levels of the notification messages corresponding to the display priorities of the first dimension, where the first dimension may be used to represent that the notification messages of the application program are for importance of users. That is to say, the more important the notification message is, the higher its display position is in the display area, and when the notification message has the highest display priority corresponding to the first dimension, the notification message can be directly displayed at the top of the display area.
  • the notification message can be displayed on the first level as shown in FIG. 3 .
  • the second level corresponds to the top of the display area 302 .
  • the priority level of the display priority for the first dimension is the first level, but the priority level of the target display priority is not high.
  • message that is, a notification message whose usage preference level of the user is not high in the current time period
  • the notification identifier of the notification message can be displayed in the display area corresponding to the target priority level in the form of a thumbnail, that is, the notification identifier of the notification message is displayed as a thumbnail.
  • the thumbnails are displayed in the display area 301 corresponding to the first level as shown in FIG. 3 .
  • the method further includes:
  • the priority of the target display priority is lowered grade
  • the distance of the target display area relative to the top of the notification interface is greater than a second target distance
  • the second target distance is the distance of the display area before the adjustment and display of the notification message relative to the top of the notification interface .
  • the display area of the notification message is re-adjusted according to the display priority of the target after the priority level is lowered, so as to be adjusted to the display area corresponding to the priority level.
  • the notification messages when the notification messages are not checked in time, in order to avoid too many notification messages, the notification messages can be automatically folded to the bottom of the notification interface. In this way, the interference of too many old notification messages to the user can be avoided, and the user experience can be improved.
  • the execution subject may be a notification display device, or a control module in the notification display device for executing the notification display method.
  • the notification display device provided by the embodiment of the present application is described by taking the notification display device executing the notification display method as an example.
  • FIG. 4 is a structural diagram of a notification display apparatus provided by an embodiment of the present application.
  • the notification display apparatus 400 includes:
  • a determination module 402 configured to determine the target display priority of the notification message according to the N display priorities
  • a display module 403 configured to display the notification message according to the target display priority
  • a first determining unit configured to determine a target display priority of the notification message according to the number of display priorities with the same priority when there are display priorities with the same priority among the N display priorities ;
  • a second determining unit configured to determine that the target display priority of the notification message is a priority level among the N display priority levels in the case where there is no display priority level with the same priority level among the N display priority levels The lowest display priority.
  • the first determining unit is specifically configured to, in the case where a display priority with the same priority exists among the N display priorities, and the number of display priorities with the same priority is equal to N,
  • the priority level of the target display priority of the notification message is determined as the target priority level; or, among the N display priorities, there are display priorities with the same priority, and the number of display priorities with the same priority In the case of less than N, it is determined that the priority level of the target display priority of the notification message is lower than the target priority level; wherein the target priority level is the same as the display priority level of the same priority level.
  • the N dimensions include a first dimension
  • the display module 403 includes:
  • a first display unit configured to display the notification message in a target position corresponding to the target display priority in the notification interface; wherein, the target position is the display priority of the first dimension corresponding to the notification message level matching location.
  • the N dimensions include a first dimension
  • the display module 403 includes:
  • the second display unit is configured to be used when the priority level of the target display priority is lower than the first level, and the priority level of the display priority corresponding to the first dimension of the notification message is the first level , displaying the notification identifier of the notification message in the display area corresponding to the first level in the form of a thumbnail; wherein the first level is all preset priority levels of display priorities for the first dimension highest priority.
  • the obtaining module 401 is specifically configured to obtain, in the case of obtaining a notification message, N display priorities corresponding to N dimensions respectively within a preset time period corresponding to the obtaining moment of the notification message;
  • the priority level adjustment module is used to lower the all the preset priority levels when the current time exceeds the end time of the preset time period and the target display priority level is higher than the lowest priority level among all preset priority levels of display priority levels.
  • the stated target shows the priority level of the priority.
  • the acquisition module 401 acquires N display priorities corresponding to N dimensions of the notification message respectively; and the determination module 402 determines the N display priorities according to the N display priorities.
  • the target display priority of the notification message is evaluated from multiple dimensions, so that the display module 403 can display the notification message based on the target display priority, so that the effect of notification display can be improved.
  • the notification display device 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 apparatus 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 palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • netbook or a personal digital assistant
  • the notification display device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • the notification display device provided in the embodiment of the present application can implement each process implemented by the method embodiment in FIG. 1 , and to avoid repetition, details are not described here.
  • FIG. 5 is a structural diagram of an electronic device provided by an embodiment of the present application.
  • an embodiment of the present application further provides an electronic device, including a processor 501 and a memory 502 , which are stored in A program or instruction on the memory 502 that can be run on the processor 501.
  • the program or instruction is executed by the processor 501, each process of the above-mentioned embodiment of the notification display method can be realized, and the same technical effect can be achieved. In order to avoid repetition , which will not be repeated here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 600 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 610 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions.
  • a power source such as a battery
  • the structure of the electronic device shown in FIG. 6 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than those shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
  • the processor 610 is configured to acquire N display priorities corresponding to N dimensions of the notification message when the notification message is acquired; and determine the target of the notification message according to the N display priorities display priority;
  • a display unit 606 configured to display the notification message according to the target display priority
  • N is a positive integer greater than 1.
  • the processor 610 when a notification message is acquired, acquires N display priorities corresponding to N dimensions of the notification message respectively; and determines the notification message according to the N display priorities The target display priority. In this way, the target display priority of the notification message can be evaluated from multiple dimensions, so that the notification message can be displayed by the display unit 606 according to the target display priority, so that the effect of the notification display can be improved.
  • processor 610 is further configured to:
  • the target display priority of the notification message is determined according to the number of display priorities with the same priority.
  • the priority level for determining the target display priority of the notification message is: target priority; or,
  • the priority level of the target priority level is the same as that of the display priority level with the same priority level.
  • the N dimensions include a first dimension; the display unit 606 is further configured to:
  • the target position is a position that matches the display priority of the notification message corresponding to the first dimension.
  • the N dimensions include a first dimension; the display unit 606 is further configured to:
  • the notification message is displayed in the display area corresponding to the first level in the form of a thumbnail;
  • the first level is the highest priority level among all preset priority levels of display priorities for the first dimension.
  • the processor 610 is further configured to lower all the display priorities when the current time exceeds the end time of the preset time period and the target display priority is higher than the lowest priority level among all preset priority levels of display priorities.
  • the stated target shows the priority level of the priority.
  • the input unit 604 may include a graphics processor (Graphics Processing Unit, GPU) 6041 and a microphone 6042. Such as camera) to obtain still pictures or video image data for processing.
  • the display unit 606 may include a display panel 6061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 607 includes a touch panel 6071 and other input devices 6072 .
  • the touch panel 6071 is also called a touch screen.
  • the touch panel 6071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 6072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again.
  • Memory 609 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 610 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 610.
  • the embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above-mentioned embodiment of the notification display method is implemented, and the same can be achieved. In order to avoid repetition, the technical effect will not be repeated here.
  • the processor is the processor in the electronic device described in the foregoing embodiments.
  • the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the above notification display method embodiments
  • the chip includes a processor and a communication interface
  • the communication interface is coupled to the processor
  • the processor is configured to run a program or an instruction to implement the above notification display method embodiments
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-chip, or a system-on-chip, or the like.
  • modules, units, sub-modules, sub-units, etc. can be implemented in one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processing (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-purpose processor, controller, microcontroller, microprocessor, for in other electronic units or combinations thereof that perform the functions described herein.
  • ASIC Application Specific Integrated Circuits
  • DSP Digital Signal Processing
  • DSP Device digital signal processing equipment
  • PLD Programmable Logic Device
  • Field-Programmable Gate Array Field-Programmable Gate Array
  • FPGA Field-Programmable Gate Array

Abstract

Disclosed in the present application are a notification display method and apparatus, and an electronic device. The method comprises: when a notification message is acquired, acquiring N display priorities, respectively corresponding to N dimensions, of the notification message; determining a target display priority of the notification message according to the N display priorities; and displaying the notification message according to the target display priority, wherein N is a positive integer greater than 1.

Description

通知显示方法、装置和电子设备Notification display method, device and electronic device
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请主张在2020年7月17日在中国提交的中国专利申请号No.202010692243.1的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202010692243.1 filed in China on Jul. 17, 2020, the entire contents of which are incorporated herein by reference.
技术领域technical field
本申请属于通信技术领域,具体涉及一种通知显示方法、装置和电子设备。The present application belongs to the field of communication technologies, and in particular relates to a notification display method, apparatus and electronic device.
背景技术Background technique
随着终端技术的发展,终端上可安装的应用程序越来越多,各个应用程序都可以自由创建通知,使得终端接收的通知越来越多。With the development of terminal technology, more and more applications can be installed on the terminal, and each application can freely create notifications, so that the terminal receives more and more notifications.
目前,通常是按照通知接收的时间对通知进行显示,重要的通知常常埋没在一堆无用的通知中,经常被用户忽略,而如果关闭通知提醒功能,又可能会使用户错失掉有用信息。可见,现有技术中通知显示方式存在显示效果比较差的问题。At present, notifications are usually displayed according to the time when they are received. Important notifications are often buried in a bunch of useless notifications and are often ignored by users. If the notification reminder function is turned off, users may miss useful information. It can be seen that the notification display method in the prior art has a problem that the display effect is relatively poor.
发明内容SUMMARY OF THE INVENTION
本申请实施例的目的是提供一种通知显示方法、装置和电子设备,能够解决现有技术中通知显示方式存在显示效果比较差的问题。The purpose of the embodiments of the present application is to provide a notification display method, device and electronic device, which can solve the problem of poor display effect in the notification display method in the prior art.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种通知显示方法,包括:In a first aspect, an embodiment of the present application provides a notification display method, including:
在获取到通知消息的情况下,获取所述通知消息分别对应N个维度的N个显示优先级;In the case of acquiring the notification message, acquiring N display priorities corresponding to N dimensions of the notification message respectively;
依据所述N个显示优先级,确定所述通知消息的目标显示优先级;determining a target display priority of the notification message according to the N display priorities;
依据所述目标显示优先级对所述通知消息进行显示;displaying the notification message according to the target display priority;
其中,N为大于1的正整数。Among them, N is a positive integer greater than 1.
第二方面,本申请实施例提供了一种通知显示装置,包括:In a second aspect, an embodiment of the present application provides a notification display device, including:
获取模块,用于在获取到通知消息的情况下,获取所述通知消息分别对应N个维度的N个显示优先级;an acquisition module, configured to acquire N display priorities corresponding to N dimensions of the notification message when the notification message is acquired;
确定模块,用于依据所述N个显示优先级,确定所述通知消息的目标显示优先级;a determining module, configured to determine the target display priority of the notification message according to the N display priorities;
显示模块,用于依据所述目标显示优先级对所述通知消息进行显示;a display module, configured to display the notification message according to the target display priority;
其中,N为大于1的正整数。Among them, N is a positive integer greater than 1.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an 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 configured to run a program or an instruction, and implement the first aspect the method described.
本申请实施例中,在获取到通知消息的情况下,通过获取所述通知消息分别对应N个维度的N个显示优先级;并依据所述N个显示优先级,确定所述通知消息的目标显示优先级。这样,可以从多个维度来评估通知消息的目标显示优先级,以基于该目标显示优先级对通知消息进行显示,如此可以提高通知显示的效果。In this embodiment of the present application, when a notification message is acquired, N display priorities corresponding to N dimensions are acquired by the notification message; and according to the N display priorities, the target of the notification message is determined Show priority. In this way, the target display priority of the notification message can be evaluated from multiple dimensions, so as to display the notification message based on the target display priority, so that the effect of the notification display can be improved.
附图说明Description of drawings
图1是本申请实施例提供的通知显示方法的流程图;1 is a flowchart of a notification display method provided by an embodiment of the present application;
图2是参照双缝干涉原理确定通知消息的目标显示优先级的示意图;2 is a schematic diagram of determining the target display priority of a notification message with reference to the principle of double-slit interference;
图3是依据所述目标显示优先级对所述通知消息进行显示的示意图;3 is a schematic diagram of displaying the notification message according to the target display priority;
图4是本申请实施例提供的通知显示装置的结构图;4 is a structural diagram of a notification display device provided by an embodiment of the present application;
图5是本申请实施例提供的电子设备的结构图;5 is a structural diagram of an electronic device provided by an embodiment of the present application;
图6为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between "first", "second", etc. The objects are usually of one type, and the number of objects is not limited. For example, the first object may be one or more than one. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的通知显示进行详细地说明。The notification display provided by the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
参见图1,图1是本申请实施例提供的通知显示方法的流程图,如图1所示,包括以下步骤:Referring to FIG. 1, FIG. 1 is a flowchart of a notification display method provided by an embodiment of the present application, as shown in FIG. 1, including the following steps:
步骤101,在获取到通知消息的情况下,获取所述通知消息分别对应N个维度的N个显示优先级。Step 101: In the case of acquiring a notification message, acquire N display priorities corresponding to N dimensions respectively for the notification message.
其中,N为大于1的正整数。Among them, N is a positive integer greater than 1.
该步骤中,所述通知消息可以为目标应用程序对应的通知消息,其中,目标应用程序对应的通知消息可以为服务器针对该目标应用程序推送的通知消息,也可以为目标应用程序的聊天消息,还可以为使用该目标应用程序设置的用作提醒的通知消息,这里不做具体限定。In this step, the notification message may be a notification message corresponding to the target application, wherein the notification message corresponding to the target application may be a notification message pushed by the server for the target application, or may be a chat message of the target application, The notification message used as a reminder set using the target application may also be used, which is not specifically limited here.
所述目标应用程序为需要进行通知显示的应用程序,用户可以进入通知管理设置界面,设置需要进行通知显示的应用程序,以在接收到目标应用程序的通知消息时,对其进行显示。The target application is an application that needs to display notifications, and the user can enter the notification management setting interface to set the application that needs to be displayed, so as to display it when receiving a notification message from the target application.
其中,对于一些随机事件的通知,如电话通知,通常在电话通知到来时,直接对其进行通知提醒,对于一些用户自主设定的通知,如闹钟通知和日程通知等,其通知显示的优先等级默认设置为最高,通常在时间到来时自动进 行通知提醒,因此,对于这些类型的通知无需对其进行管理。Among them, for notifications of some random events, such as phone notifications, usually when the phone notifications arrive, they are directly notified. For some notifications set by users, such as alarm clock notifications and schedule notifications, the priority level of the notification display The default setting is highest, and notification reminders are usually made automatically when the time comes, so there is no need to manage them for these types of notifications.
而对于一些社交应用程序的聊天消息、各种各样的应用程序发送的推送消息等,这些通知消息对于用户的重要度通常可能会不一样,因此,可以对一些需要进行通知显示的应用程序进行设置,以对该应用程序的通知消息进行显示。For chat messages of some social applications, push messages sent by various applications, etc., the importance of these notification messages to users may usually be different. Therefore, some applications that need to display notifications can be displayed. Settings to display notification messages for this application.
设置需要进行通知显示的应用程序之后,在获取到目标应用程序的通知消息的情况下,可以获取所述通知消息分别对应N个维度的N个显示优先级。其中,所述N个维度为用户层面的维度,比如用户对通知消息对应的目标应用程序的使用时长上的维度,又比如,用户对目标应用程序的使用频率上的维度,还比如,目标应用程序的通知消息对于用户的重要度上的维度等等,以下实施例中,将从两个用户层面的维度进行通知显示进行详细说明。After setting the application that needs to display the notification, in the case of acquiring the notification message of the target application, N display priorities corresponding to the N dimensions respectively can be acquired for the notification message. Among them, the N dimensions are user-level dimensions, such as the dimension of the user's usage time of the target application corresponding to the notification message, and, for example, the dimension of the user's usage frequency of the target application, for example, the target application Regarding the dimension of the importance of the notification message of the program to the user, etc., in the following embodiments, the notification display will be described in detail from two user-level dimensions.
所述通知消息对应每个维度的显示优先级的优先等级可以设置多个,且每个维度的显示优先级的优先等级可以设置的相同,也可以设置的不同,以下以每个维度的显示优先级的优先等级相同为例进行详细说明。The notification message can set multiple priority levels corresponding to the display priority of each dimension, and the priority levels of the display priority of each dimension can be set to be the same or different, and the following is the display priority of each dimension. The priority levels of the two levels are the same as an example for detailed description.
另外,由于在不同时段,用户对不同通知消息的重视度和关注度可能不同,比如,在上午7点至上午9点,用户通常会使用与娱乐有关的应用程序,以浏览早上新闻,上午9点至上午11点为工作时间,用户通常会查看与工作有关的应用程序的通知消息。In addition, users may place different emphasis and attention on different notification messages at different time periods. For example, from 7:00 am to 9:00 am, users usually use entertainment-related applications to browse morning news, and at 9:00 am From 0:00 to 11:00 AM is working hours, and users typically view notification messages from work-related applications.
因此,为了更好地模拟用户对应用程序的通知消息的重视度和关注度,通知消息在不同时间段的显示优先级可以设置的不同,在这种情况下,可以获取通知消息在预设时间段内分别对应N个维度的N个显示优先级,该预设时间段的长度可以为1个月、1天或两个小时等,该预设时间段为通知消息的获取时刻对应的时间段,比如通知消息的获取时刻为上午8点,则对应的预设时间段可以为上午7点至上午9点的时间段。Therefore, in order to better simulate the importance and attention of users to the notification messages of the application, the display priority of notification messages in different time periods can be set differently. In this case, the notification messages can be obtained at a preset time. N display priorities corresponding to N dimensions in the segment, the length of the preset time segment can be 1 month, 1 day, or two hours, etc., and the preset time segment is the time segment corresponding to the acquisition moment of the notification message , for example, the acquisition time of the notification message is 8:00 am, the corresponding preset time period may be the time period from 7:00 am to 9:00 am.
具体的,可以预先设置多个时间段,以获取通知消息分别对应N个维度在当前时间所处的时间段的N个显示优先级,时间段划分举例如下:Specifically, multiple time periods may be preset to obtain N display priorities of the time periods in which the notification messages correspond to the N dimensions at the current time. An example of the time period division is as follows:
上午7点至9点;7 am to 9 am;
上午9点至11点;9 am to 11 am;
上午11点至下午1点;11 am to 1 pm;
下午1点至6点;1 p.m. to 6 p.m.;
晚上6点至10点。6pm to 10pm.
针对每个时间段,可以分别根据用户对应用程序的历史使用时长和应用程序的通知消息对于用户的重要度,对各应用程序进行单一维度的优先等级划分,以确定各应用程序的通知消息在该维度上的显示优先级,且在每个维度上均可以划分3个优先等级。For each time period, each application can be prioritized in a single dimension according to the user's historical usage time of the application and the importance of the application's notification message to the user, so as to determine whether the notification message of each application is in Display priority on this dimension, and each dimension can be divided into 3 priority levels.
具体划分方式如下:The specific division is as follows:
针对每个时间段,可以统计用户每天在该时间段对各应用程序的历史使用时长,并根据各应用程序的历史使用时长,将通知消息的显示优先级划分为3个优先等级。其中一种优先等级划分方式为,应用程序的历史使用时长大于等于第一预设阈值时,该应用程序的通知消息的显示优先级划分为第一等级,第一等级为最高等级,应用程序的历史使用时长大于等于第二预设阈值,且小于第一预设阈值时,该应用程序的通知消息的显示优先级划分为第二等级,应用程序的历史使用时长小于第二预设阈值时,该应用程序的通知消息的显示优先级划分为第三等级,第三等级为最低等级,第一预设阈值大于第二预设阈值。所述第一预设阈值和第二预设阈值可以预先设置为固定值,也可以根据用户每天在该时间段对各应用程序的历史使用时长的平均值或中位数确定。For each time period, the user's historical usage time of each application in the time period can be counted, and the display priority of the notification message can be divided into three priority levels according to the historical usage time of each application. One of the priority classification methods is that when the historical usage time of the application is greater than or equal to the first preset threshold, the display priority of the notification message of the application is divided into the first level, the first level is the highest level, and the application's display priority is the highest level. When the historical usage duration is greater than or equal to the second preset threshold and less than the first preset threshold, the display priority of the notification message of the application is divided into the second level, and when the historical usage duration of the application is less than the second preset threshold, The display priority of the notification message of the application is divided into a third level, the third level is the lowest level, and the first preset threshold is greater than the second preset threshold. The first preset threshold and the second preset threshold may be preset as fixed values, and may also be determined according to the average or median of the historical usage duration of each application program by the user in this time period every day.
比如,在上午7点至9点的时间段,接收到6个应用程序的通知消息,这6个应用程序分别为应用程序A、应用程序B、应用程序C、应用程序D、应用程序E和应用程序F,统计得出用户每天在上午7点至9点的时间段内对各应用程序的历史使用时长分别为15分钟、13分钟、11分钟、6分钟、1分钟和0.5分钟。For example, during the time period from 7:00 am to 9:00 am, notification messages of 6 applications are received, and the 6 applications are application A, application B, application C, application D, application E and For application F, statistics show that the user's historical usage time of each application in the time period from 7:00 am to 9:00 am each day is 15 minutes, 13 minutes, 11 minutes, 6 minutes, 1 minute and 0.5 minutes respectively.
其中,第一预设阈值和第二预设阈值可以预先设置,分别可以设置为10和3。第一预设阈值也可以根据按照历史使用时长从大到小排序的前面4个应用程序的历史使用时长的平均值来确定,此时,第一预设阈值可以为11,第二预设阈值也可以按照历史使用时长从大到小排序的后面4个应用程序的历史使用时长的平均值来确定,此时,第二预设阈值可以为4。获取第一预设阈值和第二预设阈值之后,将通知消息的显示优先级划分为3个优先等级, 分别为应用程序A、应用程序B和应用程序C的通知消息的显示优先级的优先等级为第一等级,应用程序D的通知消息的显示优先级的优先等级为第二等级,应用程序E和应用程序F的通知消息的显示优先级的优先等级为第三等级。The first preset threshold and the second preset threshold may be preset, and may be set to 10 and 3, respectively. The first preset threshold can also be determined according to the average of the historical usage durations of the first four applications sorted according to the historical usage durations. In this case, the first preset threshold can be 11, and the second preset threshold It can also be determined according to the average value of the historical usage durations of the last four application programs sorted in descending order of the historical usage durations. In this case, the second preset threshold may be 4. After obtaining the first preset threshold and the second preset threshold, the display priority of the notification message is divided into three priority levels, which are the priority of the display priority of the notification messages of application A, application B, and application C respectively. The level is the first level, the display priority of the notification message of application D is the second level, and the display priority of the notification messages of application E and application F is the third level.
针对每个时间段,还可以统计用户每天在该时间段内查看各应用程序的通知消息的及时度,以确定各应用程序的通知消息在该时间段内对用户的重要度,其中,该及时度可以通过用户对应用程序的通知查看时间与通知到达时间的差值来表征,若用户对应用程序的通知消息查看的越及时,即差值越小,则说明该应用程序对用户越重要,反之,则越不重要。然后根据用户对各应用程序的通知查看时间与通知到达时间的差值,将通知消息的显示优先级划分为3个优先等级。其中,这里的优先等级划分方式与上述类似,这里不再对其赘述。For each time period, it is also possible to count the timeliness of the user viewing the notification messages of each application within the time period every day, so as to determine the importance of the notification messages of each application to the user within the time period, wherein the timeliness The degree can be characterized by the difference between the user's notification viewing time for the application and the notification arrival time. If the user views the application's notification message in a timely manner, that is, the smaller the difference, it means that the application is more important to the user. On the contrary, it is less important. Then, the display priority of the notification message is divided into three priority levels according to the difference between the user's notification viewing time for each application and the notification arrival time. Wherein, the priority classification method here is similar to the above, and will not be repeated here.
比如,针对上述6个应用程序,根据用户对各应用程序的通知查看时间与通知到达时间的差值从小到大排序,为应用程序A、应用程序F、应用程序B、应用程序C、应用程序D和应用程序E,根据第一等级、第二等级和第三等级的划分规则,应用程序A和应用程序F的通知消息的显示优先级的优先等级为第一等级,应用程序B和应用程序C的通知消息的显示优先级的优先等级为第二等级,应用程序D和应用程序E的通知消息的显示优先级的优先等级为第三等级。For example, for the above 6 applications, according to the difference between the user's notification viewing time and the notification arrival time for each application, they are sorted from small to large, application A, application F, application B, application C, application D and application E, according to the division rules of the first level, the second level and the third level, the priority level of the display priority of the notification messages of application program A and application program F is the first level, application program B and application program The display priority of the notification message of C is the second priority, and the display priority of the notification messages of the application D and the application E is the third priority.
在获取到目标应用程序的通知消息的情况下,获取在当前时间所处的时间段接收到的通知消息对应的各应用程序,其中,这些应用程序中包括该目标应用程序。然后,获取用户每天在该时间段对各应用程序的历史使用时长,基于各历史使用时长,确定第一预设阈值和第二预设阈值。将用户对目标应用程序的历史使用时长与第一预设阈值以及第二预设阈值进行比较,以确定目标应用程序的通知消息在第二维度上的显示优先级的优先等级。其中,第二维度为用户对应用程序的历史使用时长的维度。When the notification message of the target application program is acquired, each application program corresponding to the notification message received in the time period of the current time is acquired, wherein these application programs include the target application program. Then, the historical usage duration of each application program by the user in this time period every day is acquired, and the first preset threshold value and the second preset threshold value are determined based on the respective historical usage durations. The historical usage duration of the target application program by the user is compared with the first preset threshold and the second preset threshold to determine the priority level of the display priority of the notification message of the target application program in the second dimension. The second dimension is the dimension of the user's historical usage time of the application.
对于通知消息在第一维度上的显示优先级,其优先等级的确定方式与上述类似,这里不再对其进行赘述。其中,第一维度为应用程序的通知消息对于用户的重要度的维度。Regarding the display priority of the notification message in the first dimension, the method for determining the priority level is similar to the above, and will not be repeated here. The first dimension is the dimension of the importance of the notification message of the application to the user.
步骤102,依据所述N个显示优先级,确定所述通知消息的目标显示优先级。Step 102: Determine the target display priority of the notification message according to the N display priorities.
该步骤中,可以参照双缝干涉的原理,依据所述N个显示优先级,确定所述通知消息的目标显示优先级。参见图2,图2是参照双缝干涉原理确定通知消息的目标显示优先级的示意图,如图2所示,这N个维度可以比拟双缝干涉的挡板作用,其中,可以设置多个维度,并不局限于双缝干涉本身只有两个狭缝的挡板。而N个显示优先级可以比拟双缝干涉中的相干波源,且显示优先级的多个优先等级可以比拟相干波源中具有不同能量的不同波段。In this step, referring to the principle of double-slit interference, the target display priority of the notification message can be determined according to the N display priorities. Referring to FIG. 2, FIG. 2 is a schematic diagram of determining the target display priority of the notification message with reference to the principle of double-slit interference. As shown in FIG. 2, these N dimensions can be compared to the baffle effect of double-slit interference, in which multiple dimensions can be set. , is not limited to the double-slit interference itself with a baffle with only two slits. The N display priorities can be compared to the coherent wave sources in the double-slit interference, and the multiple priority levels of the display priorities can be compared to different wavelength bands with different energies in the coherent wave source.
参照双缝干涉的原理,若具有相干波源中具有相同波段的光相互叠加,发生干涉现象,则其光线较强,否则光线较弱。基于相同原理,若这N个显示优先级的优先等级都相同,则可以比拟相互叠加作用,优先等级高,否则,若这N个显示优先级的优先等级不完成相同或完全不相同,则优先等级低。Referring to the principle of double-slit interference, if the light with the same wavelength band in the coherent wave source is superimposed on each other and an interference phenomenon occurs, the light is stronger, otherwise the light is weak. Based on the same principle, if the priority levels of the N display priorities are all the same, they can be compared with each other, and the priority level is higher; otherwise, if the priority levels of the N display priorities are not the same or completely different, the priority Low grade.
所述步骤102具体包括:The step 102 specifically includes:
在所述N个显示优先级中存在优先等级相同的显示优先级的情况下,依据所述优先等级相同的显示优先级的数量确定所述通知消息的目标显示优先级;或,In the case where a display priority with the same priority exists among the N display priorities, the target display priority of the notification message is determined according to the number of display priorities with the same priority; or,
在所述N个显示优先级中不存在优先等级相同的显示优先级的情况下,确定所述通知消息的目标显示优先级为所述N个显示优先级中优先等级最低的显示优先级。If there is no display priority with the same priority among the N display priorities, the target display priority of the notification message is determined to be the display priority with the lowest priority among the N display priorities.
如此,可以参照双缝干涉的原理,在N个显示优先级存在相交即N个显示优先级存在优先等级的显示优先级的情况下,依据所述优先等级相同的显示优先级的数量确定所述目标显示优先级,否则,通知消息的目标显示优先级为所述N个显示优先级中优先等级最低的显示优先级。这样,可以基于光学原理从多个维度来评估通知消息的目标显示优先级,以基于该目标显示优先级对通知消息进行显示,从而可以提高通知显示的效果。In this way, referring to the principle of double-slit interference, in the case where N display priorities intersect, that is, N display priorities have display priorities with priority levels, the number of display priorities with the same priority level is determined. The target display priority, otherwise, the target display priority of the notification message is the display priority with the lowest priority among the N display priorities. In this way, the target display priority of the notification message can be evaluated from multiple dimensions based on the optical principle, so as to display the notification message based on the target display priority, so that the effect of the notification display can be improved.
所述在所述N个显示优先级中存在优先等级相同的显示优先级的情况下,依据所述优先等级相同的显示优先级的数量确定所述通知消息的目标显示优先级,包括:The determining of the target display priority of the notification message according to the number of display priorities with the same priority in the case where there are display priorities with the same priority among the N display priorities, includes:
在所述N个显示优先级中存在优先等级相同的显示优先级,且所述优先 等级相同的显示优先级的数量等于N的情况下,确定所述通知消息的目标显示优先级的优先等级为目标优先等级;或者,In the case where a display priority with the same priority exists among the N display priorities, and the number of display priorities with the same priority is equal to N, the priority level for determining the target display priority of the notification message is: target priority; or,
在所述N个显示优先级中存在优先等级相同的显示优先级,且所述优先等级相同的显示优先级的数量小于N的情况下,确定所述通知消息的目标显示优先级的优先等级低于目标优先等级;In the case where there are display priorities with the same priority among the N display priorities, and the number of display priorities with the same priority is less than N, it is determined that the priority of the target display priority of the notification message is low at the target priority level;
其中,所述目标优先等级与所述优先等级相同的显示优先级的优先等级相同。Wherein, the priority level of the target priority level is the same as that of the display priority level with the same priority level.
也就是说,多个维度上,若N个显示优先级的优先等级都相同,基于这N个显示优先级最终确定的目标显示优先级的优先等级与这N个显示优先级的优先等级相同。若这N个显示优先级的优先等级不完全相同,则确定的目标显示优先级的优先等级低于目标优先等级。而在所述N个显示优先级的优先等级完全不相同的情况下,确定所述目标显示优先级的优先等级为所述N个显示优先级的优先等级中最低的优先等级。That is to say, in multiple dimensions, if the priority levels of the N display priorities are all the same, the priority level of the target display priority finally determined based on the N display priorities is the same as the priority level of the N display priorities. If the priority levels of the N display priorities are not identical, the determined priority level of the target display priority level is lower than the target priority level. In the case where the priority levels of the N display priorities are completely different, the priority level of the target display priority is determined to be the lowest priority level among the priority levels of the N display priorities.
比如,通知消息对应第一维度的显示优先级的优先等级为第一等级,对应第二维度的显示优先级的优先等级也为第一等级,则确定目标显示优先级为第一等级,其中,第一等级可以为所有预设的优先等级中最高的优先等级。For example, the priority level of the display priority corresponding to the first dimension of the notification message is the first level, and the priority level of the display priority corresponding to the second dimension is also the first level, then the target display priority is determined to be the first level, wherein, The first level may be the highest priority level among all preset priority levels.
又比如,通知消息对应第一维度的显示优先级的优先等级为第一等级,对应第二维度的显示优先级的优先等级为第二等级,则确定目标显示优先级的优先等级为第二等级。For another example, the priority level of the display priority corresponding to the first dimension of the notification message is the first level, and the priority level of the display priority corresponding to the second dimension is the second level, then the priority level of the target display priority is determined to be the second level. .
还比如,可以将目标显示优先级的优先等级划分的比显示优先级的优先等级多,如目标显示优先级的优先等级可以划分为5个,分别为第一等级至第五等级,而显示优先级的优先等级可以划分3个。在这种情况下,在通知消息分别对应3个维度的显示优先级的优先等级均为第一等级,则可以确定目标显示优先级的优先等级为第一等级。For another example, the priority levels of the target display priority can be divided into more priority levels than the display priority levels. For example, the priority levels of the target display priority can be divided into 5 levels, which are the first level to the fifth level, and the display priority level. The priority level can be divided into 3 levels. In this case, when the priority levels of the display priorities corresponding to the three dimensions of the notification message are all the first level, it can be determined that the priority level of the target display priority is the first level.
而通知消息分别对应第一维度和第二维度的显示优先级的优先等级均为第一等级,对应第三维度的显示优先级的优先等级为第二等级,则确定目标显示优先级的优先等级为第二等级,其优先等级比目标优先等级低(目标优先等级为第一等级)。还有一种情况,通知消息对应第一维度的显示优先级的优先等级为第一等级,分别对应第二维度和第三维度的显示优先级的优先等 级均为第二等级,则可以确定目标显示优先级的优先等级为第三等级,比目标优先等级低。The priority levels of the notification message corresponding to the display priority of the first dimension and the second dimension are both the first level, and the priority level of the display priority corresponding to the third dimension is the second level, then the priority level of the target display priority is determined. is the second level, and its priority level is lower than the target priority level (the target priority level is the first level). In another case, the priority level of the display priority corresponding to the first dimension of the notification message is the first level, and the priority levels of the display priorities corresponding to the second dimension and the third dimension respectively are the second level, then the target display can be determined. The priority level of the priority is the third level, which is lower than the target priority level.
通知消息的数量可以为1个,也可以为多个,相应的,这些通知消息对应的目标应用程序的数量可以为1,也可以为多个,比如6个,分别为应用程序A、应用程序B、应用程序C、应用程序D、应用程序E和应用程序F,此时,需要分别确定这6个目标应用程序的通知消息的目标显示优先级。The number of notification messages can be 1 or multiple. Correspondingly, the number of target applications corresponding to these notification messages can be 1 or multiple, such as 6, respectively application A, application B. Application program C, application program D, application program E, and application program F. At this time, it is necessary to determine the target display priorities of the notification messages of the six target application programs respectively.
具体的,获取这6个目标应用程序的通知消息在当前时间所处的时间段对应第一维度的显示优先级的优先等级,如下:Specifically, obtain the priority level of the display priority of the first dimension corresponding to the time period in which the notification messages of the six target applications are located at the current time, as follows:
第一等级:应用程序A,应用程序F;Level 1: Application A, Application F;
第二等级:应用程序B、应用程序C;The second level: application B, application C;
第三等级:应用程序D、应用程序E。The third level: application D, application E.
获取这6个目标应用程序的通知消息在当前时间所处的时间段对应第二维度的显示优先级的优先等级,如下:Obtain the priority level of the display priority of the second dimension corresponding to the time period in which the notification messages of the six target applications are located at the current time, as follows:
第一等级:应用程序A、应用程序B、应用程序C;Level 1: Application A, Application B, Application C;
第二等级:应用程序D;Level 2: Application D;
第三等级:应用程序E、应用程序F。The third level: application E, application F.
则在当前所处的时间段,确定各目标应用程序的通知消息的目标显示优先级的优先等级,如下:Then, in the current time period, determine the priority level of the target display priority of the notification message of each target application program, as follows:
第一等级:应用程序A;Level 1: Application A;
第二等级:应用程序B、应用程序C;The second level: application B, application C;
第三等级:应用程序D、应用程序E、应用程序F。The third level: application D, application E, application F.
当然,在确定各目标应用程序的通知消息的目标显示优先级的优先等级时,可以为每个维度设置一个权重,比如,用户可能更看重第一维度,即用户可能更看重通知消息的重要度,则若目标应用程序的通知消息对应第一维度的显示优先级比较高,则可以将该目标应用程序的通知消息的目标显示优先级的优先等级提高一个等级。如应用程序F的通知消息的目标显示优先级的优先等级可以提高至第二等级。Of course, when determining the priority level of the target display priority of the notification message of each target application, a weight may be set for each dimension. For example, the user may place more importance on the first dimension, that is, the user may place more importance on the importance of the notification message , then if the display priority of the notification message of the target application program corresponding to the first dimension is relatively high, the priority level of the target display priority of the notification message of the target application program may be increased by one level. The priority level such as the target display priority of the notification message of the application F may be raised to the second level.
步骤103,依据所述目标显示优先级对所述通知消息进行显示。Step 103: Display the notification message according to the target display priority.
该步骤中,可以依据所述目标显示优先级对通知消息进行显示,且显示 方式包括多种,以下举例说明。In this step, the notification message may be displayed according to the target display priority, and the display manner includes multiple modes, which are described below with an example.
比如,对于目标显示优先级的优先等级高的通知消息,可以在锁屏的状态下将该通知消息在界面顶部进行显示,以提醒用户进行查看。For example, for a notification message with a high priority of the target display priority, the notification message may be displayed at the top of the interface in a locked screen state to remind the user to view it.
又比如,可以将该时间段接收到的通知消息按照目标显示优先级的优先等级进行排序,优先推送优先等级高的通知消息,如将优先等级高的通知消息显示在更靠近通知界面(可以称之为通知中心)的顶部,起到更加醒目的效果,也可以将目标显示优先级的优先等级高的通知消息进行突出显示。而对于目标显示优先级的优先等级低的通知消息可以不显示在通知界面,而可以通过一个目标显示对象将其收起。具体的,可以在通知界面中显示目标显示对象,在接收到优先等级低的通知消息的情况下,可以将该通知消息的通知标识与目标显示对象关联,该目标显示对象可以为一个文件夹,也可以为一个图标,以通过该目标显示对象收起优先等级低的通知消息,避免一些优先等级低的通知消息对用户造成过多打扰。这样,使得通知提醒更加贴合用户需求。For another example, the notification messages received in this time period can be sorted according to the priority of the target display priority, and the notification messages with high priority levels can be pushed preferentially. It is the top of the notification center), which has a more eye-catching effect, and can also highlight the notification messages with high priority of the target display priority. As for the notification message with the low priority of the target display priority, the notification message may not be displayed on the notification interface, but may be stowed away by a target display object. Specifically, the target display object may be displayed in the notification interface, and in the case of receiving a notification message with a low priority, the notification identifier of the notification message may be associated with the target display object, and the target display object may be a folder, It can also be an icon, so that notification messages with low priority levels are put away through the target display object, so as to avoid too much disturbance to the user caused by some notification messages with low priority levels. In this way, the notification reminder is more suitable for user needs.
还比如,可以将通知消息按照目标显示优先级的优先等级进行分区显示,以将同一优先等级的通知消息显示在同一显示区域,而将不同优先等级的通知消息显示在不同显示区域,方便用户对通知消息进行查看和清理。Also, for example, the notification messages can be displayed in partitions according to the priority of the target display priority, so that the notification messages of the same priority level are displayed in the same display area, and the notification messages of different priority levels are displayed in different display areas, which is convenient for users to Notification messages for viewing and cleaning.
当然,还有其他的显示方式,这里就不对其进行一一赘述。Of course, there are other display modes, which will not be repeated here.
本实施例中,在获取到通知消息的情况下,通过获取所述通知消息分别对应N个维度的N个显示优先级;并依据所述N个显示优先级,确定所述通知消息的目标显示优先级。这样,可以从多个维度来评估通知消息的目标显示优先级,以基于该目标显示优先级对通知消息进行显示,如此可以提高通知显示的效果。In this embodiment, when a notification message is acquired, N display priorities corresponding to N dimensions of the notification message are acquired; and according to the N display priorities, the target display of the notification message is determined priority. In this way, the target display priority of the notification message can be evaluated from multiple dimensions, so as to display the notification message based on the target display priority, so that the effect of the notification display can be improved.
需要说明的是,用户可以对N个维度和时间维度进行自定义,如定义每个维度的显示优先级的优先等级的划分个数(如划分为5个优先等级),优先等级的划分规则,根据自己的作息时间调整划分的时间段的具体时间区间(如调整划分的时间段为上午6点至8点)。It should be noted that the user can customize the N dimensions and the time dimension, such as defining the number of priority levels for each dimension's display priority (for example, divided into 5 priority levels), the priority level division rules, Adjust the specific time interval of the divided time period according to your own work and rest time (for example, adjust the divided time period from 6:00 am to 8:00 am).
当然还可以增加更多的维度,来评估通知消息的目标显示优先级,如用户当前所处场景,包括家中、户外和办公室等。又如通知消息的内容,包括电 商类、美食类和资讯类等。由此可以做到更细致的管理,使得优先显示的通知可以更贴合用户感兴趣的内容和当前所处场景。Of course, more dimensions can be added to evaluate the target display priority of notification messages, such as the user's current scene, including home, outdoors, and office. Another example is the content of notification messages, including e-commerce, food, and information. In this way, more detailed management can be achieved, so that the preferentially displayed notifications can be more suitable for the content that the user is interested in and the current scene.
可选的,基于实施例一,所述步骤103具体包括:Optionally, based on Embodiment 1, the step 103 specifically includes:
将所述通知消息显示在通知界面中与所述目标显示优先级对应的显示区域。The notification message is displayed in a display area corresponding to the target display priority in the notification interface.
可选的,所述将所述通知消息显示在通知界面中与所述目标显示优先级对应的显示区域,包括:Optionally, the displaying the notification message in a display area corresponding to the target display priority in the notification interface includes:
在所述目标显示优先级的优先等级为第一优先等级的情况下,将所述通知消息显示在所述通知界面中的第一显示区域;或者,When the priority level of the target display priority is the first priority level, display the notification message in the first display area in the notification interface; or,
在所述目标显示优先级的优先等级为第二优先等级的情况下,将所述通知消息显示在所述通知界面中的第二显示区域;In the case that the priority level of the target display priority is the second priority level, displaying the notification message in the second display area in the notification interface;
其中,在所述第一优先等级高于所述第二优先等级的情况下,所述第一显示区域相对于所述通知界面的顶部的距离小于第一目标距离,所述第一目标距离为所述第二显示区域相对于所述通知界面的顶部的距离。Wherein, when the first priority level is higher than the second priority level, the distance between the first display area and the top of the notification interface is less than a first target distance, and the first target distance is The distance of the second display area relative to the top of the notification interface.
本实施例中,参见图3,图3是依据所述目标显示优先级对所述通知消息进行显示的示意图,如图3所示,按照目标显示优先级的优先等级,可以将通知界面分为3个显示区域,分别为第一等级对应的显示区域301,第二等级对应的显示区域302,第三等级对应的显示区域303。其中,第一等级对应的显示区域301通常显示第一等级的通知消息,第二等级对应的显示区域302显示第二等级的通知消息,第三等级对应的显示区域303显示第三等级的通知消息。并且优先等级越高,则对应的显示区域越靠近通知界面的顶部,这样可以使优先等级高的通知消息更加醒目。In this embodiment, referring to FIG. 3, FIG. 3 is a schematic diagram of displaying the notification message according to the target display priority. As shown in FIG. 3, according to the priority level of the target display priority, the notification interface can be divided into The three display areas are respectively a display area 301 corresponding to the first level, a display area 302 corresponding to the second level, and a display area 303 corresponding to the third level. The display area 301 corresponding to the first level usually displays the notification messages of the first level, the display area 302 corresponding to the second level displays the notification messages of the second level, and the display area 303 corresponding to the third level displays the notification messages of the third level . And the higher the priority level, the closer the corresponding display area is to the top of the notification interface, which can make the notification message with the higher priority level more conspicuous.
本实施例中,可以将通知消息按照目标显示优先级的优先等级进行分区显示,以将同一优先等级的通知消息显示在同一显示区域,而将不同优先等级的通知消息显示在不同显示区域,方便用户对通知消息进行查看和清理。In this embodiment, the notification messages can be displayed in partitions according to the priority levels of the target display priorities, so that notification messages of the same priority level are displayed in the same display area, and notification messages of different priority levels are displayed in different display areas, which is convenient for Users view and clean up notification messages.
可选的,在所述目标显示优先级的优先等级为显示优先级的所有预设优先等级中最低的优先等级的情况下,可以将所述通知消息的通知标识与目标显示对象关联;Optionally, when the priority level of the target display priority is the lowest priority level among all preset priority levels of the display priority, the notification identifier of the notification message may be associated with the target display object;
其中,所述目标显示对象显示在通知界面中与所述目标显示优先级对应 的显示区域。The target display object is displayed in a display area corresponding to the target display priority in the notification interface.
本实施例中,可以将接收到的通知消息按照目标显示优先级的优先等级进行筛选分类,得到优先等级最低的一类通知消息,将这类通知消息的通知标识与目标显示对象关联,目标显示对象显示在如图3所示的第三等级对应的显示区域303上。其中,目标显示对象可以为文件夹,也可以为目标图标,该目标图标可以为目标应用程序对应的图标,该目标图标可以关联该目标应用程序的所有通知消息。In this embodiment, the received notification messages can be screened and classified according to the priority of the target display priority to obtain a type of notification message with the lowest priority, and the notification identifier of this type of notification message is associated with the target display object, and the target display The object is displayed on the display area 303 corresponding to the third level as shown in FIG. 3 . The target display object may be a folder or a target icon, the target icon may be an icon corresponding to the target application, and the target icon may be associated with all notification messages of the target application.
这样,通过该目标显示对象可以收起目标显示优先级的优先等级低的通知消息,且在用户点击该目标显示对象时,这类通知消息可以相应展开显示。如此,可以避免一些优先等级低的通知消息对用户造成过多打扰,提高用户体验。In this way, notification messages with lower priority of the target display can be collapsed through the target display object, and when the user clicks on the target display object, such notification messages can be expanded and displayed accordingly. In this way, some low-priority notification messages can be prevented from causing too much disturbance to the user, and the user experience can be improved.
可选的,所述N个维度中包括第一维度,所述步骤103包括:Optionally, the N dimensions include a first dimension, and the step 103 includes:
将所述通知消息显示在通知界面中与所述目标显示优先级对应的目标位置;displaying the notification message in a target position corresponding to the target display priority in the notification interface;
其中,所述目标位置为与所述通知消息对应所述第一维度的显示优先级匹配的位置。The target position is a position that matches the display priority of the notification message corresponding to the first dimension.
可选的,所述N个维度中包括第一维度,所述步骤103包括:Optionally, the N dimensions include a first dimension, and the step 103 includes:
在所述目标显示优先级的优先等级低于第一等级,且所述通知消息对应所述第一维度的显示优先级的优先等级为所述第一等级的情况下,将所述通知消息的通知标识以缩略图的形式显示在所述第一等级对应的显示区域;When the priority level of the target display priority is lower than the first level, and the display priority level of the notification message corresponding to the first dimension is the first level, the notification message The notification identifier is displayed in the display area corresponding to the first level in the form of a thumbnail;
其中,所述第一等级为针对所述第一维度的显示优先级的所有预设优先等级中最高的优先等级。The first level is the highest priority level among all preset priority levels of display priorities for the first dimension.
本实施例中,显示区域上显示的通知消息都可以按照通知消息对应所述第一维度的显示优先级的优先等级进行排序,其中,所述第一维度可以用于表征应用程序的通知消息对于用户的重要度。也就是说,通知消息越重要,其显示位置在显示区域中越靠前,而当通知消息对应第一维度的显示优先级的优先等级最高时,可以直接将通知消息显示在显示区域的顶部。In this embodiment, the notification messages displayed on the display area may be sorted according to the priority levels of the notification messages corresponding to the display priorities of the first dimension, where the first dimension may be used to represent that the notification messages of the application program are for importance of users. That is to say, the more important the notification message is, the higher its display position is in the display area, and when the notification message has the highest display priority corresponding to the first dimension, the notification message can be directly displayed at the top of the display area.
比如,若通知消息的目标显示优先级的优先等级为第二等级,而对应第一维度的显示优先级的优先等级为第一等级,则可以将该通知消息显示在如 图3所示的第二等级对应的显示区域302的顶部。For example, if the priority level of the target display priority of the notification message is the second level, and the priority level of the display priority corresponding to the first dimension is the first level, the notification message can be displayed on the first level as shown in FIG. 3 . The second level corresponds to the top of the display area 302 .
另外,为了更加凸显通知消息的重要度,使得重要的通知消息的显示更加醒目,对于针对第一维度的显示优先级的优先等级为第一等级,但是目标显示优先级的优先等级不高的通知消息,即当前时间段用户的使用偏好等级不高的通知消息,可以将所述通知消息的通知标识以缩略图的形式显示在所述目标优先等级对应的显示区域,即将通知消息的通知标识以缩略图的形式显示在如图3所示的第一等级对应的显示区域301。In addition, in order to highlight the importance of notification messages and make the display of important notification messages more conspicuous, the priority level of the display priority for the first dimension is the first level, but the priority level of the target display priority is not high. message, that is, a notification message whose usage preference level of the user is not high in the current time period, the notification identifier of the notification message can be displayed in the display area corresponding to the target priority level in the form of a thumbnail, that is, the notification identifier of the notification message is displayed as a thumbnail. The thumbnails are displayed in the display area 301 corresponding to the first level as shown in FIG. 3 .
可选的,基于实施例一,所述步骤101具体包括:Optionally, based on Embodiment 1, the step 101 specifically includes:
在获取到通知消息的情况下,获取所述通知消息在获取时刻对应的预设时间段内分别对应N个维度的N个显示优先级;In the case of acquiring the notification message, acquiring N display priorities corresponding to N dimensions respectively within the preset time period corresponding to the acquisition moment of the notification message;
所述依据所述目标显示优先级对所述通知消息进行显示之后,所述方法还包括:After the notification message is displayed according to the target display priority, the method further includes:
在当前时间超过所述预设时间段的结束时刻,且所述目标显示优先级高于显示优先级的所有预设优先等级中最低的优先等级的情况下,降低所述目标显示优先级的优先等级;When the current time exceeds the end time of the preset time period, and the target display priority is higher than the lowest priority among all preset display priorities, the priority of the target display priority is lowered grade;
依据优先等级降低后的所述目标显示优先级,将所述通知消息调整显示至通知界面中目标显示区域;Adjusting and displaying the notification message to the target display area in the notification interface according to the target display priority after the priority level is lowered;
其中,所述目标显示区域相对于所述通知界面的顶部的距离大于第二目标距离,所述第二目标距离为所述通知消息调整显示之前的显示区域相对于所述通知界面的顶部的距离。Wherein, the distance of the target display area relative to the top of the notification interface is greater than a second target distance, and the second target distance is the distance of the display area before the adjustment and display of the notification message relative to the top of the notification interface .
本实施例中,当时间段更迭时,可以降低之前的通知消息的目标显示优先级的优先等级,且时间段每更迭一次,降低一个等级,直至其优先等级将至最低。比如,针对上午7点至9点时间段的通知消息,其优先等级为第一等级,若当前时间超过上午9点时,且当前时间为上午10点,则其优先等级将至第二等级,若当前时间为上午11点半,则其优先等级又降低一个等级,为第三等级。In this embodiment, when the time period is changed, the priority level of the target display priority of the previous notification message can be lowered, and each time the time period is changed, the priority level is lowered by one level until the priority level is the lowest. For example, for the notification message from 7:00 am to 9:00 am, its priority level is the first level. If the current time exceeds 9:00 am and the current time is 10:00 am, its priority level will be the second level. If the current time is 11:30 in the morning, the priority level is lowered by one level, which is the third level.
相应的,依据优先等级降低后的所述目标显示优先级,重新调整该通知消息的显示区域,以调整至与其优先等级对应的显示区域。这样,在通知消息未及时查看时,为了避免通知消息过多,可以自动收起至通知界面的底部, 如此,可以避免过多旧的通知消息对用户的干扰,提升用户体验。Correspondingly, the display area of the notification message is re-adjusted according to the display priority of the target after the priority level is lowered, so as to be adjusted to the display area corresponding to the priority level. In this way, when the notification messages are not checked in time, in order to avoid too many notification messages, the notification messages can be automatically folded to the bottom of the notification interface. In this way, the interference of too many old notification messages to the user can be avoided, and the user experience can be improved.
需要说明的是,本申请实施例提供的通知显示方法,执行主体可以为通知显示装置,或者该通知显示装置中的用于执行通知显示方法的控制模块。本申请实施例中以通知显示装置执行通知显示方法为例,说明本申请实施例提供的通知显示装置。It should be noted that, in the notification display method provided by the embodiment of the present application, the execution subject may be a notification display device, or a control module in the notification display device for executing the notification display method. In the embodiment of the present application, the notification display device provided by the embodiment of the present application is described by taking the notification display device executing the notification display method as an example.
参见图4,图4是本申请实施例提供的通知显示装置的结构图,如图4所示,通知显示装置400包括:Referring to FIG. 4, FIG. 4 is a structural diagram of a notification display apparatus provided by an embodiment of the present application. As shown in FIG. 4, the notification display apparatus 400 includes:
获取模块401,用于在获取到通知消息的情况下,获取所述通知消息分别对应N个维度的N个显示优先级;The obtaining module 401 is configured to obtain N display priorities corresponding to N dimensions respectively in the case of obtaining a notification message;
确定模块402,用于依据所述N个显示优先级,确定所述通知消息的目标显示优先级;A determination module 402, configured to determine the target display priority of the notification message according to the N display priorities;
显示模块403,用于依据所述目标显示优先级对所述通知消息进行显示;a display module 403, configured to display the notification message according to the target display priority;
其中,N为大于1的正整数。Among them, N is a positive integer greater than 1.
可选的,所述确定模块402包括:Optionally, the determining module 402 includes:
第一确定单元,用于在所述N个显示优先级中存在优先等级相同的显示优先级的情况下,依据所述优先等级相同的显示优先级的数量确定所述通知消息的目标显示优先级;a first determining unit, configured to determine a target display priority of the notification message according to the number of display priorities with the same priority when there are display priorities with the same priority among the N display priorities ;
第二确定单元,用于在所述N个显示优先级中不存在优先等级相同的显示优先级的情况下,确定所述通知消息的目标显示优先级为所述N个显示优先级中优先等级最低的显示优先级。a second determining unit, configured to determine that the target display priority of the notification message is a priority level among the N display priority levels in the case where there is no display priority level with the same priority level among the N display priority levels The lowest display priority.
可选的,所述第一确定单元,具体用于在所述N个显示优先级中存在优先等级相同的显示优先级,且所述优先等级相同的显示优先级的数量等于N的情况下,确定所述通知消息的目标显示优先级的优先等级为目标优先等级;或者,在所述N个显示优先级中存在优先等级相同的显示优先级,且所述优先等级相同的显示优先级的数量小于N的情况下,确定所述通知消息的目标显示优先级的优先等级低于目标优先等级;其中,所述目标优先等级与所述优先等级相同的显示优先级的优先等级相同。Optionally, the first determining unit is specifically configured to, in the case where a display priority with the same priority exists among the N display priorities, and the number of display priorities with the same priority is equal to N, The priority level of the target display priority of the notification message is determined as the target priority level; or, among the N display priorities, there are display priorities with the same priority, and the number of display priorities with the same priority In the case of less than N, it is determined that the priority level of the target display priority of the notification message is lower than the target priority level; wherein the target priority level is the same as the display priority level of the same priority level.
可选的,所述N个维度中包括第一维度;所述显示模块403包括:Optionally, the N dimensions include a first dimension; the display module 403 includes:
第一显示单元,用于将所述通知消息显示在通知界面中与所述目标显示 优先级对应的目标位置;其中,所述目标位置为与所述通知消息对应所述第一维度的显示优先级匹配的位置。a first display unit, configured to display the notification message in a target position corresponding to the target display priority in the notification interface; wherein, the target position is the display priority of the first dimension corresponding to the notification message level matching location.
可选的,所述N个维度中包括第一维度;所述显示模块403包括:Optionally, the N dimensions include a first dimension; the display module 403 includes:
第二显示单元,用于在所述目标显示优先级的优先等级低于第一等级,且所述通知消息对应所述第一维度的显示优先级的优先等级为所述第一等级的情况下,将所述通知消息的通知标识以缩略图的形式显示在所述第一等级对应的显示区域;其中,所述第一等级为针对所述第一维度的显示优先级的所有预设优先等级中最高的优先等级。The second display unit is configured to be used when the priority level of the target display priority is lower than the first level, and the priority level of the display priority corresponding to the first dimension of the notification message is the first level , displaying the notification identifier of the notification message in the display area corresponding to the first level in the form of a thumbnail; wherein the first level is all preset priority levels of display priorities for the first dimension highest priority.
可选的,所述获取模块401,具体用于在获取到通知消息的情况下,获取所述通知消息在获取时刻对应的预设时间段内分别对应N个维度的N个显示优先级;Optionally, the obtaining module 401 is specifically configured to obtain, in the case of obtaining a notification message, N display priorities corresponding to N dimensions respectively within a preset time period corresponding to the obtaining moment of the notification message;
所述装置还包括:The device also includes:
优先等级调整模块,用于在当前时间超过所述预设时间段的结束时刻,且所述目标显示优先级高于显示优先级的所有预设优先等级中最低的优先等级的情况下,降低所述目标显示优先级的优先等级。The priority level adjustment module is used to lower the all the preset priority levels when the current time exceeds the end time of the preset time period and the target display priority level is higher than the lowest priority level among all preset priority levels of display priority levels. The stated target shows the priority level of the priority.
本实施例中,在获取到通知消息的情况下,通过获取模块401获取所述通知消息分别对应N个维度的N个显示优先级;并通过确定模块402依据所述N个显示优先级,确定所述通知消息的目标显示优先级。这样,可以从多个维度来评估通知消息的目标显示优先级,以通过显示模块403基于该目标显示优先级对通知消息进行显示,如此可以提高通知显示的效果。In this embodiment, when a notification message is acquired, the acquisition module 401 acquires N display priorities corresponding to N dimensions of the notification message respectively; and the determination module 402 determines the N display priorities according to the N display priorities. The target display priority of the notification message. In this way, the target display priority of the notification message can be evaluated from multiple dimensions, so that the display module 403 can display the notification message based on the target display priority, so that the effect of notification display can be improved.
本申请实施例中的通知显示装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The notification display device 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 apparatus 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 palmtop computer, an in-vehicle electronic device, a wearable device, an 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 notification display device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
本申请实施例提供的通知显示装置能够实现图1的方法实施例实现的各个过程,为避免重复,这里不再赘述。The notification display device provided in the embodiment of the present application can implement each process implemented by the method embodiment in FIG. 1 , and to avoid repetition, details are not described here.
可选的,参见图5,图5是本申请实施例提供的电子设备的结构图,如图5所示,本申请实施例还提供一种电子设备,包括处理器501,存储器502,存储在存储器502上并可在所述处理器501上运行的程序或指令,该程序或指令被处理器501执行时实现上述通知显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, referring to FIG. 5 , FIG. 5 is a structural diagram of an electronic device provided by an embodiment of the present application. As shown in FIG. 5 , an embodiment of the present application further provides an electronic device, including a processor 501 and a memory 502 , which are stored in A program or instruction on the memory 502 that can be run on the processor 501. When the program or instruction is executed by the processor 501, each process of the above-mentioned embodiment of the notification display method can be realized, and the same technical effect can be achieved. In order to avoid repetition , which will not be repeated here.
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
图6为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备600包括但不限于:射频单元601、网络模块602、音频输出单元603、输入单元604、传感器605、显示单元606、用户输入单元607、接口单元608、存储器609、以及处理器610等部件。The electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, and a processor 610, etc. part.
本领域技术人员可以理解,电子设备600还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图6中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 600 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 610 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions. The structure of the electronic device shown in FIG. 6 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than those shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
其中,处理器610,用于在获取到通知消息的情况下,获取所述通知消息分别对应N个维度的N个显示优先级;依据所述N个显示优先级,确定所述通知消息的目标显示优先级;Wherein, the processor 610 is configured to acquire N display priorities corresponding to N dimensions of the notification message when the notification message is acquired; and determine the target of the notification message according to the N display priorities display priority;
显示单元606,用于依据所述目标显示优先级对所述通知消息进行显示;a display unit 606, configured to display the notification message according to the target display priority;
其中,N为大于1的正整数。Among them, N is a positive integer greater than 1.
本申请实施例中,通过处理器610在获取到通知消息的情况下,获取所述通知消息分别对应N个维度的N个显示优先级;依据所述N个显示优先级,确定所述通知消息的目标显示优先级。这样,可以从多个维度来评估通知消息的目标显示优先级,以通过显示单元606依据所述目标显示优先级对 所述通知消息进行显示,如此可以提高通知显示的效果。In this embodiment of the present application, when a notification message is acquired, the processor 610 acquires N display priorities corresponding to N dimensions of the notification message respectively; and determines the notification message according to the N display priorities The target display priority. In this way, the target display priority of the notification message can be evaluated from multiple dimensions, so that the notification message can be displayed by the display unit 606 according to the target display priority, so that the effect of the notification display can be improved.
可选的,处理器610,还用于:Optionally, the processor 610 is further configured to:
在所述N个显示优先级中存在优先等级相同的显示优先级的情况下,依据所述优先等级相同的显示优先级的数量确定所述通知消息的目标显示优先级;或,In the case where a display priority with the same priority exists among the N display priorities, the target display priority of the notification message is determined according to the number of display priorities with the same priority; or,
在所述N个显示优先级中不存在优先等级相同的显示优先级的情况下,确定所述通知消息的目标显示优先级为所述N个显示优先级中优先等级最低的显示优先级。If there is no display priority with the same priority among the N display priorities, the target display priority of the notification message is determined to be the display priority with the lowest priority among the N display priorities.
可选的,处理器610,还用于:Optionally, the processor 610 is further configured to:
在所述N个显示优先级中存在优先等级相同的显示优先级,且所述优先等级相同的显示优先级的数量等于N的情况下,确定所述通知消息的目标显示优先级的优先等级为目标优先等级;或者,In the case where a display priority with the same priority exists among the N display priorities, and the number of display priorities with the same priority is equal to N, the priority level for determining the target display priority of the notification message is: target priority; or,
在所述N个显示优先级中存在优先等级相同的显示优先级,且所述优先等级相同的显示优先级的数量小于N的情况下,确定所述通知消息的目标显示优先级的优先等级低于目标优先等级;In the case where there are display priorities with the same priority among the N display priorities, and the number of display priorities with the same priority is less than N, it is determined that the priority of the target display priority of the notification message is low at the target priority level;
其中,所述目标优先等级与所述优先等级相同的显示优先级的优先等级相同。Wherein, the priority level of the target priority level is the same as that of the display priority level with the same priority level.
可选的,所述N个维度中包括第一维度;显示单元606,还用于:Optionally, the N dimensions include a first dimension; the display unit 606 is further configured to:
将所述通知消息显示在通知界面中与所述目标显示优先级对应的目标位置;displaying the notification message in a target position corresponding to the target display priority in the notification interface;
其中,所述目标位置为与所述通知消息对应所述第一维度的显示优先级匹配的位置。The target position is a position that matches the display priority of the notification message corresponding to the first dimension.
可选的,所述N个维度中包括第一维度;显示单元606,还用于:Optionally, the N dimensions include a first dimension; the display unit 606 is further configured to:
在所述目标显示优先级的优先等级低于第一等级,且所述通知消息对应所述第一维度的显示优先级的优先等级为所述第一等级的情况下,将所述通知消息的通知标识以缩略图的形式显示在所述第一等级对应的显示区域;When the priority level of the target display priority is lower than the first level, and the display priority level of the notification message corresponding to the first dimension is the first level, the notification message The notification identifier is displayed in the display area corresponding to the first level in the form of a thumbnail;
其中,所述第一等级为针对所述第一维度的显示优先级的所有预设优先等级中最高的优先等级。The first level is the highest priority level among all preset priority levels of display priorities for the first dimension.
可选的,处理器610,还用于在获取到通知消息的情况下,获取所述通知 消息在获取时刻对应的预设时间段内分别对应N个维度的N个显示优先级;Optionally, the processor 610 is further configured to acquire N display priorities corresponding to N dimensions respectively in the preset time period corresponding to the acquisition moment of the notification message when the notification message is acquired;
处理器610,还用于在当前时间超过所述预设时间段的结束时刻,且所述目标显示优先级高于显示优先级的所有预设优先等级中最低的优先等级的情况下,降低所述目标显示优先级的优先等级。The processor 610 is further configured to lower all the display priorities when the current time exceeds the end time of the preset time period and the target display priority is higher than the lowest priority level among all preset priority levels of display priorities. The stated target shows the priority level of the priority.
应理解的是,本申请实施例中,输入单元604可以包括图形处理器(Graphics Processing Unit,GPU)6041和麦克风6042,图形处理器6041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元606可包括显示面板6061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板6061。用户输入单元607包括触控面板6071以及其他输入设备6072。触控面板6071,也称为触摸屏。触控面板6071可包括触摸检测装置和触摸控制器两个部分。其他输入设备6072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器609可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器610可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。It should be understood that, in this embodiment of the present application, the input unit 604 may include a graphics processor (Graphics Processing Unit, GPU) 6041 and a microphone 6042. Such as camera) to obtain still pictures or video image data for processing. The display unit 606 may include a display panel 6061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 607 includes a touch panel 6071 and other input devices 6072 . The touch panel 6071 is also called a touch screen. The touch panel 6071 may include two parts, a touch detection device and a touch controller. Other input devices 6072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again. Memory 609 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 610 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 610.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述通知显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above-mentioned embodiment of the notification display method is implemented, and the same can be achieved. In order to avoid repetition, the technical effect will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述通知显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the above notification display method embodiments Each process can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、 芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-chip, or a system-on-chip, or the like.
可以理解的是,本公开描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,模块、单元、子模块、子单元等可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It will be appreciated that the embodiments described in this disclosure may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, modules, units, sub-modules, sub-units, etc. can be implemented in one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processing (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-purpose processor, controller, microcontroller, microprocessor, for in other electronic units or combinations thereof that perform the functions described herein.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, 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 some examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From 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 hardware platform, and of course hardware can also be used, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求 所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。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 embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (17)

  1. 一种通知显示方法,其中,包括:A notification display method, comprising:
    在获取到通知消息的情况下,获取所述通知消息分别对应N个维度的N个显示优先级;In the case of acquiring the notification message, acquiring N display priorities corresponding to N dimensions of the notification message respectively;
    依据所述N个显示优先级,确定所述通知消息的目标显示优先级;determining a target display priority of the notification message according to the N display priorities;
    依据所述目标显示优先级对所述通知消息进行显示;displaying the notification message according to the target display priority;
    其中,N为大于1的正整数。Among them, N is a positive integer greater than 1.
  2. 根据权利要求1所述的方法,其中,依据所述N个显示优先级,确定所述通知消息的目标显示优先级,包括:The method according to claim 1, wherein determining the target display priority of the notification message according to the N display priorities, comprising:
    在所述N个显示优先级中存在优先等级相同的显示优先级的情况下,依据所述优先等级相同的显示优先级的数量确定所述通知消息的目标显示优先级;或,In the case where a display priority with the same priority exists among the N display priorities, the target display priority of the notification message is determined according to the number of display priorities with the same priority; or,
    在所述N个显示优先级中不存在优先等级相同的显示优先级的情况下,确定所述通知消息的目标显示优先级为所述N个显示优先级中优先等级最低的显示优先级。If there is no display priority with the same priority among the N display priorities, the target display priority of the notification message is determined to be the display priority with the lowest priority among the N display priorities.
  3. 根据权利要求2所述的方法,其中,所述在所述N个显示优先级中存在优先等级相同的显示优先级的情况下,依据所述优先等级相同的显示优先级的数量确定所述通知消息的目标显示优先级,包括:The method according to claim 2, wherein the notification is determined according to the number of display priorities with the same priority when there are display priorities with the same priority among the N display priorities The message's target display priority, including:
    在所述N个显示优先级中存在优先等级相同的显示优先级,且所述优先等级相同的显示优先级的数量等于N的情况下,确定所述通知消息的目标显示优先级的优先等级为目标优先等级;或者,In the case where a display priority with the same priority exists among the N display priorities, and the number of display priorities with the same priority is equal to N, the priority level for determining the target display priority of the notification message is: target priority; or,
    在所述N个显示优先级中存在优先等级相同的显示优先级,且所述优先等级相同的显示优先级的数量小于N的情况下,确定所述通知消息的目标显示优先级的优先等级低于目标优先等级;In the case where there are display priorities with the same priority among the N display priorities, and the number of display priorities with the same priority is less than N, it is determined that the priority of the target display priority of the notification message is low at the target priority level;
    其中,所述目标优先等级与所述优先等级相同的显示优先级的优先等级相同。Wherein, the priority level of the target priority level is the same as that of the display priority level with the same priority level.
  4. 根据权利要求1所述的方法,其中,所述N个维度中包括第一维度;所述依据所述目标显示优先级对所述通知消息进行显示,包括:The method according to claim 1, wherein the N dimensions include a first dimension; and the displaying the notification message according to the target display priority includes:
    将所述通知消息显示在通知界面中与所述目标显示优先级对应的目标位置;displaying the notification message in a target position corresponding to the target display priority in the notification interface;
    其中,所述目标位置为与所述通知消息对应所述第一维度的显示优先级匹配的位置。The target position is a position that matches the display priority of the notification message corresponding to the first dimension.
  5. 根据权利要求1所述的方法,其中,所述N个维度中包括第一维度;所述依据所述目标显示优先级对所述通知消息进行显示,包括:The method according to claim 1, wherein the N dimensions include a first dimension; and the displaying the notification message according to the target display priority includes:
    在所述目标显示优先级的优先等级低于第一等级,且所述通知消息对应所述第一维度的显示优先级的优先等级为所述第一等级的情况下,将所述通知消息的通知标识以缩略图的形式显示在所述第一等级对应的显示区域;When the priority level of the target display priority is lower than the first level, and the display priority level of the notification message corresponding to the first dimension is the first level, the notification message The notification identifier is displayed in the display area corresponding to the first level in the form of a thumbnail;
    其中,所述第一等级为针对所述第一维度的显示优先级的所有预设优先等级中最高的优先等级。The first level is the highest priority level among all preset priority levels of display priorities for the first dimension.
  6. 根据权利要求1所述的方法,其中,所述在获取到通知消息的情况下,获取所述通知消息分别对应N个维度的N个显示优先级,包括:The method according to claim 1, wherein, in the case of acquiring a notification message, acquiring N display priorities corresponding to N dimensions of the notification message respectively, comprising:
    在获取到通知消息的情况下,获取所述通知消息在获取时刻对应的预设时间段内分别对应N个维度的N个显示优先级;In the case of acquiring the notification message, acquiring N display priorities corresponding to N dimensions respectively within the preset time period corresponding to the acquisition moment of the notification message;
    所述依据所述目标显示优先级对所述通知消息进行显示之后,所述方法还包括:After the notification message is displayed according to the target display priority, the method further includes:
    在当前时间超过所述预设时间段的结束时刻,且所述目标显示优先级高于显示优先级的所有预设优先等级中最低的优先等级的情况下,降低所述目标显示优先级的优先等级。When the current time exceeds the end time of the preset time period, and the target display priority is higher than the lowest priority among all preset display priorities, the priority of the target display priority is lowered grade.
  7. 一种通知显示装置,包括:A notification display device, comprising:
    获取模块,用于在获取到通知消息的情况下,获取所述通知消息分别对应N个维度的N个显示优先级;an acquisition module, configured to acquire N display priorities corresponding to N dimensions of the notification message when the notification message is acquired;
    确定模块,用于依据所述N个显示优先级,确定所述通知消息的目标显示优先级;a determining module, configured to determine the target display priority of the notification message according to the N display priorities;
    显示模块,用于依据所述目标显示优先级对所述通知消息进行显示;a display module, configured to display the notification message according to the target display priority;
    其中,N为大于1的正整数。Among them, N is a positive integer greater than 1.
  8. 根据权利要求7所述的装置,其中,所述确定模块包括:The apparatus of claim 7, wherein the determining module comprises:
    第一确定单元,用于在所述N个显示优先级中存在优先等级相同的显示 优先级的情况下,依据所述优先等级相同的显示优先级的数量确定所述通知消息的目标显示优先级;a first determining unit, configured to determine a target display priority of the notification message according to the number of display priorities with the same priority when there are display priorities with the same priority among the N display priorities ;
    第二确定单元,用于在所述N个显示优先级中不存在优先等级相同的显示优先级的情况下,确定所述通知消息的目标显示优先级为所述N个显示优先级中优先等级最低的显示优先级。a second determining unit, configured to determine that the target display priority of the notification message is a priority level among the N display priority levels in the case where there is no display priority level with the same priority level among the N display priority levels The lowest display priority.
  9. 根据权利要求8所述的装置,其中,所述第一确定单元,具体用于在所述N个显示优先级中存在优先等级相同的显示优先级,且所述优先等级相同的显示优先级的数量等于N的情况下,确定所述通知消息的目标显示优先级的优先等级为目标优先等级;或者,在所述N个显示优先级中存在优先等级相同的显示优先级,且所述优先等级相同的显示优先级的数量小于N的情况下,确定所述通知消息的目标显示优先级的优先等级低于目标优先等级;其中,所述目标优先等级与所述优先等级相同的显示优先级的优先等级相同。The device according to claim 8, wherein the first determining unit is specifically configured to have a display priority with the same priority among the N display priorities, and the display priority of the display priority with the same priority In the case where the number is equal to N, the priority level of the target display priority of the notification message is determined as the target priority level; In the case where the number of the same display priority is less than N, it is determined that the priority of the target display priority of the notification message is lower than the target priority; wherein, the target priority is the same as the priority of the display priority. The priority level is the same.
  10. 根据权利要求7所述的装置,其中,所述N个维度中包括第一维度,所述显示模块包括:The apparatus according to claim 7, wherein the N dimensions include a first dimension, and the display module comprises:
    第一显示单元,用于将所述通知消息显示在通知界面中与所述目标显示优先级对应的目标位置;其中,所述目标位置为与所述通知消息对应所述第一维度的显示优先级匹配的位置。a first display unit, configured to display the notification message in a target position corresponding to the target display priority in the notification interface; wherein, the target position is the display priority of the first dimension corresponding to the notification message level matching location.
  11. 根据权利要求7所述的装置,其中,所述N个维度中包括第一维度;所述显示模块包括:The apparatus according to claim 7, wherein the N dimensions include a first dimension; the display module comprises:
    第二显示单元,用于在所述目标显示优先级的优先等级低于第一等级,且所述通知消息对应所述第一维度的显示优先级的优先等级为所述第一等级的情况下,将所述通知消息的通知标识以缩略图的形式显示在所述第一等级对应的显示区域;The second display unit is configured to be used when the priority level of the target display priority is lower than the first level, and the priority level of the display priority corresponding to the first dimension of the notification message is the first level , displaying the notification identifier of the notification message in the display area corresponding to the first level in the form of a thumbnail;
    其中,所述第一等级为针对所述第一维度的显示优先级的所有预设优先等级中最高的优先等级。The first level is the highest priority level among all preset priority levels of display priorities for the first dimension.
  12. 根据权利要求7所述的装置,其中,所述获取模块,具体用于在获取到通知消息的情况下,获取所述通知消息在获取时刻对应的预设时间段内分别对应N个维度的N个显示优先级;The device according to claim 7, wherein the obtaining module is specifically configured to obtain N corresponding N dimensions of the notification message in a preset time period corresponding to the obtaining moment when the notification message is obtained. display priority;
    所述装置还包括:The device also includes:
    优先等级调整模块,用于在当前时间超过所述预设时间段的结束时刻,且所述目标显示优先级高于显示优先级的所有预设优先等级中最低的优先等级的情况下,降低所述目标显示优先级的优先等级。The priority level adjustment module is used to lower the all the preset priority levels when the current time exceeds the end time of the preset time period and the target display priority level is higher than the lowest priority level among all preset priority levels of display priority levels. The stated target shows the priority level of the priority.
  13. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-6任一项所述的通知显示方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being executed by the processor to achieve as claimed in claims 1-6 The steps of any one of the notification display methods.
  14. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-6任一项所述的通知显示方法的步骤。A readable storage medium on which programs or instructions are stored, and when the programs or instructions are executed by a processor, implement the steps of the notification display method according to any one of claims 1-6.
  15. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-6任一项所述的方法。A chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction to implement the method according to any one of claims 1-6.
  16. 一种计算机程序产品,所述程序产品被至少一个处理器执行以实现如权利要求1-6任一项所述的方法。A computer program product executed by at least one processor to implement the method of any of claims 1-6.
  17. 一种电子设备,所述电子设备被配置成用于执行如权利要求1-6任一项所述的通知显示方法。An electronic device configured to perform the notification display method according to any one of claims 1-6.
PCT/CN2021/106738 2020-07-17 2021-07-16 Notification display method and apparatus, and electronic device WO2022012662A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010692243.1A CN111865765A (en) 2020-07-17 2020-07-17 Notification display method and device and electronic equipment
CN202010692243.1 2020-07-17

Publications (1)

Publication Number Publication Date
WO2022012662A1 true WO2022012662A1 (en) 2022-01-20

Family

ID=73001795

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/106738 WO2022012662A1 (en) 2020-07-17 2021-07-16 Notification display method and apparatus, and electronic device

Country Status (2)

Country Link
CN (1) CN111865765A (en)
WO (1) WO2022012662A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117032848A (en) * 2023-06-02 2023-11-10 零束科技有限公司 Content display method, device, electronic equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111865765A (en) * 2020-07-17 2020-10-30 维沃移动通信有限公司 Notification display method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140229880A1 (en) * 2012-06-27 2014-08-14 Google Inc. Systems and methods for prioritizing notifications on mobile devices
CN105786322A (en) * 2016-03-22 2016-07-20 北京金山安全软件有限公司 Application notification message display method and device and electronic equipment
CN108235811A (en) * 2016-11-26 2018-06-29 华为技术有限公司 A kind of method and device of Message Processing
US20190334849A1 (en) * 2018-04-25 2019-10-31 International Business Machines Corporation Prioritizing notifications on a mobile communications device
CN111865765A (en) * 2020-07-17 2020-10-30 维沃移动通信有限公司 Notification display method and device and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786332B (en) * 2014-12-17 2019-09-17 施耐德电器工业公司 The method of online editing and the man-machine interface with the function in man-machine interface
CN106302967A (en) * 2015-05-29 2017-01-04 西安中兴新软件有限责任公司 A kind of information management method, device and mobile terminal
CN109788136A (en) * 2019-01-29 2019-05-21 维沃移动通信有限公司 Information display method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140229880A1 (en) * 2012-06-27 2014-08-14 Google Inc. Systems and methods for prioritizing notifications on mobile devices
CN105786322A (en) * 2016-03-22 2016-07-20 北京金山安全软件有限公司 Application notification message display method and device and electronic equipment
CN108235811A (en) * 2016-11-26 2018-06-29 华为技术有限公司 A kind of method and device of Message Processing
US20190334849A1 (en) * 2018-04-25 2019-10-31 International Business Machines Corporation Prioritizing notifications on a mobile communications device
CN111865765A (en) * 2020-07-17 2020-10-30 维沃移动通信有限公司 Notification display method and device and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117032848A (en) * 2023-06-02 2023-11-10 零束科技有限公司 Content display method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111865765A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
US11972327B2 (en) Method for automating actions for an electronic device
US11153246B1 (en) Techniques for ephemeral messaging with remote ephemeral mode configuration
WO2022012662A1 (en) Notification display method and apparatus, and electronic device
US20230300241A1 (en) Favorite-object display method and terminal
US10235011B2 (en) Application icon adaptive adjustment method and terminal
WO2022089568A1 (en) File sharing method and apparatus, and electronic device
US11899924B2 (en) Notification message display control method and apparatus, electronic device, and readable storage medium
US20220191318A1 (en) Recommendation Method and Terminal
CN113141293B (en) Message display method and device and electronic equipment
JP2019537086A (en) Management system for audio and visual content
US20240045566A1 (en) Notification message display method and apparatus, device, readable storage medium, and chip
CN108229920B (en) Affair reminding method and mobile terminal
US10757060B2 (en) Message notification method and terminal
WO2022012617A1 (en) Message display method and apparatus, and electronic device and storage medium
CN115051965B (en) Method and device for controlling video playing, computing equipment and storage medium
CN109547633A (en) A kind of based reminding method, terminal and computer readable storage medium
CN106302101B (en) Message reminding method, terminal and server
EP4033355A1 (en) Method for displaying message and terminal device
CN112269614A (en) Message processing method and device and electronic equipment
WO2017016335A1 (en) Method, system, and server for eliminating message prompt
US20240143895A1 (en) Medal display method and apparatus, and device
WO2023001252A1 (en) Application reminder method and apparatus, and electronic device
US20180260847A1 (en) Information display method, apparatus, and system
CN107979780A (en) The voice prompting method and voice reminder terminal of live client
CN107155135A (en) A kind of list of videos is obtained and player method, device and terminal

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21842692

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 21842692

Country of ref document: EP

Kind code of ref document: A1