CN115756705A - Notification bar message display method and device - Google Patents
Notification bar message display method and device Download PDFInfo
- Publication number
- CN115756705A CN115756705A CN202211466493.9A CN202211466493A CN115756705A CN 115756705 A CN115756705 A CN 115756705A CN 202211466493 A CN202211466493 A CN 202211466493A CN 115756705 A CN115756705 A CN 115756705A
- Authority
- CN
- China
- Prior art keywords
- notification message
- message
- initial notification
- initial
- content
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a notification bar message display method and device, and belongs to the technical field of communication. The method comprises the following steps: under the condition that the number of the notification messages displayed in the notification bar is larger than a preset number threshold value, acquiring the content of each initial notification message in the notification bar; determining a theme corresponding to each initial notification message according to the content of the notification message; and updating and displaying the notification bar according to the theme information, wherein the updated notification bar comprises M themes, the number of notification messages displayed under each theme is smaller than a first number threshold, and M is a positive integer.
Description
Technical Field
The application belongs to the field of computers, and particularly relates to a notification bar message display method and device.
Background
With the advent of the big data age, people receive different notification messages for different applications each day. For the pushing of the hot event, the similarity of information pushed by different application programs is very large, so that a trouble is caused to a user, and after the user finishes viewing one notification message, the user needs to return to the notification bar again and click to view the next notification message, so that the operation is complicated.
Disclosure of Invention
The embodiment of the application aims to provide a notification bar message display method and device. The problems that the notification messages are repeated, the user experience degree is low, and the operation for checking the notification messages is complex in the prior art are solved.
In a first aspect, an embodiment of the present application provides a notification bar message display method, where the method includes:
under the condition that the number of the notification messages displayed in the notification bar is larger than a preset number threshold value, acquiring the content of each initial notification message in the notification bar;
determining a theme corresponding to each initial notification message according to the content of the notification message;
and updating and displaying the notification bar according to the theme information, wherein the updated notification bar comprises M themes, the number of notification messages displayed under each theme is smaller than a first number threshold, and M is a positive integer.
In a second aspect, an embodiment of the present application provides a notification bar message display apparatus, including:
the first acquisition module is used for acquiring the content of each initial notification message in the notification bar when detecting that the number of the notification messages displayed in the notification bar is greater than a preset number threshold;
a first determining module, configured to determine, according to the content of the notification message, a theme corresponding to each initial notification message;
and the updating module is used for updating and displaying the notification bar according to the theme information, wherein the updated notification bar comprises M themes, the number of the notification messages displayed under each theme is smaller than a first number threshold, and M is a positive integer.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, under the condition that the number of the notification messages displayed in the notification bar is detected to be larger than the preset number threshold, the corresponding theme of each initial notification message is determined according to the content of each initial notification message in the notification bar, the notification bar is updated and displayed according to the theme, the updated notification bar comprises M themes, and the number of the notification messages displayed under each theme is smaller than the first number threshold.
Drawings
FIG. 1 is a flow diagram illustrating a notification bar message display method in accordance with an illustrative embodiment;
FIG. 2 is one of the display diagrams of an aggregated message shown in an example embodiment;
FIG. 3 is one of the schematic diagrams illustrating an aggregation of initial notification messages in accordance with an illustrative embodiment;
fig. 4 is a second schematic diagram illustrating an aggregation manner of the initial notification message according to an example embodiment;
FIG. 5 is a schematic diagram illustrating the structure of a notification bar message display device, according to an exemplary embodiment;
FIG. 6 is a schematic diagram of an electronic device shown in an exemplary embodiment;
fig. 7 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
As described in the background art, in the prior art, there are problems of repeated notification messages in a notification bar, low user experience, and tedious notification message viewing operation, and to solve the problem, an embodiment of the present application provides a notification bar message display method and apparatus, where when it is detected that the number of notification messages displayed in the notification bar is greater than a preset number threshold, a topic corresponding to each initial notification message is determined according to the content of each initial notification message in the notification bar, the notification bar is updated and displayed according to the topic, the updated notification bar includes M topics, and the number of notification messages displayed in each topic is smaller than the first number threshold, so that only notification messages smaller than the first number threshold are displayed for the same topic in the notification bar, and none of each initial notification message is displayed, the number of notification messages in the notification bar is reduced, so that when a user views a notification message of a certain topic, only a small number of notification messages displayed in the topic need to be clicked, and all notification messages need not be clicked, thereby saving time for the user to view notification messages in the notification bar, and improving user experience.
The following describes in detail the notification bar message display provided by the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a notification bar message display method according to an embodiment of the present application, where an execution main body of the notification bar message display method may be an electronic device, and it should be noted that the execution main body does not limit the embodiment of the present application.
In the embodiments of the present application, the electronic device may be, but is not limited to, a Personal Computer (PC), a smart phone, a tablet Computer, a Personal Digital Assistant (PDA), or the like.
As shown in fig. 1, a notification bar message display method provided by an embodiment of the present application may include steps 110 to 130.
Step 110, in the case that the number of the notification messages displayed in the notification bar is detected to be greater than the preset number threshold, acquiring the content of each initial notification message in the notification bar.
The preset number threshold may be the number of notification messages displayed in a preset notification bar, and the number may be set according to the user requirement, which is not limited herein.
The initial notification message may be the notification message initially displayed in the notification bar. That is, as in the related art, all received notification messages are displayed in the notification bar, and when there are many notification messages for a certain application, the notification messages for the application are displayed in a thumbnail manner.
And step 120, determining a theme corresponding to each initial notification message according to the content of each initial notification message.
In some embodiments of the present application, the topic corresponding to each initial notification message may be determined by a content identification technology, and specifically, the topic corresponding to each initial notification message may be obtained by identifying the content in each initial notification message and then analyzing the content of each initial notification message.
And step 130, updating the display notification bar according to the topics, wherein the updated notification bar comprises M topics, the number of the notification messages displayed under each topic is less than a first number threshold, and M is a positive integer.
The first number threshold may be a preset maximum number of notification messages allowed to be displayed under each theme, and may be 1, for example, that only one notification message can be displayed under one theme. The specific first number threshold may be set according to the user requirement, and is not limited herein.
In one example, taking the first number threshold as 1 as an example, if an initial notification message of 3 topics is initially received in the notification bar, where topic 1 includes 3 initial notification messages, topic 2 includes 5 initial notification messages, and topic 3 includes 2 initial notification messages, after the notification bar is updated according to the topics, the updated notification bar includes 3 topics, and only 1 notification message is displayed under each topic.
In this embodiment, the updated notification bar displays messages according to the theme, so that when a certain hot event occurs, the notification bar can be prevented from simultaneously displaying a plurality of pieces of similar message information, and the display of the notification bar is more concise.
In some embodiments of the present application, in order to further enhance the user experience, after step 130, the above-mentioned notification bar information display method may further include:
receiving a first input of a first target notification message under a first subject from a user;
responding to the first input, and displaying a first interface, wherein the first interface comprises the aggregated content of the N initial notification messages corresponding to the first theme;
the first theme may be any one of M themes, that is, the M themes may include the first theme.
The first target notification message may be any one of the notification messages below the first number threshold on the first topic displayed in the updated notification bar.
The first input may be used to display the first interface, and the first input may be, but is not limited to, a click input, a slide input, a voice input, a gesture input, and the like for the first target notification message, and may also be a combination of any two or more of the above inputs, which is not limited herein.
The first interface may be an interface displayed in response to a first input by the user of a first targeted notification message on a first topic. The first interface may include aggregated content of the N initial notification messages corresponding to the first topic.
The N initial notification messages may be all or part of the initial notification messages corresponding to the first topic, and N is a positive integer.
In one example, referring to fig. 2, the notification bar has "a topic", "B topic", and "C topic", and only one notification message is displayed under each topic (the notification message is a message formed by aggregating all or part of the initial notification messages corresponding to the first topic), and if the user clicks on the "a topic", a first interface 21 may be displayed, and an aggregated message 22 corresponding to the "a topic" is displayed on the first interface (the aggregated message includes the text information 221 and the video information 222 in fig. 2).
In the embodiment of the application, the first interface can be displayed by responding to the first input of the first target notification message under the first theme by the user, the first interface can include the aggregated content of the N initial notification messages corresponding to the first theme, so that when the user wants to view the notification message of a certain theme, all or part of the initial notification messages under the theme can be viewed by clicking the main point once, and all the initial notification messages under the theme do not need to be displayed, thereby improving the efficiency of reading the notification message of the theme by the user, increasing the readability of the notification message under the theme, and improving the user experience.
In some embodiments of the present application, a message view list may be further included in the first interface, and all initial notification messages belonging to the first topic may be included in the message view list.
With continued reference to fig. 2, if the initial notification message under the "topic a" includes an initial notification message 1, an initial notification message 2, an initial notification message 3, and an initial notification message 4, wherein the initial notification message 1, the initial notification message 2, the initial notification message 3, and the initial notification message 4 are aggregated to form an aggregated message to be displayed on the first interface 21. Also displayed on the first interface 21 is a message view list 23, in which message view list 23 all initial notification messages under "subject a" are displayed.
In some embodiments of the application, in order to further enhance the user experience, after the displaying the first interface, the notification bar information display method may further include:
receiving a second input of the user to a second target notification message in the message viewing list;
in response to the second input, a second target notification message is displayed.
The second target notification message may be any one of all the initial notification messages belonging to the first topic in the message view list.
The second input may be used to display the second target notification message, and the second input may be, but is not limited to, a click input, a slide input, a voice input, a gesture input, and the like for the second target notification message, and may also be a combination of any two or more of the above inputs, which is not limited herein.
Continuing with the above example, if the user clicks on the initial notification message 3 in fig. 2 (i.e., the second target notification message), the contents of the initial notification message 3 may be displayed.
In the embodiment of the application, a message view list may be further included on the first interface, where the message view list may include all initial notification messages belonging to a first topic, so that a second target notification message may be directly displayed by responding to a second input of a user to the second target notification message in the message view list, and after all or part of the initial notification messages in a certain topic are displayed, if the user wants to view specific contents of all the initial notification messages in the topic, the user may view the initial notification messages by performing the first input on the initial notification messages, which is simple in operation.
In some embodiments of the present application, when all or part of the initial notification messages under the first topic are aggregated to form an aggregated message, aggregation may be performed in different manners according to the type of the initial notification message. Specific types of initial notification messages may include text, video, pictures, and the like.
In some embodiments of the present application, the first topic corresponds to a first initial notification message and a second initial notification message, and the following detailed description is provided for the manner of aggregation of the types of the first notification message and the second notification message:
(1) The first initial notification message and the second initial notification message are of different types
In some embodiments of the application, when the types of the first initial notification message and the second initial notification message are different, the first initial notification message and the second initial notification message may be directly spliced to obtain an aggregated message, and then the spliced content is displayed in the first interface, that is, when the types of the first initial notification message and the second initial notification message are different, the content in the first interface is the content obtained by splicing the first initial notification message and the second initial notification message.
In an example, taking the first initial notification message as a text type and the second initial notification message as a video type as an example for explanation, referring to fig. 3, the first initial notification message and the second initial notification message are both notification messages under a certain theme, where the first initial notification message 31 is a text type and the second initial notification message 32 is a video type, the two notification messages may be directly spliced to form an aggregated message 33, where the aggregated message 33 includes the second initial notification message 31 of the video type and the first initial notification message 32 of the text type.
In the embodiment of the application, the first initial notification messages and the second initial notification messages of different types under the same theme are spliced, and the spliced aggregated messages are displayed on the first interface, so that a user can visually check the initial notification messages of different types under the theme at the same time through one-time operation, and the checking efficiency of checking the initial notification messages of different types by the user at the same time is improved.
(2) The first initial notification message and the second initial notification message are of the same type
In some embodiments of the present application, when the types of the first initial notification message and the second initial notification message are the same, the first content of the first initial notification message and the second content of the second initial notification message may be merged to obtain an aggregated message, and then the merged content is displayed in the first interface, that is, in a case that the types of the first initial notification message and the second initial notification message are the same, the content in the first interface is the merged content of the first initial notification message and the second content of the second initial notification message.
It can be understood that the merged content includes different portions of the first content and the second content, that is, if there is a portion in the second content that is duplicated in the first content, the portion is removed, so that the last merged content is a message for the topic that does not include duplicated content.
In the embodiment of the application, the first initial notification message and the second initial notification message of the same type under the same theme are merged, and the merged aggregated message is displayed on the first interface, so that a user can view all contents of the initial notification messages of the same type under the theme through one-time operation, and the viewing efficiency of the user for simultaneously viewing different initial notification messages of the same type is improved.
In some embodiments of the present application, in a case that the types of the first initial notification message and the second initial notification message are the same, the first content of the first initial notification message and the second content of the second initial notification message are combined specifically by:
determining a similarity between the first content and the second content;
and merging the first initial notification message and the second initial notification message based on the similarity.
Wherein the first content may be content of the first initial notification message.
The second content may be content of a second initial notification message.
In some embodiments of the present application, taking as an example that the types of the first initial notification message and the second initial notification message are both text types, and the types of the first initial notification message and the second initial notification message are both video types, how to combine the first content of the first initial notification message and the second content of the second initial notification message is described separately:
(a) The types of the first initial notification message and the second initial notification message are both text types
And under the condition that the first notification message and the second notification message are both in text types, removing the duplicate of the segments with the similarity greater than a preset similarity threshold value in the first notification message and the second notification message, and aggregating the first initial notification message and the second initial notification message after the duplicate removal to obtain an aggregated message.
The preset similarity threshold may be a preset similarity threshold of the first content and the second content, and the threshold may be set according to a user requirement, which is not limited herein.
In some embodiments of the present application, for the first initial notification message and the second initial notification message which are both text types, the first initial notification message and the second initial notification message may be split into paragraphs, the similarities between the paragraphs are compared, and deduplication is performed according to the similarities.
It should be noted that, during deduplication, the paragraphs of the initial notification message with a large reading amount may be reserved.
In an example, referring to fig. 4, the first initial notification message and the second initial notification message are both notification messages of text types under a certain topic, where the first initial notification message includes a paragraph a and a paragraph B, the second initial notification message includes a paragraph C and a paragraph D, and through comparison, it is found that the similarity between the paragraph a and the paragraph C is higher than a preset similarity threshold, the similarity between other paragraphs is smaller than the preset similarity threshold, and the reading amount of the first initial notification message in which the paragraph a is located is greater than the reading amount of the second initial notification message in which the paragraph C is located, so that the paragraph a is retained, the paragraph C is removed, and the paragraph a, the paragraph B, and the paragraph D are spliced into new text information, that is, the aggregation message 41 shown in fig. 4 is obtained.
(b) The types of the first initial notification message and the second initial notification message are both video types
In some embodiments of the present application, in a case that the first initial notification message and the second initial notification message are both of a video type and the similarity is greater than a preset similarity threshold, a notification message with a higher degree of the first initial notification message and the second initial notification message is taken as an aggregated message.
In some embodiments of the present application, the notification message with the higher degree of popularity in the first initial notification message and the second initial notification message is taken as the aggregated message, and may be ranked according to the number of comments, comment time and/or number of viewers of the videos in the first initial notification message and the videos in the second initial notification message, and the notification message corresponding to the video with the highest comment data, the latest comments and/or the number of viewers is taken as the notification message with the highest degree of popularity. The specific determination of the heat degree can be set according to the requirements of users.
It should be noted that, if the similarity of the first initial notification message and the second initial notification message which are of the same video type in the same subject is smaller than the preset similarity threshold, both the first initial notification message and the second initial notification message are retained to generate a video list, and the sliding video can be switched to view.
In the embodiment of the present application, under the condition that the types of the first initial notification message and the second initial notification message are the same, the first initial notification message and the second initial notification message may be merged according to the similarity between the first content of the first initial notification message and the second content of the second initial notification message, so that only one content with high similarity may be retained, and the contents with low similarity may be spliced, so that each type of notification message under the theme may be retained, so that the user may view different notification messages of each type under the theme.
It should be noted that, if multiple types of initial notification messages are received in the notification bar, for example, an initial notification message of a text type a topic and an initial notification message of a video type a topic are received in the notification bar, all the initial notification messages of the video type a topic may be aggregated according to the aggregation mode (b) to obtain an aggregation result 1, then all the initial notification messages of the text type a topic are aggregated according to the aggregation mode (a) to obtain an aggregation result 2, and then the aggregation result 1 and the aggregation result 2 are aggregated according to the aggregation mode (1) to obtain a final aggregation result.
According to the notification bar message display method provided by the embodiment of the application, the execution main body can be a notification bar message display device. In the embodiment of the present application, a notification bar message display device executes a notification bar message display method as an example, and the notification bar message display device provided in the embodiment of the present application is described.
Fig. 5 is a schematic structural diagram illustrating a notification bar message display apparatus according to an exemplary embodiment.
As shown in fig. 5, the notification bar message display apparatus 500 may include:
a first obtaining module 510, configured to obtain the content of each initial notification message in the notification bar when detecting that the number of notification messages displayed in the notification bar is greater than a preset number threshold;
a first determining module 520, configured to determine, according to each of the initial contents, a topic corresponding to each of the initial notification messages;
an updating module 530, configured to update and display the notification bar according to the topics, where the updated notification bar includes M topics, a number of notification messages displayed under each topic is smaller than a first number threshold, and M is a positive integer;
in the embodiment of the application, under the condition that the number of the notification messages displayed in the notification bar is detected to be larger than the preset number threshold, the corresponding theme of each initial notification message is determined according to the content of each initial notification message in the notification bar, the notification bar is updated and displayed according to the theme, the updated notification bar comprises M themes, the number of the notification messages displayed under each theme is smaller than the first number threshold, only the notification messages smaller than the first number threshold are displayed for the same theme in the notification bar, each initial notification message is not displayed, the number of the notification messages in the notification bar is reduced, and therefore when a user views the notification messages of a certain theme, the user only needs to click a small number of the notification messages displayed under the theme without clicking all the notification messages, the time for the user to view the notification messages of the notification bar is saved, and the user experience is improved.
In some embodiments of the present application, in order to further enhance the user experience, the notification bar message display apparatus may further include:
the system comprises a first receiving module, a first sending module and a second receiving module, wherein the first receiving module is used for receiving first input of a first target notification message under a first theme from a user, and the M themes comprise the first theme;
a first display module, configured to respond to the first input, and display a first interface, where the first interface includes content obtained by aggregating N initial notification messages corresponding to the first topic; wherein, the N initial notification messages are all or part of the initial notification messages corresponding to the first topic, and N is a positive integer.
In some embodiments of the present application, in order to further enhance the user experience, a message viewing list is further included in the first interface, where the message viewing list includes all initial notification messages belonging to the first topic; the notification bar message display device according to the above aspect may further include:
the second receiving module is used for receiving second input of a user to a second target notification message in the message viewing list;
a second display module to display the second target notification message in response to the second input.
In some embodiments of the present application, to further enhance the user experience, the first topic corresponds to a first initial notification message and a second initial notification message; under the condition that the types of the first initial notification message and the second initial notification message are different, the content in the first interface is the content obtained by splicing the first initial notification message and the second initial notification message; under the condition that the types of the first initial notification message and the second initial notification message are the same, the content in the first interface is the content obtained by combining the first content of the first initial notification message and the second content of the second initial notification message.
In some embodiments of the present application, in order to further enhance the user experience, in a case that the first initial notification message and the second initial notification message are of the same type, the notification bar message display apparatus may further include:
a second determining module for determining a similarity between the first content and the second content;
and the merging module is used for merging the first initial notification message and the second initial notification message based on the similarity.
The notification bar message display device in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (Network Attached Storage, NAS), a personal computer (NAS), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The notification bar message display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The notification bar message display device provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 6, an electronic device 600 is further provided in an embodiment of the present application, and includes a processor 601 and a memory 602, where the memory 602 stores a program or an instruction that can be executed on the processor 601, and when the program or the instruction is executed by the processor 601, the steps of the notification bar message display method embodiment are implemented, and the same technical effects can be achieved, and are not described again here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710.
Those skilled in the art will appreciate that the electronic device 700 may also include a power supply (e.g., a battery) for powering the various components, and the power supply may be logically coupled to the processor 710 via a power management system, such that the functions of managing charging, discharging, and power consumption may be performed via the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 710 is configured to, in a case that it is detected that the number of notification messages displayed in the notification bar is greater than a preset number threshold, obtain the content of each initial notification message in the notification bar; determining a theme corresponding to each initial notification message according to the content of each initial notification message; and updating and displaying the notification bar according to the theme, wherein the updated notification bar comprises M themes, the number of notification messages displayed under each theme is smaller than a first number threshold, and M is a positive integer.
Therefore, under the condition that the number of the notification messages displayed in the notification bar is larger than the preset number threshold, the corresponding theme of each initial notification message is determined according to the content of each initial notification message in the notification bar, the notification bar is updated and displayed according to the theme, the updated notification bar comprises M themes, the number of the notification messages displayed under each theme is smaller than the first number threshold, only the notification messages smaller than the first number threshold are displayed for the same theme in the notification bar, each initial notification message cannot be displayed, the number of the notification messages in the notification bar is reduced, and therefore when a user views the notification messages of a certain theme, only a small number of the notification messages displayed under the theme need to be clicked, all the notification messages do not need to be clicked, the time for the user to view the notification messages of the notification bar is saved, and the user experience is improved.
Optionally, the user input unit 707 is configured to receive a first input of a first target notification message under a first topic from a user, where the M topics include the first topic;
the processor 710 is further configured to respond to the first input, and display a first interface, where the first interface includes aggregated content of the N initial notification messages corresponding to the first topic; wherein, the N initial notification messages are all or part of the initial notification messages corresponding to the first topic, and N is a positive integer.
Therefore, the first interface can be displayed by responding to the first input of the first target notification message under the first theme by the user, the content of the aggregated N initial notification messages corresponding to the first theme can be included on the first interface, so that when the user wants to check the notification message of a certain theme, all the initial notification messages or part of the aggregated messages of the initial notification messages under the theme can be checked only by clicking once, the efficiency of reading the notification message of the theme by the user is improved, the readability of the notification message under the theme is increased, and the user experience is improved.
Optionally, the first interface further includes a message view list, where the message view list includes all initial notification messages belonging to the first topic;
a user input unit 707 further configured to receive a second input of a second target notification message in the message view list from the user;
processor 710 is further configured to display the second target notification message in response to the second input.
In this way, the first interface may further include a message view list, where the message view list may include all initial notification messages belonging to the first topic, so that the second target notification message may be directly displayed by responding to a second input of the user to the second target notification message in the message view list, so that after displaying an aggregated message of all or part of the initial notification messages in a certain topic, if the user wants to view specific contents of all the initial notification messages in the topic, the user may view the initial notification message by performing the first input on the initial notification message, which is simple in operation and improves user experience.
Optionally, the first topic corresponds to a first initial notification message and a second initial notification message;
under the condition that the types of the first initial notification message and the second initial notification message are different, the content in the first interface is the content obtained by splicing the first initial notification message and the second initial notification message;
under the condition that the types of the first initial notification message and the second initial notification message are the same, the content in the first interface is the content obtained by combining the first content of the first initial notification message and the second content of the second initial notification message.
Optionally, in a case that the types of the first initial notification message and the second initial notification message are the same, the processor 710 is further configured to determine a similarity between the first content and the second content; and merging the first initial notification message and the second initial notification message based on the similarity.
In this way, under the condition that the types of the first initial notification message and the second initial notification message are the same, the first initial notification message and the second initial notification message can be merged according to the similarity between the first content of the first initial notification message and the second content of the second initial notification message, so that only one content with high similarity can be reserved, and the contents with low similarity can be spliced, so that each type of notification message under the theme can be reserved, and a user can view different notification messages of each type under the theme.
It should be understood that in the embodiment of the present application, the input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics Processing Unit 7041 processes image data of still pictures or videos obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 707 includes at least one of a touch panel 7071 and other input devices 7072. The touch panel 7071 is also referred to as a touch screen. The touch panel 7071 may include two parts of a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 709 may be used to store software programs as well as various data. The memory 709 may mainly include a first storage area for storing a program or an instruction and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, and the like) required by at least one function, and the like. Further, the memory 709 may include volatile memory or nonvolatile memory, or the memory 709 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct bus RAM (DRRAM). The memory 709 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 710 may include one or more processing units; optionally, the processor 710 integrates an application processor, which mainly handles operations related to the operating system, user interface, application programs, etc., and a modem processor, which mainly handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the process of the notification bar message display method embodiment is implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the notification bar message display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the above notification bar message display method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. A notification bar message display method, the method comprising:
under the condition that the number of the notification messages displayed in the notification bar is larger than a preset number threshold value, acquiring the content of each initial notification message in the notification bar;
determining a theme corresponding to each initial notification message according to the content of each initial notification message;
and updating and displaying the notification bar according to the topics, wherein the updated notification bar comprises M topics, the number of notification messages displayed under each topic is smaller than a first number threshold, and M is a positive integer.
2. The method of claim 1, wherein after the updating displays the notification bar, the method further comprises:
receiving a first input of a user to a first target notification message under a first topic, wherein the M topics comprise the first topic;
responding to the first input, and displaying a first interface, wherein the first interface comprises the aggregated content of the N initial notification messages corresponding to the first theme;
wherein, the N initial notification messages are all or part of the initial notification messages corresponding to the first topic, and N is a positive integer.
3. The method of claim 2, further comprising a message view list in the first interface, the message view list including all initial notification messages belonging to the first topic;
after the displaying the first interface, the method further comprises:
receiving a second input of a user to a second target notification message in the message viewing list;
in response to the second input, displaying the second target notification message.
4. The method of claim 2, wherein the first topic corresponds to a first initial notification message and a second initial notification message;
under the condition that the types of the first initial notification message and the second initial notification message are different, the content in the first interface is the content obtained by splicing the first initial notification message and the second initial notification message;
under the condition that the types of the first initial notification message and the second initial notification message are the same, the content in the first interface is the content obtained by combining the first content of the first initial notification message and the second content of the second initial notification message.
5. The method of claim 4, wherein in the case that the first initial notification message and the second initial notification message are of the same type, the method further comprises:
determining a similarity between the first content and the second content;
and merging the first initial notification message and the second initial notification message based on the similarity.
6. A notification bar message display apparatus, the apparatus comprising:
the first acquisition module is used for acquiring the content of each initial notification message in the notification bar when detecting that the number of the notification messages displayed in the notification bar is greater than a preset number threshold;
a first determining module, configured to determine, according to the content of each initial notification message, a topic corresponding to each initial notification message;
and the updating module is used for updating and displaying the notification bar according to the topics, wherein the updated notification bar comprises M topics, the number of the notification messages displayed under each topic is less than a first number threshold, and M is a positive integer.
7. The apparatus of claim 6, further comprising:
a first receiving module, configured to receive a first input of a first target notification message under a first topic from a user, where the M topics include the first topic;
a first display module, configured to respond to the first input, and display a first interface, where the first interface includes content obtained by aggregating N initial notification messages corresponding to the first topic; wherein, the N initial notification messages are all initial notification messages or partial initial notification messages corresponding to the first topic, and N is a positive integer.
8. The apparatus of claim 7, further comprising a message view list in the first interface, the message view list comprising all initial notification messages belonging to the first topic;
the device further comprises:
the second receiving module is used for receiving second input of a user to a second target notification message in the message viewing list;
a second display module to display the second target notification message in response to the second input.
9. The apparatus of claim 7, wherein the first topic corresponds to a first initial notification message and a second initial notification message;
under the condition that the types of the first initial notification message and the second initial notification message are different, the content in the first interface is the content obtained by splicing the first initial notification message and the second initial notification message;
under the condition that the types of the first initial notification message and the second initial notification message are the same, the content in the first interface is the content obtained by combining the first content of the first initial notification message and the second content of the second initial notification message.
10. The apparatus of claim 9, wherein in case the first initial notification message and the second initial notification message are of the same type, the apparatus further comprises:
a second determining module for determining a similarity between the first content and the second content;
a merging module, configured to merge the first initial notification message and the second initial notification message based on the similarity.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211466493.9A CN115756705A (en) | 2022-11-22 | 2022-11-22 | Notification bar message display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211466493.9A CN115756705A (en) | 2022-11-22 | 2022-11-22 | Notification bar message display method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115756705A true CN115756705A (en) | 2023-03-07 |
Family
ID=85335345
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211466493.9A Pending CN115756705A (en) | 2022-11-22 | 2022-11-22 | Notification bar message display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115756705A (en) |
-
2022
- 2022-11-22 CN CN202211466493.9A patent/CN115756705A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107223241B (en) | Contextual scaling | |
CN113157753B (en) | Display method and device and electronic equipment | |
CN112947807A (en) | Display method and device and electronic equipment | |
CN115357156A (en) | Display method, display device, electronic equipment and readable storage medium | |
CN114443203A (en) | Information display method and device, electronic equipment and readable storage medium | |
CN112291412B (en) | Application program control method and device and electronic equipment | |
WO2016018682A1 (en) | Processing image to identify object for insertion into document | |
CN112181252A (en) | Screen capturing method and device and electronic equipment | |
CN112286615A (en) | Information display method and device of application program | |
CN115729412A (en) | Interface display method and device | |
CN114625296A (en) | Application processing method and device | |
CN113190365B (en) | Information processing method and device and electronic equipment | |
CN115756705A (en) | Notification bar message display method and device | |
CN114398128A (en) | Information display method and device | |
CN113282830A (en) | Display method and display device | |
CN113127653A (en) | Information display method and device | |
CN112596646B (en) | Information display method and device and electronic equipment | |
US20230418427A1 (en) | Method, apparatuses, device and storage medium for video recommendation | |
CN108228437B (en) | Method and device for improving evaluation accuracy, electronic device and storage medium | |
CN115981765A (en) | Content display method and device, electronic equipment and storage medium | |
CN115859357A (en) | Information publishing method and device | |
CN117312595A (en) | Picture display method and device | |
CN118394434A (en) | Application icon setting method and device | |
CN115904569A (en) | Resource sharing method and device, electronic equipment and storage medium | |
CN115981882A (en) | Notification message processing method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |