CN114143280B - Session display method and device, electronic equipment and storage medium - Google Patents

Session display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114143280B
CN114143280B CN202111276239.8A CN202111276239A CN114143280B CN 114143280 B CN114143280 B CN 114143280B CN 202111276239 A CN202111276239 A CN 202111276239A CN 114143280 B CN114143280 B CN 114143280B
Authority
CN
China
Prior art keywords
session
unread
aggregation
sessions
area
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
CN202111276239.8A
Other languages
Chinese (zh)
Other versions
CN114143280A (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 CN202111276239.8A priority Critical patent/CN114143280B/en
Publication of CN114143280A publication Critical patent/CN114143280A/en
Application granted granted Critical
Publication of CN114143280B publication Critical patent/CN114143280B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • 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/451Execution arrangements for user interfaces
    • 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/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes

Landscapes

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

Abstract

The disclosure relates to a session display method, a session display device, electronic equipment and a storage medium, and belongs to the technical field of networks. The method comprises the following steps: receiving a first triggering operation, wherein the first triggering operation is used for triggering and displaying a session list of an application program; and responding to the first triggering operation, and displaying an unread session corresponding to the client account in an aggregation session area in the displayed session list, wherein the aggregation session area is used for aggregating and displaying at least one unread session. The method and the device improve the extraction efficiency of the unread session of the user and the browsing operation efficiency of the user.

Description

Session display method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the field of network technologies, and in particular, to a session display method, a session display device, an electronic device and a storage medium.
Background
With the development of network technology, people are more and more frequently communicating with each other through a network. An instant messaging (Instant Messaging, IM) system has evolved. IM systems typically include a plurality of IM clients through which two or more users communicate in real-time in the form of text messages, files, voice, or video, etc., using a network. Any client may display a session list interface for session display of the user to which the client belongs with other users.
At present, a plurality of unread sessions in the session list interface are usually sequentially arranged and displayed in order from small to large according to a set time difference, wherein the set time difference is a time difference between the time of the last received session message in the unread session and the current time.
However, when the number of unread sessions is large, the current arrangement display method results in a longer length of the session list due to the large number of unread sessions, and fewer unread sessions are displayed per unit area. Therefore, the user may need to check the unread session in a mode of sliding the screen for many times, and the extraction efficiency of the unread session by the user is reduced.
Disclosure of Invention
The method, the device, the electronic equipment and the storage medium for displaying the conversations can improve the number of conversations displayed in unit area in a conversation list interface of a client, reduce the probability that a user needs to acquire the concerned unread conversations in a mode of sliding a screen for multiple times, avoid the situation that the user needs to slide the screen for multiple times to read all conversation contents due to excessive unread conversations to a certain extent, and improve the extraction efficiency of the user on the unread conversations and the browsing operation efficiency of the user.
According to a first aspect of embodiments of the present disclosure, there is provided a session display method, applied to a client, the method including:
receiving a first triggering operation, wherein the first triggering operation is used for triggering and displaying a session list of an application program;
and responding to the first triggering operation, and displaying an unread session corresponding to the client account in an aggregation session area in the displayed session list, wherein the aggregation session area is used for aggregating and displaying at least one unread session.
In one possible implementation, the aggregate session area includes a tile identifier, the method further comprising:
receiving a second triggering operation for the tiled display identification;
and responding to the second triggering operation, canceling the aggregation session area, and displaying unread sessions in the aggregation session area in a non-aggregation display form in the session list.
In one possible implementation, after canceling the aggregated session area and displaying the unread sessions in the aggregated session area in the session list in a non-aggregated display form, the method further includes:
receiving a third triggering operation of the recovered unread session;
And responding to the third triggering operation, recovering an aggregation session area, and aggregating and displaying the unread session in the aggregation session area.
In one possible implementation, the third triggering operation includes: a first selection operation for the unread session after recovery and a second selection operation for an aggregation display identifier displayed by an aggregation option window; the aggregated options window is displayed at the client in response to the first selection operation.
In one possible implementation, the aggregate session area displays a plurality of unread sessions, the method further comprising:
receiving a third selection operation of a target unread session of the plurality of unread sessions;
and responding to the third selection operation, stopping displaying the target unread session in the aggregation session area, and displaying the target unread session in a non-aggregation display form in the session list.
In one possible implementation, the third selecting operation includes: and moving the target unread session from the aggregation session area to other areas of the session list, wherein the other areas are areas except the aggregation session area in the session list.
In one possible implementation manner, before displaying the unread session corresponding to the client account in the aggregation session area in the displayed session list, the method further includes:
receiving a fourth triggering operation, wherein the fourth triggering operation is used for triggering the display quantity setting page;
responding to the fourth triggering operation, and displaying the quantity setting page;
acquiring a set number of unread sessions which can be included in one aggregation session area input in the number setting page;
the aggregation session area in the displayed session list displays the unread session corresponding to the client account, including: and displaying a set number of unread sessions at most in each session area in a target number of aggregation session areas in a displayed session list, wherein the target number is determined based on the total number of the unread sessions of the client account and the set number.
In one possible implementation manner, before displaying an unread session corresponding to the client account in an aggregate session area in the displayed session list, the method includes:
dividing each set number of unread sessions in all unread sessions corresponding to the client account into a session group to obtain at least one session group;
Dividing all undivided unread sessions into a session group when the undivided unread sessions exist in all the unread sessions;
in the target number of aggregation session areas in the displayed session list, each session area respectively displays a set number of unread sessions at most, and the method comprises the following steps: and displaying unread sessions belonging to the same session group in an aggregation session area of the displayed session list interface, wherein the number of the aggregation session areas is the same as that of the session groups.
In one possible implementation manner, after displaying the unread session corresponding to the client account in the aggregation session area in the displayed session list, the method further includes:
receiving a fifth triggering operation for unread sessions in the aggregation session area, wherein the fifth triggering operation is used for triggering the update of the read state of the corresponding unread sessions to read;
responding to the fifth triggering operation, and displaying a session chat page of an unread session corresponding to the fifth triggering operation;
receiving a sixth triggering operation in the session chat page, wherein the sixth triggering operation is used for triggering to close the session chat page and jumping to the session list;
And responding to the sixth triggering operation, stopping displaying the unread session corresponding to the fifth triggering operation in the aggregation session area in the displayed session list, and displaying the unread session corresponding to the fifth triggering operation in a non-aggregation display mode in the session list.
In one possible implementation, the method further includes:
and when receiving a new unread session corresponding to the client account, displaying the new unread session in the displayed aggregation session area.
In one possible implementation, the method further includes:
sending aggregate display information to a server, wherein the aggregate display information is used for indicating unread sessions displayed in the same aggregate session area;
receiving session aggregation information sent by the server, wherein the session aggregation information comprises: a session corresponding relation and a session group identifier of a session group, wherein the session corresponding relation is a corresponding relation between the session group identifier and a target session identifier, the target session identifier is a session identifier of an unread session included in the session group indicated by the session group identifier, and unread sessions displayed in the same aggregation session area belong to the same session group;
And updating the local database of the client by adopting the session aggregation information, so that the updated local database comprises: the corresponding relation between the session group identifier and the session identifier, and the session data of the unread session corresponding to the session identifier.
In one possible implementation, the method further includes:
when a conversation group is updated, conversation data of each unread conversation included in the conversation group to be updated and sent by the server, conversation identification of each unread conversation and target conversation group identification of the conversation group to be updated are obtained, and the conversation data includes at least one conversation message;
updating the session data of each unread session indicated by each session identifier corresponding to the target session group identifier in the local database by adopting the session data of each unread session sent by the server;
acquiring the latest session information included in the session data of each unread session in the local database;
and updating and displaying the latest session information of each unread session to the aggregation session area of the session group to be updated.
According to a second aspect of embodiments of the present disclosure, a session display method is provided, applied to a server, where the method includes:
Receiving aggregation display information sent by a client, wherein the aggregation display information is used for indicating unread sessions displayed in the same aggregation session area, and the aggregation session area is an area for aggregation display of at least one unread session, which is displayed in a session list of a trigger display application program, after the client receives a first trigger operation for triggering the session list of the application program, in response to the first trigger operation;
generating a session corresponding relation and a session group identifier for indicating a session group, wherein the session corresponding relation is a corresponding relation between the session group identifier and a target session identifier, the target session identifier is a session identifier of an unread session included in the session group indicated by the session group identifier, and unread sessions displayed in the same aggregation session area belong to the same session group;
transmitting session aggregation information to the client, wherein the session aggregation information comprises: and the session corresponding relation and the session group identifier.
In one possible implementation, the method further includes:
when the conversation group corresponding to the client account needs to be updated, sending conversation data of each unread conversation included in the conversation group to be updated, conversation identification of each unread conversation and target conversation group identification of the conversation group to be updated to the client.
According to a third aspect of embodiments of the present disclosure, there is provided a session display apparatus, applied to a client, the apparatus including:
the receiving module is used for receiving a first triggering operation, wherein the first triggering operation is used for triggering and displaying a session list of the application program;
the display module is used for responding to the first triggering operation, displaying the unread session corresponding to the client account in an aggregation session area in the displayed session list, wherein the aggregation session area is used for aggregating and displaying at least one unread session.
In one possible implementation, the aggregate session area includes a tile identifier,
the receiving module is further configured to receive a second triggering operation for the tile identifier;
and the display module is also used for responding to the second triggering operation, canceling the aggregation session area and displaying the unread session in the aggregation session area in the session list in a non-aggregation display mode.
In one possible implementation of the present invention,
the receiving module is further configured to receive a third triggering operation for the recovered unread session;
and the display module is further used for responding to the third triggering operation, recovering an aggregation session area and displaying the unread session in an aggregation manner in the aggregation session area.
In one possible implementation, the third triggering operation includes: a first selection operation for the unread session after recovery and a second selection operation for an aggregation display identifier displayed by an aggregation option window; the aggregated options window is displayed at the client in response to the first selection operation.
In one possible implementation, the aggregate session area displays a plurality of unread sessions,
the receiving module is further configured to receive a third selection operation of a target unread session in the plurality of unread sessions;
and the display module is further used for stopping displaying the target unread session in the aggregation session area in response to the third selection operation, and displaying the target unread session in a non-aggregation display mode in the session list.
In one possible implementation, the third selecting operation includes: and moving the target unread session from the aggregation session area to other areas of the session list, wherein the other areas are areas except the aggregation session area in the session list.
In one possible implementation of the present invention,
the receiving module is further configured to receive a fourth triggering operation, where the fourth triggering operation is used to trigger the display quantity setting interface;
The display module is further used for responding to the fourth triggering operation and displaying the quantity setting interface;
the apparatus further comprises: an acquisition module, configured to acquire a set number of unread sessions that may be included in one of the aggregation session areas input in the number setting interface;
the display module is further configured to display, in a target number of aggregate session areas in the displayed session list, a set number of unread sessions at most in each session area, where the target number is determined based on the total number of unread sessions of the client account and the set number.
In one possible implementation, the apparatus further includes:
the dividing module is used for dividing each set number of unread sessions in all unread sessions corresponding to the client account into a session group to obtain at least one session group; and is further configured to divide all of the undivided unread sessions into a session group when there are undivided unread sessions among the all of the unread sessions;
the display module is further configured to display unread sessions belonging to the same session group in an aggregation session area of the displayed session list interface, where the number of aggregation session areas is the same as the number of session groups.
In one possible implementation of the present invention,
the receiving module is further configured to receive a fifth triggering operation for an unread session in the aggregation session area, where the fifth triggering operation is used to trigger updating a read state of a corresponding unread session to be read;
the display module is further configured to respond to the fifth triggering operation, and display a session chat interface of an unread session corresponding to the fifth triggering operation;
the receiving module is further configured to receive a sixth triggering operation in the session chat interface, where the sixth triggering operation is used to trigger to close the session chat interface and skip to the session list;
and the display module is further configured to, in response to the sixth trigger operation, stop displaying the unread session corresponding to the fifth trigger operation in the aggregation session area in the displayed session list, and display the unread session corresponding to the fifth trigger operation in a non-aggregation display form in the session list.
In one possible implementation manner, the display module is further configured to display, when receiving a new unread session corresponding to the client account, the new unread session in the displayed aggregation session area.
In one possible implementation, the apparatus further includes:
the sending module is used for sending the aggregation display information to the server, wherein the aggregation display information is used for indicating unread sessions displayed in the same aggregation session area;
the receiving module is further configured to receive session aggregation information sent by the server, where the session aggregation information includes: a session corresponding relation and a session group identifier of a session group, wherein the session corresponding relation is a corresponding relation between the session group identifier and a target session identifier, the target session identifier is a session identifier of an unread session included in the session group indicated by the session group identifier, and unread sessions displayed in the same aggregation session area belong to the same session group;
the apparatus further comprises: the updating module is configured to update the local database of the client by using the session aggregation information, so that the updated local database includes: the corresponding relation between the session group identifier and the session identifier, and the session data of the unread session corresponding to the session identifier.
In one possible implementation of the present invention,
the acquisition module is further configured to acquire, when the session group is updated, session data of each unread session included in the session group to be updated sent by the server, session identifiers of each unread session, and a target session group identifier of the session group to be updated, where the session data includes at least one session message;
The updating module is further configured to update session data of each unread session indicated by each session identifier corresponding to the target session group identifier in the local database by using session data of each unread session sent by the server;
the acquisition module is further configured to acquire a latest session message included in session data of each unread session in the local database;
and the display module is also used for updating and displaying the latest session information of each unread session to the aggregation session area of the session group to be updated.
According to a fourth aspect of embodiments of the present disclosure, there is provided a session display apparatus, applied to a server, the apparatus including:
the receiving module is used for receiving aggregation display information sent by a client, wherein the aggregation display information is used for indicating unread sessions displayed in the same aggregation session area, and the aggregation session area is an area for aggregation display of at least one unread session displayed in a session list after the client receives a first trigger operation for triggering the session list of the display application program;
The generation module is used for generating a session corresponding relation and a session group identifier for indicating a session group, wherein the session corresponding relation is the corresponding relation between the session group identifier and a target session identifier, the target session identifier is a session identifier of an unread session included in the session group indicated by the session group identifier, and unread sessions displayed in the same aggregation session area belong to the same session group;
the sending module is configured to send session aggregation information to the client, where the session aggregation information includes: and the session corresponding relation and the session group identifier.
In one possible implementation manner, the sending module is further configured to send, to the client, session data of each unread session included in the session group to be updated, session identifiers of each unread session, and a target session group identifier of the session group to be updated when the session group corresponding to the client account needs to be updated.
According to a fifth aspect of embodiments of the present disclosure, there is provided an electronic device, comprising:
one or more processors;
one or more memories for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to perform the session display method according to any one of the above aspects or any one of the possible implementation manners of any one of the above aspects.
According to a sixth aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium, which when executed by a processor of a terminal, enables the terminal to perform the session display method of the first aspect or any one of the possible implementation manners of the first aspect.
According to a seventh aspect of embodiments of the present disclosure, there is provided an application program product, which when executed by a processor of a terminal, enables the terminal to perform the session display method according to the first aspect or any one of the possible implementation manners of the first aspect.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
in the embodiment of the disclosure, in response to a first triggering operation for triggering a session list of a display application program, unread sessions corresponding to a client account are displayed in an aggregation session area in the displayed session list in an aggregation mode, so that a terminal where the client is located can display more sessions in the session list, and the number of displayable sessions per unit area of a display screen of the terminal where the client is located is improved. Compared with the related art, the probability that the user needs to acquire the concerned unread session by sliding the screen for multiple times is reduced, the situation that the user can read all session contents only by sliding the screen for multiple times due to excessive unread sessions is avoided to a certain extent, and the extraction efficiency of the unread session and the browsing operation efficiency of the user are improved.
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 disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic diagram of an implementation environment of a session display method according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a session display method according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating another session display method according to an exemplary embodiment.
Fig. 4 is a flowchart illustrating yet another session display method according to an exemplary embodiment.
FIG. 5 is an interface diagram illustrating an aggregate display of unread sessions in an aggregate session area, according to an example embodiment.
FIG. 6 is a schematic diagram of another interface for aggregate display of unread sessions in an aggregate session area, according to an example embodiment.
Fig. 7 is a flow chart illustrating a method of setting the number of unread sessions displayable by an aggregate session area, according to an example embodiment.
Fig. 8 is an interface diagram illustrating a session list according to an example embodiment.
FIG. 9 is a flowchart illustrating a method of restoring an aggregate display unread session, according to an example embodiment.
Fig. 10 is a flow chart illustrating a method of unread session display, according to an example embodiment.
Fig. 11 is a flow chart illustrating a session data update method according to an exemplary embodiment.
Fig. 12 is a block diagram of a session display apparatus according to an exemplary embodiment.
Fig. 13 is a block diagram of another session display apparatus according to an exemplary embodiment.
Fig. 14 is a block diagram of a terminal according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
Fig. 1 is a schematic diagram of an implementation environment of a session display method according to an exemplary embodiment. As shown in fig. 1, the implementation environment 100 includes a terminal 101 and a server 102. The terminal 101 and the server 102 may be connected by a wired network or a wireless network. The terminal 101 may be provided with a client for providing services by the server 102. By way of example, the terminal 101 may be a cell phone, tablet computer, or other electronic device. The server 102 may be a server or a server cluster formed by a plurality of servers. The clients served by the server 102 may be IM clients.
Fig. 2 is a flow chart illustrating a session display method according to an exemplary embodiment. The session display method is applied to the client. The client may be a client installed at the terminal shown in fig. 1, and the session display method may be applied to the terminal shown in fig. 1. As shown in fig. 2, the session display method may include the steps of:
step 201, receiving a first triggering operation, where the first triggering operation is used to trigger displaying a session list of an application program.
Step 202, responding to a first triggering operation, and displaying an unread session corresponding to the client account in an aggregation session area in a displayed session list, wherein the aggregation session area is used for aggregating and displaying at least one unread session.
In the embodiment of the disclosure, in response to a first triggering operation for triggering a session list of a display application program, unread sessions corresponding to a client account are displayed in an aggregation session area in the displayed session list in an aggregation mode, so that a terminal where the client is located can display more sessions in the session list, and the number of displayable sessions per unit area of a display screen of the terminal where the client is located is improved. Compared with the related art, the probability that the user needs to acquire the concerned unread session by sliding the screen for multiple times is reduced, the situation that the user can read all session contents only by sliding the screen for multiple times due to excessive unread sessions is avoided to a certain extent, and the extraction efficiency of the unread session and the browsing operation efficiency of the user are improved.
In one possible implementation, the aggregate session area includes a tile identifier, the method further comprising:
receiving a second triggering operation for the tiled display identification;
and in response to the second triggering operation, canceling the aggregation session area, and displaying unread sessions in the aggregation session area in a non-aggregation display form in a session list.
In one possible implementation, after canceling the aggregated session area and displaying the unread sessions in the aggregated session area in the non-aggregated display form in the session list, the method further includes:
receiving a third triggering operation of the recovered unread session;
and responding to the third triggering operation, restoring the aggregation session area, and aggregating and displaying unread sessions in the aggregation session area.
In one possible implementation, the third triggering operation includes: a first selection operation for the recovered unread session and a second selection operation for the aggregation display identifier displayed by the aggregation option window; an aggregate options window is displayed at the client in response to the second selection operation.
In one possible implementation, the aggregate session area displays a plurality of unread sessions, the method further comprising:
receiving a third selection operation of a target unread session of the plurality of unread sessions;
And responding to the third selection operation, stopping displaying the target unread session in the aggregation session area, and displaying the target unread session in a non-aggregation display form in the session list.
In one possible implementation, the third selecting operation includes: and (3) moving the target unread session from the aggregation session area to other areas of the session list, wherein the other areas are areas except the aggregation session area in the session list.
In one possible implementation manner, before the aggregation session area in the displayed session list displays the unread session corresponding to the client account, the method further includes:
receiving a fourth triggering operation, wherein the fourth triggering operation is used for triggering a display quantity setting interface;
responding to a fourth triggering operation, and displaying a quantity setting interface;
acquiring a set number of unread sessions which can be included in one aggregation session area input in a quantity setting interface;
and displaying the unread session corresponding to the client account in the aggregation session area in the displayed session list, wherein the method comprises the following steps: and in the aggregation session areas of the target number in the displayed session list, each session area respectively displays a set number of unread sessions at most, and the target number is determined based on the total number of the unread sessions of the client account and the set number.
In one possible implementation manner, before the aggregate session area in the displayed session list displays the unread session corresponding to the client account, the method includes:
dividing each set number of unread sessions in all unread sessions corresponding to the client account into a session group to obtain at least one session group;
dividing all undivided unread sessions into a session group when the undivided unread sessions exist in all the unread sessions;
in a target number of aggregate session areas in a displayed session list, each session area displaying a set number of unread sessions at most, respectively, comprising: and displaying unread sessions belonging to the same session group in an aggregation session area of the displayed session list interface, wherein the number of the aggregation session areas is the same as the number of the session groups.
In one possible implementation manner, after displaying the unread session corresponding to the client account in the aggregate session area in the displayed session list, the method further includes:
receiving a fifth triggering operation for the unread session in the aggregation session area, wherein the fifth triggering operation is used for triggering the update of the read state of the corresponding unread session to be read;
Responding to the fifth triggering operation, and displaying a session chat interface of the unread session corresponding to the fifth triggering operation;
receiving a sixth triggering operation in the session chat interface, wherein the sixth triggering operation is used for triggering closing of the session chat interface;
and responding to the sixth triggering operation, stopping displaying the unread session corresponding to the fifth triggering operation in the aggregation session area, and displaying the unread session corresponding to the fifth triggering operation in a non-aggregation display form in the session list.
In one possible implementation, the method further includes:
and when receiving a new unread session corresponding to the client account, displaying the new unread session in the displayed aggregation session area.
In one possible implementation, the method further includes:
the method comprises the steps that aggregation display information is sent to a server side, and the aggregation display information is used for indicating unread sessions displayed in the same aggregation session area;
receiving session aggregation information sent by a server, wherein the session aggregation information comprises: a session corresponding relation and a session group identifier of a session group, wherein the session corresponding relation is a corresponding relation between the session group identifier and a target session identifier, the target session identifier is a session identifier of an unread session included in the session group indicated by the session group identifier, and unread sessions displayed in the same aggregation session area belong to the same session group;
Updating a local database of the client by using session aggregation information, so that the updated local database comprises: the corresponding relation between the conversation group identification and the conversation identification, and the conversation data of the unread conversation corresponding to the conversation identification.
In one possible implementation, the method further includes:
when a conversation group is updated, conversation data of each unread conversation, conversation identification of each unread conversation and target conversation group identification of the conversation group to be updated, which are sent by a server, are obtained, wherein the conversation data comprise at least one conversation message;
updating the session data of each unread session indicated by each session identifier corresponding to the target session group identifier in a local database by adopting the session data of each unread session sent by the server;
acquiring the latest session information included in the session data of each unread session in a local database;
and updating and displaying the latest session information of each unread session to an aggregation session area of the session group to be updated.
Fig. 3 is a flow chart illustrating a session display method according to an exemplary embodiment. The session display method is applied to the server. The server may be the server in the implementation environment shown in fig. 1. As shown in fig. 3, the session display method may include the steps of:
Step 301, receiving aggregate display information sent by a client, where the aggregate display information is used to indicate unread sessions displayed in the same aggregate session area, and the aggregate session area is an area for aggregate display of at least one unread session, which is displayed in a session list after the client receives a first trigger operation for triggering a session list for displaying an application program, in response to the first trigger operation.
Step 302, generating a session corresponding relation and a session group identifier for indicating a session group, wherein the session corresponding relation is a corresponding relation between the session group identifier and a target session identifier, the target session identifier is a session identifier of an unread session included in the session group indicated by the session group identifier, and unread sessions displayed in the same aggregation session area belong to the same session group.
Step 303, sending session aggregation information to the client, where the session aggregation information includes: session correspondence and session group identification.
In one possible implementation, the method further includes: when the conversation group corresponding to the client account needs to be updated, sending the conversation data of each unread conversation included in the conversation group to be updated, the conversation identification of each unread conversation and the target conversation group identification of the conversation group to be updated to the client.
Any combination of the above-mentioned optional solutions may be adopted to form an optional embodiment of the present disclosure, which is not described herein in detail.
Fig. 4 is a flow chart illustrating a session display method according to an exemplary embodiment. The session display method can be applied to the session processing system shown in fig. 1. As shown in fig. 4, the session display method may include the steps of:
step 401, the client receives a first triggering operation, where the first triggering operation is used to trigger to display a session list of the application program.
In the embodiment of the disclosure, when the user wants to open the session list of the client, the first trigger operation may be performed on the client, so that the client receives the first trigger operation. Alternatively, the first triggering operation may be a click operation, a long press operation, a sliding operation, or a specific voice input operation, etc. For example, the user may click on the session list identification of the client. The client receives a click operation for the session list identification.
Step 402, the client responds to a first triggering operation, and an unread session corresponding to the client account is displayed in an aggregation session area in the displayed session list, wherein the aggregation session area is used for aggregating and displaying at least one unread session.
In the embodiments of the present disclosure, the number of aggregated session areas may be one or more. In the case that the number of aggregate session areas is one, the client may display all unread sessions corresponding to the client account in the aggregate session areas in the displayed session list. When the number of the aggregation session areas is multiple, the client may display unread sessions corresponding to the client account in the multiple aggregation session areas in the session list. Any aggregate session area displays an unread session that is different. Wherein the number of unread sessions included in one aggregate session area may not have an upper limit value. Alternatively, there may be an upper limit to the number of unread sessions that an aggregate session area includes.
Optionally, in the case that the number of unread sessions included in one aggregate session area may have no upper limit value, before the client displays the unread session corresponding to the client account in the aggregate session area in the displayed session list, the method includes: and dividing all unread sessions corresponding to the client account into a session group.
In the case that the number of unread sessions included in one aggregation session area may have an upper limit value, before the client displays the unread sessions corresponding to the client account in the aggregation session area in the displayed session list, the method includes:
And dividing each set number of unread sessions in all unread sessions corresponding to the client account into one session group to obtain at least one session group. And judging whether the undivided unread session exists in all the unread sessions. When there is no undivided unread session among all the unread sessions, any processing may not be performed. When there are undivided unread sessions among all the unread sessions, all the undivided unread sessions may be divided into one session group.
Accordingly, the client may establish an aggregate session area with the same number as the session group at the session list interface such that unread sessions of one session group may be displayed at each aggregate session area. The process of the client displaying the set number of unread sessions at most in each session area in the target number of aggregated session areas in the displayed session list may include: and displaying unread sessions belonging to the same session group in an aggregation session area of the displayed session list interface, wherein the number of the aggregation session areas is the same as the number of the session groups.
For example, in the case that the number of unread sessions included in one aggregation session area may have no upper limit value, all unread sessions corresponding to the client account are displayed in an aggregation session area in an aggregation manner. Referring to fig. 5, fig. 5 shows an interface schematic diagram for aggregating and displaying unread sessions in an aggregate session area according to an embodiment of the present disclosure. And responding to a session list interface where the session list displayed by the first triggering operation is located as shown in fig. 5. The session list includes: the session area 501 is aggregated. The aggregate session area 501 aggregate four unread sessions (5011-5014) are displayed. The four unread sessions include: an unread session 5011 with a session name of "colleague a", an unread session 5012 with a session name of "group chat B", an unread session 5013 with a session name of "colleague C", and an unread session 5014 with a session name of "colleague D". The session list also displays in a non-aggregated display a read session 502 with a session name "colleague E" and a read session 503 with a session name "group chat F".
As another example, in the case where there may be an upper limit value for the number of unread sessions included in one aggregation session area, it is assumed that the set number of unread sessions that one aggregation session area may include is 2. Referring to fig. 6, fig. 6 is a schematic diagram illustrating another interface for aggregating and displaying unread sessions in an aggregated session area according to an embodiment of the present disclosure. And responding to a session list interface where the session list displayed by the first triggering operation is located as shown in fig. 6. The session list includes: a first aggregate session area 601 and a second aggregate session area 602. The first aggregate session area 601 shows two unread sessions. The two unread sessions include: unread session with session name "colleague a" and unread session with session name "group chat B". The second aggregate session area 602 displays two unread sessions. The two unread sessions include: an unread session with a session name of "colleague C" and an unread session with a session name of "colleague D". The session list also displays in a non-aggregated display a read session 603 with a session name "colleague E" and a read session 604 with a session name "group chat F".
In the session list shown in fig. 5 and 6, the session header of each unread session, the number of unread session messages of the unread session, and the latest session message of the unread session may be displayed in the aggregate session area. The session list may also display a session header for each read session and the latest session message for the unread session. For example, in fig. 5, the aggregate session area 501 shows that the session name of the unread session 5011 is "colleague a", the session header, the number of unread session messages is "3", and the latest session message of the unread session is "weekend to ball? ". The aggregate session area 501 displays the session name of the unread session 5012 as "group chat B", the session header, the number of unread session messages as "3", and the latest session message of the unread session as "good. The session list shows that there is a read session 502 with a session name of "colleague E" and the latest session message of "three-point remembered afternoon. The "session list shows that the session name of the read session 503 is" group chat F "and the latest session message is" received ".
In the embodiment of the disclosure, the set number of unread sessions that one aggregated session area may display may be a stored fixed value. Alternatively, the set number of unread sessions that may be displayed in one aggregated session area may also be user-defined. In the case that the number of unread sessions displayed in one aggregate session area is user-defined, before step 401, as shown in fig. 7, the session display method may further include:
step 701, receiving a fourth triggering operation, where the fourth triggering operation is used to trigger the display quantity setting interface.
Step 702, in response to the fourth trigger operation, displaying a quantity setting interface.
In the embodiment of the disclosure, when the user wants to set the number of unread sessions displayable in one aggregation session area, the user may perform a fourth trigger operation for triggering the display number setting interface, so that the client receives the fourth trigger operation, and displays the number setting interface in response to the fourth trigger operation. Optionally, the fourth triggering operation may be a click operation, a long press operation, a sliding operation, or the like for setting the identifier.
For example, the user may click on the settings logo displayed by the client. After receiving the clicking operation aiming at the setting identifier, the client responds to the clicking operation and displays a quantity setting interface. The user may enter in the quantity setting interface a quantity of unread sessions displayable by an aggregate session area. The embodiment of the sample disclosure can support the user to customize the number of unread sessions displayable in one aggregation session area, and improves the flexibility of aggregation display of the unread sessions.
Step 703, obtaining a set number of unread sessions that may be included in one aggregation session area input in the number setting interface.
In the embodiment of the disclosure, after a user inputs a set number of unread sessions that may be included in one aggregation session area in the number setting interface, the client may acquire the set number input by the user.
For example, the quantity setting interface may include a determination control. The user may click on the determination control after entering the set number. After receiving the click input aiming at the determination control, the client responds to the click input to acquire the set number of unread sessions which can be included in one aggregation session area and are input by a user in the quantity setting interface.
Correspondingly, the aggregation session area of the client in the displayed session list, displaying the unread session corresponding to the client account, where the process of aggregating and displaying at least one unread session in the aggregation session area may include: in the aggregation session areas of the target number in the displayed session list, each session area displays a set number of unread sessions at most. The target number is determined based on a total number of unread sessions of the client account and the set number. Alternatively, the target number w may satisfy: u is the total number of unread sessions for the client account. a is a set number. />To round up the operator.
In the embodiment of the disclosure, the unread session displayed in the aggregation session area can be subjected to the first preset operation of the user to cancel the aggregation session area, and the unread session in the aggregation session area is displayed in a non-aggregation display form in the session list, so that the display flexibility of the unread session is improved. The embodiment of the disclosure is used for canceling the aggregation session area and displaying the unread session corresponding to the prediction operation in the aggregation session area in a non-aggregation display form in the session list in the following two alternative modes.
In a first alternative implementation, the aggregate session area includes a tile identifier, and the first preset operation includes: a second trigger operation for the tile identifier. The method further comprises the steps of:
step 403A, receiving a second trigger for tile identification.
Alternatively, the second trigger operation for the tile identifier may be a click operation, a long press operation, a slide operation, or the like for the tile identifier.
And step 404A, responding to the second triggering operation, canceling the aggregation session area, and displaying the unread session in the aggregation session area in a non-aggregation display form in the session list.
In the embodiment of the disclosure, displaying the unread sessions of the aggregated session area in the session list in a non-aggregated display form can also be understood as: the unread sessions in the aggregate session area are tiled in a session list.
By way of example, taking the session list shown in fig. 5 as an example, as shown in fig. 5, the aggregate session area 501 includes: tiling identifies 5015. The user may click on tile identifier 5015 when he wants to display the unread sessions of the aggregated region in a non-aggregated display form. After receiving the clicking operation for the tile display identifier, the client cancels the aggregation session area 501 in response to the clicking operation for the tile display identifier, and displays unread sessions (5011-5014) in the aggregation session area in a session list in a non-aggregation display mode, wherein the interface where the session list is located is a session list interface as shown in fig. 8.
As shown in fig. 8, the session list interface includes a session list. The session list includes an unread session 5011 of the session name "colleague a", an unread session 5012 of the session name "group chat B", an unread session 5013 of the session name "colleague C", an unread session 5014 of the session name "colleague D", a read session 502 of the session name "colleague E", and a read session 503 of the session name "group chat F" displayed in a non-aggregate display.
In a second alternative implementation, where the aggregate session area displays a plurality of unread sessions, the first preset operation includes: a third selection operation of a target unread session of the plurality of unread sessions displayed in the aggregate session area. The method further comprises the steps of:
step 403B, receiving a third selection operation of a target unread session of the plurality of unread sessions displayed in the aggregate session area.
In response to the third selection operation, the displaying of the target unread session is stopped in the aggregated session area, and the target unread session is displayed in a non-aggregated display form in the session list.
In the embodiment of the disclosure, if a user wants to display a single target unread session in a plurality of unread sessions displayed in an aggregated session area in a non-aggregated display form. The user may perform a third selection operation for a target unread session of the plurality of unread sessions displayed in the aggregate session area. So that the client can receive the third selection operation, and in response to the third selection operation, stop displaying the target unread session in the aggregated session area, and display the target unread session in a non-aggregated display form in the session list.
Optionally, the third selecting operation for the target unread session of the plurality of unread sessions displayed in the aggregate session area may include: and (3) moving the target unread session from the aggregation session area to other areas of the session list, wherein the other areas are areas except the aggregation session area in the session list. Or a double click operation for a target unread session, etc.
For example, the user may perform operations of long pressing the target unread session displayed in the aggregate session area and moving the target unread session from the aggregate session area to other areas of the session list. After receiving the operation, the client responds to the operation, stops displaying the target unread session in the aggregation session area, and displays the target unread session in a non-aggregation display form in the session list.
In the embodiment of the disclosure, after the user displays one or more unread sessions displayed in the aggregated session area in the non-aggregated display form in the session list, the user may further perform a second preset operation to restore the aggregation display of the unread sessions corresponding to the second preset operation in the aggregated session area. For all unread sessions that the user displays the aggregated session area, the status is displayed in a non-aggregated display form in the session list, as shown in fig. 9, and the embodiments of the present disclosure are used to implement recovery of the aggregated display unread sessions in the aggregated session area in the implementation of the following steps 901 to 902.
Optionally, the second preset operation includes: and a third trigger operation on the recovered unread session. The method further comprises the steps of:
step 901, receiving a third trigger operation for the recovered unread session.
In step 902, in response to the third trigger operation, the aggregated session area is restored, and unread sessions are displayed in an aggregated session area in an aggregated manner.
In the embodiment of the disclosure, if the user wants to restore the aggregate display form of the plurality of unread sessions of the aggregate session area displayed in the non-aggregate display form, the user may perform a third triggering operation on the restored unread sessions. So that the client can receive a third trigger operation on the recovered unread session, recover the aggregation session area in response to the third trigger operation, and aggregate and display the unread session in the aggregation session area.
Optionally, the third triggering operation may include: a first selection operation for the recovered unread session and a second selection operation for the aggregation display identifier displayed by the aggregation option window; an aggregate options window is displayed at the client in response to the second selection operation. That is, after receiving a first selection operation of the recovered unread session, the client displays an aggregation option window on the client in response to the first selection operation, where the aggregation option window includes an aggregation display identifier. The client receives a second selection operation of the aggregation display identifier in the aggregation option window, restores the aggregation session area in response to the second selection operation, and aggregates and displays the unread session in the aggregation session area.
For example, the first selection operation may be a double-click operation on the recovered unread session. The second selection operation may be a click operation on the aggregated display identification. The user may double-click on the unread session 5011 of the session name "colleague a" in the interface shown in fig. 8, so that the client receives a double-click operation for the unread session 5011, and in response to the double-click operation, an aggregation option window including an aggregation display identifier is displayed. The user clicks the aggregate display identifier in the aggregate options window, such that the client receives a click operation for the aggregate display identifier, in response to which the aggregate session area 501 is restored in the session list, and unread sessions are aggregate displayed in the aggregate session area 501 (5011-5014). At this time, the interface where the session list is located is the session list interface as shown in fig. 5.
In the embodiment of the disclosure, after the user reads the unread session, the read status of the unread session is updated to be read, that is, the unread session is updated to be the read session, and the client may remove the updated read session from the aggregated session area and display the updated read session in a non-aggregated display form in the session list. As shown in fig. 10, embodiments of the present disclosure provide for the implementation of steps 1001 to 1004 described below, where the client may remove the updated read session from the aggregated session area and display it in a non-aggregated display form in the session list.
Optionally, after displaying the unread session corresponding to the client account in the aggregation session area in the displayed session list, the method further includes:
step 1001, receiving a fifth triggering operation for an unread session in the aggregation session area, where the fifth triggering operation is used to trigger updating the read state of the corresponding unread session to be read.
Step 1002, responding to a fifth trigger operation, and displaying a session chat interface of an unread session corresponding to the fifth trigger operation.
In the embodiment of the disclosure, if the user wants to read a certain unread session displayed in the aggregation session area, a fifth triggering operation may be performed on the unread session. And the client receives a fifth trigger operation for the unread session in the aggregation session area, and responds to the fifth trigger operation to display a session chat interface of the unread session corresponding to the fifth trigger operation.
Optionally, the fifth trigger operation for the unread session may be a click operation for the unread session, or a double click operation for the unread session, and a click operation for the read vanishing identifier displayed in the aggregation option window; an aggregate options window is displayed at the client in response to a click operation for the unread session.
Step 1003, receiving a sixth triggering operation in the session chat interface, where the sixth triggering operation is used to trigger to close the session chat interface and jump to the session list.
In an alternative implementation, the conversational chat interface may include a close interface identification. The sixth trigger may be a sixth trigger for closing the interface identifier. For example, the sixth triggering operation for closing the interface identifier may include: clicking operation, long-press operation or sliding operation on the closing interface mark, and the like.
In another alternative implementation, the sixth triggering operation may be a move operation to the conversational chat interface. For example, the mobile operation on the conversational chat interface may include: and carrying out long-press operation on the session chat interface and carrying out operation of dragging in any direction on the session chat interface.
And step 1004, responding to the sixth triggering operation, stopping displaying the unread session corresponding to the fifth triggering operation in the aggregation session area in the displayed session list, and displaying the unread session corresponding to the fifth triggering operation in a non-aggregation display mode in the session list.
In the embodiment of the present disclosure, the manner in which the aggregation session area stops displaying the unread session corresponding to the fifth triggering operation in the displayed session list and the unread session corresponding to the fifth triggering operation is displayed in the non-aggregation display form in the session list may refer to the manner in which the step 404B stops displaying the target unread session in the aggregation session area and the target unread session is displayed in the non-aggregation display form in the session list, which is not described in detail in the embodiment of the present disclosure.
In the embodiment of the disclosure, when the client determines that a new unread session corresponding to the client account exists, the new unread session may be displayed to an aggregate session area of the session list. Optionally, after step 402, the method further includes: and when receiving a new unread session corresponding to the client account, displaying the new unread session in the displayed aggregation session area.
Optionally, when the number of unread sessions displayed in one aggregation session area is limited, that is, the number of unread sessions displayed in one aggregation session area is the set number, and when a new unread session corresponding to the client account is received, it is determined whether the number of unread sessions displayed in at least one aggregation session area of the session list is the set number. In at least one aggregation session area of the session list, when there is a target aggregation session area in which the number of read sessions is not the set number, a new unread session is displayed in the target aggregation session area. When the number of read sessions does not reach the set number of target aggregation session areas in at least one aggregation session area of the session list, the number of unread sessions displayable in each aggregation session area of the current session list reaches the upper limit value, the client can create a new aggregation session area, and display the new unread sessions in the new aggregation session area.
In the embodiment of the disclosure, after the client performs the session group division on all the unread sessions corresponding to the client account, the session group division condition may be sent to the server, so that the server stores the session group division condition and adjusts the issuing mode of the session data of the unread session according to the session group division condition. Embodiments of the present disclosure further illustrate this in steps 1101-1108 described below. As shown in fig. 11, the method further includes:
step 1101, the client sends the aggregate display information to the server. The aggregate exposure information is used to indicate unread sessions that are displayed in the same aggregate session area.
Optionally, the client may generate the aggregate presentation information after performing session group division on all unread sessions corresponding to the client account. The aggregate presentation information may include: and in all the unread sessions corresponding to the client account, the information of the session group to which each unread session belongs.
In step 1102, the server generates a session correspondence and a session group identifier for indicating a session group. The session corresponding relation is the corresponding relation between the session group identifier and the target session identifier, the target session identifier is the session identifier of the unread session included in the session group indicated by the session group identifier, and the unread session displayed in the same aggregation session area belongs to the same session group.
Optionally, the session has a session identification, the session identification being used to uniquely identify the session. After receiving the aggregate display information, the server side can generate a session group identifier for the session group, and establish a session corresponding relationship between the session identifier of the unread session in the same session group and the session group identifier of the session group to which the unread session belongs according to the information of the session group to which the unread session belongs.
In the embodiment of the disclosure, the server may store the session correspondence. When a user logs in the client account through other terminals, the server side sends a session corresponding relation to the other terminals when receiving a message sent by the other terminals and used for indicating the other terminals to log in the client account. Therefore, other terminals can respond to the first triggering operation after receiving the first triggering operation according to the session corresponding relation, and unread sessions belonging to the same session group are displayed in an aggregation session area of the displayed session list interface.
Step 1103, the server sends session aggregation information to the client, where the session aggregation information includes: session correspondence and session group identification.
Step 1104, the client updates the local database of the client by using session aggregation information, so that the updated local database includes: the corresponding relation between the conversation group identification and the conversation identification, and the conversation data of the unread conversation corresponding to the conversation identification.
In the embodiment of the present disclosure, when all sessions corresponding to the client account do not include an aggregation session, the local database of the client includes: the session identification of a session corresponds to session data of the session. Optionally, the local database stores session data of each session with the session identifier as an index.
After receiving the session aggregation information, the client updates the session data part of the local database for the unread session as follows: the corresponding relation between the session group identifier and the session identifier, and the corresponding relation between the session identifier and the unread session of the session indicated by the session identifier. Optionally, the client updates the session data portion for the unread session in its local database as: the session identification of the unread session in the local database is stored by taking the session group identification corresponding to the session identification as a primary index, and the session data of the unread session is stored by taking the session identification as a secondary index.
In step 1105, when the session group corresponding to the client account needs to be updated, the server sends session data of each unread session included in the session group to be updated, session identifiers of each unread session, and target session group identifiers of the session group to be updated to the client.
Optionally, the time when the session group corresponding to the client account needs to be updated may include: the user logs in the client account, the user refreshes the session corresponding to the client account, and the server receives new session data of any unread session included in the session group. For example, when a user logs in the client account, the client may send a session pulling request to the server, and after receiving the session pulling request, the server sends a session group to be updated corresponding to the client account, that is, session data of each unread session, session identifiers of each unread session, and a target session group identifier of the session group to be updated, which are included in all session groups, to the client. Or when the server receives new session data of any unread session included in the session group, for example, the server receives a new session message of a certain unread session in the session group, the session group to be updated, that is, the session group including any unread session, the session data of each unread session, the session identifier of each unread session, and the target session group identifier of the session group to be updated are sent to the client.
Step 1106, the client updates session data of each unread session indicated by each session identifier corresponding to the target session group identifier in the local database by using session data of each unread session sent by the server, where the session data includes at least one session message.
In the embodiment of the disclosure, the client may determine, in the local data, all session identifiers corresponding to the target session group identifier of the session group to be updated. And updating the session data corresponding to each session identifier into the session data corresponding to the received session identifier.
Step 1107, the client acquires the latest session information included in the session data of each unread session in the local database.
Optionally, the session data includes a session message having an update time, and the update time may be a time when the server receives the session message. The server side can synchronously send the update time of the session message to the client side in the session data of each unread session included in the session group to be updated when the session group corresponding to the client account needs to be updated. The client acquires the latest session information with the latest time distance between the updating time and the current time of the client in the session data of each unread session according to the updating time of the session information.
Step 1108, the client updates and displays the latest session information of each unread session to the aggregation session area of the session group to be updated.
In the embodiment of the disclosure, the client can update and display the acquired latest session information of each unread session to the aggregated session area of the session group to be updated, so that a user can read the latest session information of the unread session conveniently, and the user experience is improved.
In the embodiment of the disclosure, in response to a first triggering operation for triggering a session list of a display application program, unread sessions corresponding to a client account are displayed in an aggregation session area in the displayed session list in an aggregation mode, so that a terminal where the client is located can display more sessions in the session list, and the number of displayable sessions per unit area of a display screen of the terminal where the client is located is improved. Compared with the related art, the probability that the user needs to acquire the concerned unread session by sliding the screen for multiple times is reduced, the situation that the user can read all session contents only by sliding the screen for multiple times due to excessive unread sessions is avoided to a certain extent, and the extraction efficiency of the unread session and the browsing operation efficiency of the user are improved.
Fig. 12 is a block diagram of a session display apparatus according to an exemplary embodiment. Referring to fig. 12, the session display apparatus is applied to a client, and includes: the receiving module 1201 and the display module 1202.
A receiving module 1201, configured to receive a first triggering operation, where the first triggering operation is used to trigger displaying a session list of an application program;
the display module 1202 is configured to respond to a first trigger operation, and display, in an aggregate session area in the displayed session list, an unread session corresponding to the client account, where the aggregate session area is used for aggregate displaying at least one unread session.
In one possible implementation, the aggregate session area includes a tile identifier,
a receiving module 1201, configured to receive a second triggering operation for the tile identifier;
the display module 1202 is further configured to cancel the aggregated session area in response to the second trigger operation, and display the unread session in the aggregated session area in a non-aggregated display form in the session list.
In one possible implementation of the present invention,
a receiving module 1201, configured to further receive a third trigger operation for the recovered unread session;
the display module 1202 is further configured to restore the aggregated session area in response to the third triggering operation, and aggregate and display the unread session in the aggregated session area.
In one possible implementation, the third triggering operation includes: a first selection operation for the recovered unread session and a second selection operation for the aggregation display identifier displayed by the aggregation option window; an aggregated options window is displayed at the client in response to the first selection operation.
In one possible implementation, the aggregate session area displays a plurality of unread sessions,
a receiving module 1201, configured to receive a third selection operation of a target unread session of the plurality of unread sessions;
The display module 1202 is further configured to stop displaying the target unread session in the aggregated session area and display the target unread session in a non-aggregated display form in the session list in response to the third selection operation.
In one possible implementation, the third selecting operation includes: and (3) moving the target unread session from the aggregation session area to other areas of the session list, wherein the other areas are areas except the aggregation session area in the session list.
In one possible implementation of the present invention,
the receiving module 1201 is further configured to receive a fourth triggering operation, where the fourth triggering operation is used to trigger the display number setting interface;
the display module 1202 is further configured to display a quantity setting interface in response to a fourth trigger operation;
the apparatus further comprises: the acquisition module is used for acquiring the set number of unread sessions which can be included in one aggregation session area input in the number setting interface;
the display module 1202 is further configured to display, in a target number of aggregate session areas in the displayed session list, a set number of unread sessions at most, where the target number is determined based on the total number of unread sessions of the client account and the set number.
In one possible implementation, the apparatus further includes:
the dividing module is used for dividing each set number of unread sessions in all unread sessions corresponding to the client account into one session group to obtain at least one session group; and is further configured to divide all undivided unread sessions into one session group when there are undivided unread sessions among all unread sessions;
the display module 1202 is further configured to display unread sessions belonging to the same session group in an aggregate session area of the displayed session list interface, where the number of aggregate session areas is the same as the number of session groups.
In one possible implementation of the present invention,
the receiving module 1201 is further configured to receive a fifth triggering operation for an unread session in the aggregated session area, where the fifth triggering operation is used to trigger updating the read status of the corresponding unread session to read;
the display module 1202 is further configured to respond to a fifth triggering operation, and display a session chat interface of an unread session corresponding to the fifth triggering operation;
the receiving module 1201 is further configured to receive a sixth triggering operation in the session chat interface, where the sixth triggering operation is used to trigger to close the session chat interface and jump to the session list;
The display module 1202 is further configured to, in response to the sixth trigger operation, aggregate the session area in the displayed session list to stop displaying the unread session corresponding to the fifth trigger operation, and display the unread session corresponding to the fifth trigger operation in the non-aggregate display form in the session list.
In one possible implementation, the display module 1202 is further configured to display, when receiving a new unread session corresponding to the client account, the new unread session in the displayed aggregation session area.
In one possible implementation, the apparatus further includes:
the sending module is used for sending the aggregation display information to the server, wherein the aggregation display information is used for indicating unread sessions displayed in the same aggregation session area;
the receiving module 1201 is further configured to receive session aggregation information sent by the server, where the session aggregation information includes: a session corresponding relation and a session group identifier of a session group, wherein the session corresponding relation is a corresponding relation between the session group identifier and a target session identifier, the target session identifier is a session identifier of an unread session included in the session group indicated by the session group identifier, and unread sessions displayed in the same aggregation session area belong to the same session group;
the apparatus further comprises: the updating module is used for updating the local database of the client by using the session aggregation information, so that the updated local database comprises: the corresponding relation between the conversation group identification and the conversation identification, and the conversation data of the unread conversation corresponding to the conversation identification.
In one possible implementation of the present invention,
the acquisition module is further used for acquiring session data of each unread session, session identification of each unread session and target session group identification of the session group to be updated, which are transmitted by the server, wherein the session data comprise at least one session message;
the updating module is also used for updating the session data of each unread session indicated by each session identifier corresponding to the target session group identifier in the local database by adopting the session data of each unread session sent by the server;
the acquisition module is also used for acquiring the latest session information included in the session data of each unread session in the local database;
the display module 1202 is further configured to update and display the latest session message of each unread session to the aggregated session area of the session group to be updated.
In the embodiment of the disclosure, in response to a first triggering operation for triggering a session list of a display application program, unread sessions corresponding to a client account are displayed in an aggregation session area in the displayed session list in an aggregation mode, so that a terminal where the client is located can display more sessions in the session list, and the number of displayable sessions per unit area of a display screen of the terminal where the client is located is improved. Compared with the related art, the probability that the user needs to acquire the concerned unread session by sliding the screen for multiple times is reduced, the situation that the user can read all session contents only by sliding the screen for multiple times due to excessive unread sessions is avoided to a certain extent, and the extraction efficiency of the unread session and the browsing operation efficiency of the user are improved.
Fig. 13 is a block diagram of a session display apparatus according to an exemplary embodiment. Referring to fig. 13, a session display apparatus, applied to a server, includes: a receiving module 1301, a generating module 1304, and a transmitting module 1305.
The receiving module 1301 is configured to receive aggregate display information sent by a client, where the aggregate display information is used to indicate an unread session displayed in the same aggregate session area, and the aggregate session area is an area for aggregate display of at least one unread session displayed in a session list in response to a first trigger operation after the client receives the first trigger operation for triggering the session list for displaying the application program;
a generating module 1302, configured to generate a session correspondence and a session group identifier for indicating a session group, where the session correspondence is a correspondence between a session group identifier and a target session identifier, and the target session identifier is a session identifier of an unread session included in the session group indicated by the session group identifier, and unread sessions displayed in the same aggregation session area belong to the same session group;
a sending module 1303, configured to send session aggregation information to a client, where the session aggregation information includes: session correspondence and session group identification.
In one possible implementation manner, the sending module 1303 is further configured to send, to the client, session data of each unread session included in the session group to be updated, session identifiers of each unread session, and a target session group identifier of the session group to be updated when the session group corresponding to the client account needs to be updated.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 14 is a block diagram of a terminal according to an exemplary embodiment. The terminal 1400 may be the terminal described in fig. 1. By way of example, terminal 1400 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion picture expert compression standard audio plane 3), an MP4 (Moving Picture Experts Group Audio Layer IV, motion picture expert compression standard audio plane 4) player, a notebook computer, or a desktop computer. Terminal 1400 may also be referred to as a user device, a portable terminal, a laptop terminal, a desktop terminal, and the like.
In general, terminal 1400 includes: a processor 1401 and a memory 1402.
Processor 1401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 1401 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 1401 may also include a main processor, which is a processor for processing data in an awake state, also called a CPU (Central Processing Unit ), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1401 may be integrated with a GPU (Graphics Processing Unit, image processor) for rendering and rendering of content required to be displayed by the display screen. In some embodiments, the processor 1401 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
Memory 1402 may include one or more computer-readable storage media, which may be non-transitory. Memory 1402 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1402 is used to store at least one instruction for execution by processor 1401 to implement the session display method provided by the method embodiments of the present application.
In some embodiments, terminal 1400 may optionally further include: a peripheral interface 1403 and at least one peripheral. The processor 1401, memory 1402, and peripheral interface 1403 may be connected by a bus or signal lines. The individual peripheral devices may be connected to the peripheral device interface 1403 via buses, signal lines or a circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1404, a display 1405, a camera 1406, audio circuitry 1407, a positioning component 1408, and a power source 1409.
Peripheral interface 1403 may be used to connect at least one Input/Output (I/O) related peripheral to processor 1401 and memory 1402. In some embodiments, processor 1401, memory 1402, and peripheral interface 1403 are integrated on the same chip or circuit board; in some other embodiments, either or both of processor 1401, memory 1402, and peripheral interface 1403 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 1404 is configured to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1404 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 1404 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1404 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuit 1404 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity ) networks. In some embodiments, the radio frequency circuit 1404 may also include NFC (Near Field Communication, short-range wireless communication) related circuits, which the present application is not limited to.
The display screen 1405 is used to display UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1405 is a touch display screen, the display screen 1405 also has the ability to collect touch signals at or above the surface of the display screen 1405. The touch signal may be input to the processor 1401 as a control signal for processing. At this time, the display 1405 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 1405 may be one, providing a front panel of the terminal 1400; in other embodiments, the display 1405 may be at least two, respectively disposed on different surfaces of the terminal 1400 or in a folded design; in still other embodiments, the display 1405 may be a flexible display disposed on a curved surface or a folded surface of the terminal 1400. Even more, the display 1405 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The display 1405 may be made of LCD (Liquid Crystal Display ), OLED (Organic Light-Emitting Diode) or other materials.
The camera component 1406 is used to capture images or video. Optionally, camera assembly 1406 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal and the rear camera is disposed on the rear surface of the terminal. In some embodiments, the at least two rear cameras are any one of a main camera, a depth camera, a wide-angle camera and a tele camera, so as to realize that the main camera and the depth camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting and Virtual Reality (VR) shooting function or other fusion shooting functions. In some embodiments, camera assembly 1406 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The dual-color temperature flash lamp refers to a combination of a warm light flash lamp and a cold light flash lamp, and can be used for light compensation under different color temperatures.
The audio circuitry 1407 may include a microphone and a speaker. The microphone is used for collecting sound waves of users and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1401 for processing, or inputting the electric signals to the radio frequency circuit 1404 for voice communication. For purposes of stereo acquisition or noise reduction, a plurality of microphones may be provided at different portions of the terminal 1400, respectively. The microphone may also be an array microphone or an omni-directional pickup microphone. The speaker is used to convert electrical signals from the processor 1401 or the radio frequency circuit 1404 into sound waves. The speaker may be a conventional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to humans, but also the electric signal can be converted into a sound wave inaudible to humans for ranging and other purposes. In some embodiments, audio circuitry 1407 may also include a headphone jack.
The locating component 1408 is used to locate the current geographic location of the terminal 1400 to enable navigation or LBS (Location Based Service, location-based services). The positioning component 1408 may be a positioning component based on the united states GPS (Global Positioning System ), the beidou system of china, the grainer system of russia, or the galileo system of the european union.
A power supply 1409 is used to power the various components in terminal 1400. The power supply 1409 may be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1409 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 1400 also includes one or more sensors 1410. The one or more sensors 1410 include, but are not limited to: acceleration sensor 1411, gyroscope sensor 1412, pressure sensor 1413, fingerprint sensor 1410, optical sensor 1415, and proximity sensor 1416.
The acceleration sensor 1411 may detect the magnitudes of accelerations on three coordinate axes of a coordinate system established with the terminal 1400. For example, the acceleration sensor 1411 may be used to detect components of gravitational acceleration in three coordinate axes. The processor 1401 may control the display screen 1405 to display a user interface in a landscape view or a portrait view according to the gravitational acceleration signal acquired by the acceleration sensor 1411. The acceleration sensor 1411 may also be used for the acquisition of motion data of a game or a user.
The gyro sensor 1412 may detect a body direction and a rotation angle of the terminal 1400, and the gyro sensor 1412 may collect a 3D motion of the user to the terminal 1400 in cooperation with the acceleration sensor 1411. The processor 1401 may implement the following functions based on the data collected by the gyro sensor 1412: motion sensing (e.g., changing UI according to a tilting operation by a user), image stabilization at shooting, game control, and inertial navigation.
Pressure sensor 1413 may be disposed on a side frame of terminal 1400 and/or on an underside of display 1405. When the pressure sensor 1413 is provided at a side frame of the terminal 1400, a grip signal of the terminal 1400 by a user can be detected, and the processor 1401 performs right-and-left hand recognition or quick operation according to the grip signal collected by the pressure sensor 1413. When the pressure sensor 1413 is disposed at the lower layer of the display screen 1405, the processor 1401 realizes control of the operability control on the UI interface according to the pressure operation of the user on the display screen 1405. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
The fingerprint sensor 1410 is used to collect a fingerprint of a user, and the processor 1401 identifies the identity of the user based on the fingerprint collected by the fingerprint sensor 1410, or the fingerprint sensor 1410 identifies the identity of the user based on the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the user is authorized by the processor 1401 to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for and changing settings, etc. The fingerprint sensor 1410 may be provided on the front, back, or side of the terminal 1400. When a physical key or vendor Logo is provided on terminal 1400, fingerprint sensor 1410 may be integrated with the physical key or vendor Logo.
The optical sensor 1415 is used to collect the ambient light intensity. In one embodiment, processor 1401 may control the display brightness of display screen 1405 based on the intensity of ambient light collected by optical sensor 1415. Specifically, when the intensity of the ambient light is high, the display luminance of the display screen 1405 is turned high; when the ambient light intensity is low, the display luminance of the display screen 1405 is turned down. In another embodiment, the processor 1401 may also dynamically adjust the shooting parameters of the camera assembly 1406 based on the ambient light intensity collected by the optical sensor 1415.
A proximity sensor 1416, also referred to as a distance sensor, is typically provided on the front panel of terminal 1400. The proximity sensor 1416 is used to collect the distance between the user and the front of the terminal 1400. In one embodiment, when proximity sensor 1416 detects a gradual decrease in the distance between the user and the front of terminal 1400, processor 1401 controls display 1405 to switch from the on-screen state to the off-screen state; when the proximity sensor 1416 detects that the distance between the user and the front surface of the terminal 1400 gradually increases, the processor 1401 controls the display 1405 to switch from the off-screen state to the on-screen state.
Those skilled in the art will appreciate that the structure shown in fig. 14 is not limiting and that terminal 1400 may include more or less components than those illustrated, or may combine certain components, or employ a different arrangement of components.
In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium, which when executed by a processor of a terminal, enables the terminal to perform the session display method provided by the above-described respective method embodiments.
For example, the non-transitory computer readable storage medium may be a ROM (Read-Only Memory), a RAM (Random Access Memory ), a CD-ROM (Compact Disc Read-Only Memory, a Read-Only optical disc), a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided an application program product, which when executed by a processor of a terminal, enables the terminal to perform the session display method provided by the above respective method embodiments.
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 adaptations, 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 is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (26)

1. A session display method, applied to a client, the method comprising:
receiving a first triggering operation, wherein the first triggering operation is used for triggering and displaying a session list of an application program;
responding to the first triggering operation, dividing each set number of unread sessions in all unread sessions corresponding to a client account into a session group to obtain at least one session group, and dividing all the undivided unread sessions into one session group when the undivided unread sessions exist in all the unread sessions;
displaying unread sessions belonging to the same session group in one aggregation session area in the displayed session list, wherein the number of aggregation session areas is the same as the number of session groups, and before displaying unread sessions belonging to the same session group in one aggregation session area in the displayed session list, the method further comprises:
Receiving a fourth triggering operation, wherein the fourth triggering operation is used for triggering a display quantity setting interface;
responding to the fourth triggering operation, and displaying the quantity setting interface;
the set number of unread sessions that one of the aggregate session areas input in the number setting interface may include is acquired.
2. The method of claim 1, wherein the aggregate session area comprises a tile identifier, the method further comprising:
receiving a second triggering operation for the tiled display identification;
and responding to the second triggering operation, canceling the aggregation session area, and displaying unread sessions in the aggregation session area in a non-aggregation display form in the session list.
3. The method of claim 2, wherein after canceling the aggregate session area and displaying the unread sessions in the aggregate session area in the session list in a non-aggregate display form, the method further comprises:
receiving a third triggering operation of the recovered unread session;
and responding to the third triggering operation, recovering an aggregation session area, and aggregating and displaying the unread session in the aggregation session area.
4. A method according to claim 3, wherein the third triggering operation comprises: a first selection operation for the unread session after recovery and a second selection operation for an aggregation display identifier displayed by an aggregation option window; the aggregated options window is displayed at the client in response to the first selection operation.
5. The method of claim 1, wherein the aggregate session area displays a plurality of unread sessions, the method further comprising:
receiving a third selection operation of a target unread session of the plurality of unread sessions;
and responding to the third selection operation, stopping displaying the target unread session in the aggregation session area, and displaying the target unread session in a non-aggregation display form in the session list.
6. The method of claim 5, wherein the third selecting operation comprises: and moving the target unread session from the aggregation session area to other areas of the session list, wherein the other areas are areas except the aggregation session area in the session list.
7. The method of claim 1, wherein after displaying the unread session corresponding to the client account in the aggregate session area in the displayed session list, the method further comprises:
Receiving a fifth triggering operation for unread sessions in the aggregation session area, wherein the fifth triggering operation is used for triggering the update of the read state of the corresponding unread sessions to read;
responding to the fifth triggering operation, and displaying a session chat interface of an unread session corresponding to the fifth triggering operation;
receiving a sixth triggering operation in the session chat interface, wherein the sixth triggering operation is used for triggering to close the session chat interface and jumping to the session list;
and responding to the sixth triggering operation, stopping displaying the unread session corresponding to the fifth triggering operation in the aggregation session area in the displayed session list, and displaying the unread session corresponding to the fifth triggering operation in a non-aggregation display mode in the session list.
8. The method according to claim 1, wherein the method further comprises:
and when receiving a new unread session corresponding to the client account, displaying the new unread session in the displayed aggregation session area.
9. The method according to claim 1, wherein the method further comprises:
sending aggregate display information to a server, wherein the aggregate display information is used for indicating unread sessions displayed in the same aggregate session area;
Receiving session aggregation information sent by the server, wherein the session aggregation information comprises: a session corresponding relation and a session group identifier of a session group, wherein the session corresponding relation is a corresponding relation between the session group identifier and a target session identifier, the target session identifier is a session identifier of an unread session included in the session group indicated by the session group identifier, and unread sessions displayed in the same aggregation session area belong to the same session group;
and updating the local database of the client by adopting the session aggregation information, so that the updated local database comprises: the corresponding relation between the session group identifier and the session identifier, and the session data of the unread session corresponding to the session identifier.
10. The method according to claim 9, wherein the method further comprises:
when a conversation group is updated, conversation data of each unread conversation included in the conversation group to be updated and sent by the server, conversation identification of each unread conversation and target conversation group identification of the conversation group to be updated are obtained, and the conversation data includes at least one conversation message;
updating the session data of each unread session indicated by each session identifier corresponding to the target session group identifier in the local database by adopting the session data of each unread session sent by the server;
Acquiring the latest session information included in the session data of each unread session in the local database;
and updating and displaying the latest session information of each unread session to the aggregation session area of the session group to be updated.
11. A session display method, which is applied to a server, the method comprising:
receiving aggregation display information sent by a client, wherein the aggregation display information is used for indicating unread sessions displayed in the same aggregation session area, the aggregation session area is an area for aggregation display of at least one unread session displayed in a session list after the client receives a first trigger operation for triggering a session list of a display application program, and the client displays the unread session corresponding to the client account in the aggregation session area in the displayed session list;
generating a session corresponding relation and a session group identifier for indicating a session group, wherein the session corresponding relation is a corresponding relation between the session group identifier and a target session identifier, the target session identifier is a session identifier of an unread session included in the session group indicated by the session group identifier, and unread sessions displayed in the same aggregation session area belong to the same session group;
Transmitting session aggregation information to the client, wherein the session aggregation information comprises: the session corresponding relation and the session group identifier, wherein the client executes the method that each set number of unread sessions in all unread sessions corresponding to the client account is divided into one session group to obtain at least one session group, when the undivided unread sessions exist in all unread sessions, all the undivided unread sessions are divided into one session group, an aggregation session area in the displayed session list displays unread sessions belonging to the same session group, and the number of the aggregation session areas is the same as that of the session group; and before displaying the unread sessions belonging to the same session group in one aggregation session area in the displayed session list, executing, by the client, a fourth triggering operation, where the fourth triggering operation is used to trigger displaying a quantity setting interface, displaying the quantity setting interface in response to the fourth triggering operation, and acquiring the set quantity of unread sessions that may be included in one aggregation session area input in the quantity setting interface.
12. The method of claim 11, wherein the method further comprises:
when the conversation group corresponding to the client account needs to be updated, sending conversation data of each unread conversation included in the conversation group to be updated, conversation identification of each unread conversation and target conversation group identification of the conversation group to be updated to the client.
13. A session display apparatus, applied to a client, the apparatus comprising:
the first receiving module is used for receiving a first triggering operation, and the first triggering operation is used for triggering and displaying a session list of the application program;
the display module is used for responding to the first triggering operation, dividing each set number of unread sessions in all unread sessions corresponding to the client account into a session group to obtain at least one session group, and dividing all the undivided unread sessions into one session group when the undivided unread sessions exist in all the unread sessions;
displaying unread sessions belonging to the same session group in one aggregation session area in the displayed session list, wherein the number of aggregation session areas is the same as the number of session groups, and the method is further used for:
Receiving a fourth triggering operation, wherein the fourth triggering operation is used for triggering a display quantity setting interface;
responding to the fourth triggering operation, and displaying the quantity setting interface;
the set number of unread sessions that one of the aggregate session areas input in the number setting interface may include is acquired.
14. The apparatus of claim 13, wherein the aggregate session area comprises a tile identifier,
the first receiving module is further configured to receive a second triggering operation for the tile identifier;
and the display module is also used for responding to the second triggering operation, canceling the aggregation session area and displaying the unread session in the aggregation session area in the session list in a non-aggregation display mode.
15. The apparatus of claim 14, wherein the device comprises a plurality of sensors,
the first receiving module is further configured to receive a third triggering operation on the recovered unread session;
and the display module is further used for responding to the third triggering operation, recovering an aggregation session area and displaying the unread session in an aggregation manner in the aggregation session area.
16. The apparatus of claim 15, wherein the third triggering operation comprises: a first selection operation for the unread session after recovery and a second selection operation for an aggregation display identifier displayed by an aggregation option window; the aggregated options window is displayed at the client in response to the first selection operation.
17. The apparatus of claim 13, wherein the aggregate session area displays a plurality of unread sessions,
the first receiving module is further configured to receive a third selection operation of a target unread session in the plurality of unread sessions;
and the display module is further used for stopping displaying the target unread session in the aggregation session area in response to the third selection operation, and displaying the target unread session in a non-aggregation display mode in the session list.
18. The apparatus of claim 17, wherein the third selecting operation comprises: and moving the target unread session from the aggregation session area to other areas of the session list, wherein the other areas are areas except the aggregation session area in the session list.
19. The apparatus of claim 13, wherein the device comprises a plurality of sensors,
the first receiving module is further configured to receive a fifth triggering operation for an unread session in the aggregation session area, where the fifth triggering operation is used to trigger updating a read state of a corresponding unread session to be read;
the display module is further configured to respond to the fifth triggering operation, and display a session chat interface of an unread session corresponding to the fifth triggering operation;
The first receiving module is further configured to receive a sixth triggering operation in the session chat interface, where the sixth triggering operation is used to trigger to close the session chat interface and jump to the session list;
and the display module is further configured to, in response to the sixth trigger operation, stop displaying the unread session corresponding to the fifth trigger operation in the aggregation session area in the displayed session list, and display the unread session corresponding to the fifth trigger operation in a non-aggregation display form in the session list.
20. The apparatus of claim 13, wherein the device comprises a plurality of sensors,
and the display module is further used for displaying the new unread session in the displayed aggregation session area when receiving the new unread session corresponding to the client account.
21. The apparatus of claim 13, wherein the apparatus further comprises:
the sending module is used for sending the aggregation display information to the server, wherein the aggregation display information is used for indicating unread sessions displayed in the same aggregation session area;
the first receiving module is further configured to receive session aggregation information sent by the server, where the session aggregation information includes: a session corresponding relation and a session group identifier of a session group, wherein the session corresponding relation is a corresponding relation between the session group identifier and a target session identifier, the target session identifier is a session identifier of an unread session included in the session group indicated by the session group identifier, and unread sessions displayed in the same aggregation session area belong to the same session group;
The apparatus further comprises: the updating module is configured to update the local database of the client by using the session aggregation information, so that the updated local database includes: the corresponding relation between the session group identifier and the session identifier, and the session data of the unread session corresponding to the session identifier.
22. The apparatus of claim 21, wherein the apparatus further comprises:
the system comprises an acquisition module, a server and a target conversation group identification module, wherein the acquisition module is used for acquiring conversation data of each unread conversation included in a conversation group to be updated, the conversation identification of each unread conversation and the target conversation group identification of the conversation group to be updated, which are sent by the server, wherein the conversation data comprise at least one conversation message;
the updating module is further configured to update session data of each unread session indicated by each session identifier corresponding to the target session group identifier in the local database by using session data of each unread session sent by the server;
the acquisition module is further configured to acquire a latest session message included in session data of each unread session in the local database;
and the display module is also used for updating and displaying the latest session information of each unread session to the aggregation session area of the session group to be updated.
23. A session display device, applied to a server, the device comprising:
the second receiving module is used for receiving aggregation display information sent by a client, wherein the aggregation display information is used for indicating unread sessions displayed in the same aggregation session area, the aggregation session area is an area for aggregating and displaying at least one unread session displayed in a session list after the client receives a first trigger operation for triggering and displaying a session list of an application program, and the unread session corresponding to the client account is displayed in the aggregation session area in the displayed session list by the client;
the generation module is used for generating a session corresponding relation and a session group identifier for indicating a session group, wherein the session corresponding relation is the corresponding relation between the session group identifier and a target session identifier, the target session identifier is a session identifier of an unread session included in the session group indicated by the session group identifier, and unread sessions displayed in the same aggregation session area belong to the same session group;
the sending module is configured to send session aggregation information to the client, where the session aggregation information includes: the session corresponding relation and the session group identifier, wherein the client executes the method that each set number of unread sessions in all unread sessions corresponding to the client account is divided into one session group to obtain at least one session group, when the undivided unread sessions exist in all unread sessions, all the undivided unread sessions are divided into one session group, an aggregation session area in the displayed session list displays unread sessions belonging to the same session group, and the number of the aggregation session areas is the same as that of the session group; and before displaying the unread sessions belonging to the same session group in one aggregation session area in the displayed session list, executing, by the client, a fourth triggering operation, where the fourth triggering operation is used to trigger displaying a quantity setting interface, displaying the quantity setting interface in response to the fourth triggering operation, and acquiring the set quantity of unread sessions that may be included in one aggregation session area input in the quantity setting interface.
24. The apparatus of claim 23, wherein the device comprises a plurality of sensors,
and the sending module is further configured to send session data of each unread session included in the session group to be updated, session identifiers of each unread session, and target session group identifiers of the session group to be updated to the client when the session group corresponding to the client account needs to be updated.
25. An electronic device, comprising:
one or more processors;
one or more memories for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to perform the session display method of any of claims 1-12.
26. A computer readable storage medium, characterized in that instructions in the computer readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the session display method according to any of claims 1-12.
CN202111276239.8A 2021-10-29 2021-10-29 Session display method and device, electronic equipment and storage medium Active CN114143280B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111276239.8A CN114143280B (en) 2021-10-29 2021-10-29 Session display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111276239.8A CN114143280B (en) 2021-10-29 2021-10-29 Session display method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114143280A CN114143280A (en) 2022-03-04
CN114143280B true CN114143280B (en) 2023-11-14

Family

ID=80396271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111276239.8A Active CN114143280B (en) 2021-10-29 2021-10-29 Session display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114143280B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114945010B (en) * 2022-04-12 2023-08-18 亿咖通(湖北)技术有限公司 Method and computer storage medium for aggregating multiple chat objects in chat tool

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2857960A1 (en) * 2012-05-24 2015-04-08 Tencent Technology Shenzhen Company Limited Real-time communication method and device based on user interface
CN105760059A (en) * 2014-12-17 2016-07-13 阿里巴巴集团控股有限公司 Message reading control method and device
CN106888236A (en) * 2015-12-15 2017-06-23 腾讯科技(深圳)有限公司 Conversation managing method and session management device
CN109964488A (en) * 2016-11-15 2019-07-02 谷歌有限责任公司 The quality and user experience of the live video stream transmission from mobile device are improved using converging network statistics
CN110138645A (en) * 2019-03-29 2019-08-16 腾讯科技(深圳)有限公司 Display methods, device, equipment and the storage medium of conversation message
CN111083039A (en) * 2019-11-20 2020-04-28 北京达佳互联信息技术有限公司 Message unread mark processing method and device, storage medium and terminal
CN111555961A (en) * 2020-04-24 2020-08-18 北京达佳互联信息技术有限公司 Message display method and device
CN113360238A (en) * 2021-06-29 2021-09-07 维沃移动通信有限公司 Message processing method and device, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2857960A1 (en) * 2012-05-24 2015-04-08 Tencent Technology Shenzhen Company Limited Real-time communication method and device based on user interface
CN105760059A (en) * 2014-12-17 2016-07-13 阿里巴巴集团控股有限公司 Message reading control method and device
CN106888236A (en) * 2015-12-15 2017-06-23 腾讯科技(深圳)有限公司 Conversation managing method and session management device
CN109964488A (en) * 2016-11-15 2019-07-02 谷歌有限责任公司 The quality and user experience of the live video stream transmission from mobile device are improved using converging network statistics
CN110138645A (en) * 2019-03-29 2019-08-16 腾讯科技(深圳)有限公司 Display methods, device, equipment and the storage medium of conversation message
CN111083039A (en) * 2019-11-20 2020-04-28 北京达佳互联信息技术有限公司 Message unread mark processing method and device, storage medium and terminal
CN111555961A (en) * 2020-04-24 2020-08-18 北京达佳互联信息技术有限公司 Message display method and device
CN113360238A (en) * 2021-06-29 2021-09-07 维沃移动通信有限公司 Message processing method and device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
RSS新闻看天下 RSS工具大阅兵;happy;;电脑迷(第19期);全文 *

