[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2022012662A1 - 通知显示方法、装置和电子设备 - Google Patents

通知显示方法、装置和电子设备 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
English (en)
French (fr)
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/zh

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

本申请公开了一种通知显示方法、装置及电子设备,该方法包括:在获取到通知消息的情况下,获取所述通知消息分别对应N个维度的N个显示优先级;依据所述N个显示优先级,确定所述通知消息的目标显示优先级;依据所述目标显示优先级对所述通知消息进行显示;其中,N为大于1的正整数。

Description

通知显示方法、装置和电子设备
相关申请的交叉引用
本申请主张在2020年7月17日在中国提交的中国专利申请号No.202010692243.1的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于通信技术领域,具体涉及一种通知显示方法、装置和电子设备。
背景技术
随着终端技术的发展,终端上可安装的应用程序越来越多,各个应用程序都可以自由创建通知,使得终端接收的通知越来越多。
目前,通常是按照通知接收的时间对通知进行显示,重要的通知常常埋没在一堆无用的通知中,经常被用户忽略,而如果关闭通知提醒功能,又可能会使用户错失掉有用信息。可见,现有技术中通知显示方式存在显示效果比较差的问题。
发明内容
本申请实施例的目的是提供一种通知显示方法、装置和电子设备,能够解决现有技术中通知显示方式存在显示效果比较差的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本申请实施例提供了一种通知显示方法,包括:
在获取到通知消息的情况下,获取所述通知消息分别对应N个维度的N个显示优先级;
依据所述N个显示优先级,确定所述通知消息的目标显示优先级;
依据所述目标显示优先级对所述通知消息进行显示;
其中,N为大于1的正整数。
第二方面,本申请实施例提供了一种通知显示装置,包括:
获取模块,用于在获取到通知消息的情况下,获取所述通知消息分别对应N个维度的N个显示优先级;
确定模块,用于依据所述N个显示优先级,确定所述通知消息的目标显示优先级;
显示模块,用于依据所述目标显示优先级对所述通知消息进行显示;
其中,N为大于1的正整数。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
本申请实施例中,在获取到通知消息的情况下,通过获取所述通知消息分别对应N个维度的N个显示优先级;并依据所述N个显示优先级,确定所述通知消息的目标显示优先级。这样,可以从多个维度来评估通知消息的目标显示优先级,以基于该目标显示优先级对通知消息进行显示,如此可以提高通知显示的效果。
附图说明
图1是本申请实施例提供的通知显示方法的流程图;
图2是参照双缝干涉原理确定通知消息的目标显示优先级的示意图;
图3是依据所述目标显示优先级对所述通知消息进行显示的示意图;
图4是本申请实施例提供的通知显示装置的结构图;
图5是本申请实施例提供的电子设备的结构图;
图6为实现本申请实施例的一种电子设备的硬件结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的通知显示进行详细地说明。
参见图1,图1是本申请实施例提供的通知显示方法的流程图,如图1所示,包括以下步骤:
步骤101,在获取到通知消息的情况下,获取所述通知消息分别对应N个维度的N个显示优先级。
其中,N为大于1的正整数。
该步骤中,所述通知消息可以为目标应用程序对应的通知消息,其中,目标应用程序对应的通知消息可以为服务器针对该目标应用程序推送的通知消息,也可以为目标应用程序的聊天消息,还可以为使用该目标应用程序设置的用作提醒的通知消息,这里不做具体限定。
所述目标应用程序为需要进行通知显示的应用程序,用户可以进入通知管理设置界面,设置需要进行通知显示的应用程序,以在接收到目标应用程序的通知消息时,对其进行显示。
其中,对于一些随机事件的通知,如电话通知,通常在电话通知到来时,直接对其进行通知提醒,对于一些用户自主设定的通知,如闹钟通知和日程通知等,其通知显示的优先等级默认设置为最高,通常在时间到来时自动进 行通知提醒,因此,对于这些类型的通知无需对其进行管理。
而对于一些社交应用程序的聊天消息、各种各样的应用程序发送的推送消息等,这些通知消息对于用户的重要度通常可能会不一样,因此,可以对一些需要进行通知显示的应用程序进行设置,以对该应用程序的通知消息进行显示。
设置需要进行通知显示的应用程序之后,在获取到目标应用程序的通知消息的情况下,可以获取所述通知消息分别对应N个维度的N个显示优先级。其中,所述N个维度为用户层面的维度,比如用户对通知消息对应的目标应用程序的使用时长上的维度,又比如,用户对目标应用程序的使用频率上的维度,还比如,目标应用程序的通知消息对于用户的重要度上的维度等等,以下实施例中,将从两个用户层面的维度进行通知显示进行详细说明。
所述通知消息对应每个维度的显示优先级的优先等级可以设置多个,且每个维度的显示优先级的优先等级可以设置的相同,也可以设置的不同,以下以每个维度的显示优先级的优先等级相同为例进行详细说明。
另外,由于在不同时段,用户对不同通知消息的重视度和关注度可能不同,比如,在上午7点至上午9点,用户通常会使用与娱乐有关的应用程序,以浏览早上新闻,上午9点至上午11点为工作时间,用户通常会查看与工作有关的应用程序的通知消息。
因此,为了更好地模拟用户对应用程序的通知消息的重视度和关注度,通知消息在不同时间段的显示优先级可以设置的不同,在这种情况下,可以获取通知消息在预设时间段内分别对应N个维度的N个显示优先级,该预设时间段的长度可以为1个月、1天或两个小时等,该预设时间段为通知消息的获取时刻对应的时间段,比如通知消息的获取时刻为上午8点,则对应的预设时间段可以为上午7点至上午9点的时间段。
具体的,可以预先设置多个时间段,以获取通知消息分别对应N个维度在当前时间所处的时间段的N个显示优先级,时间段划分举例如下:
上午7点至9点;
上午9点至11点;
上午11点至下午1点;
下午1点至6点;
晚上6点至10点。
针对每个时间段,可以分别根据用户对应用程序的历史使用时长和应用程序的通知消息对于用户的重要度,对各应用程序进行单一维度的优先等级划分,以确定各应用程序的通知消息在该维度上的显示优先级,且在每个维度上均可以划分3个优先等级。
具体划分方式如下:
针对每个时间段,可以统计用户每天在该时间段对各应用程序的历史使用时长,并根据各应用程序的历史使用时长,将通知消息的显示优先级划分为3个优先等级。其中一种优先等级划分方式为,应用程序的历史使用时长大于等于第一预设阈值时,该应用程序的通知消息的显示优先级划分为第一等级,第一等级为最高等级,应用程序的历史使用时长大于等于第二预设阈值,且小于第一预设阈值时,该应用程序的通知消息的显示优先级划分为第二等级,应用程序的历史使用时长小于第二预设阈值时,该应用程序的通知消息的显示优先级划分为第三等级,第三等级为最低等级,第一预设阈值大于第二预设阈值。所述第一预设阈值和第二预设阈值可以预先设置为固定值,也可以根据用户每天在该时间段对各应用程序的历史使用时长的平均值或中位数确定。
比如,在上午7点至9点的时间段,接收到6个应用程序的通知消息,这6个应用程序分别为应用程序A、应用程序B、应用程序C、应用程序D、应用程序E和应用程序F,统计得出用户每天在上午7点至9点的时间段内对各应用程序的历史使用时长分别为15分钟、13分钟、11分钟、6分钟、1分钟和0.5分钟。
其中,第一预设阈值和第二预设阈值可以预先设置,分别可以设置为10和3。第一预设阈值也可以根据按照历史使用时长从大到小排序的前面4个应用程序的历史使用时长的平均值来确定,此时,第一预设阈值可以为11,第二预设阈值也可以按照历史使用时长从大到小排序的后面4个应用程序的历史使用时长的平均值来确定,此时,第二预设阈值可以为4。获取第一预设阈值和第二预设阈值之后,将通知消息的显示优先级划分为3个优先等级, 分别为应用程序A、应用程序B和应用程序C的通知消息的显示优先级的优先等级为第一等级,应用程序D的通知消息的显示优先级的优先等级为第二等级,应用程序E和应用程序F的通知消息的显示优先级的优先等级为第三等级。
针对每个时间段,还可以统计用户每天在该时间段内查看各应用程序的通知消息的及时度,以确定各应用程序的通知消息在该时间段内对用户的重要度,其中,该及时度可以通过用户对应用程序的通知查看时间与通知到达时间的差值来表征,若用户对应用程序的通知消息查看的越及时,即差值越小,则说明该应用程序对用户越重要,反之,则越不重要。然后根据用户对各应用程序的通知查看时间与通知到达时间的差值,将通知消息的显示优先级划分为3个优先等级。其中,这里的优先等级划分方式与上述类似,这里不再对其赘述。
比如,针对上述6个应用程序,根据用户对各应用程序的通知查看时间与通知到达时间的差值从小到大排序,为应用程序A、应用程序F、应用程序B、应用程序C、应用程序D和应用程序E,根据第一等级、第二等级和第三等级的划分规则,应用程序A和应用程序F的通知消息的显示优先级的优先等级为第一等级,应用程序B和应用程序C的通知消息的显示优先级的优先等级为第二等级,应用程序D和应用程序E的通知消息的显示优先级的优先等级为第三等级。
在获取到目标应用程序的通知消息的情况下,获取在当前时间所处的时间段接收到的通知消息对应的各应用程序,其中,这些应用程序中包括该目标应用程序。然后,获取用户每天在该时间段对各应用程序的历史使用时长,基于各历史使用时长,确定第一预设阈值和第二预设阈值。将用户对目标应用程序的历史使用时长与第一预设阈值以及第二预设阈值进行比较,以确定目标应用程序的通知消息在第二维度上的显示优先级的优先等级。其中,第二维度为用户对应用程序的历史使用时长的维度。
对于通知消息在第一维度上的显示优先级,其优先等级的确定方式与上述类似,这里不再对其进行赘述。其中,第一维度为应用程序的通知消息对于用户的重要度的维度。
步骤102,依据所述N个显示优先级,确定所述通知消息的目标显示优先级。
该步骤中,可以参照双缝干涉的原理,依据所述N个显示优先级,确定所述通知消息的目标显示优先级。参见图2,图2是参照双缝干涉原理确定通知消息的目标显示优先级的示意图,如图2所示,这N个维度可以比拟双缝干涉的挡板作用,其中,可以设置多个维度,并不局限于双缝干涉本身只有两个狭缝的挡板。而N个显示优先级可以比拟双缝干涉中的相干波源,且显示优先级的多个优先等级可以比拟相干波源中具有不同能量的不同波段。
参照双缝干涉的原理,若具有相干波源中具有相同波段的光相互叠加,发生干涉现象,则其光线较强,否则光线较弱。基于相同原理,若这N个显示优先级的优先等级都相同,则可以比拟相互叠加作用,优先等级高,否则,若这N个显示优先级的优先等级不完成相同或完全不相同,则优先等级低。
所述步骤102具体包括:
在所述N个显示优先级中存在优先等级相同的显示优先级的情况下,依据所述优先等级相同的显示优先级的数量确定所述通知消息的目标显示优先级;或,
在所述N个显示优先级中不存在优先等级相同的显示优先级的情况下,确定所述通知消息的目标显示优先级为所述N个显示优先级中优先等级最低的显示优先级。
如此,可以参照双缝干涉的原理,在N个显示优先级存在相交即N个显示优先级存在优先等级的显示优先级的情况下,依据所述优先等级相同的显示优先级的数量确定所述目标显示优先级,否则,通知消息的目标显示优先级为所述N个显示优先级中优先等级最低的显示优先级。这样,可以基于光学原理从多个维度来评估通知消息的目标显示优先级,以基于该目标显示优先级对通知消息进行显示,从而可以提高通知显示的效果。
所述在所述N个显示优先级中存在优先等级相同的显示优先级的情况下,依据所述优先等级相同的显示优先级的数量确定所述通知消息的目标显示优先级,包括:
在所述N个显示优先级中存在优先等级相同的显示优先级,且所述优先 等级相同的显示优先级的数量等于N的情况下,确定所述通知消息的目标显示优先级的优先等级为目标优先等级;或者,
在所述N个显示优先级中存在优先等级相同的显示优先级,且所述优先等级相同的显示优先级的数量小于N的情况下,确定所述通知消息的目标显示优先级的优先等级低于目标优先等级;
其中,所述目标优先等级与所述优先等级相同的显示优先级的优先等级相同。
也就是说,多个维度上,若N个显示优先级的优先等级都相同,基于这N个显示优先级最终确定的目标显示优先级的优先等级与这N个显示优先级的优先等级相同。若这N个显示优先级的优先等级不完全相同,则确定的目标显示优先级的优先等级低于目标优先等级。而在所述N个显示优先级的优先等级完全不相同的情况下,确定所述目标显示优先级的优先等级为所述N个显示优先级的优先等级中最低的优先等级。
比如,通知消息对应第一维度的显示优先级的优先等级为第一等级,对应第二维度的显示优先级的优先等级也为第一等级,则确定目标显示优先级为第一等级,其中,第一等级可以为所有预设的优先等级中最高的优先等级。
又比如,通知消息对应第一维度的显示优先级的优先等级为第一等级,对应第二维度的显示优先级的优先等级为第二等级,则确定目标显示优先级的优先等级为第二等级。
还比如,可以将目标显示优先级的优先等级划分的比显示优先级的优先等级多,如目标显示优先级的优先等级可以划分为5个,分别为第一等级至第五等级,而显示优先级的优先等级可以划分3个。在这种情况下,在通知消息分别对应3个维度的显示优先级的优先等级均为第一等级,则可以确定目标显示优先级的优先等级为第一等级。
而通知消息分别对应第一维度和第二维度的显示优先级的优先等级均为第一等级,对应第三维度的显示优先级的优先等级为第二等级,则确定目标显示优先级的优先等级为第二等级,其优先等级比目标优先等级低(目标优先等级为第一等级)。还有一种情况,通知消息对应第一维度的显示优先级的优先等级为第一等级,分别对应第二维度和第三维度的显示优先级的优先等 级均为第二等级,则可以确定目标显示优先级的优先等级为第三等级,比目标优先等级低。
通知消息的数量可以为1个,也可以为多个,相应的,这些通知消息对应的目标应用程序的数量可以为1,也可以为多个,比如6个,分别为应用程序A、应用程序B、应用程序C、应用程序D、应用程序E和应用程序F,此时,需要分别确定这6个目标应用程序的通知消息的目标显示优先级。
具体的,获取这6个目标应用程序的通知消息在当前时间所处的时间段对应第一维度的显示优先级的优先等级,如下:
第一等级:应用程序A,应用程序F;
第二等级:应用程序B、应用程序C;
第三等级:应用程序D、应用程序E。
获取这6个目标应用程序的通知消息在当前时间所处的时间段对应第二维度的显示优先级的优先等级,如下:
第一等级:应用程序A、应用程序B、应用程序C;
第二等级:应用程序D;
第三等级:应用程序E、应用程序F。
则在当前所处的时间段,确定各目标应用程序的通知消息的目标显示优先级的优先等级,如下:
第一等级:应用程序A;
第二等级:应用程序B、应用程序C;
第三等级:应用程序D、应用程序E、应用程序F。
当然,在确定各目标应用程序的通知消息的目标显示优先级的优先等级时,可以为每个维度设置一个权重,比如,用户可能更看重第一维度,即用户可能更看重通知消息的重要度,则若目标应用程序的通知消息对应第一维度的显示优先级比较高,则可以将该目标应用程序的通知消息的目标显示优先级的优先等级提高一个等级。如应用程序F的通知消息的目标显示优先级的优先等级可以提高至第二等级。
步骤103,依据所述目标显示优先级对所述通知消息进行显示。
该步骤中,可以依据所述目标显示优先级对通知消息进行显示,且显示 方式包括多种,以下举例说明。
比如,对于目标显示优先级的优先等级高的通知消息,可以在锁屏的状态下将该通知消息在界面顶部进行显示,以提醒用户进行查看。
又比如,可以将该时间段接收到的通知消息按照目标显示优先级的优先等级进行排序,优先推送优先等级高的通知消息,如将优先等级高的通知消息显示在更靠近通知界面(可以称之为通知中心)的顶部,起到更加醒目的效果,也可以将目标显示优先级的优先等级高的通知消息进行突出显示。而对于目标显示优先级的优先等级低的通知消息可以不显示在通知界面,而可以通过一个目标显示对象将其收起。具体的,可以在通知界面中显示目标显示对象,在接收到优先等级低的通知消息的情况下,可以将该通知消息的通知标识与目标显示对象关联,该目标显示对象可以为一个文件夹,也可以为一个图标,以通过该目标显示对象收起优先等级低的通知消息,避免一些优先等级低的通知消息对用户造成过多打扰。这样,使得通知提醒更加贴合用户需求。
还比如,可以将通知消息按照目标显示优先级的优先等级进行分区显示,以将同一优先等级的通知消息显示在同一显示区域,而将不同优先等级的通知消息显示在不同显示区域,方便用户对通知消息进行查看和清理。
当然,还有其他的显示方式,这里就不对其进行一一赘述。
本实施例中,在获取到通知消息的情况下,通过获取所述通知消息分别对应N个维度的N个显示优先级;并依据所述N个显示优先级,确定所述通知消息的目标显示优先级。这样,可以从多个维度来评估通知消息的目标显示优先级,以基于该目标显示优先级对通知消息进行显示,如此可以提高通知显示的效果。
需要说明的是,用户可以对N个维度和时间维度进行自定义,如定义每个维度的显示优先级的优先等级的划分个数(如划分为5个优先等级),优先等级的划分规则,根据自己的作息时间调整划分的时间段的具体时间区间(如调整划分的时间段为上午6点至8点)。
当然还可以增加更多的维度,来评估通知消息的目标显示优先级,如用户当前所处场景,包括家中、户外和办公室等。又如通知消息的内容,包括电 商类、美食类和资讯类等。由此可以做到更细致的管理,使得优先显示的通知可以更贴合用户感兴趣的内容和当前所处场景。
可选的,基于实施例一,所述步骤103具体包括:
将所述通知消息显示在通知界面中与所述目标显示优先级对应的显示区域。
可选的,所述将所述通知消息显示在通知界面中与所述目标显示优先级对应的显示区域,包括:
在所述目标显示优先级的优先等级为第一优先等级的情况下,将所述通知消息显示在所述通知界面中的第一显示区域;或者,
在所述目标显示优先级的优先等级为第二优先等级的情况下,将所述通知消息显示在所述通知界面中的第二显示区域;
其中,在所述第一优先等级高于所述第二优先等级的情况下,所述第一显示区域相对于所述通知界面的顶部的距离小于第一目标距离,所述第一目标距离为所述第二显示区域相对于所述通知界面的顶部的距离。
本实施例中,参见图3,图3是依据所述目标显示优先级对所述通知消息进行显示的示意图,如图3所示,按照目标显示优先级的优先等级,可以将通知界面分为3个显示区域,分别为第一等级对应的显示区域301,第二等级对应的显示区域302,第三等级对应的显示区域303。其中,第一等级对应的显示区域301通常显示第一等级的通知消息,第二等级对应的显示区域302显示第二等级的通知消息,第三等级对应的显示区域303显示第三等级的通知消息。并且优先等级越高,则对应的显示区域越靠近通知界面的顶部,这样可以使优先等级高的通知消息更加醒目。
本实施例中,可以将通知消息按照目标显示优先级的优先等级进行分区显示,以将同一优先等级的通知消息显示在同一显示区域,而将不同优先等级的通知消息显示在不同显示区域,方便用户对通知消息进行查看和清理。
可选的,在所述目标显示优先级的优先等级为显示优先级的所有预设优先等级中最低的优先等级的情况下,可以将所述通知消息的通知标识与目标显示对象关联;
其中,所述目标显示对象显示在通知界面中与所述目标显示优先级对应 的显示区域。
本实施例中,可以将接收到的通知消息按照目标显示优先级的优先等级进行筛选分类,得到优先等级最低的一类通知消息,将这类通知消息的通知标识与目标显示对象关联,目标显示对象显示在如图3所示的第三等级对应的显示区域303上。其中,目标显示对象可以为文件夹,也可以为目标图标,该目标图标可以为目标应用程序对应的图标,该目标图标可以关联该目标应用程序的所有通知消息。
这样,通过该目标显示对象可以收起目标显示优先级的优先等级低的通知消息,且在用户点击该目标显示对象时,这类通知消息可以相应展开显示。如此,可以避免一些优先等级低的通知消息对用户造成过多打扰,提高用户体验。
可选的,所述N个维度中包括第一维度,所述步骤103包括:
将所述通知消息显示在通知界面中与所述目标显示优先级对应的目标位置;
其中,所述目标位置为与所述通知消息对应所述第一维度的显示优先级匹配的位置。
可选的,所述N个维度中包括第一维度,所述步骤103包括:
在所述目标显示优先级的优先等级低于第一等级,且所述通知消息对应所述第一维度的显示优先级的优先等级为所述第一等级的情况下,将所述通知消息的通知标识以缩略图的形式显示在所述第一等级对应的显示区域;
其中,所述第一等级为针对所述第一维度的显示优先级的所有预设优先等级中最高的优先等级。
本实施例中,显示区域上显示的通知消息都可以按照通知消息对应所述第一维度的显示优先级的优先等级进行排序,其中,所述第一维度可以用于表征应用程序的通知消息对于用户的重要度。也就是说,通知消息越重要,其显示位置在显示区域中越靠前,而当通知消息对应第一维度的显示优先级的优先等级最高时,可以直接将通知消息显示在显示区域的顶部。
比如,若通知消息的目标显示优先级的优先等级为第二等级,而对应第一维度的显示优先级的优先等级为第一等级,则可以将该通知消息显示在如 图3所示的第二等级对应的显示区域302的顶部。
另外,为了更加凸显通知消息的重要度,使得重要的通知消息的显示更加醒目,对于针对第一维度的显示优先级的优先等级为第一等级,但是目标显示优先级的优先等级不高的通知消息,即当前时间段用户的使用偏好等级不高的通知消息,可以将所述通知消息的通知标识以缩略图的形式显示在所述目标优先等级对应的显示区域,即将通知消息的通知标识以缩略图的形式显示在如图3所示的第一等级对应的显示区域301。
可选的,基于实施例一,所述步骤101具体包括:
在获取到通知消息的情况下,获取所述通知消息在获取时刻对应的预设时间段内分别对应N个维度的N个显示优先级;
所述依据所述目标显示优先级对所述通知消息进行显示之后,所述方法还包括:
在当前时间超过所述预设时间段的结束时刻,且所述目标显示优先级高于显示优先级的所有预设优先等级中最低的优先等级的情况下,降低所述目标显示优先级的优先等级;
依据优先等级降低后的所述目标显示优先级,将所述通知消息调整显示至通知界面中目标显示区域;
其中,所述目标显示区域相对于所述通知界面的顶部的距离大于第二目标距离,所述第二目标距离为所述通知消息调整显示之前的显示区域相对于所述通知界面的顶部的距离。
本实施例中,当时间段更迭时,可以降低之前的通知消息的目标显示优先级的优先等级,且时间段每更迭一次,降低一个等级,直至其优先等级将至最低。比如,针对上午7点至9点时间段的通知消息,其优先等级为第一等级,若当前时间超过上午9点时,且当前时间为上午10点,则其优先等级将至第二等级,若当前时间为上午11点半,则其优先等级又降低一个等级,为第三等级。
相应的,依据优先等级降低后的所述目标显示优先级,重新调整该通知消息的显示区域,以调整至与其优先等级对应的显示区域。这样,在通知消息未及时查看时,为了避免通知消息过多,可以自动收起至通知界面的底部, 如此,可以避免过多旧的通知消息对用户的干扰,提升用户体验。
需要说明的是,本申请实施例提供的通知显示方法,执行主体可以为通知显示装置,或者该通知显示装置中的用于执行通知显示方法的控制模块。本申请实施例中以通知显示装置执行通知显示方法为例,说明本申请实施例提供的通知显示装置。
参见图4,图4是本申请实施例提供的通知显示装置的结构图,如图4所示,通知显示装置400包括:
获取模块401,用于在获取到通知消息的情况下,获取所述通知消息分别对应N个维度的N个显示优先级;
确定模块402,用于依据所述N个显示优先级,确定所述通知消息的目标显示优先级;
显示模块403,用于依据所述目标显示优先级对所述通知消息进行显示;
其中,N为大于1的正整数。
可选的,所述确定模块402包括:
第一确定单元,用于在所述N个显示优先级中存在优先等级相同的显示优先级的情况下,依据所述优先等级相同的显示优先级的数量确定所述通知消息的目标显示优先级;
第二确定单元,用于在所述N个显示优先级中不存在优先等级相同的显示优先级的情况下,确定所述通知消息的目标显示优先级为所述N个显示优先级中优先等级最低的显示优先级。
可选的,所述第一确定单元,具体用于在所述N个显示优先级中存在优先等级相同的显示优先级,且所述优先等级相同的显示优先级的数量等于N的情况下,确定所述通知消息的目标显示优先级的优先等级为目标优先等级;或者,在所述N个显示优先级中存在优先等级相同的显示优先级,且所述优先等级相同的显示优先级的数量小于N的情况下,确定所述通知消息的目标显示优先级的优先等级低于目标优先等级;其中,所述目标优先等级与所述优先等级相同的显示优先级的优先等级相同。
可选的,所述N个维度中包括第一维度;所述显示模块403包括:
第一显示单元,用于将所述通知消息显示在通知界面中与所述目标显示 优先级对应的目标位置;其中,所述目标位置为与所述通知消息对应所述第一维度的显示优先级匹配的位置。
可选的,所述N个维度中包括第一维度;所述显示模块403包括:
第二显示单元,用于在所述目标显示优先级的优先等级低于第一等级,且所述通知消息对应所述第一维度的显示优先级的优先等级为所述第一等级的情况下,将所述通知消息的通知标识以缩略图的形式显示在所述第一等级对应的显示区域;其中,所述第一等级为针对所述第一维度的显示优先级的所有预设优先等级中最高的优先等级。
可选的,所述获取模块401,具体用于在获取到通知消息的情况下,获取所述通知消息在获取时刻对应的预设时间段内分别对应N个维度的N个显示优先级;
所述装置还包括:
优先等级调整模块,用于在当前时间超过所述预设时间段的结束时刻,且所述目标显示优先级高于显示优先级的所有预设优先等级中最低的优先等级的情况下,降低所述目标显示优先级的优先等级。
本实施例中,在获取到通知消息的情况下,通过获取模块401获取所述通知消息分别对应N个维度的N个显示优先级;并通过确定模块402依据所述N个显示优先级,确定所述通知消息的目标显示优先级。这样,可以从多个维度来评估通知消息的目标显示优先级,以通过显示模块403基于该目标显示优先级对通知消息进行显示,如此可以提高通知显示的效果。
本申请实施例中的通知显示装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的通知显示装置可以为具有操作系统的装置。该操作系 统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的通知显示装置能够实现图1的方法实施例实现的各个过程,为避免重复,这里不再赘述。
可选的,参见图5,图5是本申请实施例提供的电子设备的结构图,如图5所示,本申请实施例还提供一种电子设备,包括处理器501,存储器502,存储在存储器502上并可在所述处理器501上运行的程序或指令,该程序或指令被处理器501执行时实现上述通知显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图6为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备600包括但不限于:射频单元601、网络模块602、音频输出单元603、输入单元604、传感器605、显示单元606、用户输入单元607、接口单元608、存储器609、以及处理器610等部件。
本领域技术人员可以理解,电子设备600还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图6中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,处理器610,用于在获取到通知消息的情况下,获取所述通知消息分别对应N个维度的N个显示优先级;依据所述N个显示优先级,确定所述通知消息的目标显示优先级;
显示单元606,用于依据所述目标显示优先级对所述通知消息进行显示;
其中,N为大于1的正整数。
本申请实施例中,通过处理器610在获取到通知消息的情况下,获取所述通知消息分别对应N个维度的N个显示优先级;依据所述N个显示优先级,确定所述通知消息的目标显示优先级。这样,可以从多个维度来评估通知消息的目标显示优先级,以通过显示单元606依据所述目标显示优先级对 所述通知消息进行显示,如此可以提高通知显示的效果。
可选的,处理器610,还用于:
在所述N个显示优先级中存在优先等级相同的显示优先级的情况下,依据所述优先等级相同的显示优先级的数量确定所述通知消息的目标显示优先级;或,
在所述N个显示优先级中不存在优先等级相同的显示优先级的情况下,确定所述通知消息的目标显示优先级为所述N个显示优先级中优先等级最低的显示优先级。
可选的,处理器610,还用于:
在所述N个显示优先级中存在优先等级相同的显示优先级,且所述优先等级相同的显示优先级的数量等于N的情况下,确定所述通知消息的目标显示优先级的优先等级为目标优先等级;或者,
在所述N个显示优先级中存在优先等级相同的显示优先级,且所述优先等级相同的显示优先级的数量小于N的情况下,确定所述通知消息的目标显示优先级的优先等级低于目标优先等级;
其中,所述目标优先等级与所述优先等级相同的显示优先级的优先等级相同。
可选的,所述N个维度中包括第一维度;显示单元606,还用于:
将所述通知消息显示在通知界面中与所述目标显示优先级对应的目标位置;
其中,所述目标位置为与所述通知消息对应所述第一维度的显示优先级匹配的位置。
可选的,所述N个维度中包括第一维度;显示单元606,还用于:
在所述目标显示优先级的优先等级低于第一等级,且所述通知消息对应所述第一维度的显示优先级的优先等级为所述第一等级的情况下,将所述通知消息的通知标识以缩略图的形式显示在所述第一等级对应的显示区域;
其中,所述第一等级为针对所述第一维度的显示优先级的所有预设优先等级中最高的优先等级。
可选的,处理器610,还用于在获取到通知消息的情况下,获取所述通知 消息在获取时刻对应的预设时间段内分别对应N个维度的N个显示优先级;
处理器610,还用于在当前时间超过所述预设时间段的结束时刻,且所述目标显示优先级高于显示优先级的所有预设优先等级中最低的优先等级的情况下,降低所述目标显示优先级的优先等级。
应理解的是,本申请实施例中,输入单元604可以包括图形处理器(Graphics Processing Unit,GPU)6041和麦克风6042,图形处理器6041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元606可包括显示面板6061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板6061。用户输入单元607包括触控面板6071以及其他输入设备6072。触控面板6071,也称为触摸屏。触控面板6071可包括触摸检测装置和触摸控制器两个部分。其他输入设备6072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器609可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器610可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述通知显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述通知显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、 芯片系统或片上系统芯片等。
可以理解的是,本公开描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,模块、单元、子模块、子单元等可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求 所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (17)

  1. 一种通知显示方法,其中,包括:
    在获取到通知消息的情况下,获取所述通知消息分别对应N个维度的N个显示优先级;
    依据所述N个显示优先级,确定所述通知消息的目标显示优先级;
    依据所述目标显示优先级对所述通知消息进行显示;
    其中,N为大于1的正整数。
  2. 根据权利要求1所述的方法,其中,依据所述N个显示优先级,确定所述通知消息的目标显示优先级,包括:
    在所述N个显示优先级中存在优先等级相同的显示优先级的情况下,依据所述优先等级相同的显示优先级的数量确定所述通知消息的目标显示优先级;或,
    在所述N个显示优先级中不存在优先等级相同的显示优先级的情况下,确定所述通知消息的目标显示优先级为所述N个显示优先级中优先等级最低的显示优先级。
  3. 根据权利要求2所述的方法,其中,所述在所述N个显示优先级中存在优先等级相同的显示优先级的情况下,依据所述优先等级相同的显示优先级的数量确定所述通知消息的目标显示优先级,包括:
    在所述N个显示优先级中存在优先等级相同的显示优先级,且所述优先等级相同的显示优先级的数量等于N的情况下,确定所述通知消息的目标显示优先级的优先等级为目标优先等级;或者,
    在所述N个显示优先级中存在优先等级相同的显示优先级,且所述优先等级相同的显示优先级的数量小于N的情况下,确定所述通知消息的目标显示优先级的优先等级低于目标优先等级;
    其中,所述目标优先等级与所述优先等级相同的显示优先级的优先等级相同。
  4. 根据权利要求1所述的方法,其中,所述N个维度中包括第一维度;所述依据所述目标显示优先级对所述通知消息进行显示,包括:
    将所述通知消息显示在通知界面中与所述目标显示优先级对应的目标位置;
    其中,所述目标位置为与所述通知消息对应所述第一维度的显示优先级匹配的位置。
  5. 根据权利要求1所述的方法,其中,所述N个维度中包括第一维度;所述依据所述目标显示优先级对所述通知消息进行显示,包括:
    在所述目标显示优先级的优先等级低于第一等级,且所述通知消息对应所述第一维度的显示优先级的优先等级为所述第一等级的情况下,将所述通知消息的通知标识以缩略图的形式显示在所述第一等级对应的显示区域;
    其中,所述第一等级为针对所述第一维度的显示优先级的所有预设优先等级中最高的优先等级。
  6. 根据权利要求1所述的方法,其中,所述在获取到通知消息的情况下,获取所述通知消息分别对应N个维度的N个显示优先级,包括:
    在获取到通知消息的情况下,获取所述通知消息在获取时刻对应的预设时间段内分别对应N个维度的N个显示优先级;
    所述依据所述目标显示优先级对所述通知消息进行显示之后,所述方法还包括:
    在当前时间超过所述预设时间段的结束时刻,且所述目标显示优先级高于显示优先级的所有预设优先等级中最低的优先等级的情况下,降低所述目标显示优先级的优先等级。
  7. 一种通知显示装置,包括:
    获取模块,用于在获取到通知消息的情况下,获取所述通知消息分别对应N个维度的N个显示优先级;
    确定模块,用于依据所述N个显示优先级,确定所述通知消息的目标显示优先级;
    显示模块,用于依据所述目标显示优先级对所述通知消息进行显示;
    其中,N为大于1的正整数。
  8. 根据权利要求7所述的装置,其中,所述确定模块包括:
    第一确定单元,用于在所述N个显示优先级中存在优先等级相同的显示 优先级的情况下,依据所述优先等级相同的显示优先级的数量确定所述通知消息的目标显示优先级;
    第二确定单元,用于在所述N个显示优先级中不存在优先等级相同的显示优先级的情况下,确定所述通知消息的目标显示优先级为所述N个显示优先级中优先等级最低的显示优先级。
  9. 根据权利要求8所述的装置,其中,所述第一确定单元,具体用于在所述N个显示优先级中存在优先等级相同的显示优先级,且所述优先等级相同的显示优先级的数量等于N的情况下,确定所述通知消息的目标显示优先级的优先等级为目标优先等级;或者,在所述N个显示优先级中存在优先等级相同的显示优先级,且所述优先等级相同的显示优先级的数量小于N的情况下,确定所述通知消息的目标显示优先级的优先等级低于目标优先等级;其中,所述目标优先等级与所述优先等级相同的显示优先级的优先等级相同。
  10. 根据权利要求7所述的装置,其中,所述N个维度中包括第一维度,所述显示模块包括:
    第一显示单元,用于将所述通知消息显示在通知界面中与所述目标显示优先级对应的目标位置;其中,所述目标位置为与所述通知消息对应所述第一维度的显示优先级匹配的位置。
  11. 根据权利要求7所述的装置,其中,所述N个维度中包括第一维度;所述显示模块包括:
    第二显示单元,用于在所述目标显示优先级的优先等级低于第一等级,且所述通知消息对应所述第一维度的显示优先级的优先等级为所述第一等级的情况下,将所述通知消息的通知标识以缩略图的形式显示在所述第一等级对应的显示区域;
    其中,所述第一等级为针对所述第一维度的显示优先级的所有预设优先等级中最高的优先等级。
  12. 根据权利要求7所述的装置,其中,所述获取模块,具体用于在获取到通知消息的情况下,获取所述通知消息在获取时刻对应的预设时间段内分别对应N个维度的N个显示优先级;
    所述装置还包括:
    优先等级调整模块,用于在当前时间超过所述预设时间段的结束时刻,且所述目标显示优先级高于显示优先级的所有预设优先等级中最低的优先等级的情况下,降低所述目标显示优先级的优先等级。
  13. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-6任一项所述的通知显示方法的步骤。
  14. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-6任一项所述的通知显示方法的步骤。
  15. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-6任一项所述的方法。
  16. 一种计算机程序产品,所述程序产品被至少一个处理器执行以实现如权利要求1-6任一项所述的方法。
  17. 一种电子设备,所述电子设备被配置成用于执行如权利要求1-6任一项所述的通知显示方法。
PCT/CN2021/106738 2020-07-17 2021-07-16 通知显示方法、装置和电子设备 WO2022012662A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010692243.1 2020-07-17
CN202010692243.1A CN111865765A (zh) 2020-07-17 2020-07-17 通知显示方法、装置和电子设备

Publications (1)

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

Family

ID=73001795

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/106738 WO2022012662A1 (zh) 2020-07-17 2021-07-16 通知显示方法、装置和电子设备

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117032848A (zh) * 2023-06-02 2023-11-10 零束科技有限公司 内容显示方法、装置、电子设备及存储介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111865765A (zh) * 2020-07-17 2020-10-30 维沃移动通信有限公司 通知显示方法、装置和电子设备

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 (zh) * 2016-03-22 2016-07-20 北京金山安全软件有限公司 一种应用通知消息展示方法、装置及电子设备
CN108235811A (zh) * 2016-11-26 2018-06-29 华为技术有限公司 一种消息处理的方法及装置
US20190334849A1 (en) * 2018-04-25 2019-10-31 International Business Machines Corporation Prioritizing notifications on a mobile communications device
CN111865765A (zh) * 2020-07-17 2020-10-30 维沃移动通信有限公司 通知显示方法、装置和电子设备

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786332B (zh) * 2014-12-17 2019-09-17 施耐德电器工业公司 在人机界面上在线编辑的方法和具有该功能的人机界面
CN106302967A (zh) * 2015-05-29 2017-01-04 西安中兴新软件有限责任公司 一种消息管理方法、装置及移动终端
CN109788136A (zh) * 2019-01-29 2019-05-21 维沃移动通信有限公司 信息显示方法及移动终端

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 (zh) * 2016-03-22 2016-07-20 北京金山安全软件有限公司 一种应用通知消息展示方法、装置及电子设备
CN108235811A (zh) * 2016-11-26 2018-06-29 华为技术有限公司 一种消息处理的方法及装置
US20190334849A1 (en) * 2018-04-25 2019-10-31 International Business Machines Corporation Prioritizing notifications on a mobile communications device
CN111865765A (zh) * 2020-07-17 2020-10-30 维沃移动通信有限公司 通知显示方法、装置和电子设备

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117032848A (zh) * 2023-06-02 2023-11-10 零束科技有限公司 内容显示方法、装置、电子设备及存储介质

Also Published As

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

Similar Documents

Publication Publication Date Title
US11153246B1 (en) Techniques for ephemeral messaging with remote ephemeral mode configuration
US11972327B2 (en) Method for automating actions for an electronic device
US9485364B2 (en) Method of displaying icons according to service usage states and mobile terminal supporting the same
WO2022012662A1 (zh) 通知显示方法、装置和电子设备
WO2022089568A1 (zh) 文件分享的方法、装置和电子设备
US20220191318A1 (en) Recommendation Method and Terminal
US10235011B2 (en) Application icon adaptive adjustment method and terminal
US11899924B2 (en) Notification message display control method and apparatus, electronic device, and readable storage medium
CN115051965B (zh) 一种控制视频播放的方法、装置、计算设备及存储介质
US20160323357A1 (en) File push notification method and device
CN113141293B (zh) 消息显示方法、装置及电子设备
CN108205408B (zh) 消息展示方法及装置
WO2022214082A1 (zh) 通知消息显示方法、装置、设备、可读存储介质和芯片
JP2019537086A (ja) オーディオコンテンツおよびビジュアルコンテンツのための管理システム
WO2022012617A1 (zh) 消息显示方法、装置、电子设备和存储介质
CN108229920B (zh) 一种事务提醒的方法以及移动终端
CN112269614A (zh) 一种消息处理方法、装置和电子设备
EP4033355A1 (en) Method for displaying message and terminal device
US10757060B2 (en) Message notification method and terminal
WO2022247856A1 (zh) 应用程序的推荐方法、装置、电子设备及介质
CN106302101B (zh) 消息提醒方法、终端及服务器
WO2024198922A1 (zh) 交互方法、装置、电子设备和存储介质
WO2017016335A1 (zh) 消除消息提醒的方法、系统和服务器
US20240143895A1 (en) Medal display method and apparatus, and device
CN107979780A (zh) 直播客户端的语音提醒方法和语音提醒终端

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