Display method and device of conversation message, electronic equipment and storage medium

By displaying an index icon in the session list interface and responding to target key presses, the target session details interface is directly displayed, solving the problem of low session switching efficiency and improving the display efficiency and user experience of session switching.

CN116954470BActive Publication Date: 2026-11-06BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310827670.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-06
Publication Date
2026-11-06
Estimated Expiration
2043-07-06

AI Technical Summary

Technical Problem

In conversational messaging scenarios, when users need to switch between multiple active conversations, the conversation switching efficiency of related technologies is low, resulting in low information display efficiency.

Method used

By displaying the index identifier of each session in the session list interface and responding to the trigger operation of the target key, the target index identifier is determined, and the session details interface of the target session is directly displayed. This includes generating the target session sequence and index identifier based on the session update time, and supporting key combination functions such as session switching and creating new groups.

Benefits of technology

It improves the efficiency of switching between multiple conversation interfaces, enhancing the user experience when switching between multiple conversations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116954470B_ABST
    Figure CN116954470B_ABST
Patent Text Reader

Abstract

This disclosure relates to a method, apparatus, electronic device, and storage medium for displaying session messages. The method includes: displaying a session list interface, the session list interface including a display area corresponding to each session, the display area containing an index identifier of the session; responding to a trigger operation on a target key, determining the target index identifier corresponding to the target character triggered by the target key, and displaying the session details interface of the target session corresponding to the target index identifier. By adopting this disclosure, the efficiency of switching between session interfaces of multiple sessions can be improved, enhancing the user experience when switching between multiple sessions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of information processing technology, and in particular to a method, apparatus, electronic device, and storage medium for displaying conversational messages. Background Technology

[0002] With the rapid development of internet technology, more and more users can communicate instantly with other users via the internet. In conversation processing scenarios, a user's conversation list interface typically contains multiple active conversations, and the user needs to switch between these active conversations and continuously send instant messaging messages.

[0003] In related technologies, users need to select a session displayed on the session list interface before they can view the session details, resulting in low efficiency in information display. Summary of the Invention

[0004] This disclosure provides a method, apparatus, electronic device, and storage medium for displaying session messages, to at least solve the problem of low session switching efficiency in related technologies. The technical solution of this disclosure is as follows:

[0005] According to a first aspect of the present disclosure, a method for displaying session messages is provided, comprising:

[0006] The session list interface includes a display area for each session, and the display area contains the index identifier of the session.

[0007] In response to a trigger operation on a target key, the target index identifier corresponding to the target character triggered by the target key is determined, and the session details interface of the target session corresponding to the target index identifier is displayed.

[0008] In one exemplary embodiment, prior to the step of displaying the session list interface, the method further includes:

[0009] In response to a session trigger operation, obtain the session messages of each session and the update time of each session;

[0010] Generate a target session sequence in ascending order of the time difference between the update time of each session and the current time;

[0011] The index identifier of each session is determined based on the target session sequence.

[0012] In one exemplary embodiment, the target key is a character key, and the index identifier is a character identifier;

[0013] The step of responding to a trigger operation on a target key, determining the target index identifier corresponding to the target character triggered by the target key, and displaying the session details interface of the target session corresponding to the target index identifier, includes:

[0014] In response to a trigger operation on a target character key, the target character triggered by the target character key is determined, as well as the target character identifier corresponding to the target character is determined, and the session details interface of the target session corresponding to the target character identifier is displayed.

[0015] In an exemplary embodiment, the step of determining the target index identifier corresponding to the target character triggered by the target key in response to a triggering operation on the target key, and displaying the session details interface of the target session corresponding to the target index identifier, includes:

[0016] In response to a trigger operation on a target key, determine the trigger function and target index identifier corresponding to the target key;

[0017] When the triggering function is a session switching function, the session details interface of the target session corresponding to the target index identifier is displayed.

[0018] In one exemplary embodiment, the target key position includes a first key position combination and a second key position combination;

[0019] The step of determining the trigger function and target index identifier corresponding to the target key in response to a trigger operation on the target key includes:

[0020] In response to a trigger operation on the first key combination, the trigger function corresponding to the first key combination is determined, and in response to a trigger operation on the second key combination, the target index identifier corresponding to the second key combination is determined.

[0021] In one exemplary embodiment, the second key combination corresponds to multiple target index identifiers;

[0022] After the steps of determining the trigger function corresponding to the first key combination in response to a trigger operation on the first key combination, and determining the target index identifier corresponding to the second key combination in response to a trigger operation on the second key combination, the method further includes:

