CN107992248B - Message display method and device - Google Patents

Message display method and device Download PDF

Info

Publication number
CN107992248B
CN107992248B CN201711206391.2A CN201711206391A CN107992248B CN 107992248 B CN107992248 B CN 107992248B CN 201711206391 A CN201711206391 A CN 201711206391A CN 107992248 B CN107992248 B CN 107992248B
Authority
CN
China
Prior art keywords
message
application program
notification
message bit
notification bar
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
CN201711206391.2A
Other languages
Chinese (zh)
Other versions
CN107992248A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201711206391.2A priority Critical patent/CN107992248B/en
Publication of CN107992248A publication Critical patent/CN107992248A/en
Application granted granted Critical
Publication of CN107992248B publication Critical patent/CN107992248B/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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • 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/0482Interaction with lists of selectable items, e.g. menus

Abstract

The disclosure discloses a message display method and a device, belonging to the field of information display, wherein the method comprises the following steps: when receiving a trigger operation on a notification bar, displaying at least one message bit in a notification bar interface, wherein at least one application program corresponds to one message bit, and the message bit comprises at least two historical notification messages pushed by the application program; receiving a selection operation of a first message bit of the at least one message bit; and according to the selection operation, expanding and displaying all the historical notification messages pushed by the first application program in the notification bar interface, wherein the first application program corresponds to the first message position. In the embodiment of the disclosure, all the historical notification messages pushed by the same application program are aggregated in the same message bit, so that a user can conveniently and collectively look up the historical notification messages of different application programs, and further the viewing efficiency of the notification messages is improved.

Description

