Session Message Display Method, Device, Electronic Device, and Storage Medium
By displaying the branch window in the communication application to display the target session message and its reply message, it solves the problem that users find it difficult to capture the replies of session message, and improves communication efficiency and targeting.
Patent Information
- Application Number
- CN202211191880.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-28
- Publication Date
- 2025-07-08
- Estimated Expiration
- 2042-09-28
AI Technical Summary
In communication applications, it is difficult for users to capture all replies for a certain session message, resulting in inefficient communication.
Provides a session message display method, which displays a branch window to display the target session message and its reply message in the group session window, realizes targeted reply to the target session message, and displays the branch window in the client that specifies the group member.
Clearly display all replies to the target session message, improve communication efficiency, avoid unrelated personnel participating in discussions, and achieve targeted and efficient message replies.
Smart Images

Figure CN115514727B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technologies, and particularly to a method, apparatus, electronic device, and storage medium for displaying session messages. Background Art
[0002] With the popularization of the mobile Internet, communication applications developed using Instant Messaging (IM) technology have been widely applied to people's daily lives, enabling different users to communicate with each other over the network through communication applications.
[0003] Currently, in the scenario of communicating based on communication applications, users can send session messages through communication applications to communicate. When a user wants to reply to a certain session message, the reply messages are still scattered among numerous session messages, and it is usually difficult for the user to capture the reply messages for that session message, resulting in low communication efficiency. Summary of the Invention
[0004] Embodiments of this application provide a method, apparatus, electronic device, and storage medium for displaying session messages, which can assist users in quickly capturing all reply messages for a certain session message and improving communication efficiency.
[0005] Embodiments of this application provide a method for displaying session messages, including:
[0006] Displaying a group session window for displaying session messages between at least two group members;
[0007] In response to a first specified reply operation of any group member for a target session message, displaying a branch window in the client of the specified group member, where the target session message is displayed in the branch window, and the target session message is any one of the session messages in the group session window;
[0008] In response to a second specified reply operation of any specified group member for the target session message in the branch window, displaying a target reply message corresponding to the second specified reply operation in the branch window.
[0009] Embodiments of this application also provide a device for displaying session messages, including:
[0010] A display module for displaying a group session window for displaying session messages between at least two group members;
[0011] The first response module is used to respond to a first specified reply operation of any group member for a target session message, and display a branch window in the client of the specified group member. The target session message is displayed in the branch window, and the target session message is any one of the session messages in the group session window;
[0012] The second response module is used to respond to a second specified reply operation of any specified group member for the target session message in the branch window, and display a target reply message corresponding to the second specified reply operation in the branch window.
[0013] An embodiment of the present application further provides an electronic device, including a memory storing multiple instructions; the processor loads the instructions from the memory to execute the steps in any of the session message display methods provided by the embodiments of the present application.
[0014] An embodiment of the present application further provides a computer-readable storage medium, which stores multiple instructions, and the instructions are suitable for being loaded by a processor to execute the steps in any of the session message display methods provided by the embodiments of the present application.
[0015] Embodiments of the present application can display a group session window, which is used to display session messages between at least two group members; in response to a first specified reply operation of any group member for a target session message, display a branch window in the client of the specified group member; then, in response to a second specified reply operation of any specified group member for the target session message in the branch window, display a target reply message corresponding to the second specified reply operation in the branch window. Based on the branch window, targeted replies to the target session message can be realized, and the target reply messages of the target session message are displayed in the message display area, which can clearly display all the target reply messages for the target session message, so that users can quickly obtain all the reply messages for any session message and improve communication efficiency. Moreover, the branch window is displayed in the client of the specified group member, which can further improve the pertinence of the target session message and further improve communication efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those skilled in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0017] Figure 1 is a schematic diagram of the scenario of the session message display method provided by the embodiment of the present application;
[0018] Figure 2 It is a schematic flow chart of the session message display method provided by an embodiment of the present application;
[0019] Figure 3 It is a schematic interface diagram of the display reply control provided by an embodiment of the present application;
[0020] Figure 4 It is a schematic diagram of the display of candidate group members provided by an embodiment of the present application;
[0021] Figure 5 It is a schematic interface diagram of the display of a branch window provided by an embodiment of the present application;
[0022] Figure 6 It is a schematic interface diagram of the display of a branch window in an overlay display manner provided by an embodiment of the present application;
[0023] Figure 7 It is a schematic interface diagram of the display of a branch window in a separate display manner provided by an embodiment of the present application;
[0024] Figure 8 It is a schematic interface diagram of the display of the total number of target reply messages in a branch window provided by an embodiment of the present application;
[0025] Figure 9 It is a schematic interface diagram of the display of brief information in a group session window provided by an embodiment of the present application;
[0026] Figure 10 It is a schematic diagram of folding a branch window into a branch control provided by an embodiment of the present application;
[0027] Figure 11 It is a schematic diagram of the fusion display of multiple branch windows provided by an embodiment of the present application;
[0028] Figure 12 It is a schematic flow chart of the session message display method provided by another embodiment of the present application;
[0029] Figure 13 It is a schematic interface diagram of the display of a branch window provided by another embodiment of the present application;
[0030] Figure 14 It is a schematic structural diagram of the session message display device provided by an embodiment of the present application;
[0031] Figure 15 It is a schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners
[0032] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of protection of the present application.
[0033] The embodiments of the present application provide a session message display method, apparatus, electronic device, and storage medium.
[0034] Among them, the session message display apparatus can be specifically integrated in an electronic device, and the electronic device can be a device such as a terminal or a server. Among them, the terminal can be a device such as a mobile phone, a tablet computer, a smart Bluetooth device, a laptop computer, or a personal computer (PC); the server can be a single server or a server cluster composed of multiple servers.
[0035] In some embodiments, the session message display apparatus can also be integrated in multiple electronic devices. For example, the session message display apparatus can be integrated in multiple servers, and the session message display method of the present application can be implemented by multiple servers.
[0036] In some embodiments, the server can also be implemented in the form of a terminal.
[0037] For example, please refer to Figure 1 , which shows a schematic diagram of a scenario of the session message display method provided by the embodiments of the present application. The scenario can include at least one terminal 1000, at least one server 2000, at least one database 3000, and a network 4000. The terminal 1000 held by the user can be connected to the server 2000 through the network 4000.
[0038] Among them, the terminal 1000 is any device with computing hardware that can support and execute communication software products; the server 2000 can be a single server or a server cluster; the network 4000 can be a wireless network or a wired network. For example, the wireless network is a wireless local area network (WLAN), a local area network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, etc. In addition, different terminals 1000 can be connected to the server 2000 through installed communication software products. In addition, the scenario can also include at least one database 3000, and the database 3000 is used to store the data generated when the user uses the terminal 1000 for resource processing.
[0039] A communication application can be installed on the terminal 1000 to provide a communication function with different users. For example, user A uses terminal A and user B uses terminal B. User A can send a session message to user B through the communication application installed on terminal A. The session message is first transmitted to the server 2000 and then forwarded by the server 2000 to terminal B used by user B.
[0040] When communicating, the terminal 1000 can provide a graphical user interface and display a group session window on the graphical user interface. The group session window is used to display session messages between at least two group members; in response to a first specified reply operation of any group member for a target session message, a branch window is displayed in the client of the specified group member, and the target session message is displayed in the branch window. The target session message is any one of the session messages in the group session window; in response to a second specified reply operation of any specified group member for the target session message in the branch window, a target reply message corresponding to the second specified reply operation is displayed in the branch window.
[0041] The following will be described in detail respectively. In the scenario of communicating based on a communication application, for the same session object, the session messages are displayed in the same group session window in chronological order. If the session object is a group, for a session message within the group, if many users reply, it will cause the displayed session message to be too long. If there are session messages of other topics initiated by other users in the middle, the session messages of different topics will be mixed together, making it easy for users to miss the replies of other users to their own sent session messages and difficult to know the relationship between different session messages, resulting in low communication efficiency. Therefore, the embodiments of the present application provide the following method to solve the problem of difficult to capture all reply messages for a certain session message.
[0042] In this embodiment, a method for displaying session messages is provided, as Figure 2 shown. The specific process of this method for displaying session messages can be as follows:
[0043] S110. Display a group session window, where the group session window is used to display session messages between at least two group members.
[0044] A Graphical User Interface (GUI) refers to a computer operation user interface displayed graphically. A terminal device can interact with a user through the graphical user interface. The ways for the terminal device to provide the graphical user interface to the user can include various methods. For example, it can be rendered and displayed on the display screen of the terminal, or provided to the user through holographic projection. For instance, a terminal device can include a display screen and a processor. The display screen is used to present the graphical user interface, and the graphical user interface includes a game screen. The processor is used to run an application program, generate the graphical user interface, and control the display of the graphical user interface on the display screen.
[0045] An application program (i.e., a client) can run on the terminal device, and the screen in the application program can be presented on the graphical user interface. When an application program runs on the terminal device, the application program can create and display a corresponding window on the graphical user interface. A window is a visual interface between the user and the application program that generates the window. When the user operates an object in the window, the application program can respond to the user's operation and implement the corresponding function. A group session window refers to a visual interface for information communication between at least two group members provided by a communication application program, and group members refer to members in the same session group. Among them, a session group includes at least two group members. For example, user A can initiate a session with user B, then a group session window between user A and user B can be displayed, and the session messages that have been sent can be displayed in the group session window. Among them, only user A and user B can know the session messages.
[0046] For another example, user A, user B, and user C can be in the same session group, then a group session window corresponding to the session group can be displayed, and the session messages that have been sent can be displayed in the group session window. The session messages displayed in the group session window can only be known by the members in the session group.
[0047] A session message refers to a message used to communicate with other users, which can include one or more of text, voice, image, video, and link.
[0048] In some embodiments, before displaying the group session window, it can also include displaying candidate session objects on the graphical user interface; in response to a selection operation on the candidate session objects, determining the target session object and displaying the group session window of the target session object.
[0049] Among them, the candidate session object refers to an object that can conduct a session within a communication application. The candidate session object can refer to a single user or a session group composed of multiple users. Specifically, the single user can be any user registered in the communication application or a user having a specific relationship with the current user in the communication application, such as a friend relationship, being in the same session group, etc.; the session group can refer to a group joined by the current user.
[0050] As an implementation manner, when displaying candidate session objects, it can be to display a historical session list in response to the startup operation of the communication application. Among them, the historical session list includes candidate session objects that have conducted sessions during a historical time period, where the historical time period refers to a time period before the current time. That is to say, after the communication application is started, the historical session list can be displayed by default, and the candidate session objects that have conducted sessions during the historical time are shown in the historical session list. For example, if user A has sessions with user B, user C, and group D including user A, user B, and user C during the historical time period, then the candidate session objects in the historical session list can include user B, user C, and group D.
[0051] As another implementation manner, when displaying candidate session objects, it can be to display a contact control; in response to a user operation on the contact control, display a candidate session object list, where the candidate session object list includes all candidate session objects. That is to say, after the communication application is started, while the historical session list is displayed by default, the contact control can be displayed, and then the user can click on the contact control to display the candidate session object list.
[0052] Then, in response to a selection operation on the candidate session object, determine the target session object and display the group session window of the target session object.
[0053] S120. In response to a first specified reply operation of any group member on the target session message, display a branch window on the client of the specified group member, and the target session message is displayed in the branch window.
[0054] The displayed group session window can include session messages between at least two group members, and the target session message refers to any one of the session messages in the group session window. Among them, the target session message can be determined based on a user operation. For example, regard the session message on which the first specified reply operation acts as the target session message. For example, session messages x1, x2, and x3 are displayed in the group session window. If the first specified reply operation acts on session message x2, the target session message is session message x2.
[0055] Among them, any group member can perform a first specified reply operation on the target session message, so as to display a branch window on the client of the specified group member. The branch window refers to another window different from the group session window, and the target session message can be displayed in the branch window. The branch window may include a message display area for the target session message and a reply area for the target session message.
[0056] Among them, the first specified reply operation may include operations such as touch, swipe, press-and-slide, long press, short press, double click, click, end of swipe, etc. For example, in some embodiments, the first specified reply operation may be a short press operation; in some embodiments, the first specified reply operation may be a long press operation; in some embodiments, the specified reply operation may be a touch operation.
[0057] In some embodiments, the first specified reply operation may also be a combined operation. For example, it may be a combined operation of a touch operation and a click operation, or a combined operation of a click operation plus a click operation, etc.
[0058] In some embodiments, the first specified reply operation may include a first operation, a second operation, and a selection operation. When a branch window is displayed on the client of the specified group member in response to the specified reply operation for the target session message, it may be that in response to the first operation for the target session message, a reply control corresponding to the target session message is displayed; in response to the second operation for the reply control, candidate group members are displayed; in response to the selection operation for the candidate group members, the specified group member is determined from the candidate group members, and the branch window is displayed on the client of the specified group member.
[0059] Among them, the first operation is used to control the display of the reply control corresponding to the target session message, and may include operations such as touch, swipe, press-and-slide, long press, short press, double click, click, end of swipe, etc. For example, the first operation may be a touch operation. When a touch operation on the target session message is detected, a reply control corresponding to the target session message may be displayed. For example, refer to Figure 3 The interface schematic diagram showing the display of the reply control is shown. Among them, the target session message 101 is "What time to go for dinner today". When a touch operation on the target session message 101 is detected, the reply control 102 may be displayed.
[0060] The second operation is used to control the display of candidate group members. Among them, the candidate group members refer to all members in the group where the target session message is located. The second operation may be operations such as touch, swipe, press-and-slide, long press, short press, double click, click, etc. For example, the second operation may be a click operation. When a click operation on the reply control is detected, candidate group members may be displayed. For example, refer toFigure 4 A schematic diagram showing candidate group members. For example, the group members include user A, user B, user C, and user D. Among them, when the reply control 102 is clicked, the candidate group members 103 can be displayed. In some embodiments, when displaying the candidate group members 103, the account information of the candidate group members can be displayed, such as avatars, account names, and so on.
[0061] The selection operation is used to select specified group members from the candidate group members. It should be noted that the group member who sends the target session message and the group member who executes the second operation are the default specified group members. That is to say, the specified group members default include the group member who sends the target session message and the group member who executes the second operation.
[0062] In some embodiments, the selection operation may include a selection operation and a confirmation operation. If only the confirmation operation in the selection operation is detected, all candidate group members can be directly determined as specified group members, and a branch window is displayed in the clients of the specified group members. For example, the candidate group members are user A, user B, user C, and user D. If only the confirmation operation is detected, user A, user B, user C, and user D can be used as the specified group members, and a branch window is displayed for the specified group members.
[0063] In some embodiments, if the selection operation is detected, the candidate group members affected by the selection operation can be determined as the specified group members. When the confirmation operation is detected, a branch window is displayed in the clients of the specified group members. For example, if the user's selection operation affects user B and user C, a branch window is displayed in the clients of user B and user C.
[0064] In some embodiments, the user can preset the specified group members corresponding to the branch window. For example, the user sets that when creating any branch window, the corresponding specified group members default to all members in the group. After the reply control corresponding to the target session message is displayed, after detecting the second operation on the reply control, the branch window can be directly displayed in the clients of the specified group members without performing the selection operation of the specified group members.
[0065] For example, refer to Figure 5 The interface schematic diagram showing the display of the branch window. Among them, when it is detected that the candidate group member 103 is clicked, the branch window 104 can be displayed, and the branch window 104 can be displayed in the clients of the specified group members. Among them, the branch window 104 may include a message display area 1041 and a reply area 1042. The target session message can be displayed in the branch window so that it can be clearly known which target session message the branch window is created for.
[0066] In some embodiments, the display methods of the branch window and the group session window can include various types. For example, side-by-side display, overlay display, or separate display, etc.
[0067] Among them, side-by-side display means that the branch window and the group session window are simultaneously displayed within the graphical user interface, and there is no overlapping area between the group session window and the branch window. For example Figure 5 The display method shown in is a side-by-side display. Of course, in the side-by-side display method, the branch window can also be displayed on the right side, upper side, lower side, upper right, lower right, etc. of the group session window, and can be specifically set according to actual needs, and no specific limitation is made here.
[0068] Overlay display means that the branch window and the group session window are simultaneously displayed within the graphical user interface, there is an overlapping area between the group session window and the branch window, and the branch window clearly points to the corresponding target session message. For example, please refer to Figure 6 which shows a schematic diagram of the interface for displaying the branch window in an overlay display manner.
[0069] Separate display means that the branch window and the group session window are not simultaneously displayed within the graphical user interface. That is, when the group session window is displayed, the branch window will not be displayed, and when the branch window is displayed, the group session window will not be displayed. For example, please refer to Figure 7 which shows a schematic diagram of the interface for displaying the branch window in a separate display manner.
[0070] In order to obtain a better display effect, the target display method can be determined according to the size of the branch window and the size of the graphical user interface, and the branch window can be displayed in the target display method. In some embodiments, the branch window, the group session window, and the graphical user interface all have fixed sizes. When determining the target display method, it can be based on the size of the group session window and the size of the graphical user interface to calculate the size of the remaining displayable area; if the size of the branch window is less than or equal to the size of the remaining displayable area, side-by-side display or overlay display is determined as the target display method; if the size of the branch window is greater than the size of the remaining displayable area, separate display is determined as the target display method.
[0071] It should be noted that the sizes of the graphical user interfaces provided by the same terminal may be different. For example, on a terminal with a foldable screen, when the screen is in the folded state, the size of the graphical user interface it provides is smaller; when the screen is in the unfolded state, the size of the graphical user it provides is larger. Thus, on the same terminal, the display method of the branch window can also be automatically adjusted according to the size of the provided graphical user interface to achieve adaptive display on graphical user interfaces of different sizes, with a better display effect.
[0072] S130. In response to a second specified reply operation on the target session message by any specified group member in the branch window, display a target reply message corresponding to the second specified reply operation in the branch window.
[0073] After the branch window is displayed on the client of the specified group member, any specified group member can perform a second specified reply operation on the target session message in the branch window, and a target reply message corresponding to the second specified reply operation is displayed in the branch window.
[0074] That is to say, the target session message can be displayed in the branch window, and the target reply message for the target session message can also be displayed, so that the target reply message for the target session message can be centrally displayed in the branch window, facilitating the user to clearly know the relationship between the target session message and the target reply message. Moreover, the branch window is only visible to the specified group members, ensuring that there will be no messages sent by other irrelevant members in the branch window, which can further improve the communication efficiency.
[0075] In some embodiments, the branch window may include a message display area and a reply area. Among them, in the message display area, the target reply message corresponding to the target session message, the time of sending the target reply message, the account information corresponding to the user who sent the target reply message, etc. can be displayed; and the reply area can be used to receive reply messages for the target session message.
[0076] The message display area and the reply area in the branch window will be described in detail below.
[0077] The message display area can be used to display the target reply message, and the target reply message is the message input through the reply area and then sent. The message input through the reply area in the branch window can be regarded as a reply message for the target session message. Sending this reply message can obtain the target reply message, and the message display area in the branch window can display the target reply message.
[0078] Among them, if there is a corresponding target reply message for the target session message, the corresponding target reply message can be displayed in the message display area of the branch window; if there is no corresponding target reply message for the target session message, the content displayed in the message display area is empty. When displaying the target reply message in the message display area, the account identifier corresponding to the account that sent the target reply message, the corresponding sending time, etc. can be displayed simultaneously.
[0079] In some embodiments, in order to enhance the pertinence to the target session message, the target session message can be displayed in the message display area.
[0080] In some embodiments, it may also be to determine the way to display the target session message in the branch window according to the target display mode of the branch window. Among them, the way to display the target session message may be a text mode and a graphic mode. The text mode means that the target session message is displayed in the message display area of the group session window, and the graphic mode means that the group session window and the target session message are associated and displayed in a graphic pointing manner. When determining the way to display the target session message, a corresponding relationship between the target display mode and the way to display the target session message may be pre-stored. After determining the target display mode, the way to display the target session message is determined based on this corresponding relationship. For example, this corresponding relationship can be referred to in Table 1.
[0081] Table 1
[0082] Target display mode Side-by-side display Overlay display Separate display Method of displaying the target session message Text mode Graphic mode Text mode
[0083] As can be seen from Table 1, if the target display mode is side-by-side display or separate display, the target session message needs to be displayed in text mode in the message display area; if the target display mode is overlay display, the target session message is displayed in graphic mode within the group session window.
[0084] In some embodiments, in order to facilitate quickly knowing the reply situation of the target reply message, the total number of target reply messages may also be obtained; the total number is displayed in the message display area. The target reply message is a successfully sent reply message for the target session message. Usually, there may be multiple target reply messages. In order to facilitate quickly knowing the reply situation of the target session message, the total number of target reply messages for the target session message can be obtained and the total number is displayed in the message display area together. For example, refer to Figure 8 , which shows a schematic interface diagram of displaying the total number of target reply messages in the branch window. Figure 8 If there are 2 target reply messages in, then "2 replies" can be displayed below the target session message that can be displayed in the message display area.
[0085] In some embodiments, in order to facilitate the user to know the reply situation of the target session message, the content displayed in the branch window may also be analyzed and processed to obtain the brief information corresponding to the branch window. The brief information includes at least one of the total number of target reply messages, the account identifier corresponding to the account sending the target reply message, and the time information of the latest target reply message; in the group session window, the brief information is associated and displayed with the target session message.
[0086] Among them, the summary information refers to the information obtained by integrating the content displayed in the branch window, which may include at least one of the total number of target reply messages, the account identifier corresponding to the account sending the target reply message, and the time information of the latest target reply message.
[0087] The account identifier corresponding to the account sending the target reply message refers to the account information corresponding to the account sending the target reply message. For example, the account name, account avatar, and so on.
[0088] Based on the foregoing, it can be seen that the total number of target reply messages can be displayed in the message display area in the branch window. Thus, the total number of target reply messages can be directly obtained. Moreover, the target reply message, the account identifier corresponding to the account sending the target reply message, and the sending time of the target reply message can also be displayed in the message display area. When obtaining the account identifier corresponding to the account sending the target reply message, the account identifiers corresponding to all accounts sending the target reply messages can be directly obtained.
[0089] The latest target reply message refers to the target reply message with the smallest time difference between the sending time and the current time. For example, the target reply messages include y1, y2, and y3. Among them, the sending time of y1 is 2022-07-19, 09:07:04, the sending time of y2 is 2022-07-19, 09:07:36, and the sending time of y3 is 2022-07-19, 09:09:20. If the current time is 2022-07-19, 09:10:36, it can be seen that the time difference between the current time and the sending time from small to large is: y3 < y2 < y1. Thus, the latest target reply message is y3.
[0090] The time information of the latest target reply message may refer to the sending time of the latest target reply message, or may refer to the time interval between the sending time and the current time, which can be specifically set according to actual needs and is not specifically limited here.
[0091] After analyzing and obtaining the summary information, in the group chat window, the summary information can be associated and displayed with the target chat message. Among them, the associated display means that the summary information is displayed near the target chat message. For example, refer to Figure 9 , which shows a schematic diagram of the interface for displaying the summary information in the group chat window. In Figure 8 , the summary information is displayed below the target chat message 101.
[0092] In some embodiments, when displaying the summary information, the account identifier, the total number of target reply messages, and the time information of the latest target reply message can be displayed in sequence.
[0093] Among them, in order to prevent the abbreviated information from obscuring the conversation messages displayed in the group conversation window, only a specified number of account identifiers may be displayed. For example, according to the sending time of the target reply message, the account identifiers corresponding to the latest specified number of target reply messages may be displayed. As mentioned in the previous example, there are target reply messages y1, y2, and y3. If y1 is sent by user A, y2 is sent by user B, and y3 is sent by user C, and the specified number is 2, then when y3 has not been received, only the account identifiers of user A and user B are displayed. When y3 is received, the account identifiers of user B and user C are displayed. If y4 sent by user A is received continuously, then the account identifiers of user C and user A are displayed.
[0094] As an implementation manner, it may be to display a specified number of account identifiers in sequence according to the order in which the target reply messages are received. For example, the account identifier of user C is displayed to the left of the account identifier of user A, indicating that the time when user C last sent the target reply message is earlier than that of user A.
[0095] As an implementation manner, when displaying a specified number of account identifiers, it may also be to sort the specified number of account identifiers according to the number of target reply messages sent. For example, user A sent 6 target reply messages, user B sent 1 target reply message, and user C sent 3 target reply messages. The account identifiers of user A and user C may be displayed, and the account identifier of user A is displayed to the left of the account identifier of user C.
[0096] In some implementation manners, the abbreviated information and the branch window of the same target session information may be displayed simultaneously.
[0097] In some implementation manners, in response to the folding operation of the branch window, the abbreviated information may be displayed in the group conversation window. That is to say, when the abbreviated information is displayed in the group conversation window for the same target session information, the branch window is folded; when the branch window is displayed, the abbreviated information is not displayed in the group conversation window. Specifically, it can be set according to actual needs and will not be specifically limited here. Among them, the folding operation can temporarily fold the branch window. When it is necessary to expand the branch window, the branch window can be displayed again based on the expansion operation.
[0098] In some implementation manners, in response to the folding operation of any specified group member on the branch window, the branch window may be converted into a branch control and associated with the target session message and displayed in the group conversation window; in response to the expansion operation on the branch control, the branch control is expanded into the branch window.
[0099] In response to the folding operation of the branch window, the branch window can be folded into a branch control and displayed near the target session message in the group session window. When the branch window needs to be expanded, it can be in response to the expansion operation on the branch control to redisplay the branch window. Refer to Figure 10 , which shows a schematic diagram of displaying the folding of the branch window into a branch control. In Figure 10 , the branch window can be folded into the branch control 105 and displayed on the right side of the target session message 101.
[0100] For example, the folding operation is a double-click operation, and the expansion operation is a single-click operation. Thus, when the user wants to fold the branch window displayed on the client, a double-click operation can be performed within the branch window to fold the branch window into a branch control. When the user wants to expand the branch window again, the branch control can be directly clicked to expand the branch window again.
[0101] The branch window can also include a reply area. When displaying the target reply message corresponding to the second specified reply operation in response to the second specified reply operation, it can be in response to the input operation of any specified group member in the reply area to obtain the input reply message; in response to the sending operation for the input reply message, the input reply message is used as the target reply message corresponding to the second specified reply operation, and the target reply message is displayed in the message display area.
[0102] Among them, the second specified reply operation can include an input operation and a sending operation. The reply area can be used to receive reply messages for the target session message. Any specified group member can input content in the reply area, and the electronic device can obtain the input reply message in response to the input operation in the reply area. After any specified group member inputs a reply message in the reply area, in response to the sending operation for the input reply message, the input reply message can be used as the target reply message and displayed in the message display area.
[0103] In some embodiments, after sending the target reply message, a prompt can also be given to the specified group members who receive the target reply message. As mentioned above, the branch window is visible to the specified group members. To avoid frequently prompting all the specified group members, only the group member who sent the target session message can be prompted, or the specified group members mentioned in the target reply message can be prompted.
[0104] Thus, in some embodiments, in order to achieve effective message prompting and avoid frequent message prompting, after, in response to the sending operation of the reply message for the input, the reply message of the input is used as the target reply message corresponding to the second specified reply operation, it is also possible to determine the members to be prompted based on the target reply message corresponding to the second specified reply operation; and send a prompt message to the clients of the members to be prompted.
[0105] The members to be prompted refer to the users who need to be prompted with messages after the target session message is sent. When determining the members to be prompted, it can be the unique identifier corresponding to the account of the members to be prompted. Among them, the unique identifier refers to the globally unique identifier automatically assigned by the application program to the user after the user registers an account in the communication application program, that is, a unique identifier can uniquely represent a user account.
[0106] As an implementation, when determining the members to be prompted, it can be determined according to the specific content of the target reply message. For example, if the target reply message includes a prompt tag, the group members who sent the target session message and the group members indicated by the prompt tag are determined as the members to be prompted; if the target reply message does not include the prompt tag, the group members who sent the target session message are determined as the members to be prompted.
[0107] Among them, the prompt tag refers to a special tag preset to indicate a certain user. The manifestation form of the special tag can be any symbol, such as "@", and the users that the prompt tag can indicate are any one or more of the specified group members in the branch window. If the target reply message includes a prompt tag, it indicates that the target reply message may require the special attention of the specified group members indicated by the prompt tag.
[0108] Therefore, if the target reply message includes a prompt tag, the group members indicated by the prompt tag and the group members who sent the target session message can be determined as the members to be prompted; if the target reply message does not include a prompt tag, the group members who sent the target session message are directly determined as the members to be prompted.
[0109] For example, the target session message is a message of "What time to go to eat today" sent by user A, the specified group members are user B and user C, and the target reply message sent by user B in the branch window is "Ask user C@user C". At this time, the target reply message carries the prompt tag "@", and the specified group member indicated by the prompt tag is user C. Therefore, user A and user C can be determined as the members to be prompted.
[0110] After determining the member to be prompted, a prompt message can be sent to the client of the member to be prompted, so as to prompt the member to be prompted to view the target reply message in time. In some embodiments, when the member to be prompted views the target reply message indicated by the prompt message, the branch window corresponding to the target session message can be directly opened, and the target reply message can be located in the message display area, so that the member to be prompted can quickly know the target reply message indicated by the prompt message.
[0111] It should be noted that each time a target reply message for the target session message is newly added, the total number and summary information of the target reply messages displayed in the message display interface need to be updated.
[0112] Since any session message in the group session window can be used as the target session message to display the corresponding branch window, when the user switches to display the branch window corresponding to another target session message, the currently displayed branch window can be automatically collapsed.
[0113] In other embodiments, it can also be to display a preset number of branch windows simultaneously. For example, when the branch window 1 corresponding to the target session message 1 is being displayed, the user can control to display the branch window 2 corresponding to the target session message 2 at this time, and the branch window 1 and the branch window 2 can be displayed simultaneously. The display form of the preset number of branch windows displayed simultaneously is not specifically limited here. It can be to display another branch window on the right side of a branch window, or to reduce the size of the branch window and display two branch windows side by side vertically.
[0114] When the number of displayed branch windows is equal to the preset number, the branch window that was displayed first can be preferentially collapsed according to the display time of the branch window. For example, the preset number is 2, and the user opens the branch window 1 and the branch window 2 in sequence. If the branch window 3 wants to be displayed at this time, the branch window 1 can be automatically collapsed, and the branch window 2 and the branch window 3 can be displayed.
[0115] Of course, it can also be to collapse the branch window according to the time interval between the sending time of the latest target reply message displayed in the branch window and the current time. For example, the time intervals between the sending time of the latest target reply message in the branch window 1 and the branch window 2 and the current time are 3 minutes and 10 minutes respectively. The branch window 2 with a longer time interval can be selected to be collapsed to facilitate the user to know the latest target reply message.
[0116] In some embodiments, since the branch window is visible to the specified group members, there may be multiple branch windows displayed for the same target session message on the client of a certain specified group member. For example, the target session message is "What time shall we go for dinner today" sent by user A. User A displays branch window A on the clients of user B and user C based on the first specified reply operation, and user D displays branch window D on the client of user C based on the first specified reply operation. Then, for the client of user C, branch window A and branch window D are displayed simultaneously for this target session message.
[0117] As an implementation, multiple branch windows for the same target session message can be fused and displayed. For example, two message display areas are displayed within the branch window, and the initiating user of the branch window and the corresponding specified group members are displayed in their respective display areas. For example, refer to Figure 11 , which shows a schematic diagram of the fused display of multiple branch windows. Among them, branch window 104 includes two message display areas 1041. When user C wants to reply to the message in branch window A, the message display area corresponding to branch window A, that is, the left message display area, can be selected first, and then the input reply message can be sent; if user C wants to reply to the message in branch window D, the message display area corresponding to branch window D, that is, the right message display area, can be selected, and then the input reply message can be sent.
[0118] In some embodiments, in order to facilitate distinguishing the message display areas corresponding to different branch windows, the backgrounds of different message display areas can be set to different colors.
[0119] As an implementation, a candidate branch list can also be provided, and the branch window to be displayed is selected based on user operations. For example, user C needs to display branch window A and branch window D for the same target session message. When only branch window A needs to be displayed on the client of user C, branch window A is directly displayed. If both branch window A and branch window D need to be displayed on the client of user C, a branch list is constructed according to the branch window initiators and the corresponding specified group members corresponding to branch window A and branch window D. User C can select any branch window indicated in the branch list for display, such as displaying branch window D, and can switch back and forth between branch window D and branch window A through a preset quick operation.
[0120] In some embodiments, after the branch window is displayed on the client of the specified group member, in response to the closing operation of any specified group member on the branch window, the member to be closed can be determined; on the client of the member to be closed, the branch window is closed.
[0121] The displayed branch window can be closed according to user operations. Since the branch window is displayed on the clients of the specified group members, the specified group members can perform a close operation on the branch window. The electronic device can determine the member to be closed in response to the close operation of any specified group member on the branch window. Herein, the member to be closed refers to the specified group member who needs to close the display of the branch window.
[0122] In some embodiments, the close operation performed by some specified group members can only close the branch window displayed on their own clients, but the close operation performed by some specified group members can close the branch windows displayed on the clients of all specified group members. Thus, when determining the member to be closed in response to the close operation of any specified group member on the branch window, if the any specified group member is a preset group member, all specified group members can be determined as the members to be closed. The preset group members include the group members who sent the target session message and the group members who performed the first specified reply operation corresponding to the branch window; if the any specified group member is not the preset group member, the specified group member who performed the close operation is determined as the member to be closed.
[0123] That is to say, when the electronic device responds to the close operation of any specified group member on the branch window, it can determine whether the group member who performs the close operation is a preset group member. If it is a preset group member, the corresponding branch windows displayed on the clients of all specified group members are closed; if it is not a preset group member, only the branch window displayed on the client of the specified group member who performs the close operation is closed.
[0124] Among them, when the preset group member closes the branch window, the branch windows displayed on the clients of all specified group members can be closed, which can be understood as directly ending the chat in the branch window, and the branch window will no longer be displayed on the clients of other specified group members. When a non-preset group member closes the branch window, it can be considered as exiting the chat in the current branch window. Thus, only the branch window is closed on the client of the non-preset group member who performs the close operation.
[0125] As in the previous example, for the target session message sent by user A, user A displays branch window A on the clients of user B and user C based on the first specified reply operation. The specified group members of branch window A are user A, user B, and user C. Among them, user A is the group member who sent the target session message and is also the group member who performed the first specified reply operation corresponding to branch window A.
[0126] If user C performs an operation to close branch window A, only the branch window A on user C's client can be closed. If user A performs an operation to close branch window A, the branch window A displayed on the clients of users A, B, and C can be closed. This enables the group members who initiate the target session message and the group members who create the corresponding branch window to end the subsequent replies to the target session message according to actual needs.
[0127] It should be noted that the aforementioned folding of the branch window and closing of the branch window are two completely different functions. That is, in response to a folding operation of the branch window by any specified group member, the branch window can be folded into a branch control on the corresponding client, and the branch window can be displayed again based on the operation of the branch control. Closing the branch window ends the chat within the branch window. If a preset group member performs a closing operation on the branch window, the branch windows displayed among all specified group members will be closed to end the chat within the branch window, thereby enhancing the privacy of the chat within the branch window.
[0128] The session message display solution provided by the embodiments of this application can be applied to various instant messaging scenarios. For example, taking communication in a communication application as an example, it can achieve targeted replies to any session message, and the reply messages for a certain session message can be integrally displayed in a branch window, facilitating specified group members to focus on all the reply messages for a session message.
[0129] Through the method provided by the embodiments of this application, a group session window can be displayed. In response to a first specified reply operation of any group member for a session message within the group session window, a branch window is displayed in the client of the specified group member; in response to a second specified reply operation of any specified group member within the branch window, a corresponding target reply message is displayed within the branch window. Based on the branch window, targeted replies to the target session message can be achieved, and the corresponding target reply content is displayed in the branch window, clearly showing the relationship between the target session message and the target reply message, so that users can quickly obtain the reply messages for the target session message and improve communication efficiency. Moreover, the branch window is visible to specified group members, which can prevent irrelevant personnel from joining the discussion of the target session message and further improve communication efficiency.
[0130] The method described in the above embodiments will be further elaborated below.
[0131] In this embodiment, taking all group members as the specified group members by default, that is, the branch window is pre-set to be visible to all group members. During actual operation, there is no need to select specified group members again. The method of the embodiments of this application will be described in detail below.
[0132] As shown Figure 12 below, the specific process of a session message display method is as follows:
[0133] S210. Display a group session window, which is used to display session messages between at least two group members.
[0134] S220. In response to a first operation of any group member on a target session message, display a reply control for the target session message, where the target reply session message is any one of the session messages.
[0135] S230. In response to a second operation on the reply control, display a branch window in the clients of all group members. The branch window includes a message display area and a reply area, and the target session message is displayed in the message display area.
[0136] S240. In response to an input operation of any designated group member in the reply area of the branch window, obtain the input reply message.
[0137] S250. In response to a send operation on the input reply message, use the input reply message as the target reply message.
[0138] S260. Determine the members to be prompted based on the target reply message, display the target reply message in the message display area, and send a prompt message to the clients of the members to be prompted.
[0139] The above S210 to S260 can refer to the corresponding descriptions in the foregoing embodiments and will not be elaborated here. The following will illustrate the session message display method of the embodiments of the present application with a specific example.
[0140] If a group session window is displayed on the graphical user interface, the session messages in the group are included in the group session window, and the group members in the group can include multiple users. For example, it can include user A, user B, user C, and user D.
[0141] Among them, the session message is sent by at least one group member in the group. If the session message sent by user A is "What time to have dinner today", and the session message sent by user B immediately afterwards is "Where to go tomorrow". When the group members in the group need to reply to the session message "What time to have dinner today", they can also reply to the session message "Where to go tomorrow".
[0142] For example, if the first operation is a touch operation, the second operation is a click operation, and it is assumed that the group members default to pre-set the branch window to be visible to all group members. Refer to Figure 13, shows a schematic diagram of a display branch window. When user B wants to reply to the session message "What time to have dinner today" sent by user A, they can first touch this message to make this session message the target session message 101, display a reply control 102 for this target session message 101, and then click on this reply control 102 to show the branch window 104 corresponding to the target session message. Among them, the branch window 104 includes a message display area 1041 and a reply area 1042 for the target session message, and the branch window is by default visible to all group members.
[0143] If there is a target reply message for the target session message, the target session message, the target reply message, and the total number of target reply messages can be displayed in the message display area. If there is no target reply message for the target session message, the target session message is displayed in the message display area. Then user B can enter a reply message in the reply area of the branch window, such as "Ask user C @user C", and then in response to the send operation for the reply message, make the reply message the target reply message and display it in the message display area. At the same time, the total number of target reply messages displayed in the message display area will also change accordingly.
[0144] In response to the send operation for the reply message, while the target reply message is being displayed in the message display area, the members to be prompted, namely user C and user A, can also be determined based on the target reply message. Thus, after user B's target reply message is sent, only user C and user A in the group can receive the prompt information.
[0145] When user C receives the prompt information and views the target reply message "Ask user C @user C" sent by user B, user C can enter a reply message in the reply area within the branch window and send it, such as "11 o'clock", so that the target reply message "11 o'clock" sent by user C can be displayed in the message display area and a prompt message is sent to user A.
[0146] In the group session window, since there is a corresponding target reply message for the session message "What time to have dinner today" sent by user A, the account avatar corresponding to the account that sent the target reply message, the total number of target reply messages, and the time difference between the sending time of the latest target reply message and the current time can be displayed below this session message.
[0147] If user C wants to reply to the message "Where to go tomorrow" sent by user B, they can continue the operation so that a branch window for the conversation message "Where to go tomorrow" is displayed in the clients of the corresponding specified group members. If a specified group member needs to display a branch window for a different target conversation message, when the branch window for the conversation message "Where to go tomorrow" is displayed, the branch window for the conversation message "What time to have dinner today" can be automatically collapsed into a branch control.
[0148] Thus, the reply messages for different conversation messages are organized in their respective branch windows, which can avoid information interference and cross - reference. Group members can quickly obtain the reply content for each conversation message. Moreover, when implementing targeted replies to conversation messages based on the branch window, only the user who sent the conversation message and the users indicated by the prompt markers in the target reply message will be notified, which can avoid frequently notifying all group members and prevent other group members from being disturbed by information they don't need to pay attention to.
[0149] If user D doesn't want to see the branch window anymore, they can perform an operation to close the branch window. Thus, user D can exit the chat within the branch window. If user A or user B wants to end the chat within the branch window, user A or user B can perform an operation to close the branch window, thereby closing the branch windows displayed on the clients of all group members and directly ending the chat within the branch window. It can be seen that the branch window is only visible to the specified group members and the chat within the branch window can be ended as needed, which can prevent irrelevant personnel from participating in the discussion of the target conversation message and further improve communication efficiency.
[0150] As can be seen from the above, the conversation message display method provided by the embodiments of this application can implement targeted replies to any conversation message, and integrate and display the content of the targeted reply, that is, the target reply content, in the branch window corresponding to the target conversation message, which is convenient for users to know all the target reply messages for the target conversation message. And when sending message prompts, only the user who sent the target conversation message and the users indicated by the prompt markers are prompted. In a group scenario, it can both avoid frequently prompting all group members and achieve targeted message prompts, improving communication efficiency.
[0151] To better implement the above method, the embodiments of this application also provide a conversation message display device. This conversation message display device can be specifically integrated in an electronic device, and this electronic device can be devices such as a terminal, a server, etc. Among them, the terminal can be devices such as a mobile phone, a tablet computer, a smart Bluetooth device, a laptop computer, a personal computer, etc.; the server can be a single server or a server cluster composed of multiple servers.
[0152] For example, in this embodiment, taking the specific integration of the session message display device in the terminal as an example, the method of the embodiment of the present application will be described in detail.
[0153] For example, as Figure 14 shown, the session message display device 300 may include a display module 310, a first response module 320, and a second response module 330.
[0154] The display module 310 is configured to display a group session window, and the group session window is used to display session messages between at least two group members;
[0155] The first response module 320 is configured to, in response to a first specified reply operation of any group member for a target session message, display a branch window in the client of the specified group member, and the target session message is displayed in the branch window, and the target session message is any one of the session messages in the group session window;
[0156] The second response module 330 is configured to, in response to a second specified reply operation of any specified group member for the target session message in the branch window, display a target reply message corresponding to the second specified reply operation in the branch window.
[0157] In some embodiments, the specified reply operation includes a first operation, a second operation, and a selection operation. The first response module 320 is further configured to:
[0158] In response to the first operation for the target session message, display a reply control corresponding to the target session message;
[0159] In response to the second operation for the reply control, display candidate group members;
[0160] In response to the selection operation for the candidate group members, determine the specified group member from the candidate group members, and display the branch window in the client of the specified group member.
[0161] In some embodiments, the branch window includes a message display area and a reply area. The second specified reply operation includes an input operation and a send operation. The second response module 330 is further configured to:
[0162] In response to the input operation of any specified group member in the reply area, obtain the input reply message;
[0163] In response to the send operation for the input reply message, use the input reply message as the target reply message corresponding to the second specified reply operation, and display the target reply message in the message display area.
[0164] In some embodiments, after the input reply message is used as the target reply message corresponding to the second specified reply operation in response to the sending operation of the reply message for the input, the second response module 330 further includes:
[0165] A prompt determination unit, configured to determine members to be prompted based on the target reply message corresponding to the second specified reply operation;
[0166] A prompt unit, configured to send a prompt message to the clients of the members to be prompted.
[0167] In some embodiments, the prompt determination unit is further configured to:
[0168] If the target reply message includes a prompt mark, determine the group members who sent the target session message and the specified group members indicated by the prompt mark as the members to be prompted;
[0169] If the target reply message does not include the prompt mark, determine the group members who sent the target session message as the members to be prompted.
[0170] In some embodiments, the session message display device 300 further includes a third response module. After a first specified reply operation of any group member for a target session message is responded to and a branch window is displayed in the client of the specified group member, the third response module further includes:
[0171] A close determination unit, configured to determine members to be closed in response to a close operation of any specified group member for the branch window;
[0172] A close unit, configured to close the branch window on the clients of the members to be closed.
[0173] In some embodiments, the close determination unit is further configured to:
[0174] If the any specified group member is a preset group member, determine all specified group members as the members to be closed, where the preset group members include the group members who sent the target session message and the group members who performed the first specified reply operation corresponding to the branch window;
[0175] If the any specified group member is not the preset group member, determine the specified group member who performed the close operation as the member to be closed.
[0176] In some embodiments, the session message display device 300 further includes a fourth response module. After a first specified reply operation of any group member for a target session message is responded to and a branch window is displayed in the client of the specified group member, the fourth response module is further configured to:
[0177] In response to a folding operation on the branch window by any designated group member, convert the branch window into a branch control and display it in association with the target session message within the group session window;
[0178] In response to an expansion operation on the branch control, expand the branch control into the branch window.
[0179] In some embodiments, the second response module 330 is further configured to:
[0180] Analyze and process the content displayed in the branch window to obtain summary information corresponding to the branch window, where the summary information includes at least one of the total number of target reply messages, the account identifier corresponding to the account that sent the target reply message, and the time information of the latest target reply message;
[0181] In the group session window, display the summary information in association with the target session message.
[0182] In specific implementation, each of the above modules or units can be implemented as an independent entity, or can be combined arbitrarily to be implemented as the same or several entities. For the specific implementation of each of the above modules or units, reference can be made to the foregoing method embodiments, which will not be elaborated herein.
[0183] As can be seen from the above, the session message display device of this embodiment can display a group session window, which is used to display session messages between at least two group members; in response to a first designated reply operation on a target session message by any group member, display a branch window in the client of the designated group member; then, in response to a second designated reply operation on the target session message by any designated group member in the branch window, display a target reply message corresponding to the second designated reply operation in the branch window. Based on the branch window, targeted reply to the target session message can be realized, and the target reply messages of the target session message are displayed in the message display area, which can clearly display all the target reply messages for the target session message, so that users can quickly obtain all the reply messages for any session message and improve communication efficiency. Moreover, the branch window is displayed in the client of the designated group member, which can further improve the pertinence to the target session message and further improve communication efficiency.
[0184] Correspondingly, an embodiment of the present application further provides an electronic device, which can be a terminal or a server. The terminal can be a terminal device such as a smart phone, a tablet computer, a laptop computer, a touch screen, a game console, a personal computer, a personal digital assistant (Personal Digital Assistant, PDA), etc.
[0185] As shown in Figure 15 the figure Figure 15 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. The electronic device 400 includes a processor 401 having one or more processing cores, a memory 402 having one or more computer-readable storage media, and a computer program stored on the memory 402 and executable on the processor. Among them, the processor 401 is electrically connected to the memory 402. Those skilled in the art can understand that the structural diagram of the electronic device shown in the figure does not constitute a limitation on the electronic device, and it may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0186] The processor 401 is the control center of the electronic device 400. It uses various interfaces and lines to connect all parts of the entire electronic device 400. By running or loading software programs and / or modules stored in the memory 402, and by calling data stored in the memory 402, it executes various functions of the electronic device 400 and processes data, thereby monitoring the entire electronic device 400.
[0187] In the embodiment of the present application, the processor 401 in the electronic device 400 will load the instructions corresponding to the processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 will run the application programs stored in the memory 402 to implement various functions:
[0188] Display a group session window for displaying session messages between at least two group members; in response to a first specified reply operation of any group member for a target session message, display a branch window in the client of the specified group member, and the target session message is displayed in the branch window, and the target session message is any one of the session messages in the group session window; in response to a second specified reply operation of any specified group member for the target session message in the branch window, display a target reply message corresponding to the second specified reply operation in the branch window.
[0189] Based on the branch window, a targeted reply to the target session message can be realized, and the reply content to the target session message, that is, the target reply message, is integrated and displayed in the message display area, which is convenient for users to quickly know the target reply message of the target session message, so as to improve the communication efficiency.
[0190] In response to the first operation on the target session message, display a reply control corresponding to the target session message; in response to the second operation on the reply control, display candidate group members; in response to the selection operation on the candidate group members, determine designated group members from the candidate group members, and display the branch window on the clients of the designated group members.
[0191] Displaying the branch window on the clients of the designated group members can prevent irrelevant personnel from participating in the discussion of the target session message, further enhance the pertinence of the target session message, and improve communication efficiency.
[0192] In response to an input operation on the reply area by any designated group member, obtain the input reply message; in response to the send operation on the input reply message, use the input reply message as the target reply message corresponding to the second designated reply operation, and display the target reply message in the message display area.
[0193] Displaying the target reply message input based on the reply area in the message display area can facilitate users to quickly learn the target reply message of the target session message, so as to improve communication efficiency.
[0194] Based on the target reply message corresponding to the second designated reply operation, determine the user members to be prompted; send a prompt message to the clients of the user members to be prompted.
[0195] If the target reply message includes a prompt mark, determine the user group members who sent the target session message and the designated user group members indicated by the prompt mark as the user members to be prompted; if the target reply message does not include the prompt mark, determine the user group members who sent the target session message as the user members to be prompted.
[0196] Prompting the user who sent the target session message and the user indicated by the prompt mark in the target reply message can achieve targeted prompting and avoid disturbing other users.
[0197] In response to a close operation on the branch window by any designated group member, determine the members to be closed; on the clients of the members to be closed, close the branch window.
[0198] If any of the designated group members is a preset group member, all the designated group members are determined as members to be closed. The preset group members include the group member who sent the target session message and the group member who executed the first designated reply operation corresponding to the branch window. If any of the designated group members is not the preset group member, the designated group member who executed the closing operation is determined as the member to be closed.
[0199] The branch window can be closed, and the preset group members can directly close the branch windows displayed on the clients of other designated group members, thereby directly ending the conversation in the branch window, which is convenient for communication.
[0200] In response to the folding operation of any designated group member on the branch window, the branch window is converted into a branch control and is associated and displayed with the target session message in the group session window. In response to the expansion operation on the branch control, the branch control is expanded into the branch window.
[0201] The branch window can be folded and expanded according to actual needs, which is more convenient and fast.
[0202] Analyze and process the content displayed in the branch window to obtain the brief information corresponding to the branch window. The brief information includes at least one of the total number of target reply messages, the account identifier corresponding to the account that sent the target reply message, and the time information of the latest target reply message. In the group session window, the brief information is associated and displayed with the target session message.
[0203] In the group session window, associating and displaying the brief information in the message display area with the target session message can facilitate users to quickly learn about the reply situation of the target session message.
[0204] For the specific implementation of each of the above operations, reference can be made to the previous embodiments, which will not be elaborated here.
[0205] Optionally, as Figure 15 shown, the electronic device 400 further includes: a touch display screen 403, a radio frequency circuit 404, an audio circuit 405, an input unit 406, and a power supply 407. Among them, the processor 401 is electrically connected to the touch display screen 403, the radio frequency circuit 404, the audio circuit 405, the input unit 406, and the power supply 407 respectively. Those skilled in the art can understand that Figure 15 the structure of the electronic device shown in
[0206] The touch display screen 403 can be used to display a graphical user interface and receive operation instructions generated by a user acting on the graphical user interface. The touch display screen 403 may include a display panel and a touch panel. Among them, the display panel can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces of the electronic device. These graphical user interfaces can be composed of graphics, text, icons, videos, and any combination thereof. Optionally, the display panel can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. The touch panel can be used to collect touch operations of the user on or near it (such as operations of the user using a finger, a stylus, or any suitable object or accessory on or near the touch panel), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel can include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the touch orientation of the user, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 401, and can receive and execute commands sent by the processor 401. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 401 to determine the type of touch event. Subsequently, the processor 401 provides a corresponding visual output on the display panel according to the type of touch event. In the embodiments of the present application, the touch panel and the display panel can be integrated into the touch display screen 403 to implement input and output functions. However, in some embodiments, the touch panel and the touch panel can be implemented as two independent components to implement input and output functions. That is, the touch display screen 403 can also be used as part of the input unit 406 to implement the input function.
[0207] The radio frequency circuit 404 can be used to transmit and receive radio frequency signals to establish wireless communication with a network device or other electronic devices through wireless communication, and transmit and receive signals with the network device or other electronic devices.
[0208] The audio circuit 405 can be used to provide an audio interface between the user and the electronic device through a speaker and a microphone. The audio circuit 405 can transmit the electrical signal converted from the received audio data to the speaker, and the speaker converts it into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 405 and then converted into audio data. After the audio data is output and processed by the processor 401, it is transmitted through the radio frequency circuit 404 to, for example, another electronic device, or the audio data is output to the memory 402 for further processing. The audio circuit 405 may also include an earphone jack to provide communication between a peripheral earphone and the electronic device.
[0209] The input unit 406 can be used to receive input digital, character information or user feature information (such as fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
[0210] The power supply 407 is used to supply power to each component of the electronic device 400. Optionally, the power supply 407 can be logically connected to the processor 401 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. The power supply 407 can also include any components such as one or more DC or AC power supplies, a recharge system, a power failure detection circuit, a power converter or inverter, and a power status indicator.
[0211] Although Figure 15 not shown in the figure, the electronic device 400 may also include a camera, a sensor, a Wi-Fi module, a Bluetooth module, etc., which will not be elaborated here.
[0212] In the above embodiments, the descriptions of each embodiment have their own emphases. For parts not detailed in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0213] As can be seen from the above, the electronic device provided in this embodiment can display a group conversation window, and the group conversation window is used to display conversation messages between at least two group members; in response to a first specified reply operation of any group member for a target conversation message, a branch window is displayed in the client of the specified group member; then, in response to a second specified reply operation of any specified group member for the target conversation message in the branch window, a target reply message corresponding to the second specified reply operation is displayed in the branch window. Based on the branch window, targeted reply to the target conversation message can be realized, and the target reply messages of the target conversation message are displayed in the message display area, which can clearly display all the target reply messages for the target conversation message, so that users can quickly obtain all the reply messages for any conversation message and improve communication efficiency. Moreover, the branch window is displayed in the client of the specified group member, which can prevent irrelevant personnel from participating in the discussion of the target conversation message, so as to further improve the pertinence of the target conversation message and improve communication efficiency.
[0214] Those of ordinary skill in the art can understand that all or part of the steps in the above various methods can be completed by instructions, or by controlling relevant hardware through instructions. The instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0215] To this end, an embodiment of the present application provides a computer-readable storage medium storing multiple computer programs that can be loaded by a processor to execute the steps in any of the session message display methods provided by the embodiments of the present application. For example, the computer program can execute the following steps:
[0216] Display a group session window for displaying session messages between at least two group members; in response to a first specified reply operation by any group member on a target session message, display a branch window in the client of the specified group member, where the target session message, which is any one of the session messages in the group session window, is displayed in the branch window; in response to a second specified reply operation by any specified group member on the target session message in the branch window, display a target reply message corresponding to the second specified reply operation in the branch window.
[0217] Based on the branch window, targeted replies to the target session message can be achieved, and the reply content to the target session message, that is, the target reply message, is integrated and displayed in the message display area, which is convenient for users to quickly know the target reply message of the target session message and improve communication efficiency.
[0218] In response to the first operation on the target session message, display a reply control corresponding to the target session message; in response to the second operation on the reply control, display candidate group members; in response to the selection operation on the candidate group members, determine the specified group member from the candidate group members and display the branch window in the client of the specified group member.
[0219] Displaying the branch window in the client of the specified group member can prevent irrelevant personnel from participating in the discussion on the target session message, further improve the pertinence of the target session message, and improve communication efficiency.
[0220] In response to an input operation by any specified group member in the reply area, obtain the input reply message; in response to the send operation on the input reply message, use the input reply message as the target reply message corresponding to the second specified reply operation and display the target reply message in the message display area.
[0221] Displaying the target reply message input based on the reply area in the message display area is convenient for users to quickly know the target reply message of the target session message and improve communication efficiency.
[0222] Determine the user member to be prompted based on the target reply message corresponding to the second specified reply operation; send a prompt message to the client of the user member to be prompted.
[0223] If the target reply message includes a prompt flag, determine the members of the user group that sent the target session message and the members of the specified user group indicated by the prompt flag as the user members to be prompted; if the target reply message does not include the prompt flag, determine the members of the user group that sent the target session message as the user members to be prompted.
[0224] Prompting the user who sent the target session message and the user indicated by the prompt flag in the target reply message can achieve targeted prompting and avoid disturbing other users.
[0225] In response to a close operation on the branch window by any specified group member, determine the member to be closed; on the client of the member to be closed, close the branch window.
[0226] If the any specified group member is a preset group member, determine all specified group members as the members to be closed, and the preset group members include the members of the group that sent the target session message and the members of the group that performed the first specified reply operation corresponding to the branch window; if the any specified group member is not the preset group member, determine the specified group member who performed the close operation as the member to be closed.
[0227] The branch window can be closed, and the preset group members can directly close the branch window displayed on the clients of other specified group members, so as to directly end the conversation in the branch window and facilitate communication.
[0228] In response to a fold operation on the branch window by any specified group member, convert the branch window into a branch control and display it associated with the target session message in the group session window; in response to an expand operation on the branch control, expand the branch control into the branch window.
[0229] The branch window can be folded and expanded according to actual needs, which is more convenient and fast.
[0230] Analyze and process the content displayed in the branch window to obtain the brief information corresponding to the branch window, and the brief information includes at least one of the total number of target reply messages, the account identifier corresponding to the account that sent the target reply message, and the time information of the latest target reply message; in the group session window, display the brief information associated with the target session message.
[0231] In the group chat window, associatively displaying the brief information in the message display area with the target chat message can facilitate the user to quickly learn the reply status of the target chat message.
[0232] For the specific implementation of each of the above operations, reference may be made to the previous embodiments, which will not be elaborated herein.
[0233] Among them, the storage medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc.
[0234] Since the computer program stored in the storage medium can execute the steps in any of the session message display methods provided in the embodiments of the present application, the beneficial effects achievable by any of the session message display methods provided in the embodiments of the present application can be achieved. For details, refer to the previous embodiments, which will not be elaborated herein.
[0235] The above has introduced in detail a session message display method, device, storage medium and electronic device provided by the embodiments of the present application. Specific examples are used herein to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present application.
Claims
1. A method for displaying session messages, characterized in that, The method includes: Displaying a group chat window for displaying chat messages between at least two group members; In response to a first specified reply operation of any group member for a target chat message, a branch window is displayed in the client of the specified group member, where the branch window includes a message display area and a reply area. The message display area is used to display the target chat message, as well as the sent reply messages corresponding to the target chat message and the user account information of the users who sent the reply messages. The target chat message is any one of the chat messages in the group chat window. The reply area is used to receive unsent reply messages input for the target chat message; In response to a second specified reply operation of any specified group member for the target chat message in the branch window, a target reply message corresponding to the second specified reply operation is displayed in the branch window; Among them, the step of displaying a branch window in the client of the specified group member in response to a first specified reply operation of any group member for a target chat message includes: In response to a first operation for the target chat message, a reply control corresponding to the target chat message is displayed; In response to a second operation for the reply control, candidate group members are displayed. The candidate group members refer to all members in the group where the target chat message is located; In response to a selection operation for the candidate group members, a specified group member is determined from the candidate group members, and the branch window is displayed in the client of the specified group member. The specified group member includes: the group member who sent the target chat message, the group member who performed the second operation, and the candidate group member on which the selection operation acts.
2. The method according to claim 1, wherein The second specified reply operation includes an input operation and a send operation. The step of displaying a target reply message corresponding to the second specified reply operation in the branch window in response to a second specified reply operation of any specified group member for the target chat message in the branch window includes: In response to an input operation of any specified group member in the reply area, the input reply message is obtained; In response to the send operation for the input reply message, the input reply message is used as the target reply message corresponding to the second specified reply operation, and the target reply message is displayed in the message display area.
3. The method according to claim 2, wherein After using the input reply message as the target reply message corresponding to the second specified reply operation in response to the send operation for the input reply message, the method further includes: Determining the members to be prompted based on the target reply message corresponding to the second specified reply operation; Sending a prompt message to the clients of the members to be prompted.
4. The method according to claim 3, wherein The step of determining the user to be prompted based on the target reply message corresponding to the second specified reply operation includes: If the target reply message includes a prompt mark, the group member who sent the target chat message and the specified group members indicated by the prompt mark are determined as the members to be prompted; If the target reply message does not include the prompt marker, determine the group member who sent the target session message as the member to be prompted.
5. The method according to claim 1, wherein After displaying the branch window in the client of the designated group member in response to the first designated reply operation of any group member for the target session message, it further includes: In response to the close operation of any designated group member for the branch window, determine the member to be closed; On the client of the member to be closed, close the branch window.
6. The method according to claim 5, wherein The determining the member to be closed in response to the close operation of any designated group member for the branch window includes: If the any designated group member is a preset group member, determine all designated group members as the members to be closed, where the preset group members include the group member who sent the target session message and the group member who performed the first designated reply operation corresponding to the branch window; If the any designated group member is not the preset group member, determine the designated group member who performed the close operation as the member to be closed.
7. The method according to claim 1, wherein After displaying the branch window in the client of the designated group member in response to the first designated reply operation of any group member for the target session message, it further includes: In response to the fold operation of any designated group member for the branch window, convert the branch window into a branch control and display it associated with the target session message in the group session window; In response to the expand operation for the branch control, expand the branch control into the branch window.
8. The method according to claim 1, characterized in that, The method further includes: Analyze and process the content displayed in the branch window to obtain the brief information corresponding to the branch window, where the brief information includes at least one of the total number of the target reply messages, the account identifier corresponding to the account that sent the target reply message, and the time information of the latest target reply message; In the group session window, display the brief information associated with the target session message.
9. A session message display device, characterized in that, The device includes: A display module for displaying a group session window, where the group session window is used to display session messages between at least two group members; A first response module for, in response to the first designated reply operation of any group member for the target session message, display a branch window in the client of the designated group member, where the branch window includes a message display area and a reply area, the message display area is used to display the target session message, as well as the already sent reply messages corresponding to the target session message and the user account information of the user who sent the reply message, and the target session message is any one of the session messages in the group session window; the reply area is used to receive the unsent reply message input for the target session message; A second response module for, in response to the second designated reply operation of any designated group member for the target session message in the branch window, display the target reply message corresponding to the second designated reply operation in the branch window; Among them, displaying a branch window in the client of a specified group member in response to a first specified reply operation of any group member for a target session message includes: Displaying a reply control corresponding to the target session message in response to a first operation for the target session message; Displaying candidate group members in response to a second operation for the reply control, where the candidate group members refer to all members in the group where the target session message is located; Determining specified group members from the candidate group members in response to a selection operation for the candidate group members, and displaying the branch window in the clients of the specified group members, where the specified group members include: the group member who sent the target session message, the group member who performed the second operation, and the candidate group member on which the selection operation acts.
10. An electronic device, characterized in that, Including a processor and a memory, where the memory stores multiple instructions; the processor loads the instructions from the memory to execute the steps in the session message display method according to any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores multiple instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the session message display method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Message processing method and device and electronic equipment
CN110658960A
Message processing method and device
CN111193599A