[0023] If it is determined that the trigger function corresponding to the first key combination is the function of creating a new session group, a new session group is created based on the session corresponding to each target index identifier, and the session details interface of the newly created session group is displayed.

[0024] In one exemplary embodiment, after the step of displaying the session details interface of the target session corresponding to the target index identifier, the method further includes:

[0025] Upon receiving a new session message, the session corresponding to the new session message is displayed in the top display area of ​​the session list interface, and the index identifier of the session corresponding to the new session message is displayed as the index identifier corresponding to the top display area of ​​the session list interface.

[0026] According to a second aspect of the present disclosure, a device for displaying session messages is provided, comprising:

[0027] The first display unit is configured to execute a session list interface, the session list interface including a display area corresponding to each session, the display area containing the index identifier of the session;

[0028] The second display unit is configured to perform a trigger operation in response to a target key, determine the target index identifier corresponding to the target character triggered by the target key, and display the session details interface of the target session corresponding to the target index identifier.

[0029] In one exemplary embodiment, the device further includes:

[0030] The first acquisition unit is configured to perform a response to a session triggering operation to acquire the session messages of each session and the update time of each session;

[0031] The generation unit is configured to generate a target session sequence in ascending order of the time difference between the update time of each session and the current time;

[0032] The first determining unit is configured to perform the task of determining the index identifier of each of the sessions based on the target session sequence.

[0033] In one exemplary embodiment, the target key is a character key, and the index identifier is a character identifier;

[0034] The second display unit is specifically used for:

[0035] In response to a trigger operation on a target character key, the target character triggered by the target character key is determined, as well as the target character identifier corresponding to the target character is determined, and the session details interface of the target session corresponding to the target character identifier is displayed.

[0036] In one exemplary embodiment, the second display unit is specifically used for:

[0037] In response to a trigger operation on a target key, determine the trigger function and target index identifier corresponding to the target key;

[0038] When the triggering function is a session switching function, the session details interface of the target session corresponding to the target index identifier is displayed.

[0039] In one exemplary embodiment, the target key position includes a first key position combination and a second key position combination;

[0040] The second display unit is specifically used for:

[0041] In response to a trigger operation on the first key combination, the trigger function corresponding to the first key combination is determined, and in response to a trigger operation on the second key combination, the target index identifier corresponding to the second key combination is determined.

[0042] In one exemplary embodiment, the second key combination corresponds to multiple target index identifiers;

[0043] The device also includes:

[0044] The third display unit is configured to, when it is determined that the trigger function corresponding to the first key combination is to create a new session group, create a new session group based on the session corresponding to each target index identifier, and display the session details interface of the newly created session group.

[0045] In one exemplary embodiment, the device further includes:

[0046] The fourth display unit is configured to, upon receiving a new session message, display the session corresponding to the new session message in the display area at the top of the session list interface, and display the index identifier of the session corresponding to the new session message as the index identifier corresponding to the display area at the top of the session list interface.

[0047] According to a third aspect of the present disclosure, an electronic device is provided, comprising:

[0048] processor;

[0049] Memory used to store the processor's executable instructions;

[0050] The processor is configured to execute the instructions to implement the method for displaying session messages as described in any of the first aspects above.

[0051] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided that, when instructions in the computer-readable storage medium are executed by a processor of an electronic device, enables the electronic device to perform a method for displaying session messages as described in any one of the first aspects above.

[0052] According to a seventh aspect of the present disclosure, a computer program product is provided, wherein when the instructions are executed by a processor of an electronic device, the electronic device is enabled to perform a method for displaying session messages as described in any of the first aspects above.

[0053] The technical solutions provided by the embodiments of this disclosure have at least the following beneficial effects:

[0054] It can improve the efficiency of switching between multiple conversation interfaces, enhancing the user experience when switching between multiple conversations.

[0055] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0056] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.

[0057] Figure 1 This is an application environment diagram illustrating a method for displaying session messages according to an exemplary embodiment.

[0058] Figure 2 This is a flowchart illustrating a method for displaying session messages according to an exemplary embodiment.

[0059] Figure 3 This is a flowchart illustrating a method for displaying session messages according to an exemplary embodiment.

[0060] Figure 4 This is a flowchart illustrating a method for displaying session messages according to an exemplary embodiment.

[0061] Figure 5a This is a schematic diagram of a session list interface according to an exemplary embodiment.

[0062] Figure 5b This is a schematic diagram illustrating the session details interface of a target session according to an exemplary embodiment.

[0063] Figure 5c This is a schematic diagram of an interface illustrating a method for displaying session messages according to an exemplary embodiment.

[0064] Figure 5d This is a schematic diagram of an interface illustrating a method for displaying session messages according to an exemplary embodiment.

[0065] Figure 6 This is a block diagram illustrating a session message display device according to an exemplary embodiment.

[0066] Figure 7 This is a block diagram illustrating an electronic device according to an exemplary embodiment. Detailed Implementation

[0067] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.

[0068] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0069] It should also be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data used for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.

[0070] The method for displaying session messages provided in this disclosure can be applied to, for example... Figure 1 The application environment shown may include a client 110 and a server 120. The client 110 can communicate with the server 120 via a network. The client 110 can be, but is not limited to, various terminals (such as personal computers, laptops, smartphones, tablets) and portable wearable devices. In one example, the client 110 can be an instant messaging client. The server 120 can be implemented using a standalone server or a server cluster consisting of multiple servers. For example, the server 120 can be an instant messaging server used to receive session messages sent by various instant messaging clients and to broadcast session messages to various instant messaging clients.

[0071] Figure 2 This is a flowchart illustrating a method for displaying session messages according to an exemplary embodiment, such as... Figure 2 As shown, the method for displaying this session message in the terminal includes the following steps.

[0072] In step S210, the session list interface is displayed.

[0073] The session list interface includes display areas for each session, each containing an index identifier for the session. The session list interface comprises multiple session display areas, and each display area shows the index identifier of the session corresponding to that area. This index identifier is used to distinguish the multiple sessions included in the session list interface; that is, the index identifiers of each session on the session list interface are different.

[0074] In implementation, the terminal can be a client with IM (instant messaging) communication capabilities. Users can log into their accounts on this terminal and establish private chat sessions with other user accounts, or group chat sessions with multiple other user accounts. Thus, the user account corresponding to this terminal can interact with different user accounts through multiple sessions. The specific process of session message interaction can include: the user account sending a session message to other user accounts through a client with IM communication capabilities (e.g., the terminal); that is, the terminal sends the session message to the IM server; the IM server receives the session message sent by the terminal and determines the client receiving the session message, i.e., the IM client corresponding to another user account that has established a session with the user account corresponding to this terminal; the IM server then sends the session message to the IM client corresponding to that other user account. Based on this, the terminal can display a session list interface containing multiple sessions, which can also include different types of business sessions.

[0075] Specifically, the terminal can display a session list interface containing multiple sessions in a display area, and each display area can display the index identifier corresponding to each session.

[0076] In step S220, in response to the triggering operation of the target key, the target index identifier corresponding to the target character triggered by the target key is determined, and the session details interface of the target session corresponding to the target index identifier is displayed.

[0077] The target key can be a key or key combination on a physical input device; the target character can be the character corresponding to the target key or the character represented by the target key; the correspondence between the character and the index identifier can be one-to-one; and the session details interface of the target session can be a session display interface that displays multiple session messages, session names, and other information.

[0078] In implementation, users can trigger target keys on the physical input device based on the triggering needs of actual application scenarios. In response to the triggering operation of the target key, the terminal can determine the target index corresponding to the target character triggered by the target key from the index identifiers of multiple sessions displayed in the session list interface. Based on this, the terminal can display the session details interface of the target session corresponding to the target index identifier.

[0079] In one example, after the terminal responds to the triggering operation of the target key, determines the target index identifier corresponding to the target character triggered by the target key, and displays the session details interface of the target session corresponding to the target index identifier, the user can trigger other target keys based on the session display requirements of the actual application scenario. In this way, through a similar process, the terminal can switch the originally displayed session details interface of the target session corresponding to the target index identifier to the session details interface of the target session corresponding to the target character triggered by other target keys.

[0080] For example, the terminal can switch the display of the session details interface of the target session A corresponding to the character A that was originally triggered to the session details interface of the target session B corresponding to the character B that was triggered in the current situation.

[0081] In the above-described method for displaying session messages, a session list interface is displayed, which includes a display area corresponding to each session and contains the session's index identifier. In response to a trigger operation on a target key, the target index identifier corresponding to the target character triggered by the target key is determined, and the session details interface of the target session corresponding to the target index identifier is displayed. By adopting this disclosure, the efficiency of switching between session interfaces of multiple sessions can be improved, enhancing the user experience when switching between multiple sessions.

[0082] In one exemplary embodiment, such as Figure 3 As shown, before the step of displaying the conversation list interface, the method for displaying the conversation message further includes:

[0083] In step S310, in response to the session triggering operation, the session messages of each session and the update time of each session are obtained.

[0084] The session triggering operation can be a user's launch operation on a target application, which can be an application with IM functionality; the session messages can be multiple session messages contained in the session; and the session update time can be the communication time of the latest session message in the session.

[0085] In practice, the terminal can respond to the user's triggering operation on the target application, obtain multiple sessions established by the user account within the target application, as well as the session messages contained in the multiple sessions and the update time corresponding to each session.

[0086] In step S320, a target session sequence is generated in ascending order of the time difference between the update time of each session and the current time.

[0087] In practice, the terminal can calculate the time difference between the update time of each session and the current time, and sort the multiple sessions in ascending order of the time difference to obtain the target session sequence.

[0088] In step S330, the index identifier of each session is determined based on the target session sequence.

[0089] In implementation, the target session sequence contains multiple sessions, and each session can be determined according to its update time; the terminal can assign a one-to-one corresponding index identifier to the multiple sessions contained in the target session sequence according to the order of the target session sequence.

[0090] In one example, the terminal responds to a session triggering operation by generating a session list interface and displays the index of each session within the display area of ​​each session contained in the session list interface.

[0091] One possible scenario is that the session list interface can display a target number of sessions. In this way, the terminal can form a session list interface based on the first target number of sessions in the target session sequence, and display the index identifier corresponding to each session in the display area of ​​each session in the session list interface.

[0092] Based on the above scheme, the session index can be determined based on the session update time, ensuring the accuracy of the index.

[0093] In one exemplary embodiment, the target key is a character key, and the index identifier is a character identifier.

[0094] Specifically, character keys can include numeric character keys and alphabetic character keys. Correspondingly, the index identifier can be a numeric character identifier or an alphabetic character identifier. The target key can be a key on a physical input device, such as a key on a keyboard, and the index identifier can be the identifier information of a session displayed in the display area of ​​the session list interface.

[0095] Specifically, step S220, in response to the triggering operation of the target key, determines the target index identifier corresponding to the target character triggered by the target key, and displays the session details interface of the target session corresponding to the target index identifier. This can be achieved through the following steps:

[0096] In response to the triggering operation of the target character key, determine the target character triggered by the target character key, determine the target character identifier corresponding to the target character, and display the session details interface of the target session corresponding to the target character identifier.

[0097] In implementation, users can trigger target character keys based on actual application needs. In response to this trigger, the terminal can determine the target character and its corresponding target character identifier. Based on this, the terminal can determine the target session corresponding to the target character identifier and display the session details interface for that target session. In other words, the terminal can determine the target character and its identifier based on the user's trigger operation, and then identify the target session matching the target character identifier from among the character identifiers of multiple sessions included in the session list interface.

[0098] In one example, the target key can be a numeric character key, and the index identifiers of each session displayed in the session list interface can also be numeric character identifiers. For example, the index identifiers of each session displayed in the session list interface can be 1-9. The user can trigger the "1" key on the physical input device. Based on this triggering operation, the terminal can determine that the target character triggered by the "1" key is 1, and the target character identifier corresponding to that target character can be 1. Based on this, the terminal can determine that the target session corresponding to that target character identifier can be the session with index identifier 1, for example, session 1. Thus, the terminal can display the session details interface for session 1.

[0099] The specific display process can be as follows: the terminal can display the session details interface of session 1 in the form of a pop-up window; or, the terminal can display the session details interface of the default session while displaying the session list interface. In this way, after the terminal determines the target session, it can switch the session details interface of the default session displayed on the terminal to the session details interface of session 1.

[0100] Based on the above solution, displaying character-based indexes in the conversation list interface improves the user's conversation switching experience and provides clearer direction.

[0101] In one exemplary embodiment, such as Figure 4As shown, the steps in response to a trigger operation on a target key are: determining the target index identifier corresponding to the target character triggered by the target key, and displaying the session details interface of the target session corresponding to the target index identifier. This can be achieved through the following steps:

[0102] In step S410, in response to the triggering operation on the target key, the triggering function and target index identifier corresponding to the target key are determined.

[0103] Different target keys can correspond to different trigger functions.

[0104] In implementation, in response to a trigger operation on a target key, the terminal can determine the trigger function corresponding to the triggered target key and the target index identifier corresponding to the triggered target key based on a preset correspondence between key and trigger function. The preset correspondence between key and trigger function can be pre-configured.

