Nothing Special   »   [go: up one dir, main page]

CN108762621B - Message display method and mobile terminal - Google Patents

Message display method and mobile terminal Download PDF

Info

Publication number
CN108762621B
CN108762621B CN201810362103.0A CN201810362103A CN108762621B CN 108762621 B CN108762621 B CN 108762621B CN 201810362103 A CN201810362103 A CN 201810362103A CN 108762621 B CN108762621 B CN 108762621B
Authority
CN
China
Prior art keywords
messages
mobile terminal
application
information
preset
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.)
Active
Application number
CN201810362103.0A
Other languages
Chinese (zh)
Other versions
CN108762621A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810362103.0A priority Critical patent/CN108762621B/en
Publication of CN108762621A publication Critical patent/CN108762621A/en
Application granted granted Critical
Publication of CN108762621B publication Critical patent/CN108762621B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a message display method and a mobile terminal, relates to the technical field of communication, and aims to solve the problem that the flexibility of message display of the mobile terminal is low because the mobile terminal sequentially displays messages on a notification bar of the mobile terminal according to the time sequence of receiving each message. The method comprises the following steps: acquiring scene information, wherein the scene information is used for indicating a scene where a mobile terminal is located currently; when the scene information accords with preset scene information, acquiring preset characteristic information corresponding to the preset scene information; and sequencing the received N messages according to the preset characteristic information, and displaying the N messages according to a sequencing result, wherein N is an integer greater than or equal to 2. The method can be applied to the scene that the mobile terminal displays the message.

Description

