WO2022012617A1 - 消息显示方法、装置、电子设备和存储介质 - Google Patents

消息显示方法、装置、电子设备和存储介质 Download PDF

Info

Publication number
WO2022012617A1
WO2022012617A1 PCT/CN2021/106438 CN2021106438W WO2022012617A1 WO 2022012617 A1 WO2022012617 A1 WO 2022012617A1 CN 2021106438 W CN2021106438 W CN 2021106438W WO 2022012617 A1 WO2022012617 A1 WO 2022012617A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
message set
display
sets
electronic device
Prior art date
Application number
PCT/CN2021/106438
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 WO2022012617A1 publication Critical patent/WO2022012617A1/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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/234Monitoring or handling of messages for tracking messages

Definitions

  • the present application belongs to the field of computer technology, and specifically relates to a message display method, apparatus, electronic device and storage medium.
  • the purpose of the embodiments of the present application is to provide a message display method, apparatus, electronic device, and storage medium, which can solve the problem of low efficiency of viewing messages by users in the existing electronic device message display methods.
  • an embodiment of the present application provides a message display method, the method includes:
  • M message sets are displayed on the display interface of the electronic device according to the priority of each message set in the N message sets, where M is less than or equal to the A positive integer of N;
  • the feature information includes: the number of messages in the message set, the type of the application to which the message set belongs, and the receiving time of the messages in the message set.
  • an embodiment of the present application provides a message display device, the device comprising:
  • a receiving module configured to receive N message sets sent by different sending sources when the electronic device is in an off-screen state, where N is a positive integer
  • the determining module is configured to, for each message set in the N message sets, determine the priority of the message set according to the feature information of the message set, wherein the feature information includes: Quantity, the type of application to which the message set belongs, and the time when messages in the message set are received;
  • a display module configured to display M message sets in the display interface of the electronic device according to the priority of each message set in the N message sets when the electronic device is in a bright screen state, where M is A positive integer less than or equal to the N.
  • 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.
  • 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 .
  • 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.
  • the priority of the message set is determined according to the characteristic information of the message set;
  • M message sets are displayed on the display interface of the electronic device according to the priority of each message set in the N message sets. In this way, the message collection of each application can be sorted, and the message with the highest priority is displayed first, thereby improving the efficiency of the user to view the message.
  • FIG. 1 is one of the flowcharts of the message display method provided by the embodiment of the present application.
  • FIG. 2 is an effect diagram of a message display provided by an embodiment of the present application.
  • FIG. 4 is a structural diagram of a message display device provided by an embodiment of the present application.
  • FIG. 6 is a second structural diagram of an electronic device provided by an embodiment of the present invention.
  • 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 one of the flowcharts of the message display method provided by the embodiment of the present application. As shown in FIG. 1, the present embodiment provides a message display method, including the following steps:
  • Step 101 when the electronic device is in the screen-off state, receive N message sets sent by different sending sources, where N is a positive integer.
  • the screen-off state refers to a state in which the display interface of the electronic device is not lit. In this state, the electronic device will still receive various messages from different sending sources (such as various applications or systems), such as instant messaging messages, shopping messages, news messages, video recommendation messages, and system upgrade messages etc.
  • Each message set is a set of all unread messages sent by the same sending source, and there may be one message or multiple messages in the message set, which is not specifically limited in this application.
  • Step 102 For each message set in the N message sets, determine the priority of the message set according to the characteristic information of the message set.
  • the above feature information includes: the number of messages in the message set, the type of the application to which the message set belongs, and the receiving time of the messages in the message set.
  • the number of messages in the message set refers to the number of all unread messages in a certain message set. For example, if the electronic device receives 5 unread messages from the first social application, then the message set corresponding to the first social application will contain 5 unread messages. The number of messages is 5.
  • the type of the application to which the message set belongs refers to the type of the application to which the message in the message set belongs, and the type can be the application type of the application installed on the electronic device, or the system type of the operating system of the electronic device, as in the above example, Then, the application type to which the message set corresponding to the first social application belongs is the social category.
  • the reception time of the message in the message set refers to the reception time of the message in the message set on the electronic device.
  • the reception time corresponding to the message is taken as the reception time of the message set; if there is only one message in the message set If there are multiple messages, the average reception time of the reception times corresponding to the multiple messages can be used as the reception time of the message set, or the reception time of the latest received message among the multiple messages can be used as the message set. reception time.
  • Step 103 When the electronic device is in a bright screen state, display M message sets on the display interface of the electronic device according to the priority of each message set in the N message sets, where M is less than or A positive integer equal to the N.
  • the switching of the electronic device from the screen-off state to the screen-on state can be realized by user operation, or realized by the wake-up function of the electronic device itself. If it is realized by user operation, it can be realized by the user by pressing buttons, screen, or sending voice commands, gesture commands, etc.;
  • the user interface is automatically illuminated when an operation such as plugging or unplugging the ear wire or power cord is detected.
  • the bright screen state includes a bright screen state in an unlocked state and a bright screen state in a locked state.
  • the messages in the N message sets can be directly displayed for the convenience of users to view; when the display interface is in the bright screen state in the locked state, in order to protect user privacy , only the topic messages or key messages in the M message sets can be displayed.
  • M message sets with the highest priority among the N message sets may be displayed, and at this time, M is less than N. In this way, useless messages are filtered out, and important messages are displayed to the user.
  • the way to display the M message sets may be to lay out all the M message sets on the display interface in the order of priority from high to low, and after the user selects a message set through a selection operation, then enters the message set of the message set. View all messages on the interface; it is also possible to display M message sets in order of priority from high to low, display the message set with the highest priority first, and then display the subsequent message sets in sequence, which is not specifically limited in this application .
  • the priority of the message set is determined according to the characteristic information of the message set; when the electronic device is on In the screen state, M message sets are displayed on the display interface of the electronic device according to the priority of each message set in the N message sets. In this way, the message collection of each application can be sorted, and the message with the highest priority is displayed first, thereby improving the efficiency of the user to view the message.
  • the priority of the message set is determined according to the characteristic information of the message set, including:
  • a first score corresponding to the number of messages in the message set and a second score corresponding to the type of the application to which the message set belongs are determined.
  • the third score corresponding to the reception time of the message in the message set;
  • the priority of each of the message sets is determined according to the total score of each of the message sets.
  • the above preset mapping relationships include a first mapping relationship based on the number of messages in the message set and the first score, a second mapping relationship based on the type of the application to which the message set belongs and the second score, and based on the message set.
  • the third mapping relationship between the reception time of the message and the third score.
  • the first mapping relationship setting rule when the number of messages in the message set is greater than 5, the first score is 10; when the number of messages in the message set is greater than or equal to 4 and less than 5, the first score is The score is 8 points; when the number of messages in the message set is greater than or equal to 3 and less than 4, the first score is 6 points; when the number of messages in the message set is greater than or equal to 2 and less than 3, the first score is The score is 4 points; when the number of messages in the message set is greater than or equal to 1 and less than 2, the first score is 2 points.
  • the second mapping relationship setting rule is: when the type of application to which the message set belongs is instant messaging, the second score is 5 points; when the type of application to which the message set belongs is news, the second score is 3 points; When the type of the application to which the message collection belongs is shopping, the score is 2 points.
  • the third mapping relationship setting rule is: Calculate the received duration according to the reception time of the message in the message set and the current system time.
  • the third score is 10 points; when the received duration is greater than or equal to 1 minute, and less than 3 minutes, the third score is 9 points; when the received time is greater than or equal to 3 minutes and less than 5 minutes, the third score is 8 points; when the received time is greater than or equal to 5 minutes and less than 10 minutes, The third score is 7 points; when the received time is greater than or equal to 10 minutes and less than 15 minutes, the third score is 6 points; when the received time is greater than or equal to 15 minutes and less than 20 minutes, the third score is 5 points ; When the received time is greater than or equal to 20 minutes and less than 25 minutes, the third score is 4 points; when the received time is greater than or equal to 25 minutes and less than 30 minutes, the third score is 3 points; when the received time is greater than or equal to 30 minutes, the third score is 3 points; When it is equal to 30 minutes and less than 35 minutes, the third score is 2 points; when the received time is greater than or equal to 35 minutes and less than 40 minutes, the third score
  • the first score corresponding to the number of messages in the message set and the second score corresponding to the type of application to which the message set belongs can be determined respectively,
  • the above descriptions of the first mapping relationship, the second mapping relationship, and the third mapping relationship are merely examples, and do not constitute a limitation to the present application.
  • the first mapping relationship, the second mapping relationship, and the second mapping relationship may be The mapping relationship and the third mapping relationship are adjusted.
  • the total score can be calculated in the above manner.
  • the weighted average value of the first score, the second score, the third score and the preset weight relationship may also be calculated, and the weighted average value may be used as the total score. Prioritize each message set by sorting each message set based on its total score.
  • preset mapping relationship and the preset weight relationship may be preset by the user on the electronic device according to actual needs, or may be the default production settings of the electronic device.
  • the priority of each message set is obtained based on the characteristic information of the N message sets, thereby determining the importance of the N message sets, so that the subsequent display can be facilitated based on the priority of the N message sets. show.
  • the determining the third score corresponding to the reception time of the messages in the message set includes:
  • an average score of the messages in the message set is determined, and the average score is determined as the third score.
  • the target score corresponding to the reception time of the target message in the message set is determined as the third score, wherein the target message is the latest received message in each message set.
  • the latest received target message in the message set is determined according to the reception time of the message in the message set
  • the target score of the target message is determined according to the third mapping relationship
  • the target score is used as the target score of the message set.
  • the average score of messages in the message set is determined according to the score corresponding to the reception time of each message in the message set and the number of messages in the message set, and the average score is determined for the third score. Specifically, the receiving time of each message in the message set is obtained, the score corresponding to each message is determined according to the above-mentioned third mapping relationship, and then the score corresponding to the receiving time of each message and the number of messages in the message set are determined, Calculate the average score of the message set, and finally determine the average score as the third score.
  • the third score of the message set is determined by the receiving time of each message in each message set, so that the priority calculation of the message set can be implemented based on the third score.
  • step 103 when the electronic device is in a bright screen state, M messages are displayed on the display interface of the electronic device according to the priority of each message set in the N message sets A collection of messages, including:
  • the transparency corresponding to the first message set is the lowest, and the first message set is the message set with the highest priority among the M message sets.
  • the M message sets may be displayed in a fade-in animation manner.
  • Fade animation animates a gradient of transparency from 100% to 0%.
  • the M message sets are displayed in the form of fade-in animation in order from high to low priority.
  • the first message set is first displayed in a fade-in animation mode, after a preset time period, the second message set is displayed in a fade-in animation mode, and after the preset time period, the third message set is displayed in a fade-in animation mode. Displayed in a fade-in animation, and so on. For example, as shown in FIG.
  • the M message sets may be displayed on the display interface of the electronic device at the same time, and the message set with the highest priority corresponds to the lowest transparency.
  • the first message set, the second message set, the third message set, and the fourth message set are all displayed on the display interface, and the priority order of the four message sets is: the first message set>the second message set >Third message set>Fourth message set, the first message set is displayed at the top of the display interface with a display transparency of 0%, the second message set is displayed below the first message set with a display transparency of 20%, and the The third set of messages is displayed below the second set of messages with a display transparency of 40%, and the fourth set of messages is displayed below the third set of messages with a display transparency of 60%.
  • a background picture such as a wallpaper can be displayed after the first message set is displayed for a preset duration, so as to eliminate the interference caused by visual factors such as the background picture, so that the user can view it first. to the notification message.
  • the user can also set the display priority of the controls or icons on the display interface.
  • other controls or icons on the display interface can be sequentially displayed according to the preset display priority. Display, such as time, lock screen shortcut icon, battery, signal, etc.
  • each message set is displayed in the form of a fade-in animation according to the priority from high to low. It becomes more and more prominent, so that users can quickly get the highest priority message on the display interface.
  • step 103 when the electronic device is in a bright screen state, M messages are displayed on the display interface of the electronic device according to the priority of each message set in the N message sets A collection of messages, including:
  • the target information in the M message sets is displayed in order from high to low priority, wherein the target message is the latest received message in each message set .
  • the target information in the message set is acquired according to the reception time of each message in the message set, wherein the target information is the latest received message in the message set news.
  • the target message in each message set can be displayed, so that the user can directly view the latest news in the M message sets. If the user pays special attention to a certain target message, click Go in and continue to view other information in the message collection, which also simplifies the user's viewing operation.
  • FIG. 3 is the second flowchart of the message display method provided by the embodiment of the present application.
  • the message display method includes:
  • Step 301 In the case that the display interface of the electronic device is in an off-screen state, receive N message sets sent by different sending sources, where N is a positive integer.
  • Step 302 Obtain the first score, the second score and the third score of the N message sets respectively.
  • Step 303 Determine the priorities of the N message sets according to the first score, the second score and the third score of each message set.
  • Step 304 Determine whether the display interface of the electronic device is lit. If the display interface of the electronic device is lit, go to step 305; if the display interface of the electronic device is not lit, go to step 301.
  • Step 305 According to the priorities of the N message sets, sort the N message sets in descending order of priority, and obtain a sorting result.
  • Step 306 Display the M message sets in a fade-in animation manner according to the sorting result.
  • N message sets sent by different sending sources are received, where N is a positive integer; for each message set in the N message sets, according to the message set The feature information of the message set is determined, and the priority of the message set is determined; when the electronic device is in the bright screen state, according to the priority of each message set in the N message sets, M is displayed on the display interface of the electronic device.
  • message sets the M is a positive integer less than or equal to the N; wherein, the feature information includes: the number of messages in the message set, the type of the application to which the message set belongs, and the message set The time at which the message was received. In this way, the message collection of each application can be sorted, and the message with the highest priority is displayed first, thereby improving the efficiency of the user to view the message.
  • the execution subject may be a message display device, or a control module in the message display device for executing the message display method.
  • a method for performing message display by a message display device is taken as an example to describe the message display device provided by the embodiment of the present application.
  • FIG. 4 is a structural diagram of a message display device provided by an embodiment of the present application. As shown in FIG. 4, the device includes:
  • a receiving module 401 configured to receive N message sets sent by different sending sources when the electronic device is in an off-screen state, where N is a positive integer;
  • the determining module 402 is configured to, for each message set in the N message sets, determine the priority of the message set according to feature information of the message set, wherein the feature information includes: messages in the message set The number of messages, the type of the application to which the message set belongs, and the reception time of the messages in the message set;
  • a display module 403 configured to display M message sets in the display interface of the electronic device according to the priority of each message set in the N message sets, when the electronic device is in a bright screen state, the M message sets is a positive integer less than or equal to the N.
  • the determining module 402 includes:
  • a first determining unit configured to, for each message set in the N message sets, according to a preset mapping relationship, determine a first score corresponding to the number of messages in the message set and the type of application to which the message set belongs the corresponding second score, the third score corresponding to the reception time of the message in the message set;
  • a second determining unit configured to determine the total score of the message set according to a preset weight relationship
  • a third determining unit configured to determine the priority of each of the message sets according to the total score of each of the message sets.
  • the first determining unit is further configured to determine the target score corresponding to the receiving time of the target message in the message set as the third score, wherein the target message is the latest received message in the message set received message; or,
  • the score corresponding to the reception time of each message in the message set, and the number of messages in the message set determine the average score corresponding to the message reception time in the message set, and determine the average score as the first Three points.
  • the display module 403 is further configured to display the M message sets in order from high to low according to the priority when the electronic device is in a bright screen state;
  • the transparency corresponding to the first message set is the lowest, and the first message set is the message set with the highest priority among the M message sets.
  • the display module 403 is further configured to display the target information in the M message sets in sequence according to the priority from high to low when the electronic device is in a bright screen state, wherein the target The message is the latest received message in each message set.
  • the message display device in the embodiment of the present application receives N message sets sent by different sending sources, and for each message set in the N message sets, determines the priority of the message set according to the feature information of the message set; When the electronic device is in a bright screen state, M message sets are displayed on the display interface of the electronic device according to the priority of each message set in the N message sets. In this way, the message collection of each application can be sorted, and the message with the highest priority is displayed first, thereby improving the efficiency of the user to view the message.
  • the message display device in this 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
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the message 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 message display device provided in the embodiment of the present application can implement each process implemented by the method embodiments in FIG. 1 to FIG. 3 , and to avoid repetition, details are not repeated here.
  • an embodiment of the present application further provides an electronic device.
  • the electronic device 500 includes a processor 501 , a memory 502 , and a program stored in the memory 502 and running on the processor 501 . or instruction, when the program or instruction is executed by the processor 501, each process of the above-mentioned embodiment of the message display method is implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the 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 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 display unit 605, a sensor 606, a user input unit 607, an interface unit 608, a memory 609, and a processor 610, etc. part.
  • 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 receive N message sets sent by different sending sources when the electronic device is in an off-screen state, where N is a positive integer; for each message set in the N message sets, according to The feature information of the message set determines the priority of the message set; when the electronic device is in a bright screen state, according to the priority of each message set in the N message sets, the display of the electronic device is M message sets are displayed on the interface, where M is a positive integer less than or equal to the N; wherein, the feature information includes: the number of messages in the message set, the type of application to which the message set belongs, and The time of receipt of the messages in the message set.
  • the priority of the message set is determined according to the characteristic information of the message set; when the electronic device is in the bright screen state, According to the priority of each message set in the N message sets, the M message sets are displayed on the display interface of the electronic device. In this way, the message collection of each application can be sorted, and the message with the highest priority is displayed first, thereby improving the efficiency of the user to view the message.
  • the processor 610 is further configured to, for each message set in the N message sets, according to a preset mapping relationship, determine the first score corresponding to the number of messages in the message set, the first score of the message set to which the message set belongs.
  • the second score corresponding to the type of the application, the third score corresponding to the reception time of the message in the message set; the total score of the message set is determined according to the preset weight relationship; according to the total score of each of the message sets A score that determines the priority of each set of said messages.
  • the priority of each message set is obtained based on the characteristic information of the N message sets, thereby determining the importance of the N message sets, so that the subsequent display can be performed based on the priority of the N message sets.
  • the processor 610 is further configured to determine the target score corresponding to the reception time of the target message in the message set as the third score, wherein the target message is the latest received in each message set. or, according to the score corresponding to the reception time of each message in the message set and the number of messages in the message set, determine the average score of the messages in the message set, and determine the average score as the Third score.
  • the third score of the message set is determined by the receiving time of each message in each message set, so that the priority calculation of the message set can be realized based on the third score.
  • the processor 610 is further configured to display the M message sets in descending order of priority when the electronic device is in a bright screen state; wherein the first message set has the lowest transparency , the first message set is the message set with the highest priority among the M message sets.
  • each message set is displayed in the form of fading animation. This enables the user to quickly obtain the message with the highest priority on the display interface.
  • the processor 610 is further configured to display the target information in the M message sets in sequence according to the priority from high to low when the electronic device is in a bright screen state, wherein the target message The latest received message for each message collection.
  • the target message in each message set can be displayed, so that the user can directly view the latest news in the M message sets. If the user pays special attention to a certain target message, click Go in and continue to view other information in the message collection, which also simplifies the user's viewing operation.
  • 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 605 may include a display panel 6051, 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.
  • 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 message display method can be achieved, 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 message 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 message 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-a-chip, or a system-on-a-chip, or the like.
  • the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
  • 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.
  • a storage medium such as ROM/RAM, magnetic disk, CD-ROM