[0105] In one example, the preset key-to-trigger function correspondence may include, for example, the trigger function corresponding to the Ctrl key may be the session switching function, the trigger function corresponding to the Alt key may be the new session group function, and so on. Another possibility is that the terminal can determine the trigger function corresponding to the target key based on the preset key-to-trigger function correspondence. For example, triggering the trigger functions corresponding to both the Ctrl key and the Alt key at the same time may be the session switching function, and so on.

[0106] In step S420, if the triggered function is the session switching function, the session details interface of the target session corresponding to the target index identifier is displayed.

[0107] In practice, based on the pre-configured correspondence between key positions and trigger functions, the terminal can determine the trigger function corresponding to the target key position triggered by the user. At the same time, the terminal can determine the target index identifier corresponding to the triggered target key position. When the trigger function corresponding to the target key position is a session switching function, the terminal can display the session details interface of the target session corresponding to the target index identifier.

[0108] Based on the above solution, the session details interface after the session switching function is triggered is displayed, which ensures the diversity of information displayed on the interface and improves the speed of the session details interface display.

[0109] In one exemplary embodiment, the target key position includes a first key position combination and a second key position combination.

[0110] Specifically, the first key combination may include multiple first keys, such as multiple keys that represent trigger functions; the second key combination may include multiple second keys, such as multiple keys that represent character identifiers, such as numeric character keys or alphabetic character keys.

[0111] Accordingly, the steps in response to the triggering operation on the target key, determining the triggering function and target index identifier corresponding to the target key, can be implemented through the following steps:

[0112] In response to a trigger operation on a first key combination, determine the trigger function corresponding to the first key combination; and in response to a trigger operation on a second key combination, determine the target index identifier corresponding to the second key combination.

[0113] In implementation, the terminal can respond to triggering operations on multiple first keys included in the first key combination, query the preset correspondence between key combinations and triggering functions, and determine the triggering function corresponding to the first key combination based on this correspondence. Simultaneously, the terminal can also respond to triggering operations on the second key combination and determine one or more target index identifiers corresponding to the second key combination.

[0114] Based on the above scheme, different functions are configured through different key combinations to ensure functional diversity.

[0115] In one exemplary embodiment, the second key combination corresponds to multiple target index identifiers.

[0116] Accordingly, after the steps of determining the trigger function corresponding to the first key combination in response to the trigger operation of the first key combination, and determining the target index identifier corresponding to the second key combination in response to the trigger operation of the second key combination, the method for displaying the session message further includes:

[0117] If the trigger function corresponding to the first key combination is determined to be the function of creating a new session group, a new session group is created based on the session corresponding to each target index identifier, and the session details interface of the newly created session group is displayed.

[0118] In implementation, the terminal can determine the trigger function corresponding to a first key combination based on a preset correspondence between key combinations and trigger functions. Simultaneously, the terminal can also determine multiple target index identifiers corresponding to the second key combination, and the sessions corresponding to each target index identifier. Based on this, the terminal can determine the session account corresponding to each session. The specific process of determining the session account can include: if the session is a private chat, the terminal can determine that the session account corresponding to the session is the user account that privately chatted with the user account corresponding to the terminal; if the session is a group chat, the terminal can determine that the session account corresponding to the session is one of the multiple user accounts included in the group chat.

[0119] Based on this, when the terminal determines that the triggered function is to create a new session group, the terminal can create a new session group containing the user account corresponding to the terminal and the session account based on the session account determined in the above embodiments, and display the session details interface of the session group on the terminal.

[0120] Based on the above solutions, a new session creation function is provided to improve the user experience.

[0121] In one exemplary embodiment, after the step of displaying the session details interface of the target session corresponding to the target index identifier, the method for displaying the session message further includes:

[0122] Upon receiving a new session message, the session corresponding to the new session message is displayed in the top display area of ​​the session list interface, and the index of the session corresponding to the new session message is displayed as the index of the session in the top display area of ​​the session list interface.

[0123] In implementation, after displaying the session details interface of the target session corresponding to the target index identifier, upon receiving a new session message, the terminal can switch the session to which the new session message belongs to the display area at the top of the session list, and determine the index identifier of the session to which the new session message belongs as the index identifier of the display area at the top of the session list interface. In other words, after displaying the session details interface of the target session corresponding to the target index identifier, the terminal can generate an updated target session sequence based on the actual new session received, or based on the update time of each session, and update each session displayed on the session list interface and its corresponding index identifier based on this target session sequence.

[0124] In one example, the number of display areas shown in the session list interface on the terminal is limited. For example, the session list interface contains a target number of display areas, meaning it can display a target number of sessions. Thus, the sessions displayed on the session list interface are the first target number of sessions in the target session sequence. Based on this, in response to a trigger operation on a target key, when it is determined that the trigger function corresponding to the target key is a swipe-down function, the terminal can determine the target number of sessions in the target session sequence, excluding the first target number of sessions. The terminal can then display the session list interface after the swipe-down action. This session list interface can include the target number of sessions excluding the first target number of sessions, where the index identifier of each session in the aforementioned session list interface can be consistent with the index identifier of the first target number of sessions.

[0125] Based on the above scheme, the index identifier of each session is updated based on the latest update time to ensure the accuracy and real-time performance of the index identifier display.

[0126] The following describes in detail the specific execution process of the session message display method in the above embodiment, using a specific example. In response to a user's launch of the IM application, the terminal can request all session messages and update times corresponding to that user's sessions from the IM server, and sort them in descending order based on the update times to obtain a target session sequence. Based on this target session sequence, the terminal can determine the display area for each session on the session list interface and determine the index identifier of that session. Thus, the terminal can display the session list interface and display the index identifiers of each session on the session list interface. For example, as... Figure 5a As shown, the terminal sorts the sessions in descending order based on their update times. The resulting target session sequence includes at least: User 1, User 2, Type 1 Service, Type 2 Service, Session Group 1, User 3, User 4, and Session Group 2. Based on this, the terminal can determine the index identifier of each session. For example, the index identifier of the session corresponding to User 1 could be index identifier 1; the index identifier of the session corresponding to User 2 could be index identifier 2; the index identifier of the session corresponding to Type 1 Service could be index identifier 3; the index identifier of the session corresponding to Type 2 Service could be index identifier 4; the index identifier of the session corresponding to Session Group 1 could be index identifier 5; the index identifier of the session corresponding to User 3 could be index identifier 6; the index identifier of the session corresponding to User 4 could be index identifier 7; and the index identifier of the session corresponding to Session Group 2 could be index identifier 8.

[0127] Thus, in response to a trigger operation on a target key, if the terminal determines the trigger function corresponding to the target key and the target index identifier, and the trigger function is a session switching function, such as... Figure 5bAs shown, the terminal can display the session details interface of the target session corresponding to the target index identifier. Here, avatar A is the avatar image of the user account corresponding to the target session; avatar B is the avatar image of the user account corresponding to the terminal.

[0128] In one example, such as Figure 5c As shown, the terminal can display a session interface that includes a session list interface and a session details interface for the default session. The session interface also displays the session details interface for the default session, which can be the session corresponding to user 1. At this time, the session corresponding to user 1 in the session list interface is displayed as selected.

[0129] In response to a trigger operation on a target key, if the terminal determines the trigger function corresponding to the target key and the target index identifier, and if the trigger function is a session switching function, such as... Figure 5d As shown, the terminal can switch the session details interface of the default session to the session details interface of the target session. For example, if the target session determined by the terminal is the session corresponding to user 2, then the session corresponding to user 2 in the session list interface will be displayed as selected.

[0130] Specifically, in response to a user's triggering action on an IM-enabled client, the terminal automatically initiates a data synchronization process. The terminal requests the server interface, with the request content being the session message. The terminal can then sort the sessions in descending order based on this message. Starting from the top of the session list, all sessions are assigned a default index, for example, starting from 1. The terminal's session list interface can also display the index of each session. Users can trigger target keys based on the index of the session in the session list. For example, users can quickly switch between the displayed session details interface using the Ctrl key, Shift key, and number keys.

[0131] In this way, if the terminal sends or receives a new message afterward, the session will be displayed in the top display area of ​​the session list interface because of the new message; that is, the index of each session can be dynamically arranged and determined according to the communication time of the last message in each session. By adopting this disclosure, the efficiency of users switching between different chat windows can be improved, and it also helps to improve the work efficiency of users in scenarios such as customer service.

[0132] It should be understood that, although Figures 1-4 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figures 1-4At least some of the steps in the process may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but may be executed at different times. The execution order of these steps or stages is not necessarily sequential, but may be executed in turn or alternately with other steps or at least some of the steps or stages in other steps.

[0133] It is understood that the same / similar parts between the various embodiments of the methods described above in this specification can be referred to each other. Each embodiment focuses on the differences from other embodiments, and relevant parts can be referred to the description of other method embodiments.