Message display method and mobile terminal
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a message display method and a mobile terminal.
Background
With the continuous development of terminal technology and internet technology, the application programs in the mobile terminal are more and more abundant, and users can receive various messages, such as chat messages, notification messages or short messages, through the application programs in the mobile terminal.
At present, after a mobile terminal receives a message, the mobile terminal usually displays the message on a notification bar of the mobile terminal, so that the mobile terminal can sequentially display the messages on the notification bar of the mobile terminal according to the time sequence of receiving each message. For example, when the mobile terminal is in the screen-locked state, the mobile terminal may sequentially display the messages in a notification bar of the mobile terminal according to the time sequence of receiving each message, and after the user triggers the mobile terminal to unlock the screen, the mobile terminal may present the plurality of messages displayed in the notification bar to the user. Specifically, the mobile terminal may present the most recently received message of the plurality of messages to the user at a position that is farther forward in the notification bar, and present the earlier received message of the plurality of messages to the user at a position that is farther rearward in the notification bar.
However, if the mobile terminal presents the user with a plurality of messages received by the mobile terminal according to the above display method, it is possible that messages important to the user are displayed at a later position in the notification bar, and messages not important to the user are displayed at a earlier position in the notification bar, resulting in a low flexibility in displaying messages by the mobile terminal.
Disclosure of Invention
The embodiment of the invention provides a message display method and a mobile terminal, which aim to solve the problem that the flexibility of displaying messages by the mobile terminal is lower because the mobile terminal sequentially displays the messages on a notification bar of the mobile terminal according to the time sequence of receiving each message.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a message display method, where the method includes: acquiring scene information, wherein the scene information is used for indicating a scene where a mobile terminal is located currently; when the scene information accords with preset scene information, acquiring preset characteristic information corresponding to the preset scene information; and sequencing the received N messages according to the preset characteristic information, and displaying the N messages according to a sequencing result, wherein N is an integer greater than or equal to 2.
In a second aspect, an embodiment of the present invention provides a mobile terminal, which includes an obtaining module and a display module. The mobile terminal comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring scene information and acquiring preset characteristic information corresponding to the preset scene information when the scene information accords with the preset scene information, and the scene information is used for indicating a scene where the mobile terminal is located currently; the display module is used for displaying the N messages according to the sorting result of the sorting module, wherein N is an integer greater than or equal to 2.
In a third aspect, an embodiment of the present invention provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the message display method provided in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by the processor, implements the steps of the message display method provided in the first aspect.
In the embodiment of the present invention, scene information (the scene information is used to indicate a scene where the mobile terminal is currently located) may be obtained; when the scene information accords with preset scene information, acquiring preset characteristic information corresponding to the preset scene information; and sorting the received N messages according to the preset characteristic information, and displaying the N messages according to a sorting result (N is an integer greater than or equal to 2). According to the scheme, when the information of the current scene of the mobile terminal accords with the preset scene information, the received messages can be sequenced according to the preset characteristic information corresponding to the preset scene information, and the received messages are displayed according to the sequencing result, so that the sequence of the messages displayed by the mobile terminal accords with the current scene of the mobile terminal, for example, the mobile terminal can display the messages related to the current scene at a position which is more front in all the messages (namely the position which is seen by a user firstly), and the flexibility of displaying the messages by the mobile terminal can be improved.
Drawings
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a message display method according to an embodiment of the present invention;
fig. 3 is a second schematic diagram illustrating a message display method according to an embodiment of the present invention;
fig. 4 is a schematic view of an interface for displaying a message by a mobile terminal according to an embodiment of the present invention;
fig. 5 is a third schematic diagram illustrating a message display method according to an embodiment of the present invention;
fig. 6 is a second schematic view of an interface for displaying messages of a mobile terminal according to an embodiment of the present invention;
fig. 7 is a schematic diagram of positioning information according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 9 is a second schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 10 is a hardware schematic diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
The term "and/or" herein is an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first message and the second message, etc. are for distinguishing different messages, not for describing a specific order of the messages.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present invention, unless otherwise specified, "a plurality" means two or more, for example, a plurality of elements means two or more elements, a plurality of processing units means two or more processing units, or the like.
The embodiment of the invention provides a message display method and a mobile terminal, which can acquire scene information (the scene information is used for indicating the current scene of the mobile terminal); when the scene information accords with preset scene information, acquiring preset characteristic information corresponding to the preset scene information; and sorting the received N messages according to the preset characteristic information, and displaying the N messages according to a sorting result (N is an integer greater than or equal to 2). According to the scheme, when the information of the current scene of the mobile terminal accords with the preset scene information, the received messages can be sequenced according to the preset characteristic information corresponding to the preset scene information, and the received messages are displayed according to the sequencing result, so that the sequence of the messages displayed by the mobile terminal accords with the current scene of the mobile terminal, for example, the mobile terminal can display the messages related to the current scene at a position which is more front in all the messages (namely the position which is seen by a user firstly), and the flexibility of displaying the messages by the mobile terminal can be improved.
The mobile terminal in the embodiment of the present invention may be a mobile terminal 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 invention are not limited in particular.
The following describes a software environment applied to the message display method provided by the embodiment of the present invention, taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the message display method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the message display method may operate based on the android operating system shown in fig. 1. Namely, the processor or the mobile terminal can implement the message display method provided by the embodiment of the invention by running the software program in the android operating system.
The mobile terminal in the embodiment of the present invention may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted mobile terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a Personal Digital Assistant (PDA), and the like, and the embodiment of the present invention is not particularly limited.
The execution main body of the message display method provided by the embodiment of the present invention may be the mobile terminal, or may also be a functional module and/or a functional entity capable of implementing the message display method in the mobile terminal, which may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited. The following takes a mobile terminal as an example to exemplarily explain a message display method provided by the embodiment of the present invention.
As shown in fig. 2, an embodiment of the present invention provides a message display method, which may include steps 200 to 202 described below.
And 200, the mobile terminal acquires scene information.
The scene information may be used to indicate a scene where the mobile terminal is currently located.
Optionally, in this embodiment of the present invention, the scene information may include at least one of a scene name and a scene picture (the scene picture may be a picture used for indicating a scene in which the mobile terminal is currently located, for example, a map screenshot, and the like). Of course, the scene information may also include any other information that may be used to indicate a scene where the mobile terminal is currently located, which may be determined specifically according to actual usage requirements, and the embodiment of the present invention is not limited.
For example, assuming that the scene information is a scene name, the scene name may be "work scene", "shopping scene", "home scene", "museum scene", "hospital scene", or "school scene", etc. If the scene information is a scene picture, the scene picture may be a picture of a current position of the mobile terminal, which is obtained by the mobile terminal according to the positioning function, or a picture obtained by triggering the mobile terminal by the user to shoot the current scene of the mobile terminal, and the like.
It should be understood that, in the embodiment of the present invention, each scene name and each scene picture listed above are exemplary lists, which do not limit the embodiment of the present invention at all, and in practical application, the scene information of any other application scene meeting practical use requirements may also be taken as the scene information, which is not limited in the embodiment of the present invention.
Optionally, in the embodiment of the present invention, the mobile terminal may obtain the scene information in any one of the following three cases.
The first condition is as follows: under the condition that the mobile terminal is in a screen locking state or a screen lightening state, the mobile terminal can acquire scene information once after receiving one message.
For example, the message received by the mobile terminal may be at least one of a short message, a chat message, a push message, and the like, and may be determined specifically according to an actual use requirement, which is not limited in the embodiment of the present invention.
Case two: under the condition that the mobile terminal is in a screen locking state or a screen lightening state, the mobile terminal can periodically acquire scene information according to preset time.
For example, the preset period may be 10 minutes, and the mobile terminal may acquire the scene information every 10 minutes.
Case three: under the condition that the mobile terminal is in a screen locking state, the mobile terminal can acquire target biological characteristic information of a target user (the target biological characteristic information is used for indicating biological characteristics of the target user), and under the condition that the target biological characteristic information is the same as preset biological characteristic information, the mobile terminal is controlled to unlock a screen, and scene information is acquired.
For example, the target biometric information may be at least one of facial feature information, iris feature information, retina feature information, fingerprint feature information, hand shape feature information, voice feature information, gait feature information, and the like of the target user. Of course, it is understood that in practical applications, the target biometric information may also be any other biometric information that meets the actual use requirement, and the embodiment of the present invention is not limited.
Step 201, when the scene information conforms to the preset scene information, the mobile terminal obtains preset feature information corresponding to the preset scene information.
Optionally, in the embodiment of the present invention, that the scene information conforms to the preset scene information means that the scene information is the same as the preset scene information. Or, the fact that the scene information conforms to the preset scene information means that the similarity between the scene information and the preset scene information is greater than or equal to a preset threshold. For example, the preset threshold may be 90%, that is, if the similarity between the scene information and the preset scene information is greater than or equal to 90%, the scene information conforms to the preset scene information.
Optionally, in the embodiment of the present invention, the preset scene information may be scene information that is set by default in a database of the mobile terminal when the mobile terminal leaves a factory; and the scene information set in the database during the process of using the mobile terminal by the user can also be used.
For example, assuming that the preset scene information is a scene name, the preset scene information may be at least one of a "work scene", a "shopping scene", a "home scene", a "museum scene", a "hospital scene", and a "school scene". Assuming that the preset scene information is a scene picture, the preset scene information may be a picture set by default in a database of the mobile terminal when the mobile terminal leaves a factory, or a picture set in the database during a process of using the mobile terminal by a user. The method can be determined according to the use requirement, and the embodiment of the invention is not limited.
Optionally, in this embodiment of the present invention, the preset feature information may include at least one of preset keyword information (which may also be referred to as a keyword) and preset contact information. Of course, the preset feature information may also include any other possible feature information, which may be determined according to actual usage requirements, and the embodiment of the present invention is not limited.
Optionally, in the embodiment of the present invention, a corresponding relationship between the preset scene information and the preset feature information may be stored in the mobile terminal in advance. When the preset feature information is preset keyword information or preset contact information, one preset scene information may correspond to a plurality of preset keyword information or a plurality of preset contact information, and the mobile terminal may set a priority for each preset keyword information of the plurality of preset keyword information in advance and set a priority for each preset contact information of the plurality of preset contact information.
For example, the example is given by taking the preset feature information as the preset keyword information and the preset scene information as the scene name. Assuming that the preset scene information is a ' working scene ', the preset feature information corresponding to the preset scene information may be a ' report ', data ' and the like; assuming that the preset scene information is a shopping scene, the preset feature information corresponding to the preset scene information may be payment, discount and the like; assuming that the preset scene information is a "family scene", the preset feature information corresponding to the preset scene information may be "cooking" and "family", etc.; assuming that the preset scene information is a "museum scene", the preset feature information corresponding to the preset scene information may be "cultural relics" and "dynasty" and the like; assuming that the preset scene information is a hospital scene, the preset feature information corresponding to the preset scene information may be medical care, medical insurance, and the like; assuming that the preset scene information is a "school scene", the preset feature information corresponding to the preset scene information may be "teacher" and "book", etc. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
For another example, an example is described in which the preset feature information is preset contact information, and the preset scene information is a scene name. Assuming that the preset scene information is a "work scene", the preset feature information corresponding to the preset scene information may be "manager", manager "and" department length ", etc.; assuming that the preset scene information is a "shopping scene", the preset feature information corresponding to the preset scene information may be "shopping guide" and "salesperson" and the like; if the preset scene information is a "family scene", the preset feature information corresponding to the preset scene information may be "mother" and "wife", etc.; assuming that the preset scene information is a "museum scene", the preset feature information corresponding to the preset scene information may be "librarian" and "commentator", etc.; assuming that the preset scene information is a "hospital scene", the preset feature information corresponding to the preset scene information may be "king doctor" and "nurse", etc.; assuming that the preset scene information is "school scene", the preset feature information corresponding to the preset scene information may be "liu teacher" and "lie classmates", and the like. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
In the following, an exemplary description is given, with reference to table 1, that one piece of preset scene information corresponds to a plurality of pieces of preset keyword information, and the mobile terminal sets a priority for each piece of preset keyword information in the plurality of pieces of preset keyword information in advance.
For example, it is assumed that the preset scene information is a scene name, the preset feature information is preset keyword information, and a scene where the mobile terminal is currently located is a "hospital scene". As shown in table 1, it is assumed that the plurality of preset keyword information corresponding to the "hospital scene" includes "treatment", "specialist", "medicine", "medical insurance", "rehabilitation", and "assay", and the priorities set by the mobile terminal for the plurality of preset keyword information are 1, 2, 3, 4, 5, and 6, respectively.
TABLE 1
Presetting keyword information Priority level
Treatment of 1
Expert 2
Medicine 3
Medical insurance 4
Rehabilitation 5
Assay 6
Referring to table 1, in a case that one piece of preset scene information corresponds to a plurality of pieces of preset keyword information, the priority of the plurality of pieces of preset keyword information sequentially changes from high to low: the "treatment", "specialist", "medicine", "medical insurance", "rehabilitation", and "assay", that is, the mobile terminal may set a priority for each preset keyword information among the plurality of preset keyword information in advance.
Step 202, the mobile terminal sorts the received N messages according to the preset feature information, and displays the N messages according to the sorting result.
Wherein N may be an integer greater than or equal to 2.
Optionally, in this embodiment of the present invention, the N messages may include a message that has been received by the mobile terminal but has not been displayed, and a message that has been received by the mobile terminal and has been displayed; the N messages may also include messages that are all received and already displayed by the mobile terminal; the N messages may also include messages that are all received by the mobile terminal but are not yet displayed.
Optionally, in the embodiment of the present invention, if each of the N messages conforms to the preset feature information, the mobile terminal may sort the N messages according to the time sequence of receiving the messages, or may randomly sort the N messages. Or, if each of the N messages does not conform to the preset feature information, the mobile terminal may sort the N messages according to the time sequence of receiving the messages, or may randomly sort the N messages. Or, if a part of the N messages conforms to the preset feature information, and other messages except the part of the N messages do not conform to the preset feature information, the message ordering method in this possible implementation will be described in detail in the following embodiments, which is not described herein again.
The embodiment of the invention provides a message display method, which can be used for sequencing received messages according to preset characteristic information corresponding to the preset scene information and displaying the received messages according to the sequencing result when the information of the current scene of a mobile terminal accords with the preset scene information, so that the sequence of the messages displayed by the mobile terminal accords with the current scene of the mobile terminal, for example, the mobile terminal can display the messages related to the current scene at a front position (namely the position which is seen by a user firstly) in all the messages, and the flexibility of the mobile terminal in displaying the messages can be improved.
Optionally, in this embodiment of the present invention, the N messages that have been received by the mobile terminal may include X first messages and Y second messages, where the X first messages may be messages that meet the preset feature information in the N messages, the Y second messages may be messages that do not meet the preset feature information in the N messages, X and Y are positive integers, and X + Y ═ N. Accordingly, referring to fig. 2, as shown in fig. 3, the step 202 can be implemented by the following steps 202a and 202 b.
Step 202a, the mobile terminal acquires X first messages and Y second messages from the N messages according to the preset feature information.
Step 202b, the mobile terminal displays the X first messages in the first area and displays the Y second messages in the second area.
The first area and the second area may be two areas in a notification bar of the mobile terminal, and the second area may be located below the first area on a screen of the mobile terminal.
Optionally, in the embodiment of the present invention, the notification bar may be located in a top area of a screen of the mobile terminal, may also be located in a bottom area of the screen of the mobile terminal, and may also be located in a middle area of the screen of the mobile terminal. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in the embodiment of the present invention, the notification bar may be automatically displayed, or the user may trigger the mobile terminal to display the notification bar. For example, the notification bar may be automatically displayed in the form of a pop-up box in the middle area of the screen of the mobile terminal; alternatively, the notification bar may be presented in a top area of a screen of the mobile terminal, and when the user triggers the mobile terminal (e.g., the user pulls down the notification bar), the mobile terminal may display the notification bar throughout the screen. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
In the embodiment of the present invention, it can be understood that, according to a habit that a user usually looks down on a screen of a mobile terminal from top to bottom, an upper area of a notification bar is usually an area that the user sees first, and a message that meets preset feature information is usually a message that meets a user requirement, so that a message that meets the preset feature information (for example, the above-mentioned X first messages) among N messages is displayed on the screen of the mobile terminal in an upper area of a message that does not meet the preset feature information (for example, the above-mentioned Y first messages), and it can be ensured that the user sees the message that meets the user requirement first.
Fig. 4 is a schematic diagram of an interface for displaying a message according to an embodiment of the present invention. It is assumed that the notification bar of the mobile terminal includes a first area 01 and a second area 02, and the first message is denoted by 03 and the second message is denoted by 04. As shown in fig. 4, the second region 02 is located at a region below the first region 01 on the screen of the mobile terminal, and 7 first messages 03 of 'message 1', 'message 2', … …, and 'message 7' are displayed in the first region 01 of the mobile terminal, and 6 second messages 04 of 'message 8', 'message 9', … …, and 'message 13' are displayed in the second region 02 of the mobile terminal.
The above embodiment of the present invention is exemplarily illustrated by taking a first area and a second area as two areas in a notification bar of a mobile terminal, displaying a message that meets preset feature information among N messages in the first area, and displaying a message that does not meet the preset feature information among the N messages in an area (i.e., the second area) below the first area in the notification bar.
Optionally, in an embodiment of the present invention, another possible implementation manner is that the first area and the second area are two areas in a notification bar of the mobile terminal, and the mobile terminal may display, in the first area, a message that does not meet the preset feature information among the N messages, and display, in the notification bar, a message that meets the preset feature information in an area (that is, the second area) below the first area. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
It can be understood that, in another possible implementation manner described above, the message meeting the preset feature information in the N messages may be a message that the user does not want to see or a message that does not meet the user requirement, so that the message that does not meet the preset feature information in the N messages is displayed in a first area on a screen of the mobile terminal, and the message that meets the preset feature information is displayed in an area (i.e., a second area) below the first area, which may ensure that the user sees the message meeting the user requirement first.
The message display method provided by the embodiment of the invention can display the messages (namely X first messages) meeting the preset characteristic information in the N messages received by the mobile terminal in the first area of the notification bar of the mobile terminal, and display the messages (namely Y second messages) not meeting the preset characteristic information in the N messages in the area (namely the second area) positioned below the first area in the notification bar. Because the message meeting the preset characteristic information in the N messages may be the message meeting the user requirement, and the upper area of the notification bar is the position which is usually seen by the user firstly according to the habit that the user usually looks from top to bottom on the screen of the mobile terminal, the message meeting the preset characteristic information in the N messages is displayed in the upper area (namely the position which is closer to the front in the notification bar) of the message which does not meet the preset characteristic information in the N messages on the screen of the mobile terminal, so that the user can be ensured to see the message meeting the user requirement firstly, the flexibility of displaying the message by the mobile terminal can be improved, and the experience of the user can be improved.
Optionally, with reference to fig. 3, as shown in fig. 5, in the embodiment of the present invention, before the step 202b, the message display method provided in the embodiment of the present invention may further include the following step 202c and step 202 d. Accordingly, the step 202b can be specifically realized by the step 202b1 described below.
Step 202c, the mobile terminal determines at least one first application receiving X first messages and at least one second application receiving Y second messages.
Step 202d, the mobile terminal obtains the first priority set and the second priority set.
The first priority set may include a priority of each first application of the at least one first application displaying messages, and the second priority set may include a priority of each second application of the at least one second application displaying messages.
Step 202b1, the mobile terminal displays the first message received by each first application in the X first messages in the first area according to the first priority set; and displaying the second message received by each second application in the Y second messages in the second area according to the second set of priorities.
Optionally, in this embodiment of the present invention, each of the at least one first application may receive one first message, or may receive multiple first messages; each of the at least one second application may receive one second message or a plurality of second messages.
The following describes an exemplary manner in which the mobile terminal displays the first message and the second message, by taking an example in which each first application of the mobile terminal receives one first message and each second application receives one second message.
For example, fig. 6 is a schematic diagram of an interface for displaying messages according to priority according to an embodiment of the present invention. The priority of each first application in the at least one first application for displaying the message is assumed to be from high to low: a first application receiving 'message 3', a first application receiving 'message 2', a first application receiving 'message 7', a first application receiving 'message 5', a first application receiving 'message 1', a first application receiving 'message 6', and a first application receiving 'message 4', the first area 01 of the mobile terminal may sequentially display 'message 3', 'message 2', 'message 7', 'message 5', 'message 1', 'message 6', and 'message 4', as shown in fig. 6.
And assuming that the priority of each second application display message in the at least one second application is as follows from high to low: a second application receiving the "message 10", a second application receiving the "message 12", a second application receiving the "message 9", a second application receiving the "message 13", a second application receiving the "message 8", and a second application receiving the "message 11", the second area 02 of the mobile terminal may sequentially display the "message 10", the "message 12", the "message 9", the "message 13", the "message 8", and the "message 11", as shown in fig. 6.
It should be noted that, in the embodiment of the present invention, specific implementation manners of displaying the first message and the second message by the mobile terminal are not limited in the case that each first application receives a plurality of first messages and each second application receives a plurality of second messages. For example, when a first application of the mobile terminal receives a plurality of first messages, the mobile terminal may sort the plurality of first messages according to a time sequence in which the first application receives the plurality of first messages, or may randomly sort the plurality of first messages.
It is to be understood that in the case where the priority of displaying the message by each of the at least one first application is different, then the first message received by each of the X first applications is displayed differently in the first area; in the case where the priority of each of the at least one second application displaying the message is different, then the second message received by each of the Y second applications is displayed differently in the second area.
In the message display method provided by the embodiment of the present invention, the mobile terminal may display the first message received by each of the X first messages in the first area according to the first priority set (the first priority set includes the priority of each of the at least one first application display message), and display the second message received by each of the Y second messages in the second area according to the second priority set (the second priority set includes the priority of each of the at least one second application display message). Therefore, the messages displayed in the first area and the second area can be further sequenced respectively, so that the flexibility of displaying the messages by the mobile terminal can be improved, and the messages displayed by the mobile terminal can better meet the actual requirements of users.
Optionally, in this embodiment of the present invention, the step 202d may be specifically implemented by the following step 202d1 and step 202d 2.
Step 202d1, the mobile terminal obtains the history data of each first application and the history data of each second application.
Step 202d2, the mobile terminal obtains the first priority set according to the history data of each first application, and obtains the second priority set according to the history data of each second application.
The historical data of each first application can comprise at least one of the times, duration and usage intervals of each first application used by a user in a first preset time period; the history data of each second application may include at least one of a number of times, a duration, and a usage interval of each second application used by the user within a second preset time period.
Optionally, in the embodiment of the present invention, the first preset time period and the second preset time period may be two same time periods, or two different time periods. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
For example, it is assumed that the at least one first application includes n first applications, which are respectively denoted as application 1, … …, application i, … …, and application n, and the number of times that the user uses application i in the n first applications within the first preset time period is aiThe duration of the application i used by the user in the first preset time period is biThe usage interval of the application i used by the user in the first preset time period is ciAnd the application i displays the message with priority kiThen k can be obtainediComprises the following steps:
ki=(1-ai/(a1+a2+…+an))×X+(bi/(b1+b2+…+bn))×Y+(ci/(c1+c2+…+cn))×Z。
wherein X represents a weight coefficient of the degree, Y represents a weight coefficient of the duration, Z represents a weight coefficient of the usage interval, i and n are integers, i is equal to or less than 1 and is equal to or less than n, and X + Y + Z is equal to 1.
Correspondingly, for a specific implementation manner in which the mobile terminal obtains the second priority according to the historical data of each second application, reference may be made to the description related to the implementation manner in which the mobile terminal obtains the first priority according to the historical data of each first application in the foregoing embodiment, and details are not repeated here.
In the message display method provided by the embodiment of the present invention, the mobile terminal may obtain the first priority set according to the history data of each first application, and obtain the second priority set according to the history data of each second application, so that the mobile terminal may display the first message received by each first application in the X first messages in the first area according to the first priority set, and display the second message received by each second application in the Y second messages in the second area according to the second priority set.
Optionally, in the embodiment of the present invention, the step 200 may be specifically implemented by the following steps 200a and 200 b.
Step 200a, the mobile terminal acquires the position information of the mobile terminal.
The location information may be used to indicate a current location of the mobile terminal.
And 200b, the mobile terminal acquires scene information corresponding to the position information according to the position information.
Optionally, in this embodiment of the present invention, the location information may be longitude and latitude information. Correspondingly, the scene information corresponding to the location information may include at least one of a scene name and a scene picture corresponding to the longitude and latitude information.
Optionally, in the embodiment of the present invention, the mobile terminal may obtain the location information of the mobile terminal through a Global Positioning System (GPS), or obtain the location information of the mobile terminal according to cell information of a network in which the mobile terminal is registered. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in the embodiment of the present invention, a possible implementation manner is that the mobile terminal may preset a corresponding relationship between the position information and the scene information; another possible implementation manner is that the mobile terminal may obtain, according to the location information and in combination with the big data, information of a scene corresponding to the location indicated by the location information, that is, scene information.
For example, fig. 7 is a schematic diagram of positioning information according to an embodiment of the present invention. It is assumed that the scene information corresponding to the location information includes a scene name and a scene picture. As shown in fig. 7, the mobile terminal may first acquire the location information a of the mobile terminal as 41 ° 47 ° north latitude, 123 ° east longitude 27 "; then, the mobile terminal can determine that the current position of the mobile terminal is in the palace museum according to the position information a and by combining big data, that is, the mobile terminal can acquire that the scene name C corresponding to the position information a is the "palace museum" and acquire the scene picture B corresponding to the position information a.
According to the message display method provided by the embodiment of the invention, the mobile terminal can acquire the position information of the mobile terminal and acquire the scene information corresponding to the position information according to the position information, so that the mobile terminal can judge whether the information of the scene where the mobile terminal is currently located accords with the preset scene information and determine whether to sort the received messages.
Optionally, the message display method provided in the embodiment of the present invention may further include the following steps 203 to 205.
Step 203, when the scene information does not accord with the preset scene information, the mobile terminal determines to receive at least one third application of the N messages.
And step 204, the mobile terminal acquires a third priority set.
The third priority set may include a priority of each third application displaying messages in the at least one third application.
And step 205, the mobile terminal displays the message received by each third application in the N messages in a notification bar of the mobile terminal according to the third priority set.
Optionally, in this embodiment of the present invention, when N is an integer greater than or equal to 2, each third application in the at least one third application may receive one message, or may receive multiple messages, which may be specifically determined according to actual usage requirements, and this embodiment of the present invention is not limited.
For a specific implementation manner of the mobile terminal acquiring the third priority set, reference may be made to the description of the implementation manner of the mobile terminal acquiring the first priority set in step 202d1 and step 202d2 in the foregoing embodiments, and details are not described here again.
Optionally, in this embodiment of the present invention, the third application may include at least one first application, may also include at least one second application, and may also include at least one first application and at least one second application. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
In the message display method provided by the embodiment of the present invention, when the scene information does not conform to the preset scene information, the mobile terminal may display the message received by each third application in the N messages in the notification bar according to the priority (i.e., the third priority) of each third application display message in the at least one third application. Therefore, when the scene information does not accord with the preset scene information, the messages received by the mobile terminal can be sequenced, so that the flexibility of displaying the messages by the mobile terminal can be improved, and the messages displayed by the mobile terminal can better meet the actual requirements of users.
As shown in fig. 8, an embodiment of the invention provides a mobile terminal 800. The mobile terminal may include an acquisition module 801 ordering module 802 and a display module 803. The acquiring module 801 is configured to acquire scene information, and acquire preset feature information corresponding to the preset scene information when the scene information conforms to the preset scene information, where the scene information is used to indicate a scene where the mobile terminal is currently located; a sorting module 802, configured to sort the received N messages according to the preset feature information acquired by the acquiring unit 801; a display module 803, and displays the N messages according to the sorting result of the sorting module 802, where N is an integer greater than or equal to 2.
Optionally, in this embodiment of the present invention, the N messages may include X first messages and Y second messages, where the X first messages are messages that meet preset feature information in the N messages, the Y second messages are messages that do not meet the preset feature information in the N messages, X and Y are positive integers, and X + Y ═ N. The sorting module 802 is specifically configured to obtain X first messages and Y second messages from the N messages according to the preset feature information obtained by the obtaining unit 801; the display module 803 is specifically configured to display the X first messages acquired by the sorting module 802 in a first area, and display the Y second messages acquired by the sorting module 802 in a second area, where the first area and the second area are two areas in a notification bar of the mobile terminal, and the second area is located below the first area on a screen of the mobile terminal.
Optionally, with reference to fig. 8, as shown in fig. 9, the mobile terminal provided in the embodiment of the present invention may further include a determining module 804. A determining module 804, configured to determine at least one first application receiving the X first messages and at least one second application receiving the Y second messages before the display module 803 displays the X first messages in the first area and displays the Y second messages in the second area; an obtaining module 801, further configured to obtain a first priority set and a second priority set, where the first priority set includes the priority of each first application display message in the at least one first application determined by the determining module 804, and the second priority set includes the priority of each second application display message in the at least one second application determined by the determining module 804; the displaying module 803 is specifically configured to display, in the first area, the first message received by each first application in the X first messages according to the first priority set acquired by the acquiring module 801, and display, in the second area, the second message received by each second application in the Y second messages according to the second priority set acquired by the acquiring module 801.
Optionally, in this embodiment of the present invention, the obtaining module 801 is specifically configured to obtain history data of each first application and history data of each second application; and acquiring a first priority set according to the historical data of each first application, and acquiring a second priority set according to the historical data of each second application. Wherein the historical data of each first application comprises at least one of the times, duration and usage intervals of the first application used by the user in a first preset time period; the historical data of each second application comprises at least one of the number of times, the duration and the use interval of each second application used by the user within a second preset time period.
Optionally, in the embodiment of the present invention, the obtaining module 801 is specifically configured to obtain location information of the mobile terminal, and obtain scene information corresponding to the location information according to the location information, where the location information is used to indicate a current location of the mobile terminal.
Optionally, as shown in fig. 9, in the embodiment of the present invention, the mobile terminal further includes a determining module 804. A determining module 804, configured to determine at least one third application that receives the N messages when the context information acquired by the acquiring module 801 does not conform to the preset context information; an obtaining module 801, configured to obtain a third priority set, where the third priority set includes the priority of each third application display message in the at least one third application determined by the determining module 804; the display module 803 is further configured to display, in the notification bar of the mobile terminal, the message received by each third application in the N messages according to the third priority set acquired by the acquisition module 801.
The mobile terminal provided by the embodiment of the present invention can implement each process implemented by the mobile terminal in the above method embodiments, and is not described herein again to avoid repetition.
The embodiment of the invention provides a mobile terminal, and when the information of the current scene of the mobile terminal accords with the preset scene information, the mobile terminal can sort the received messages according to the preset characteristic information corresponding to the preset scene information and display the received messages according to the sorting result, so that the sequence of the messages displayed by the mobile terminal accords with the current scene of the mobile terminal, for example, the mobile terminal can display the messages related to the current scene at the front position (namely the position which is seen by a user firstly) in all the messages, and the flexibility of displaying the messages by the mobile terminal can be improved.
Fig. 10 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention. As shown in fig. 10, the mobile terminal 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture illustrated in fig. 10 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 110 is configured to obtain scene information, obtain preset feature information corresponding to the preset scene information when the scene information conforms to the preset scene information, and sort the received N messages according to the preset feature information, where the scene information is used to indicate a scene where the mobile terminal is currently located; a display unit 106, configured to display the N messages according to the sorting result of the processor 110, where N is an integer greater than or equal to 2.
The embodiment of the invention provides a mobile terminal, and when the information of the current scene of the mobile terminal accords with the preset scene information, the mobile terminal can sort the received messages according to the preset characteristic information corresponding to the preset scene information and display the received messages according to the sorting result, so that the sequence of the messages displayed by the mobile terminal accords with the current scene of the mobile terminal, for example, the mobile terminal can display the messages related to the current scene at the front position (namely the position which is seen by a user firstly) in all the messages, and the flexibility of displaying the messages by the mobile terminal can be improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device 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, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 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.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 10 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 is an interface through which an external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, 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 operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the mobile terminal 100 includes some functional modules that are not shown, and thus, the detailed description thereof is omitted.
Optionally, an embodiment of the present invention further provides a mobile terminal, which includes a processor 110, a memory 109, and a computer program that is stored in the memory 109 and is executable on the processor 110, as shown in fig. 10, and when the computer program is executed by the processor 110, the computer program implements the processes of the foregoing method embodiment, and can achieve the same technical effects, and details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the method embodiments, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a mobile terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (14)

1. A method for displaying messages, the method comprising:
acquiring scene information, wherein the scene information is used for indicating a scene where the mobile terminal is located currently, and the scene information comprises a scene picture;
when the scene information accords with preset scene information, acquiring preset characteristic information corresponding to the preset scene information;
sorting the received N messages according to the preset feature information, and displaying the N messages according to a sorting result, wherein the preset feature information is preset keyword information, one preset feature information corresponds to a plurality of preset keyword information, each preset keyword information in the plurality of preset keyword information corresponds to a priority, and N is an integer greater than or equal to 2;
the N messages include X first messages and Y second messages, where the X first messages are messages that meet the preset feature information among the N messages, the Y second messages are messages that do not meet the preset feature information among the N messages, X and Y are positive integers, and X + Y is equal to N;
the sorting the received N messages according to the preset feature information and displaying the N messages according to a sorting result includes:
acquiring the X first messages and the Y second messages from the N messages according to the preset characteristic information;
and displaying the X first messages in a first area, and displaying the Y second messages in a second area, wherein the first area and the second area are two areas in a notification bar of the mobile terminal.
2. The method according to claim 1, wherein the second area is located below the first area on the screen of the mobile terminal.
3. The method of claim 1, wherein before displaying the X first messages in a first area and the Y second messages in a second area, the method further comprises:
determining at least one first application that receives the X first messages and at least one second application that receives the Y second messages;
obtaining a first priority set and a second priority set, wherein the first priority set comprises the priority of each first application display message in the at least one first application, and the second priority set comprises the priority of each second application display message in the at least one second application;
the displaying the X first messages in a first area and the Y second messages in a second area includes:
displaying the first message received by each first application in the X first messages in the first area according to the first priority set; and displaying the second message received by each second application in the Y second messages in the second area according to the second priority set.
4. The method of claim 3, wherein obtaining the first set of priorities and the second set of priorities comprises:
acquiring historical data of each first application and historical data of each second application;
acquiring the first priority set according to the historical data of each first application, and acquiring the second priority set according to the historical data of each second application;
wherein the historical data of each first application comprises at least one of the number of times, the duration and the use interval of each first application used by a user within a first preset time period; the historical data of each second application comprises at least one of the times, the duration and the use intervals of each second application used by the user in a second preset time period.
5. The method according to any one of claims 1 to 4, wherein the obtaining scene information comprises:
acquiring position information of the mobile terminal, wherein the position information is used for indicating the current position of the mobile terminal;
and acquiring the scene information corresponding to the position information according to the position information.
6. The method of claim 1, further comprising:
determining at least one third application that receives the N messages when the context information does not conform to the preset context information;
acquiring a third priority set, wherein the third priority set comprises the priority of each third application display message in the at least one third application;
and displaying the message received by each third application in the N messages in a notification bar of the mobile terminal according to the third priority set.
7. A mobile terminal, characterized in that the mobile terminal comprises:
the mobile terminal comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring scene information and acquiring preset characteristic information corresponding to the preset scene information when the scene information accords with the preset scene information, the scene information is used for indicating a current scene of the mobile terminal, and the scene information comprises a scene picture;
the sequencing module is used for sequencing the received N messages according to the preset characteristic information acquired by the acquisition module;
the display module is used for displaying the N messages according to the sorting result of the sorting module, the preset characteristic information is preset keyword information, one preset characteristic information corresponds to a plurality of preset keyword information, each preset keyword information in the plurality of preset keyword information corresponds to a priority, and N is an integer greater than or equal to 2;
the N messages include X first messages and Y second messages, where the X first messages are messages that meet the preset feature information among the N messages, the Y second messages are messages that do not meet the preset feature information among the N messages, X and Y are positive integers, and X + Y is equal to N;
the sorting module is specifically configured to acquire the X first messages and the Y second messages from the N messages according to the preset feature information acquired by the acquisition module;
the display module is specifically configured to display the X first messages acquired by the sorting module in a first area, and display the Y second messages acquired by the sorting module in a second area, where the first area and the second area are two areas in a notification bar of the mobile terminal.
8. The mobile terminal of claim 7, wherein the second area is located below the first area on a screen of the mobile terminal.
9. The mobile terminal of claim 7, wherein the mobile terminal further comprises a determination module;
the determining module is configured to determine at least one first application receiving the X first messages and at least one second application receiving the Y second messages before the displaying module displays the X first messages in the first area and displays the Y second messages in the second area;
the obtaining module is further configured to obtain a first priority set and a second priority set, where the first priority set includes the priority of each first application display message in the at least one first application determined by the determining module, and the second priority set includes the priority of each second application display message in the at least one second application determined by the determining module;
the display module is specifically configured to display, in the first area, the first message received by each first application in the X first messages according to the first priority set acquired by the acquisition module; and displaying the second message received by each second application in the Y second messages in the second area according to the second priority set acquired by the acquisition module.
10. The mobile terminal of claim 9,
the obtaining module is specifically configured to obtain historical data of each first application and historical data of each second application; acquiring the first priority set according to the historical data of each first application, and acquiring the second priority set according to the historical data of each second application;
wherein the historical data of each first application comprises at least one of the number of times, the duration and the use interval of each first application used by a user within a first preset time period; the historical data of each second application comprises at least one of the times, the duration and the use intervals of each second application used by the user in a second preset time period.
11. The mobile terminal according to any of claims 7 to 10,
the obtaining module is specifically configured to obtain location information of the mobile terminal, and obtain the scene information corresponding to the location information according to the location information, where the location information is used to indicate a current location of the mobile terminal.
12. The mobile terminal of claim 7, wherein the mobile terminal further comprises a determination module;
the determining module is configured to determine at least one third application that receives the N messages when the scene information acquired by the acquiring module does not conform to the preset scene information;
the obtaining module is further configured to obtain a third priority set, where the third priority set includes the priority of each third application display message in the at least one third application determined by the determining module;
the display module is further configured to display, in a notification bar of the mobile terminal, the message received by each third application in the N messages according to the third priority set acquired by the acquisition module.
13. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the message display method according to any one of claims 1 to 6.
14. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the message display method according to any one of claims 1 to 6.
CN201810362103.0A 2018-04-20 2018-04-20 Message display method and mobile terminal Active CN108762621B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810362103.0A CN108762621B (en) 2018-04-20 2018-04-20 Message display method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810362103.0A CN108762621B (en) 2018-04-20 2018-04-20 Message display method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108762621A CN108762621A (en) 2018-11-06
CN108762621B true CN108762621B (en) 2021-09-21

