CN111555961B - Message display method and device - Google Patents

Message display method and device Download PDF

Info

Publication number
CN111555961B
CN111555961B CN202010335351.3A CN202010335351A CN111555961B CN 111555961 B CN111555961 B CN 111555961B CN 202010335351 A CN202010335351 A CN 202010335351A CN 111555961 B CN111555961 B CN 111555961B
Authority
CN
China
Prior art keywords
message
target
aggregated
messages
session
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
CN202010335351.3A
Other languages
Chinese (zh)
Other versions
CN111555961A (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 Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology 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 Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202010335351.3A priority Critical patent/CN111555961B/en
Publication of CN111555961A publication Critical patent/CN111555961A/en
Application granted granted Critical
Publication of CN111555961B publication Critical patent/CN111555961B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages

Landscapes

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

Abstract

The disclosure relates to a message display method and a message display device, relates to the field of communication, increases message content displayed on a conversation page of instant messaging application, and improves the space utilization rate of the conversation page. The specific scheme comprises the following steps: the message display device responds to the message aggregation instruction and aggregates the target session message of the target session of the instant messaging application; the target session message comprises one or more groups of messages to be aggregated, one group of messages to be aggregated comprises N continuous messages of one account, and N is a positive integer; displaying a session page of the target session after aggregating the target session messages, wherein the session page comprises: one or more aggregated messages, an aggregated message comprising message content comprised by a respective set of messages to be aggregated.

Description

Message display method and device
Technical Field
The present disclosure relates to the field of communications, and in particular, to a message display method and apparatus.
Background
Instant Messaging (IM) is a real-time communication service that allows users to establish a chat room on a network. With the wide use of the instant messaging application, a user can install the instant messaging application on a mobile phone, a tablet personal computer and other terminals, and chat by using the installed instant messaging application.
In the related art, messages in a conversation page of an instant messaging application are displayed on both sides, that is, messages sent by a user and messages received by the user are respectively arranged on the left side and the right side of the conversation page according to the time sequence.
However, since each sent message or received message is displayed by a separate bubble box and there is a certain interval between the bubble boxes in the conversation page, the space utilization of the conversation page is low, and thus the content of the message displayed on the conversation page is limited. If the content of the message is too much, the user needs to continuously page to check the content of all the messages, so that the checking efficiency is low, and the user experience is poor.
Disclosure of Invention
The invention provides a message display method and a message display device, which increase message content displayed on a conversation page of instant messaging and improve the space utilization rate of the conversation page. The technical scheme of the disclosure is as follows:
according to a first aspect of the present disclosure, there is provided a message display method applied to a terminal, the method including:
responding to the message aggregation instruction, and aggregating the target session message of the target session of the instant messaging application; the target session message comprises one or more groups of messages to be aggregated, one group of messages to be aggregated comprises N continuous messages of one account, and N is a positive integer;
displaying a session page of the target session after aggregating the target session message; the session page includes: one or more aggregated messages, an aggregated message comprising message content comprised by a respective set of messages to be aggregated.
Optionally, the aggregating, in response to the message aggregation instruction, the target session message of the target session of the instant messaging application includes:
displaying an aggregation control on a setting page of the instant messaging application, and aggregating the target session message of each session of the instant messaging application in response to the triggering operation of the aggregation control;
or responding to a preset editing operation on the icon of the instant messaging application, and displaying a selection list, wherein the selection list comprises an aggregation control; aggregating the target session message of each session of the instant messaging application in response to a triggering operation on the aggregation control;
or displaying an aggregation control on the session page, and aggregating the target session message of the session page in response to the triggering operation of the aggregation control;
or, in response to the message aggregation instruction, sending an aggregation request, where the aggregation request is used to request to aggregate the target session messages of the target session, and receiving the one or more aggregation messages;
or at least one message is displayed on the conversation page, and one message is displayed through an initial message frame; responding to preset operation on a target message, and displaying a selection list, wherein the selection list comprises an aggregation control, and the at least one message comprises the target message; and in response to the triggering operation of the aggregation control, aggregating the messages of the same account of the session page, which are continuous with the target message.
Optionally, the aggregating, in response to the triggering operation on the aggregation control, messages of the same account of the session page that are consecutive to the target message includes:
in response to the trigger operation of the aggregation control, displaying a check box and a confirmation control at the associated position of an initial message box corresponding to each message of the same account which is continuous with the target message on the session page;
and responding to the triggering operation of the confirmation control, and aggregating the continuous messages with the checked check boxes.
Optionally, the method further includes:
after a session page of the target session after the target session message is aggregated is displayed, a contraction control is displayed on the session page, and in response to the triggering operation of the contraction control, all or part of message content of each aggregated message included in the session page is hidden to obtain a corresponding contraction message;
or responding to a preset operation of an aggregation message, and displaying a contraction control on the session page; and hiding all or part of the message content of the aggregated message in response to the triggering operation of the contraction control to obtain a corresponding contraction message.
Optionally, the method further includes:
displaying an expansion control on the session page in response to the triggering operation of the contraction control;
and expanding the whole message content of all contracted messages included in the conversation page in response to the triggering operation of the expansion control.
Optionally, the displaying the session page of the target session after aggregating the target session message includes:
hiding an initial message frame of each message included in the target session message;
displaying the aggregated message in the conversation page through a target message display component; wherein, the target message display component is any one of the following components: a message box, a vertical line, and an underline under the aggregated message; the message display components used by the aggregated messages of different accounts have different styles or the same style, and the message display components used by the aggregated messages of different accounts have different colors or the same color.
Optionally, the aggregated message of the first account and aggregated messages of other accounts except the first account in the session page are located on the same side of the session page, or are located on the left and right sides of the session page respectively; the first account is a login account of the instant messaging application.
Optionally, the method further includes:
responding to preset operation on the conversation page, and displaying corresponding message generation time at the associated position of each message included in each aggregated message on the conversation page;
and when the preset operation is detected to be finished, hiding the message generation time corresponding to each message included in each aggregation message.
Optionally, in the aggregated message, the width of each line of message content is less than or equal to the width of the conversation page.
Optionally, the method further includes:
and in response to the copy operation of the aggregation message, copying all message contents included in the aggregation message.
Optionally, the method further includes:
deleting the aggregated message of the conversation page in response to a delete operation on the aggregated message.
According to a second aspect of the present disclosure, there is provided a message display method applied to a server, the method including:
receiving an aggregation request, wherein the aggregation request is used for requesting to aggregate target session messages of a target session of an instant messaging application, the target session messages comprise one or more groups of messages to be aggregated, one group of messages to be aggregated comprises N continuous messages of an account, and N is a positive integer;
according to the aggregation request, aggregating the target session messages to obtain one or more aggregated messages; an aggregated message comprises message content comprised by a corresponding set of messages to be aggregated;
transmitting the one or more aggregated messages.
According to a third aspect of the present disclosure, there is provided a message display apparatus applied to a terminal, including:
an aggregation module configured to perform aggregation of target session messages of a target session of an instant messaging application in response to a message aggregation instruction; the target session message comprises one or more groups of messages to be aggregated, one group of messages to be aggregated comprises N continuous messages of one account, and N is a positive integer;
a display module configured to execute displaying a session page of the target session after aggregating the target session message; the session page includes: one or more aggregated messages, an aggregated message comprising message content comprised by a respective set of messages to be aggregated.
Optionally, the aggregation module is specifically configured to perform:
displaying an aggregation control on a setting page of the instant messaging application, and aggregating the target session message of each session of the instant messaging application in response to the triggering operation of the aggregation control;
or responding to a preset editing operation on the icon of the instant messaging application, and displaying a selection list, wherein the selection list comprises an aggregation control; aggregating the target session message of each session of the instant messaging application in response to a triggering operation on the aggregation control;
or displaying an aggregation control on the session page, and aggregating the target session message of the session page in response to the triggering operation of the aggregation control;
or, in response to the message aggregation instruction, sending an aggregation request, where the aggregation request is used to request to aggregate the target session messages of the target session, and receiving the one or more aggregation messages;
or at least one message is displayed on the conversation page, and one message is displayed through an initial message frame; responding to preset operation on a target message, and displaying a selection list, wherein the selection list comprises an aggregation control, and the at least one message comprises the target message; and in response to the triggering operation of the aggregation control, aggregating the messages of the same account of the session page, which are continuous with the target message.
Optionally, the aggregation module is specifically configured to perform:
in response to the triggering operation of the aggregation control, displaying a check box and a confirmation control at the associated position of an initial message box corresponding to each message of the same account which is continuous with the target message on the session page;
and responding to the triggering operation of the confirmation control, and aggregating the continuous messages with the checked check boxes.
Optionally, the message display apparatus further includes: a hidden module;
the display module is further configured to display a contraction control on a session page of the target session after the target session message is aggregated is displayed; the hiding module is configured to execute a triggering operation responding to the contraction control, hide all or part of message contents of each aggregation message included in the session page, and obtain a corresponding contraction message;
or, the display module is further configured to execute a preset operation on one aggregated message, and display a contraction control on the session page; and the hiding module is configured to execute a triggering operation responding to the contraction control, hide all or part of the message content of the aggregated message, and obtain a corresponding contraction message.
Optionally, the message display apparatus further includes: a deployment module;
the display module is further configured to execute a triggering operation of the contraction control, and display an expansion control on the session page;
the expansion module is configured to execute, in response to a triggering operation on the expansion control, expanding all message contents of all contracted messages included in the conversation page.
Optionally, the display module is specifically configured to perform:
hiding an initial message frame of each message included in the target session message;
displaying the aggregated message in the conversation page through a target message display component; wherein, the target message display component is any one of the following components: a message box, a vertical line, and an underline under the aggregated message; the message display components used by the aggregated messages of different accounts have different or the same styles, and the message display components used by the aggregated messages of different accounts have different or the same colors.
Optionally, the aggregated message of the first account and aggregated messages of other accounts except the first account in the session page are located on the same side of the session page, or are located on the left and right sides of the session page respectively; the first account is a login account of the instant messaging application.
Optionally, the message display apparatus further includes: hiding the module;
the display module is further configured to execute, in response to a preset operation on the conversation page, displaying corresponding message generation time at an associated position of each message included in each aggregated message on the conversation page;
the hiding module is configured to hide message generation time corresponding to each message included in each aggregated message when the preset operation is detected to be finished.
Optionally, in the aggregated message, the width of each line of message content is less than or equal to the width of the conversation page.
Optionally, the message display apparatus further includes: a copy module;
the replication module is configured to perform a replication operation on the aggregated message in response to replicating all message content included in the aggregated message.
Optionally, the message display apparatus further includes: a deletion module;
the deleting module is configured to execute deleting the aggregated message of the session page in response to a deleting operation on the aggregated message.
According to a fourth aspect of the present disclosure, there is provided a message display apparatus applied to a server, including:
the system comprises a receiving module, a receiving module and a sending module, wherein the receiving module is configured to execute receiving of an aggregation request, the aggregation request is used for requesting to aggregate target session messages of a target session of an instant messaging application, the target session messages comprise one or more groups of messages to be aggregated, one group of messages to be aggregated comprise N continuous messages of an account, and N is a positive integer;
the aggregation module is configured to perform aggregation on the target session message according to the aggregation request to obtain one or more aggregated messages; an aggregated message comprises message content comprised by a respective set of messages to be aggregated;
a sending module configured to perform sending the one or more aggregated messages.
According to a fifth aspect of the present disclosure, there is provided a message display system including: a terminal and a server;
the terminal is used for responding to a message aggregation instruction and sending an aggregation request to the server, wherein the aggregation request is used for requesting to aggregate target session messages of a target session of instant messaging application, the target session messages comprise one group or multiple groups of messages to be aggregated, one group of messages to be aggregated comprises N continuous messages of one account, and N is a positive integer;
the server is used for receiving the aggregation request sent by the terminal and aggregating the target session messages according to the aggregation request to obtain one or more aggregated messages; an aggregated message comprises message content comprised by a corresponding set of messages to be aggregated; sending the one or more aggregated messages to the terminal;
the terminal is further configured to receive the one or more aggregated messages sent by the server, and display a session page including the one or more aggregated messages.
According to a sixth aspect of the present disclosure, there is provided a terminal comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement any one of the optional message display methods of the first aspect.
According to a seventh aspect of the present disclosure, there is provided a server comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement any one of the optional message display methods of the second aspect.
According to an eighth aspect of the present disclosure, there is provided a computer readable storage medium having instructions stored thereon, which when executed by a processor of a terminal, enable the terminal to perform any one of the above-mentioned first optional message display methods.
According to a ninth aspect of the present disclosure, there is provided a computer readable storage medium having instructions stored thereon, which when executed by a processor of a server, enable the server to perform any one of the above second optional message display methods.
According to a tenth aspect of the present disclosure there is provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the optional message display method of any of the first aspects.
According to an eleventh aspect of the present disclosure, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the optional message display method of any of the second aspects.
The technical scheme provided by the disclosure at least brings the following beneficial effects: the message display device responds to a message aggregation instruction, aggregates target session messages of a target session of the instant messaging application, wherein the target session messages comprise one or more groups of messages to be aggregated, one group of messages to be aggregated comprise N continuous messages of an account, and displays a session page of the target session after the target session messages are aggregated, the session page comprises one or more aggregated messages, and one aggregated message comprises message content included in the corresponding group of messages to be aggregated. Therefore, one or more aggregated messages are displayed on the session page of the target session, one aggregated message comprises N continuous messages of one account, and compared with the prior art that the N messages are displayed through N independent bubble frames, the interval between the N messages disappears, so that the space utilization rate of the session page is improved, the message content displayed on the session page is increased, and the efficiency of the user for viewing the messages is improved. Moreover, each aggregated message is displayed as a whole content, so that the consistency is stronger and the user experience is better.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a schematic view of a message display of a conversation page provided in the related art.
Fig. 2 is a schematic diagram illustrating a message display system according to an exemplary embodiment.
Fig. 3 is a flow chart illustrating a message display method according to an example embodiment.
FIG. 4 is a display diagram illustrating an aggregation control, according to an example embodiment.
Fig. 5 is a diagram illustrating a display of an aggregated message, according to an example embodiment.
Fig. 6 is a flow chart illustrating another message display method in accordance with an example embodiment.
FIG. 7 is a diagram illustrating the display of a contracted message, according to an example embodiment.
FIG. 8 is a diagram illustrating the display of another contracted message, according to an example embodiment.
Fig. 9 is a display diagram illustrating another aggregated message, according to an example embodiment.
Fig. 10 is a diagram illustrating the display of a message generation time according to an exemplary embodiment.
Fig. 11 is a flow chart illustrating another message display method according to an example embodiment.
Fig. 12 is a block diagram illustrating a logical structure of a message display apparatus according to an exemplary embodiment.
Fig. 13 is a block diagram illustrating a logical structure of another message display apparatus according to an exemplary embodiment.
Fig. 14 is a block diagram illustrating a logical structure of another message display apparatus according to an exemplary embodiment.
Fig. 15 is a block diagram illustrating a structure of a terminal according to an exemplary embodiment.
Fig. 16 is a block diagram illustrating a configuration of a server according to an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
First, an application scenario of the embodiment of the present disclosure is described.
The message display method provided by the embodiment of the disclosure is applied to a message display scene of a session page of instant messaging application. In the related art, as shown in fig. 1, each message of a conversation page of an instant messaging application is displayed by a separate bubble box, and a certain interval exists between the bubble boxes, so that the space utilization rate of the conversation page is low, and the content of the message displayed by the conversation page is limited. In order to solve the above problem, embodiments of the present disclosure provide a message display method and apparatus, where N consecutive messages of the same account are aggregated and displayed on a session page, so as to improve a space utilization rate of the session page, thereby increasing message content displayed on the session page.
Next, an implementation environment of the embodiments of the present disclosure will be described.
Fig. 2 is a schematic diagram illustrating a message display system to which the message display method provided by the embodiment of the present disclosure may be applied, according to an exemplary embodiment. As shown in fig. 2, the message display system may include: a terminal 11 and a server 12. The terminal 11 communicates with the server 12 in a wired communication manner or a wireless communication manner.
The terminal 11 is installed with an instant messaging application, and the terminal 11 is mainly used for displaying a session page obtained by aggregating a target session message of a target session of the instant messaging application.
In some embodiments, the terminal 11 may be a mobile phone, a tablet computer, a notebook computer, a desktop computer, a portable computer, etc., which is not limited by this disclosure. Fig. 1 illustrates the terminal 11 as a mobile phone.
The server 12 may be one server or a server cluster composed of a plurality of servers, which is not limited in this disclosure.
After the application scenario and the implementation environment of the embodiment of the present disclosure are introduced, a detailed description is given to a message display method provided by the embodiment of the present disclosure.
Fig. 3 is a flowchart illustrating a message display method according to an exemplary embodiment, and when the method is applied to a terminal, the method may include steps 201 to 202, as shown in fig. 3.
201. And in response to the message aggregation instruction, aggregating target session messages of the target session of the instant messaging application.
The target session message comprises one or more groups of messages to be aggregated, one group of messages to be aggregated comprises N continuous messages of one account, and N is a positive integer.
Optionally, in this embodiment of the present disclosure, the terminal, in response to the message aggregation instruction, may aggregate the target session message in the following several scenarios. Specifically, the method comprises the following steps:
in one scenario, the terminal may display an aggregation control on a setting page of the instant messaging application, and aggregate target session messages of each session of the instant messaging application in response to a trigger operation of a user on the aggregation control. The target session is any one of a plurality of sessions of the instant messaging application.
It will be appreciated that in one possible implementation, the aggregation control of the set page is closed by default, and the instant messaging application presents the message in the existing manner. When the user triggers the aggregation control to be opened, the terminal can aggregate the target session messages.
In one scenario, the terminal may display a selection list including an aggregation control in response to a user's preset editing operation on an icon of the instant messaging application. The terminal can respond to the triggering operation of the user on the aggregation control, and aggregate the target session message of each session of the instant messaging application. The preset editing operation may be a click operation (e.g., a single click operation, a double click operation, or a click operation performed a preset number of times in succession), a long-time press operation, a slide operation, or the like.
In one scenario, the terminal may display an aggregation control on a session page of a target session, and aggregate target session messages of the session page in response to a user's trigger operation on the aggregation control.
For example, the terminal may display an aggregation control at a preset position of a session page of the target session, as shown in fig. 4.
In one scenario, the terminal may display at least one message on a conversation page of the target conversation, one message being displayed via an initial message box. The terminal can respond to the preset operation of the user on the target message and display a selection list, wherein the selection list comprises the aggregation control, and at least one message comprises the target message. The terminal can respond to the triggering operation of the user on the aggregation control, and aggregate the messages of the same account, which are continuous with the target message, of the session page.
It should be noted that, in the above scenario, the terminal aggregates the target session messages, that is, the process of aggregating each group of messages to be aggregated is as follows: and the terminal responds to the triggering operation of the user on the aggregation control, and firstly determines whether the account corresponding to the previous message of the target message is the same as the account corresponding to the target message. If the two messages are the same, determining that the previous message and the target message are contained in one aggregated message, and continuously determining whether the message before the previous message belongs to the aggregated message according to the same mode. If not, determining whether the account corresponding to the next message of the target message is the same as the account corresponding to the target message. If the message is the same as the target message, determining that the target message and the next message are contained in an aggregated message, and continuously determining whether the message after the next message belongs to the aggregated message according to the same mode. And if not, determining that only the target message is included in one aggregated message.
In one scenario, the terminal may display at least one message on a session page of the target session, one message being displayed via an initial message box. The terminal can respond to the preset operation of the user on the target message, and display a selection list, wherein the target message is contained in at least one message, and the selection list comprises an aggregation control. The terminal can respond to the triggering operation of the user on the aggregation control, display a check box at the associated position of the initial message box corresponding to each message of the same account which is continuous with the target message on the conversation page, and display a confirmation control. Then, the terminal can respond to the triggering operation of the user on the confirmation control to aggregate the continuous messages with the check boxes checked.
It will be appreciated that in the scenario described above, the aggregated messages comprise check box checked, sequential messages. For example, assuming that messages of the same account consecutive to the target message include three messages, if check boxes corresponding to the three messages are all checked, the aggregated message includes the three messages. If the check boxes corresponding to the first two messages in the three messages are checked, the aggregated messages comprise the first two messages. And similarly, when the check boxes corresponding to the last two messages are checked, the aggregated messages comprise the last two messages. If the check boxes corresponding to the first and third messages in the three messages are checked, the aggregated message comprises the three messages.
In one scenario, the terminal may send, in response to the message aggregation instruction, an aggregation request to the server corresponding to the instant messaging application, where the aggregation request is used to request to aggregate target session messages of the target session, and receive one or more aggregated messages sent by the server after aggregation, where one aggregated message includes message content included in a corresponding group of messages to be aggregated.
It is to be understood that, in the above scenario, the server aggregates the target session messages, and the message aggregation instruction that triggers the server to aggregate may be any message aggregation instruction that triggers the terminal to aggregate.
Of course, the message aggregation instruction for triggering the server to perform message aggregation may also be implemented without the control. For example, the terminal may display at least one contact on a contact page of the instant messaging application, where the at least one contact includes a target contact, and a session in which the target contact is located is a target session. The terminal can respond to the triggering operation of the user on the target contact person, and sends an aggregation request to the server and receives one or more aggregation messages sent by the server.
202. Displaying a session page of the target session after aggregating the target session messages, the session page including: one or more aggregated messages.
After aggregating the target session message of the target session of the instant messaging application, the terminal may display a session page of the target session after aggregating the target session message, where the session page includes one or more aggregated messages. The number of the aggregated messages is the same as the number of the groups of the messages to be aggregated, and one aggregated message comprises message contents included in a corresponding group of the messages to be aggregated.
It is to be appreciated that in the disclosed embodiment, an aggregated message includes N consecutive messages for an account. That is, the aggregated message is to aggregate N messages together for display, rather than integrating N messages into one message for display, which is also N messages in nature.
Optionally, in this embodiment of the present disclosure, a specific process of displaying, by a terminal, a session page obtained by aggregating a target session message is as follows: the terminal hides the initial message frame of each message included in the target session message, and then displays the aggregated message in the session page through the target message display component.
In some embodiments, the targeted message presentation component may be any one of: message boxes, vertical lines, and underlines under aggregated messages, and the specific form of the target message display component is not limited herein in the embodiments of the present disclosure.
The style of the message display component used by the aggregated messages of different accounts may be the same or different. The colors of the message presentation components used by aggregated messages for different accounts may be the same or different. Like this, the style that the message show subassembly that the aggregate message of different accounts used is the same, and the colour is different, or the style that the aggregate message of different accounts used the message show subassembly is different, under the same circumstances of colour, through the colour of message show subassembly or the style alright with the different accounts of obvious differentiation to know who sends the message, can provide audio-visual use for the user and experience, the degree of discernment is higher.
Optionally, in this embodiment of the present disclosure, in each aggregated message displayed by the terminal, the width of each line of message content may be smaller than the width of the conversation page, or may also be equal to the width of the conversation page.
In this way, since the message content is allocated proportionally when the message content is displayed on the conversation page in the related art, that is, the message content in one line occupies the preset width of the conversation page, and the part exceeding the preset width is automatically folded to the next line. For example, after a message content in one line of the input box is successfully sent, the message content is divided into two lines in a bubble box of the conversation page. This results in the conversation page showing limited message content. In the embodiment of the present disclosure, when the width of each line of message content is equal to the width of the conversation page, the message content displayed on the conversation page can be increased.
For example, in connection with fig. 4, it is assumed that the target message presentation component is a vertical line, and the aggregated messages for different accounts use the same color of the message presentation component and have different styles. The style of the message display component of the account is a solid line, and the style of the message display component of the account with a small size is a dotted line. And assume that the width of each line of message content in the aggregated message is equal to the width of the conversation page. The session page displayed by the terminal is as shown in fig. 5.
The technical scheme provided by the embodiment at least has the following beneficial effects: the message display device responds to a message aggregation instruction, aggregates target session messages of a target session of the instant messaging application, wherein the target session messages comprise one or more groups of messages to be aggregated, one group of messages to be aggregated comprise N continuous messages of an account, and displays a session page of the target session after the target session messages are aggregated, the session page comprises one or more aggregated messages, and one aggregated message comprises message content included in the corresponding group of messages to be aggregated. Therefore, one or more aggregated messages are displayed on the conversation page of the target conversation, one aggregated message comprises N continuous messages of one account, and compared with the prior art that the N messages are displayed through N independent bubble frames, the interval between the N messages disappears, so that the space utilization rate of the conversation page is improved, the message content displayed on the conversation page is increased, and the message viewing efficiency of a user is improved. Moreover, each aggregated message is displayed as a whole content, so that the consistency is stronger and the user experience is better.
Optionally, in this embodiment of the present disclosure, after the terminal displays the conversation page obtained by aggregating the target conversation message in step 202, the terminal may further support contraction and expansion of the message content. Specifically, with reference to fig. 3, as shown in fig. 6, the message display method according to the embodiment of the present disclosure may further include the following steps 203 to 206. The contraction of the message content may be implemented in two ways, where step 203 is a first implementation and step 204 is a second implementation. The expansion of the message content comprises steps 205-206.
203. And displaying a contraction control on the session page, and hiding all or part of message content of each aggregated message included in the session page in response to the triggering operation of the contraction control to obtain a corresponding contraction message.
For example, in connection with fig. 5, it is assumed that only the first three words of the first line of message content remain after the aggregate message is collapsed, and the rest of the message content is hidden. Then, when the user triggers the pinch control, the session page of the terminal displays a pinch message as shown in fig. 7.
204. And in response to the triggering operation of the contraction control, hiding all or part of the message content of the aggregated message to obtain a corresponding contraction message.
For example, in connection with fig. 5, it is assumed that only the first three words of the first line of message content are retained after the aggregate message is collapsed, and the rest of the message content is hidden. Then the terminal may display a pinch control when the user triggers the first aggregated message of the conversation page shown in fig. 5. When the user triggers the contraction control, the conversation page of the terminal displays a contraction message as shown in fig. 8.
205. And displaying an expansion control on the conversation page in response to the triggering operation of the contraction control.
After responding to the triggering operation of the contraction control in step 203 or step 204, the terminal may display the expansion control on the session page while obtaining the contraction message. For example, the terminal may display an expand control at a preset position in the upper right corner of the conversation page.
206. And expanding the whole message content of all contracted messages included in the session page in response to the triggering operation of the expansion control.
The terminal can expand the whole message content of all contracted messages included in the session page in response to the triggering operation of the expansion control by the user. That is, the terminal may restore fig. 7 or fig. 8 to fig. 5 in response to a user's trigger operation on the expansion control. Of course, the terminal may also support message-by-message expansion.
The technical scheme provided by the embodiment at least has the following beneficial effects: first, the terminal can support the contraction and expansion of the aggregated message after displaying the aggregated message, so that the user can contract the message which is not wanted to see according to own will. And secondly, the terminal not only supports the user to select which aggregated message to shrink, but also supports all aggregated messages of the unified shrinking session page, and the personalization is stronger. Finally, when the terminal shrinks the aggregated messages, partial message content of each aggregated message included in the session page is hidden, and compared with the situation that all message content of each aggregated message is hidden, the method has the advantages that partial message content is kept more reasonably, so that a user can distinguish different aggregated messages, and the user experience is better.
Optionally, in the embodiment of the present disclosure, in the session page of the instant messaging application, the login account of the instant messaging application, that is, the aggregated message of the first account, and the aggregated messages of the other accounts except the first account in the session page may be located on the same side of the session page, or may also be located on the left and right sides of the session page, respectively. Illustratively, aggregated messages for different accounts are located on the left and right sides of the conversation page, as shown in FIG. 5. The aggregated messages for the different accounts are located on the same side, e.g., the left side, of the conversation page, as shown in fig. 9.
Optionally, after the terminal displays the session page obtained by aggregating the target session message, the terminal may display, in response to a preset operation of the user on the session page, the corresponding message generation time at the associated position of each message included in each aggregated message on the session page. Accordingly, the terminal may hide the message generation time corresponding to each message included in each aggregated message when detecting that the preset operation is ended. The preset operation may be a click operation (e.g., a single click operation, a double click operation, or a click operation performed a preset number of times in succession), a long-time press operation, or a slide operation.
Therefore, the space utilization rate of the conversation page can be improved to the maximum extent by hiding the message generation time, and the space of the display time is reserved for the message content, so that the message content displayed by the conversation page is increased. And the time is displayed only when the user performs the preset operation, the original page is restored after the preset operation is finished, and the interaction effect is simple and efficient.
It should be noted that, in the embodiment of the present disclosure, the display position of the message generation time is related to whether the aggregated messages of different accounts are located on the same side.
For example, referring to fig. 9, when the aggregated messages of different accounts are located on the same side of the conversation page and the preset operation is a rightward sliding operation, the terminal may move the three aggregated messages on the conversation page to the right in whole in response to the rightward sliding operation of the user, and display the corresponding message generation time on the left side of each message, as shown in fig. 10. And the terminal may revert to that shown in fig. 9 upon detecting that the rightward sliding operation by the user is finished.
For another example, when the aggregated messages of different accounts are located on the left and right sides of the session page and the preset operation is a sliding operation, the terminal may move the aggregated message on the left side of the session page to the right as a whole in response to a rightward sliding operation of the user, and display corresponding message generation time on the left side of each message included in the aggregated messages. Or, the terminal may move the aggregated messages on the right side of the session page to the left as a whole in response to a leftward sliding operation by the user, and display the corresponding message generation time on the right side of each of the messages included in the aggregated messages.
Optionally, in this embodiment of the present disclosure, the terminal may further support batch replication of the message. Specifically, after the terminal displays the aggregated message on the session page, the terminal may copy all message contents included in the aggregated message in response to a user copy operation on the aggregated message. Of course, the terminal may also support simultaneous replication of multiple aggregated messages. Therefore, compared with the message-by-message copying in the related technology, the copying efficiency can be improved, and the user experience is better.
Optionally, in this embodiment of the present disclosure, the terminal may further support batch deletion of messages. Specifically, after the aggregated message is displayed on the session page, the terminal may delete the aggregated message on the session page in response to a deletion operation of the aggregated message by the user. Therefore, the user only needs to operate once to delete a plurality of messages, and deleting efficiency is improved. Of course, the terminal may also support simultaneous deletion of multiple aggregated messages. And the terminal can delete the self aggregated message and also send the identification corresponding to each message included in the aggregated message to the server corresponding to the instant messaging application, so that the server can delete the self stored aggregated message according to the identifications. Therefore, the terminal can send a plurality of identifications at one time, the interaction times of the terminal and the network are reduced, and the deleting efficiency is improved.
Fig. 11 is a flowchart illustrating another message display method when applied to a server according to an exemplary embodiment. As shown in fig. 11, the method may include steps 301-303.
301. Receiving an aggregation request, wherein the aggregation request is used for requesting to aggregate target session messages of a target session of the instant messaging application.
The target session message comprises one or more groups of messages to be aggregated, one group of messages to be aggregated comprises N continuous messages of one account, and N is a positive integer.
302. And according to the aggregation request, aggregating the target session messages to obtain one or more aggregated messages.
Wherein one aggregated message comprises message content comprised by a corresponding group of messages to be aggregated. For a specific description about the aggregation of the target session message by the server, reference may be made to the description about the aggregation of the target session message by the terminal in step 201 described above, which is not described herein again.
303. One or more aggregate messages are sent.
The technical scheme provided by the embodiment at least has the following beneficial effects: the method has the advantages that the server is triggered to aggregate the target session messages of the target session of the instant messaging application, and compared with the method for aggregating the messages by the terminal, the processing pressure of the terminal can be reduced, so that the message aggregation display efficiency is improved.
Fig. 12 is a block diagram illustrating a logical structure of a message display apparatus according to an exemplary embodiment. Referring to fig. 12, the message display apparatus applied to a terminal includes: an aggregation module 41 and a display module 42.
An aggregation module 41 configured to perform aggregating a target session message of a target session of the instant communication application in response to the message aggregation instruction; the target session message comprises one or more groups of messages to be aggregated, one group of messages to be aggregated comprises N continuous messages of one account, and N is a positive integer;
a display module 42 configured to execute displaying a session page of the target session after aggregating the target session message; the session page includes: one or more aggregated messages, an aggregated message comprising message content comprised by a respective set of messages to be aggregated.
Optionally, the aggregation module 41 is specifically configured to perform:
displaying an aggregation control on a setting page of the instant messaging application, and aggregating the target session message of each session of the instant messaging application in response to the triggering operation of the aggregation control;
or responding to a preset editing operation on the icon of the instant messaging application, and displaying a selection list, wherein the selection list comprises an aggregation control; aggregating the target session message of each session of the instant messaging application in response to a triggering operation on the aggregation control;
or displaying an aggregation control on the session page, and responding to the triggering operation of the aggregation control to aggregate the target session message of the session page;
or, in response to the message aggregation instruction, sending an aggregation request, where the aggregation request is used to request to aggregate the target session messages of the target session, and receiving the one or more aggregation messages;
or at least one message is displayed on the conversation page, and one message is displayed through an initial message frame; responding to preset operation on a target message, and displaying a selection list, wherein the selection list comprises an aggregation control, and the at least one message comprises the target message; and in response to the triggering operation of the aggregation control, aggregating the messages of the same account of the session page, which are continuous with the target message.
Optionally, the aggregation module 41 is specifically configured to perform:
in response to the trigger operation of the aggregation control, displaying a check box and a confirmation control at the associated position of an initial message box corresponding to each message of the same account which is continuous with the target message on the session page;
and responding to the triggering operation of the confirmation control, and aggregating the continuous messages with the checked check boxes.
Optionally, as shown in fig. 13, the message display apparatus further includes: a concealment module 43;
the display module 42 is further configured to execute, after displaying the session page of the target session after aggregating the target session message, displaying a contraction control on the session page; the hiding module 43 is configured to perform, in response to the triggering operation on the contraction control, hiding all or part of the message content of each aggregated message included in the session page to obtain a corresponding contraction message;
alternatively, the display module 42 is further configured to execute a preset operation on one aggregated message, and display a contraction control on the conversation page; the hiding module 43 is configured to perform hiding all or part of the message content of the aggregated message in response to the triggering operation on the contraction control, resulting in a corresponding contracted message.
Optionally, as shown in fig. 13, the message display apparatus further includes: a deployment module 44;
the display module 42 is further configured to execute, in response to the triggering operation of the contraction control, displaying an expansion control on the session page;
the expansion module 44 is configured to perform expanding all message contents of all contracted messages included in the conversation page in response to the triggering operation of the expansion control.
Optionally, the display module 42 is specifically configured to perform:
hiding an initial message frame of each message included in the target session message;
displaying the aggregated message in the conversation page through a target message display component; wherein, the target message display component is any one of the following components: a message box, a vertical line, and an underline under the aggregated message; the message display components used by the aggregated messages of different accounts have different or the same styles, and the message display components used by the aggregated messages of different accounts have different or the same colors.
Optionally, the aggregated message of the first account and the aggregated messages of other accounts except the first account in the session page are located on the same side of the session page, or are respectively located on the left and right sides of the session page; the first account is a login account of the instant messaging application.
Optionally, as shown in fig. 13, the message display apparatus further includes: a concealment module 43;
the display module 42 is further configured to perform, in response to a preset operation on the conversation page, displaying a corresponding message generation time at an associated position of each message included in each aggregated message on the conversation page;
the hiding module 43 is configured to hide the message generation time corresponding to each message included in each aggregated message when detecting that the preset operation is ended.
Optionally, in the aggregated message, the width of each line of message content is less than or equal to the width of the conversation page.
Optionally, as shown in fig. 13, the message display apparatus further includes: a copy module 45;
the copy module 45 is configured to perform a copy operation on the aggregated message, and copy all message contents included in the aggregated message.
Optionally, as shown in fig. 13, the message display apparatus further includes: a deletion module 46;
the delete module 46 is configured to perform a delete operation of the aggregated message in response to the delete operation of the aggregated message, to delete the aggregated message of the session page.
Fig. 14 is a block diagram illustrating a logical structure of a message display apparatus according to an exemplary embodiment. As shown in fig. 14, the message display apparatus is applied to a server, and includes: a receiving module 51, an aggregation module 52 and a sending module 53.
A receiving module 51, configured to perform receiving an aggregation request, where the aggregation request is used to request to aggregate target session messages of a target session of an instant messaging application, where the target session messages include one or more groups of messages to be aggregated, where a group of messages to be aggregated includes N consecutive messages of an account, and N is a positive integer;
an aggregation module 52 configured to perform aggregation on the target session message according to the aggregation request, so as to obtain one or more aggregated messages; an aggregated message comprises message content comprised by a respective set of messages to be aggregated;
a sending module 53 configured to perform sending the one or more aggregated messages.
Fig. 15 is a block diagram illustrating a structure of a terminal according to an exemplary embodiment, where the terminal may be a message display device, and the message display device may be: a smartphone, a tablet computer, a laptop computer, or a desktop computer.
The message display device may include at least one processor 61, a communication bus 62, a memory 63, and at least one communication interface 64.
The processor 61 may be a Central Processing Unit (CPU), a micro-processing unit, an ASIC, or one or more integrated circuits for controlling the execution of programs according to the present disclosure.
The communication bus 62 may include a path to transfer information between the aforementioned components.
Communication interface 64, using any transceiver or the like, is configured to communicate with other devices or communication networks, such as servers, ethernet, radio Access Networks (RAN), wireless Local Area Networks (WLAN), etc.
The memory 63 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disk read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be self-contained and connected to the processing unit by a bus. The memory may also be integrated with the processing unit.
The memory 63 is used for storing application program codes for executing the disclosed solution, and is controlled by the processor 61 to execute. The processor 61 is configured to execute application program code stored in the memory 63 to implement the functions in the disclosed methods.
In a specific implementation, processor 61 may include one or more CPUs, such as CPU0 and CPU1 in fig. 15, as one embodiment.
In a particular implementation, the message display device may include, as an example, a plurality of processors, such as processor 61 and processor 65 in fig. 15. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
In one implementation, the message display apparatus may further include an input device 66 and an output device 67. The input device 66 is in communication with the processor 67 and may accept user input in a variety of ways. For example, the input device 66 may be a mouse, a keyboard, a touch screen device or a sensing device, and the like. The output device 67 is in communication with the processor 61 and may display information in a variety of ways. For example, the output device 61 may be a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display device, or the like.
Those skilled in the art will appreciate that the configuration shown in fig. 15 is not intended to be limiting, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
Fig. 16 is a block diagram illustrating a configuration of a server, which may be a message display device, according to an example embodiment. The server, which may vary widely in configuration or performance, may include one or more processors 71 and one or more memories 72. At least one instruction is stored in the memory 72, and is loaded and executed by the processor 71 to implement the message display method provided by the above method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may also include other components for implementing the functions of the device, which are not described herein again.
The present disclosure also provides a message display system, which includes a terminal and a server;
the terminal is used for responding to a message aggregation instruction and sending an aggregation request to the server, wherein the aggregation request is used for requesting to aggregate target session messages of a target session of instant messaging application, the target session messages comprise one group or multiple groups of messages to be aggregated, one group of messages to be aggregated comprise N continuous messages of one account, and N is a positive integer;
the server is used for receiving the aggregation request sent by the terminal and aggregating the target session messages according to the aggregation request to obtain one or more aggregated messages; an aggregated message comprises message content comprised by a corresponding set of messages to be aggregated; sending the one or more aggregated messages to the terminal;
the terminal is further configured to receive the one or more aggregated messages sent by the server, and display a session page including the one or more aggregated messages.
The present disclosure also provides a computer-readable storage medium including instructions stored thereon, which, when executed by a processor of a computer device, enable a computer to perform the message display method provided by the above-described illustrative embodiment. For example, the computer readable storage medium may be a memory 63 comprising instructions executable by the processor 61 of the terminal to perform the above described method. Also for example, the computer readable storage medium may be a memory 72 comprising instructions executable by the processor 71 of the server to perform the above-described method. Alternatively, the computer readable storage medium may be a non-transitory computer readable storage medium, for example, which may be a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The present disclosure also provides a computer program product containing instructions which, when run on a computer, cause the computer device to perform the message display method provided by the illustrative embodiments described above.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (28)

1. A message display method is applied to a terminal, and is characterized by comprising the following steps:
responding to the message aggregation instruction, and aggregating the target session message of the target session of the instant messaging application; each message included in the target session message is displayed through an initial message frame, the target session message includes one or more groups of messages to be aggregated, one group of messages to be aggregated includes N continuous messages of an account, and N is a positive integer;
displaying a session page of the target session after aggregating the target session message; the session page includes: one or more aggregated messages, an aggregated message comprising message content comprised by a respective set of messages to be aggregated;
the displaying of the session page of the target session after the aggregation of the target session message includes:
hiding an initial message frame of each message included in the target session message;
displaying the one or more aggregated messages in the conversation page through a target message presentation component; the one aggregated message is that the N messages are aggregated together to be displayed;
responding to the message aggregation instruction, and aggregating each group of messages to be aggregated, wherein the aggregating comprises the following steps:
responding to the triggering operation of the aggregation control, sequentially determining that the account of the message positioned before the target message is the same as the account corresponding to the target message one by one from the previous message of the target message, and sequentially containing the message positioned before the target message and the same as the account corresponding to the target message one by one in the aggregation message; until the account of the message before the target message is different from the account corresponding to the target message, sequentially determining the account of the message after the target message is the same as the account corresponding to the target message one by one from the next message of the target message, and sequentially including the message after the target message and the same as the account corresponding to the target message in the aggregated message one by one; wherein the target session message comprises the target message, and the target message is included in the one aggregated message.
2. The message display method according to claim 1, wherein the aggregating target session messages of the target session of the instant messaging application in response to the message aggregation instruction comprises:
displaying an aggregation control on a setting page of the instant messaging application, and aggregating the target session message of each session of the instant messaging application in response to the triggering operation of the aggregation control;
or responding to a preset editing operation on the icon of the instant messaging application, and displaying a selection list, wherein the selection list comprises an aggregation control; aggregating the target session message of each session of the instant messaging application in response to a triggering operation on the aggregation control;
or displaying an aggregation control on the session page, and responding to the triggering operation of the aggregation control to aggregate the target session message of the session page;
or, in response to the message aggregation instruction, sending an aggregation request, where the aggregation request is used to request to aggregate the target session message of the target session, and receiving the one or more aggregated messages.
3. The message display method according to claim 2, characterized in that the method further comprises:
in response to the trigger operation of the aggregation control, displaying a check box and a confirmation control at the associated position of an initial message box corresponding to each message of the same account which is continuous with the target message on the session page;
and responding to the trigger operation of the confirmation control, and aggregating the checked and continuous messages of the check boxes.
4. The message display method according to any one of claims 1 to 3, characterized in that the method further comprises:
after a session page of the target session after the target session message is aggregated is displayed, a contraction control is displayed on the session page, and in response to the triggering operation of the contraction control, all or part of message content of each aggregated message included in the session page is hidden to obtain a corresponding contraction message;
or responding to a preset operation on the aggregation message, and displaying a contraction control on the session page; and hiding all or part of the message content of the aggregated message in response to the triggering operation of the contraction control to obtain a corresponding contraction message.
5. The message display method according to claim 4, characterized in that the method further comprises:
displaying an expansion control on the session page in response to the triggering operation of the contraction control;
and expanding the whole message content of all contracted messages included in the conversation page in response to the triggering operation of the expansion control.
6. The message display method according to any one of claims 1 to 3, wherein the target message presentation component is any one of: a message box, a vertical bar, underlining under the one or more aggregated messages; the message display components used by the aggregated messages of different accounts have different styles or the same style, and the message display components used by the aggregated messages of different accounts have different colors or the same color.
7. The message display method according to any one of claims 1 to 3, wherein the aggregated message of the first account is located on the same side of the session page as the aggregated messages of the other accounts except the first account in the session page, or respectively located on the left and right sides of the session page; the first account is a login account of the instant messaging application.
8. The message display method according to any one of claims 1 to 3, characterized in that the method further comprises:
responding to preset operation on the conversation page, and displaying corresponding message generation time at the associated position of each message included in each aggregated message on the conversation page;
and hiding the message generation time corresponding to each message included in each aggregated message when the preset operation is detected to be finished.
9. The message display method according to any of claims 1-3, wherein the width of each line of message content in the aggregated message is less than or equal to the width of the conversation page.
10. The message display method according to any one of claims 1 to 3, characterized in that the method further comprises:
and in response to the copy operation of the aggregation message, copying all message contents included in the aggregation message.
11. The message display method according to any one of claims 1 to 3, characterized in that the method further comprises:
deleting the aggregated message of the session page in response to a delete operation on the aggregated message.
12. A message display method applied to a server is characterized by comprising the following steps:
receiving an aggregation request, wherein the aggregation request is used for requesting to aggregate target session messages of a target session of an instant messaging application; each message included in the target session message is displayed through an initial message frame, the target session message includes one or more groups of messages to be aggregated, one group of messages to be aggregated includes N continuous messages of an account, and N is a positive integer;
according to the aggregation request, aggregating the target session messages to obtain one or more aggregated messages; an aggregated message comprises message content comprised by a respective set of messages to be aggregated; sending the one or more aggregated messages to enable a terminal to display a session page of the target session after the target session messages are aggregated; the session page includes: the one or more aggregated messages;
the displaying the session page of the target session after aggregating the target session message includes:
hiding an initial message frame of each message included in the target session message;
displaying the one or more aggregated messages in the conversation page through a target message presentation component; the one aggregated message is that the N messages are aggregated together and displayed;
in response to the aggregation request, aggregating each group of messages to be aggregated, including:
responding to the triggering operation of the aggregation control, sequentially determining that the account of the message positioned before the target message is the same as the account corresponding to the target message one by one from the previous message of the target message, and sequentially containing the message positioned before the target message and the same as the account corresponding to the target message one by one in the aggregation message; until the account of the message before the target message is different from the account corresponding to the target message, sequentially determining the account of the message after the target message is the same as the account corresponding to the target message one by one from the next message of the target message, and sequentially including the message after the target message and the same as the account corresponding to the target message in the aggregated message one by one; wherein the target session message comprises the target message, and the target message is included in the one aggregated message.
13. A message display device applied to a terminal, comprising:
an aggregation module configured to perform aggregation of target session messages of a target session of an instant messaging application in response to a message aggregation instruction; each message included in the target session message is displayed through an initial message frame, the target session message includes one or more groups of messages to be aggregated, one group of messages to be aggregated includes N continuous messages of an account, and N is a positive integer;
a display module configured to perform displaying a session page of the target session after aggregating the target session message; the session page includes: one or more aggregated messages, an aggregated message comprising message content comprised by a respective set of messages to be aggregated;
the display module is specifically configured to perform:
hiding an initial message frame of each message included in the target session message;
displaying the one or more aggregated messages in the conversation page through a target message presentation component; the one aggregated message is that the N messages are aggregated together and displayed;
the aggregation module is specifically configured to execute, in response to a trigger operation on an aggregation control, sequentially determine, one by one, from a previous message of a target message, that an account of a message located before the target message is the same as an account corresponding to the target message, and sequentially include, one by one, a message located before the target message and having the same account as the account corresponding to the target message in the one aggregation message; until the account of the message before the target message is different from the account corresponding to the target message, sequentially determining the account of the message after the target message is the same as the account corresponding to the target message one by one from the next message of the target message, and sequentially including the message after the target message and the same as the account corresponding to the target message in the aggregated message one by one; wherein the target session message comprises the target message, and the target message is included in the one aggregated message.
14. The message display device according to claim 13, wherein the aggregation module is specifically configured to perform:
displaying an aggregation control on a setting page of the instant messaging application, and aggregating the target session message of each session of the instant messaging application in response to the triggering operation of the aggregation control;
or responding to a preset editing operation on the icon of the instant messaging application, and displaying a selection list, wherein the selection list comprises an aggregation control; in response to the triggering operation of the aggregation control, aggregating the target session message of each session of the instant messaging application;
or displaying an aggregation control on the session page, and aggregating the target session message of the session page in response to the triggering operation of the aggregation control;
or, in response to the message aggregation instruction, sending an aggregation request, where the aggregation request is used to request to aggregate the target session messages of the target session, and receiving the one or more aggregated messages.
15. The message display device according to claim 14, wherein the aggregation module is further specifically configured to perform:
in response to the triggering operation of the aggregation control, displaying a check box and a confirmation control at the associated position of an initial message box corresponding to each message of the same account which is continuous with the target message on the session page;
and responding to the triggering operation of the confirmation control, and aggregating the continuous messages with the checked check boxes.
16. The message display device according to any one of claims 13 to 15, characterized in that the message display device further comprises: hiding the module;
the display module is further configured to display a contraction control on a session page of the target session after the target session message is aggregated is displayed; the hiding module is configured to execute a triggering operation responding to the contraction control, hide all or part of message contents of each aggregation message included in the session page, and obtain a corresponding contraction message;
or, the display module is further configured to execute a preset operation on the one aggregated message, and display a contraction control on the session page; and the hiding module is configured to execute a triggering operation responding to the contraction control, hide all or part of the message content of the aggregated message, and obtain a corresponding contraction message.
17. The message display device according to claim 16, characterized in that the message display device further comprises: a deployment module;
the display module is further configured to execute a triggering operation of the contraction control, and display an expansion control on the session page;
the expansion module is configured to execute, in response to a triggering operation on the expansion control, expanding all message contents of all contracted messages included in the conversation page.
18. The message display device according to any of claims 13-15, wherein the target message presentation component is any one of: a message box, a vertical line, underlining under the one or more aggregated messages; the message display components used by the aggregated messages of different accounts have different styles or the same style, and the message display components used by the aggregated messages of different accounts have different colors or the same color.
19. The message display device according to any one of claims 13 to 15, wherein the aggregated message of the first account is located on the same side of the conversation page as the aggregated messages of the other accounts except the first account in the conversation page, or respectively located on the left and right sides of the conversation page; the first account is a login account of the instant messaging application.
20. The message display device according to any one of claims 13 to 15, characterized in that the message display device further comprises: a hidden module;
the display module is further configured to execute, in response to a preset operation on the conversation page, displaying corresponding message generation time at an associated position of each message included in each aggregated message on the conversation page;
and the hiding module is configured to hide message generation time corresponding to each message included in each aggregated message when the preset operation is detected to be finished.
21. The message display device according to any of claims 13-15, wherein the width of each line of message content in the aggregated message is less than or equal to the width of the conversation page.
22. The message display device according to any one of claims 13 to 15, characterized in that the message display device further comprises: a copy module;
the replication module is configured to perform a replication operation on the aggregated message in response to replicating all message content included in the aggregated message.
23. The message display device according to any one of claims 13 to 15, characterized in that the message display device further comprises: a deletion module;
the deleting module is configured to execute deleting the aggregated message of the session page in response to a deleting operation on the aggregated message.
24. A message display device applied to a server, comprising:
a receiving module configured to perform receiving an aggregation request for requesting to aggregate a target session message of a target session of an instant messaging application; each message included in the target session message is displayed through an initial message frame, the target session message includes one or more groups of messages to be aggregated, one group of messages to be aggregated includes N continuous messages of an account, and N is a positive integer;
the aggregation module is configured to aggregate the target session messages according to the aggregation request to obtain one or more aggregated messages; an aggregated message comprises message content comprised by a corresponding set of messages to be aggregated; a sending module configured to execute sending the one or more aggregated messages to enable a terminal to display a session page of the target session after aggregating the target session messages; the session page includes: the one or more aggregated messages;
the displaying the session page of the target session after aggregating the target session message includes:
hiding an initial message frame of each message included in the target session message;
displaying the one or more aggregated messages in the conversation page through a target message presentation component; the one aggregated message is that the N messages are aggregated together to be displayed;
the aggregation module is specifically configured to execute, in response to a trigger operation on an aggregation control, sequentially determine, one by one, from a previous message of a target message, that an account of a message located before the target message is the same as an account corresponding to the target message, and sequentially include, one by one, a message located before the target message and having the same account as the account corresponding to the target message in the one aggregation message; determining the account of the message behind the target message to be the same as the account corresponding to the target message one by one from the next message of the target message until the account of the message in front of the target message is different from the account corresponding to the target message, and sequentially including the message behind the target message and having the same account as the account corresponding to the target message in the message of the aggregated message one by one; wherein the target session message comprises the target message, and the target message is included in the one aggregated message.
25. A message display system, characterized in that the message display system comprises: a terminal and a server;
the terminal is used for responding to a message aggregation instruction and sending an aggregation request to the server, wherein the aggregation request is used for requesting to aggregate target session messages of a target session of the instant messaging application, each message included in the target session messages is displayed through an initial message frame, the target session messages include one group or multiple groups of messages to be aggregated, one group of messages to be aggregated include N continuous messages of one account, and N is a positive integer;
the server is used for receiving the aggregation request sent by the terminal and aggregating the target session messages according to the aggregation request to obtain one or more aggregated messages; an aggregated message comprises message content comprised by a respective set of messages to be aggregated; sending the one or more aggregated messages to the terminal;
the terminal is further configured to receive the one or more aggregated messages sent by the server, and display a session page including the one or more aggregated messages;
displaying a conversation page including the one or more aggregated messages, comprising:
hiding an initial message frame of each message included in the target session message;
displaying the one or more aggregated messages in the conversation page through a target message presentation component; the one aggregated message is that the N messages are aggregated together to be displayed;
in response to the aggregation request, aggregating each group of messages to be aggregated, including:
responding to the trigger operation of the aggregation control, sequentially determining the accounts of the messages before the target message to be the same as the account corresponding to the target message one by one from the previous message of the target message, and sequentially including the messages before the target message and having the same account as the account corresponding to the target message one by one in the aggregation message; until the account of the message before the target message is different from the account corresponding to the target message, sequentially determining the account of the message after the target message to be the same as the account corresponding to the target message from the next message after the target message one by one, and sequentially including the message after the target message and having the same account as the account corresponding to the target message in the aggregated message one by one; wherein the target session message comprises the target message, and the target message is included in the one aggregated message.
26. A terminal, characterized in that the terminal comprises:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the message display method of any one of claims 1-11.
27. A server, characterized in that the server comprises:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the message display method of claim 12.
28. A computer-readable storage medium having instructions stored thereon, wherein the instructions in the computer-readable storage medium, when executed by a processor of a terminal, enable the terminal to perform the message display method of any one of claims 1-11; alternatively, the instructions in the computer-readable storage medium, when executed by a processor of a server, enable the server to perform the message display method of claim 12.
CN202010335351.3A 2020-04-24 2020-04-24 Message display method and device Active CN111555961B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010335351.3A CN111555961B (en) 2020-04-24 2020-04-24 Message display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010335351.3A CN111555961B (en) 2020-04-24 2020-04-24 Message display method and device

Publications (2)

Publication Number Publication Date
CN111555961A CN111555961A (en) 2020-08-18
CN111555961B true CN111555961B (en) 2022-10-11

Family

ID=72007645

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010335351.3A Active CN111555961B (en) 2020-04-24 2020-04-24 Message display method and device

Country Status (1)

Country Link
CN (1) CN111555961B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112350923B (en) * 2020-10-29 2022-05-13 腾讯科技(深圳)有限公司 Session message display method and device, computer equipment and storage medium
CN112613272A (en) * 2020-12-15 2021-04-06 北京达佳互联信息技术有限公司 Information display method and device
CN112596926A (en) * 2020-12-25 2021-04-02 珠海金山网络游戏科技有限公司 Message processing method and device
CN112769681B (en) * 2021-01-27 2023-03-24 北京达佳互联信息技术有限公司 Session display method and device, electronic equipment and storage medium
CN113051494A (en) * 2021-03-31 2021-06-29 北京达佳互联信息技术有限公司 Information display method and device, electronic equipment and storage medium
CN113360238A (en) * 2021-06-29 2021-09-07 维沃移动通信有限公司 Message processing method and device, electronic equipment and storage medium
CN113630305B (en) * 2021-07-16 2023-06-23 北京达佳互联信息技术有限公司 Information display method, apparatus, device, storage medium, and program product
CN113918055A (en) * 2021-09-14 2022-01-11 维沃移动通信有限公司 Message processing method and device and electronic equipment
CN114143280B (en) * 2021-10-29 2023-11-14 北京达佳互联信息技术有限公司 Session display method and device, electronic equipment and storage medium
CN113900764B (en) * 2021-12-13 2022-05-10 北京达佳互联信息技术有限公司 Page data acquisition method, page data display method and device
CN114553805A (en) * 2022-02-18 2022-05-27 维沃移动通信有限公司 Message display method and device
CN116708337A (en) * 2022-02-24 2023-09-05 北京字跳网络技术有限公司 Information interaction method and device and electronic equipment
CN114945010B (en) * 2022-04-12 2023-08-18 亿咖通(湖北)技术有限公司 Method and computer storage medium for aggregating multiple chat objects in chat tool

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3007388A1 (en) * 2013-05-31 2016-04-13 Dongguan Yulong Telecommunication Tech Co. Ltd. Terminal and information interaction method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8346871B2 (en) * 2005-01-07 2013-01-01 International Business Machines Corporation Maintaining message privacy on an exposed display device
CN102447778B (en) * 2010-10-13 2013-10-09 腾讯科技(深圳)有限公司 Message display method and device
US20130194301A1 (en) * 2012-01-30 2013-08-01 Burn Note, Inc. System and method for securely transmiting sensitive information
KR20140058212A (en) * 2012-11-06 2014-05-14 삼성전자주식회사 Method for displaying category and an electronic device thereof
CN103020152B (en) * 2012-11-22 2016-04-06 东莞宇龙通信科技有限公司 Social network information stream display method and mobile terminal
CN108494665B (en) * 2018-03-27 2021-03-23 维沃移动通信有限公司 Group message display method and mobile terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3007388A1 (en) * 2013-05-31 2016-04-13 Dongguan Yulong Telecommunication Tech Co. Ltd. Terminal and information interaction method

Also Published As

Publication number Publication date
CN111555961A (en) 2020-08-18

Similar Documents

Publication Publication Date Title
CN111555961B (en) Message display method and device
CN112230758B (en) Frame rate adjustment method, device, equipment and computer readable storage medium
CN110515572B (en) Screen projection method and device, storage medium and computer equipment
US20180357808A1 (en) Animation generation method, terminal and storage medium
KR101966258B1 (en) Push notifications for updating multiple dynamic icon panels
KR102287777B1 (en) Information pushing method, storage medium, terminal device, and server
US20200195980A1 (en) Video information processing method, computer equipment and storage medium
US20230049197A1 (en) Screen sharing method, apparatus, and device, and storage medium
US11829588B2 (en) Method, apparatus, and system for generating resource value transfer request
WO2023005197A1 (en) Content display method and terminal
CN112437318A (en) Content display method, device and system and storage medium
CN107092634B (en) Method and device for realizing page preview
US20180196885A1 (en) Method for sharing data and an electronic device thereof
CN111246272A (en) Method and device for displaying video cover picture
CN111368235A (en) Page rendering and displaying method, device, server and storage medium
CN115309470B (en) Method, device, equipment and storage medium for loading widget
US20230017859A1 (en) Meeting control method and apparatus, device, and medium
CN113065909A (en) Page access processing method, page configuration processing method, page access processing device, page configuration processing device and electronic equipment
CN111722764A (en) Message input and display method and device, electronic equipment and readable storage medium
CN107368376B (en) Message sending method and device, expansion method and terminal
CN115297105A (en) File transmission method and device, computer equipment and storage medium
WO2021129416A1 (en) Method and apparatus for controlling frame rate of mobile terminal, computer device and storage medium
CN112272223B (en) Application running method and device, server and computer readable storage medium
CN114579014A (en) Document display method and device
CN114064165A (en) Application page processing method and device

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