[0134] Figure 6 This is a device block diagram illustrating a session message display device 600 according to an exemplary embodiment. (Refer to...) Figure 6 The session message display device 600 includes a first display unit 602 and a second display unit 604.

[0135] The first display unit 602 is configured to display a session list interface, which includes a display area corresponding to each session and contains the index identifier of the session.

[0136] The second display unit 604 is configured to perform a trigger operation in response to a target key, determine the target index identifier corresponding to the target character triggered by the target key, and display the session details interface of the target session corresponding to the target index identifier.

[0137] In one exemplary embodiment, the device further includes:

[0138] The first acquisition unit is configured to perform a response to a session triggering operation to acquire the session messages of each session and the update time of each session;

[0139] The generation unit is configured to generate a target session sequence in ascending order of the time difference between the update time of each session and the current time;

[0140] The first determining unit is configured to perform the task of determining the index identifier of each of the sessions based on the target session sequence.

[0141] In one exemplary embodiment, the target key is a character key, and the index identifier is a character identifier;

[0142] The second display unit is specifically used for:

[0143] In response to a trigger operation on a target character key, the target character triggered by the target character key is determined, as well as the target character identifier corresponding to the target character is determined, and the session details interface of the target session corresponding to the target character identifier is displayed.

[0144] In one exemplary embodiment, the second display unit is specifically used for:

[0145] In response to a trigger operation on a target key, determine the trigger function and target index identifier corresponding to the target key;

[0146] When the triggering function is a session switching function, the session details interface of the target session corresponding to the target index identifier is displayed.

[0147] In one exemplary embodiment, the target key position includes a first key position combination and a second key position combination;

[0148] The second display unit is specifically used for:

[0149] In response to a trigger operation on the first key combination, the trigger function corresponding to the first key combination is determined, and in response to a trigger operation on the second key combination, the target index identifier corresponding to the second key combination is determined.

[0150] In one exemplary embodiment, the second key combination corresponds to multiple target index identifiers;

[0151] The device also includes:

[0152] The third display unit is configured to, when it is determined that the trigger function corresponding to the first key combination is to create a new session group, create a new session group based on the session corresponding to each target index identifier, and display the session details interface of the newly created session group.

[0153] In one exemplary embodiment, the device further includes:

[0154] The fourth display unit is configured to, upon receiving a new session message, display the session corresponding to the new session message in the display area at the top of the session list interface, and display the index identifier of the session corresponding to the new session message as the index identifier corresponding to the display area at the top of the session list interface.

[0155] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0156] Figure 7 This is a block diagram illustrating an electronic device 700 for displaying conversational messages according to an exemplary embodiment. For example, the electronic device 700 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.

[0157] Reference Figure 7 The electronic device 700 may include one or more of the following components: processing component 702, memory 704, power supply component 706, multimedia component 708, audio component 710, input / output (I / O) interface 712, sensor component 714, and communication component 716.

[0158] Processing component 702 typically controls the overall operation of electronic device 700, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 702 may include one or more modules to facilitate interaction between processing component 702 and other components. For example, processing component 702 may include a multimedia module to facilitate interaction between multimedia component 708 and processing component 702.

[0159] Memory 704 is configured to store various types of data to support the operation of electronic device 700. Examples of such data include instructions for any application or method operating on electronic device 700, contact data, phonebook data, messages, pictures, videos, etc. Memory 704 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, optical disk, or graphene memory.

[0160] Power supply component 706 provides power to various components of electronic device 700. Power supply component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 700.

[0161] Multimedia component 708 includes a screen that provides an output interface between the electronic device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 708 includes a front-facing camera and / or a rear-facing camera. When the electronic device 700 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0162] Audio component 710 is configured to output and / or input audio signals. For example, audio component 710 includes a microphone (MIC) configured to receive external audio signals when electronic device 700 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 704 or transmitted via communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.

[0163] I / O interface 712 provides an interface between processing component 702 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0164] Sensor assembly 714 includes one or more sensors for providing state assessments of various aspects of electronic device 700. For example, sensor assembly 714 can detect the on / off state of electronic device 700, the relative positioning of components such as the display and keypad of electronic device 700, changes in position of electronic device 700 or its components, the presence or absence of user contact with electronic device 700, orientation or acceleration / deceleration of device 700, and temperature changes of electronic device 700. Sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 714 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.

[0165] Communication component 716 is configured to facilitate wired or wireless communication between electronic device 700 and other devices. Electronic device 700 can access wireless networks based on communication standards, such as WiFi, carrier networks (such as 2G, 3G, 4G, or 5G), or combinations thereof. In one exemplary embodiment, communication component 716 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 716 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0166] In an exemplary embodiment, the electronic device 700 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.