Abstract

本申请公开了一种消息显示方法、装置、电子设备和存储介质。该方法包括:在电子设备处于息屏状态的情况下,接收不同发送源发送的N个消息集合,N为正整数;对于N个消息集合中的每一个消息集合,根据消息集合的特征信息,确定消息集合的优先级;在电子设备处于亮屏状态下,根据N个消息集合中各消息集合的优先级,在电子设备的显示界面中显示M个消息集合,M为小于或等于N的正整数;其中,特征信息包括:消息集合中消息的数量、消息集合所属的应用的类型,以及消息集合中消息的接收时间。

Description

消息显示方法、装置、电子设备和存储介质
相关申请的交叉引用
本申请主张在2020年7月16日在中国提交的中国专利申请号No.202010685213.8的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于计算机技术领域,具体涉及一种消息显示方法、装置、电子设备和存储介质。
背景技术
随着科学技术的发展,人们越来越习惯使用电子设备来获取消息,例如,即时通讯类通知消息、新闻类通知消息、系统提醒类通知消息等等。即使电子设备在息屏的状态下,也仍旧会对消息进行接收,这样,用户在点亮电子设备的显示界面后,可对电子设备在息屏状态下收到的消息进行查看。
在实现本申请过程中,发明人发现现有技术中至少存在如下问题:用户在唤醒电子设备后,对电子设备在锁屏状态下收到的消息进行查看时,消息会按接收时间的先后顺序依次铺陈在锁屏界面上,这些消息中可能包括重要消息或者无用消息,为了避免漏掉重要消息,用户需要依次查看这些消息,使得用户查看消息的效率低下。
发明内容
本申请实施例的目的是提供一种消息显示方法、装置、电子设备和存储介质,能够解决现有电子设备的消息显示方式,使得用户查看消息的效率低下的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本申请实施例提供了一种消息显示方法,该方法包括:
在电子设备处于息屏状态的情况下,接收不同发送源发送的N个消息集合,所述N为正整数;
对于N个消息集合中的每一个消息集合,根据所述消息集合的特征信息,确定所述消息集合的优先级;
在所述电子设备处于亮屏状态下,根据所述N个消息集合中各消息集合的优先级,在所述电子设备的显示界面中显示M个消息集合,所述M为小于或等于所述N的正整数;
其中,所述特征信息包括:所述消息集合中消息的数量、所述消息集合所属的应用的类型,以及所述消息集合中消息的接收时间。
第二方面,本申请实施例提供了一种消息显示装置,该装置包括:
接收模块,用于在电子设备处于息屏状态的情况下,接收不同发送源发送的N个消息集合,所述N为正整数;
确定模块,用于对于N个消息集合中的每一个消息集合,根据所述消息集合的特征信息,确定所述消息集合的优先级,其中,所述特征信息包括:所述消息集合中消息的数量、所述消息集合所属的应用的类型,以及所述消息集合中消息的接收时间;
显示模块,用于在所述电子设备处于亮屏状态下,根据所述N个消息集合中各消息集合的优先级,在所述电子设备的显示界面中显示M个消息集合,所述M为小于或等于所述N的正整数。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
在本申请实施例中,通过接收不同发送源发送的N个消息集合,并对于N个消息集合中的每一个消息集合,根据消息集合的特征信息,确定消息集合的优先级;在所述电子设备处于亮屏状态下,根据N个消息集合中各消息 集合的优先级,在电子设备的显示界面中显示M个消息集合。由此可以实现对各应用的消息集合进行排序,将优先级最高的消息优先显示,从而提高用户查看消息的效率。
附图说明
图1是本申请实施例提供的消息显示方法的流程图之一;
图2是本申请实施例提供的消息显示的效果图;
图3是本申请实施例提供的消息显示方法的流程图之二;
图4是本申请实施例提供的消息显示装置的结构图;
图5是本发明实施例提供的电子设备的结构图之一;
图6是本发明实施例提供的电子设备的结构图之二。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的消息显示方法进行详细地说明。
参见图1,图1是本申请实施例提供的消息显示方法的流程图之一,如图1所示,本实施例提供一种消息显示方法,包括以下步骤:
步骤101、在电子设备处于息屏状态的情况下,接收不同发送源发送的N 个消息集合,所述N为正整数。
具体地,息屏状态是指电子设备的显示界面未被点亮的状态。在该状态下,电子设备仍旧会接收不同发送源(如各类应用程序或者系统)发送的各种消息,如即时通讯类消息、购物类消息、新闻类消息、视频推荐类消息、系统升级消息等等。每一个消息集合为同一发送源发送的所有未读消息的集合,消息集合中的消息可以为一个,也可以为多个,本申请不做具体限定。
步骤102、对于N个消息集合中的每一个消息集合,根据所述消息集合的特征信息,确定所述消息集合的优先级。
上述特征信息包括:消息集合中消息的数量、消息集合所属的应用的类型,以及消息集合中消息的接收时间。其中,消息集合中消息的数量是指某一消息集合中所有未读消息的数量,例如,电子设备接收到5条来自第一社交应用的未读消息,那么第一社交应用对应的消息集合中消息的数量为5。消息集合所属的应用的类型是指该消息集合中消息所属应用的类型,该类型可以为电子设备上所安装的应用程序的应用类型,还可以为电子设备的操作系统的系统类型,如上示例,那么第一社交应用对应的消息集合所属应用类型为社交类。消息集合中消息的接收时间是指该消息集合中消息在电子设备上的接收时间,如果消息集合中只有一条消息,则将该消息对应的接收时间作为该消息集合的接收时间;如果消息集合中有多条消息,则可以将该多条消息对应的接收时间的平均接收时间作为该消息集合的接收时间,也可以将该多条消息中,最新接收到的一条消息的接收时间作为该消息集合的接收时间。
步骤103、在所述电子设备处于亮屏状态下,根据所述N个消息集合中各消息集合的优先级,在所述电子设备的显示界面中显示M个消息集合,所述M为小于或等于所述N的正整数。
电子设备从息屏状态切换至亮屏状态,可以是由用户操作实现,也可以是电子设备自身的唤醒功能实现。如果是由用户操作实现,可以是由用户通过触压按键、屏幕或者发送语音指令、手势指令等方式实现;如果是由电子设备自身的唤醒功能实现,可以是在电子设备接收到消息,或者是检测到耳线、电源线插拔等操作时,自动点亮用户界面。该亮屏状态包括未设锁状态下的亮屏状态和设锁状态下的亮屏状态。当显示界面为未设锁状态下的亮屏 状态时,可以直接对N个消息集合中的消息进行显示,方便用户查看;当显示界面为设锁状态下的亮屏状态时,为保护用户隐私,可以仅显示M个消息集合中的主题消息或者关键消息。
当接收到的消息集合的数量超过预设阈值,可以对N个消息集合中优先级排序靠前的M个消息集合进行显示,此时,M小于N。由此过滤掉无用的消息,将重要的消息显示给用户。
对M个消息集合进行显示的方式,可以是将M个消息集合按照优先级从高到低的顺序全部铺陈在显示界面上,用户通过选择操作选中某一消息集合后,再进入该消息集合的界面查看所有消息;也可以是将M个消息集合按照优先级从高到低的顺序依次显示,将优先级最高的消息集合最先显示,然后依次显示后续的消息集合,本申请不做具体限定。
本发明中,通过接收不同发送源发送的N个消息集合,并对于N个消息集合中的每一个消息集合,根据消息集合的特征信息,确定消息集合的优先级;在所述电子设备处于亮屏状态下,根据N个消息集合中各消息集合的优先级,在电子设备的显示界面中显示M个消息集合。由此可以实现对各应用的消息集合进行排序,将优先级最高的消息优先显示,从而提高用户查看消息的效率。
在本申请一个实施例中,上述步骤102、所述对于N个消息集合中的每一个消息集合,根据所述消息集合的特征信息,确定所述消息集合的优先级,包括:
对于N个消息集合中的每一个消息集合,根据预先设置的映射关系,确定所述消息集合中消息的数量对应的第一得分、所述消息集合所属的应用的类型对应的第二得分,所述消息集合中消息的接收时间对应的第三得分;
根据预先设置的权重关系,确定所述消息集合的总得分;
根据每个所述消息集合的总得分,确定每个所述消息集合的优先级。
上述预先设置的映射关系包括基于消息集合中消息的数量与第一得分之间的第一映射关系、基于消息集合所属的应用的类型与第二得分之间的第二映射关系,以及基于消息集合中消息的接收时间与第三得分之间的第三映射关系。例如,假设第一映射关系设置规则为:当消息集合中消息的数量大于5 条时,第一得分为10分;当消息集合中消息的数量大于等于4条,且小于5条时,第一得分为8分;当消息集合中消息的数量大于等于3条,且小于4条时,第一得分为6分;当消息集合中消息的数量大于等于2条,且小于3条时,第一得分为4分;当消息集合中消息的数量大于等于1条,且小于2条时,第一得分为2分。第二映射关系设置规则为:当消息集合所属的应用的类型为即时通讯类时,第二得分为5分;当消息集合所属的应用的类型为新闻类时,第二得分为3分;当消息集合所属的应用的类型为购物类时,得分为2分。第三映射关系设置规则为:根据消息集合中消息的接收时间与当前系统时间计算已接收时长,当已接收时长小于1分钟时,第三得分为10分;当已接收时长大于等于1分钟,且小于3分钟时,第三得分为9分;当已接收时长大于等于3分钟,且小于5分钟时,第三得分为8分;当已接收时长大于等于5分钟,且小于10分钟时,第三得分为7分;当已接收时长大于等于10分钟,且小于15分钟时,第三得分为6分;当已接收时长大于等于15分钟,且小于20分钟时,第三得分为5分;当已接收时长大于等于20分钟,且小于25分钟时,第三得分为4分;当已接收时长大于等于25分钟,且小于30分钟时,第三得分为3分;当已接收时长大于等于30分钟,且小于35分钟时,第三得分为2分;当已接收时长大于等于35分钟,且小于40分钟时,第三得分为1分。由此可以基于上述预先设置的第一映射关系、第二映射关系和第三映射关系,分别确定消息集合中消息的数量对应的第一得分、消息集合所属的应用的类型对应的第二得分,消息集合中消息的接收时间对应的第三得分。当然,上述对第一映射关系、第二映射关系和第三映射关系的描述仅仅是举例说明,并不构成对本申请的限定,在实际实施时,可以基于实际需要对第一映射关系、第二映射关系和第三映射关系进行调整。
上述预先设置的权重关系包括上述第一得分、第二得分和第三得分的权重值。根据预先设置的权重关系,确定所述消息集合的总得分,具体地,可以是根据第一得分、第二得分和第三得分以及预先设置的权重关系,计算得到其加权和,将其加权和作为总得分。例如,假设某消息集合的第一得分为5分,第二得分为2分,第三得分为10分,那么该消息集合的总得分为W=5*A1+2*B1+10*C1,其中,A1、B1、C1分别为第一得分、第二得分、第 三得分的权重值,且A1+B1+C1=1。对于N条消息集合中的每个消息集合,均可采用上述方式计算总得分。作为另一种实施方式,也可以是根据第一得分、第二得分和第三得分以及预先设置的权重关系,计算得到其加权平均值,将其加权平均值作为总得分。根据每个消息集合的总得分,对每个消息集合进行排序,从而确定每个消息集合的优先级。
需要说明的是,此处的预先设置的映射关系和预先设置的权重关系可以由用户根据实际需要在电子设备上预先设置,也可以是电子设备默认的出产设置。
在本实施例中,通过基于N个消息集合的特征信息获取每个消息集合的优先级,由此确定N个消息集合的重要程度,方便后续显示时,能基于N个消息集合的优先级进行显示。
在本申请一个实施例中,所述确定所述消息集合中消息的接收时间对应的第三得分,包括:
将所述消息集合中目标消息的接收时间对应的目标得分确定为所述第三得分,其中,所述目标消息为每个消息集合中最新接收到的消息;或者,
根据所述消息集合中每一个消息的接收时间对应的得分,以及所述消息集合中消息的数量,确定所述消息集合中消息的平均得分,将所述平均得分确定为所述第三得分。
作为一种实施方式,将所述消息集合中目标消息的接收时间对应的目标得分确定为所述第三得分,其中,所述目标消息为每个消息集合中最新接收到的消息。具体地,根据消息集合中消息的接收时间,确定该消息集合中最新接收到的目标消息,再根据上述第三映射关系,确定该目标消息的目标得分,最后将该目标得分作为该消息集合的第三得分。
作为另一种实施方式,根据所述消息集合中每一个消息的接收时间对应的得分,以及所述消息集合中消息的数量,确定所述消息集合中消息的平均得分,将所述平均得分确定为所述第三得分。具体地,获取该消息集合中每个消息的接收时间,根据上述第三映射关系确定每个消息对应的得分,再根据每一个消息的接收时间对应的得分,以及该消息集合中消息的数量,计算该消息集合的平均得分,最后将该平均得分确定为所述第三得分。
本实施例中,通过每个消息集合中各消息的接收时间,确定消息集合的第三得分,从而可以基于第三得分,实现对消息集合的优先级计算。
在本申请一个实施例中,上述步骤103,在所述电子设备处于亮屏状态下,根据所述N个消息集合中各消息集合的优先级,在所述电子设备的显示界面中显示M个消息集合,包括:
在所述电子设备处于亮屏状态下,按照优先级从高到低依次显示所述M个消息集合;
其中,所述第一消息集合对应的透明度最低,所述第一消息集合为M个消息集合中优先级最高的消息集合。
可选地,本实施例中,在电子设备的显示界面对M个消息集合可以以渐显动画的方式进行显示。渐显动画为透明度从100%到0%的渐变显示动画。按照优先级从高到低依次以渐显动画的方式对M个消息集合进行显示。具体为,先对第一消息集合以渐显动画的方式进行显示,在预设时长后,对第二消息集合以渐显动画的方式进行显示,再过预设时长后,对第三消息集合以渐显动画的方式进行显示,依次类推。例如,如图2所示,图2为本申请实施例提供的消息显示的效果图,假设第一消息集合从透明度100%至透明度0%的变化过程需要5秒钟,上述预设时长为1秒钟,那么第一消息集合显示1秒钟后,第二消息集合开始显示,当第二消息集合开始显示时,第一消息集合的透明度已经渐变为80%,当第三消息集合开始显示时,第一消息集合的透明度已经渐变为60%,第二消息集合的透明度已经渐变为80%,以此类推,直到第四消息集合开始显示时,第一消息集合的透明度已经渐变为40%,第二消息集合的透明度已经渐变为60%,第三消息集合的透明度已经渐变为80%,由此,在显示界面上始终是优先级高的消息集合最为明显。
除此之外,本实施例中,所述M个消息集合可以同时显示在电子设备的显示界面上,优先级最高的消息集合对应的透明度最低。具体为,第一消息集合、第二消息集合、第三消息集合、第四消息集合均显示在显示界面上,其中该四个消息集合的优先级排序为:第一消息集合>第二消息集合>第三消息集合>第四消息集合,则第一消息集合显示在显示界面的最上端且显示透明度为0%,第二消息集合显示在第一消息集合的下方且显示透明度为20%, 第三消息集合显示在第二消息集合的下方且显示透明度为40%,第四消息集合显示在第三消息集合的下方且显示透明度为60%。
为了使得消息集合最为突出,在对消息集合依次进行显示时,可以在第一消息集合显示预设时长后再显示背景图片如壁纸,从而排除背景图片等视觉因素造成的干扰,使用户可以优先看到通知消息。进一步地,还可以由用户对显示界面上的控件或图标的显示优先级进行设置,在消息集合依次进行显示时,还可以根据预先设置的显示优先级,依次对显示界面上的其它控件或图标进行显示,如时间、锁屏快捷图标、电量、信号等等。
本实施例中,按照优先级从高到低依次以渐显动画的方式对各消息集合进行显示,随着消息集合的依次显示,每个消息集合的透明度也越来越小,在显示界面上越来越突出,从而使得用户在显示界面上快速获取到优先级最高的消息。
在本申请一个实施例中,上述步骤103、在所述电子设备处于亮屏状态下,根据所述N个消息集合中各消息集合的优先级,在所述电子设备的显示界面中显示M个消息集合,包括:
在所述电子设备处于亮屏状态下,按照优先级从高到低依次对所述M个消息集合中的目标信息进行显示,其中,所述目标消息为每个消息集合中最新接收到的消息。
本实施例中,针对M个消息集合中的每一个消息集合,根据该消息集合中各消息的接收时间,获取该消息集合中的目标信息,其中,该目标信息为该消息集合中最新接收到的消息。在对M个消息集合进行显示时,将每个消息集合中的目标消息进行显示即可,由此用户可以直接查看M个消息集合中的最新消息,如果用户特别重视某一目标消息,可点击进去继续查看该消息集合中的其他信息,这样也简化了用户的查看操作。
参照图3,图3是本申请实施例提供的消息显示方法的流程图之二,在图3所述的实施例中,消息显示方法包括:
步骤301、在电子设备的显示界面处于息屏状态的情况下,接收不同发送源发送的N个消息集合,所述N为正整数。
步骤302、分别获取N个消息集合的第一得分、第二得分和第三得分。
步骤303、根据每个消息集合的第一得分、第二得分和第三得分,确定N个消息集合的优先级。
步骤304、判断电子设备的显示界面有没有被点亮,若电子设备的显示界面被点亮,则执行步骤305;若电子设备的显示界面没有被点亮,则继续执行步骤301。
步骤305、根据N个消息集合的优先级,对N个消息集合按照优先级从高到低的顺序排序,得到排序结果。
步骤306、根据排序结果,对M个消息集合以渐显动画的方式进行显示。
本发明中,在电子设备处于息屏状态的情况下,接收不同发送源发送的N个消息集合,所述N为正整数;对于N个消息集合中的每一个消息集合,根据所述消息集合的特征信息,确定所述消息集合的优先级;在所述电子设备处于亮屏状态下,根据所述N个消息集合中各消息集合的优先级,在所述电子设备的显示界面中显示M个消息集合,所述M为小于或等于所述N的正整数;其中,所述特征信息包括:所述消息集合中消息的数量、所述消息集合所属的应用的类型,以及所述消息集合中消息的接收时间。由此可以实现对各应用的消息集合进行排序,将优先级最高的消息优先显示,从而提高用户查看消息的效率。
需要说明的是,本申请实施例提供的消息显示方法,执行主体可以为消息显示装置,或者该消息显示装置中的用于执行消息显示方法的控制模块。本申请实施例中以消息显示装置执行消息显示的方法为例,说明本申请实施例提供的消息显示装置。
参见图4,图4是本申请实施例提供的消息显示装置的结构图,如图4所示,所述装置包括:
接收模块401,用于在电子设备处于息屏状态的情况下,接收不同发送源发送的N个消息集合,所述N为正整数;
确定模块402,用于对于N个消息集合中的每一个消息集合,根据所述消息集合的特征信息,确定所述消息集合的优先级,其中,所述特征信息包括:所述消息集合中消息的数量、所述消息集合所属的应用的类型,以及所述消息集合中消息的接收时间;
显示模块403,用于在所述电子设备处于亮屏状态下,根据所述N个消息集合中各消息集合的优先级,在所述电子设备的显示界面中显示M个消息集合,所述M为小于或等于所述N的正整数。
进一步地,所述确定模块402,包括:
第一确定单元,用于对于N个消息集合中的每一个消息集合,根据预先设置的映射关系,确定所述消息集合中消息的数量对应的第一得分、所述消息集合所属的应用的类型对应的第二得分,所述消息集合中消息的接收时间对应的第三得分;
第二确定单元,用于根据预先设置的权重关系,确定所述消息集合的总得分;
第三确定单元,用于根据每个所述消息集合的总得分,确定每个所述消息集合的优先级。
进一步地,所述第一确定单元,还用于将所述消息集合中目标消息的接收时间对应的目标得分确定为所述第三得分,其中,所述目标消息为所述消息集合中最新接收到的消息;或者,
根据所述消息集合中每一个消息的接收时间对应的得分,以及所述消息集合中消息的数量,确定所述消息集合中消息接收时间对应的平均得分,将所述平均得分确定为所述第三得分。
进一步地,所述显示模块403,还用于在所述电子设备处于亮屏状态下,按照优先级从高到低依次显示所述M个消息集合;
其中,所述第一消息集合对应的透明度最低,所述第一消息集合为M个消息集合中优先级最高的消息集合。
进一步地,所述显示模块403,还用于在所述电子设备处于亮屏状态下,按照优先级从高到低依次对所述M个消息集合中的目标信息进行显示,其中,所述目标消息为每个消息集合中最新接收到的消息。
本申请实施例中的消息显示装置通过接收不同发送源发送的N个消息集合,并对于N个消息集合中的每一个消息集合,根据消息集合的特征信息,确定消息集合的优先级;在所述电子设备处于亮屏状态下,根据N个消息集合中各消息集合的优先级,在电子设备的显示界面中显示M个消息集合。由 此可以实现对各应用的消息集合进行排序,将优先级最高的消息优先显示,从而提高用户查看消息的效率。
本申请实施例中的消息显示装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的消息显示装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的消息显示装置能够实现图1至图3的方法实施例实现的各个过程,为避免重复,这里不再赘述。
可选的,如图5所示,本申请实施例还提供一种电子设备,该电子设备500包括处理器501,存储器502,存储在存储器502上并可在所述处理器501上运行的程序或指令,该程序或指令被处理器501执行时实现上述消息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图6为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备600包括但不限于:射频单元601、网络模块602、音频输出单元603、输入单元604、显示单元605、传感器606、用户输入单元607、接口单元608、存储器609、以及处理器610等部件。
本领域技术人员可以理解,电子设备600还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图6中示出 的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,处理器610,用于在电子设备处于息屏状态的情况下,接收不同发送源发送的N个消息集合,所述N为正整数;对于N个消息集合中的每一个消息集合,根据所述消息集合的特征信息,确定所述消息集合的优先级;在所述电子设备处于亮屏状态下,根据所述N个消息集合中各消息集合的优先级,在所述电子设备的显示界面中显示M个消息集合,所述M为小于或等于所述N的正整数;其中,所述特征信息包括:所述消息集合中消息的数量、所述消息集合所属的应用的类型,以及所述消息集合中消息的接收时间。
通过接收不同发送源发送的N个消息集合,并对于N个消息集合中的每一个消息集合,根据消息集合的特征信息,确定消息集合的优先级;在所述电子设备处于亮屏状态下,根据N个消息集合中各消息集合的优先级,在电子设备的显示界面中显示M个消息集合。由此可以实现对各应用的消息集合进行排序,将优先级最高的消息优先显示,从而提高用户查看消息的效率。
可选的,处理器610,还用于对于N个消息集合中的每一个消息集合,根据预先设置的映射关系,确定所述消息集合中消息的数量对应的第一得分、所述消息集合所属的应用的类型对应的第二得分,所述消息集合中消息的接收时间对应的第三得分;根据预先设置的权重关系,确定所述消息集合的总得分;根据每个所述消息集合的总得分,确定每个所述消息集合的优先级。
通过基于N个消息集合的特征信息获取每个消息集合的优先级,由此确定N个消息集合的重要程度,方便后续显示时,能基于N个消息集合的优先级进行显示。
可选的,处理器610,还用于将所述消息集合中目标消息的接收时间对应的目标得分确定为所述第三得分,其中,所述目标消息为每个消息集合中最新接收到的消息;或者,根据所述消息集合中每一个消息的接收时间对应的得分,以及所述消息集合中消息的数量,确定所述消息集合中消息的平均得分,将所述平均得分确定为所述第三得分。
通过每个消息集合中各消息的接收时间,确定消息集合的第三得分,从而可以基于第三得分,实现对消息集合的优先级计算。
可选地,处理器610,还用于在所述电子设备处于亮屏状态下,按照优先级从高到低依次显示所述M个消息集合;其中,所述第一消息集合对应的透明度最低,所述第一消息集合为M个消息集合中优先级最高的消息集合。
按照优先级从高到低依次以渐显动画的方式对各消息集合进行显示,随着消息集合的依次显示,每个消息集合的透明度也越来越小,在显示界面上越来越突出,从而使得用户在显示界面上快速获取到优先级最高的消息。
可选地,处理器610,还用于在所述电子设备处于亮屏状态下,按照优先级从高到低依次对所述M个消息集合中的目标信息进行显示,其中,所述目标消息为每个消息集合中最新接收到的消息。
在对M个消息集合进行显示时,将每个消息集合中的目标消息进行显示即可,由此用户可以直接查看M个消息集合中的最新消息,如果用户特别重视某一目标消息,可点击进去继续查看该消息集合中的其他信息,这样也简化了用户的查看操作。
应理解的是,本申请实施例中,输入单元604可以包括图形处理器(Graphics Processing Unit,GPU)6041和麦克风6042,图形处理器6041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元605可包括显示面板6051,可以采用液晶显示器、有机发光二极管等形式来配置显示面板6051。用户输入单元607包括触控面板6071以及其他输入设备6072。触控面板6071,也称为触摸屏。触控面板6071可包括触摸检测装置和触摸控制器两个部分。其他输入设备6072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器609可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器610可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述消息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述消息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的, 本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (19)

  1. 一种消息显示方法,包括:
    在电子设备处于息屏状态的情况下,接收不同发送源发送的N个消息集合,所述N为正整数;
    对于N个消息集合中的每一个消息集合,根据所述消息集合的特征信息,确定所述消息集合的优先级;
    在所述电子设备处于亮屏状态下,根据所述N个消息集合中各消息集合的优先级,在所述电子设备的显示界面中显示M个消息集合,所述M为小于或等于所述N的正整数;
    其中,所述特征信息包括:所述消息集合中消息的数量、所述消息集合所属的应用的类型,以及所述消息集合中消息的接收时间。
  2. 根据权利要求1所述的消息显示方法,其中,所述对于N个消息集合中的每一个消息集合,根据所述消息集合的特征信息,确定所述消息集合的优先级,包括:
    对于N个消息集合中的每一个消息集合,根据预先设置的映射关系,确定所述消息集合中消息的数量对应的第一得分、所述消息集合所属的应用的类型对应的第二得分,所述消息集合中消息的接收时间对应的第三得分;
    根据预先设置的权重关系,确定所述消息集合的总得分;
    根据所述消息集合的总得分,确定每一个所述消息集合的优先级。
  3. 根据权利要求2所述的消息显示方法,其中,所述确定所述消息集合中消息的接收时间对应的第三得分,包括:
    将所述消息集合中目标消息的接收时间对应的目标得分确定为所述第三得分,其中,所述目标消息为所述消息集合中最新接收到的消息;或者,
    根据所述消息集合中每一个消息的接收时间对应的得分,以及所述消息集合中消息的数量,确定所述消息集合中消息接收时间对应的平均得分,将所述平均得分确定为所述第三得分。
  4. 根据权利要求1所述的消息显示方法,其中,所述在所述电子设备处于亮屏状态下,根据所述N个消息集合中各消息集合的优先级,在所述电子 设备的显示界面中显示M个消息集合,包括:
    在所述电子设备处于亮屏状态下,按照优先级从高到低依次显示所述M个消息集合;
    其中,第一消息集合对应的透明度最低,所述第一消息集合为M个消息集合中优先级最高的消息集合。
  5. 根据权利要求1所述的消息显示方法,其中,在所述消息集合包括多个消息的情况下,所述在所述电子设备处于亮屏状态下,根据所述N个消息集合中各消息集合的优先级,在所述电子设备的显示界面中显示M个消息集合,包括:
    在所述电子设备处于亮屏状态下,按照优先级从高到低依次对所述M个消息集合中的目标信息进行显示,其中,所述目标消息为每个消息集合中最新接收到的消息。
  6. 根据权利要求4所述的消息显示方法,还包括:
    在所述第一消息集合显示预设时长后再显示背景图片。
  7. 根据权利要求4所述的消息显示方法,还包括:
    根据预先设置的显示优先级,依次对显示界面上的其它控件或图标进行显示。
  8. 一种消息显示装置,包括:
    接收模块,用于在电子设备处于息屏状态的情况下,接收不同发送源发送的N个消息集合,所述N为正整数;
    确定模块,用于对于N个消息集合中的每一个消息集合,根据所述消息集合的特征信息,确定所述消息集合的优先级,其中,所述特征信息包括:所述消息集合中消息的数量、所述消息集合所属的应用的类型,以及所述消息集合中消息的接收时间;
    显示模块,用于在所述电子设备处于亮屏状态下,根据所述N个消息集合中各消息集合的优先级,在所述电子设备的显示界面中显示M个消息集合,所述M为小于或等于所述N的正整数。
  9. 根据权利要求8所述的消息显示装置,其中,所述确定模块,包括:
    第一确定单元,用于对于N个消息集合中的每一个消息集合,根据预先 设置的映射关系,确定所述消息集合中消息的数量对应的第一得分、所述消息集合所属的应用的类型对应的第二得分,所述消息集合中消息的接收时间对应的第三得分;
    第二确定单元,用于根据预先设置的权重关系,确定所述消息集合的总得分;
    第三确定单元,用于根据每个所述消息集合的总得分,确定每个所述消息集合的优先级。
  10. 根据权利要求9所述的消息显示装置,其中,所述第一确定单元,还用于将所述消息集合中目标消息的接收时间对应的目标得分确定为所述第三得分,其中,所述目标消息为所述消息集合中最新接收到的消息;或者,根据所述消息集合中每一个消息的接收时间对应的得分,以及所述消息集合中消息的数量,确定所述消息集合中消息接收时间对应的平均得分,将所述平均得分确定为所述第三得分。
  11. 根据权利要求8所述的消息显示装置,其中,所述显示模块,还用于在所述电子设备处于亮屏状态下,按照优先级从高到低依次显示所述M个消息集合;
    其中,第一消息集合对应的透明度最低,所述第一消息集合为M个消息集合中优先级最高的消息集合。
  12. 根据权利要求8所述的消息显示装置,其中,所述显示模块,还用于在所述电子设备处于亮屏状态下,按照优先级从高到低依次对所述M个消息集合中的目标信息进行显示,其中,所述目标消息为每个消息集合中最新接收到的消息。
  13. 根据权利要求11所述的消息显示装置,其中,所述显示模块,还用于在所述第一消息集合显示预设时长后再显示背景图片。
  14. 根据权利要求11所述的消息显示装置,其中,所述显示模块,还用于根据预先设置的显示优先级,依次对显示界面上的其它控件或图标进行显示。
  15. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如 权利要求1-7任一项所述的消息显示方法的步骤。
  16. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-7任一项所述的消息显示方法的步骤。
  17. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现权利要求1-7任一项所述的消息显示方法。
  18. 一种计算机程序产品,所述计算机程序产品被至少一个处理器执行以实现如权利要求1-7任一项所述的消息显示方法。
  19. 一种电子设备,被配置成用于执行如权利要求1-7任一项所述的消息显示方法。
PCT/CN2021/106438 2020-07-16 2021-07-15 消息显示方法、装置、电子设备和存储介质 WO2022012617A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010685213.8 2020-07-16
CN202010685213.8A CN111865763A (zh) 2020-07-16 2020-07-16 消息显示方法、装置、电子设备和存储介质

Publications (1)

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

Family

ID=72984575

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/106438 WO2022012617A1 (zh) 2020-07-16 2021-07-15 消息显示方法、装置、电子设备和存储介质

Country Status (2)

Country Link
CN (1) CN111865763A (zh)
WO (1) WO2022012617A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111865763A (zh) * 2020-07-16 2020-10-30 维沃移动通信有限公司 消息显示方法、装置、电子设备和存储介质
CN113238826B (zh) * 2021-05-14 2023-06-30 深圳掌酷软件有限公司 一种aod息屏显示的动态变化系统

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100444A (zh) * 2015-06-29 2015-11-25 小米科技有限责任公司 信息展示方法及装置
CN105677313A (zh) * 2015-11-06 2016-06-15 乐视移动智能信息技术(北京)有限公司 通知消息的显示方法、装置及终端设备
CN107395858A (zh) * 2017-06-07 2017-11-24 努比亚技术有限公司 一种通知消息的提示方法、终端及计算机可读存储介质
CN108337374A (zh) * 2018-01-23 2018-07-27 维沃移动通信有限公司 一种消息提示方法及移动终端
WO2019061495A1 (zh) * 2017-09-30 2019-04-04 华为技术有限公司 一种消息的处理方法及装置
CN111865763A (zh) * 2020-07-16 2020-10-30 维沃移动通信有限公司 消息显示方法、装置、电子设备和存储介质

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140137509A (ko) * 2013-05-22 2014-12-03 삼성전자주식회사 알림 기능 운용 방법 및 이를 지원하는 전자 장치
CN104767670A (zh) * 2014-01-08 2015-07-08 陈英 消息推送系统及方法
CN106792076B (zh) * 2015-11-20 2020-04-21 腾讯科技(北京)有限公司 一种进行信息展示的方法、装置和系统
CN105786313B (zh) * 2016-02-25 2019-08-23 北京金山安全软件有限公司 一种应用通知消息的显示方法及装置
CN106604243A (zh) * 2016-11-29 2017-04-26 珠海市魅族科技有限公司 交互控制方法及装置
CN109725784B (zh) * 2017-10-30 2022-04-12 华为技术有限公司 信息显示方法及终端设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100444A (zh) * 2015-06-29 2015-11-25 小米科技有限责任公司 信息展示方法及装置
CN105677313A (zh) * 2015-11-06 2016-06-15 乐视移动智能信息技术(北京)有限公司 通知消息的显示方法、装置及终端设备
CN107395858A (zh) * 2017-06-07 2017-11-24 努比亚技术有限公司 一种通知消息的提示方法、终端及计算机可读存储介质
WO2019061495A1 (zh) * 2017-09-30 2019-04-04 华为技术有限公司 一种消息的处理方法及装置
CN108337374A (zh) * 2018-01-23 2018-07-27 维沃移动通信有限公司 一种消息提示方法及移动终端
CN111865763A (zh) * 2020-07-16 2020-10-30 维沃移动通信有限公司 消息显示方法、装置、电子设备和存储介质

Also Published As

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

Similar Documents

Publication Publication Date Title
US10827306B2 (en) Intelligent event information presentation method and terminal
WO2022089568A1 (zh) 文件分享的方法、装置和电子设备
WO2022063022A1 (zh) 视频预览方法、装置及电子设备
WO2022017525A1 (zh) 页面显示方法、装置和电子设备
WO2022012617A1 (zh) 消息显示方法、装置、电子设备和存储介质
WO2022042701A1 (zh) 权限设置方法、装置及电子设备
WO2022206698A1 (zh) 消息显示方法、装置及电子设备
CN107390976B (zh) 图标显示处理方法及电子设备
US20230214111A1 (en) Notification message display control method and apparatus, electronic device, and readable storage medium
WO2022161431A1 (zh) 显示方法、装置及电子设备
WO2023045885A1 (zh) 同步方法和装置
WO2022068864A1 (zh) 后台任务的显示方法、装置、电子设备和可读存储介质
WO2022135295A1 (zh) 发送方法、装置及电子设备
WO2022012665A1 (zh) 壁纸显示控制方法、装置和电子设备
WO2022127766A1 (zh) 信息的发送方法及装置、电子设备和可读存储介质
WO2023046184A1 (zh) 消息处理方法、装置和电子设备
WO2023066109A1 (zh) 一种显示方法、装置、电子设备和可读存储介质
WO2022253182A1 (zh) 通信方法、装置、电子设备以及可读存储介质
WO2023025121A1 (zh) 显示方法、装置、电子设备及可读存储介质
WO2023040845A1 (zh) 消息发送方法、装置及电子设备
WO2022214082A1 (zh) 通知消息显示方法、装置、设备、可读存储介质和芯片
WO2022213945A1 (zh) 应用提醒方法、装置及电子设备
WO2022143660A1 (zh) 图标显示方法、装置及电子设备
CN112148167A (zh) 控件设置方法、装置和电子设备
CN111796734A (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: 21841259

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 21841259

Country of ref document: EP

Kind code of ref document: A1