Also Published As

Publication number Publication date
CN114143280A (en) 2022-03-04

Similar Documents

Publication Publication Date Title
CN112947823B (en) Session processing method, device, equipment and storage medium
CN110278464B (en) Method and device for displaying list
CN111324259B (en) Group creation method, device and storage medium
CN113204298B (en) Method and device for displaying release progress, electronic equipment and storage medium
CN110944374B (en) Communication mode selection method and device, electronic equipment and medium
CN113098755B (en) Group chat creating method, device, terminal and storage medium
CN110147503B (en) Information issuing method and device, computer equipment and storage medium
CN111462742B (en) Text display method and device based on voice, electronic equipment and storage medium
CN111782950B (en) Sample data set acquisition method, device, equipment and storage medium
CN112163406A (en) Interactive message display method and device, computer equipment and storage medium
CN110032417A (en) Session entry mask method, apparatus, equipment and storage medium
CN110890969B (en) Method and device for mass-sending message, electronic equipment and storage medium
CN112988254B (en) Method, device and equipment for managing hardware equipment
CN113485596B (en) Virtual model processing method and device, electronic equipment and storage medium
CN114143280B (en) Session display method and device, electronic equipment and storage medium
CN111064657B (en) Method, device and system for grouping concerned accounts
CN111008083B (en) Page communication method and device, electronic equipment and storage medium
CN111275607A (en) Interface display method and device, computer equipment and storage medium
CN109618018B (en) User head portrait display method, device, terminal, server and storage medium
CN111898048B (en) Data adjustment method and device for display information, electronic equipment and storage medium
CN111523876A (en) Payment mode display method, device and system and storage medium
CN112260845A (en) Method and device for accelerating data transmission
CN112311652A (en) Message sending method, device, terminal and storage medium
CN111275561B (en) Method, device, computer equipment and storage medium for acquiring association relation
CN114513479B (en) Message transmitting and receiving method, device, terminal, server and storage medium

Legal Events

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