[0167] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 704 including instructions, which can be executed by a processor 720 of an electronic device 700 to perform the above-described method. For example, the computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0168] In an exemplary embodiment, a computer program product is also provided, which includes instructions that can be executed by a processor 720 of an electronic device 700 to perform the above-described method.

[0169] It should be noted that the above-mentioned apparatus, electronic equipment, computer-readable storage medium, computer program product, etc., may also include other implementation methods according to the description of the method embodiments. For specific implementation methods, please refer to the description of the relevant method embodiments, which will not be elaborated here.

[0170] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.

[0171] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A method for displaying conversation messages, characterized in that, include: The session list interface includes a display area for each session, and the display area contains the index identifier of the session. In response to a trigger operation on a target key, the target index identifier corresponding to the target character triggered by the target key is determined, and the session details interface of the target session corresponding to the target index identifier is displayed; The target key positions include a first key position combination and a second key position combination; the second key position combination corresponds to multiple target index identifiers; The method further includes: If it is determined that the trigger function corresponding to the first key combination is the function of creating a new session group, a new session group is created based on the session corresponding to each target index identifier, and the session details interface of the newly created session group is displayed.

2. The method for displaying session messages according to claim 1, characterized in that, Prior to the step of displaying the session list interface, the method further includes: In response to a session trigger operation, obtain the session messages of each session and the update time of each session; Generate a target session sequence in ascending order of the time difference between the update time of each session and the current time; The index identifier of each session is determined based on the target session sequence.

3. The method for displaying session messages according to claim 2, characterized in that, The target key is a character key, and the index identifier is a character identifier; The step of responding to a trigger operation on a target key, determining the target index identifier corresponding to the target character triggered by the target key, and displaying the session details interface of the target session corresponding to the target index identifier, includes: In response to a trigger operation on a target character key, the target character triggered by the target character key is determined, as well as the target character identifier corresponding to the target character is determined, and the session details interface of the target session corresponding to the target character identifier is displayed.

4. The method for displaying session messages according to claim 1, characterized in that, The step of responding to a trigger operation on a target key, determining the target index identifier corresponding to the target character triggered by the target key, and displaying the session details interface of the target session corresponding to the target index identifier, includes: In response to a trigger operation on a target key, determine the trigger function and target index identifier corresponding to the target key; When the triggering function is a session switching function, the session details interface of the target session corresponding to the target index identifier is displayed.

5. The method for displaying session messages according to claim 4, characterized in that, The step of determining the trigger function and target index identifier corresponding to the target key in response to a trigger operation on the target key includes: In response to a trigger operation on the first key combination, the trigger function corresponding to the first key combination is determined, and in response to a trigger operation on the second key combination, the target index identifier corresponding to the second key combination is determined.

6. The method according to claim 1, characterized in that, After the step of displaying the session details interface of the target session corresponding to the target index identifier, the method further includes: Upon receiving a new session message, the session corresponding to the new session message is displayed in the top display area of ​​the session list interface, and the index identifier of the session corresponding to the new session message is displayed as the index identifier corresponding to the top display area of ​​the session list interface.

7. A device for displaying conversation messages, characterized in that, include: The first display unit is configured to execute a session list interface, the session list interface including a display area corresponding to each session, the display area containing the index identifier of the session; The second display unit is configured to perform a trigger operation in response to a target key, determine the target index identifier corresponding to the target character triggered by the target key, and display the session details interface of the target session corresponding to the target index identifier; The target key positions include a first key position combination and a second key position combination; the second key position combination corresponds to multiple target index identifiers; The device further includes: The third display unit is configured to, when it is determined that the trigger function corresponding to the first key combination is to create a new session group, create a new session group based on the session corresponding to each target index identifier, and display the session details interface of the newly created session group.

8. The device for displaying session messages according to claim 7, characterized in that, The device further includes: The first acquisition unit is configured to perform a response to a session triggering operation to acquire the session messages of each session and the update time of each session; The generation unit is configured to generate a target session sequence in ascending order of the time difference between the update time of each session and the current time; The first determining unit is configured to perform the task of determining the index identifier of each of the sessions based on the target session sequence.

9. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the method for displaying session messages as described in any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that, When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is enabled to perform the method of displaying session messages as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Contact person rapid positioning method and system, and communication terminal

    CN106210251A

  • Displaying conversations in a conversation-based email sysem

    US20050234850A1