Family

ID=64011072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810362103.0A Active CN108762621B (en) 2018-04-20 2018-04-20 Message display method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108762621B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109614183A (en) * 2018-11-22 2019-04-12 维沃移动通信有限公司 A kind of message display method and terminal device
CN109976844A (en) * 2019-01-25 2019-07-05 维沃移动通信有限公司 A kind of message display method and mobile terminal
CN110262868B (en) * 2019-06-27 2022-04-22 Oppo广东移动通信有限公司 Notification message display method and related equipment
CN113225243A (en) * 2020-02-06 2021-08-06 阿尔派株式会社 Voice output device and voice output method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103648084A (en) * 2013-12-05 2014-03-19 百度在线网络技术(北京)有限公司 Method and system for message displaying at message notification board
CN105404639A (en) * 2015-10-19 2016-03-16 中国联合网络通信集团有限公司 Unread message pushing displaying and sorting method and device
US9300605B2 (en) * 2007-09-06 2016-03-29 International Business Machines Corporation System and method to provide a centralized alerting and awareness system through the use of an ear piece or other user interface
CN105763630A (en) * 2016-04-12 2016-07-13 百度在线网络技术(北京)有限公司 Information pushing method and device applied to mobile terminal
CN106250144A (en) * 2016-07-28 2016-12-21 北京珠穆朗玛移动通信有限公司 A kind of informing message display method and mobile terminal thereof
CN106598718A (en) * 2016-12-07 2017-04-26 珠海市魅族科技有限公司 Notification management method and device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10360385B2 (en) * 2011-03-22 2019-07-23 Microsoft Technology Licensing Llc Visual styles for trust categories of messages
CN103037000B (en) * 2012-12-21 2015-07-08 北京邮电大学 Publish-subscribe system and notification message processing method thereof
KR102152819B1 (en) * 2014-07-08 2020-09-07 엘지전자 주식회사 Mobile terminal and method for controlling the same
KR101605507B1 (en) * 2014-10-07 2016-03-22 숭실대학교산학협력단 Method for executing macro and control method of web sever for executing macro, recording medium for performing the method
KR20170007050A (en) * 2015-07-10 2017-01-18 삼성전자주식회사 Electronic device and notification method thereof
CN105786322A (en) * 2016-03-22 2016-07-20 北京金山安全软件有限公司 Application notification message display method and device and electronic equipment
US10063497B2 (en) * 2016-06-11 2018-08-28 Notion Ai, Inc. Electronic reply message compositor and prioritization apparatus and method of operation
US9979680B2 (en) * 2016-07-21 2018-05-22 Fujitsu Limited Smart notification scheduling and modality selection
CN107423147A (en) * 2017-07-26 2017-12-01 维沃移动通信有限公司 One kind notice recommendation method and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9300605B2 (en) * 2007-09-06 2016-03-29 International Business Machines Corporation System and method to provide a centralized alerting and awareness system through the use of an ear piece or other user interface
CN103648084A (en) * 2013-12-05 2014-03-19 百度在线网络技术(北京)有限公司 Method and system for message displaying at message notification board
CN105404639A (en) * 2015-10-19 2016-03-16 中国联合网络通信集团有限公司 Unread message pushing displaying and sorting method and device
CN105763630A (en) * 2016-04-12 2016-07-13 百度在线网络技术(北京)有限公司 Information pushing method and device applied to mobile terminal
CN106250144A (en) * 2016-07-28 2016-12-21 北京珠穆朗玛移动通信有限公司 A kind of informing message display method and mobile terminal thereof
CN106598718A (en) * 2016-12-07 2017-04-26 珠海市魅族科技有限公司 Notification management method and device

