CN111913620A - Notification message display method and device, storage medium and mobile terminal - Google Patents

Notification message display method and device, storage medium and mobile terminal Download PDF

Info

Publication number
CN111913620A
CN111913620A CN202010735730.1A CN202010735730A CN111913620A CN 111913620 A CN111913620 A CN 111913620A CN 202010735730 A CN202010735730 A CN 202010735730A CN 111913620 A CN111913620 A CN 111913620A
Authority
CN
China
Prior art keywords
notification
message
type
display
mobile terminal
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
Application number
CN202010735730.1A
Other languages
Chinese (zh)
Inventor
马英超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Communication Ningbo Ltd
Original Assignee
TCL Communication Ningbo Ltd
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 TCL Communication Ningbo Ltd filed Critical TCL Communication Ningbo Ltd
Priority to CN202010735730.1A priority Critical patent/CN111913620A/en
Publication of CN111913620A publication Critical patent/CN111913620A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a notification message display method, a notification message display device, a storage medium and a mobile terminal, wherein the method is applied to the mobile terminal and comprises the following steps: when the mobile terminal receives a notification message sent by an application program, acquiring the message content of the notification message and determining the message type of the notification message; determining a display mode of the notification type message according to the message type; and displaying the notification messages according to the display mode. The method and the device for displaying the notification messages can determine the display mode of the notification messages through the message types and display the messages according to the display mode, so that different displays can be performed according to different message types, a user can quickly browse the notification messages which are relevant to the user and/or have high attention, and the efficiency of positioning/checking the corresponding notification messages is improved.

Description

