CN106354504B - Message display method and device - Google Patents

Message display method and device Download PDF

Info

Publication number
CN106354504B
CN106354504B CN201610751479.1A CN201610751479A CN106354504B CN 106354504 B CN106354504 B CN 106354504B CN 201610751479 A CN201610751479 A CN 201610751479A CN 106354504 B CN106354504 B CN 106354504B
Authority
CN
China
Prior art keywords
message
processed
display
area
messages
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
CN201610751479.1A
Other languages
Chinese (zh)
Other versions
CN106354504A (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 CN201610751479.1A priority Critical patent/CN106354504B/en
Publication of CN106354504A publication Critical patent/CN106354504A/en
Application granted granted Critical
Publication of CN106354504B publication Critical patent/CN106354504B/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/0482Interaction with lists of selectable items, e.g. menus
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • 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/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback

Abstract

The present disclosure relates to a message display method and device, and relates to the field of computers, wherein the method comprises the following steps: when an application starts to run in a foreground, detecting whether the application receives a message to be processed within a preset time before the current foreground runs; if the application receives the message to be processed within the preset time before the foreground runs, the message content of the message to be processed is displayed in the designated area in the display interface of the message list of the application, the problem that when the user views the message to be processed, the user needs to click the classification to which the message to be processed belongs to view the message to be processed, so that the operation of viewing the message to be processed by the user is complex is solved, and the effect of improving the efficiency of viewing the message to be processed by the user is achieved.

Description

Message display method and device
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for displaying a message.
Background
When a user needs to view a message in a terminal, the user opens a message viewing application for viewing the message, searches a classification to which the message belongs in a message list of the message viewing application, and clicks the classification to view the message content of the message. Wherein, the sender account numbers of each classification are the same.
Disclosure of Invention
In order to solve the problems in the related art, embodiments of the present invention provide a message display method and apparatus.
In a first aspect, a message display method is provided, which includes:
when an application starts to run in a foreground, detecting whether the application receives a message to be processed within a preset time before the current foreground runs;
and if the application receives the message to be processed within the preset time before the foreground operates, displaying the message content of the message to be processed in a specified area in a display interface of the message list of the application.
Optionally, displaying the message content of the message to be processed in a designated area in a display interface of the message list of the application, where the designated area includes:
when the application receives at least two messages to be processed within a preset time length, selecting a newly received message to be processed from the at least two messages to be processed;
and displaying the message content of the selected message to be processed in a designated area in a display interface of the message list.
Optionally, displaying the message content of the message to be processed in a designated area in a display interface of the message list of the application, where the designated area includes:
when the application receives at least two messages to be processed within a preset time length, determining the receiving time of each message to be processed;
determining the display sequence of at least two messages to be processed according to the receiving time, wherein the display sequence and the receiving time are in a negative correlation relationship;
and displaying the message contents of at least two messages to be processed in a designated area in a display interface of the message list according to the display sequence.
Optionally, the displaying, according to the display order, the message contents of at least two messages to be processed in the designated area in the display interface of the message list includes:
displaying at least two messages to be processed one by one in a designated area in a display interface of the message list according to the display sequence; alternatively, the first and second electrodes may be,
and determining a display area of each message to be processed in the designated area in at least two messages to be processed according to the display sequence, and displaying the message content of each message to be processed according to the display area of each message to be processed.
Optionally, the method further includes:
displaying a closing control in a display area of the message to be processed;
receiving a closing operation acting on a closing control;
and hiding the display area of the message to be processed according to the closing operation.
Optionally, the method further includes:
receiving a viewing instruction acting on a display area of a message to be processed;
and displaying each message in the classification to which the message to be processed belongs according to the viewing instruction.
Optionally, the message list includes at least one category, and the sender account of the message in each category is the same.
Optionally, the designated area is a top area or a bottom area of the message list.
In a second aspect, there is provided a message display apparatus comprising:
the detection module is configured to detect whether the application receives a message to be processed within a preset time before the foreground operates when the application starts to operate in the foreground;
the first display module is configured to display the message content of the message to be processed in a specified area in a display interface of a message list of the application when the detection module detects that the application receives the message to be processed within a preset time before the foreground runs.
Optionally, the first display module includes:
the selection submodule is configured to select a newly received message to be processed from at least two messages to be processed when the application receives the at least two messages to be processed within a preset time length;
and the first display submodule is configured to display the message content of the message to be processed selected by the selection submodule in a designated area in a display interface of the message list.
Optionally, the first display module includes:
the first determining submodule is configured to determine the receiving time of each message to be processed when the application receives at least two messages to be processed within a preset time length;
the second determining submodule is configured to determine a display sequence of at least two messages to be processed according to the receiving time determined by the first determining submodule, and the display sequence and the receiving time are in a negative correlation relation;
and the second display submodule is configured to display the message contents of at least two messages to be processed in the designated area in the display interface of the message list according to the display sequence determined by the second determination submodule.
Optionally, the second display sub-module includes:
the third display sub-module is configured to display at least two messages to be processed one by one in a designated area in a display interface of the message list according to the display sequence; alternatively, the first and second electrodes may be,
and the fourth display submodule is configured to determine a display area of each message to be processed in the designated area in the at least two messages to be processed according to the display sequence, and display the message content of each message to be processed according to the display area of each message to be processed.
Optionally, the apparatus further comprises:
the second display module is configured to display a closing control in a display area of the message to be processed;
a first receiving module configured to receive a closing operation acting on a closing control displayed by the second display module;
and the hiding module is configured to hide the display area of the message to be processed according to the closing operation received by the first receiving module.
Optionally, the apparatus further comprises:
a second receiving module configured to receive a viewing instruction acting on a display area of a message to be processed;
and the third display module is configured to display each message in the classification to which the message to be processed belongs according to the viewing instruction received by the second receiving module.
Optionally, the message list includes at least one category, and the sender account of the message in each category is the same.
Optionally, the designated area is a top area or a bottom area of the message list.
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 an application starts to run in a foreground, detecting whether the application receives a message to be processed within a preset time before the current foreground runs;
and if the application receives the message to be processed within the preset time before the foreground operates, displaying the message content of the message to be processed in a specified area in a display interface of the message list of the application.
The technical scheme provided by the embodiment of the invention has the beneficial effects that:
when the application receives the message to be processed within the preset time before the foreground runs, the message content of the message to be processed is displayed in the designated area of the display interface of the message list of the application, so that a user can directly check the message content of the message to be processed in the designated area of the message list after opening the application, the problem that the user needs to click the classification to which the message to be processed belongs to check the message to be processed when checking the message to be processed is solved, the operation of checking the message to be processed by the user is complex, and the effect of improving the efficiency of checking the message to be processed by the user is achieved.
In addition, by receiving the viewing instruction acting on the display area of the message to be processed, each message in the classification to which the message to be processed belongs is displayed, so that a user can quickly view all messages included in the classification to which the message to be processed belongs by clicking the specified area of the display interface of the message list, and does not need to view all messages included in the classification by up-down searching the classification to which the message to be processed belongs, and the viewing efficiency of the user in viewing all messages included in the classification to which the message to be processed belongs is improved.
In addition, the closing control is displayed in the display area of the message to be processed, and the display area of the message to be processed is hidden when the closing operation acting on the closing control is received, so that the terminal stops displaying the message to be processed on the display interface of the message list when a user does not need to check the message to be processed, and the space of the display interface of the message list is saved.
In addition, each piece of to-be-processed information received within the preset time before the foreground runs is displayed according to the display sequence, so that the user can select the to-be-processed information which the user wants to view from the to-be-processed information displayed on the display interface of the information list by the terminal, and the success rate of the user viewing the to-be-processed information which the user wants to view on the display interface of the information list is improved.
In addition, the message content of the message to be processed is displayed in the top area or the bottom area of the message list, so that the efficiency of the user for viewing the message to be processed can be improved, and the problem that the efficiency of the user for viewing the message list is reduced due to the influence on the display of the message list is solved.
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 will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, 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 method of displaying a message according to an embodiment of the present invention;
fig. 2 is a flowchart of a first message display method according to an embodiment of the present invention;
fig. 3 is a scene diagram of a first message display method according to an embodiment of the present invention;
fig. 4 is a scene diagram of a second message display method according to an embodiment of the present invention;
fig. 5 is a scene diagram of a third message display method according to an embodiment of the present invention;
fig. 6 is a flowchart of a second message display method according to an embodiment of the present invention;
fig. 7 is a scene diagram of a fourth message display method according to an embodiment of the present invention;
fig. 8 is a scene diagram of a fifth message display method according to an embodiment of the present invention;
fig. 9 is a block diagram of a message display apparatus according to an embodiment of the present invention;
fig. 10 is a block diagram of still another message display apparatus provided in an embodiment of the present invention;
fig. 11 is a block diagram of a message display apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Referring to fig. 1, a flowchart of a method for displaying a message according to an embodiment of the present invention is shown. The message display method may include:
in step 101, when an application starts to run in the foreground, it is detected whether the application receives a message to be processed within a preset duration before the foreground runs this time.
In step 102, if the application receives the message to be processed within the preset time before the foreground runs, the message content of the message to be processed is displayed in the designated area in the display interface of the message list of the application.
In summary, according to the message display method provided in the embodiment of the present invention, when the application receives the message to be processed within the preset time before the foreground runs, the message content of the message to be processed is displayed in the specified area of the display interface of the message list of the application, so that the user can directly view the message content of the message to be processed in the specified area of the message list after opening the application, the problem that the user needs to click the category to which the message to be processed belongs to view the message to be processed when viewing the message to be processed is solved, the operation of viewing the message to be processed by the user is complicated is solved, and the effect of improving the efficiency of viewing the message to be processed by the user is achieved.
Referring to fig. 2, a flowchart of a first message display method according to an embodiment of the present invention is shown. The message display method may include:
in step 201, when the application starts to run in the foreground, it is detected whether the application receives a message to be processed within a preset time before the foreground runs this time.
The application starts to run in the foreground, namely the application is switched to run in the foreground from the background, or the application is just started and run in the foreground.
When an application starts to run in the foreground, in one implementation, the terminal detects whether the application receives a message to be processed before the current foreground runs, so that all messages to be processed received before the current foreground runs are detected by the terminal. Since the probability that the user does not need to process the message to be processed is higher if the application does not operate in the foreground within the preset time after receiving the message to be processed, in another implementation manner, the terminal detects whether the application receives the message to be processed within the preset time before the foreground operates at this time, so that the probability that the message to be processed displayed by the terminal is the message to be processed which the user needs to check is improved. The message to be processed includes a message received by the application, a message not sent, a message failed to be sent, and the like. The preset duration may be set by a user or a developer, and the setting manner and specific numerical value of the preset duration are not limited in this embodiment.
When the application receives the message to be processed, the message to be processed comprises the mark to be processed and the receiving time, and the mark to be processed is automatically deleted by the terminal after the user processes the message to be processed. The terminal detects whether the application receives the message to be processed by detecting whether the application receives the message with the mark to be processed within a preset time before the foreground operates. When the application receives the message to be processed within the preset time before the foreground operates, executing step 202; and when the application does not receive the message to be processed within the preset time before the foreground operates, ending the message display process.
In step 202, when the application receives at least two messages to be processed within a preset time period, a newly received message to be processed is selected from the at least two messages to be processed.
And the terminal determines the message to be processed with the latest receiving time as the latest received message to be processed according to the receiving time of each message to be processed.
It should be noted that, when the application receives a message to be processed within a preset time period, the message to be processed is a message to be processed that is newly received by the application.
In step 203, the message content of the selected message to be processed is displayed in the designated area in the display interface of the message list.
Because when the application receives at least two messages to be processed, the probability that the user opens the application after the application receives the latest message to be processed is to view the latest message to be processed is high, in this embodiment, the terminal selects the latest received message to be processed from the at least two messages to be processed, and displays the message content of the message to be processed in the designated area in the display interface of the message list, so that the accuracy that the message to be processed displayed by the terminal is the message to be processed that the user needs to view is improved. The message list includes at least one category, and the sender accounts of the messages in each category are the same, or the types of the messages in each category are the same, such as: fraud, collection, express, etc., the present embodiment limits the classification manner of the message. The designated area is either the top or bottom area of the message list. It is conceivable that the designated area may also be other areas of the message list in actual implementation, such as a middle area, and this embodiment is not limited.
Referring to fig. 3, assuming that the preset time is 1min, the terminal detects that the application receives two messages a and B to be processed within 1min before the application starts to run in the foreground, and the application receives B after receiving a, the terminal displays the message content of B in the top area 32 of the display interface 31 of the message list.
In step 204, a viewing instruction is received that acts on a display area of the message to be processed.
The user generally needs to analyze the specific meaning of the message to be processed in combination with other messages included in the category to which the message to be processed belongs, at this time, the user may click the display area of the message to be processed to view the other messages included in the category to which the message to be processed belongs, and accordingly, the terminal receives a view instruction acting on the display area of the message to be processed.
Optionally, the user may also input the viewing instruction in an audio manner, and accordingly, the terminal receives the viewing instruction in the audio form.
In step 205, each message in the category to which the message to be processed belongs is displayed according to the viewing instruction.
Referring to fig. 4, assuming that the user clicks the designated area 41, the terminal jumps the display interface to the display interface 44 of the category 43 to which the message to be processed 42 belongs, and the user views all the messages included in the category 43 in the display interface 44.
Optionally, when displaying each message in the category to which the message to be processed belongs, the terminal may also display an editable interface, a name of the category, a receiving time of each message, and the like, which is not limited in this embodiment. And when the message to be processed is a non-sent message, the non-sent message is displayed in the editable interface.
Optionally, the terminal may not execute steps 204 and 205, and directly execute step 206 and step 208, which is not limited in this embodiment.
In step 206, a close control is displayed in the display area of the pending message.
When the terminal displays the message to be processed in the designated area, a closing control is also displayed in the display area of the message to be processed, and when a user does not need to view the message to be processed, the closing control is triggered to control the terminal to hide the display area, so that the terminal stops displaying the message to be processed in the designated area.
Referring to fig. 5, the terminal displays a pending message in a top area 52 of a display interface of a message list 51, and displays a close control 53 in the display area of the pending message.
In step 207, a close operation is received that acts on the close control.
And the terminal generates a closing instruction for hiding the display area of the message to be processed after receiving the closing operation acting on the closing control.
Optionally, the user may input the closing instruction in an audio manner, and accordingly, the terminal receives the closing instruction in the audio form.
In step 208, the display area of the message to be processed is hidden according to the closing operation.
Since the message to be processed is displayed in the display area, the terminal hides the display area, i.e., hides the message to be processed. It should be noted that the pending message is not deleted by the terminal, and the pending message is still included in the category to which the pending message belongs.
Optionally, the terminal may not perform steps 206 and 208, and this embodiment is not limited.
In summary, according to the message display method provided in the embodiment of the present invention, when the application receives the message to be processed within the preset time before the foreground runs, the message content of the message to be processed is displayed in the specified area of the display interface of the message list of the application, so that the user can directly view the message content of the message to be processed in the specified area of the message list after opening the application, the problem that the user needs to click the category to which the message to be processed belongs to view the message to be processed when viewing the message to be processed is solved, the operation of viewing the message to be processed by the user is complicated is solved, and the effect of improving the efficiency of viewing the message to be processed by the user is achieved.
In addition, by receiving the viewing instruction acting on the display area of the message to be processed, each message in the classification to which the message to be processed belongs is displayed, so that a user can quickly view all messages included in the classification to which the message to be processed belongs by clicking the specified area of the display interface of the message list, and does not need to view all messages included in the classification by up-down searching the classification to which the message to be processed belongs, and the viewing efficiency of the user in viewing all messages included in the classification to which the message to be processed belongs is improved.
In addition, the closing control is displayed in the display area of the message to be processed, and the display area of the message to be processed is hidden when the closing operation acting on the closing control is received, so that the terminal stops displaying the message to be processed on the display interface of the message list when a user does not need to check the message to be processed, and the space of the display interface of the message list is saved.
In addition, the message content of the message to be processed is displayed in the top area or the bottom area of the message list, so that the efficiency of the user for viewing the message to be processed can be improved, and the problem that the efficiency of the user for viewing the message list is reduced due to the influence on the display of the message list is solved.
Optionally, please refer to fig. 6, which shows a flowchart of a second message display method according to an embodiment of the present invention. As shown in fig. 6, as an alternative step to step 202 and step 203,
in step 209, when the application receives at least two messages to be processed within a preset time period, the receiving time of each message to be processed is determined.
In step 210, a display sequence of at least two messages to be processed is determined according to the receiving time, wherein the display sequence and the receiving time are in a negative correlation relationship.
Because the probability that the message to be processed with the later receiving time is the message to be processed which needs to be checked by the user is higher, the terminal sets a display sequence which is more front for the message to be processed with the later receiving time, the probability that the message to be processed displayed by the terminal is the message to be processed which needs to be checked by the user is improved, and the time for the user to check the message to be processed which needs to be checked is saved when the number of messages to be processed is larger.
Suppose that the terminal receives two messages to be processed a and B within a preset time before the foreground operates this time, the receiving time of the message to be processed a is a, the receiving time of the message to be processed B is B, and a is before B, the display sequence of the message to be processed B is the first, and the display sequence of the message to be processed a is the second.
In step 211, the message contents of at least two messages to be processed are displayed in a designated area in the display interface of the message list according to the display order.
In one implementation manner, a terminal displays message contents of at least two messages to be processed in a designated area in a display interface of a message list according to a display order, including: and displaying at least two messages to be processed one by one in a designated area in a display interface of the message list according to the display sequence.
When the terminal displays at least two messages to be processed in the designated area one by one, the switching manner of the two messages to be processed may be switching when a switching instruction input by a user is received, or switching after a period of time, and the like. The switching instruction can be generated by executing left-sliding operation, right-sliding operation, long-pressing operation and the like on a display area of the message to be processed by a user; the duration may be 3s, 5s, etc., and this embodiment is limited.
Referring to fig. 7, it is assumed that the terminal determines that the display order of two messages to be processed received by the application is the first display order of the message B to be processed and the second display order of the message a to be processed, the terminal displays the message B to be processed, i.e., the message 72 to be processed in fig. 7, in the top area of the display interface 71 of the message list, and the user performs a right slide operation in the display area of the message 72 to be processed, at this time, the terminal displays the message a to be processed, i.e., the message 73 to be processed in fig. 7, in the top area.
In another implementation manner, the method for displaying the message contents of at least two messages to be processed in a designated area in a display interface of a message list by a terminal according to a display order includes: and determining a display area of each message to be processed in the designated area in at least two messages to be processed according to the display sequence, and displaying the message content of each message to be processed according to the display area of each message to be processed.
Referring to fig. 8, it is assumed that the terminal determines that the display order of the two messages to be processed received by the application is the first display order of the message B to be processed and the second display order of the message a to be processed, and the terminal displays the message B82 to be processed in the first display area of the top area of the display interface 81 of the message list and displays the message a83 to be processed in the second display area of the top area.
In summary, according to the message display method provided in the embodiment of the present invention, each message to be processed received within the preset duration before the foreground runs is displayed according to the display sequence, so that the user can select the message to be processed that the user wants to view from the messages to be processed displayed on the display interface of the message list by the terminal, and the success rate of the user viewing the message to be processed that the user wants to view on the display interface of the message list is improved.
Referring to fig. 9, a block diagram of a message display apparatus according to an embodiment of the invention is shown. The message display apparatus includes: a detection module 910 and a first display module 920.
The detecting module 910 is configured to detect whether the application receives a message to be processed within a preset duration before the current foreground operation when the application starts to operate in the foreground;
the first display module 920 is configured to, when the detection module 910 detects that the application receives the message to be processed within a preset time before the foreground runs this time, display the message content of the message to be processed in a specified area in a display interface of a message list of the application.
In summary, the message display apparatus provided in the embodiment of the present invention displays the message content of the to-be-processed message in the specified area of the display interface of the message list of the application when the application receives the to-be-processed message within the preset duration before the foreground runs, so that a user can directly view the message content of the to-be-processed message in the specified area of the message list after opening the application, thereby solving a problem that the user needs to click the category to which the to-be-processed message belongs to view the to-be-processed message when viewing the to-be-processed message, which results in a complicated operation of viewing the to-be-processed message, and achieving an effect of improving efficiency of viewing the to-be-processed message by the user.
Referring to fig. 10, a block diagram of another message display apparatus according to an embodiment of the invention is shown. The message display apparatus includes: a detection module 1010 and a first display module 1020.
The detecting module 1010 is configured to detect whether the application receives a message to be processed within a preset time before the foreground operates when the application starts to operate in the foreground;
the first display module 1020 is configured to display the message content of the message to be processed in a specified area in a display interface of a message list of the application when the detection module 1010 detects that the application receives the message to be processed within a preset time period before the foreground runs this time.
Optionally, the first display module 1020 includes: a selection sub-module 1021 and a first display sub-module 1022.
The selecting submodule 1021 is configured to, when the application receives at least two messages to be processed within the preset duration, select a newly received message to be processed from the at least two messages to be processed;
the first display sub-module 1022 is configured to display the message content of the to-be-processed message selected by the selection sub-module 1021 in a designated area in the display interface of the message list.
Optionally, the first display module 1020 includes: a first determination sub-module 1023, a second determination sub-module 1024, and a second display sub-module 1025.
The first determining submodule 1023 is configured to determine a receiving time of each message to be processed when the application receives at least two messages to be processed within the preset time length;
the second determining submodule 1024 is configured to determine a display order of the at least two messages to be processed according to the receiving time determined by the first determining submodule 1023, wherein the display order and the receiving time are in a negative correlation relationship;
the second display sub-module 1025 is configured to display the message contents of the at least two messages to be processed in a designated area in the display interface of the message list according to the display order determined by the second determining sub-module 1024.
Optionally, the second display sub-module 1025 comprises: a third display sub-module 1026 and a fourth display sub-module 1027.
The third display sub-module 1026 is configured to display the at least two messages to be processed one by one in a designated area in a display interface of the message list according to the display order; alternatively, the first and second electrodes may be,
the fourth display sub-module 1027 is configured to determine a display area of each of the at least two messages to be processed in the designated area according to the display order, and display the message content of each message to be processed according to the display area of each message to be processed.
Optionally, the apparatus further comprises: a second display module 1030, a first receiving module 1040, and a hiding module 1050.
The second display module 1030 is configured to display a close control in a display area of the message to be processed;
the first receiving module 1040 is configured to receive a closing operation acting on the closing control displayed by the second display module 1030;
the hiding module 1050 is configured to hide a display area of the to-be-processed message according to the closing operation received by the first receiving module 1040.
Optionally, the apparatus further comprises: a second receiving module 1060 and a third display module 1070.
The second receiving module 1060 is configured to receive a viewing instruction acting on a display area of the message to be processed;
the third display module 1070 is configured to display each message in the category to which the message to be processed belongs according to the viewing instruction received by the second receiving module 1060.
Optionally, the message list includes at least one category, and the sender account of the message in each category is the same.
Optionally, the designated area is a top area or a bottom area of the message list.
In summary, the message display apparatus provided in the embodiment of the present invention displays the message content of the to-be-processed message in the specified area of the display interface of the message list of the application when the application receives the to-be-processed message within the preset duration before the foreground runs, so that a user can directly view the message content of the to-be-processed message in the specified area of the message list after opening the application, thereby solving a problem that the user needs to click the category to which the to-be-processed message belongs to view the to-be-processed message when viewing the to-be-processed message, which results in a complicated operation of viewing the to-be-processed message, and achieving an effect of improving efficiency of viewing the to-be-processed message by the user.
In addition, by receiving the viewing instruction acting on the display area of the message to be processed, each message in the classification to which the message to be processed belongs is displayed, so that a user can quickly view all messages included in the classification to which the message to be processed belongs by clicking the specified area of the display interface of the message list, and does not need to view all messages included in the classification by up-down searching the classification to which the message to be processed belongs, and the viewing efficiency of the user in viewing all messages included in the classification to which the message to be processed belongs is improved.
In addition, the closing control is displayed in the display area of the message to be processed, and the display area of the message to be processed is hidden when the closing operation acting on the closing control is received, so that the terminal stops displaying the message to be processed on the display interface of the message list when a user does not need to check the message to be processed, and the space of the display interface of the message list is saved.
In addition, each piece of to-be-processed information received within the preset time before the foreground runs is displayed according to the display sequence, so that the user can select the to-be-processed information which the user wants to view from the to-be-processed information displayed on the display interface of the information list by the terminal, and the success rate of the user viewing the to-be-processed information which the user wants to view on the display interface of the information list is improved.
In addition, the message content of the message to be processed is displayed in the top area or the bottom area of the message list, so that the efficiency of the user for viewing the message to be processed can be improved, and the problem that the efficiency of the user for viewing the message list is reduced due to the influence on the display of the message list is solved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
An exemplary embodiment of the present disclosure provides a message display apparatus capable of implementing a message display method provided by the present disclosure, the message display apparatus including: a processor; a memory for storing processor-executable instructions;
wherein the processor is configured to:
when an application starts to run in a foreground, detecting whether the application receives a message to be processed within a preset time before the current foreground runs;
and if the application receives the message to be processed within the preset time before the foreground operates, displaying the message content of the message to be processed in a specified area in a display interface of the message list of the application.
FIG. 11 is a block diagram illustrating an apparatus 1100 for sound recording tagging, according to an exemplary embodiment. For example, the apparatus 1100 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 11, apparatus 1100 may include one or more of the following components: processing component 1102, memory 1104, power component 1106, multimedia component 1108, audio component 1110, input/output (I/O) interface 1112, sensor component 1114, and communications component 1116.
The processing component 1102 generally controls the overall operation of the device 1100, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1102 may include one or more processors 1118 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 1102 may include one or more modules that facilitate interaction between the processing component 1102 and other components. For example, the processing component 1102 may include a multimedia module to facilitate interaction between the multimedia component 1108 and the processing component 1102.
The memory 1104 is configured to store various types of data to support operations at the apparatus 1100. Examples of such data include instructions for any application or method operating on device 1100, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1104 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.
A power component 1106 provides power to the various components of the device 1100. The power components 1106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 1100.
The multimedia component 1108 includes a screen that provides an output interface between the device 1100 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. In some embodiments, the multimedia component 1108 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1100 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1110 is configured to output and/or input audio signals. For example, the audio component 1110 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 1100 is in operating modes, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1104 or transmitted via the communication component 1116. In some embodiments, the audio assembly 1110 further includes a speaker for outputting audio signals.
The I/O interface 1112 provides an interface between the processing component 1102 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.
The sensor assembly 1114 includes one or more sensors for providing various aspects of state assessment for the apparatus 1100. For example, the sensor assembly 1114 may detect an open/closed state of the apparatus 1100, the relative positioning of components, such as a display and keypad of the apparatus 1100, the sensor assembly 1114 may also detect a change in position of the apparatus 1100 or a component of the apparatus 1100, the presence or absence of user contact with the apparatus 1100, orientation or acceleration/deceleration of the apparatus 1100, and a change in temperature of the apparatus 1100. The sensor assembly 1114 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1114 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1114 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1116 is configured to facilitate wired or wireless communication between the apparatus 1100 and other devices. The apparatus 1100 may 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 1116 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1116 also 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 apparatus 1100 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 methods.
In an exemplary embodiment, a non-transitory computer readable storage medium including instructions, such as the memory 1104 including instructions, executable by the processor 1118 of the device 1100 to perform the method described above, is also provided. For example, the non-transitory computer readable storage 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 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 (11)

1. A method for displaying messages, the method comprising:
when an application starts to run in a foreground, detecting whether the application receives a message to be processed within a preset time before the current foreground running, wherein the foreground running means that the application is switched from background running to foreground running, or the application is just started and runs in the foreground;
if the application receives the message to be processed within a preset time before the foreground operates, displaying the message content of the message to be processed in a specified area in a display interface of a message list of the application, wherein the message list comprises at least one category, and the types of the messages in each category are the same;
receiving a viewing instruction acting on a display area of the message to be processed;
displaying each message in the classification to which the message to be processed belongs according to the viewing instruction;
displaying a closing control in a display area of the message to be processed;
receiving a closing operation acting on the closing control;
and hiding the display area of the message to be processed according to the closing operation.
2. The method of claim 1, wherein displaying the message content of the message to be processed in a designated area of a display interface of the message list of the application comprises:
when the application receives at least two messages to be processed within the preset time length, selecting a newly received message to be processed from the at least two messages to be processed;
and displaying the selected message content of the message to be processed in a designated area in a display interface of the message list.
3. The method of claim 1, wherein displaying the message content of the message to be processed in a designated area of a display interface of the message list of the application comprises:
when the application receives at least two messages to be processed within the preset time length, determining the receiving time of each message to be processed;
determining a display sequence of the at least two messages to be processed according to the receiving time, wherein the display sequence and the receiving time are in a negative correlation relationship;
and displaying the message contents of the at least two messages to be processed in a designated area in a display interface of the message list according to the display sequence.
4. The method according to claim 3, wherein the displaying the message contents of the at least two messages to be processed in a designated area in a display interface of the message list according to the display order comprises:
displaying the at least two messages to be processed one by one in a designated area in a display interface of the message list according to the display sequence; alternatively, the first and second electrodes may be,
and determining a display area of each message to be processed in the designated area according to the display sequence, and displaying the message content of each message to be processed according to the display area of each message to be processed.
5. The method of any of claims 1 to 4, wherein the designated area is a top area or a bottom area of the message list.
6. A message display apparatus, characterized in that the apparatus comprises:
the system comprises a detection module, a processing module and a processing module, wherein the detection module is configured to detect whether an application receives a message to be processed within a preset time before the current foreground operation when the application starts to operate in the foreground, and the foreground operation refers to switching of the application from background operation to foreground operation or just starting and operating the application in the foreground;
the first display module is configured to display the message content of the message to be processed in a specified area in a display interface of a message list of the application when the detection module detects that the application receives the message to be processed within a preset time before the foreground runs, wherein the message list comprises at least one category, and the types of the messages in each category are the same;
a second receiving module configured to receive a viewing instruction acting on a display area of the message to be processed;
a third display module configured to display each message in the category to which the message to be processed belongs according to the viewing instruction received by the second receiving module;
a second display module configured to display a close control in a display area of the message to be processed;
a first receiving module configured to receive a closing operation acting on the closing control displayed by the second display module;
a hiding module configured to hide a display area of the message to be processed according to the closing operation received by the first receiving module.
7. The apparatus of claim 6, wherein the first display module comprises:
the selection submodule is configured to select a latest received message to be processed from at least two messages to be processed when the application receives the at least two messages to be processed within the preset time length;
the first display submodule is configured to display the message content of the to-be-processed message selected by the selection submodule in a designated area in a display interface of the message list.
8. The apparatus of claim 6, wherein the first display module comprises:
a first determining submodule configured to determine a receiving time of each message to be processed when the application receives at least two messages to be processed within the preset time period;
a second determining submodule configured to determine a display order of the at least two messages to be processed according to the receiving time determined by the first determining submodule, wherein the display order and the receiving time are in a negative correlation relationship;
and the second display submodule is configured to display the message contents of the at least two messages to be processed in a designated area in a display interface of the message list according to the display sequence determined by the second determination submodule.
9. The apparatus of claim 8, wherein the second display sub-module comprises:
a third display sub-module configured to display the at least two messages to be processed item by item in a designated area in a display interface of the message list according to the display order; alternatively, the first and second electrodes may be,
and the fourth display submodule is configured to determine a display area of each message to be processed in the at least two messages to be processed in the designated area according to the display sequence, and display the message content of each message to be processed according to the display area of each message to be processed.
10. The apparatus of any of claims 6 to 9, wherein the designated area is a top area or a bottom area of the message list.
11. A message display apparatus, characterized in that the apparatus comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when an application starts to run in a foreground, detecting whether the application receives a message to be processed within a preset time before the current foreground running, wherein the foreground running means that the application is switched from background running to foreground running, or the application is just started and runs in the foreground;
if the application receives the message to be processed within a preset time before the foreground operates, displaying the message content of the message to be processed in a specified area in a display interface of a message list of the application, wherein the message list comprises at least one category, and the types of the messages in each category are the same;
receiving a viewing instruction acting on a display area of the message to be processed;
displaying each message in the classification to which the message to be processed belongs according to the viewing instruction;
displaying a closing control in a display area of the message to be processed;
receiving a closing operation acting on the closing control;
and hiding the display area of the message to be processed according to the closing operation.
CN201610751479.1A 2016-08-29 2016-08-29 Message display method and device Active CN106354504B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610751479.1A CN106354504B (en) 2016-08-29 2016-08-29 Message display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610751479.1A CN106354504B (en) 2016-08-29 2016-08-29 Message display method and device

Publications (2)

Publication Number Publication Date
CN106354504A CN106354504A (en) 2017-01-25
CN106354504B true CN106354504B (en) 2020-08-11

Family

ID=57854607

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610751479.1A Active CN106354504B (en) 2016-08-29 2016-08-29 Message display method and device

Country Status (1)

Country Link
CN (1) CN106354504B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108563378B (en) * 2018-04-25 2020-06-16 维沃移动通信有限公司 Message management method and terminal
CN108664207A (en) * 2018-05-18 2018-10-16 珠海格力电器股份有限公司 A kind of method for information display, device, storage medium and terminal
CN112732133B (en) * 2019-10-29 2022-09-23 腾讯数码(天津)有限公司 Message processing method and device, electronic equipment and storage medium
CN110990091B (en) * 2019-11-15 2024-02-27 深圳传音控股股份有限公司 Information display method, information display device, terminal and computer storage medium
CN111580922A (en) * 2020-05-15 2020-08-25 北京字节跳动网络技术有限公司 Interactive message display method and device of application program and readable storage medium
CN112199141A (en) * 2020-09-18 2021-01-08 深圳传音控股股份有限公司 Message processing method, terminal and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102782459A (en) * 2009-09-11 2012-11-14 诺沃迪吉特公司 Method and system for controlling a user interface of a device using human breath
CN105446738A (en) * 2015-11-16 2016-03-30 北京金山安全软件有限公司 Message display method and device and electronic equipment
US10275293B2 (en) * 2012-12-17 2019-04-30 Blackberry Limited System and methods for launching an application on an electronic device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103227857B (en) * 2013-03-26 2015-09-02 小米科技有限责任公司 The display packing of message and device in a kind of mobile client
CN104317402B (en) * 2014-10-24 2020-07-03 小米科技有限责任公司 Description information display method and device and electronic equipment
CN105357386A (en) * 2015-11-03 2016-02-24 小米科技有限责任公司 Short message sequencing method and device
CN105553826A (en) * 2015-12-18 2016-05-04 阿里巴巴集团控股有限公司 Message display method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102782459A (en) * 2009-09-11 2012-11-14 诺沃迪吉特公司 Method and system for controlling a user interface of a device using human breath
US10275293B2 (en) * 2012-12-17 2019-04-30 Blackberry Limited System and methods for launching an application on an electronic device
CN105446738A (en) * 2015-11-16 2016-03-30 北京金山安全软件有限公司 Message display method and device and electronic equipment

Also Published As

Publication number Publication date
CN106354504A (en) 2017-01-25

Similar Documents

Publication Publication Date Title
EP3454192B1 (en) Method and device for displaying page
CN107908351B (en) Application interface display method and device and storage medium
CN106354504B (en) Message display method and device
EP3301557A1 (en) Method, apparatus and computer program product for sharing content
US20170293403A1 (en) Method and device for displaying pages in application program and computer-readable medium
EP3147802B1 (en) Method and apparatus for processing information
CN109600303B (en) Content sharing method and device and storage medium
US20190235745A1 (en) Method and device for displaying descriptive information
CN105786507B (en) Display interface switching method and device
CN107992257B (en) Screen splitting method and device
CN106775202B (en) Information transmission method and device
CN105511777B (en) Session display method and device on touch display screen
CN110262692B (en) Touch screen scanning method, device and medium
US11836342B2 (en) Method for acquiring historical information, storage medium, and system
CN106155703B (en) Emotional state display method and device
CN111552426B (en) Intelligent equipment operation method and device and storage medium
CN106331328B (en) Information prompting method and device
CN106506808B (en) Method and device for prompting communication message
CN105260088B (en) Information classification display processing method and device
CN116954540A (en) Application program display method and device and terminal
CN107682101B (en) Noise detection method and device and electronic equipment
CN106919302B (en) Operation control method and device of mobile terminal
CN112083841B (en) Information input method, device and storage medium
CN112181265B (en) Touch signal processing method, device and medium
CN107621990B (en) Control method and device of terminal key and terminal

Legal Events

Date Code Title Description
C06 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