Also Published As

Publication number Publication date
CN108762621A (en) 2018-11-06

Similar Documents

Publication Publication Date Title
CN108255382B (en) Method and device for recommending floating menu content
CN109543099B (en) Content recommendation method and terminal equipment
CN109409244B (en) Output method of object placement scheme and mobile terminal
CN109471690B (en) Message display method and terminal equipment
CN109857494B (en) Message prompting method and terminal equipment
CN109862504B (en) Display method and terminal equipment
CN108762621B (en) Message display method and mobile terminal
CN108984066B (en) Application icon display method and mobile terminal
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN108874906B (en) Information recommendation method and terminal
CN108600089B (en) Expression image display method and terminal equipment
CN108135033A (en) A kind of Bluetooth connecting method and mobile terminal
CN108388403B (en) Method and terminal for processing message
CN110971510A (en) Message processing method and electronic equipment
CN108833791B (en) Shooting method and device
CN108196781B (en) Interface display method and mobile terminal
CN108536349B (en) Icon management method and mobile terminal
CN108549660B (en) Information pushing method and device
CN108062195A (en) The reminding method and mobile terminal of a kind of notification event
CN109982273B (en) Information reply method and mobile terminal
CN109889756B (en) Video call method and terminal equipment
CN110784394A (en) Prompting method and electronic equipment
CN110765170A (en) User portrait generation method and wearable device
CN111596986B (en) Information prompting method and electronic equipment
CN109068276B (en) Message conversion method and 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
GR01 Patent grant
GR01 Patent grant