Notification message display method and device, storage medium and mobile terminal
Technical Field
The present application relates to the field of communications technologies, and in particular, to a notification message display method, an apparatus, a storage medium, and a mobile terminal.
Background
Currently, a user of a mobile terminal (e.g., a smart phone) receives various notification messages sent by an application on the mobile terminal. A small amount of notification messages are personal information or subscription-related notification information, a large amount of notification messages are advertisement push, and a large amount of advertisement push generates great disturbance to users.
At present, a mobile terminal system can only take a single application program as a whole to manage notification messages, or the application program is allowed to receive all notification messages, or the application program is not allowed to receive the notification messages; this results in the user not being able to choose to open the reception of all notification type messages of the application if he wants to receive notification type messages related to personal information. When receiving the notification messages sent by the application program, the mobile terminal treats all the notification messages equally and displays the notification messages in the same way, and the user can only check the concerned messages from one of the notification messages. Therefore, the time of the user is wasted, and more inconvenience is brought to the user.
Disclosure of Invention
The embodiment of the application provides a notification message display method, a notification message display device, a storage medium and a mobile terminal, which can improve the efficiency of positioning/checking the notification messages related to the mobile terminal and/or high in attention.
The embodiment of the application provides a notification message display method, which comprises the following steps:
when the mobile terminal receives a notification message sent by an application program, acquiring the message content of the notification message;
determining the message type of the notification message according to the message content;
determining a display mode of the notification type message according to the message type;
and displaying the notification messages according to the display mode.
An embodiment of the present application further provides a notification message display apparatus, including:
the mobile terminal comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring the message content of the notification message when the mobile terminal receives the notification message sent by the application program;
the type determining unit is used for determining the message type of the notification type message according to the message content;
the display determining unit is used for determining the display mode of the notification type message according to the message type;
and the display unit is used for displaying the notification messages according to the display mode.
The embodiment of the application also provides a computer-readable storage medium, wherein a plurality of instructions are stored in the computer-readable storage medium, and the instructions are suitable for being loaded by a processor to execute any one notification message display method.
The embodiment of the application further provides a mobile terminal, which comprises a processor and a memory, wherein the processor is electrically connected with the memory, the memory is used for storing instructions and data, and the processor is used for any one of the steps in the notification message display method.
According to the notification message display method, the notification message display device, the storage medium and the mobile terminal, when the mobile terminal receives the notification message sent by the application program, the message content of the notification message is obtained, and the message type of the notification message is determined; determining a display mode of the notification type message according to the message type; and displaying the notification messages according to the display mode. The method and the device for displaying the notification type message can determine the display mode of the notification type message through the message type and display the message according to the display mode. Therefore, different displays are performed according to different message types, so that a user can quickly browse notification messages related to the user and/or high in attention degree, the efficiency of positioning/checking the corresponding notification messages is improved, the frequent notification interference is reduced, and the user experience is improved.
Drawings
The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a notification message display method according to an embodiment of the present application.
Fig. 2 is a sub-flow diagram of a notification message display method according to an embodiment of the present application.
Fig. 3 is another flowchart of a notification message display method according to an embodiment of the present application.
Fig. 4a is an exemplary diagram of a folding area collapsing of a notification center provided in an embodiment of the present application.
Fig. 4b is an exemplary diagram illustrating an expansion of a folding area of a notification center according to an embodiment of the present application.
Fig. 4c is an exemplary diagram of a clear display control provided in an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a notification message display apparatus according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Fig. 7 is another schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a notification message display method, a notification message display device, a storage medium and a mobile terminal. Any one of the notification message display devices provided in the embodiments of the present application may be integrated in a mobile terminal, where the mobile terminal includes a desktop, a smart phone, a portable computer, a Personal Digital Assistant (PDA), a wearable device, a robot, an embedded device, and the like. The mobile terminal has an application program installed therein.
Referring to fig. 1, fig. 1 is a schematic flowchart of a notification message display method according to an embodiment of the present application, where the notification message display method is applied to an electronic device, and includes the following steps:
101, when the mobile terminal receives the notification message sent by the application program, the message content of the notification message is obtained.
The application program refers to an application program installed on the terminal, and the notification type message sent by the application program refers to a notification type message sent by a server of the application program to the mobile terminal. The notification message may be various notification messages sent to the mobile terminal by a server of any application installed in the mobile terminal, such as an instant chat message pushed by an instant messaging application installed in the mobile terminal, a system upgrade notification pushed by the server of the application, a news notification pushed by the server of the application, an advertisement notification pushed by the server of the application, and the like. In this manner, the mobile terminal may receive various notification-like messages sent by the server of the application. The notification message received by the mobile terminal may be sent by the same application (server), or may be sent by a plurality of different applications, or may be one or more notification messages.
And when the mobile terminal receives the notification message sent by the application program, acquiring the message content of the notification message. The message content includes a message header, specific message content, and the like.
And 102, determining the message type of the notification message according to the message content.
In the embodiment of the application, various notification messages are classified into personal notification messages, attention notification messages, other notification messages and the like according to habits of users. The personal notification messages refer to some notification messages closely related to the user, such as instant chat messages, private letter messages and the like of an instant messaging application program, the attention notification messages refer to notification messages with high attention of the user, and the other notification messages are non-personal notification messages and notification messages with high attention.
Specifically, as shown in fig. 2, step 102 includes:
1021. and detecting whether the message content of the notification message comprises a user name or a preset name.
Wherein, the names of the preset names comprise @, the name of the second person and the like. The determination of the user name, in one case, can be determined by a colon. If the character before the colon is obtained, if the character before the colon is within the preset word number (for example, 10 words), the character before the colon is determined as the user name. The user name and the name of the preset name can also be determined in other ways. For example, the order status message related to the user also includes a user name or a name of a preset name, such as order status information pushed by the taxi taking application (for example, a driver has a few minutes to arrive), order status information pushed by the order taking application (for example, a merchant has taken an order), and the like.
If the message content of the notification type message includes the user name or the name of the preset name, execute step 1022; if the message content of the notification type message does not include the user name or the name of the preset name, step 1023 is executed.
1022, the message type of the notification type message is determined as a personal notification type, and the personal notification type is taken as a preset message type.
1023, obtaining the application program to which the message content belongs, and extracting the key words of the message content.
When the mobile terminal receives the notification message, the mobile terminal carries the information of the application program to which the notification message belongs, acquires the application program to which the notification message belongs, and extracts the keywords of the message content, wherein the extraction of the keywords of the message content can be realized by any existing keyword extraction method.
1024, detecting whether the application program to which the message content belongs and the extracted keyword are matched with the preset application program and the preset keyword correspondingly.
And correspondingly matching, namely matching the application program to which the message content belongs with a preset application program, and matching the extracted keywords with preset keywords.
The preset application program and the preset keywords can be predetermined, and the preset application program and the preset keywords can be acquired. The determination of the preset application and the preset keyword may be determined by: acquiring viewing parameter information of a target notification message viewed by a user within preset time before the current time; acquiring an application program to which a target notification message belongs and target message content of the target notification message, and extracting keywords of the target message content; calculating the weight of the corresponding application program and the keyword according to the viewing parameter information; and taking the preset number of application programs and keywords with high weight as preset application programs and preset keywords.
The preset time may be a week, half a month, etc. The preset time before the current time is acquired because the closer to the current time, the more representative the notification type message the user pays attention to. The viewing of the parameter information includes: the number of viewing times of the viewed notification messages, the number of pushing times of the pushed notification messages with the same subject (keyword), one or more of specific content viewed each time one notification message is viewed, viewing time, whether the notification message slides to the bottom of the specific content, whether the notification message is reviewed, whether the notification message is collected, whether the notification message is liked, whether the notification message is starred, and the like (the viewing depth and the attention degree to the notification message are referred to herein), and the viewing parameter information may further include other content.
And obtaining the viewing parameter information of the viewed target notification message, obtaining the application program and the target message content to which the target notification message belongs, extracting the keywords of the target message content, and calculating the weight of the corresponding application program and the keywords according to the viewing parameter information. If different weights can be assigned to different viewing parameter information, then the weight corresponding to the viewing parameter information is calculated, and the weight is taken as the weight of the corresponding keyword, the weight of the keyword can also be calculated in other ways.
After the weight is calculated, the preset application programs and keywords are determined according to the weight, and if the weight is sorted from high to low, the preset number of application programs and keywords with the weight before are used as the preset application programs and keywords. The preset number can be positive integers such as 5, 8, 10 and the like.
It should be noted that the preset application program and the preset keywords can be obtained by operating the preset model, so that the determined preset application program and the determined preset keywords are more accurate and more in line with the habits of the user. The preset model may be a neural network model, or may be other classification models. The Neural Network model may be a Convolutional Neural Network (CNN) model or a Recurrent Neural Network (RNN) model, and different types of Neural Network models may be selected based on an actual application scenario, which is not limited herein. In addition, the calculated preset application programs and the preset keywords are more and more accurate along with the time, and the habit of the user is more and more met.
If the application program to which the message content belongs and the extracted keyword are matched with the preset application program and keyword correspondingly, executing step 1025; if not, go to step 1026.
1025, determining the message type of the notification class message as an attention notification type, and taking the attention notification type as a preset message type.
The message type of the notification class message is determined 1026 to be the other notification type.
Wherein the other notification types may also be referred to as third notification types. The steps 1021-1022 determine that the message type of the notification message is the personal notification type, and the steps 1023-1025 determine that the message type of the notification message is the attention notification type, and the personal notification type and the attention notification type are taken as preset message types to extract the notification message (personal notification type) related to the person and the notification message (attention notification type) with high user attention. It should be noted that the notification type message in the attention notification type may include a news notification, an advertisement notification, and the like.
It should be noted that in other embodiments, there may be more message types, and more message types may also be determined as the preset message type. Or in other embodiments, only the personal notification type may be used as the preset message type, only the attention notification type may be used as the preset message type, and the like.
103, determining the display mode of the notification message according to the message type.
The display modes corresponding to different message types are different. Such as presentation modes, which may include normal notification presentation, collapsed notification presentation, etc. Therefore, the notification messages related to individuals and the notification messages with high attention of users can be distinguished from the notification messages of other notification types.
In one case, step 103, comprises: detecting whether the message type is a preset message type, if so, determining that the display mode of the notification message is normal notification display, and if not, determining that the display mode of the notification message is folding notification display.
If the preset message type comprises a personal notification type and an attention notification type, the determined message type is any one of the personal notification type and the attention notification type, and the display mode of the corresponding notification type message is determined as normal notification display. Otherwise, the display mode is determined to be the folding notification display.
And 104, displaying the notification type message according to the display mode.
The embodiment determines the message type of the notification message according to the message content, determines the display mode of the notification message according to the message type, displays the notification message according to the display mode, and displays the notification message differently according to different message types, so that a user can quickly browse the notification message related to the user or having high attention, the efficiency of positioning/checking the corresponding notification message is improved, the frequent notification interference is reduced, and the user experience is improved.
Fig. 3 is a flowchart illustrating a notification message display method according to an embodiment of the present application, which is applied to a mobile terminal, and the notification message display method includes the following steps:
and 201, adding an intelligent message display option on the mobile terminal, and setting the intelligent message display option to be effective.
In the prior art, all notification messages are presented in the same presentation manner. In the prior art, intelligent message display is not performed on notification messages according to different message contents, and no option for intelligent message display is set for a user to select setting. Therefore, the embodiment of the application adds the option of intelligent message display on the mobile terminal, and the option can be added in the notification and status bar under the system setting of the mobile terminal, and the intelligent message display can be set to be not effective/effective under the default condition. And setting the intelligent message display option to take effect so as to open the intelligent message display function.
202, when the mobile terminal receives the notification message sent by the application program, the message content of the notification message is obtained.
And 203, determining the message type and the message type of the notification message according to the message content.
The message categories can be classified as follows. Such as including: personal notifications, such as instant chat messages sent by an instant messaging application, order status messages, and the like; system notification, reminder information pushed by the system, such as reminder information about system security, system stability, and the like; advertisement notifications, such as advertisement messages pushed by an application; news notifications, such as news messages pushed by a news application, etc. It should be noted that the message types are only examples, and many more message types may be included. And determining the message type and the message type of the notification type message according to the message content. Wherein, the message type of the notification type message is determined as described above.
And 204, detecting whether the determined message type is a preset message type.
The preset message type may include a personal notification type, an attention notification type, and the like. If the determined message type is the preset message type, execute step 205; otherwise, step 208 is performed.
And 205, determining the display mode of the notification type message as normal notification display.
The normal notification display refers to that the notification reminding is sent out and the notification is normally displayed in a display area of the notification center.
And 206, controlling the mobile terminal to send out a notification prompt.
Wherein the notification alert includes a notification alert tone/vibration, illuminating a screen, etc. Namely, the mobile terminal is controlled to send out notification reminding sound/vibration, and the mobile terminal is controlled to light up a screen. If the current mode of the mobile terminal is a ringing mode, the mobile terminal is controlled to send out a reminding sound corresponding to the volume according to the volume set by the ringing mode.
207, controlling the mobile terminal to display the notification message in the display area of the notification center, where the display content of the notification message includes an application program corresponding to the notification message, a message type to which the notification message belongs, and a preset number of characters in the notification message.
Fig. 4a is a schematic diagram illustrating a notification type message provided in the embodiment of the present application. "19: 00" displayed at the center above the screen of the mobile terminal indicates that the current time is 19: 00. The middle part of the current screen of the mobile terminal is a display area 11, a plurality of notification messages can be displayed in the display area 11, and each notification message is independently displayed. The plurality of notification messages in the presentation area 11 are presented in the order of reception and/or in the order of attention (calculated keyword weight values), and may also be presented in other manners.
Two notification type messages are displayed in the current display area 11, the message types of the two notification type messages are personal notification types, the message type to which the notification type message belongs is a personal notification, and the application program corresponding to the notification type message is application 1.
In the current two notification type messages, the display content of each notification type message includes information of an application program corresponding to the notification type message, where the information of the application program may be an application program name (application 1) and/or an application program icon (for example, a box on the left of the application 1 may display an icon corresponding to the application 1). The information of the application program may be presented in the first line of the area corresponding to the notification class message.
The display content of the notification message also includes the message category to which the notification message belongs, and message category information may be displayed in a second row of the corresponding area in which the notification message is displayed, such as displaying "personal notification" or "personal notification content" and similar message category information.
The display content of the notification message also includes characters of a preset number in the notification message, and the characters of the preset number can be displayed on the third row of the region corresponding to the notification message. For example, the number of characters in the header of the notification message may be preset, the number of characters in the specific message content of the notification message may be preset, the notification message may be abstracted to obtain the preset number of characters in the abstract, the specific message content may be summarized to obtain the preset number of characters, the key sentence of the message content may be extracted to obtain the preset number of characters, and the like. The preset number may be a set fixed value, or may be determined according to the screen size of the current mobile terminal and the display size of each character, that is, the number of characters that can be displayed in one row of the mobile terminal. If the specific title/abstract/key sentence/specific message content and the like are less than the characters of the preset number, displaying the title/abstract/key sentence/specific message content and the like; if the specific title/abstract/key sentence/specific message content, etc. is more than the preset number of characters, the last character of the preset number of characters may be replaced with an ellipsis or similar punctuation. It is to be understood that, in fig. 4a, a preset number of characters are replaced with a preset number of "x" characters.
It should be noted that the size of the presentation area 11 is not fixed, and may be determined according to the number of notification messages presented in the presentation area 11. The larger the number of notification type messages shown in the display area 11, the larger the display area 11. When the size of the display area 11 exceeds the size of the preset area, the display area slides up and down to display more notification messages. The preset area is an area obtained by subtracting a time display area at the center above the screen of the mobile terminal from the screen of the mobile terminal and a folding area in a folded state.
208, determining the display mode of the notification type message as folding notification display.
The folding notification presentation means that the notification reminder is not sent out, the notification type message is not directly presented in the notification center, but the notification type message is folded in a folding area of the notification center, and the folding area needs to be opened to be seen/presented. The notification center of the mobile terminal is opened, and the default folding area 12 is in a folded state, so as to avoid the interference of the display of other notification messages to the user.
As shown in fig. 4a, the folding region 12 is currently in the folded state, and the folded folding region 12 after being folded is provided with an unfolding frame, and the unfolding frame is provided with a downward arrow mark and/or contents such as "other notification" for presentation. The notification type messages are not directly exposed in the collapsed state, i.e. the notification type messages in the collapsed region 12 are not visible to the user in the collapsed state.
And 209, controlling the mobile terminal not to send out the notification reminder.
If the notification reminding comprises notification reminding sound/vibration, lightening a screen and the like. And controlling the mobile terminal not to send out the notification prompt, wherein the mobile terminal is controlled not to send out notification prompt sound/vibration, and the mobile terminal is controlled not to light up the screen. In this way, notification interference of notification class messages of other notification types is reduced.
210, if an unfolding instruction is received, unfolding a folding area of the notification center, and displaying the notification type message in the folding area, where the display content of the notification type message includes an application program corresponding to the notification type message, a message type, and a preset number of characters in the notification type message, and the folding area is in a folded state by default.
The unfolding instruction is used to unfold the folding area 12 of the notification center. The unfolding instruction can be triggered in various ways, such as by touching/clicking an unfolding frame displayed in the folded state to trigger the unfolding instruction, or by voice or the like. Upon receiving the unfolding instruction, the folding area 12 is unfolded. After the folding area 12 is unfolded, the notification type messages folded in the folding area 12 are all displayed. The display content of the notification message is consistent with the display content of the notification message in the display area 11, and the display mode is also consistent, please refer to the corresponding description above, which is not repeated herein.
As shown in fig. 4b, an exemplary diagram of a notification class message is presented for both the presentation area 11 and the folding area 12 of the notification center. After the folding region 12 is unfolded, a folding frame is provided at the uppermost part of the folding region 12. The folding frame is provided with an upward arrow mark and/or other notification contents for prompting. And sequentially displaying a plurality of notification messages below the folding frame. Such as being presented in the chronological order in which the notification-like messages were received, or may be presented in other orders. As shown in fig. 4b, two notification type messages are displayed in the folding area 12 of the current mobile terminal, the message types of the two notification type messages are other notification types, the message type to which the notification type message belongs is an advertisement notification, and the application program corresponding to the notification type message is application 1.
It should be noted that the size of the expanded folding area 12 is not fixed, and can be determined according to the number of notification messages displayed in the folding area 12. The more the number of notification type messages shown in the expanded collapsed region 12, the larger the expanded collapsed region 12. When the size of the expanded folding area 12, the size of the expanded area 11, and the size of the time display area exceed the size of the screen, more notification-type messages in the folding area can be displayed by sliding up and down.
After the folding area 12 is unfolded, if the current interface is still in the notification center, if a folding instruction is received, the folding area 12 of the notification center is folded, that is, the folding area 12 to be unfolded is folded again, and the folded folding area is as shown in fig. 4 a. The folding instruction can also be triggered in various ways, such as by touching/clicking the folding frame to trigger the folding instruction, or by voice or the like.
It should be noted that the display contents of the notification type messages in fig. 4a and 4b are only for illustration. In other cases, notification-like messages for more applications may also be included, and notification-like messages include more message types, and so on.
Further, as shown in fig. 4c, a clear display control 13 is also "displayed" on the interface of the notification center, and the clear display control 13 is disposed on the upper layer of the layer where the interface of the notification center is located. The clear display control 13 may be set as an "x" button. If a clear instruction is detected, all notification class messages in the notification center are cleared from presentation. Such as including clearing the presentation of all notification class messages in the presentation area 11 and the collapse area 12, clearing the presentation of the expanded/collapsed boxes, etc. Wherein the clear instruction may be triggered by triggering the clear display control 13, or by voice, etc.
The embodiment further defines what the normal notification display and the folding notification display are respectively, and determines whether the message type is a preset message type, wherein the preset message type comprises a personal notification type and an attention notification type, if the preset message type is the normal notification display, otherwise, the folding notification display is performed, so that different displays can be performed according to different message types, and a user can quickly browse the notification type messages of the preset message type, thereby improving the efficiency of positioning/viewing the notification type messages of the preset message type.
According to the method described in the foregoing embodiment, the present embodiment will be further described from the perspective of a notification message display apparatus, which may be implemented as an independent entity, or integrated in a mobile terminal, where the mobile terminal includes a desktop, a smart phone, a portable computer, a Personal Digital Assistant (PDA), a wearable device, a robot, an embedded device, and the like.
Referring to fig. 5, fig. 5 specifically describes a notification message display apparatus provided in the embodiment of the present application, which is applied to a mobile terminal, and the notification message display apparatus may include: an acquisition unit 301, a type determination unit 302, a presentation determination unit 303, and a presentation unit 304. Wherein:
an obtaining unit 301, configured to obtain message content of a notification message when the mobile terminal receives the notification message sent by the application program. The message content includes a message header, specific message content, and the like.
A type determining unit 302, configured to determine a message type of the notification type message according to the message content.
According to the habit of the user, various notification messages are classified into personal notification messages, attention notification messages, other notification messages and the like. Wherein the other notification types may also be referred to as third notification types.
Further, as shown in fig. 5, the type determining unit 302 includes a content detecting unit 3021, a notification type determining unit 3022, an extracting unit 3023, and a matching unit 3024. Wherein the content of the first and second substances,
the content detecting unit 3021 is configured to detect whether a user name or a preset name is included in the message content of the notification message. A notification type determining unit 3022, configured to determine, if the message content includes a user name or a preset name, a message type of the notification type message as a personal notification type, and use the personal notification type as a preset message type. An extracting unit 3023, configured to, if the message content does not include the user name or the name of the preset name, obtain an application program to which the message content belongs, and extract a keyword of the message content. A matching unit 3024, configured to detect whether the application program to which the message content belongs and the extracted keyword are correspondingly matched with a preset application program and a preset keyword. The notification type determining unit 3022 is further configured to determine the message type of the notification type message as an attention notification type if the application program to which the message content belongs and the extracted keyword are correspondingly matched with a preset application program and a preset keyword, and take the attention notification type as a preset message type; and if not, determining the message type of the notification type message as other notification types.
Further, the type determining unit 302 further includes: a keyword determination unit 3025. The keyword determination unit 3025 is configured to determine a preset application and a keyword. The keyword determining unit 3025 is specifically configured to obtain viewing parameter information of a target notification message viewed within a preset time by a user; acquiring an application program to which a target notification message belongs and target message content of the target notification message, and extracting keywords of the target message content; calculating the weight of the application program and the keyword according to the viewing parameter information; and taking the preset number of application programs and keywords with high weight as preset application programs and keywords.
The presentation determining unit 303 is configured to determine a presentation manner of the notification message according to the message type.
Further, as shown in fig. 5, the presentation determining unit 303 includes a type detecting unit 3031 and a presentation mode determining unit 3032. The type detecting unit 3031 is configured to detect whether the message type is a preset message type and a message type. A display mode determining unit 3032, configured to determine that the display mode of the notification type message is normal notification display if the message type is the preset message type, and determine that the display mode of the notification type message is folding notification display if the message type is not the preset message type. Wherein, the normal notification display refers to sending out the notification reminder and displaying normally in a display area of the notification center. The folding notification presentation means that the notification reminder is not sent out, the notification type message is not directly presented in the notification center, but the notification type message is folded in a folding area of the notification center, and the folding area needs to be opened to be seen/presented.
The presentation unit 304 is configured to present the notification type message according to the presentation manner.
Further, as shown in fig. 5, the display unit 304 includes a reminder control unit 3041 and a display control unit 3042. A reminder control unit 3041, configured to control the mobile terminal to send a reminder if the display mode is normal notification display; and/or controlling the mobile terminal not to send out the notification prompt if the display mode is the folding notification display. The display control unit 3042 is configured to control the mobile terminal to display the notification message in the display area of the notification center if the display mode is normal notification display, where the display content of the notification message includes an application program corresponding to the notification message, a message type to which the notification message belongs, and a preset number of characters in the notification message. And/or the folding area is used for unfolding the folding area of the notification center if the display mode is folding notification display, and displaying the notification type message in the folding area if an unfolding instruction is received, wherein the display content of the notification type message comprises an application program corresponding to the notification type message, the message type of the notification type message and a preset number of characters in the notification type message, and the folding area of the notification center is in a folding state by default.
In a specific implementation, each of the modules and/or units may be implemented as an independent entity, or may be implemented as one or several entities by any combination, where the specific implementation of each of the modules and/or units may refer to the foregoing method embodiment, and specific achievable beneficial effects also refer to the beneficial effects in the foregoing method embodiment, which are not described herein again.
In addition, the embodiment of the present application further provides a mobile terminal, where the mobile terminal may be a desktop, a smart phone, a laptop, a Personal Digital Assistant (PDA), a wearable device, a robot, an embedded device, or the like. The mobile terminal has an application program installed therein. As shown in fig. 6, the mobile terminal 400 includes a processor 401, a memory 402. The processor 401 is electrically connected to the memory 402.
The processor 401 is a control center of the mobile terminal 400, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or loading an application program stored in the memory 402 and calling data stored in the memory 402, thereby integrally monitoring the mobile terminal.
In this embodiment, the processor 401 in the mobile terminal 400 loads instructions corresponding to processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 runs the application programs stored in the memory 402, thereby implementing various functions:
when the mobile terminal receives a notification message sent by an application program, acquiring the message content of the notification message; determining the message type of the notification message according to the message content; determining a display mode of the notification type message according to the message type; and displaying the notification messages according to the display mode.
The mobile terminal may implement the steps in any embodiment of the notification message display method provided in the embodiment of the present application, and therefore, the beneficial effects that can be achieved by any notification message display method provided in the embodiment of the present invention can be achieved, which are detailed in the foregoing embodiment and will not be described herein again.
Fig. 7 is a specific block diagram of a mobile terminal according to an embodiment of the present invention, where the mobile terminal may be configured to implement the notification-class message display method provided in the foregoing embodiment. The mobile terminal 500 may be a desktop computer, a smart phone, a laptop computer, a Personal Digital Assistant (PDA), a wearable device, a robot, an embedded device, or the like. The mobile terminal has an application program installed therein.
The RF circuit 510 is used for receiving and transmitting electromagnetic waves, and performing interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. RF circuit 510 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. RF circuit 510 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols, and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., IEEE802.11a, IEEE802.11 b, IEEE 802.2.access, and/or IEEE802.11 n), Voice over Internet Protocol (VoIP), world wide Internet Microwave Access (Microwave for Wireless Communication), other suitable protocols for short message service (Max), and any other suitable protocols, and may even include those protocols that have not yet been developed.
The memory 520 may be used to store software programs and modules, such as the corresponding program instructions/modules in the above-described embodiments, and the processor 580 may execute various functional applications and data processing by operating the software programs and modules stored in the memory 520. The memory 520 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 520 may further include memory located remotely from the processor 580, which may be connected to the mobile terminal 500 through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 530 may be used to receive input numeric or character information and generate a keyboard, mouse, joystick, optical or trackball signal input related to user setting and function control. In particular, the input unit 530 may include a touch sensitive surface 531 as well as other input devices 532. The touch sensitive surface 531, also referred to as a touch display screen (touch screen) or a touch pad, may collect touch operations by a user on or near the touch sensitive surface 531 (e.g. operations by a user on or near the touch sensitive surface 531 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 531 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 580, and can receive and execute commands sent by the processor 580. In addition, the touch sensitive surface 531 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 530 may comprise other input devices 532 in addition to the touch sensitive surface 531. In particular, other input devices 532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 540 may be used to display information input by or provided to the user and various graphical user interfaces of the mobile terminal 500, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 540 may include a Display panel 541, and optionally, the Display panel 541 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 531 can overlie the display panel 541 such that, when a touch event is detected at or near the touch-sensitive surface 531, it is passed to the processor 580 for determining the type of touch event, whereupon the processor 580 provides a corresponding visual output on the display panel 541 in dependence upon the type of touch event. Although in the figures the touch sensitive surface 531 and the display panel 541 are shown as two separate components to implement the input and output functions, it will be appreciated that the touch sensitive surface 531 and the display panel 541 are integrated to implement the input and output functions.
The mobile terminal 500 may also include at least one sensor 550, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 541 according to the brightness of ambient light, and a proximity sensor that may generate an interrupt when the folder is closed or closed. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured on the mobile terminal 500, detailed descriptions thereof are omitted.
The audio circuit 560, speaker 561, and microphone 562 may provide an audio interface between a user and the mobile terminal 500. The audio circuit 560 may transmit the electrical signal converted from the received audio data to the speaker 561, and convert the electrical signal into a sound signal by the speaker 561 for output; on the other hand, the microphone 562 converts the collected sound signal into an electric signal, is received by the audio circuit 560 and converted into audio data, and then outputs the audio data to the processor 580 for processing, and then to the RF circuit 510 for transmission to, for example, another terminal, or outputs the audio data to the memory 520 for further processing. The audio circuitry 560 may also include an earbud jack to provide communication of a peripheral headset with the mobile terminal 500.
The mobile terminal 500, which can assist the user in receiving requests, transmitting information, etc., through the transmission module 570 (e.g., a Wi-Fi module), provides the user with wireless broadband internet access. Although the transmission module 570 is illustrated, it is understood that it does not belong to the essential constitution of the mobile terminal 500 and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 580 is a control center of the mobile terminal 500, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the mobile terminal 500 and processes data by operating or executing software programs and/or modules stored in the memory 520 and calling data stored in the memory 520, thereby integrally monitoring the mobile terminal. Optionally, processor 580 may include one or more processing cores; in some embodiments, processor 580 may integrate an application processor, which handles primarily the operating system, user interface, applications, etc., and a modem processor, which handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 580.
The mobile terminal 500 also includes a power supply 590 (e.g., a battery) for powering the various components, which may be logically coupled to the processor 580 via a power management system that may, in some embodiments, provide management of charging, discharging, and power consumption. The power supply 590 may also include one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and any other components.
Although not shown, the mobile terminal 500 further includes a camera (e.g., a front camera, a rear camera), a bluetooth module, etc., which will not be described herein. Specifically, in this embodiment, the display unit of the mobile terminal is a touch screen display, the mobile terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
when the mobile terminal receives a notification message sent by an application program, acquiring the message content of the notification message; determining the message type of the notification message according to the message content; determining a display mode of the notification type message according to the message type; and displaying the notification messages according to the display mode.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor. To this end, an embodiment of the present invention provides a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps of any embodiment of the notification message displaying method provided in the embodiment of the present invention.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium may execute the steps in any embodiment of the notification message display method provided in the embodiments of the present invention, beneficial effects that any notification message display method provided in the embodiments of the present invention can achieve may be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The method, the apparatus, the storage medium, and the mobile terminal for displaying notification messages provided in the embodiments of the present application are described in detail above, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A method for displaying notification messages is applied to a mobile terminal, and is characterized by comprising the following steps:
when a mobile terminal receives a notification message sent by an application program, acquiring the message content of the notification message;
determining the message type of the notification message according to the message content;
determining a display mode of the notification type message according to the message type;
and displaying the notification type message according to the display mode.
2. The method according to claim 1, wherein the determining the presentation manner of the notification message according to the message type comprises:
detecting whether the message type is a preset message type;
if so, determining that the display mode of the notification message is normal notification display;
if not, determining that the display mode of the notification message is folding notification display.
3. The method for displaying notification messages according to claim 2, wherein the displaying the notification messages according to the display manner includes:
if the display mode is normal notification display, controlling the mobile terminal to send a notification prompt;
and controlling the mobile terminal to display the notification message in a display area of a notification center, wherein the display content of the notification message comprises an application program corresponding to the notification message, a message type to which the notification message belongs and a preset number of characters in the notification message.
4. The method for displaying notification messages according to claim 2, wherein the displaying the notification messages according to the display manner includes:
if the display mode is the folding notification display, controlling the mobile terminal not to send a notification prompt;
if an unfolding instruction is received, unfolding a folding area of a notification center, and displaying the notification type message in the folding area, wherein the display content of the notification type message comprises an application program corresponding to the notification type message, a message type to which the notification type message belongs, and a preset number of characters in the notification type message, and the folding area of the notification center is in a folding state by default.
5. The method for displaying notification messages according to claim 1, wherein the determining the message type of the notification message according to the message content comprises:
detecting whether the message content comprises a user name or a preset name;
if yes, determining the message type of the notification type message as a personal notification type, and taking the personal notification type as a preset message type.
6. The method for displaying notification messages according to claim 1, wherein the determining the message type of the notification message according to the message content comprises:
acquiring an application program to which the message content belongs, and extracting keywords of the message content;
and if the application program and the keywords are correspondingly matched with the preset application program and the preset keywords, determining the message type of the notification type message as an attention notification type, and taking the attention notification type as a preset message type.
7. The notification class message presentation method according to claim 6, further comprising:
acquiring viewing parameter information of a target notification message viewed within preset time by a user;
acquiring an application program to which the target notification type message belongs and target message content of the target notification type message, and extracting keywords of the target message content;
calculating the weight of the application program and the keyword according to the viewing parameter information;
and taking the application programs and the keywords with the high weight in the preset number as preset application programs and keywords.
8. A notification-like message presentation apparatus, comprising:
the mobile terminal comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring the message content of a notification message when the mobile terminal receives the notification message sent by an application program;
the type determining unit is used for determining the message type of the notification message according to the message content;
the display determining unit is used for determining the display mode of the notification message according to the message type;
and the display unit is used for displaying the notification message according to the display mode.
9. A computer-readable storage medium having stored thereon instructions adapted to be loaded by a processor to perform the notification-like message presentation method of any of claims 1 to 7.
10. A mobile terminal comprising a processor and a memory, wherein the processor is electrically connected to the memory, the memory is used for storing instructions and data, and the processor is used for executing the steps of the notification-like message display method according to any one of claims 1 to 7.
CN202010735730.1A 2020-07-28 2020-07-28 Notification message display method and device, storage medium and mobile terminal Pending CN111913620A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010735730.1A CN111913620A (en) 2020-07-28 2020-07-28 Notification message display method and device, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010735730.1A CN111913620A (en) 2020-07-28 2020-07-28 Notification message display method and device, storage medium and mobile terminal

Publications (1)

Publication Number Publication Date
CN111913620A true CN111913620A (en) 2020-11-10

Family

ID=73281477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010735730.1A Pending CN111913620A (en) 2020-07-28 2020-07-28 Notification message display method and device, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN111913620A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112565519A (en) * 2020-11-30 2021-03-26 Oppo(重庆)智能科技有限公司 Message reminding method and device and electronic equipment
CN114138389A (en) * 2021-12-01 2022-03-04 上海万物新生环保科技集团有限公司 Method and equipment for displaying order buttons
CN114840297A (en) * 2022-05-30 2022-08-02 网易(杭州)网络有限公司 Message display method and device, electronic equipment and storage medium
WO2022242760A1 (en) * 2021-05-20 2022-11-24 北京字节跳动网络技术有限公司 Message display method and apparatus for virtual live-streaming room, and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011119786A (en) * 2009-11-30 2011-06-16 Toshiba Corp Information processor and content display control method
CN105898014A (en) * 2015-11-06 2016-08-24 乐视移动智能信息技术(北京)有限公司 Notification message display method and device and terminal device
CN109739669A (en) * 2019-01-15 2019-05-10 维沃移动通信有限公司 A kind of unread message reminding method and mobile terminal
CN110138972A (en) * 2019-05-17 2019-08-16 维沃移动通信有限公司 A kind of notifier processes method and device
CN110798567A (en) * 2019-08-14 2020-02-14 腾讯科技(深圳)有限公司 Short message classification display method and device, storage medium and electronic equipment
CN111064654A (en) * 2019-11-19 2020-04-24 维沃移动通信有限公司 Message display method and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011119786A (en) * 2009-11-30 2011-06-16 Toshiba Corp Information processor and content display control method
CN105898014A (en) * 2015-11-06 2016-08-24 乐视移动智能信息技术(北京)有限公司 Notification message display method and device and terminal device
CN109739669A (en) * 2019-01-15 2019-05-10 维沃移动通信有限公司 A kind of unread message reminding method and mobile terminal
CN110138972A (en) * 2019-05-17 2019-08-16 维沃移动通信有限公司 A kind of notifier processes method and device
CN110798567A (en) * 2019-08-14 2020-02-14 腾讯科技(深圳)有限公司 Short message classification display method and device, storage medium and electronic equipment
CN111064654A (en) * 2019-11-19 2020-04-24 维沃移动通信有限公司 Message display method and electronic equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112565519A (en) * 2020-11-30 2021-03-26 Oppo(重庆)智能科技有限公司 Message reminding method and device and electronic equipment
CN112565519B (en) * 2020-11-30 2022-01-18 Oppo(重庆)智能科技有限公司 Message reminding method and device, electronic equipment and readable storage medium
WO2022242760A1 (en) * 2021-05-20 2022-11-24 北京字节跳动网络技术有限公司 Message display method and apparatus for virtual live-streaming room, and device
CN114138389A (en) * 2021-12-01 2022-03-04 上海万物新生环保科技集团有限公司 Method and equipment for displaying order buttons
CN114840297A (en) * 2022-05-30 2022-08-02 网易(杭州)网络有限公司 Message display method and device, electronic equipment and storage medium
CN114840297B (en) * 2022-05-30 2023-08-08 网易(杭州)网络有限公司 Message display method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109739669B (en) Unread message prompting method and mobile terminal
CN109032734B (en) Background application program display method and mobile terminal
US10775979B2 (en) Buddy list presentation control method and system, and computer storage medium
CN109769065B (en) Message display method and device, mobile terminal and storage medium
CN111913620A (en) Notification message display method and device, storage medium and mobile terminal
CN109917979B (en) Searching method and mobile terminal
CN108255372B (en) Desktop application icon sorting method and mobile terminal
CN108156508B (en) Barrage information processing method and device, mobile terminal, server and system
CN110072012B (en) Reminding method for screen state switching and mobile terminal
CN109032444A (en) A kind of notification message display methods and terminal device
CN110968228B (en) Display method of application program icon and electronic equipment
CN109388456B (en) Head portrait selection method and mobile terminal
CN107665162B (en) Application processing method and mobile terminal
CN108549519A (en) split screen processing method, device, storage medium and electronic equipment
CN110888705B (en) Method for processing unread message corner marks and electronic equipment
CN109508399A (en) A kind of facial expression image processing method, mobile terminal
CN113939814A (en) Content push method and related product
CN110855839A (en) Message display method and electronic equipment
CN108932093A (en) Split screen application switching method, device, storage medium and electronic equipment
CN108958606A (en) Multi-screen display method, device, storage medium and electronic equipment
CN110457086A (en) A kind of control method of application program, mobile terminal and server
CN110335629B (en) Pitch recognition method and device of audio file and storage medium
CN107908329B (en) Application icon management method and mobile terminal
CN107704159B (en) Application icon management method and mobile terminal
CN109284146A (en) A kind of light application open method and mobile terminal

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201110

RJ01 Rejection of invention patent application after publication