Session message preview method, computer, readable storage medium and program product

By displaying and concatenating conversation messages of conversation objects on the object interaction page, the problem of customer service being unable to accurately obtain user needs was solved, and the accuracy of conversation message preview and interaction efficiency were improved.

CN116361426BActive Publication Date: 2026-02-24TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111620523.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-27
Publication Date
2026-02-24
Estimated Expiration
2041-12-27

AI Technical Summary

Technical Problem

When customer service representatives handle multiple user inquiries, they are unable to accurately grasp the user's actual conversation needs, resulting in waiting and responding to invalid inquiries and reducing the efficiency of conversation interaction.

Method used

The interactive page displays the session object to be interacted with, and displays N target session messages of the target session object in the preview area. These messages are then concatenated to obtain the target preview message. When responding to a session interaction operation, the target session interface is displayed, including N target session messages. The message display is optimized using techniques such as statement completion marks, keyword highlighting, and special data type replacement.

Benefits of technology

It improves the accuracy and efficiency of session message previews, enabling recipients to more accurately identify valid session objects and improve the efficiency of session interactions with them.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116361426B_ABST
    Figure CN116361426B_ABST
Patent Text Reader

Abstract

The embodiment of the application discloses a kind of conversation message preview method, device, computer and readable storage medium, the method includes: in object interaction page display to be interacted with conversation object;In preview area, the N target conversation messages obtained by splicing target preview message of target to be interacted with conversation object in target to be interacted with conversation object;N is positive integer;N target conversation messages are according to the original conversation message obtained by target to be interacted with conversation object sent;Preview area is the area of object interaction page pointing to target to be interacted with conversation object;When responding to conversation interaction operation for target to be interacted with conversation object, the target conversation interface of target to be interacted with conversation object is displayed;Target conversation interface includes N target conversation messages. By the application, the accuracy of conversation message preview can be improved, and the efficiency of conversation interaction can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a method for previewing session messages, a computer, a readable storage medium, and a program product. Background Technology

[0002] When customer service representatives handle user inquiries, they often receive messages from multiple users. However, each response can only address one user at a time. Some applications may display the latest messages sent by a user. Therefore, customer service typically connects with multiple users sequentially based on the order in which they sent their messages, and uses the latest messages to initially understand the user's needs. In other words, customer service responds to multiple user inquiries according to a queuing mechanism to ensure fairness in responding to users. However, the inquiries received by customer service may not be valid, making it impossible to accurately understand the user's actual needs before connecting with them. Waiting for and responding to invalid inquiries also consumes considerable time, reducing the efficiency of the conversation. Summary of the Invention

[0003] This application provides a method for previewing conversation messages, a computer, a readable storage medium, and a program product, which can improve the accuracy of conversation message previews and increase the efficiency of conversation interaction.

[0004] This application provides a method for previewing session messages, the method comprising:

[0005] Display the session object to be interacted with on the object interaction page;

[0006] The preview area displays the target preview message, which is obtained by concatenating N target session messages from the target interactive session object in the interactive session object; N is a positive integer; the N target session messages are obtained from the original session messages sent by the target interactive session object; the preview area is the area in the object interaction page that points to the target interactive session object;

[0007] When responding to a session interaction operation targeting the target session object, the target session interface of the target session object is displayed; the target session interface includes N target session messages.

[0008] This application provides a session message preview device, which includes:

[0009] The object display module is used to display the session object to be interacted with in the object interaction page;

[0010] The preview display module is used to display a target preview message in the preview area, which is obtained by concatenating N target session messages of the target interactive session object in the interactive session object; N is a positive integer; the N target session messages are obtained based on the original session messages sent by the target interactive session object; the preview area is the area in the object interaction page that points to the target interactive session object;

[0011] The session interaction module is used to display the target session interface of the target session object when responding to a session interaction operation on the target session object; the target session interface includes N target session messages.

[0012] The preview display module includes:

[0013] The concatenation unit is used to display a target preview message in the preview area if, among N target session messages, there is a target session message whose last character is not a statement terminator. The preview message is obtained by concatenating the N target session messages, which include statement terminators, from the target session object to be interacted with. The N target session messages that include statement terminators include target session messages whose last character is a statement terminator, and session messages obtained by adding a statement terminator to the end of target session messages whose last character is not a statement terminator.

[0014] The preview display module includes:

[0015] The key display unit is used to display a target preview message in the preview area, which is a concatenation of the N target session messages of the target session object to be interacted with, if there are default keywords in the N target session messages. The default keywords in the target preview message are highlighted.

[0016] The preview display module includes:

[0017] A special replacement unit is used to replace h target session messages with special data types among the N target session messages of the target session object to be interacted with, and to display the target preview message obtained by concatenating the h default display messages and the remaining target session messages in the preview area. The remaining target session messages refer to the target session messages other than the h target session messages with special data types among the N target session messages. h is a positive integer less than or equal to N.

[0018] The preview display module includes:

[0019] The area trigger unit is used to respond to the operation of the indicator moving to the area where the target interactive session object is located in the interactive session object, and triggers the display of the preview area associated with the target interactive session object in the object interaction page;

[0020] The message display unit is used to display the target preview message, which is obtained by splicing together N target session messages of the target interactive session object, in the preview area.

[0021] The device also includes:

[0022] The duration statistics module is used to count the continuous dwell time of the indicator in the area where the target interactive session object is located;

[0023] The duration matching module is used to trigger the display of the preview area associated with the target interactive session object on the object interaction page if the continuous dwell time of the indicator in the area where the target interactive session object is located is greater than or equal to the preview trigger duration threshold.

[0024] The conversational interaction module includes:

[0025] The first display unit is used to display the target session interface of the target session object when responding to a session interaction operation on the target session object. In the target session interface, starting from the first target session message among N target session messages, the original session messages located after the first target session message are displayed.

[0026] The original highlighting unit is used to highlight the original session messages corresponding to N target session messages.

[0027] The device also includes:

[0028] The session display module is used to display the original session messages sent by the target interactive session object in the target session interface, and to display the target preview messages in the target session interface.

[0029] The message jump module is used to respond to the triggered operation of the target preview message. In the target session interface, it jumps to the location of the original session message corresponding to the first target session message in the target preview message for display.

[0030] The device includes M interactive session objects, where M is a positive integer, and these M interactive session objects are displayed in the candidate object display area of ​​the object interaction page; the device also includes:

[0031] The batch preview module is used to respond to batch interaction requests for M interactive session objects in the candidate object display area, display a batch selection page, and display the M interactive session objects and the preview message of each interactive session object; the preview message is obtained by concatenating the session messages sent by the corresponding interactive session object.

[0032] The batch interaction module is used to respond to data submission operations for the batch selection page. In the object interaction page, it switches the first session object in the candidate object display area to the interactive object display area. The first session object refers to the session object selected by the data submission operation. The first session object belongs to M session objects to be interacted with. The interactive object display area is used to display session objects with established session relationships.

[0033] The first session object includes the target session object to be interacted with;

[0034] This session interaction module includes:

[0035] The interface display unit is used to display the target session interface of the target session object when responding to a session interaction operation on the target session object to be interacted with in the display area of ​​the interaction object;

[0036] The session display unit is used to display the original session messages sent by the target session object to be interacted with in the target session interface; the original session messages include N target session messages;

[0037] The session response unit is used to respond to message sending operations targeting the target session interface and display the response session message sent by the message sending operation in the target session interface.

[0038] The preview display module includes:

[0039] The message acquisition unit is used to acquire the original session message sent by the target session object to be interacted with in the session object to be interacted with;

[0040] The original splicing unit is used to determine the original session message as the target session message if the number of original session messages is less than or equal to the message preview threshold, splice the target session messages to obtain the target preview message, and display the target preview message in the preview area; the number of target session messages is N;

[0041] The message selection unit is used to obtain the message sending time of the original session messages if the number of original session messages is greater than the message preview threshold, obtain N target session messages from the original session messages based on the message sending time, concatenate the N target session messages to obtain the target preview message, and display the target preview message in the preview area.

[0042] The device also includes:

[0043] The message receiving module is used to receive pending session messages sent by the target session object to be interacted with, and to obtain the target message preview queue associated with the target session object to be interacted with; the original session messages include pending session messages.

[0044] The message enqueue module is used to add the pending session messages to the target message preview queue if the number of session messages included in the target message preview queue is less than the message preview threshold.

[0045] The queue update module is used to add the pending session messages to the target message preview queue if the number of session messages included in the target message preview queue is greater than or equal to the message preview threshold, and delete L session messages starting from the first position of the target message preview queue; L is a positive integer, and the number of session messages included in the target message preview queue after deleting L session messages is the message preview threshold.

[0046] This preview display module includes:

[0047] The queue acquisition unit is used to acquire the target message preview queue associated with the target interactive session object in the interactive session object;

[0048] The target determination unit is used to determine the session messages included in the target message preview queue as target session messages, concatenate the target session messages into a target preview message, and display the target preview message in the preview area; the number of session messages included in the target message preview queue is N.

[0049] The preview display module includes:

[0050] The message acquisition unit is also used to acquire N target session messages corresponding to the target interactive session object in the interactive session object;

[0051] The completion addition unit is used to add a statement terminator at the end of the i-th target session message if the last character of the i-th target session message is not a statement terminator.

[0052] The message concatenation unit is used to concatenate N target session messages that are associated with statement terminating characters to obtain a target preview message, which is then displayed in the preview area.

[0053] The completed addition unit includes:

[0054] The type determination subunit is used to perform semantic parsing on the i-th target session message if the last character of the i-th target session message is not a statement terminator, so as to obtain the message semantic type corresponding to the i-th target session message.

[0055] The symbol addition subunit is used to add the statement terminator corresponding to the message semantic type at the end of the i-th target session message.

[0056] The preview display module includes:

[0057] The message parsing unit is used to obtain the message data types corresponding to the N original session messages corresponding to the target session object in the session object to be interacted with.

[0058] A special replacement unit is used to obtain the default display message of the message data type corresponding to the i-th original session message if the message data type corresponding to the i-th original session message is a special data type, and to determine the default display message as the i-th target session message corresponding to the i-th original session message.

[0059] The original determination unit is used to determine the i-th original session message as the i-th target session message if the message data type corresponding to the i-th original session message does not belong to a special data type.

[0060] The message preview unit is used to concatenate the target session messages corresponding to N original session messages to obtain the target preview message, and display the target preview message in the preview area.

[0061] The preview display module includes:

[0062] This message acquisition unit is also used to acquire the original session messages sent by the target session object to be interacted with in the session object to be interacted with;

[0063] The semantic parsing unit is used to perform semantic parsing on the original session messages, identify invalid session messages in the original session messages, and identify the original session messages other than invalid session messages as target session messages; the number of target session messages is N;

[0064] This message preview unit is also used to concatenate N target session messages to obtain a target preview message, which is then displayed in the preview area.

[0065] The number of interactive session objects is M, where M is a positive integer;

[0066] This object display module includes:

[0067] The effective filtering unit is used to obtain the conversation messages sent by M conversation objects to be interacted with, perform semantic parsing on the conversation messages sent by the M conversation objects to be interacted with, and determine the effective conversation messages corresponding to the M conversation objects to be interacted with.

[0068] The quantity statistics unit is used to sort the M interactive session objects based on the number of valid session messages corresponding to each of the M interactive session objects;

[0069] The object display unit is used to display M interactive session objects on the object interaction page based on the sorting results.

[0070] One embodiment of this application provides a computer device, including a processor, a memory, and an input / output interface;

[0071] The processor is connected to a memory and an input / output interface, respectively. The input / output interface is used to receive and output data, the memory is used to store computer programs, and the processor is used to call the computer programs so that the computer device containing the processor executes the session message preview method in one aspect of the embodiments of this application.

[0072] One aspect of this application provides a computer-readable storage medium storing a computer program adapted to be loaded and executed by a processor, such that a computer device having the processor performs the session message preview method of one aspect of this application.

[0073] One aspect of this application provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in various optional embodiments of this application. In other words, when the computer instructions are executed by the processor, they implement the methods provided in various optional embodiments of this application.

[0074] Implementing the embodiments of this application will have the following beneficial effects:

[0075] In this embodiment, the interactive session object is displayed on the object interaction page; a target preview message is displayed in the preview area, which is obtained by concatenating N target session messages of the target interactive session object; N is a positive integer; the N target session messages are obtained based on the original session messages sent by the target interactive session object; the preview area is the area in the object interaction page that points to the target interactive session object; when responding to a session interaction operation on the target interactive session object, the target session interface of the target interactive session object is displayed; the target session interface includes N target session messages. Through the above process, preview messages of each interactive session object can be displayed during session interaction. These preview messages are obtained by converting and concatenating multiple session messages sent by the corresponding interactive session object. This allows the receiving object to obtain the approximate content sent by each interactive session object based on the preview messages, which may include the content of multiple session messages. This enables the receiving object to determine which interactive session objects contain valid session messages, i.e., which require session interaction or viewing. This improves the accuracy of session message previews and enhances the efficiency of session interaction between the receiving object and each interactive session object. Attached Figure Description

[0076] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0077] Figure 1 This is a network interaction architecture diagram for session message preview provided in an embodiment of this application;

[0078] Figure 2 This is a schematic diagram of a conversation message preview scenario provided in an embodiment of this application;

[0079] Figure 3 This is a flowchart illustrating a method for previewing session messages provided in an embodiment of this application;

[0080] Figure 4a This is a schematic diagram of a conversational interaction scenario provided in an embodiment of this application;

[0081] Figure 4b This is a schematic diagram of another conversational interaction scenario provided in an embodiment of this application;

[0082] Figure 5 This application provides a schematic diagram of a queue update scenario.

[0083] Figure 6 This is a schematic diagram of a key highlighted display scenario provided in an embodiment of this application;

[0084] Figure 7 This is a schematic diagram of a special message display scenario provided in an embodiment of this application;

[0085] Figure 8 This is a schematic diagram of a conversation message display scenario provided in an embodiment of this application;

[0086] Figure 9 This is a schematic diagram of a session redirection scenario provided in an embodiment of this application;

[0087] Figure 10 This is a schematic diagram of a batch interaction scenario provided in an embodiment of this application;

[0088] Figure 11 This is a schematic diagram of an optional method for generating a target preview message provided in an embodiment of this application;

[0089] Figure 12 This is a schematic diagram of a session message preview device provided in an embodiment of this application;

[0090] Figure 13 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation

[0091] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0092] If user data needs to be collected in this application, a prompt interface or pop-up window will be displayed before and during the collection process. This prompt interface or pop-up window is used to inform the user that XXXX data is currently being collected. The data acquisition steps will only begin after the user confirms the prompt interface or pop-up window; otherwise, the process will end. Furthermore, the acquired user data will be used in reasonable and legal scenarios or for legitimate purposes. Optionally, in scenarios where user data needs to be used but user authorization has not been obtained, authorization can be requested from the user, and the user data will only be used after authorization is granted.

[0093] In the embodiments of this application, please refer to Figure 1 , Figure 1 This is a network interaction architecture diagram for session message preview provided in an embodiment of this application. For example... Figure 1 As shown, computer device 101 can interact with associated devices, such as associated devices 102a, 102b, and 102c. There is a network connection between computer device 101 and each associated device for this interaction. In other words, computer device 101 can send session messages to any associated device, and each associated device can send session messages to computer device 101. Optionally, the associated devices can also interact with each other. For example, computer device 101 receives session message 1 from associated device 102a, session message 2 from associated device 102b, and session message 3 from associated device 102c, etc. Each of associated devices 102a, 102b, and 102c corresponds to a session object to be interacted with; that is, computer device 101 can be considered to receive session messages sent by the respective session objects to be interacted with from each associated device. When computer device 101 responds to a message preview operation for a target interactive session object, it generates a target preview message for the target interactive session object based on the session messages sent by that target interactive session object. Alternatively, when computer device 101 displays a target interactive session object, it can generate a target preview message for that target interactive session object based on the session messages sent by that target interactive session object. The target interactive session object can be any of the interactive session objects that sent session messages to computer device 101. For example, if the target interactive session object is an interactive session object included in associated device 102a, then computer device 101 can display the target preview message for the interactive session object corresponding to associated device 102a. In this case, the target preview message can be considered to be generated based on the session message 1021 sent by the interactive session object corresponding to associated device 102a. The target preview message includes multiple session messages sent by the target interactive session object, which can represent the general content sent by the target interactive session object. This allows the receiving object corresponding to the computer device 101 to obtain the general meaning that the target interactive session object wants to express. Based on the target preview message, it can determine whether it is necessary to establish a session relationship with the target interactive session object. This allows the receiving object to establish a session relationship based on the urgency or necessity of the session messages, thereby improving the efficiency of session interaction.

[0094] For details, please see Figure 2 , Figure 2 This is a schematic diagram of a session message preview scenario provided in an embodiment of this application. Figure 2As shown, each associated device 201 can send session messages to the computer device 202. Each associated device 201 can include M associated devices, such as associated device 2011, associated device 2012, and associated device 2013, where M is a positive integer. That is, each associated device 201 can include one associated device or at least two associated devices; the number is not limited here. Each associated device can correspond to a session object to be interacted with, such as session object 2031 corresponding to associated device 2011, session object 2032 corresponding to associated device 2012, and session object 2033 corresponding to associated device 2013, etc. Furthermore, the computer device 202 obtains the session messages sent by each associated device 201, that is, it obtains the session messages sent by the corresponding interactive session objects of each associated device 201. The computer device 202 can display the interactive session objects, and further, it can display the target preview message of the target interactive session object in the interactive session objects. The target interactive session object can be any one or any multiple interactive session objects, where multiple means at least two. For example, if the target interactive session object is interactive session object 2031, then the computer device 202 can display the preview message 204 of interactive session object 2031 in the preview area. At this time, the target interactive session object refers to interactive session object 2031, and the target preview message refers to preview message 204. Furthermore, when responding to a session interaction operation targeting the target interactive session object, the target session interface 205 of the target interactive session object can be displayed. The target preview message is generated based on the original session message sent by the target session object to be interacted with. It contains the general content of the session message sent by the target session object to be interacted with and can reflect the general meaning that the target session object to be interacted with wants to express. This allows the receiving object corresponding to the computer device 202 to obtain the session content to be sent by the session object to be interacted with without establishing a session relationship with the session object to be interacted with, thereby improving the efficiency of session interaction.

[0095] It is understood that the associated devices mentioned in the embodiments of this application can also be computer devices, including but not limited to terminal devices or servers. In other words, a computer device can be a server or a terminal device, or a system composed of a server and a terminal device. The terminal device mentioned above can be an electronic device, including but not limited to mobile phones, tablets, desktop computers, laptops, handheld computers, in-vehicle devices, augmented reality / virtual reality (AR / VR) devices, head-mounted displays, smart TVs, wearable devices, smart speakers, digital cameras, webcams, and other mobile internet devices (MIDs) with network access capabilities, or terminal devices in scenarios such as trains, ships, and flights. Figure 1 As shown, the terminal device can be a laptop computer (as shown in associated device 102b), a mobile phone (as shown in associated device 102c), or an in-vehicle device (as shown in associated device 102a), etc. Figure 1 Only a portion of the devices are listed here. Optionally, the associated device 102a refers to the device located in the vehicle 103. The associated device 102a can be used to display interactive pages, etc., and to conduct interactive sessions with other associated devices or computer devices. The servers mentioned above can be independent physical servers, server clusters or distributed systems composed of multiple physical servers, or cloud servers providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, vehicle-to-everything (V2X) communication, content delivery networks (CDNs), and big data and artificial intelligence platforms.

