Method, device, electronic device, storage medium and program product for displaying conversation list
By displaying prompt information in the first-level conversation unit position in the conversation list, the problem of single prompt information for unread second-level conversations is solved, and more effective prompts and consistent display are achieved.
Patent Information
- Application Number
- CN202411273817.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-11
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2044-09-11
AI Technical Summary
In the prior art, the prompting method for the unread secondary conversation information is relatively simple, resulting in poor prompting effect.
The first prompt information is displayed at the associated position of the first-level conversation unit in the conversation list to prompt the existence of unread second-level conversation information without increasing the display of the second-level conversation unit, thereby enriching the prompt method and improving consistency.
By displaying the first prompt information in the conversation list, mixed arrangement of conversation units is avoided, and the prompt effect of unread secondary conversation information and the display consistency of the list are improved.
Smart Images

Figure CN118869647B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and more particularly to a method, device, electronic device, storage medium, and program product for displaying a conversation list. Background Art
[0002] Currently, in some applications, users may be supported to send and / or receive secondary session information for the primary session information in the session interface.
[0003] However, in the related art, the prompting method for the unread secondary conversation information is relatively simple. Summary of the Invention
[0004] Embodiments of the present disclosure provide a method, apparatus, electronic device, storage medium, and program product for displaying a conversation list, so as to enrich the prompting method of unread secondary conversation information.
[0005] In a first aspect, an embodiment of the present disclosure provides a method for displaying a conversation list, including:
[0006] Display the current user's session list, which consists of session units of the first-level session;
[0007] In response to the presence of target secondary conversation information in an unread state in the first target conversation corresponding to the first target conversation unit in the conversation list, first prompt information is displayed at an associated position of the first target conversation unit, where the first prompt information is used to prompt that the target secondary conversation information is in an unread state.
[0008] In a second aspect, an embodiment of the present disclosure further provides a device for displaying a conversation list, including:
[0009] A list display module is used to display the current user's conversation list, which is composed of conversation units of the first-level conversation;
[0010] The first prompt module is configured to display first prompt information at an associated position of a first target conversation unit in response to the presence of target secondary conversation information in an unread state in a first target conversation corresponding to a first target conversation unit in the conversation list, wherein the first prompt information is used to prompt that the target secondary conversation information is in an unread state.
[0011] In a third aspect, an embodiment of the present disclosure further provides an electronic device, including:
[0012] one or more processors;
[0013] a memory for storing one or more programs,
[0014] When the one or more programs are executed by the one or more processors, the one or more processors implement the method for displaying a conversation list as described in the embodiment of the present disclosure.
[0015] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for displaying a conversation list as described in an embodiment of the present disclosure.
[0016] In a fifth aspect, an embodiment of the present disclosure further provides a computer program product. When the computer program product is executed by a computer, the computer implements the method for displaying a conversation list as described in the embodiment of the present disclosure.
[0017] The conversation list display method, apparatus, electronic device, storage medium, and program product provided by the embodiments of the present disclosure prompt the current user of the presence of unread secondary conversation information in the corresponding primary conversation by displaying a first prompt message at an associated position of a conversation unit of a primary conversation in the conversation list, rather than adding a conversation unit of a secondary conversation to the conversation list and prompting the user based on the conversation unit of the secondary conversation. This avoids the situation where conversation units of the primary conversation and those of the secondary conversation appear in a chaotically mixed arrangement in the conversation list, enriches the prompting methods for unread secondary conversation information, improves the prompting effect of unread secondary conversation information, and enhances the consistency of the conversation units displayed in the conversation list. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale.
[0019] Figure 1 A flowchart of a method for displaying a conversation list provided in an embodiment of the present disclosure;
[0020] Figure 2 A schematic diagram showing a conversation list provided in an embodiment of the present disclosure;
[0021] Figure 3 A flowchart of another method for displaying a conversation list provided in an embodiment of the present disclosure;
[0022] Figure 4 A schematic diagram of a switching display process of first-level session information provided in an embodiment of the present disclosure;
[0023] Figure 5 A structural block diagram of a device for displaying a conversation list provided in an embodiment of the present disclosure;
[0024] Figure 6 A schematic structural diagram of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0025] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0026] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0027] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.
[0028] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0029] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
[0030] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0031] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) must comply with the requirements of relevant laws, regulations and relevant provisions.
[0032] Figure 1A flowchart of a method for displaying a conversation list provided in an embodiment of the present disclosure. The method can be performed by a conversation list display device, wherein the device can be implemented by software and / or hardware and can be configured in an electronic device, typically a computer, mobile phone, or tablet computer. The conversation list display method provided in an embodiment of the present disclosure is suitable for scenarios where secondary conversations in a primary conversation that are in an unread state are prompted based on conversation units of a primary conversation in a conversation list, such as scenarios where secondary conversations in a primary conversation that are in an unread state are prompted in a conversation list composed of conversation units of a primary conversation.
[0033] In some applications, when there is unread secondary session information, the user can be prompted to view it. For example, the session identifier of the secondary session can be displayed in a session list containing the session identifier of the primary session, and based on the session identifier of the secondary session, the user can be prompted to view the unread secondary session information in the secondary session.
[0034] However, in the related art, the prompting method for the unread secondary conversation information is relatively messy and single, resulting in a poor prompting effect for the unread secondary conversation information.
[0035] In view of this, an embodiment of the present disclosure provides a method for displaying a conversation list, which prompts the current user that there is unread secondary conversation information in the corresponding primary conversation by displaying a first prompt message at an associated position of a conversation unit of a primary conversation in the conversation list, thereby enriching the prompt method for the unread secondary conversation information and improving the prompt effect of the unread secondary conversation information.
[0036] like Figure 1 As shown, the method for displaying a conversation list provided in this embodiment may include:
[0037] S101: Display a conversation list of a current user, where the conversation list consists of conversation units of a first-level conversation.
[0038] The current user's session list can be understood as a list of sessions in which the current user is currently located, such as a list of first-level sessions in which the current user is currently located. The current user's session list is composed of session elements of first-level sessions. For example, the current user's session list may include session elements of first-level sessions but not session elements of second-level sessions. In this case, optionally, all session elements in the session list correspond to first-level sessions.
[0039] A primary session can be a session used to send primary session information, which can be a single-person session or a group session. A secondary session can be a session used to send secondary session information, which can be a subsession of a primary session, such as a discussion group created based on a piece of primary session information within a primary session. Primary session information can be understood as root session information, and secondary session information can be understood as subsession information of the root session information (i.e., primary session information), such as discussion information sent in a secondary session corresponding to a piece of primary session information regarding the information content of that piece of primary session information.
[0040] It should be noted that the secondary session information of a certain first-level session information and the session information that references this first-level session information can be different session information. For example, if a session information in a first-level session references another first-level session information in this session, this session information may still be displayed as first-level session information in this and other sessions.
[0041] The session unit of a session (such as a first-level session and / or a second-level session) can be understood as the session entry corresponding to the session. The session entry can display relevant information about the session, such as the identification information of the session and / or at least part of the information content of at least one session message in the session. The identification information of the session can be understood as information used to identify the session, such as the session icon and / or session name of the session. The at least one session message is not limited. For example, the at least one session message can be the most recently sent at least one session message in the session, which can be sent by any user in the session. The at least one session message can include first-level session information and / or second-level session information, which is not limited in this embodiment.
[0042] For example, when the display conditions for displaying the current user's conversation list are met, such as when a conversation list display operation of the current user is received, the conversation list of the current user can be displayed, and the conversation unit 20 of at least one primary conversation in which the current user is located can be displayed in the conversation list of the current user, such as Figure 2 is shown for the current user to view.
[0043] S102: In response to the presence of unread target secondary conversation information in the first target conversation corresponding to the first target conversation unit in the conversation list, display first prompt information at a location associated with the first target conversation unit, where the first prompt information is used to prompt that the target secondary conversation information is unread.
[0044] The first target session may be a primary session containing target secondary session information, such as a primary session containing unread secondary session information. A first target session unit may be understood as a session unit of the first target session. The target secondary session information may be unread secondary session information in the first target session, such as secondary session information in the first target session that the current user has not yet viewed.
[0045] In some examples, the relevance between the secondary conversation information and the current user may be disregarded. When unread secondary conversation information exists, the current user is prompted with the first prompt in the conversation list. In this case, the target secondary conversation information may be any unread secondary conversation information received by the current user in the first target conversation.
[0046] In other examples, the association between the secondary session information and the current user can also be considered. Only when there is unread secondary session information associated with the current user will the current user be prompted with the first prompt in the session list. For unread secondary session information that is not relevant to the current user, even if the secondary session information is unread, the prompt for this secondary session information in the session list may not be displayed. In this case, the target secondary session information can optionally be the associated secondary session information of the current user, that is, the target secondary session information can be the unread secondary session information associated with the current user.
[0047] In the above example, the determination condition of whether the secondary session information is associated with the current user can be set as needed. For example, the secondary session information sent for the primary session information sent by the current user can be determined as the secondary session information associated with the current user; the secondary session information in which the current user is mentioned in the information content can also be determined as the secondary session information associated with the current user, such as determining the secondary session information with the current user @ in the information content as the secondary session information associated with the current user. At this time, optionally, the associated secondary session information includes first associated secondary session information and / or second associated secondary session information, wherein the first associated secondary session information is sent in the target secondary session, and the target secondary session is created based on the primary session information sent by the current user in the first target session; the second associated secondary session information mentions the current user.
[0048] The prompting priority of the first-linked secondary session information and the second-linked secondary session information can be flexibly set as needed. For example, the prompting priority of the first-linked secondary session information can be higher or lower than the prompting priority of the second-linked secondary session information, or the first-linked secondary session information and the second-linked secondary session information can have the same prompting priority. In this case, for example, when both the first-linked secondary session information and the second-linked secondary session information are to be prompted in a certain level of conversation, the prompting priority can be either the first-linked secondary session information or the second-linked secondary session information, or both can be prompted simultaneously, and so on. Optionally, the prompting priority of the first-linked secondary session information in the conversation list is lower than the prompting priority of the second-linked secondary session information in the conversation list. For example, when both the first-linked secondary session information and the second-linked secondary session information are to be prompted in a certain level of conversation, the prompting priority can be the second-linked secondary session information, that is, the second-linked secondary session information that mentions the current user and is in an unread state can be prompted first.
[0049] The target secondary session is a secondary session created based on the primary session information sent by the current user in the primary session. The first associated secondary session information may be secondary session information sent in response to the primary session information sent by the current user, such as secondary session information sent in the target secondary session without mentioning the current user. The second associated secondary session information may be secondary session information that mentions the current user, such as secondary session information sent in a secondary session prior to the target secondary session and mentioning the current user. Secondary sessions other than the target secondary session can be understood as secondary sessions created based on primary session information sent by users other than the current user, such as secondary sessions created based on primary session information sent by users other than the current user in the primary session in which the current user is located.
[0050] The first prompt information may be a prompt information for indicating the existence of unread secondary conversation information. The information content of the first prompt information is not limited. For example, the information content of the first prompt information may include text, symbols, and / or images for indicating unread information. Optionally, the first prompt information includes a secondary conversation prompt identifier and / or a secondary conversation prompt character. This secondary conversation prompt identifier may be an identifier for indicating the existence of target secondary conversation information in an unread state. The secondary conversation prompt identifier may be displayed in a preset graphic and / or preset pattern style, etc., which is not limited in this embodiment. This secondary conversation prompt character may be a character for indicating the existence of target secondary conversation information in an unread state, such as text content for indicating the existence of target secondary conversation information in an unread state.
[0051] For example, Figure 2 As shown in the figure (taking the first target session as the first-level session A as an example), when the first target session in the session list has target second-level session information in an unread state, the first prompt information 21 can be displayed at the associated position of the first target session unit of the first target session in the session list, such as displaying a second-level session prompt mark (such as Figure 2 ) and / or secondary conversation prompt characters (such as Figure 2 ) to prompt the current user that there is unread secondary session information in the first target session.
[0052] In some embodiments, the target secondary session information is the associated secondary session information of the current user, and in response to the presence of unread target secondary session information in a first target session corresponding to a first target session unit in the session list, displaying the first prompt information at an associated position of the first target session unit includes: acquiring the secondary session information; and in response to the secondary session information being the associated secondary session information of the current user and the associated secondary session information being unread, displaying the first prompt information at an associated position of the first target session unit, wherein the first target session corresponding to the first target session unit is the primary session to which the secondary session information belongs.
[0053] Exemplarily, in the case where the target secondary session information is the secondary session information associated with the current user, the secondary session information of the first target session may be obtained, for example, secondary session information sent by users other than the current user in the first target session in the first target session may be obtained, and a determination may be made as to whether the obtained secondary session information includes associated secondary session information that is unread by the current user. If the obtained secondary session information includes associated secondary session information that is unread by the current user, the first prompt information may be displayed at the location associated with the first target session unit in the session list. If the obtained secondary session information does not include associated secondary session information that is unread by the current user, for example, if the obtained secondary session information is read by the current user and / or is not associated with the current user, the first prompt information may not be displayed at the location associated with the first target session unit in the session list, thereby reducing the frequency of secondary session information prompts and minimizing the disruption to the user caused by secondary session information prompts.
[0054] In some implementations, a prompt may be provided in the conversation list for unread first-level conversation information to prevent users from missing the first-level conversation information. Optionally, after displaying the current user's conversation list, the method further includes: displaying a second prompt message at a location associated with a second target conversation element in the conversation list, in response to the presence of unread first-level conversation information for a second target conversation element in the conversation list. The second prompt message is used to indicate that the first-level conversation information is unread, and the second prompt message has a different display style than the first prompt message.
[0055] The second target session may be a first-level session containing unread first-level session information. The second target session unit may be understood as a session unit of the second target session. The first target first-level session information may be unread first-level session information, which may be any unread first-level session information or first-level session information associated with the current user. The second prompt information may be prompt information for indicating the existence of unread first-level session information. The content of the second prompt information is not limited; for example, the second prompt information may include text, symbols, and / or images for indicating unread information.
[0056] The second prompt message and the first prompt message may have different display styles. For example, the first prompt message may include a secondary conversation prompt identifier and / or secondary conversation prompt characters; the second prompt message may include a primary conversation prompt identifier. The primary conversation prompt identifier and the secondary conversation prompt identifier may have different display styles. For example, the primary conversation prompt identifier and the secondary conversation prompt identifier may be displayed in different shapes; the primary conversation prompt identifier and the secondary conversation prompt identifier may be displayed in different sizes; and / or the primary conversation prompt identifier may display the number of unread primary conversation messages in the corresponding conversation, while the secondary conversation prompt identifier may not display the number of unread secondary conversation messages in the corresponding conversation, etc.
[0057] For example, Figure 2 As shown in the figure (taking the second target session as the first-level session B as an example), when the second target session in the session list has unread first-level session information (such as the first-level session information of the first target), the second prompt information 22 having a different display style from the first prompt information can be displayed at the associated position of the second target session unit of the second target session in the session list, such as displaying a first-level session prompt identifier (such as Figure 2 ), and the number of unread first-level conversation messages in this conversation can be displayed in this first-level conversation prompt (such as Figure 2The number k shown in the white circle in the middle prompts the current user that there is unread primary session information in the second target session.
[0058] In this embodiment, the first target session and the second target session can be the same or different sessions. For example, when a session contains both unread primary session information and unread secondary session information, the session can be either the first target session or the second target session. For a session containing both unread primary session information and unread secondary session information, a first prompt can be used to indicate the presence of unread target secondary session information in the session, and / or a second prompt can be used to indicate the presence of unread primary session information in the session. In this case, in some exemplary embodiments, the second prompt can be displayed preferentially at the location associated with the session entry to avoid excessive prompts for the user. Alternatively, the first prompt and the second prompt can be displayed simultaneously at the location associated with the session entry to improve the comprehensiveness of the displayed prompt information. In this case, the second prompt can optionally have a higher display priority than the first prompt; or the second prompt can be displayed simultaneously with the first prompt.
[0059] The first prompt information and / or the second prompt information may be displayed in the conversation list at a location associated with the conversation unit of the corresponding conversation. The associated location may be understood as a location associated with the display area of the conversation unit in the conversation list. For example, the associated location may be within the display area of the conversation unit in the conversation list, or may be located above, below, to the left, or to the right of the display area of the conversation unit in the conversation list, within a preset distance range. This embodiment does not limit the preset distance range.
[0060] It should be noted that the current application can support the current user to set one or more sessions to a prompt-free state. For a session set to a prompt-free state by the current user, even if there is unread first-level session information and / or second-level session information in this session, the unread information prompt for this session may not be displayed in the session list, such as by not displaying the first prompt information and / or the second prompt information in the associated position of the session unit of this session in the session list.
[0061] This embodiment provides a method for displaying a conversation list, which displays a conversation list for the current user, the conversation list consisting of conversation units for primary conversations. In response to the presence of unread target secondary conversation information in a first target conversation corresponding to a first target conversation unit in the conversation list, a first prompt is displayed at a location associated with the first target conversation unit, indicating that the target secondary conversation information is unread. This embodiment utilizes the above-described technical solution to prompt the current user of the presence of unread secondary conversation information in the corresponding primary conversation by displaying the first prompt at a location associated with the conversation unit for the primary conversation in the conversation list, rather than adding a conversation unit for the secondary conversation to the conversation list and providing a prompt based on the conversation unit for the secondary conversation. This avoids the situation in which conversation units for the primary conversation and secondary conversation are mixed and arranged in a disorderly manner in the conversation list, enriches the prompting methods for unread secondary conversation information, improves the prompting effect of unread secondary conversation information, and enhances the consistency of the conversation units displayed in the conversation list.
[0062] Figure 3 A flowchart of another method for displaying a conversation list provided for an embodiment of the present disclosure. The solution in this embodiment can be combined with one or more optional solutions in the above embodiments. Optionally, after displaying the first prompt information at the associated position of the first target conversation unit, the method further includes: in response to a first trigger operation for the first target conversation unit, displaying the first-level conversation interface of the first target conversation, and displaying a first switching control in the first-level conversation interface, wherein the first switching control is configured to trigger the display of at least part of the second-level conversation information of the first target conversation in the first-level conversation interface; and / or, in response to a second trigger operation for the first prompt information, displaying a second-level conversation interface corresponding to the target second-level conversation information, and displaying the target second-level conversation information in the second-level conversation interface.
[0063] Correspondingly, such as Figure 3 As shown, the method for displaying a conversation list provided in this embodiment may include:
[0064] S201: Display a conversation list of the current user, where the conversation list consists of conversation units of first-level conversations.
[0065] S202: In response to the presence of unread target secondary conversation information in the first target conversation corresponding to the first target conversation unit in the conversation list, display first prompt information at a location associated with the first target conversation unit, and execute S203 and / or S204, wherein the first prompt information is used to prompt that the target secondary conversation information is unread.
[0066] S203: In response to a first trigger operation on the first target session unit, display a primary session interface of the first target session, and display a first switch control in the primary session interface, where the first switch control is configured to trigger display of at least part of the secondary session information of the first target session in the primary session interface.
[0067] The first trigger operation can be understood as an operation that triggers the first target conversation unit, such as clicking on the content contained in the first target conversation unit (such as the conversation identifier and / or information content). The first-level conversation interface can be an interface for displaying and sending first-level conversation information. It is understood that, in the case where second-level conversation information exists in the first-level conversation information displayed in the first-level conversation interface, the first-level conversation interface can further be used to display at least part of the second-level conversation information that exists in the first-level conversation information. The first toggle control displayed in the first-level conversation interface of a certain first-level conversation can be a control for triggering the display of at least part of the second-level conversation information of the first-level conversation information that exists in an unread state in the first-level conversation. For example, when the first toggle control displayed in a certain first-level conversation is triggered, at least part of the second-level conversation information of a certain first-level conversation information can be displayed in the first-level conversation interface. This certain first-level conversation information can be the first-level conversation information that exists in an unread state.
[0068] Specifically, when a first trigger operation for the first target conversation unit is received, such as when it is detected that the current user triggers the display area of the first target conversation unit or triggers the content contained in the first target conversation unit, the currently displayed interface can be switched from the current user's conversation list interface to the first-level conversation interface of the first target conversation, and at least part of the conversation information of the first target conversation (such as at least part of the most recently received first-level conversation information) in the first-level conversation interface of the first target conversation is displayed, and a first switching control 40 is displayed in the first-level conversation interface of the first target conversation, such as Figure 4 As shown in the first figure, the current user can switch to view at least part of the secondary session information of the first session information of the unread secondary session information in the first target session by triggering the first switching control 40.
[0069] In this embodiment, a first toggle control displayed in the first-level session interface of a first-level session can be used to switch between viewing at least a portion of the first-level session information in the corresponding session that contains unread second-level session information. Furthermore, when unread first-level session information exists in the first-level session, a second toggle control can be displayed in the first-level session interface of the first-level session. This second toggle control can be used to trigger the display of at least a portion of the unread first-level session information in the first-level session in the first-level session interface. Optionally, the second toggle control is configured to trigger the display of at least a portion of the second target first-level session information in the first-level session interface that is unread. The second target first-level session information can be understood as the unread first-level session information in the first target session.
[0070] When unread first-level conversation information and unread second-level conversation information exist in a first-level conversation at the same time, the display priority of the first switching control and the second switching control in the first-level conversation interface of the first-level conversation is not limited.
[0071] In some examples, the display priority of the first toggle control may be higher than the display priority of the second toggle control. That is, when both unread primary session information and unread target secondary session information exist in the first target session, the first toggle control may be displayed preferentially in the primary session interface of the first target session. Alternatively, regardless of whether there is unread primary session information in the first target session, as long as there is unread target secondary session information in the first target session, the first toggle control may be displayed in the primary session interface of the first target session.
[0072] In some examples, the display priority of the first toggle control may be lower than the display priority of the second toggle control. For example, when there is no unread primary session information in the first target session and there is unread target secondary session information, the first toggle control is displayed in the primary session interface of the first target session; and when there is unread primary session information in the first target session, the second toggle control may be displayed in the primary session interface of the first target session regardless of whether there is unread target secondary session information in the first target session. At this time, optionally, the display of the first toggle control in the primary session interface includes: in response to the absence of unread primary session information in the first target session, displaying the first toggle control in the primary session interface. Exemplarily, if the first toggle control is currently displayed, but a new unread primary session is received in the session at this time, the first toggle control may be switched to the second toggle control to prioritize viewing the new unread primary session.
[0073] In some examples, the display priority of the first toggle control can be lower than that of the second toggle control. When both unread primary and secondary session information exist in the first target session, the second toggle control can be displayed preferentially in the primary session interface of the first target session. Thus, the current user can use the second toggle control to view the unread primary session information in the first session or switch to viewing each primary session information in the first target session by performing a session information switching operation (such as a vertical swipe operation) in the primary session interface of the first target session. After viewing the unread primary session information in the first target session, the current user can switch the primary session information from unread to read. Furthermore, when all unread primary session information in the first target session is switched to a read state, that is, when the first target session changes from having unread primary session information to having no unread primary session information, the second toggle control displayed in the primary session interface of the first target session can be switched to the first toggle control, so that the current user can continue to view at least a portion of the secondary session information of the primary session information of the first target session that has unread secondary session information based on the first toggle control. Optionally, displaying the first toggle control in the primary session interface includes: displaying the second toggle control in the primary session interface in response to the presence of unread second target primary session information in the first target session, and switching the second toggle control to the first toggle control in response to the second target primary session information switching from an unread state to a read state.
[0074] In some examples, the first toggle control and the second toggle control may have the same display priority. For example, when both unread primary session information and unread secondary session information exist in a first target session, the first toggle control and the second toggle control may be displayed simultaneously in the primary session interface of the first target session to meet the current user's different viewing requirements for the primary session information and the secondary session information. In this case, optionally, displaying the first toggle control in the primary session interface includes: displaying the first toggle control and the second toggle control in the primary session interface in response to the presence of unread second target primary session information in the first target session.
[0075] In this embodiment, the first toggle control can trigger the display of primary session information containing unread secondary session information and at least a portion of the secondary session information of the primary session information. Optionally, after displaying the first toggle control in the primary session interface, the method further includes: in response to a third trigger operation on the first toggle control, displaying the current primary session information in the primary session interface and displaying at least a portion of the secondary session information associated with the current primary session information, wherein the current primary session information contains unread target secondary session information.
[0076] The third trigger operation may be an operation that triggers the first toggle control displayed in the first-level conversation interface, such as clicking or long pressing the first toggle control displayed in the first-level conversation interface. The current first-level conversation information may be the first-level conversation information displayed in response to the third trigger operation, and may be the first-level conversation information for which unread target second-level conversation information exists in the first target conversation. When there are multiple first-level conversation information pieces in the first target conversation that are unread, there is no limitation on the method for determining the current first-level conversation information. Optionally, the current first-level conversation information is the nth first-level conversation information piece in the first target conversation that is unread, where n is a positive integer. The value of n can be flexibly set as needed. For example, the nth first-level conversation information piece can be set to the first first-level conversation information piece or the last first-level conversation information piece, etc. The following description uses the example where the nth first-level conversation information piece is the first first-level conversation information piece.
[0077] Specifically, when a third trigger operation is received for the first switching control 40, the current first-level session information can be displayed in the first-level session interface of the first target session, and at least part of the second-level session information of the current first-level session information can be displayed in association. For example, when it is detected that the current user triggers the first switching control 40 displayed in the first-level session interface of the first target session, the first session information 41 of the unread second-level session information in the first target session can be displayed in the first-level session interface of the first target session, and at least part of the second-level session information of the first session information 41 can be displayed in association with the display area of the first session information 41, such as Figure 4 As shown in the second figure ( Figure 4 In the example, the first piece of first-level conversation information 41 of the second-level conversation information that is in an unread state is taken as the first-level conversation information L).
[0078] In the above embodiment, the at least portion of the secondary session information associated and displayed is not limited. Optionally, the at least portion of the secondary session information includes the first m secondary session information in the current primary session information, where m is a positive integer; and / or the at least portion of the secondary session information includes the first m unread secondary session information in the current primary session information. For example, when displaying the current primary session information in response to the third trigger operation, the first m earliest sent secondary session information in the current primary session information may be associated and displayed; alternatively, the m unread secondary session information in the current primary session information may be associated and displayed. The value of m can be flexibly set, for example, m can be set to a value such as 1, 2, 3, or 5.
[0079] In some embodiments, after associating and displaying at least a portion of the secondary session information with the current primary session information, the current user may be enabled to switch the secondary session information associated with the current primary session information displayed in the primary session interface. For example, upon receiving a secondary session information switching operation for the current primary session information, such as upon detecting that the current user triggers a preset sliding operation (such as a horizontal or vertical sliding operation) on the secondary session information switching control corresponding to the current primary session information or the display area for at least a portion of the secondary session information, the secondary session information associated with the current primary session information displayed in the primary session interface may be switched. Optionally, after associating and displaying at least a portion of the secondary session information with the current primary session information, the process further includes: switching the secondary session information associated with the current primary session information displayed in the primary session interface in response to the secondary session information switching operation for the current primary session information. The secondary session information switching operation may be an operation for instructing to switch the secondary session information associated with a particular level of session information displayed in the primary session interface, and its specific execution method is not limited.
[0080] In some embodiments, as Figure 4As shown in the first and second figures, the first toggle control may also display a preset indicator 42. This preset indicator 42 may be used to indicate the relative position between the first-level conversation information that triggered the display of the first toggle control and has unread second-level conversation information and the currently displayed first-level conversation information. Therefore, after receiving a third trigger operation on the first toggle control, the current first-level conversation information may be displayed in the first-level conversation interface, the first toggle control 40 may remain displayed, and the preset indicator 42 in the first toggle control may be used to indicate the relative position between the next first-level conversation information displayed by the first toggle control 40 and the current first-level conversation information, so as to facilitate viewing the next first-level conversation information. In this case, the method for displaying a conversation list may optionally further include: in response to the third trigger operation on the first toggle control 40, maintaining the display of the first toggle control 40 and indicating the relative position between the next first-level conversation information 43 and the current first-level conversation information using the preset indicator 42 in the first toggle control 40, where the next first-level conversation information 43 is closest in display order to the current first-level conversation information and has unread target second-level conversation information.
[0081] After the first switch control 40 is kept displayed, the current user can be supported to switch to viewing the next first-level session information 43 of the unread second-level session information in the first target session and at least part of the second-level session information of the next first-level session information 43 by triggering the first switch control 40 again. In this case, optionally, after the first switch control 40 is kept displayed, the method further includes: in response to a third trigger operation on the first switch control 40 again, switching to display the next first-level session information 43 in the first-level session interface, and displaying at least part of the second-level session information associated with the next first-level session information 43, such as Figure 4 That is, the user can use the first switching control 40 to view updated unread secondary conversation information in reverse chronological order.
[0082] In this embodiment, the first switching control may be displayed in the primary session interface of the first target session until the current user has finished viewing all the primary session information of the unread secondary session information in the first target session. For example, when there is no next primary session information of the unread secondary session information, the first switching control may be removed from the primary session interface. Figure 4 At this time, optionally, the method for displaying the conversation list may further include: in response to the absence of the next first-level conversation information, canceling the display of the first switching control in the first-level conversation interface.
[0083] S204: In response to a second triggering operation on the first prompt information, display a secondary session interface corresponding to the target secondary session information, and display the target secondary session information in the secondary session interface.
[0084] The second triggering operation may be an operation of triggering the first prompt information of the first target session, such as an operation of clicking, long pressing, or dragging the first prompt information.
[0085] Specifically, when a second trigger operation is received for the first prompt information displayed in the conversation list, such as when it is detected that the current user clicks, long presses, or drags the first prompt information, the currently displayed interface can be switched from the current user's conversation list interface to a secondary conversation interface corresponding to a target secondary conversation information in an unread state of the first target conversation, and the target secondary conversation information is displayed in the secondary conversation interface to simplify the operations required to view the unread secondary conversation information.
[0086] In this embodiment, the number of unread target secondary conversation information in the first target conversation can be one or more. When there are multiple unread target secondary conversation information in the first target conversation, the user can switch to display the secondary conversation interface corresponding to different target secondary conversation information, thereby further simplifying the operation required to view the unread secondary conversation information.
[0087] At this time, optionally, after displaying the secondary conversation interface corresponding to the target secondary conversation information, it also includes: in response to an interface switching operation acting on the secondary conversation interface, switching to display different secondary conversation interfaces, and the target secondary conversation information in an unread state exists in the different secondary conversation interfaces.
[0088] The interface switching operation may be a triggering operation for instructing to switch and display the secondary session interface corresponding to different target secondary session information in the first target session, such as a horizontal sliding operation or a vertical sliding operation within the secondary session interface.
[0089] Illustratively, after displaying a secondary conversation interface for a target secondary conversation information in an unread state in a first target conversation, if an interface switching operation is received within the secondary conversation interface, such as a horizontal sliding operation within the secondary conversation interface, the secondary conversation interface corresponding to a different target secondary conversation information in an unread state may be switched for display. For example, the currently displayed secondary conversation interface may be switched to the secondary conversation interface corresponding to the next first-level conversation information in the first target conversation that has an unread target secondary conversation information, according to the display order of the first-level conversation information in the first target conversation interface that has the target secondary conversation information in an unread state, and so on.
[0090] The method for displaying a conversation list provided in this embodiment supports viewing primary conversation information and at least part of secondary conversation information of unread secondary conversation information based on a first toggle control, and / or viewing unread secondary conversation information based on a first prompt. This method can further enrich the display of secondary conversation information and simplify the operations required to view unread secondary conversation information.
[0091] Figure 5 This is a structural block diagram of a device for displaying a conversation list provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware and can be configured in an electronic device, typically a computer, a mobile phone, or a tablet computer. The device can display a conversation list by executing a method for displaying a conversation list, and based on the conversation units of the first-level conversation in the conversation list, prompt the unread second-level conversations in the first-level conversation, such as prompting the unread second-level conversations in the first-level conversation in the conversation list composed of the conversation units of the first-level conversation. Figure 5 As shown, the apparatus for displaying a conversation list provided in this embodiment may include: a list display module 501 and a first prompt module 502, wherein:
[0092] List display module 501, used to display the current user's conversation list, the conversation list is composed of conversation units of the first-level conversation;
[0093] The first prompt module 502 is configured to display first prompt information at an associated position of a first target conversation unit in response to the presence of unread target secondary conversation information in a first target conversation unit corresponding to the first target conversation unit in the conversation list, wherein the first prompt information is used to prompt that the target secondary conversation information is unread.
[0094] The present embodiment provides a device for displaying a conversation list. A list display module displays a conversation list of the current user, the conversation list consisting of conversation units of a primary conversation. A first prompt module displays a first prompt message at a location associated with a first target conversation unit in the conversation list, in response to a first target conversation unit in the conversation list indicating that unread target secondary conversation information exists. This first prompt message indicates that the target secondary conversation information is unread. This embodiment utilizes the above-described technical solution to indicate the presence of unread secondary conversation information in the corresponding primary conversation by displaying the first prompt message at a location associated with the conversation unit of the primary conversation in the conversation list, rather than adding a conversation unit of the secondary conversation to the conversation list and providing a prompt based on the conversation unit of the secondary conversation. This prevents the mixing and disorderly arrangement of conversation units of the primary conversation and the secondary conversation in the conversation list, enriches the prompting methods for unread secondary conversation information, improves the effectiveness of prompting unread secondary conversation information, and enhances the consistency of the conversation units displayed in the conversation list.
[0095] Optionally, the session units in the session list all correspond to first-level sessions.
[0096] Optionally, the target secondary session information is the associated secondary session information of the current user, and the first prompt module 502 can be specifically used to: obtain the secondary session information; in response to the secondary session information being the associated secondary session information of the current user and the associated secondary session information being in an unread state, display the first prompt information at the associated position of the first target session unit, where the first target session corresponding to the first target session unit is the first session to which the secondary session information belongs.
[0097] Optionally, the associated secondary session information includes first associated secondary session information and / or second associated secondary session information, wherein the first associated secondary session information is sent in a target secondary session, and the target secondary session is created based on the first session information sent by the current user in the first target session; the second associated secondary session information mentions the current user.
[0098] Optionally, a prompt priority of the first associated secondary session information in the session list is lower than a prompt priority of the second associated secondary session information in the session list.
[0099] Optionally, the first prompt information includes a secondary conversation prompt identifier and / or a secondary conversation prompt character.
[0100] Furthermore, the apparatus for displaying a conversation list may further include: a second prompt module for displaying, after displaying the conversation list of the current user, second prompt information at an associated position of the second target conversation unit in response to the presence of first target first-level conversation information in an unread state in the second target conversation corresponding to the second target conversation unit in the conversation list, wherein the second prompt information is used to prompt that the first target first-level conversation information is in an unread state, and the second prompt information has a different display style from the first prompt information.
[0101] Optionally, the display priority of the second prompt information is higher than the display priority of the first prompt information; or, the second prompt information and the first prompt information can be displayed simultaneously.
[0102] Furthermore, the apparatus for displaying a conversation list may further include: a first interface display module configured to, after displaying the first prompt information at a location associated with the first target conversation unit, display a first-level conversation interface of the first target conversation in response to a first trigger operation on the first target conversation unit, and display a first switch control in the first-level conversation interface, wherein the first switch control is configured to trigger display of at least part of the second-level conversation information of the first target conversation in the first-level conversation interface; and / or, a second interface display module configured to, after displaying the first prompt information at a location associated with the first target conversation unit, display a second-level conversation interface corresponding to the target second-level conversation information in response to a second trigger operation on the first prompt information, and display the target second-level conversation information in the second-level conversation interface.
[0103] Furthermore, the device for displaying the conversation list may also include: an interface switching module, which is used to switch and display different secondary conversation interfaces in response to an interface switching operation performed within the secondary conversation interface after displaying the secondary conversation interface corresponding to the target secondary conversation information, and the target secondary conversation information in an unread state is contained in each of the different secondary conversation interfaces.
[0104] Optionally, the first interface display module may be configured to perform one of the following: in response to the absence of unread primary session information in the first target session, displaying a first switch control in the primary session interface; in response to the presence of unread second target primary session information in the first target session, displaying a second switch control in the primary session interface, and in response to the second target primary session information being switched from an unread state to a read state, switching the second switch control to the first switch control; in response to the presence of unread second target primary session information in the first target session, displaying the first switch control and the second switch control in the primary session interface; wherein the second switch control is configured to trigger the display of at least a portion of the unread second target primary session information in the primary session interface.
[0105] Furthermore, the apparatus for displaying a conversation list may further include: an information display module configured to, after displaying the first toggle control in the first-level conversation interface, display current first-level conversation information in the first-level conversation interface in response to a third trigger operation on the first toggle control, and display at least a portion of second-level conversation information associated with the current first-level conversation information, wherein the current first-level conversation information includes target second-level conversation information that is in an unread state.
[0106] Optionally, the current first-level session information is the nth first-level session information of the target second-level session information in the first target session that is in an unread state, where n is a positive integer.
[0107] Optionally, the at least part of the secondary session information includes the first m pieces of secondary session information in the current first-level session information, where m is a positive integer; and / or the at least part of the secondary session information includes the first m pieces of unread secondary session information in the current first-level session information.
[0108] Furthermore, the apparatus for displaying the conversation list may further include: a first information switching module for switching the secondary conversation information displayed in association with the current first-level conversation information in the first-level conversation interface in response to a secondary conversation information switching operation for the current first-level conversation information, after at least part of the secondary conversation information of the current first-level conversation information is displayed in association with the first-level conversation information.
[0109] Furthermore, the apparatus for displaying a conversation list may further include: an information indication module configured to, in response to a third trigger operation on the first toggle control, maintain display of the first toggle control and indicate, via a preset indicator of the first toggle control, a relative positional relationship between a next piece of first-level conversation information and the current first-level conversation information, where the next piece of first-level conversation information is closest in display order to the current first-level conversation information and has an unread target second-level conversation information.
[0110] Furthermore, the apparatus for displaying the conversation list may further include: a second information switching module configured to, after maintaining the display of the first switching control, in response to a third triggering operation on the first switching control, switch to displaying the next piece of first-level conversation information in the first-level conversation interface, and associate at least part of the second-level conversation information displayed with the next piece of first-level conversation information.
[0111] Furthermore, the apparatus for displaying a conversation list may further include: a display cancellation module configured to cancel displaying the first switching control in the first conversation interface in response to the absence of the next first-level conversation information.
[0112] The conversation list display device provided in the embodiments of the present disclosure can execute the conversation list display method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of executing the conversation list display method. For technical details not fully described in this embodiment, please refer to the conversation list display method provided in any embodiment of the present disclosure.
[0113] Reference below Figure 6 , which shows a schematic structural diagram of an electronic device (e.g., terminal device) 600 suitable for implementing the embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 6 The electronic device shown is only an example and should not limit the functions and scope of use of the embodiments of the present disclosure.
[0114] like Figure 6As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. Various programs and data required for the operation of the electronic device 600 are also stored in the RAM 603. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0115] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed instead.
[0116] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
[0117] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0118] In some embodiments, the client and server can communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0119] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0120] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device displays a conversation list of the current user, where the conversation list is composed of conversation units of first-level conversations. In response to the presence of target second-level conversation information in an unread state in a first target conversation corresponding to a first target conversation unit in the conversation list, first prompt information is displayed at a location associated with the first target conversation unit, where the first prompt information is used to indicate that the target second-level conversation information is in an unread state.
[0121] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0122] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0123] The units involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a module does not, in some cases, limit the unit itself.
[0124] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0125] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0126] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
[0127] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0128] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims
1. A method for displaying a conversation list, characterized in that: include: Display the current user's session list, which consists of session units of the first-level session; In response to the presence of unread target secondary conversation information in the first target conversation corresponding to the first target conversation unit in the conversation list, displaying first prompt information at a location associated with the first target conversation unit, the first prompt information being used to prompt that the target secondary conversation information is unread; The target secondary session information is session information in a secondary session of the first target session, and the secondary session of the first target session is a subsession of the first target session; The method further comprises: In response to the fact that the second target session corresponding to the second target session unit in the session list has first target first-level session information in an unread state, second prompt information is displayed at an associated position of the second target session unit, and the second prompt information is used to prompt that the first target first-level session information is in an unread state.
2. The method according to claim 1, characterized in that The session units in the session list all correspond to first-level sessions.
3. The method according to claim 1, characterized in that The target secondary session information is the associated secondary session information of the current user, and in response to the presence of unread target secondary session information in a first target session corresponding to a first target session unit in the session list, displaying first prompt information at a location associated with the first target session unit includes: Get secondary session information; In response to the secondary session information being the associated secondary session information of the current user and the associated secondary session information being in an unread state, first prompt information is displayed at an associated position of a first target session unit, and the first target session corresponding to the first target session unit is the primary session to which the secondary session information belongs.
4. The method according to claim 3, characterized in that The associated secondary session information includes first associated secondary session information and / or second associated secondary session information, wherein The first associated secondary session information is sent in a target secondary session, and the target secondary session is created based on the primary session information sent by the current user in the first target session; The second associated secondary session information mentions the current user.
5. The method according to claim 4, characterized in that The prompt priority of the first associated secondary session information in the session list is lower than the prompt priority of the second associated secondary session information in the session list.
6. The method according to claim 1, characterized in that The first prompt information includes a secondary conversation prompt identifier and / or a secondary conversation prompt character.
7. The method according to claim 1, characterized in that The second prompt information and the first prompt information have different display styles.
8. The method according to claim 7, characterized in that The display priority of the second prompt information is higher than the display priority of the first prompt information; or The second prompt information and the first prompt information can be displayed simultaneously.
9. The method according to any one of claims 1 to 8, characterized in that: After displaying the first prompt information at the associated position of the first target conversation unit, the method further includes: In response to a first trigger operation on the first target session unit, displaying a primary session interface of the first target session and displaying a first switch control in the primary session interface, wherein the first switch control is configured to trigger displaying at least part of the secondary session information of the first target session in the primary session interface; and / or In response to a second triggering operation on the first prompt information, a secondary session interface corresponding to the target secondary session information is displayed, and the target secondary session information is displayed in the secondary session interface.
10. The method according to claim 9, characterized in that After displaying the secondary session interface corresponding to the target secondary session information, the method further includes: In response to an interface switching operation performed within the secondary conversation interface, different secondary conversation interfaces are switched and displayed, and the target secondary conversation information in an unread state exists in each of the different secondary conversation interfaces.
11. The method according to claim 9, characterized in that The displaying of the first switching control in the primary conversation interface includes one of the following: In response to the first target conversation not having any unread primary conversation information, displaying a first switching control in the primary conversation interface; In response to the presence of second-target first-level conversation information in an unread state in the first-target conversation, displaying a second toggle control in the first-level conversation interface; and in response to the second-target first-level conversation information switching from an unread state to a read state, switching the second toggle control to display the first toggle control; In response to the presence of unread second target primary conversation information in the first target conversation, displaying a first switching control and a second switching control in the primary conversation interface; The second switching control is configured to trigger displaying at least part of the second target first-level conversation information in an unread state in the first-level conversation interface.
12. The method according to claim 9, characterized in that After displaying the first switching control in the first-level conversation interface, the method further includes: In response to a third trigger operation on the first switching control, current first-level session information is displayed in the first-level session interface, and at least part of the second-level session information of the current first-level session information is associated and displayed, wherein the current first-level session information includes target second-level session information that is in an unread state.
13. The method according to claim 12, characterized in that The current first-level session information is the nth first-level session information of the target second-level session information in the first target session that is in an unread state, where n is a positive integer.
14. The method according to claim 12, characterized in that The at least part of the secondary session information includes first m pieces of secondary session information in the current primary session information, where m is a positive integer; and / or The at least part of the secondary session information includes the first m pieces of unread secondary session information in the current primary session information.
15. The method according to claim 12, characterized in that After associating and displaying at least part of the secondary session information of the current primary session information, the method further includes: In response to a secondary session information switching operation for the current primary session information, the secondary session information displayed in association with the current primary session information in the primary session interface is switched.
16. The method according to claim 9, characterized in that Also includes: In response to a third trigger operation on the first toggle control, the first toggle control remains displayed, and a preset indicator of the first toggle control indicates a relative positional relationship between a next piece of first-level conversation information and the current piece of first-level conversation information, where the next piece of first-level conversation information is closest to the current piece of first-level conversation information in a display order and there is an unread target second-level conversation information.
17. The method according to claim 16, characterized in that After the first switching control is maintained being displayed, the method further includes: In response to a third trigger operation on the first switching control, the next piece of first-level session information is switched to be displayed in the first-level session interface, and at least part of the second-level session information of the next piece of first-level session information is associated and displayed.
18. The method according to claim 16, characterized in that Also includes: In response to the absence of the next piece of first-level conversation information, the first switching control is canceled from being displayed in the first-level conversation interface.
19. A device for displaying a conversation list, characterized in that: include: A list display module is used to display the current user's conversation list, which is composed of conversation units of the first-level conversation; a first prompt module configured to display first prompt information at a location associated with a first target conversation unit in the conversation list, in response to the presence of unread target secondary conversation information in the first target conversation unit corresponding to the first target conversation unit in the conversation list, wherein the first prompt information is used to prompt that the target secondary conversation information is unread; The target secondary session information is session information in a secondary session of the first target session, and the secondary session of the first target session is a subsession of the first target session; The device further comprises: The second prompt module is configured to display second prompt information at an associated position of the second target conversation unit in response to the presence of first target first-level conversation information in an unread state in the second target conversation corresponding to the second target conversation unit in the conversation list, wherein the second prompt information is used to prompt that the first target first-level conversation information is in an unread state.
20. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor. The computer program is executed by the at least one processor to enable the at least one processor to perform the method for displaying a conversation list according to any one of claims 1 to 18.
21. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for displaying a conversation list according to any one of claims 1 to 18 when executed.
22. A computer program product, characterized in that The computer program product includes a computer program, and when the computer program is executed by a processor, the computer program implements the method for displaying a conversation list according to any one of claims 1 to 18.
Citation Information
Patent Citations
Message display method and device, user terminal and readable storage medium
CN114726947A