Message display method and device
Technical Field
The disclosed embodiments relate to the field of information display, and in particular, to a message display method and device.
Background
With the development and popularization of various application programs, the number of the application programs installed in the terminal is increased, and notification messages pushed by the various application programs are correspondingly increased in the using process of a user.
In order to reduce the influence of pushing the notification message by the application program on the normal use of the user, the terminal uniformly moves the unprocessed notification message to the notification bar. When the pull-down operation of the user on the notification bar is received, the terminal expands the notification bar so that the user can browse the notification messages one by one; and when the click operation of the user on the notification message is received, the terminal skips to display the application program corresponding to the notification message so that the user can process the notification message.
Disclosure of Invention
In order to solve the problem that notification messages of each application program are displayed in a notification bar one by one when the application program pushes the notification messages, and the notification message viewing efficiency is low due to the fact that a large amount of display space of the notification bar is occupied, the embodiment of the disclosure provides a message display method and a message display device, and the technical scheme is as follows:
in a first aspect, a message display method is provided, which includes:
when receiving a trigger operation on a notification bar, displaying at least one message bit in a notification bar interface, wherein at least one application program corresponds to one message bit, and the message bit comprises at least two historical notification messages pushed by the application program;
receiving a selection operation of a first message bit of the at least one message bit;
and according to the selection operation, expanding and displaying all the historical notification messages pushed by the first application program in the notification bar interface, wherein the first application program corresponds to the first message position.
In a second aspect, there is provided a message display apparatus comprising:
the notification bar display method comprises a first display module, a second display module and a notification bar display module, wherein the first display module is configured to display at least one message bit in a notification bar interface when a trigger operation on the notification bar is received, at least one application program corresponds to one message bit, and the message bit comprises at least two historical notification messages pushed by the application program;
a receiving module configured to receive a selection operation of a first message bit of the at least one message bit;
and the second display module is configured to expand and display each historical notification message pushed by the first application program in the notification bar interface according to the selection operation, wherein the first application program corresponds to the first message position.
In a third aspect, there is provided a message display apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when receiving a trigger operation on a notification bar, displaying at least one message bit in a notification bar interface, wherein at least one application program corresponds to one message bit, and the message bit comprises at least two historical notification messages pushed by the application program;
receiving a selection operation of a first message bit of the at least one message bit;
and according to the selection operation, expanding and displaying all the historical notification messages pushed by the first application program in the notification bar interface, wherein the first application program corresponds to the first message position.
In a fourth aspect, there is provided a computer readable medium having stored thereon program instructions which, when executed by a processor, implement the message display method as described in the first aspect above.
The technical scheme provided by the embodiment of the disclosure has the following beneficial effects:
in the embodiment of the disclosure, when a trigger operation of a user on a notification bar is received, a terminal displays at least one message position in a notification bar interface, and when a selection operation of the user on the message position in the notification bar is received, the terminal expands and displays each historical notification message pushed by an application program corresponding to the message position in the notification bar interface; in the embodiment, because the historical notification messages pushed by the same application program are aggregated in the same message position, the notification messages in the notification bar interface occupy fewer entries, and are more organized, so that a user can conveniently and intensively look up the historical notification messages of different application programs, and the viewing efficiency of the notification messages is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a message display method provided by an exemplary embodiment of the present disclosure;
FIG. 2 is an interface schematic diagram of a message display process provided by an exemplary embodiment of the present disclosure;
FIG. 3 is a flowchart of a message display method provided by an exemplary embodiment of the present disclosure;
fig. 4 is a flowchart of a message display method provided by another exemplary embodiment of the present disclosure;
FIG. 5 is an interface schematic diagram of a message display process provided by an exemplary embodiment of the present disclosure;
FIG. 6 is a flowchart of a message display method provided by an exemplary embodiment of the present disclosure;
FIG. 7 is an interface schematic diagram of a message display process provided by an exemplary embodiment of the present disclosure;
fig. 8 is a block diagram of a message display apparatus provided in an exemplary embodiment of the present disclosure;
fig. 9 is a block diagram illustrating a terminal according to an example embodiment.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
In the related art, notification messages pushed by each application program are displayed in a notification bar of a terminal one by one, that is, each notification message occupies one message bit in the notification bar. When the notification messages are displayed in the mode, when the notification messages pushed by the same application program are more, the display space of the notification bar interface is greatly occupied, and the searching efficiency of a user is influenced; on the other hand, when important notification messages are sandwiched among a large number of unimportant notification messages, omission of important notification messages is easily caused.
In order to avoid the above problem, in various embodiments of the present disclosure, notification messages pushed by the same application in the terminal are aggregated into the same message bit, that is, one application corresponds to one message bit. When the notification messages are displayed in the mode, the number of displayed items in the notification bar interface is less, and the notification bar interface is more organized, and a user can click the aggregated message positions to expand and view all the historical notification messages, so that omission of important notification messages is avoided.
The message display method provided by the embodiments of the present disclosure is executed by a terminal, which may be a smart phone, a tablet computer, a personal portable computer, or the like. For convenience of description, the following embodiments are described taking as an example that a message display method is used for a terminal.
Fig. 1 is a flowchart of a message display method according to an exemplary embodiment of the present disclosure. The embodiment is exemplified by applying the method to a terminal, and the message display method includes the following steps:
step 102, when a trigger operation for the notification bar is received, displaying at least one message bit in a notification bar interface, wherein at least one application program corresponds to one message bit, and the message bit comprises at least two historical notification messages pushed by the application program.
When a user needs to view a notification message displayed in the notification bar, the notification bar needs to be expanded, and optionally, the trigger operation of expanding the notification bar is a pull-down operation acting on the notification bar.
When the drop-down operation of the notification bar is received, the terminal displays at least one message bit in a notification bar interface, wherein the historical notification messages pushed by at least one application program are aggregated in the corresponding message bit, and the message bit comprises at least two historical notification messages pushed by the application program.
Optionally, the content displayed on the message position includes an application icon, a name, a history notification message number, and the like. And the terminal sorts the message bits according to the sequence of the received application program push notification messages.
Illustratively, as shown in fig. 2, when a drop-down operation of a user on a notification bar is received, a first message bit 201, a second message bit 202, and a third message bit 203 are displayed in a notification bar interface 210, where each history notification message pushed by an x chat is aggregated in the first message bit 201, each history notification message pushed by an xx head is aggregated in the second message bit 202, and each history notification message pushed by an xx browser is aggregated in the third message bit 203.
In one possible implementation, the user may manually set the application (hereinafter referred to as the target application) that needs to be subject to the aggregation of notification messages. When a trigger operation on the notification bar is received, the notification bar displays message bits corresponding to the target application program (including all history notification messages pushed by the target application program) and all history notification messages pushed by other application programs except the target application program. Wherein, each history notification message pushed by other application program occupies one message bit respectively.
For example, the user sets the chat x with more notification messages as the target application, and does not set the xx browser with less notification messages. When a trigger operation on the notification bar is received, displaying a message position corresponding to the chat of x in the notification bar, and displaying each historical notification message corresponding to the xx browser respectively.
In another possible implementation manner, when detecting that the number of history notification messages (or the notification message pushing frequency) of the application program is greater than the threshold value, the terminal aggregates the history notification messages of the application program into the same message bit. Wherein the threshold may be 2. When the trigger operation of the notification bar is received, the message bit corresponding to the application program with the history notification message quantity larger than the threshold value and each history notification message corresponding to the application program with the history notification message quantity smaller than the threshold value are displayed in the notification bar.
Step 104, receiving a selection operation for a first message bit of the at least one message bit.
When a user needs to view a history notification message pushed by an application program, a first message position corresponding to the application program displayed in a notification bar interface is selected, and correspondingly, the terminal receives selection operation of the first message position.
Alternatively, the selection operation may be any one of a single click, a double click, and a long press.
Illustratively, as shown in fig. 2, when the user needs to view the historical notification message pushed by the xx headline, i.e. clicks the second message position 202 displayed in the notification bar interface, the terminal receives a selection operation signal for the second message position 202 accordingly.
And 106, according to the selection operation, expanding and displaying each historical notification message pushed by the first application program in the notification bar interface, wherein the first application program corresponds to the first message position.
Because the first message bit corresponds to the first application program, after the selection operation of the user on the first message bit is received, the terminal expands and displays each historical notification message pushed by the first application program in the notification bar interface. Optionally, the history notification messages are unprocessed notification messages, for example, when the first application is an instant messaging application and the first application logs in the account a, the history notification messages include all unread messages received by the account a; and displaying all the historical notification messages expanded and displayed in the notification bar interface in sequence according to the sequence of the pushing time.
In one possible implementation mode, when various historical notification messages pushed by a first application program are expanded and displayed in a notification bar interface, the terminal keeps displaying a first message bit; when the selection operation of the first message bit is received again, the terminal collects each history notification message.
In another possible implementation manner, when various historical notification messages pushed by the first application program are expanded and displayed in the notification bar interface, the terminal hides the first message bit.
Illustratively, as shown in fig. 2, after the terminal receives the selection operation signal of the user to the second message bit 202, the terminal develops and displays the history notification message pushed by the xx head bar: notification message 1 and notification message 2.
In summary, in the embodiment of the present disclosure, when a trigger operation of a user on a notification bar is received, a terminal displays at least one message position in a notification bar interface, and when a selection operation of the user on a message position in the notification bar is received, develops and displays each historical notification message pushed by an application corresponding to the message position in the notification bar interface; in the embodiment, because the historical notification messages pushed by the same application program are aggregated in the same message position, the notification messages in the notification bar interface occupy fewer entries, and are more organized, so that a user can conveniently and intensively look up the historical notification messages of different application programs, and the viewing efficiency of the notification messages is improved.
When the notification messages of the same application program are aggregated in the same message bit by adopting the mode, the terminal needs to determine whether to add the notification message to the existing message bit when receiving one notification message. On the basis of fig. 1, as shown in fig. 3, the message display method further includes the steps of:
step 101A, when receiving a notification message pushed by a second application, detecting whether a notification bar includes a message bit corresponding to the second application.
In order to avoid that notification messages of the same application occupy different message bits, when receiving a notification message pushed by a second application, the terminal detects whether a notification bar already contains a message bit corresponding to the second application (i.e., determines whether a notification message pushed by the second application is received before), if it is detected that a message bit corresponding to the second application is already contained, step 101B is executed, and when the notification bar does not contain a message bit corresponding to the second application, step 101C is executed.
In a possible implementation manner, each message bit in the notification bar corresponds to an application identifier, the application identifier is an application name of an application, and the terminal can determine the application corresponding to the message bit by identifying the application identifier corresponding to the message bit.
Optionally, the notification message received by the terminal includes an identifier of the application program (i.e., an identifier of the second application program), and when the notification message pushed by the second application program is received, the terminal detects whether the application program identifier corresponding to each message bit in the notification bar matches the application program identifier in the notification message. When detecting that a message bit matched with the application program identifier in the notification message exists in the notification bar, the terminal determines that the notification bar contains the message bit corresponding to the second application program; when detecting that no message bit matched with the application program identification in the notification message exists in the notification bar, the terminal determines that the notification bar does not contain the message bit corresponding to the second application program.
And step 101B, adding the notification message to the message bit when the notification bar contains the message bit corresponding to the second application program.
When the notification bar contains the message bit corresponding to the second application program, the terminal adds the notification message to the message bit in order to avoid occupying extra display space of the notification bar.
In a possible implementation manner, the name of the second application and the number of the historical notification messages pushed by the second application are displayed on the message bit corresponding to the second application, and when the notification message pushed by the second notification message is received again, the terminal adds the notification message to the message bit and then updates the number of the historical notification messages on the message bit.
For example, before receiving the notification message pushed by the second application, the number of history notifications displayed on the message bit corresponding to the second application is 3, and after adding a new notification message to the message bit, the terminal updates the number of history notification messages to 4.
And step 101C, when the notification bar does not contain the message bit corresponding to the second application program, creating the message bit corresponding to the second application program.
When the notification bar does not contain the message bit corresponding to the second application program, namely the notification message pushed by the second application program is not received, the terminal creates the message bit corresponding to the second application program in the notification bar and adds the notification message to the message bit.
In a possible implementation manner, the terminal displays the identification of the second application program and the number (1) of notification messages on the message position corresponding to the created second application program, and when receiving the selection operation of the user on the message position, the terminal displays the notification messages in a notification bar interface; when receiving the notification message sent by the second application program again, the terminal adds a new notification message to the message bit.
In another possible implementation manner, since only one notification message is pushed by the second application at this time, in order to improve the efficiency of viewing the notification message by the user, the message content of the notification message is directly displayed on the message position; when the notification message pushed by the second application program is received again, the terminal updates the message content on the message bit to the identification of the second application program and the number of the notification messages (2), and adds the notification messages and the history notification messages to the message bit.
In this embodiment, a method for aggregating notification messages corresponding to the same application program into the same message bit is provided, so that the notification messages in the notification bar are displayed in a stripe manner, and a user can conveniently look up history unread messages pushed by the application program.
In a possible implementation manner, when the application program has a multi-open function and a multi-open state, the application program creates n application identities and logs in n account numbers respectively, and different application identities can push messages. In order to reduce the display space of the notification bar occupied by the notification messages pushed by different applications in different ways when the application is opened more, the following embodiments provide a message display method when the application is opened more.
Fig. 4 is a flowchart of a message display method according to another exemplary embodiment of the present disclosure. The embodiment is exemplified by applying the method to a terminal, and the message display method includes the following steps:
step 401, when receiving a trigger operation on the notification bar, detecting whether an application program corresponding to each message bit currently logs in n accounts, where n is greater than or equal to 2, and n is an integer.
In a possible implementation manner, when a trigger operation on the notification bar is received, the terminal detects whether the application program corresponding to each message bit supports the multi-open function, and detects whether the application program supporting the multi-open function currently logs in multiple accounts.
When detecting that the application program corresponding to the message bit supports multi-open and n account numbers are logged in currently, the terminal determines that the application program is in a multi-open state and executes the following step 402; when detecting that the application program corresponding to the message bit does not support multi-open, or supports multi-open but only logs in one account currently (i.e. the multi-open function is not started), the terminal normally displays the message bit in the notification bar interface.
Step 402, if the application program corresponding to the message bit currently logs in n accounts, the account id of the n accounts is alternately displayed on the message bit.
When the application program is opened more and the logged n account numbers all receive the notification message, in order to avoid omission when the user refers to the notification message, the terminal alternately displays the account number identifications of the n account numbers on the message bit. Wherein, the time interval of the alternate display can be 1 s; the account id may be any one of a user name and a user avatar of the account.
In one example, an application avatar a and an application avatar B are created by an application program corresponding to a message bit, where the application avatar a logs in an account a, the application avatar B logs in an account B, and when receiving a notification message pushed by the account a and the account B, the terminal displays a 1s avatar a and then displays the avatar B on the message bit, and correspondingly, the avatar B displays the avatar a after 1 s.
In step 403, a selection operation for a message bit is received.
The implementation manner of this step is similar to that of step 104, and this embodiment is not described again.
And 404, displaying n sub-message bits in the notification bar interface according to the selection operation, wherein the n sub-message bits correspond to the n accounts, and each sub-message bit comprises at least one historical notification message of the corresponding account.
In the embodiment, when the selection operation on the message bit is received, different notification messages are directly displayed, when the application program is in a multi-open state and each application entity pushes the notification message, and when the selection operation on the message bit corresponding to the application program is received, the terminal displays the sub-message bit corresponding to each application entity (corresponding to different accounts) in the notification bar interface, and each sub-message bit contains each notification message corresponding to the account.
Illustratively, as shown in fig. 5, the application program x chat enables application split, and logs in an account a and an account B, and after the terminal receives a selection operation on the first message bit 201, the terminal displays a first sub-message bit 201A (corresponding to the account a) and a second sub-message bit 201B (corresponding to the account B) corresponding to the first message bit 201 in the notification interface 210 according to the selection operation.
Step 405, when receiving the selection operation on the sub-message bits, expanding and displaying each history notification message contained in the sub-message bits in the notification bar interface.
In order to look up specific historical notification messages pushed by each account, a user selects the sub-message bits corresponding to the account, and correspondingly, when the selection operation on the sub-message bits is received, the terminal expands and displays each historical message contained in the sub-message bits in a notification bar interface.
Illustratively, as shown in fig. 5, when a click operation on the first sub-message bit 201A is received, the terminal expands and displays the history notification message contained in the first sub-message bit 201A in the notification bar interface 210: notification message 1, notification message 2, and notification message 3.
In this embodiment, when the application is in the multi-open state, after the terminal receives the trigger operation on the notification bar, account identifiers corresponding to a plurality of accounts are alternately displayed on the message bit, so as to remind the user to view notification messages received by the accounts, thereby avoiding omission of important notification messages; and after receiving the selection operation of the message bit, the terminal expands and displays the sub-message bit corresponding to each account in the notification bar, so that the user can conveniently look up the received historical unread message for the account.
When the terminal is in the unlocked state, if a specific notification message in the message position displayed in the notification bar is directly selected, the privacy of the user may be exposed, so that the privacy may be leaked, and in order to avoid the exposure of the privacy, in a possible embodiment, on the basis of fig. 1, as shown in fig. 6, the following step is further included after step 104.
And step 105A, when the first application program is in the unlocked state, detecting whether the first application program belongs to the privacy application program.
In one possible implementation manner, the terminal stores a privacy application program identification table containing each privacy application program.
When the terminal is in an unlocked state and receives the selection operation of the first message bit, the terminal acquires an application program identifier corresponding to the first application program and detects whether the privacy application program identifier table contains the application program identifier, and when the privacy application program identifier table does not contain the application program identifier, the terminal determines that the first application program does not belong to the privacy application program and executes the following step 105B; when the application identification is included in the privacy application identification table, the terminal determines that the first application belongs to the privacy application, and performs step 105D described below.
Optionally, when the terminal is in the unlocked state, the terminal does not perform the step of detecting the privacy application, and directly displays each history notification message pushed by the first application.
And step 105B, when the first application program does not belong to the privacy application program, according to the selection operation, expanding and displaying each historical notification message pushed by the first application program in the notification bar interface.
When the first application program is determined not to belong to the privacy application program, the terminal expands each history notification message pushed by the first application program in the notification bar interface according to the selection operation, so that the user can view the history notification messages. The step of expanding and displaying the history notification message is similar to the step 106, and is not described again in this embodiment.
And 105C, when the selection operation of the history notification message is received, jumping to the first application program, and deleting the first message bit.
In order to facilitate the user to process the history notification message, when the selection operation of the history notification message is received, the terminal jumps to a first application program corresponding to the history notification message, and displays an interface of the first application program; meanwhile, in order to avoid repeated prompting of processed notification messages, the terminal deletes the first message bit where the history notification message is located.
And 105D, when the first application program belongs to the privacy application program, stopping responding to the selection operation, and displaying prompt information which is used for prompting unlocking and checking.
In order to avoid the leakage of the user privacy, when the first application program is determined to belong to the privacy application program, the terminal stops responding to the selection operation, namely, the step of expanding and displaying the history notification message corresponding to the first application program is not executed. And simultaneously, the terminal displays a prompt message for prompting the user to unlock and view the history notification message.
Illustratively, as shown in fig. 7, when a selection operation of the first message bit 201 is received and the terminal determines that the chat belongs to the privacy application, a prompt message box 701 is displayed to prompt the user to unlock the view of the history notification message.
In the embodiment, when the terminal is in the unlocked state, after receiving the selection operation on the message bit, the terminal detects whether the application program corresponding to the message bit belongs to the privacy application program, and when the application program is the privacy application program, the terminal does not respond to the selection operation, so that the historical notification message is prevented from being displayed in the notification bar, the privacy of the user is exposed, and the safety of message display is improved.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods. For details not disclosed in the embodiments of the apparatus of the present disclosure, refer to the embodiments of the method of the present disclosure.
Referring to fig. 8, a block diagram of a message display apparatus provided in an embodiment of the present disclosure is shown. The apparatus may be implemented as all or a portion of the terminal in software, hardware, or a combination of both. The device includes: a first display module 810, a receiving module 820 and a second display module 830.
The first display module 810 is configured to display at least one message bit in a notification bar interface when a trigger operation on the notification bar is received, wherein at least one application program corresponds to one message bit, and the message bit contains at least two historical notification messages pushed by the application program;
a receiving module 820 configured to receive a selection operation of a first message bit of the at least one message bit;
and the second display module 830 is configured to, according to the selection operation, expand and display each history notification message pushed by the first application program in the notification bar interface, where the first application program corresponds to the first message slot.
Optionally, the first display module 810 includes:
the detection unit is configured to detect whether the application program corresponding to each message bit currently logs in n accounts, wherein n is more than or equal to 2 and is an integer;
and the first display unit is configured to alternately display account identifiers of the n accounts on the message bit if the application program corresponding to the message bit currently logs in the n accounts.
Optionally, the first application program currently logs in n accounts;
a second display module 830, comprising:
the second display unit is configured to display n sub-message bits in the notification bar interface according to the selection operation, wherein the n sub-message bits correspond to the n accounts, and each sub-message bit comprises at least one historical notification message of the corresponding account;
and a third display unit configured to expand and display each history notification message contained in the sub-message bits in the notification bar interface when a selection operation for the sub-message bits is received.
Optionally, the apparatus further includes:
a first detection module configured to detect whether the first application belongs to a privacy application when in an unlocked state;
the second display module 830 is further configured to, when the first application does not belong to the privacy application, perform a step of expanding and displaying each historical notification message pushed by the first application in the notification bar interface according to the selection operation;
and the response stopping module is configured to stop responding to the selection operation and display prompt information when the first application program belongs to the privacy application program, wherein the prompt information is used for prompting unlocking and viewing.
Optionally, the apparatus further includes:
the second detection module is configured to detect whether the notification bar contains a message bit corresponding to the second application program when receiving the notification message pushed by the second application program;
the adding module is configured to add the notification message to the message bit when the message bit corresponding to the second application program is contained in the notification bar;
and the creating module is configured to create the message bit corresponding to the second application program when the message bit corresponding to the second application program is not contained in the notification bar.
Optionally, the apparatus further includes:
and the deleting module is configured to jump to the first application program and delete the first message bit when the selecting operation of the history notification message is received.
In summary, in the embodiment of the present disclosure, when a trigger operation of a user on a notification bar is received, a terminal displays at least one message position in a notification bar interface, and when a selection operation of the user on a message position in the notification bar is received, develops and displays each historical notification message pushed by an application corresponding to the message position in the notification bar interface; in the embodiment, because the historical notification messages pushed by the same application program are aggregated in the same message position, the notification messages in the notification bar interface occupy fewer entries, and are more organized, so that a user can conveniently and intensively look up the historical notification messages of different application programs, and the viewing efficiency of the notification messages is improved.
In this embodiment, a method for aggregating notification messages corresponding to the same application program into the same message bit is provided, so that the notification messages in the notification bar are displayed in a stripe manner, and a user can conveniently look up history unread messages pushed by the application program.
In this embodiment, when the application is in the multi-open state, after the terminal receives the trigger operation on the notification bar, account identifiers corresponding to a plurality of accounts are alternately displayed on the message bit, so as to remind the user to view notification messages received by the accounts, thereby avoiding omission of important notification messages; and after receiving the selection operation of the message bit, the terminal expands and displays the sub-message bit corresponding to each account in the notification bar, so that the user can conveniently look up the received historical unread message for the account.
In the embodiment, when the terminal is in the unlocked state, after receiving the selection operation on the message bit, the terminal detects whether the application program corresponding to the message bit belongs to the privacy application program, and when the application program is the privacy application program, the terminal does not respond to the selection operation, so that the historical notification message is prevented from being displayed in the notification bar, the privacy of the user is exposed, and the safety of message display is improved.
It should be noted that: in the message display apparatus provided in the foregoing embodiment, when displaying a message, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the functions described above. In addition, the message display apparatus and the message display method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments in detail and are not described herein again.
Fig. 9 is a block diagram illustrating a terminal 900 according to an example embodiment.
Referring to fig. 9, terminal 900 can include one or more of the following components: processing component 902, memory 904, power component 906, display module 908, audio component 910, input/output (I/O) interface 912, sensor component 914, and communication component 916.
Processing component 902 generally controls overall operation of terminal 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing component 902 may include one or more processors 920 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 902 can include one or more modules that facilitate interaction between processing component 902 and other components. For example, the processing component 902 can include a multimedia module to facilitate interaction between the display module 908 and the processing component 902.
Memory 904 is configured to store various types of data to support operation at terminal 900. Examples of such data include instructions for any application or method operating on terminal 900, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 904 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power components 906 provide power to the various components of the terminal 900. The power components 906 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the terminal 900.
The display module 908 comprises a screen providing an output interface between the terminal 900 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
The audio component 910 is configured to output and/or input audio signals. For example, audio component 910 includes a Microphone (MIC) configured to receive external audio signals when terminal 900 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 904 or transmitted via the communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
I/O interface 912 provides an interface between processing component 902 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button. In this embodiment, the I/O interface 912 may be a physical key disposed on the front side or the peripheral side of the terminal, and a fingerprint identification module is disposed in the physical key and is used for collecting a fingerprint of a user; this I/O interface 912 can also be for setting up the fingerprint identification district at the terminal back, contains the fingerprint identification module in this fingerprint identification district.
The sensor component 914 includes one or more sensors for providing various aspects of state assessment for the terminal 900. For example, sensor assembly 914 can detect an open/closed state of terminal 900, a relative positioning of components, such as a display and keypad of terminal 900, a change in position of terminal 900 or a component of terminal 900, the presence or absence of user contact with terminal 900, an orientation or acceleration/deceleration of terminal 900, and a change in temperature of terminal 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In this embodiment, the sensor component 914 can include an acceleration sensor and an angular velocity sensor for collecting acceleration data and angular velocity data of the terminal 900, respectively.
Communication component 916 is configured to facilitate communications between terminal 900 and other devices in a wired or wireless manner. Terminal 900 can access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the terminal 900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described message display methods.
In an exemplary embodiment, there is also provided a computer readable medium, such as the memory 904 including instructions executable by the processor 920 of the terminal 900 to perform the message display method described above. For example, the computer readable medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A method for displaying messages, the method comprising:
when a trigger operation of a notification bar is received, displaying at least one message bit in a notification bar interface, wherein at least one application program corresponds to one message bit, and the message bit comprises at least two historical notification messages pushed by the application program;
receiving a selection operation of a first message bit of the at least one message bit;
according to the selection operation, expanding and displaying all historical notification messages pushed by a first application program in the notification bar interface, wherein the first application program corresponds to the first message position;
the displaying at least one message bit in the notification bar interface includes:
detecting whether an application program corresponding to each message bit currently logs in n accounts, wherein n is more than or equal to 2 and is an integer;
and if the application program corresponding to the message bit currently logs in n accounts, alternately displaying account identifications of the n accounts on the message bit.
2. The method of claim 1, wherein the first application is currently logged into n accounts;
the expanding and displaying of each history notification message pushed by the first application program in the notification bar interface according to the selection operation comprises the following steps:
displaying n sub-message bits in the notification bar interface according to the selection operation, wherein the n sub-message bits correspond to the n accounts, and each sub-message bit comprises at least one historical notification message of the corresponding account;
and when a selection operation on the sub-message bit is received, expanding and displaying each historical notification message contained in the sub-message bit in the notification bar interface.
3. The method according to any one of claims 1 to 2, wherein before expanding and displaying each history notification message pushed by the first application in the notification bar interface according to the selection operation, the method further comprises:
when the first application program is in an unlocked state, detecting whether the first application program belongs to a privacy application program;
if the first application program does not belong to the privacy application program, executing the step of expanding and displaying each historical notification message pushed by the first application program in the notification bar interface according to the selection operation;
and if the first application program belongs to the privacy application program, stopping responding to the selection operation, and displaying prompt information, wherein the prompt information is used for prompting unlocking and checking.
4. The method of any of claims 1 to 2, further comprising:
when a notification message pushed by a second application program is received, detecting whether the notification bar contains a message bit corresponding to the second application program;
when the notification bar contains the message bit corresponding to the second application program, adding the notification message to the message bit corresponding to the second application program;
and when the notification bar does not contain the message bit corresponding to the second application program, creating the message bit corresponding to the second application program.
5. The method according to any one of claims 1 to 2, wherein after the expanding and displaying of the history notification messages pushed by the first application program in the notification bar interface according to the selection operation, the method further comprises:
and when the selection operation of the history notification message is received, jumping to the first application program, and deleting the first message bit.
6. A message display apparatus, characterized in that the apparatus comprises:
the notification bar display method comprises a first display module, a second display module and a notification bar display module, wherein the first display module is configured to display at least one message bit in a notification bar interface when a trigger operation on the notification bar is received, at least one application program corresponds to one message bit, and the message bit comprises at least two historical notification messages pushed by the application program;
a receiving module configured to receive a selection operation of a first message bit of the at least one message bit;
the second display module is configured to display all historical notification messages pushed by a first application program in the notification bar interface in an expanding mode according to the selection operation, and the first application program corresponds to the first message position;
the first display module includes:
the detection unit is configured to detect whether the application program corresponding to each message bit currently logs in n accounts, wherein n is more than or equal to 2 and is an integer;
and the first display unit is configured to alternately display account identifiers of the n accounts on the message bit if the application program corresponding to the message bit currently logs in the n accounts.
7. The apparatus of claim 6, wherein the first application is currently logged into n accounts;
the second display module includes:
a second display unit, configured to display n sub-message bits in the notification bar interface according to the selection operation, where the n sub-message bits correspond to the n accounts, and each sub-message bit includes at least one history notification message of the corresponding account;
and the third display unit is configured to expand and display each historical notification message contained in the sub-message bit in the notification bar interface when the selection operation of the sub-message bit is received.
8. The apparatus of any of claims 6 to 7, further comprising:
a first detection module configured to detect whether the first application belongs to a privacy application when in an unlocked state;
the second display module is further configured to perform the step of expanding and displaying each historical notification message pushed by the first application program in the notification bar interface according to the selection operation when the first application program does not belong to the privacy application program;
and the response stopping module is configured to stop responding to the selection operation and display prompt information when the first application program belongs to the privacy application program, wherein the prompt information is used for prompting unlocking and viewing.
9. The apparatus of any of claims 6 to 7, further comprising:
the second detection module is configured to detect whether the notification bar contains a message bit corresponding to a second application program when a notification message pushed by the second application program is received;
the adding module is configured to add the notification message to the message bit corresponding to the second application program when the message bit corresponding to the second application program is contained in the notification bar;
and the creating module is configured to create the message bit corresponding to the second application program when the message bit corresponding to the second application program is not contained in the notification bar.
10. The apparatus of any of claims 6 to 7, further comprising:
a deletion module configured to jump to the first application and delete the first message bit when a selection operation for the history notification message is received.
11. A terminal, characterized in that the terminal comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when a trigger operation of a notification bar is received, displaying at least one message bit in a notification bar interface, wherein at least one application program corresponds to one message bit, and the message bit comprises at least two historical notification messages pushed by the application program;
receiving a selection operation of a first message bit of the at least one message bit;
according to the selection operation, expanding and displaying all historical notification messages pushed by a first application program in the notification bar interface, wherein the first application program corresponds to the first message position;
the displaying at least one message bit in the notification bar interface includes:
detecting whether an application program corresponding to each message bit currently logs in n accounts, wherein n is more than or equal to 2 and is an integer;
and if the application program corresponding to the message bit currently logs in n accounts, alternately displaying account identifications of the n accounts on the message bit.
12. A computer-readable medium, having stored thereon program instructions which, when executed by a processor, implement the message display method of any one of claims 1 to 5.
CN201711206391.2A 2017-11-27 2017-11-27 Message display method and device Active CN107992248B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711206391.2A CN107992248B (en) 2017-11-27 2017-11-27 Message display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711206391.2A CN107992248B (en) 2017-11-27 2017-11-27 Message display method and device

Publications (2)

Publication Number Publication Date
CN107992248A CN107992248A (en) 2018-05-04
CN107992248B true CN107992248B (en) 2020-09-29

Family

ID=62033550

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711206391.2A Active CN107992248B (en) 2017-11-27 2017-11-27 Message display method and device

Country Status (1)

Country Link
CN (1) CN107992248B (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10372298B2 (en) 2017-09-29 2019-08-06 Apple Inc. User interface for multi-user communication session
DK201870364A1 (en) 2018-05-07 2019-12-03 Apple Inc. Multi-participant live communication user interface
CN110457095B (en) * 2018-05-07 2022-12-27 苹果公司 Multi-participant real-time communication user interface
CN108804194B (en) * 2018-06-13 2021-09-07 北京奇虎科技有限公司 Notification bar message processing method and device, user terminal and readable storage medium
CN109144345B (en) * 2018-08-31 2021-09-21 努比亚技术有限公司 Application message display method and device, mobile terminal and readable storage medium
US11128792B2 (en) 2018-09-28 2021-09-21 Apple Inc. Capturing and displaying images with multiple focal planes
KR20200117183A (en) * 2019-04-03 2020-10-14 삼성전자주식회사 Electronic device for displaying message and operating method thereof
CN110351422B (en) * 2019-05-27 2021-03-23 华为技术有限公司 Notification message preview method, electronic equipment and related products
CN110837327B (en) * 2019-10-28 2021-06-25 维沃移动通信有限公司 Message viewing method and terminal
US11513667B2 (en) 2020-05-11 2022-11-29 Apple Inc. User interface for audio message
CN111610903A (en) * 2020-05-25 2020-09-01 维沃移动通信有限公司 Information display method and electronic equipment
CN112612386B (en) * 2020-12-15 2022-08-12 青岛海信移动通信技术股份有限公司 Mobile terminal and display method of application card thereof
US11431891B2 (en) 2021-01-31 2022-08-30 Apple Inc. User interfaces for wide angle video conference
US11907605B2 (en) 2021-05-15 2024-02-20 Apple Inc. Shared-content session user interfaces
US11893214B2 (en) 2021-05-15 2024-02-06 Apple Inc. Real-time communication user interface
US11822761B2 (en) 2021-05-15 2023-11-21 Apple Inc. Shared-content session user interfaces
CN113434226A (en) * 2021-06-02 2021-09-24 维沃移动通信(杭州)有限公司 Communication method, communication device, electronic equipment and readable storage medium
CN113703894A (en) * 2021-08-26 2021-11-26 荣耀终端有限公司 Display method and display device of notification message
US11812135B2 (en) 2021-09-24 2023-11-07 Apple Inc. Wide angle video conference
CN116095223B (en) * 2022-08-31 2023-11-07 荣耀终端有限公司 Notification display method and terminal device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104106034A (en) * 2011-12-21 2014-10-15 诺基亚公司 Apparatus and method for collating application events with contacts of an electronic device
CN105786313A (en) * 2016-02-25 2016-07-20 北京金山安全软件有限公司 Application notification message display method and device
CN105872244A (en) * 2016-05-16 2016-08-17 北京珠穆朗玛移动通信有限公司 Dual-system terminal notification bar message display method and mobile terminal thereof
CN106201547A (en) * 2016-07-21 2016-12-07 北京奇虎科技有限公司 Method, device and the mobile terminal that a kind of message based on mobile terminal shows
CN106250144A (en) * 2016-07-28 2016-12-21 北京珠穆朗玛移动通信有限公司 A kind of informing message display method and mobile terminal thereof
CN106250133A (en) * 2016-07-26 2016-12-21 北京奇虎科技有限公司 message display method, device and equipment
CN106547439A (en) * 2016-10-28 2017-03-29 努比亚技术有限公司 A kind of method and apparatus for processing message

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160171556A1 (en) * 2014-12-16 2016-06-16 Michael John Grewe Systems and methods for notifying a user of life events experienced by contacts of the user

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104106034A (en) * 2011-12-21 2014-10-15 诺基亚公司 Apparatus and method for collating application events with contacts of an electronic device
CN105786313A (en) * 2016-02-25 2016-07-20 北京金山安全软件有限公司 Application notification message display method and device
CN105872244A (en) * 2016-05-16 2016-08-17 北京珠穆朗玛移动通信有限公司 Dual-system terminal notification bar message display method and mobile terminal thereof
CN106201547A (en) * 2016-07-21 2016-12-07 北京奇虎科技有限公司 Method, device and the mobile terminal that a kind of message based on mobile terminal shows
CN106250133A (en) * 2016-07-26 2016-12-21 北京奇虎科技有限公司 message display method, device and equipment
CN106250144A (en) * 2016-07-28 2016-12-21 北京珠穆朗玛移动通信有限公司 A kind of informing message display method and mobile terminal thereof
CN106547439A (en) * 2016-10-28 2017-03-29 努比亚技术有限公司 A kind of method and apparatus for processing message

Also Published As

Publication number Publication date
CN107992248A (en) 2018-05-04

Similar Documents

Publication Publication Date Title
CN107992248B (en) Message display method and device
CN106020784B (en) Application message display method and device and terminal
US11157864B2 (en) Method and device for displaying logistics information and computer readable storage medium
CN105843615B (en) Notification message processing method and device
CN109361593B (en) Message reminding method, device, mobile terminal and storage medium
CN106469054B (en) Notification message control method and device and terminal
EP3151117B1 (en) Method and device for delaying information broadcasting
CN106598392B (en) Notification message display method and device
CN109521918B (en) Information sharing method and device, electronic equipment and storage medium
CN110262692B (en) Touch screen scanning method, device and medium
CN113259226B (en) Information synchronization method and device, electronic equipment and storage medium
CN111656347B (en) Project display method and terminal
CN107729098B (en) User interface display method and device
CN107402767B (en) Method and device for displaying push message
CN108011990B (en) Contact management method and device
CN111427449A (en) Interface display method, device and storage medium
CN104951522B (en) Method and device for searching
CN111552859A (en) Historical information acquisition method, storage medium and system
CN109521923B (en) Floating window control method and device and storage medium
CN111368329A (en) Message display method and device, electronic equipment and storage medium
CN106790584B (en) Information synchronization method and device
JP2017524215A (en) Message transmission method, apparatus, program, and recording medium
CN112667852B (en) Video-based searching method and device, electronic equipment and storage medium
CN112083841B (en) Information input method, device and storage medium
CN111049732B (en) Push message display method and device, electronic equipment and medium

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