[0096] Optionally, the data involved in the embodiments of this application can be stored in a computer device, or it can be stored based on cloud storage technology or a blockchain network, without limitation. Optionally, the computer device can encapsulate the solution implemented in this application into a smart contract. When the computer device starts displaying the object interaction page, it can trigger the smart contract to implement the solution in this application and output preview messages of the interactive session object targeted by the message preview operation. Optionally, the number of session objects and session messages involved in this application may be large. In this case, data transmission technologies in the field of big data can be used to realize data interaction between various devices (including but not limited to data interaction between associated devices and computer devices) to improve data processing efficiency.

[0097] Further, please see Figure 3 , Figure 3 This is a flowchart illustrating a method for previewing session messages provided in an embodiment of this application. Figure 3 As shown, the session message preview process includes the following steps:

[0098] Step S301: Display the session object to be interacted with on the object interaction page.

[0099] In this embodiment, the computer device can receive session messages sent by an associated device. When the computer device receives a session message from an associated device but has not established a session relationship, it can consider the session object corresponding to the associated device as a session object to be interacted with. The computer device can display the session object to be interacted with in an object interaction page. Optionally, a session object that has established a session relationship with the receiving object can be recorded as a session connection object. The session object to be interacted with and the session connection object are variable; that is, a session object can be recorded as a session object to be interacted with when it has not established a session relationship with the receiving object, and can be recorded as a session connection object when it establishes a session relationship with the receiving object. The receiving object refers to the session object associated with the computer device (i.e., the executing entity). This application can be implemented in any target application with inter-object session interaction functionality. The target application can be an application, website, webpage, or mini-program, etc., without limitation. For example, if the target application is an application, website, webpage, or mini-program with consultation functions, the session object corresponding to the associated device can be the application user, and the receiving object can be the application customer service representative; if the target application is an application, website, webpage, or mini-program with social functions, such as an instant messaging application or a game application, then both the session object and the receiving object corresponding to the associated device can be the application user of the target application, without any restrictions.

[0100] Specifically, the computer device can display the session objects to be interacted with on the object interaction page. Optionally, the computer device can display session connection objects, etc., on the object interaction page. Further, assuming the number of session objects to be interacted with is M, the computer device can display M session objects to be interacted with on the object interaction page, where M is a positive integer. Specifically, the computer device can randomly display M session objects to be interacted with on the object interaction page, i.e., without regard to the display order of the individual session objects; or, the computer device can sort the M session objects to be interacted with based on the message sending time corresponding to each session object, and display the M session objects to be interacted with on the object interaction page according to the sorting result; or, the computer device can obtain the session messages sent by the M session objects to be interacted with, sort the M session objects to be interacted with based on the session messages sent by the M session objects to be interacted with, and display the M session objects to be interacted with on the object interaction page according to the sorting result, etc.

[0101] Specifically, when sorting M interactive session objects based on the message sending time corresponding to each object, the message sending time can include the first message sending time. The first message sending time refers to the time when the corresponding interactive session object sends its first unviewed session message. For example, if interactive session object 1 sends three session messages before establishing a session relationship with the receiving object, and the times these three messages are sent are "10:50, 10:51, and 10:52" respectively, then the first message sending time for interactive session object 1 is "10:50". The computer device can sort the M interactive session objects according to their respective first message sending times, and display the M interactive session objects on the object interaction page based on the sorting result. Alternatively, the message sending time may include a second message sending time, which refers to the sending time of the last session message among the session messages sent by the corresponding session object to be interacted with. For example, if session object 1 sends three session messages before establishing a session relationship with the receiving object, and the times of sending these three session messages are "10:50, 10:51, and 10:52" respectively, then the second message sending time of session object 1 to be interacted with is "10:52". The computer device can sort the M session objects to be interacted with according to the second message sending times corresponding to the M session objects to be interacted with, and display the M session objects to be interacted with on the object interaction page according to the sorting result.

[0102] Specifically, when sorting M interactive session objects based on the session messages sent by each of the M interactive session objects, in one approach, the computer device can obtain the session messages sent by each of the M interactive session objects, obtain the number of session messages sent by each interactive session object, sort the M interactive session objects based on the number of session messages sent by each interactive session object, and display the M interactive session objects on the object interaction page according to the sorting result. For example, if interactive session object 1 sends 5 session messages, interactive session object 2 sends 8 session messages, and interactive session object 3 sends 3 session messages, then the M interactive session objects will be displayed on the object interaction page as "Interactive session object 2, interactive session object 1, interactive session object 3".

[0103] In one approach, a computer device can acquire conversation messages sent by M interactive conversation objects, perform semantic analysis on these messages, and determine the valid conversation messages corresponding to each of the M interactive conversation objects. Optionally, this semantic analysis can involve keyword matching of the conversation messages sent by the M interactive conversation objects. If no conversation phrase belonging to an invalid keyword library exists in the conversation message, it can be considered a valid conversation message; or, if a conversation phrase belonging to a valid keyword library exists in the conversation message, it can be considered a valid conversation message, etc. Alternatively, this semantic analysis can be performed using a conversation parsing model to parse the conversation messages sent by the M interactive conversation objects. Further, the computer device can sort the M interactive conversation objects based on the number of valid conversation messages corresponding to each of the M interactive conversation objects; and display the M interactive conversation objects on the object interaction page based on the sorting results.

[0104] Optionally, the computer device may display the session object to be interacted in the candidate object display area of ​​the object interaction page, and the session connection object in the interactive object display area of ​​the object interaction page, etc. For example, please refer to... Figures 4a to 4b , Figure 4a This is a schematic diagram of a conversational interaction scenario provided in an embodiment of this application. Figure 4b This is a schematic diagram of another conversational interaction scenario provided in an embodiment of this application, wherein, Figure 4a and Figure 4b In this context, the same label indicates the same object. For example... Figure 4a or Figure 4bAs shown, the computer device can display an object interaction page 401, and display the session objects to be interacted in the candidate object display area 402 of the object interaction page 401. Optionally, session connection objects can be displayed in the interaction object display area 403 of the object interaction page 401. The number of session objects to be interacted is M, where M is a positive integer, and the number of session connection objects is d, where d is a natural number. For example, the session objects to be interacted include session objects 4021, 4022, and 4023, etc., and the session connection objects include session connection objects 4031 and 4032, etc. The computer device can display session objects 4021, 4022, and 4023, etc., in the candidate object display area 402, and session connection objects 4031 and 4032, etc., in the interaction object display area 403.

[0105] Optionally, the computer device may display the session interface of the current session connection object on the object interaction page 401. This current session connection object can be any session object among the session connection objects, referring to a session connection object that is currently interacting with the receiving object, such as... Figure 4a or Figure 4b Assuming the current session connection object is session connection object 4031, the computer device can display the session interface 404 corresponding to session connection object 4031 on the object interaction page 401, and display the session messages sent by session connection object 4031 on the session interface 404. Optionally, the computer device can display a session response area 4041 on the session interface 404. When responding to a message sending operation in the session response area 4041, the session input message obtained in the session response area 4041 can be sent to the current session connection object. Optionally, the session input message can be displayed on the session interface 404. The session response area 4041 can have a hidden state and a displayed state. When the session response area 4041 is in a hidden state, the computer device can display the first area trigger component corresponding to the session response area 4041 on the session interface 404. When responding to a trigger operation on the first area trigger component, the session response area 4041 can be displayed on the session interface 404. At this time, the session response area 4041 is in the displayed state. When the session response area 4041 is in the area display state, the computer device can display the second area trigger component of the session response area 4041. When responding to a trigger operation on the second area trigger component, the session response area 4041 can be hidden. At this time, the session response area 4041 is in the area hidden state.

[0106] Optionally, upon receiving a pending session message sent by a target pending session object, the target message preview queue associated with that target pending session object can be updated based on the pending session message. Here, the target pending session object refers to any one or more session objects within the pending session object set. Specifically, the pending session message sent by the target pending session object is received, and the target message preview queue associated with the target pending session object is obtained. The original session message includes the pending session message, which refers to the session message sent by the target pending session object. If the number of session messages included in the target message preview queue is less than the message preview threshold, the pending session message is added to the target message preview queue. If the number of session messages included in the target message preview queue is greater than or equal to the message preview threshold, the pending session message is added to the target message preview queue, and L session messages are deleted from the first position of the target message preview queue. L is a positive integer, and the number of session messages included in the target message preview queue after deleting L session messages is the message preview threshold. The number of pending session messages received by the computer device can be one or at least two. Optionally, upon receiving a pending session message from a target session object, if the target message preview queue associated with that target session object is not found, a target message preview queue is created, and the pending session message is added to the target message preview queue. Similarly, through the above process, message preview queues associated with M pending session objects can be obtained.

[0107] For example, please see Figure 5 , Figure 5 This is a schematic diagram of a queue update scenario provided in an embodiment of this application. Figure 5As shown, assuming the message preview threshold is 3, the computer device receives a pending session message sent by the target interactive session object, denoted as M, and obtains the target message preview queue associated with the target interactive session object. Assuming a target message preview queue 5011 is obtained, this queue includes the original session message M1 and original session message M2 sent by the target interactive session object. That is, the number of session messages included in the target message preview queue 5011 is 2, which is less than the message preview threshold. Therefore, the pending session message M is added to the target message preview queue 5011, resulting in a target message preview queue 5021. Here, the target message preview queue 5021 and the target message preview queue 5011 refer to the same queue with slightly different data. At this time, the target message preview queue 5021 includes the original session message M1, the original session message M2, and the pending session message M. Alternatively, assuming a target message preview queue 5012 is obtained, which includes the original session messages M1, M2, and M3 sent by the target interactive session object, i.e., the number of session messages included in the target message preview queue 5012 is 3, equal to the message preview threshold, then the session message M to be processed is added to the target message preview queue 5012, and L session messages are deleted starting from the first position of the target message preview queue 5012, where L is 1, resulting in a target message preview queue 5022. Here, the target message preview queue 5022 and the target message preview queue 5012 refer to the same queue with different data. At this time, the target message preview queue 5022 includes the original session messages M2 and M3, as well as the session message M to be processed.

[0108] Step S302: Display the target preview message obtained by splicing together N target session messages from the target interactive session object in the preview area.

[0109] In this embodiment, the computer device can acquire N target session messages of the target interactive session object, concatenate the N target session messages to obtain a target preview message, and display the target preview message obtained by concatenating the N target session messages in the preview area, where N is a positive integer. Alternatively, the computer device can acquire N original session messages of the target interactive session object, convert the N original session messages into N target session messages, concatenate the N target session messages to obtain the target preview message, and display the target preview message in the preview area.

[0110] Optionally, when displaying the interactive session object on the object interaction page, the computer device can directly display a target preview message in the preview area, which is obtained by concatenating N target session messages from the target interactive session object. The target interactive session object can be any one or more session objects within the interactive session object set. For example, when the target application is an application with social networking functions, the computer device can display the interactive session object associated with the receiving object when displaying the object interaction page. Optionally, the interactive session object that is in the object display state on the object interaction page can be identified as the target interactive session object, and the target preview message obtained by concatenating N target session messages from the target interactive session object can be displayed in the preview area. The state of the interactive session object can include an object display state and an object hidden state. The object display state refers to the state in which it is displayed on the object interaction page and can be seen by the receiving object. The object hidden state refers to the state in which it is displayed on the object interaction page, but the receiving object cannot see it temporarily. This is because the number of interactive session objects associated with the receiving object may be relatively large. When displaying interactive session objects on the object interaction page, the area occupied by the display of the interactive session object may exceed the area size of the computer device used to display interactive session objects. At this time, visually, some interactive session objects may be visible (i.e., in the object display state), but some interactive session objects may not be visible (i.e., in the object hidden state).

[0111] Optionally, the computer device may respond to a message preview operation for a target interactive session object within the interactive session object, and display a target preview message in the preview area, which is obtained by concatenating N target session messages of the target interactive session object. In other words, the computer device may display the interactive session object on the object interaction page, and when a message preview operation for the target interactive session object is responded to, display the target preview message of the target interactive session object.

[0112] In this context, when a computer device responds to a message preview operation targeting a specific interactive session object, the message preview operation may include an operation triggered by an indicator on the object's interactive page. Responding to the operation of the indicator moving to the area where the target interactive session object is located (or, in other words, the indicator staying in the area of ​​the target interactive session object), a preview area associated with the target interactive session object is triggered and displayed on the object's interactive page; a target preview message, composed of N target session messages, is displayed in the preview area. Optionally, the continuous dwell time of the indicator in the area of ​​the target interactive session object can be counted. If the continuous dwell time of the indicator in the area of ​​the target interactive session object is greater than or equal to a preview trigger duration threshold, then the process of triggering the display of the preview area associated with the target interactive session object on the object's interactive page is executed; that is, triggering the display of the preview area associated with the target interactive session object on the object's interactive page; and displaying the target preview message, composed of N target session messages, in the preview area. For example, such as... Figure 4a or Figure 4b As shown, assuming the indicator is mouse cursor identifier 4061, when mouse cursor identifier 4061 moves to the area where the target interactive session object 4021 is located within the interactive session object, in response to the operation of mouse cursor identifier 4061 moving to the area where the target interactive session object 4021 is located (or, in other words, the operation of mouse cursor identifier 4061 hovering in the area where the target interactive session object 4021 is located), the preview area associated with the target interactive session object 4021 is triggered, and the target preview message is displayed in the preview area. Optionally, this preview area can be displayed in the object interaction page 401, such as in the candidate object display area 402 of the object interaction page 401, such as... Figure 4a The preview area shown in the central area 406 can also be displayed on the object interaction page 401, independent of the candidate object display area 402 and the interactive object display area 403, etc. Alternatively, this preview area can be displayed independently on the object interaction page 401, such as... Figure 4b The preview area shown in region 407 can be considered as a floating window or an independent page.

[0113] When a computer device responds to a message preview operation targeting a specific interactive session object, this message preview operation may include a preview trigger operation, which can be a long press, double-click, or right-click, etc., without limitation. Specifically, the computer device may respond to the preview trigger operation targeting the specific interactive session object by displaying a preview area associated with the specific interactive session object on the object interaction page; the preview area displays a target preview message obtained by concatenating N target session messages. Optionally, the preview area may be displayed on the object interaction page, or the preview area may be displayed independently on the object interaction page, etc., without limitation.

[0114] Furthermore, the computer device can obtain N original session messages from the original session messages sent by the target interactive session object, convert the N original session messages into N target session messages, and concatenate the N target session messages to obtain the target preview message. Here, the N original session messages can be defined as N target session messages. Optionally, the computer device can obtain the number of original session messages sent by the target interactive session object. If the number of original session messages sent by the target interactive session object is less than or equal to a message preview threshold, then the original session messages sent by the target interactive session object can be obtained, and the number of original session messages sent by the target interactive session object is denoted as N; if the number of original session messages sent by the target interactive session object is greater than the message preview threshold, then N original session messages are obtained from the original session messages sent by the target interactive session object. It is clear that N is not a fixed value, but rather a representation of the number of target session messages obtained. Specifically, when retrieving N original session messages from the original session messages sent by the target session object to be interacted with, the N original session messages can be retrieved based on the message sending time of the original session messages sent by the target session object to be interacted with; or, the message validity value of the original session messages sent by the target session object to be interacted with can be retrieved, and the N original session messages can be retrieved sequentially based on the message validity value from largest to smallest, etc.

[0115] Optionally, whether the computer device displays the interactive session object on the object interaction page and directly displays the target preview message in the preview area, which is obtained by concatenating N target session messages of the target interactive session object within the interactive session object; or responds to a message preview operation targeting the target interactive session object within the interactive session object and displays the target preview message in the preview area, which is obtained by concatenating N target session messages of the target interactive session object, the target preview message of the target interactive session object can be generated in the following way. Specifically, the computer device obtains the target interactive session object within the interactive session object and obtains the N target session messages corresponding to the target interactive session object. For example, when the computer device displays the interactive session object on the object interaction page, it determines the interactive session object displayed on the object interaction page as the target interactive session object and obtains the N target session messages corresponding to the target interactive session object; or, the computer device can respond to a message preview operation targeting the target interactive session object within the interactive session object and obtain the N target session messages corresponding to the target interactive session object, that is, the interactive session object targeted by the message preview operation is the target interactive session object.

[0116] Furthermore, in one method of generating a target preview message, if among N target session messages, there exists a target session message whose last character is not a statement terminator, where the statement terminator includes, but is not limited to, a period ".", a question mark "?", and an exclamation mark "!", then in the preview area, a target preview message is displayed, obtained by concatenating the N target session messages, each containing a statement terminator, from the target session object to be interacted with. These N target session messages containing statement terminators include those whose last character is a statement terminator, and those obtained by adding a statement terminator to the end of target session messages whose last character is not a statement terminator. In simple terms, the computer device can add a statement terminator to the end of N target session messages whose last character is not a statement terminator, so that all N target session messages after adding the statement terminator include a statement terminator. The display effect is that a target preview message obtained by concatenating the N target session messages containing statement terminators is displayed. When sending session messages, there may be situations where the sent session message only includes the content and does not include the statement terminator. When displaying session messages in a session interactive mode, different session messages can be clearly distinguished. However, when generating target preview messages, the lack of statement terminators for separation may result in poor viewing of the target preview messages. Therefore, statement terminators can be added to target session messages where the last character is not a statement terminator to improve the readability of the target preview messages.

[0117] Specifically, the computer device can acquire N target session messages corresponding to the target interactive session object within the interactive session object. If the last character of the i-th target session message is not a statement terminator, a statement terminator is added to the end of the i-th target session message. Further, the N target session messages associated with statement terminators are concatenated to obtain a target preview message, which is then displayed in the preview area. For example, if the target session message is "How long until delivery?", a statement terminator can be added to the end of this target session message. Assuming the added statement terminator is "?", then the target session message "How long until delivery?" associated with the statement terminator can be obtained. Optionally, if the last character of the i-th target session message is not a statement terminator, a statement terminator is added to the end of the i-th target session message. Specifically, if the last character of the i-th target session message is not a statement terminator, semantic parsing is performed on the i-th target session message to obtain the message semantic type corresponding to the i-th target session message. This message semantic type includes, but is not limited to, interrogative, declarative, and exclamatory semantic types. A statement terminator corresponding to the message semantic type is added to the end of the i-th target session message. For example, if the i-th target session message is "Please ship quickly," semantic parsing is performed on the i-th target session message. Assuming the message semantic type of the i-th target session message is an exclamatory semantic type, a statement terminator corresponding to the exclamatory semantic type, such as "!", is added to the end of the i-th target session message. In this case, the i-th target session message becomes "Please ship quickly!".

[0118] In one method of generating target preview messages, if default keywords exist among the N target session messages, the preview area displays a target preview message obtained by concatenating the N target session messages from the target interactive session object, highlighting the default keywords in the target preview message. Optionally, these default keywords can be updated as needed for highlighting. For example, when the target application is a shopping application, the default keywords may include, but are not limited to, "shipping, complaints, and refunds"; when the target application is a game application, the default keywords may include, but are not limited to, game item phrases, game task phrases, and team-up phrases. For example, see [link to example]. Figure 6 , Figure 6 This is a schematic diagram of a key highlighted display scenario provided in an embodiment of this application. For example... Figure 6As shown, the computer device acquires N target session messages 601, including target session message 1, target session message 2, ... and target session message N. Keyword detection is performed on each of the N target session messages 601 to find the default keywords included in them. The N target session messages 601 are then concatenated to obtain the target preview message. Assuming N is 3, there are target session messages "Hello!", "XX has issued a latest notification, a gathering will take place at XX.", and target session messages "Please be aware.". Concatenating the N target session messages yields the target preview message "Hello! XX has issued a latest notification, a gathering will take place at XX. Please be aware." If a default keyword exists among the N target session messages, such as "notification," the default keyword in the target preview message can be highlighted. Figure 6 As shown in area 602, the preview message for the target is displayed as "Hello! XX has issued a new notification that an assembly will be held at XX. Please be aware.", where "Notification" is displayed in bold. Optionally, this highlighting method includes, but is not limited to, bolding, italics, adding a background color, changing the font color, and enlarging the font, etc., and is not limited here.

[0119] In one target preview message generation method, if h of the N target session messages of the target session object to be interacted with exist with a special data type, then the h target session messages with a special data type are replaced with default display messages, and the target preview message obtained by concatenating the h default display messages and the remaining target session messages is displayed in the preview area; the remaining target session messages refer to the target session messages other than the h target session messages with a special data type among the N target session messages; h is a positive integer less than or equal to N. Optionally, if h out of N original session messages have a special data type, then when responding to a message preview operation for the target interactive session object, the h original session messages with the special data type are replaced with a default display message. This default display message is then identified as the target session message corresponding to the h original session messages with the special data type. The remaining original session messages are identified as the target session messages corresponding to these remaining original session messages, thus obtaining the target session messages corresponding to each of the N original session messages. The N target session messages are then concatenated to obtain the target preview message. The remaining original session messages refer to the original session messages among the N original session messages excluding the h original session messages with the special data type. Essentially, the above two statements are the same implementation method, only the descriptions differ. The special data type includes, but is not limited to, image data types, mini-program card data types, link data types, video data types, and unknown data types. Optionally, each special data type can correspond to a default display message, which can be a message type identifier or a text message representing the corresponding message data type, etc., without restriction. For example, assuming the default display message is a text message used to represent the corresponding message data type, the default display message for the image data type could be "[Image]."; the default display message for the mini-program card data type could be "[Mini-program Card]."; the default display message for the link data type could be "[Link]."; the default display message for the video data type could be "[Video]."; and the default display message for the unknown data type could be "[Message Not Supported].", etc.

[0120] Specifically, the computer device can acquire N original session messages sent by the target session object in the interactive session object, and acquire the message data type corresponding to each of the N original session messages. If the message data type corresponding to the i-th original session message is a special data type, then the default display message of the message data type corresponding to the i-th original session message is acquired, and the default display message is determined as the i-th target session message corresponding to the i-th original session message; if the message data type corresponding to the i-th original session message is not a special data type, then the i-th original session message is determined as the i-th target session message. The target session messages corresponding to the N original session messages are concatenated to obtain the target preview message, which is then displayed in the preview area. For example, please refer to [link to example]. Figure 7 , Figure 7 This is a schematic diagram illustrating a specific message display scenario provided in an embodiment of this application. For example... Figure 7 As shown, the associated device 701 sends an original session message to the computer device 703. The computer device 703 obtains N original session messages from the original session messages sent by the associated device 701, including original session message 1, original session message 702, and original session message 2. The message data type of original session message 702 is an image data type. Further, the computer device 703 can obtain the target interactive session object (here assumed to be session object 7041 corresponding to the associated device 701) from the interactive session objects. It can determine original session message 1 as the target session message 1 corresponding to original session message 1; determine the default display message corresponding to the image data type as the target session message corresponding to original session message 702; and determine original session message 2 as the target session message 2 corresponding to original session message 2. The target preview message is obtained by concatenating N target session messages. Assuming that the default display message corresponding to the image data type is "[Image].", the target preview message can be "Target Session Message 1.[Image].Target Session Message 2". The target preview message is displayed in the preview area 705, which is the area in the object interaction page 704 that points to the target session object to be interacted with.

[0121] Optionally, when generating the target preview message, any one of the above target preview message generation methods, or any combination of multiple methods, can be used to concatenate N target session messages to obtain the target preview message.

[0122] Optionally, the computer device can acquire the original session messages sent by the target session object in the session object to be interacted with. If the number of original session messages is less than or equal to the message preview threshold, the original session messages are identified as target session messages, and the target session messages are concatenated to obtain the target preview message, which is then displayed in the preview area; the number of target session messages is N. If the number of original session messages is greater than the message preview threshold, the message sending time of the original session messages is acquired, and N target session messages are acquired from the original session messages based on the message sending time. The N target session messages are then concatenated to obtain the target preview message, which is then displayed in the preview area. Optionally, the computer device can acquire the preview area size and determine the message preview threshold based on the preview area size.

[0123] Optionally, assuming a message preview queue exists, the computer device can obtain the target message preview queue associated with the target interactive session object in the interactive session object. The session messages included in the target message preview queue are identified as target session messages, and these target session messages are concatenated into a target preview message, which is then displayed in the preview area. The number of session messages included in the target message preview queue is N. The method for concatenating the target session messages into the target preview message can be any one of the target preview message generation methods described above, or any combination of multiple methods.

[0124] Optionally, the computer device can filter the original session messages sent by the target interactive session object to obtain N target session messages. Specifically, it obtains the original session messages sent by the target interactive session object. Semantic analysis is performed on the original session messages to identify invalid session messages, and the remaining original session messages are identified as target session messages; the number of target session messages is N. Optionally, semantic analysis can be performed on the original session messages to obtain message validity values. Based on the message validity values, N original session messages are obtained sequentially, and these N original session messages are identified as N target session messages. The N target session messages are concatenated to obtain the target preview message corresponding to the target interactive session object, and the target preview message is displayed in the preview area.

[0125] Step S303: When responding to a session interaction operation on the target session object to be interacted with, display the target session interface of the target session object to be interacted with.

[0126] In this embodiment, when responding to a session interaction operation targeting a target session object, the target session interface of the target session object is displayed. The original session messages sent by the target session object are displayed in the target session interface. Optionally, the target session messages constituting the target preview message may not be continuous within the original session messages sent by the target session object. The original session messages corresponding to the target preview message can be displayed so that the receiving object can promptly view the original session messages corresponding to the target preview message. Specifically, when responding to a session interaction operation targeting a target session object, the target session interface of the target session object is displayed. In the target session interface, starting from the first target session message among N target session messages, the original session messages following the first target session message are displayed. Optionally, the computer device can highlight the original session messages corresponding to the N target session messages.

[0127] For example, please see Figure 8 , Figure 8 This is a schematic diagram of a session message display scenario provided in an embodiment of this application. For example... Figure 8 As shown, the computer device can display a candidate object display area 802 and an interactive object display area 803 in the object interaction page 801. The candidate object display area can display the session object to be interacted with, and the interactive object display area 803 can display the session connection object. Assuming the target session object to be interacted with is session object 8021, and assuming that the N target session messages included in the target preview message correspond to original session message 1, original session message 2, etc., the original session messages received by the computer device from the target session object 8021 include "...; original session message 1; original session message a; original session message 2;...". When responding to a session interaction operation from the target session object 8021, the target session interface 804 of the target session object 8021 can be displayed. The target session interface 804 can display the original session messages sent by the target session object 8021, such as sequentially displaying "...; original session message 1; original session message a; original session message 2;...". Alternatively, starting with the first session message among N target session messages, the original session messages following the original session message corresponding to the first target session message can be displayed in the target session interface 804, such as... Figure 8 The target session interface 804 displays "Original Session Message 1; Original Session Message a; Original Session Message 2;...", meaning the display starts from Original Session Message 1. Optionally, the original session messages corresponding to N target session messages can be highlighted, where the highlighting method includes, but is not limited to, bolding the font (e.g., ...). Figure 8The target session interface (as shown in 804) can be displayed in italics, with added background color, font color changes, and font magnification, etc., without limitation. Optionally, when responding to a session interaction operation targeting the target session object, it can be done as follows: Figure 8 As shown, in the object interaction page 801, the target interactive session object in the candidate object display area 802 is switched to the interactive object display area 803.

[0128] Furthermore, the original session message sent by the target interactive session object is displayed in the target session interface, and the target preview message is also displayed in the target session interface; in response to a trigger operation on the target preview message, the target session interface jumps to the location of the original session message corresponding to the first target session message in the target preview message for display. For example... Figure 9 As shown, Figure 9 This is a schematic diagram of a session redirection scenario provided in an embodiment of this application. For example... Figure 9 As shown, the computer device can switch the display of the target interactive session object 9011 in the interactive object display area 901, display the original session messages sent by the target interactive session object 9011 "...; original session message 1; original session message a; original session message 2; ..." in the target session interface 902, and display the target preview message in the object interaction page. This target preview message can be displayed in the sub-area where the target interactive session object 9011 is located in the interactive object display area 901, such as... Figure 9 As shown, it can also be displayed in the target session interface 902, or in an area independent of existing areas (i.e., the candidate object display area, the target session interface 902, and the interactive object display area 901, etc.), which is associated with the target interactive session object 9011. In response to a trigger operation on the target preview message, the target session interface 902 jumps to the location of the original session message corresponding to the first target session message in the target preview message for display, such as... Figure 9 As shown in area 9021, it displays as "Original Session Message 1; Original Session Message a; Original Session Message 2; ...".

[0129] Furthermore, the number of the pending interactive session objects is M, where M is a positive integer. These M pending interactive session objects are displayed in the candidate object display area of ​​the object interaction page. The computer device can respond to batch interaction requests for the M pending interactive session objects in the candidate object display area by displaying a batch selection page. The batch selection page displays the M pending interactive session objects and a preview message for each pending interactive session object; the preview message is obtained by concatenating the session messages sent by the corresponding pending interactive session object. In response to a data submission operation for the batch selection page, the first session object in the candidate object display area is switched to the interactive object display area in the object interaction page; the first session object refers to the session object selected by the data submission operation; the first session object belongs to the M pending interactive session objects, and the interactive object display area is used to display session objects with established session relationships.

[0130] See Figure 10 , Figure 10 This is a schematic diagram of a batch interaction scenario provided in an embodiment of this application. For example... Figure 10 As shown, the computer device can display the interactive session objects, such as interactive session objects 100a, 100b, and 100c, in the candidate object display area 1002 of the object interaction page 1001, and the session connection object in the interactive object display area 1003. In response to a batch interaction request for M interactive session objects in the candidate object display area 1002, a batch selection page 1004 is displayed. The batch selection page 1004 displays the M interactive session objects and preview messages for each interactive session object, such as preview message 1 for interactive session object 100a, preview message 2 for interactive session object 100b, and preview message 3 for interactive session object 100c. Optionally, the batch selection page 1004 can also display the waiting time for each interactive session object, where the waiting time indicates the time when the corresponding interactive session object sends its first unread session message. The generation process of the preview messages corresponding to the M interactive session objects can be found in the generation process of the target preview message, and will not be repeated here. Furthermore, in response to the data submission operation on the batch selection page 1004, the first session object in the candidate object display area 1002 is switched to the interactive object display area 1003 in the object interaction page 1001. This first session object refers to the session object selected by the data submission operation, such as... Figure 10 The interactive session objects 100a and 100b are switched from the candidate object display area 1002 to the interactive object display area 1003.

[0131] Optionally, it is assumed that the first session object includes a target session object to be interacted with. When responding to a session interaction operation targeting the target session object, the target session interface of the target session object is displayed. Specifically, when responding to a session interaction operation targeting the target session object in the interaction object display area, the target session interface of the target session object is displayed. In the target session interface, the original session message sent by the target session object is displayed. The original session message includes N target session messages, or it can be considered that the original session message includes the original session messages corresponding to each of the N target session messages. When responding to a message sending operation targeting the target session interface, the response session message sent by the message sending operation is displayed in the target session interface. Optionally, such as Figure 4a or Figure 4b As shown, the computer device can display a recommended reply area 405 in the object interaction page 401, where k quick reply messages are displayed, and k is a natural number. When interacting with the target interactive session object through the target session interface, the device can respond to a trigger operation for the target quick reply message among the k quick reply messages, sending the target quick reply message to the associated device where the target interactive session object is located, and displaying the target quick reply message in the target session interface.

[0132] In this embodiment, the interactive session object is displayed on the object interaction page; a target preview message is displayed in the preview area, which is obtained by concatenating N target session messages of the target interactive session object; N is a positive integer; the N target session messages are obtained based on the original session messages sent by the target interactive session object; the preview area is the area in the object interaction page that points to the target interactive session object; when responding to a session interaction operation on the target interactive session object, the target session interface of the target interactive session object is displayed; the target session interface includes N target session messages. Through the above process, preview messages for each interactive session object can be displayed during conversational interaction. These preview messages are obtained by transforming and concatenating multiple conversation messages sent by the corresponding interactive session object. This allows the receiving object to obtain a general understanding of the content sent by each interactive session object based on these preview messages. The preview messages can include the content of multiple conversation messages, enabling the receiving object to determine which interactive session objects contain valid conversation messages and require interaction or viewing. This improves the accuracy of conversation message previews and increases the efficiency of conversational interaction between the receiving object and the interactive session objects. Furthermore, a message preview threshold can be used to limit N, preventing information ambiguity due to an insufficient number of target conversation messages in the target preview message, and preventing information redundancy due to an excessive number of target conversation messages, thus improving the effectiveness and efficiency of message previews.

[0133] Optional, see below Figure 11 , Figure 11 This is a schematic diagram illustrating an optional method for generating a target preview message provided in an embodiment of this application. For example... Figure 11 As shown, the method includes the following steps:

[0134] Step S1101: Obtain the original session message.

[0135] In this embodiment of the application, the computer device can obtain the original session messages sent by the target session object to be interacted with, and record the number of received original session messages as t, where t is a positive integer.

[0136] Step S1102: Process the j-th original session message.

[0137] In this embodiment of the application, the computer device can process t original session messages sequentially, that is, process the j-th original session message, where the initial value of j is set to 1.

[0138] Step S1103: The original session message processing is complete.

[0139] In this embodiment of the application, the computer device can detect whether the original session message has been processed, that is, whether j is greater than t. If j is greater than t, it means that the original session message has been processed and step S1107 is executed; if j is less than or equal to t, it means that the original session message has not been processed and step S1104 is executed.

[0140] Step S1104: Is the last character a statement terminator?

[0141] In this embodiment of the application, the computer device can detect whether the last character of the j-th original session message is a statement terminator. If it is a statement terminator, the j-th original session message is determined as the j-th target session message corresponding to the j-th original session message, and step S1106 is executed; if it is not a statement terminator, step S1105 is executed.

[0142] Step S1105: Add a statement terminator to the end of the j-th original session message.

[0143] In this embodiment of the application, the computer device can add a statement terminator to the end of the j-th original session message to obtain the j-th target session message corresponding to the j-th original session message, and execute step S1106.

[0144] Step S1106: Concatenate the target session message corresponding to the j-th original session message into the target preview message.

[0145] In this embodiment of the application, the computer device can concatenate the target session message corresponding to the j-th original session message into the target preview message, increment the value of j by 1, and return to the execution step S1102, that is, process the next original session message.

[0146] Step S1107: Output the target preview message.

[0147] Further, please see Figure 12 , Figure 12 This is a schematic diagram of a session message preview device provided in an embodiment of this application. The session message preview device can be a computer program (including program code, etc.) running on a computer device; for example, the session message preview device can be an application software. This device can be used to execute corresponding steps in the method provided in the embodiments of this application. Figure 12 As shown, the session message preview device 1200 can be used for Figure 3 Specifically, the computer device in the corresponding embodiment may include: an object display module 11, a preview display module 12, and a session interaction module 13.

[0148] The object display module 11 is used to display the session object to be interacted with in the object interaction page;

[0149] The preview display module 12 is used to display a target preview message in the preview area, which is obtained by concatenating N target session messages of the target interactive session object in the interactive session object; N is a positive integer; the N target session messages are obtained based on the original session messages sent by the target interactive session object; the preview area is the area in the object interaction page that points to the target interactive session object;

[0150] The session interaction module 13 is used to display the target session interface of the target session object when responding to a session interaction operation on the target session object; the target session interface includes N target session messages.

[0151] The preview display module 12 includes:

[0152] The concatenation unit 12a is used to display, in the preview area, a target preview message obtained by concatenating the N target session messages (including statement completion characters) of the target session object to be interacted with in the target session object if there is a target session message whose last character is not a statement completion character among the N target session messages; the N target session messages including statement completion characters include target session messages whose last character is a statement completion character, and session messages obtained by adding a statement completion character to the end of target session messages whose last character is not a statement completion character.

[0153] The preview display module 12 includes:

[0154] The key display unit 12b is used to display a target preview message in the preview area, which is obtained by splicing the N target session messages of the target session object to be interacted with in the target session object, if there are default keywords in the N target session messages, and to highlight the default keywords in the target preview message.

[0155] The preview display module 12 includes:

[0156] The special replacement unit 12c is used to respond to a message preview operation for the target session object in the interactive session object if, among the N target session messages of the target session object to be interacted with, there are h target session messages with a special data type. The h target session messages with a special data type are replaced with default display messages, and the target preview message obtained by concatenating the h default display messages and the remaining target session messages is displayed in the preview area. The remaining target session messages refer to the target session messages other than the h target session messages with a special data type among the N target session messages. h is a positive integer less than or equal to N.

[0157] Among them, the area triggering unit 12d is used to respond to the operation of the indicator moving to the area where the target interactive session object is located in the interactive session object, and trigger the display of the preview area associated with the target interactive session object in the object interaction page;

[0158] The message display unit 12e is used to display a target preview message in the preview area, which is obtained by splicing together N target session messages of the target interactive session object.

[0159] The device 1200 also includes:

[0160] The duration statistics module 14 is used to count the continuous dwell time of the indicator in the area where the target interactive session object is located;

[0161] The duration matching module 15 is used to execute the process of triggering the display of the preview area associated with the target interactive session object in the object interaction page if the continuous dwell time of the indicator in the area where the target interactive session object is located is greater than or equal to the preview trigger duration threshold.

[0162] The session interaction module 13 includes:

[0163] The first display unit 13a is used to display the target session interface of the target session object when responding to a session interaction operation for the target session object. In the target session interface, starting from the first target session message among N target session messages, the original session message located after the first target session message is displayed.

[0164] The original highlighting unit 13b is used to highlight the original session messages corresponding to N target session messages.

[0165] The device 1200 also includes:

[0166] The session display module 16 is used to display the original session messages sent by the target interactive session object in the target session interface, and to display the target preview messages in the target session interface.

[0167] The message jump module 17 is used to respond to the trigger operation of the target preview message. In the target session interface, it jumps to the location of the original session message corresponding to the first target session message in the target preview message for display.

[0168] The number of interactive session objects is M, where M is a positive integer, and the M interactive session objects are displayed in the candidate object display area of ​​the object interaction page; the device 1200 also includes:

[0169] The batch preview module 18 is used to respond to batch interaction requests for M interactive session objects in the candidate object display area, display a batch selection page, and display the M interactive session objects and the preview message of each interactive session object on the batch selection page; the preview message is obtained by concatenating the session messages sent by the corresponding interactive session object.

[0170] The batch interaction module 19 is used to respond to the data submission operation for the batch selection page. In the object interaction page, it switches the first session object in the candidate object display area to the interaction object display area. The first session object refers to the session object selected by the data submission operation. The first session object belongs to M session objects to be interacted with. The interaction object display area is used to display session objects with established session relationships.

[0171] The first session object includes the target session object to be interacted with;

[0172] The session interaction module 13 includes:

[0173] The interface display unit 13c is used to display the target session interface of the target session object when responding to a session interaction operation on the target session object to be interacted with in the display area of ​​the interaction object;

[0174] The session display unit 13d is used to display the original session messages sent by the target session object to be interacted with in the target session interface; the original session messages include N target session messages;

[0175] The session response unit 13e is used to respond to a message sending operation for the target session interface and to display the response session message sent by the message sending operation in the target session interface.

[0176] The preview display module 12 includes:

[0177] The message acquisition unit 12f is used to acquire the original session message sent by the target session object to be interacted with in the session object to be interacted with;

[0178] The original splicing unit 12g is used to determine the original session message as the target session message if the number of original session messages is less than or equal to the message preview threshold, splice the target session messages to obtain the target preview message, and display the target preview message in the preview area; the number of target session messages is N;

[0179] The message selection unit 12h is used to obtain the message sending time of the original session messages if the number of original session messages is greater than the message preview threshold, obtain N target session messages from the original session messages based on the message sending time, concatenate the N target session messages to obtain the target preview message, and display the target preview message in the preview area.

[0180] The device 1200 also includes:

[0181] The message receiving module 20 is used to receive pending session messages sent by the target session object to be interacted with, and to obtain the target message preview queue associated with the target session object to be interacted with; the original session messages include pending session messages.

[0182] The message queuing module 21 is used to add the pending session messages to the target message preview queue if the number of session messages included in the target message preview queue is less than the message preview threshold.

[0183] The queue update module 22 is used to add the pending session messages to the target message preview queue if the number of session messages included in the target message preview queue is greater than or equal to the message preview threshold, and delete L session messages starting from the first position of the target message preview queue; L is a positive integer, and the number of session messages included in the target message preview queue after deleting L session messages is the message preview threshold.

[0184] The preview display module 12 includes:

[0185] The queue acquisition unit 12i is used to acquire the target message preview queue associated with the target interactive session object in the interactive session object;

[0186] The target determination unit 12j is used to determine the session messages included in the target message preview queue as target session messages, concatenate the target session messages into target preview messages, and display the target preview messages in the preview area; the number of session messages included in the target message preview queue is N.

[0187] The preview display module 12 includes:

[0188] The message acquisition unit 12f is also used to acquire N target session messages corresponding to the target interactive session object in the interactive session object;

[0189] The completion addition unit 12k is used to add a statement terminator at the end of the i-th target session message if the last character of the i-th target session message is not a statement terminator.

[0190] The message splicing unit 12l is used to splice N target session messages associated with statement terminating characters to obtain a target preview message, and display the target preview message in the preview area.

[0191] The completed addition unit 12k includes:

[0192] The type determination subunit 121k is used to perform semantic parsing on the i-th target session message if the last character of the i-th target session message is not a statement terminator, so as to obtain the message semantic type corresponding to the i-th target session message.

[0193] The symbol addition subunit 122k is used to add the statement terminator corresponding to the message semantic type at the end of the i-th target session message.

[0194] The preview display module 12 includes:

[0195] The message parsing unit 12m is used to obtain N original session messages corresponding to the target session object to be interacted with in the session object to be interacted with, and to obtain the message data type corresponding to each of the N original session messages;

[0196] The special replacement unit 12n is used to obtain the default display message of the message data type corresponding to the i-th original session message if the message data type corresponding to the i-th original session message is a special data type, and to determine the default display message as the i-th target session message corresponding to the i-th original session message.

[0197] The original determination unit 12o is used to determine the i-th original session message as the i-th target session message if the message data type corresponding to the i-th original session message does not belong to a special data type.

[0198] The message preview unit 12p is used to concatenate the target session messages corresponding to N original session messages to obtain the target preview message, and display the target preview message in the preview area.

[0199] The preview display module 12 includes:

[0200] The message acquisition unit 12f is also used to acquire the original session message sent by the target session object to be interacted with in the session object to be interacted with;

[0201] The semantic parsing unit 12q is used to perform semantic parsing on the original session messages, identify invalid session messages in the original session messages, and identify the original session messages other than invalid session messages as target session messages; the number of target session messages is N.

[0202] The message preview unit 12p is also used to concatenate N target session messages to obtain a target preview message, which is then displayed in the preview area.

[0203] The number of interactive session objects is M, where M is a positive integer;

[0204] The object display module 11 includes:

[0205] The effective filtering unit 11a is used to obtain the conversation messages sent by M conversation objects to be interacted with, perform semantic parsing on the conversation messages sent by the M conversation objects to be interacted with, and determine the effective conversation messages corresponding to the M conversation objects to be interacted with.

[0206] The quantity statistics unit 11b is used to sort the M interactive session objects based on the number of valid session messages corresponding to the M interactive session objects respectively;

[0207] The object display unit 11c is used to display M interactive session objects on the object interaction page based on the sorting results.

[0208] This application provides a conversation message preview device, which can display a conversation object to be interacted with in an object interaction page; display a target preview message in a preview area, which is obtained by concatenating N target conversation messages of the target conversation object in the conversation object to be interacted with; N is a positive integer; the N target conversation messages are obtained based on the original conversation messages sent by the target conversation object to be interacted with; the preview area is the area in the object interaction page that points to the target conversation object to be interacted with; when responding to a conversation interaction operation on the target conversation object to be interacted with, display the target conversation interface of the target conversation object to be interacted with; the target conversation interface includes N target conversation messages. Through the above process, preview messages for each interactive session object can be displayed during conversational interaction. These preview messages are obtained by transforming and concatenating multiple conversation messages sent by the corresponding interactive session object. This allows the receiving object to obtain a general understanding of the content sent by each interactive session object based on these preview messages. The preview messages can include the content of multiple conversation messages, allowing the receiving object to determine which interactive session objects contain valid conversation messages. In other words, the sent conversation messages require interaction or viewing, thus improving the accuracy of the conversation message preview and increasing the efficiency of conversational interaction between the receiving object and each interactive session object.

[0209] See Figure 13 , Figure 13 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Figure 13As shown, the computer device in this embodiment may include one or more processors 1301, a memory 1302, and an input / output interface 1303. The processor 1301, memory 1302, and input / output interface 1303 are connected via a bus 1304. The memory 1302 stores a computer program, which includes program instructions. The input / output interface 1303 receives and outputs data, such as for data interaction between the computer device and associated devices. The processor 1301 executes the program instructions stored in the memory 1302.

[0210] The processor 1301 can perform the following operations:

[0211] Display the session object to be interacted with on the object interaction page;

[0212] The preview area displays the target preview message, which is obtained by concatenating N target session messages from the target interactive session object in the interactive session object; N is a positive integer; the N target session messages are obtained from the original session messages sent by the target interactive session object; the preview area is the area in the object interaction page that points to the target interactive session object;

[0213] When responding to a session interaction operation targeting the target session object, the target session interface of the target session object is displayed; the target session interface includes N target session messages.

[0214] When displaying a target preview message in the preview area, which is obtained by concatenating N target session messages from the target interactive session object, the processor 1301 can perform the following operations:

[0215] If a default keyword exists in any of the N target session messages, the preview area will display a target preview message obtained by concatenating the N target session messages from the target session object to be interacted with, and the default keyword in the target preview message will be highlighted.

[0216] In some feasible implementations, the processor 1301 may be a central processing unit (CPU), but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.

[0217] The memory 1302 may include read-only memory and random access memory, and provides instructions and data to the processor 1301 and input / output interface 1303. A portion of the memory 1302 may also include non-volatile random access memory. For example, the memory 1302 may also store device type information.

[0218] In practice, the computer device can perform actions such as these through its built-in functional modules. Figure 3 For details on the implementation methods provided for each step, please refer to [the relevant documentation / document / etc.]. Figure 3 The implementation methods provided for each step are not elaborated here.

[0219] This application provides a computer device including a processor, an input / output interface, and a memory. The processor retrieves a computer program from the memory and executes it. Figure 3Each step of the method shown involves performing a session message preview operation. This embodiment of the application displays the session object to be interacted with on the object interaction page; displays a target preview message in the preview area, obtained by concatenating N target session messages from the target session object to be interacted with; N is a positive integer; the N target session messages are obtained based on the original session messages sent by the target session object to be interacted with; the preview area is the area on the object interaction page that points to the target session object to be interacted with; when responding to a session interaction operation targeting the target session object to be interacted with, the target session interface of the target session object to be interacted with is displayed; the target session interface includes N target session messages. Through the above process, preview messages of each interactive session object can be displayed during session interaction. These preview messages are obtained by converting and concatenating multiple session messages sent by the corresponding interactive session object. This allows the receiving object to obtain the approximate content sent by each interactive session object based on the preview messages, which may include the content of multiple session messages. This enables the receiving object to determine which interactive session objects contain valid session messages, i.e., which require session interaction or viewing. This improves the accuracy of session message previews and enhances the efficiency of session interaction between the receiving object and each interactive session object.

[0220] This application also provides a computer-readable storage medium storing a computer program adapted to be loaded and executed by a processor. Figure 3 For details on the session message preview methods provided in each step, please refer to [link / document / document name]. Figure 3 The implementation methods provided for each step are not repeated here. Furthermore, the beneficial effects of using the same method are also not repeated. For technical details not disclosed in the computer-readable storage medium embodiments involved in this application, please refer to the description of the method embodiments of this application. As an example, a computer program may be deployed to execute on a single computer device, or on multiple computer devices located in one location, or on multiple computer devices distributed across multiple locations and interconnected via a communication network.

[0221] The computer-readable storage medium can be the session message preview device provided in any of the foregoing embodiments or the internal storage unit of the computer device, such as the hard disk or memory of the computer device. The computer-readable storage medium can also be an external storage device of the computer device, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., provided on the computer device. Furthermore, the computer-readable storage medium can include both internal storage units and external storage devices of the computer device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium can also be used to temporarily store data that has been output or will be output.

[0222] This application also provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform... Figure 3 The methods provided in the various optional modes implement the display of preview messages for each interactive session object during session interaction. These preview messages are obtained by transforming and concatenating multiple session messages sent by the corresponding interactive session object. This allows the receiving object to obtain the approximate content sent by each interactive session object based on the preview messages, which may include the content of multiple session messages. This enables the receiving object to determine which interactive session objects contain valid session messages, i.e., which require session interaction or viewing. This improves the accuracy of session message previews and enhances the efficiency of session interaction between the receiving object and each interactive session object.

[0223] The terms "first," "second," etc., in the specification, claims, and drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the term "comprising," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, product, or device that includes a series of steps or units is not limited to the listed steps or modules, but may optionally include steps or modules not listed, or may optionally include other step units inherent to these processes, methods, apparatuses, products, or devices.

[0224] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been generally described in terms of functionality. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this application.

[0225] The methods and related apparatus provided in this application are described with reference to the method flowcharts and / or structural diagrams provided in this application. Specifically, each block of the method flowchart and / or structural diagram, as well as combinations of blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable session message preview device to create a machine, such that the instructions executed by the processor of the computer or other programmable session message preview device generate instructions for implementing the process... Figure 1 A schematic diagram of one or more processes and / or structures. Figure 1 The means specifying the functions in one or more boxes. These computer program instructions may also be stored in a computer-readable storage medium capable of directing a computer or other programmable session message preview device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means implemented in the process. Figure 1 A schematic diagram of one or more processes and / or structures. Figure 1 The functions specified in one or more boxes. These computer program instructions may also be loaded onto a computer or other programmable session message preview device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable device for implementing the process. Figure 1 A process or multiple processes and / or structures illustrate the steps of the functions specified in one or more boxes.

[0226] The steps in the method of this application embodiment can be adjusted, combined, or deleted according to actual needs.

[0227] The modules in the device of this application embodiment can be merged, divided, and deleted according to actual needs.

[0228] The above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall still fall within the scope of this application.

Claims

1. A method for previewing conversation messages, characterized in that, The method comprises: displaying a to-be-interacted session object in an object interaction page; obtaining a target message preview queue associated with a target to-be-interacted session object in the to-be-interacted session object; determining session messages included in the target message preview queue as target session messages, splicing the target session messages into a target preview message, and displaying the target preview message in a preview area; the number of the target session messages is N; N is a positive integer; and the preview area is an area in the object interaction page pointing to the target to-be-interacted session object; when a session interaction operation is responded to the target to-be-interacted session object, displaying a target session interface of the target to-be-interacted session object; the target session interface comprises N target session messages. The method further comprises: receiving a to-be-processed session message sent by the target to-be-interacted session object, and obtaining a target message preview queue associated with the target to-be-interacted session object; if the number of session messages included in the target message preview queue is less than a message preview threshold, adding the to-be-processed session message to the target message preview queue; if the number of session messages included in the target message preview queue is greater than or equal to the message preview threshold, adding the to-be-processed session message to the target message preview queue and deleting L session messages from the beginning of the target message preview queue; L is a positive integer, and the number of session messages included in the target message preview queue after deleting L session messages is the message preview threshold.

2. The method of claim 1, wherein, The method further comprises: if there is a target session message in the N target session messages whose last character is not a statement completion symbol, displaying a target preview message obtained by splicing N target session messages of the target to-be-interacted session object in the to-be-interacted session object including the statement completion symbol in the preview area; the N target session messages including the statement completion symbol include a target session message whose last character is the statement completion symbol, and a session message obtained by adding the statement completion symbol to the end of the target session message whose last character is not the statement completion symbol.

3. The method of claim 1, wherein, The method further comprises: if there is a default keyword in the N target session messages, displaying a target preview message obtained by splicing the N target session messages of the target to-be-interacted session object in the to-be-interacted session object in the preview area, and highlighting the default keyword in the target preview message.

4. The method of claim 1, wherein, The method further comprises: If there are h target session messages of a special data type in the N target session messages of a target one of the to-be-interacted session objects, the h target session messages of the special data type are replaced with default display messages, and a target preview message obtained by splicing the h default display messages and remaining target session messages is displayed in the preview area; the remaining target session messages refer to target session messages other than the h target session messages of the special data type in the N target session messages; h is a positive integer less than or equal to N.

5. The method of claim 1, wherein, The splicing of the target session messages into a target preview message and the display of the target preview message in the preview area include: In response to an operation of moving an indication identifier to a region where a target one of the to-be-interacted session objects is located, triggering display of a preview area associated with the target to-be-interacted session object in the object interaction page is performed. The splicing of the N target session messages into a target preview message and the display of the target preview message in the preview area are performed.

6. The method of claim 5, wherein, The method further includes: Counting a continuous stay duration of the indication identifier in the region where the target to-be-interacted session object is located. If the continuous stay duration of the indication identifier in the region where the target to-be-interacted session object is located is greater than or equal to a preview triggering duration threshold, the process of triggering display of the preview area associated with the target to-be-interacted session object in the object interaction page is performed.

7. The method of claim 1, wherein, The display of a target session interface of the target to-be-interacted session object in response to a session interaction operation on the target to-be-interacted session object includes: The display of a target session interface of the target to-be-interacted session object in response to a session interaction operation on the target to-be-interacted session object, and the display of original session messages after a first target session message in the target session interface from the first target session message in the N target session messages; the original session messages include the to-be-processed session messages. The original session messages corresponding to the N target session messages are highlighted.

8. The method of claim 1, wherein, The method further includes: The display of original session messages sent by the target to-be-interacted session object in the target session interface, and the display of the target preview message in the target session interface; the original session messages include the to-be-processed session messages. In response to a triggering operation on the target preview message, the display of a first target session message in the target preview message is switched to a position of an original session message corresponding to the first target session message in the target session interface.

9. The method of claim 1, wherein, The number of the to-be-interacted session objects is M, M is a positive integer, and the M to-be-interacted session objects are displayed in a candidate object display region in the object interaction page. The method further includes: In response to a batch interaction request for M to-be-interacted session objects in the candidate object display area, a batch selection page is displayed, and the M to-be-interacted session objects and preview messages of each to-be-interacted session object are displayed in the batch selection page; the preview message is obtained by splicing session messages sent by the corresponding to-be-interacted session object; In response to a data submission operation for the batch selection page, a first session object in the candidate object display area is switched and displayed to an interaction object display area in the object interaction page; the first session object refers to a session object selected by the data submission operation; the first session object belongs to the M to-be-interacted session objects, and the interaction object display area is used to display a session object with which a session relationship is established.

10. The method of claim 9, wherein, The first session object includes the target to-be-interacted session object; When a session interaction operation is performed on the target to-be-interacted session object in the interaction object display area, a target session interface of the target to-be-interacted session object is displayed; When a session interaction operation is performed on the target to-be-interacted session object in the interaction object display area, a target session interface of the target to-be-interacted session object is displayed; In the target session interface, original session messages sent by the target to-be-interacted session object are displayed; the original session messages include the N target session messages; In response to a message sending operation for the target session interface, a response session message sent by the message sending operation is displayed in the target session interface.

11. The method of claim 1, wherein, The target session messages are spliced into a target preview message, and the target preview message is displayed in a preview area, including: If the last character of the i th target session message does not belong to a sentence completion symbol, the sentence completion symbol is added at the end of the i th target session message; The N target session messages associated with the sentence completion symbol are spliced to obtain a target preview message, and the target preview message is displayed in a preview area.

12. The method of claim 11, wherein, If the last character of the i th target session message does not belong to a sentence completion symbol, the sentence completion symbol is added at the end of the i th target session message, including: If the last character of the i th target session message does not belong to a sentence completion symbol, the i th target session message is semantically parsed to obtain a message semantic type corresponding to the i th target session message; The sentence completion symbol corresponding to the message semantic type is added at the end of the i th target session message.

13. The method of claim 1, wherein, The session messages included in the target message preview queue are determined as target session messages, the target session messages are spliced into a target preview message, and the target preview message is displayed in a preview area, including: The session messages included in the target message preview queue are obtained, and N session messages respectively correspond to message data types; If the message data type corresponding to the i-th session message belongs to a special data type, a default display message of the message data type corresponding to the i-th session message is obtained, and the default display message is determined as an i-th target session message corresponding to the i-th session message; If the message data type corresponding to the i-th session message does not belong to a special data type, the i-th session message is determined as an i-th target session message; The target preview messages are spliced to obtain a target preview message, and the target preview message is displayed in the preview area.

14. The method of claim 1, wherein, The target session messages included in the target message preview queue are determined, the target session messages are spliced into a target preview message, and the target preview message is displayed in the preview area. The session messages included in the target message preview queue are obtained. The session messages included in the target message preview queue are subjected to semantic analysis, invalid session messages in the session messages are determined, and target session messages in the session messages except the invalid session messages are determined; the number of the target session messages is N. The N target session messages are spliced to obtain a target preview message, and the target preview message is displayed in the preview area.

15. The method of claim 1, wherein, The number of the to-be-interacted session objects is M, and M is a positive integer. The to-be-interacted session objects are displayed in the object interaction page, including: Session messages respectively sent by the M to-be-interacted session objects are obtained, the session messages respectively sent by the M to-be-interacted session objects are subjected to semantic analysis, and valid session messages respectively corresponding to the M to-be-interacted session objects are determined. The M to-be-interacted session objects are sorted based on the number of the valid session messages respectively corresponding to the M to-be-interacted session objects. The M to-be-interacted session objects are displayed in the object interaction page through the sorting result.

16. A computer device, comprising: The computer device includes a processor, a memory, and an input / output interface. The processor is connected with the memory and the input / output interface, respectively, wherein the input / output interface is configured to receive and output data, the memory is configured to store a computer program, and the processor is configured to call the computer program to enable the computer device to execute the method in any one of claims 1-15.

17. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is adapted to be loaded and executed by the processor to enable the computer device having the processor to execute the method in any one of claims 1-15.

18. A computer program product comprising computer programs / instructions, characterized in that, The computer program / instruction is executed by the processor to implement the method in any one of claims 1-15.

Citation Information

Patent Citations

  • Message splicing method and device

    CN111327518A

  • Communication method and device, computer equipment and storage medium

    CN112737922A