CN107577512B - Message display method, mobile terminal and computer readable storage medium - Google Patents

Message display method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN107577512B
CN107577512B CN201710743273.9A CN201710743273A CN107577512B CN 107577512 B CN107577512 B CN 107577512B CN 201710743273 A CN201710743273 A CN 201710743273A CN 107577512 B CN107577512 B CN 107577512B
Authority
CN
China
Prior art keywords
message
messages
same
determining
content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710743273.9A
Other languages
Chinese (zh)
Other versions
CN107577512A (en
Inventor
李仁军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710743273.9A priority Critical patent/CN107577512B/en
Publication of CN107577512A publication Critical patent/CN107577512A/en
Application granted granted Critical
Publication of CN107577512B publication Critical patent/CN107577512B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a message display method, a mobile terminal and a computer readable storage medium, wherein the method comprises the following steps: determining the characteristic attribute of each received message; dividing the messages with the same characteristic attributes and the content relevance greater than a preset threshold into the same message group; and folding and displaying the messages of the same group. The interference of the same similar message to the user can be reduced by folding the message, and the problem that the same or similar message is repeatedly displayed to cause repeated viewing of the user is effectively avoided. The user can check other messages without sliding the same or similar messages, so that the user can capture other key information more quickly, and the user experience is enhanced.

Description

Message display method, mobile terminal and computer readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a message display method, a mobile terminal, and a computer-readable storage medium.
Background
With the development of the internet, social software is widely used in the life of people, and people have an increasing demand for receiving and sending messages by using the social software, for example, the messages are updated dynamically in a friend circle or a microblog, and when the messages are updated dynamically in the friend circle or the microblog, a phenomenon of 'swiping a screen' is often encountered, that is, several people send the same dynamic state in the same time period. In fact, the user may have seen the strip of dynamics at a first time and then no longer have any attention or interest in the same or similar dynamics. The user can skip the message to be swiped and check other messages only by sliding the screen, so that the 'swiped screen' causes redundant screen sliding operation of the user.
Disclosure of Invention
The invention provides a message display method, a mobile terminal and a computer readable storage medium, which aim to solve the problem of repeated viewing of a user caused by repeated display of the same or similar messages in the prior art.
In order to solve the above problems, the present invention discloses a message display method, which comprises determining the characteristic attribute of each received message; dividing the messages with the same characteristic attributes and the content relevance greater than a preset threshold into the same message group; and folding and displaying the messages of the same group.
In order to solve the above problem, the present invention also discloses a mobile terminal, which includes: the first determining module is used for determining the characteristic attribute of each received message; the dividing module is used for dividing the messages with the same characteristic attributes and the content relevance degrees larger than a preset threshold value into the same message group; and the folding module is used for folding and displaying the messages of the same group.
In order to solve the above problem, the present invention also discloses a mobile terminal, comprising: a memory, a processor and a message display program stored on the memory and executable on the processor, the message display program when executed by the processor implementing the steps of the message display method.
In order to solve the above problem, the present invention also discloses a computer readable storage medium having a message display program stored thereon, which when executed by a processor implements the steps of the message display method.
Compared with the prior art, the invention has the following advantages:
through the message display scheme provided by the embodiment of the invention, the characteristic attribute of each received message is determined; dividing the messages with the same characteristic attributes and the content relevance greater than a preset threshold into the same message group; and folding and displaying the messages of the same group. The interference of the same similar message to the user can be reduced by folding the message, and the problem that the same or similar message is repeatedly displayed to cause repeated viewing of the user is effectively avoided. The user can check other messages without sliding the same or similar messages, so that the user can capture other key information more quickly, and the user experience is enhanced.
Drawings
Fig. 1 is a flowchart illustrating steps of a message display method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a message display method according to a second embodiment of the present invention;
fig. 3 is a flowchart illustrating steps of a message display method according to a third embodiment of the present invention;
fig. 4 is a block diagram of a mobile terminal according to a third embodiment of the present invention;
fig. 5 is a block diagram of a mobile terminal according to a fourth embodiment of the present invention;
fig. 6 is a block diagram of a mobile terminal according to a fifth embodiment of the present invention;
fig. 7 is a block diagram of a mobile terminal according to a sixth embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Example one
Referring to fig. 1, a flowchart illustrating steps of a message display method according to a first embodiment of the present invention is shown.
The message display method provided by the embodiment of the invention comprises the following steps:
step 101: characteristic attributes of each received message are determined.
The received message may be a message sent by each user received by social software such as a WeChat or a state sent by each user refreshed by a microblog.
The feature attributes may include, but are not limited to: text attributes, picture attributes, and link attributes.
Specifically, when the received message is a message of a pure character type, the characteristic attribute corresponding to the message is a character attribute; when the received message is a picture and/or a character, the characteristic attribute corresponding to the message is a picture attribute; and when the received message is the website connection and/or the text, the characteristic attribute corresponding to the message is the link attribute. It should be noted that, in the embodiment of the present invention, there is no specific limitation on the feature attributes of the message, and the feature attributes may be some of the above-mentioned ones, or may be attributes other than the above-mentioned ones.
Step 102: and dividing the messages with the same characteristic attributes and the content relevance greater than a preset threshold into the same message group.
The method comprises the steps of determining messages with the same characteristic attributes aiming at a plurality of messages, matching the messages with the same characteristic attributes, detecting the association degree among the messages, determining the messages to be messages of the same type if the characteristic attributes of the messages are the same and the contents of the messages are associated, and dividing the messages into the same message group.
For example: when the two received messages are messages of pictures and/or pictures plus characters, determining that the characteristic attributes of the two messages are messages of picture attributes, namely that the characteristic attributes of the two messages are consistent. When the contents of the two messages are similar, for example, the picture content of the first message is "thank you boss", the picture content of the second message is "thank you boss", and the like, it indicates that the association degree of the two messages is greater than a preset threshold value, and the two messages are messages of the same group; when the contents of the two messages are not related, if the picture content of the first message is "thank you boss" and the picture content of the second message is "good in the group quiet", and the association degree of the two messages is smaller than a preset threshold value, the two messages are messages of different groups.
Step 103: and folding and displaying the messages of the same group.
The messages of the same group are folded and displayed, when a user views the social interface, similar message screen refreshing can be avoided, and the user can conveniently view important messages.
By the message display method provided by the embodiment of the invention, the characteristic attribute of each received message is determined; dividing the messages with the same characteristic attributes and the content relevance greater than a preset threshold into the same message group; and folding and displaying the messages of the same group. The interference of the same similar message to the user can be reduced by folding the message, and the problem that the same or similar message is repeatedly displayed to cause repeated viewing of the user is effectively avoided. The user can check other messages without sliding the same or similar messages, so that the user can capture other key information more quickly, and the user experience is enhanced.
Example two
Referring to fig. 2, a flowchart illustrating steps of a message display method according to a second embodiment of the present invention is shown.
The message display method provided by the embodiment of the invention comprises the following steps:
step 201: characteristic attributes of each received message are determined.
Characteristic attributes include, but are not limited to: text attributes, picture attributes, and link attributes,
aiming at each received message, detecting the content contained in the message; when the content contains characters and a webpage link, determining the characteristic attribute of the message corresponding to the content as a link attribute; when the content contains characters and pictures, determining the characteristic attribute of the message corresponding to the content as the picture attribute; and when the content is only a character, determining that the characteristic attribute of the message corresponding to the content is a character attribute.
And determining the characteristic attribute of each received message, and grouping the messages conveniently by the characteristic attribute of each received message.
Step 202: and determining the messages with the same characteristic attributes in the received messages.
For example: and receiving five messages simultaneously, wherein the characteristic attributes of the three messages are picture attributes, and the characteristic attributes of the other two messages are character attributes, preliminarily dividing the five messages into two groups, and determining that each group is specifically divided into a plurality of message groups according to the message contents.
Step 203: determining whether the content association degree of the two messages with the same characteristic attributes is greater than a preset threshold value or not for every two messages with the same characteristic attributes; if yes, go to step 204, otherwise go to step 205.
Step 204: if yes, dividing two messages with the same characteristic attribute into the same message group.
Step 205: and if not, dividing the two messages with the same characteristic attribute into different message groups.
And comparing the association degrees of the two messages with the same characteristic attribute with a preset threshold value so as to more accurately judge whether the two messages with the same characteristic attribute are the same message or similar messages, and more accurately classify the two messages so as to fold the same or similar messages and avoid the mistaken folding of the messages with low association degrees.
For each two messages with the same characteristic attribute in the multiple messages, determining whether the association degree of the two messages is greater than a preset threshold, it should be noted that a person skilled in the art may set the preset threshold according to an actual situation, and may set the preset threshold to 0.6, 0.8, and the like, which is not limited specifically.
For example: when two received messages are pictures, matching the pictures in sequence by using a picture retrieval technology, and forming a proportion weight, and when the weight reaches a preset threshold value, considering the two messages as a class of messages and dividing the messages into the same message group.
Step 206: and folding and displaying the messages of the same group.
After the same message group is folded, the folding message displays an unfolding button and a folding button, and the number of the folding messages in the group is displayed.
By folding and displaying the messages in the same group, the time for sliding the repeated messages can be saved when the user views the messages, so that other key information can be captured more quickly.
Step 207: and when an unfolding instruction of the grouped messages after folding display is received, sequencing and displaying the grouped messages after folding display according to preset parameters.
Wherein, the preset parameters include: any one of association priority and time.
When the grouped messages displayed in a folding mode are displayed in a sorting mode through preset parameters, for example, the grouped messages are displayed in a sorting mode through the priority of the relevance degree, a user can preferentially check the messages sent by the user with high relevance degree, and the time for the user to slide and search the messages sent by the user with high relevance degree under the grouping mode is saved.
When a user needs to check the folded message, the folded message is clicked or touched, and the like, and the folded message is displayed in a sequencing mode according to preset parameters.
For example: the order display mode of the folded messages can be that the folded messages are ordered and displayed according to the time sequence of the folded messages, or the association degree priority between the user corresponding to the group of folded messages and the account user is ordered, and the folded messages are ordered and displayed according to the intimacy of the account user. It should be noted that the sort display manner of the folding message is not particularly limited.
By the message display method provided by the embodiment of the invention, the characteristic attribute of each received message is determined; dividing the messages with the same characteristic attributes and the content relevance greater than a preset threshold into the same message group; and folding and displaying the messages of the same group. The interference of the same similar message to the user can be reduced by folding the message, and the problem that the same or similar message is repeatedly displayed to cause repeated viewing of the user is effectively avoided. Other messages can be checked without sliding operation of the same or similar messages by the user, so that the user can capture other key information more quickly, and the use experience of the user is enhanced.
EXAMPLE III
Referring to fig. 3, a flowchart illustrating steps of a message display method according to a third embodiment of the present invention is shown.
The message display method provided by the embodiment of the invention comprises the following steps:
step 301: characteristic attributes of each received message are determined.
Step 302: and determining the messages with the same characteristic attributes in the received messages.
Step 303: determining whether the content association degree of the two messages with the same characteristic attribute is greater than a preset threshold value or not for every two messages with the same characteristic attribute; if yes, go to step 304, otherwise go to step 305.
Step 304: if yes, dividing two messages with the same characteristic attribute into the same message group.
Step 305: and if not, dividing the two messages with the same characteristic attribute into different message groups.
Step 306: and folding and displaying the messages of the same group.
Steps 301 to 306 are processes of displaying the received multiple message packets, and specific descriptions of the processes may refer to the related descriptions in steps 201 to 206 in embodiment two, which are not described again in this embodiment of the present invention.
Step 307: and determining the total number of the messages contained in the groups for each group after the display is folded.
Step 308: and displaying the total number of the messages as the number of the messages corresponding to the grouping.
And the number of messages of each group is displayed, so that the messages of the same group can be conveniently and dynamically viewed by a user.
Step 309: when a new message is received, it is determined whether there is a first message packet matching the new message.
Determining the characteristic attribute of a received new message, acquiring a certain message corresponding to the same characteristic attribute, determining the association degree of the new message and the acquired message, judging whether the association degree is greater than a preset threshold value, if so, determining that a first message group matched with the new message exists, and if not, determining that the first message group matched with the new message does not exist.
Step 310: and if so, adding the new message into the first message packet, and adding one to the number of messages corresponding to the first message packet.
Adding one to the number corresponding to the first message packet, and if the first message packet is a read message, displaying a prompt status update label, for example: "+ 1", "+ 2", etc., or a small red circle on the first message packet to alert the user that a new message exists for that packet.
Step 311: and if the message does not exist, generating a second message packet for the new message, and folding and displaying the message contained in the second message packet. If not, a second message packet is preferably generated for the new message to facilitate viewing of the new message by the user, while indicating that the received new message has a different characteristic attribute from the existing message packets.
Another preferred way is to display the received new message on the first bar of the message display interface to facilitate the user to view the key messages for the first time.
By the message display method provided by the embodiment of the invention, the characteristic attribute of each received message is determined; dividing the messages with the same characteristic attributes and the content relevance greater than a preset threshold into the same message group; and folding and displaying the messages of the same group. The interference of the same similar message to the user can be reduced by folding the message, and the problem that the same or similar message is repeatedly displayed to cause repeated viewing of the user is effectively avoided. Other messages can be checked without sliding operation of the same or similar messages by the user, so that the user can capture other key information more quickly, and the use experience of the user is enhanced.
Example four
Referring to fig. 4, a block diagram of a mobile terminal according to a fourth embodiment of the present invention is shown.
The mobile terminal provided by the embodiment of the invention comprises: a first determining module 401, configured to determine a characteristic attribute of each received message.
Specifically, in the embodiment of the present invention, when the mobile terminal receives a message, the first determining module determines a characteristic attribute of the received message, for example: when the message received by the mobile terminal is a message of a pure character type, the first determining module determines that the characteristic attribute corresponding to the message is a character attribute; when the message received by the mobile terminal is a picture and/or a character, the first determining module determines that the characteristic attribute corresponding to the message is a picture attribute; when the message received by the mobile terminal is the website connection and/or the character, the first determining module determines that the characteristic attribute corresponding to the message is the link attribute.
A dividing module 402, configured to divide the messages with the same characteristic attribute and the content association degree greater than a preset threshold into the same message group.
Specifically, in the embodiment of the present invention, the dividing module determines, for a plurality of messages, messages with the same characteristic attribute, matches the messages with the same characteristic attribute, detects a degree of association between the messages, determines that the messages are messages of the same type if the characteristic attributes of the messages are the same and the contents of the messages are associated, and divides the messages into the same message group.
And a folding module 403, configured to fold and display the messages in the same group.
Through the mobile terminal provided by the embodiment of the invention, the characteristic attribute of each received message is determined; dividing the messages with the same characteristic attributes and the content relevance greater than a preset threshold into the same message group; and folding and displaying the messages of the same group. The interference of the same similar message to the user can be reduced by folding the message, and the problem that the same or similar message is repeatedly displayed to cause repeated viewing of the user is effectively avoided. The user does not need to slide the same or similar message to check the operation of other messages, so that the user can capture other key information more quickly, and the use experience of the user is enhanced.
EXAMPLE five
Referring to fig. 5, a block diagram of a mobile terminal according to a fourth embodiment of the present invention is shown.
The mobile terminal provided by the embodiment of the invention comprises: a first determining module 501, configured to determine a characteristic attribute of each received message.
Specifically, in the embodiment of the present invention, when the mobile terminal receives a message, the first determining module determines a characteristic attribute of the received message, for example: when the message received by the mobile terminal is a message of a pure character type, the first determining module determines that the characteristic attribute corresponding to the message is a character attribute; when the message received by the mobile terminal is a picture and/or a character, the first determining module determines that the characteristic attribute corresponding to the message is a picture attribute; when the message received by the mobile terminal is the website connection and/or the character, the first determining module determines that the characteristic attribute corresponding to the message is the link attribute.
The dividing module 502 is configured to divide the messages with the same characteristic attribute and the content association degree greater than a preset threshold into the same message group.
Specifically, in the embodiment of the present invention, the dividing module determines, for a plurality of messages, messages with the same characteristic attribute, matches the messages with the same characteristic attribute, detects a degree of association between the messages, determines that the messages are messages of the same type if the characteristic attributes of the messages are the same and the contents of the messages are associated, and divides the messages into the same message group.
And a folding module 503, configured to fold and display the messages in the same group.
Preferably, the mobile terminal further includes: a sorting display module 504, configured to, after the folding module folds and displays the messages of the same group, when an unfolding instruction for the messages of the group after being folded and displayed is received, sort and display the messages of the group after being folded and displayed according to preset parameters; wherein, the preset parameters include: any one of association priority and time.
Specifically, in the embodiment of the present invention, when a user needs to view a folded message, the user performs operations such as clicking or touch on the folded message, and the ranking display module performs ranking display on the folded message according to preset parameters. Wherein, the preset parameters include: any one of association priority and time.
Preferably, the dividing module 502 comprises: the first determining submodule 5021 is configured to determine the messages with the same characteristic attribute in the received messages.
Specifically, in the embodiment of the present invention, when the mobile terminal receives five messages simultaneously, where the feature attributes of three messages are picture attributes, and the feature attributes of the other two messages are text attributes, the first determining sub-module divides the five messages into two groups, and then determines that each group is specifically divided into several message groups according to the message content.
The second determining submodule 5022 is configured to determine, for every two messages with the same characteristic attribute, whether the content association degree of the two messages with the same attribute is greater than a preset threshold; a first dividing module 5023, configured to divide two messages with the same characteristic attribute into the same message packet if yes; the second partitioning submodule 5024 is configured to, if the two messages with the same characteristic attribute are not in the same message group, partition the two messages with the same characteristic attribute into different message groups.
Preferably, the characteristic attributes include: the first determining module 501 includes: the detecting submodule 5011 is configured to detect, for each received message, content included in the message.
The third determining submodule 5012 is configured to determine, when the content includes text and a web page link, that a message characteristic attribute corresponding to the content is a link attribute; the fourth determining submodule 5013 is configured to determine, when the content includes characters and pictures, that the message characteristic attribute corresponding to the content is a picture attribute; the fifth determining sub-module 5014 is configured to determine that the message characteristic attribute corresponding to the content is a text attribute when the content is only a text.
Specifically, in the embodiment of the present invention, the detection sub-module detects, for each received message, content included in the message, and when the content includes text and a web link, the third determination sub-module determines that a characteristic attribute of the message corresponding to the content is a link attribute; when the content contains characters and pictures, the fourth determining submodule determines the characteristic attribute of the message corresponding to the content as the picture attribute; and when the content is only a character, the fifth determining submodule determines that the characteristic attribute of the message corresponding to the content is a character attribute.
Preferably, the mobile terminal further includes: a total number determining module 505, configured to determine, for each group after the folding module folds and displays the messages of the same group, a total number of messages included in the group; a total number display module 506, configured to display the total number of messages as the number of message pieces corresponding to the group.
Specifically, in the embodiment of the present invention, the total number determining module and the total number displaying module facilitate the user to dynamically view the messages in the same group by displaying the number of messages in each group.
Preferably, the mobile terminal further includes: a second determining module 507, configured to determine, when a new message is received, whether there is a first message packet matching the new message after the total number displaying module displays the total number of messages as a number of message pieces corresponding to a packet.
Specifically, in the embodiment of the present invention, the second determining module determines that a feature attribute of a new message is received, acquires a certain message corresponding to the same feature attribute, determines a degree of association between the new message and the acquired message, and determines whether the degree of association is greater than a preset threshold, if so, a first message packet matching the new message exists, and if not, a first message packet matching the new message does not exist.
An adding module 508, configured to add the new message to the first message packet if the new message exists, and add one to the number of messages corresponding to the first message packet; a generating module 509, configured to generate a second message packet for the new message if the new message does not exist, and fold and display the message included in the second message packet.
Specifically, in the embodiment of the present invention, the adding module adds one to the number corresponding to the first message packet, and if the first message packet is a read message, displays the prompt status update label, for example: "+ 1", "+ 2", etc., or a small red circle on the first message packet to alert the user that a new message exists for that packet. The generating module generates a second message packet for the new message so as to facilitate the user to view the new message, and simultaneously indicates that the received new message is different from the characteristic attributes of the existing message packets, or the generating module displays the received new message on a first bar of a message display interface so as to facilitate the user to view the key message at the first time.
Through the mobile terminal provided by the embodiment of the invention, the characteristic attribute of each received message is determined; dividing the messages with the same characteristic attributes and the content relevance greater than a preset threshold into the same message group; and folding and displaying the messages of the same group. The interference of the same similar message to the user can be reduced by folding the message, and the problem that the same or similar message is repeatedly displayed to cause repeated viewing of the user is effectively avoided. Other messages can be checked without sliding operation of the same or similar messages by the user, so that the user can capture other key information more quickly, and the use experience of the user is enhanced.
EXAMPLE six
Referring to fig. 6, a block diagram of a mobile terminal according to an embodiment of the present invention is shown.
The mobile terminal 800 of the embodiment of the present invention includes: at least one processor 801, memory 802, at least one network interface 804, and other user interfaces 803. The various components in the mobile terminal 800 are coupled together by a bus system 805. It is understood that the bus system 805 is used to enable communications among the components connected. The bus system 805 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 805 in fig. 6.
The user interface 803 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It will be appreciated that the memory 802 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic random access memory (ddr Data Rate SDRAM, ddr SDRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 802 of the subject systems and methods described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 802 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 8021 and application programs 8022.
The operating system 8021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application program 8022 includes various application programs, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. A program implementing a method according to an embodiment of the present invention may be included in application program 8022.
In the embodiment of the present invention, by calling the program or instruction stored in the memory 802, specifically, the program or instruction stored in the application program 8022, the processor 801 is configured to: determining the characteristic attribute of each received message; dividing the messages with the same characteristic attributes and the content relevance greater than a preset threshold into the same message group; and folding and displaying the messages of the same group.
The methods disclosed in the embodiments of the present invention described above may be implemented in the processor 801 or implemented by the processor 801. The processor 801 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 801. The Processor 801 may be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 802, and the processor 801 reads the information in the memory 802, and combines the hardware to complete the steps of the method.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within 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), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described in this embodiment of the invention may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described in this embodiment of the invention. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the processor 801 is further configured to: after the step of folding and displaying the messages of the same group, the method further comprises the following steps: when an unfolding instruction of the grouped messages after folding display is received, sequencing and displaying the grouped messages after folding display according to preset parameters; wherein the preset parameters include: any one of association priority and time.
Optionally, the processor 801 is further configured to: the step of dividing the messages with the same characteristic attributes and the content association degrees larger than the preset threshold into the same message group comprises the following steps: determining the messages with the same characteristic attributes in the received messages; determining whether the content association degree of the two messages with the same characteristic attribute is greater than a preset threshold value or not for every two messages with the same characteristic attribute; if yes, dividing two messages with the same characteristic attribute into the same message group; and if not, dividing the two messages with the same characteristic attribute into different message groups.
Optionally, the processor 801 is further configured to: the characteristic attributes include: the step of determining the characteristic attributes of each received message comprises the following steps: aiming at each received message, detecting the content contained in the message; when the content contains characters and a webpage link, determining the characteristic attribute of the message corresponding to the content as a link attribute; when the content contains characters and pictures, determining the characteristic attribute of the message corresponding to the content as the picture attribute; and when the content is only a character, determining that the characteristic attribute of the message corresponding to the content is a character attribute.
Optionally, the processor 801 is further configured to: after the step of folding and displaying the messages of the same group, the method further comprises the following steps: for each group after folding display, determining the total number of messages contained in the group; and displaying the total number of the messages as the number of the messages corresponding to the grouping.
The mobile terminal 800 can implement each process implemented by the mobile terminal in the foregoing embodiments, and details are not repeated here to avoid repetition.
Through the mobile terminal provided by the embodiment of the invention, the characteristic attribute of each received message is determined; dividing the messages with the same characteristic attributes and the content relevance greater than a preset threshold into the same message group; and folding and displaying the messages of the same group. The interference of the same similar message to the user can be reduced by folding the message, and the problem that the same or similar message is repeatedly displayed to cause repeated viewing of the user is effectively avoided. The user can check other messages without sliding the same or similar messages, so that the user can capture other key information more quickly, and the user experience is enhanced.
EXAMPLE seven
Referring to fig. 7, a block diagram of a mobile terminal according to an embodiment of the present invention is shown.
The mobile terminal in the embodiment of the present invention may be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
The mobile terminal of fig. 7 includes a Radio Frequency (RF) circuit 910, a memory 920, an input unit 930, a display unit 940, a processor 960, an audio circuit 970, a wifi (wireless fidelity) module 980, and a power supply 990.
The input unit 930 may be used, among other things, to receive numeric or character information input by a user and to generate signal inputs related to user settings and function control of the mobile terminal. Specifically, in the embodiment of the present invention, the input unit 930 may include a touch panel 931. The touch panel 931, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 931 (for example, a user may operate the touch panel 931 by using a finger, a stylus pen, or any other suitable object or accessory), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 931 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and sends the touch point coordinates to the processor 960, where the touch controller can receive and execute commands sent by the processor 960. In addition, the touch panel 931 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 931, the input unit 930 may also include other input devices 932, and the other input devices 932 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Among them, the display unit 940 may be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal. The display unit 940 may include a display panel 941, and the display panel 941 may be optionally configured in the form of an LCD or an Organic Light-Emitting Diode (OLED).
It should be noted that the touch panel 931 may overlay the display panel 941 to form a touch display screen, and when the touch display screen detects a touch operation on or near the touch display screen, the touch display screen transmits the touch operation to the processor 960 to determine the type of the touch event, and then the processor 960 provides a corresponding visual output on the touch display screen according to the type of the touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The processor 960 is a control center of the mobile terminal, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the first memory 921 and calling data stored in the second memory 922, thereby performing overall monitoring of the mobile terminal. Optionally, processor 960 may include one or more processing units.
In an embodiment of the present invention, processor 960 is configured to, by invoking a software program and/or module stored in first memory 921 and/or data in second memory 922: determining the characteristic attribute of each received message; dividing the messages with the same characteristic attributes and the content relevance greater than a preset threshold into the same message group; and folding and displaying the messages of the same group.
Optionally, the processor 960 is further configured to: after the step of folding and displaying the messages of the same group, the method further comprises the following steps: when an unfolding instruction of the grouped messages after folding display is received, sequencing and displaying the grouped messages after folding display according to preset parameters; wherein the preset parameters include: any one of association priority and time.
Optionally, the processor 960 is further configured to: the step of dividing the messages with the same characteristic attributes and the content association degrees larger than the preset threshold into the same message group comprises the following steps: determining the messages with the same characteristic attributes in the received messages; determining whether the content association degree of the two messages with the same characteristic attribute is greater than a preset threshold value or not for every two messages with the same characteristic attribute; if yes, dividing two messages with the same characteristic attribute into the same message group; and if not, dividing the two messages with the same characteristic attribute into different message groups.
Optionally, the processor 960 is further configured to: the characteristic attributes include: the step of determining the characteristic attributes of each received message comprises the following steps: aiming at each received message, detecting the content contained in the message; when the content contains characters and a webpage link, determining the characteristic attribute of the message corresponding to the content as a link attribute; when the content contains characters and pictures, determining the characteristic attribute of the message corresponding to the content as the picture attribute; and when the content is only a character, determining that the characteristic attribute of the message corresponding to the content is a character attribute.
Optionally, the processor 960 is further configured to: after the step of folding and displaying the messages of the same group, the method further comprises the following steps: for each group after folding display, determining the total number of messages contained in the group; and displaying the total number of the messages as the number of the messages corresponding to the grouping.
Through the mobile terminal provided by the embodiment of the invention, the characteristic attribute of each received message is determined; dividing the messages with the same characteristic attributes and the content relevance greater than a preset threshold into the same message group; and folding and displaying the messages of the same group. The interference of the same similar message to the user can be reduced by folding the message, and the problem that the same or similar message is repeatedly displayed to cause repeated viewing of the user is effectively avoided. The user can check other messages without sliding the same or similar messages, so that the user can capture other key information more quickly, and the user experience is enhanced.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The methods of message display provided herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The structure required to construct a system incorporating aspects of the present invention will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of the message display processing method according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.

Claims (12)

1. A message display method is applied to a mobile terminal, and is characterized by comprising the following steps:
determining the characteristic attribute of each received message;
dividing the messages with the same characteristic attributes and the content relevance greater than a preset threshold into the same message group;
folding and displaying the messages of the same group;
the characteristic attributes include: the step of determining the characteristic attributes of each received message comprises the following steps:
aiming at each received message, detecting the content contained in the message;
when the content contains characters and a webpage link, determining the characteristic attribute of the message corresponding to the content as a link attribute;
when the content contains characters and pictures, determining the characteristic attribute of the message corresponding to the content as the picture attribute;
and when the content is only a character, determining that the characteristic attribute of the message corresponding to the content is a character attribute.
2. The method of claim 1, wherein after the step of collapsing the messages of the same group for display, the method further comprises:
when an unfolding instruction of the grouped messages after folding display is received, sequencing and displaying the grouped messages after folding display according to preset parameters; wherein the preset parameters include: any one of association priority and time.
3. The method according to claim 1, wherein the step of dividing the messages with the same characteristic attribute and the content relevance greater than a preset threshold into the same message group comprises:
determining the messages with the same characteristic attributes in the received messages;
determining whether the content association degree of the two messages with the same characteristic attribute is greater than a preset threshold value or not for every two messages with the same characteristic attribute;
if yes, dividing two messages with the same characteristic attribute into the same message group;
and if not, dividing the two messages with the same characteristic attribute into different message groups.
4. The method of claim 1, wherein after the step of collapsing the messages of the same group for display, the method further comprises:
for each group after folding display, determining the total number of messages contained in the group;
and displaying the total number of the messages as the number of the messages corresponding to the grouping.
5. The method of claim 4, wherein after the step of displaying the total number of messages as a number of messages corresponding to a group, the method further comprises:
when a new message is received, determining whether a first message packet matching the new message exists;
if yes, adding the new message into the first message packet, and adding one to the number of messages corresponding to the first message packet;
and if the new message does not exist, generating a second message packet for the new message, and folding and displaying the message contained in the second message packet.
6. A mobile terminal, characterized in that the mobile terminal comprises:
the first determining module is used for determining the characteristic attribute of each received message;
the dividing module is used for dividing the messages with the same characteristic attributes and the content relevance degrees larger than a preset threshold value into the same message group;
the folding module is used for folding and displaying the messages of the same group;
the characteristic attributes include: the first determining module comprises:
the detection submodule is used for detecting the content contained in the message aiming at each received message;
a third determining submodule, configured to determine, when the content includes text and a web page link, that a message characteristic attribute corresponding to the content is a link attribute;
the fourth determining submodule is used for determining the characteristic attribute of the message corresponding to the content as the picture attribute when the content contains characters and pictures;
and the fifth determining submodule is used for determining that the characteristic attribute of the message corresponding to the content is the character attribute when the content is only the character.
7. The mobile terminal of claim 6, wherein the mobile terminal further comprises:
the sequencing display module is used for sequencing and displaying the grouped messages after folding display according to preset parameters when receiving an unfolding instruction of the grouped messages after folding display after the folding module folds and displays the same grouped messages; wherein, the preset parameters include: any one of association priority and time.
8. The mobile terminal of claim 6, wherein the partitioning module comprises:
the first determining submodule is used for determining the messages with the same characteristic attributes in the received messages;
the second determining submodule is used for determining whether the content relevance of the two messages with the same attribute is greater than a preset threshold value or not for every two messages with the same characteristic attribute;
the first dividing module is used for dividing the two messages with the same characteristic attribute into the same message group if the two messages with the same characteristic attribute are in the same group;
and the second division submodule is used for dividing the two messages with the same characteristic attribute into different message groups if the two messages are not classified into the same group.
9. The mobile terminal of claim 6, wherein the mobile terminal further comprises:
the total number determining module is used for determining the total number of the messages contained in the groups aiming at each group after the folding module folds and displays the messages of the same group;
and the total number display module is used for displaying the total number of the messages as the number of the messages corresponding to the grouping.
10. The mobile terminal of claim 9, wherein the mobile terminal further comprises:
a second determining module, configured to determine whether a first message packet matching a new message exists when the new message is received after the total number displaying module displays the total number of messages as a number of message pieces corresponding to the packet;
an adding module, configured to add the new message to the first message packet if the new message exists, and add one to the number of messages corresponding to the first message packet;
and the generating module is used for generating a second message packet for the new message and folding and displaying the messages contained in the second message packet if the new message does not exist.
11. A mobile terminal, comprising: memory, processor and message display program stored on the memory and executable on the processor, the message display program when executed by the processor implementing the steps of the message display method according to any one of claims 1 to 5.
12. A computer-readable storage medium, characterized in that a message display program is stored thereon, which when executed by a processor implements the steps of the message display method according to any one of claims 1 to 5.
CN201710743273.9A 2017-08-25 2017-08-25 Message display method, mobile terminal and computer readable storage medium Active CN107577512B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710743273.9A CN107577512B (en) 2017-08-25 2017-08-25 Message display method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710743273.9A CN107577512B (en) 2017-08-25 2017-08-25 Message display method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107577512A CN107577512A (en) 2018-01-12
CN107577512B true CN107577512B (en) 2021-01-08

Family

ID=61034892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710743273.9A Active CN107577512B (en) 2017-08-25 2017-08-25 Message display method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107577512B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108809806B (en) * 2018-05-25 2021-10-22 维沃移动通信有限公司 Instant messaging method and mobile terminal
CN108881624B (en) * 2018-05-30 2021-08-31 维沃移动通信有限公司 Message display method and terminal equipment
CN111510369A (en) * 2019-01-31 2020-08-07 中国移动通信集团终端有限公司 Message display method, device, equipment and medium
CN109977310A (en) * 2019-03-21 2019-07-05 上海掌门科技有限公司 A kind of method and apparatus of user's friend circle multidate information Folding display
US11343220B2 (en) * 2019-04-10 2022-05-24 Meta Platforms, Inc. User engagement with co-users of a networking system
CN111342979B (en) * 2020-02-25 2022-04-29 维沃移动通信有限公司 Information processing method and electronic equipment
CN111614544B (en) * 2020-04-20 2022-03-25 维沃移动通信有限公司 Message processing method and electronic equipment
CN112308728A (en) * 2020-10-29 2021-02-02 上海连尚网络科技有限公司 Method and equipment for managing social space
CN112769679A (en) * 2021-01-14 2021-05-07 钉钉控股(开曼)有限公司 Message display method and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE602005011261D1 (en) * 2005-06-03 2009-01-08 Research In Motion Ltd Messages display on portable devices
US20100162374A1 (en) * 2008-12-19 2010-06-24 Nair Jiji U Cost effective updating of mobile computing devices and communicating with mobile computing devices
CN101944104A (en) * 2010-08-19 2011-01-12 百度在线网络技术(北京)有限公司 Evaluation method and equipment for importance of webpage sub-blocks
CN103246676A (en) * 2012-02-10 2013-08-14 富士通株式会社 Method and device for clustering messages
CN105469104B (en) * 2015-11-03 2019-09-10 小米科技有限责任公司 Calculation method, device and the server of text information similarity
CN106101848B (en) * 2016-06-08 2019-03-01 维沃移动通信有限公司 A kind of barrage display methods and electronic equipment
CN106843848A (en) * 2016-12-27 2017-06-13 珠海市魅族科技有限公司 Pushed information processing method, pushed information processing unit and terminal

Also Published As

Publication number Publication date
CN107577512A (en) 2018-01-12

Similar Documents

Publication Publication Date Title
CN107577512B (en) Message display method, mobile terminal and computer readable storage medium
US9384503B2 (en) Terminal apparatus, advertisement display control apparatus, and advertisement display method
CN107526492B (en) Interface display method of application program and mobile terminal
CN107562345B (en) Information storage method and mobile terminal
ES2914868T3 (en) Icon processing method and mobile terminal
CN107229911B (en) Fingerprint identification method and mobile terminal
US10620821B2 (en) Page sliding method and apparatus
US10852927B2 (en) Browser function bar display method, apparatus, and processing device
CN106372893B (en) Code scanning interface switching method and device
CN107506130B (en) Character deleting method and mobile terminal
CN106993091B (en) Image blurring method and mobile terminal
CN105302442A (en) Image information processing method and terminal
CN107562473B (en) Application program display method and mobile terminal
CN107547738B (en) Prompting method and mobile terminal
CN106934052B (en) Media text processing method and mobile terminal
CN112130729B (en) Page processing method and device, computer equipment and storage medium
CN106775378B (en) Method for determining candidate words of input method and mobile terminal
CN106780314B (en) Jigsaw previewing method and mobile terminal
CN106503061B (en) Group message display method and mobile terminal
US20110316887A1 (en) Electronic device with a touch screen and touch operation control method utilized thereby
CN106570061B (en) Webpage label management method and mobile terminal
WO2018196693A1 (en) Method for displaying image list and mobile terminal
CN102141894B (en) User interface displaying method and device
US20130278512A1 (en) Touch sensitive electronic device with clipping function and clipping method
CN106446014B (en) File searching method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant