Message processing method and device, electronic equipment and machine readable storage medium

CN120956697APending Publication Date: 2025-11-14NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510930531.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-04
Publication Date
2025-11-14

Smart Images

  • Figure CN120956697A_ABST
    Figure CN120956697A_ABST
Patent Text Reader

Abstract

The invention provides a message processing method and device, electronic equipment and a machine readable storage medium, and the method comprises the steps: determining a first target message in at least one session message in response to a message processing instruction, and determining a first keyword corresponding to the first target message; based on the first keyword, determining a first related message matched with the first target message in the first session; displaying at least part of the first related message on a graphical user interface; the update triggering operation comprises a message sending operation or a session switching operation corresponding to the first message content. According to the method, a user can conveniently extract required information from a plurality of session messages, the information acquisition efficiency of the user is improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of instant messaging technology, and more specifically, to a message processing method, apparatus, electronic device, and machine-readable storage medium. Background Technology

[0002] In video games or social media, users interact and communicate through chat sessions. Users typically engage in real-time text or voice communication, quickly sharing their thoughts, game information, tips, and experiences. Chat sessions often present a wealth of information, with different groups of people discussing different topics simultaneously. Users struggle to sift through this information to find what they need, resulting in inefficient information retrieval and a poor user experience. Summary of the Invention

[0003] In view of this, the purpose of the present invention is to provide a message processing method, apparatus, electronic device and machine-readable storage medium to facilitate users in extracting the information they need from multiple conversation messages, improve the efficiency of information acquisition for users and enhance user experience.

[0004] In a first aspect, embodiments of the present invention provide a message processing method, which provides a graphical user interface through a terminal device; the graphical user interface includes a message display area corresponding to a first session; the first session includes multiple session accounts; the message display area is used to display at least one session message generated by a session account in the first session; the method includes: in response to a message processing instruction, determining a first target message in at least one session message, and determining a first keyword corresponding to the first target message; based on the first keyword, determining a first related message in the first session that matches the first target message; and displaying at least a portion of the first related messages on the graphical user interface.

[0005] In a second aspect, embodiments of the present invention provide a message processing apparatus that provides a graphical user interface via a terminal device; the graphical user interface includes a message display area corresponding to a first session; the first session includes multiple session accounts; the message display area is used to display at least one session message generated by a session account in the first session; the apparatus includes: a keyword determination module, used to determine a first target message in at least one session message in response to a message processing instruction, and determine a first keyword corresponding to the first target message; a related message determination module, used to determine a first related message in the first session that matches the first target message based on the first keyword; and a related message display module, used to display at least a portion of the first related messages in the graphical user interface.

[0006] Thirdly, embodiments of the present invention provide an electronic device, including a processor and a memory, wherein the memory stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the above-described message processing method.

[0007] Fourthly, embodiments of the present invention provide a machine-readable storage medium storing machine-executable instructions. When the machine-executable instructions are invoked and executed by a processor, the machine-executable instructions cause the processor to implement the aforementioned message processing method.

[0008] The embodiments of the present invention bring the following beneficial effects:

[0009] The aforementioned message processing method, apparatus, electronic device, and machine-readable storage medium, in response to a message processing instruction, determine a first target message in at least one session message and determine a first keyword corresponding to the first target message; based on the first keyword, determine a first related message in a first session that matches the first target message; display at least a portion of the first related messages in a graphical user interface; and update triggering operations include a message sending operation corresponding to the content of the first message or a session switching operation. This method facilitates users in extracting the information they need from multiple session messages, improving the efficiency of information retrieval and enhancing the user experience.

[0010] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention are realized and obtained in accordance with the structures particularly pointed out in the description, claims and drawings.

[0011] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0012] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0013] Figure 1 A flowchart of a message processing method provided in an embodiment of the present invention;

[0014] Figure 2 A schematic diagram of a graphical user interface provided in an embodiment of the present invention;

[0015] Figure 3A schematic diagram of another graphical user interface provided in an embodiment of the present invention;

[0016] Figure 4 A schematic diagram of another graphical user interface provided in an embodiment of the present invention;

[0017] Figure 5 A schematic diagram of another graphical user interface provided in an embodiment of the present invention;

[0018] Figure 6 A schematic diagram of another graphical user interface provided in an embodiment of the present invention;

[0019] Figure 7 A schematic diagram of another graphical user interface provided in an embodiment of the present invention;

[0020] Figure 8 A schematic diagram of another graphical user interface provided in an embodiment of the present invention;

[0021] Figure 9 A schematic diagram of a graphical user interface provided in an embodiment of the present invention;

[0022] Figure 10 This is a schematic diagram of the structure of a message processing device provided in an embodiment of the present invention;

[0023] Figure 11 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0024] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0025] In video games and social media, chat sessions are a crucial social tool that greatly enhances interaction and communication between users. In video games, chat sessions, also known as chat channels, allow players to communicate in real-time via text or voice, enhancing interactivity and timeliness. Players can quickly share in-game information, tips, and experiences through chat channels, thereby improving the overall gaming experience. Furthermore, chat channels play an indispensable role in enhancing cooperation and teamwork, building and maintaining social relationships, and increasing a sense of community.

[0026] In related technologies, chat is generally divided into multiple channels, such as "World," "Guild," and "Team." Messages sent by players within a specific channel are only visible to members of that channel and are not sent to other channels. The information presented in the game's general chat channels is diverse, and different groups of people may be discussing different topics at the same time. When a player asks a question or replies to a message on a particular topic, the barrage of other messages may prevent them from seeing subsequent discussions on that topic, making it difficult to obtain the information they need. This hinders the creation of a friendly public chat environment and negatively impacts the player's social experience.

[0027] Based on this, embodiments of the present invention provide a message processing method, apparatus, electronic device, and machine-readable storage medium, which can be applied to software application scenarios with chat sessions.

[0028] In one embodiment of the present invention, the message processing method can run on a local terminal device or a server. When the message processing method runs on a server, it can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0029] In an optional implementation, various cloud applications, such as cloud gaming, can run under the cloud interaction system. Taking cloud gaming as an example, cloud gaming refers to a gaming method based on cloud computing. In the cloud gaming operating mode, the game program's execution and the game screen presentation are separated. The storage and execution of message processing methods are completed on the cloud gaming server. The client device is used for data reception, transmission, and game screen presentation. For example, the client device can be a display device with data transmission capabilities located close to the user, such as a mobile terminal, television, computer, or PDA; however, information processing is performed by the cloud gaming server in the cloud. When playing the game, the player operates the client device to send operation commands to the cloud gaming server. The cloud gaming server runs the game according to the operation commands, encodes and compresses game screen data, returns it to the client device via the network, and finally, the client device decodes and outputs the game screen.

[0030] In an optional implementation, taking a game as an example, the local terminal device stores the game program and is used to display the game screen. The local terminal device is used to interact with the player through a graphical user interface (GUI), i.e., conventionally by downloading, installing, and running the game program via an electronic device. The local terminal device can provide the GUI to the player in various ways, such as rendering it on the terminal's display screen or providing it to the player via holographic projection. For example, the local terminal device can include a display screen for displaying the GUI, which includes game screens, and a processor for running the game, generating the GUI, and controlling the display of the GUI on the display screen.

[0031] See Figure 1 First, a message processing method provided by an embodiment of the present invention will be introduced, which provides a graphical user interface through a terminal device. The graphical user interface includes a message display area corresponding to a first session. The first session typically includes multiple session accounts, one of which is a session account controlled by the terminal device. The message display area is used to display session messages generated by each account in the first session. The message display area is limited; when a session account generates a large number of session messages, the message display area can only display a portion of the session messages. Users can view session messages in the first session that are not currently displayed in the message display area by performing swiping or page-turning operations on the message display area. The aforementioned session messages may include one or more of text messages, voice messages, and image messages.

[0032] The method includes the following steps:

[0033] Step S102: In response to the message processing instruction, determine the first target message in at least one session message, and determine the first keyword corresponding to the first target message.

[0034] The aforementioned message processing instructions are typically generated by the user through a human-computer interaction device. For example, a user can hover the mouse cursor over the display area of ​​a conversation message and then press a preset shortcut key to generate a message processing instruction for that conversation message; in this case, the conversation message becomes the first target message. When the terminal device is equipped with a touchscreen, the user can also generate message processing instructions by long-pressing a conversation message. Controls for generating message processing instructions can also be set in the graphical user interface. When a trigger operation is performed on this control, a message processing instruction is generated. A message can be selected as the first target message before or after triggering the control; the specific settings can be configured according to needs and are not limited here.

[0035] As mentioned above, when a message processing instruction is generated, the first target message is usually already determined; alternatively, after the message processing instruction is generated, the user can select the first target message through a selection instruction for a certain session message, which is not restricted here.

[0036] The aforementioned primary keyword can be one or more, and is usually limited during the processing of the primary target message. The method for determining the primary keyword corresponding to the primary target message is related to the form of the primary target message.

[0037] For example, when the first target message is a text message, semantic analysis can be performed on it using deep learning techniques or neural network models to obtain the corresponding first keyword. When the first target message is a voice message, it can first be recognized as text content, and then the corresponding first keyword can be determined using the same method as for text messages; alternatively, artificial intelligence techniques that identify keywords through voice recognition can be used to process the first target message and obtain its corresponding first keyword. When the first target message is an image message, it can be processed using image recognition models based on deep learning techniques or neural networks to obtain the corresponding first keyword.

[0038] Step S104: Based on the first keyword, determine the first relevant message in the first session that matches the first target message.

[0039] After determining the primary keyword, it is necessary to determine the matching degree between the conversation messages in the first session and the primary keyword, and to determine whether the conversation message is the first relevant message that matches the primary target message. In practical applications, the matching degree between the primary keyword and each conversation message in the first session other than the primary target message can be determined; the matching degree between the primary keyword and a set number of conversation messages in the first session can be determined; or the matching degree between the primary keyword and conversation messages generated within a certain time period in the first session can be determined. In specific implementations, the above-mentioned set number and time period can be preset by the system or set by the user through a setting operation, and are not restricted here.

[0040] When determining the degree of matching between a conversation message in the first session and the first keyword, one can first determine the keywords of the conversation message, and then match the keywords of the conversation message with the first keyword, for example, determine the semantic similarity between the two, and thus obtain the semantic similarity between the keywords of the conversation message and the first keyword as the degree of matching between the conversation message and the first keyword.

[0041] Generally, a threshold can be preset. When the match between a conversation message and the first keyword exceeds this threshold, the conversation message is identified as the first relevant message matching the first target message. Alternatively, conversation messages can be sorted according to their match degree, and a set number of conversation messages with higher match degrees in the sorted results are identified as the first relevant messages matching the first target message. Specific settings can be configured according to requirements.

[0042] Step S106: Display at least a portion of the first relevant messages in the graphical user interface.

[0043] Once the first relevant message is identified, a new window can be displayed in the graphical user interface to show it. Alternatively, the first relevant message can be displayed directly in the message display area without showing other session messages. The specific settings can be configured according to requirements, and no restrictions are imposed here.

[0044] The aforementioned message processing method, in response to a message processing instruction, identifies a first target message in at least one session message and determines a first keyword corresponding to the first target message; based on the first keyword, it identifies a first related message in the first session that matches the first target message; and displays at least a portion of the first related messages in a graphical user interface. This method facilitates users in extracting the information they need from multiple session messages, improving the efficiency of information retrieval and enhancing the user experience.

[0045] The following embodiments provide a specific method for determining a first target message in at least one session message and determining a first keyword corresponding to the first target message in response to a message processing instruction.

[0046] In practical applications, a primary control can be set in the graphical user interface. Players typically first select a conversation message via the human-computer interaction device; for convenience, this selected message can be referred to as the primary message. Responding to the selection command for the primary message among at least one conversation message, the primary message is identified as the primary target message. Then, the player can trigger an operation on the primary control via the human-computer interaction device, such as clicking a preset shortcut key or performing a specified touch operation on the primary control. Responding to the trigger operation on the primary control, the primary keyword corresponding to the primary target message is determined. In other words, triggering the primary control initiates the keyword extraction process for the primary target message, as well as subsequent processes such as determining the primary related messages of the primary target message.

[0047] In practical applications, players can typically reply to, favorite, or follow a conversation message. When a player performs one or more of these actions on a conversation message, they are considered to be following that message. Keyword extraction and subsequent message identification can be performed directly on the conversation messages followed by the player. In specific implementation, in response to a selection command for a second message within at least one conversation message, an operation control for that second message is displayed. This operation control triggers at least one of the following: reply, favorite, or follow. The operation control can include multiple sub-controls, each triggering a reply, favorite, or follow operation respectively. It can also include a sub-control capable of triggering all three operations simultaneously, depending on requirements. Players can trigger this operation control through a human-computer interaction device. In response to the trigger operation for this operation control, the system controls the operation triggered by the operation control for the second message, directly identifying the second message as the first target message, and subsequently determining the first keyword corresponding to the first target message.

[0048] In determining the first keyword corresponding to the first target message, the first target message can be input into a pre-trained semantic recognition model, which then outputs at least one initial keyword for the first target message. Semantic recognition models are mainly divided into two categories: traditional statistical models (such as N-gram and TF-IDF) and deep learning models (such as RNN, LSTM, and Transformer), covering various technical paths from basic word frequency statistics to complex contextual semantic understanding. When training the semantic model, it can be trained using statements from a specified domain. For example, if the conversation is implemented through a game channel, it can be trained using chat text within that game channel. The semantic recognition model can output one or more keywords from the first target message, which can then be referred to as "initial keywords."

[0049] When the conversation typically targets a specific domain, a keyword database conforming to that domain can be pre-built. This keyword database includes multiple standard keywords. For example, a keyword database corresponding to a specific game can be built. This database can include character names, common operation names, item names, strategy names, etc., from the game. The keyword database can also be updated based on game chat logs. Furthermore, based on this keyword database and at least one initial keyword, a primary keyword corresponding to the target message can be determined.

[0050] In practical implementation, for each initial keyword, its semantic similarity to each standard keyword can be determined. Then, based on semantic similarity, the target standard keyword corresponding to the initial keyword among multiple standard keywords is determined. Specifically, the standard keyword with the highest semantic similarity to the initial keyword can be determined as the target standard keyword corresponding to the initial keyword. Then, based on at least one initial keyword and its corresponding target standard keyword, the first keyword corresponding to the target message is determined. Specifically, the target standard keyword corresponding to the initial keyword can be determined as the first keyword corresponding to the target message. When there are multiple initial keywords and the number of first keywords is limited, the keywords can be sorted from highest to lowest semantic similarity to their corresponding target standard keywords. Then, based on the number of first keywords, the initial keyword with the highest ranking can be determined as the first keyword. Alternatively, the target standard keywords corresponding to these keywords can be determined as the first keyword. The specific settings can be configured according to requirements and are not limited here.

[0051] After determining the first keyword corresponding to the first target message, the first indicator corresponding to the first keyword can be displayed in the graphical user interface, so that players can understand which keywords the currently displayed first relevant information is based on.

[0052] After identifying the keyword corresponding to the first target message and displaying the first indicator corresponding to the first keyword, the player can also trigger processing commands for other messages to determine the keywords of those messages. Specifically, in response to message processing commands, a second target message in at least one session message is identified, and a second keyword corresponding to the second target message is determined. Typically, the second target message differs from the first target message. After determining the second keyword corresponding to the second target message, both the first indicator corresponding to the first keyword and the second indicator corresponding to the second keyword need to be displayed simultaneously in the graphical user interface. Figure 2 As shown, the first indicator is marked with the first keywords "siege" and "strategy", and the second indicator is marked with the second keywords "leisure" and "place". At this time, the first indicator is in the triggered state, and messages 1 and 3 displayed in the message display area are the first related messages.

[0053] When a player wants a second relevant message to be displayed in the message display area, they can trigger a second indicator. Responding to the trigger action on the second indicator will display the second relevant message in the session messages that matches the second target message. When the second indicator is triggered, the session messages displayed in the message display area are the second relevant messages.

[0054] The following embodiments provide a specific method for determining a first relevant message that matches a first target message in a first session based on a first keyword.

[0055] In practical applications, for conversation messages in the first session, it is usually necessary to determine the semantic similarity between the conversation message and the first keyword. In specific implementations, this can be achieved by processing the conversation message using an AI-based natural language model to determine its keywords, and then determining the semantic similarity between those keywords and the first keyword. Other methods can also be used, and are not limited here. Then, the semantic similarity is compared with a preset similarity threshold. If the semantic similarity is greater than or equal to the threshold, the conversation message is identified as the first relevant message to the first target message. This similarity threshold can be 90%, 95%, etc., and is not limited here. This similarity threshold can be automatically set by the system or set by the user through the chat settings interface.

[0056] After determining the primary keyword, a similarity threshold setting control corresponding to that keyword can be displayed in the graphical user interface. This control can be displayed as a slider or a numeric input control, depending on the requirements. Players can perform corresponding settings on the similarity threshold setting control. In response to settings operations on the similarity threshold setting control, the target similarity threshold is determined. In practical implementation, the similarity threshold setting control can be used to limit the range of target similarity values, for example, between 50% and 100%.

[0057] After determining the target similarity threshold, it is necessary to determine the first relevant message based on the target similarity threshold. Specifically, it is necessary to compare the semantic similarity with the target similarity threshold. If the semantic similarity is greater than or equal to the target similarity threshold, the session message is determined as the first relevant message of the first target message.

[0058] In practical applications, if a user sets a similarity threshold using the control, a first window can be displayed in the graphical user interface. This first window shows the keywords corresponding to the first relevant message for the first target message, as well as the number of such relevant messages. Figure 3 As shown, the first relevant message displayed in this window corresponds to keywords 1, 2, and 3, with a total of 10 first relevant messages. The display sizes of keywords 1, 2, and 3 decrease sequentially, and the number of first relevant messages containing those keywords decreases sequentially. When the player changes the target similarity threshold using the similarity threshold setting control, the determined first relevant messages will usually change, as will the number of first relevant messages and their corresponding keywords. This method allows players to adjust the target similarity threshold according to their needs, expanding or narrowing the range of first relevant messages and flexibly obtaining the information they require.

[0059] There are usually multiple primary keywords. Correspondingly, the primary indicator includes sub-indicators corresponding to each primary keyword. For example... Figure 4 As shown, the graphical user interface can display the sub-identifiers corresponding to each first keyword, as well as the delete controls corresponding to the sub-identifiers. Figure 4 The delete control is represented by a circle marked with an "×", and each sub-control is represented by a rectangle labeled with its corresponding keyword. The delete control corresponding to each sub-control can always be displayed at a specified position within the sub-control, such as... Figure 4 As shown in the upper right corner. Alternatively, the settings control for the first indicator can be displayed in advance, and the delete controls for each sub-indicator can be displayed only after the user triggers the settings control. Responding to the trigger operation of the delete control corresponding to the first sub-indicator among the sub-indicators corresponding to each first keyword, the first sub-indicator and the first keyword corresponding to the first sub-indicator are deleted.

[0060] While displaying the first indicator corresponding to the first keyword in the graphical user interface, keyword editing controls can also be displayed, such as... Figure 5 As shown. Players can input new keywords by editing the keyword editing control. In response to the editing operation on the keyword editing control, based on the edited content, the newly added keyword is determined, and a third indicator corresponding to the newly added keyword is displayed. The display format of the third indicator can be the same as that of the first indicator, but the keyword it indicates is different. After determining the new keyword, it is necessary to determine the first relevant message in the first session that matches the first target message, based on the first keyword and the new keyword.

[0061] The following embodiments provide a specific way to display at least a portion of the first relevant messages in a graphical user interface.

[0062] In practice, the session messages displayed in the message display area can be cleared, and only the first relevant message can be displayed in the message display area.

[0063] Alternatively, the first relevant message in the message display area can be displayed in a preset first display format; this first display format differs from the initial display format of the conversation messages. Other conversation messages are displayed in the initial display format. Users can update the conversation messages displayed in the message display area by sliding their fingers across the message display area. The first relevant message in the updated conversation messages will also be displayed in the first display format, making it easier for players to identify the first message and extract relevant information from it.

[0064] In addition to participating in the first session, the session account controlled by the terminal device can also participate in other sessions, such as the second session. Users can switch sessions, such as by clicking the session icon of the second session. In the game, players can click the channel icons of different channels to switch the current chat channel. In response to the session switching operation, the second session after the switch is determined, and then the second relevant message in the second session that matches the target message is directly identified, thereby displaying the second relevant message in the graphical user interface.

[0065] Alternatively, after the switch to the second session, at least one session message generated by the session account in the second session can be displayed in the message display area first, instead of directly filtering the session messages in the second session based on the first keyword. Players can trigger a first indicator, responding to the trigger action for the first indicator to identify a second relevant message in the second session that matches the target message. Then, only the second relevant message can be displayed in the message display area, or the second relevant message in the message display area can be displayed in other preset formats, which can be set as needed.

[0066] The following embodiments provide a specific process for implementing the message processing method. This process... Figure 1 This is implemented based on the method shown. The process uses the game's chat channel as an example to specifically describe how to process chat messages (equivalent to the "conversation messages" mentioned above) in the chat channel.

[0067] This method automatically generates 2-3 keywords for topics of interest to players. Then, based on a large-scale artificial intelligence (AI) model, it filters other players' chat messages using these keywords. This ensures that when a player focuses on a particular topic within a chat channel, they can more easily filter and track all subsequent chat messages from other players related to that topic. Furthermore, it allows players to freely set and adjust keywords, and can adjust semantic tolerance for more precise filtering of chat messages strongly related to the set keywords.

[0068] In this method, within a chat channel, players can actively or passively generate corresponding keywords for a specific chat message (equivalent to the "first target message" mentioned above), and generate corresponding keyword indicators, also known as tabs. After a player selects a keyword tab, the AI ​​automatically filters chat messages based on the keyword and contextual semantics. Players can freely adjust the keywords and control the relevance between the filtered content and the keywords by adjusting the semantic tolerance range.

[0069] The method includes the following details:

[0070] 1. Thematic keywords can be generated actively or passively.

[0071] The passive method works as follows: When a player selects a chat message, the corresponding reply, favorite, and follow controls are displayed in the graphical user interface. When a player triggers one of these controls, it indicates that the player is interested in the message. At this point, AI automatically extracts keywords and generates a keyword tab (also known as a "filter tab"). Players can configure whether to automatically generate the filter tab in the chat settings interface. If a player wants to see other people's follow-up discussions about the chat message, they can click the keyword tab, which will display relevant messages matching the chat message based on the keywords in the message display area.

[0072] The active method is as follows: When a player selects a chat message, a filter control (equivalent to the "first control" mentioned above) is simultaneously displayed in the graphical user interface, such as... Figure 6 As shown. When a player triggers the filter control, the AI ​​will automatically extract keywords and generate filter tabs, and immediately activate the filter mode, which will display relevant messages that match the chat information based on the keywords in the message display area.

[0073] Chat messages that trigger AI to extract keywords will display a corresponding identifier. This identifier has a number. For example... Figure 7 As shown, the graphical user interface displays icons corresponding to the two messages, numbered 1 and 2, with icons resembling magnifying glasses. Simultaneously, filter tabs for the two messages are displayed in the upper right corner of the chat window. Clicking one of these tabs triggers confirmation for the relevant message (also known as "message filtering"). Clicking the delete control corresponding to the filter tab, indicated by the rectangle with a minus sign, removes that tab.

[0074] 2. After selecting a filter tab, AI automatically filters chat messages based on keywords and contextual meaning. Clicking any filter tab will select it, triggering AI intelligent filtering to select all chat messages related to that tab using keywords and contextual meaning. Clicking the tab again will deselect it and exit AI intelligent filtering mode.

[0075] In AI-powered intelligent filtering mode, the chat window displays text prompts and semantic tolerance setting controls at the top (equivalent to the aforementioned "similarity threshold setting controls"). Figure 8 As shown. Clicking this settings control opens the semantic tolerance adjustment window, as shown. Figure 9 As shown.

[0076] 3. Control the accuracy of chat message filtering by adjusting the semantic tolerance value.

[0077] Clicking the semantic tolerance settings control opens the semantic tolerance adjustment window, which displays keywords extracted by AI and allows for deletion, addition, and modification. The semantic tolerance value can be adjusted using the slider, ranging from 0 to 100. A smaller tolerance value indicates a stronger relevance between the filtered chat messages and the keyword information.

[0078] In this method, artificial intelligence detects chat messages and generates keywords, allowing players to freely adjust the keywords and semantic tolerance values. Based on the corresponding keywords and semantic tolerance, combined with the chat context, the AI ​​intelligently filters out all chat messages related to that keyword topic, improving the efficiency of information acquisition for players and enhancing their experience.

[0079] For the above method embodiments, see Figure 10 A message processing apparatus is shown, which provides a graphical user interface via a terminal device; the graphical user interface includes a message display area corresponding to a first session; the first session includes multiple session accounts; the message display area is used to display at least one session message generated by a session account in the first session; the apparatus includes:

[0080] The keyword determination module 1002 is used to respond to a message processing instruction to determine a first target message in at least one session message and to determine a first keyword corresponding to the first target message;

[0081] The relevant message determination module 1004 is used to determine the first relevant message in the first session that matches the first target message based on the first keyword;

[0082] The relevant message display module 1006 is used to display at least a portion of the first relevant messages in the graphical user interface.

[0083] The aforementioned message processing apparatus, in response to a message processing instruction, determines a first target message in at least one session message and determines a first keyword corresponding to the first target message; based on the first keyword, it determines a first related message in a first session that matches the first target message; and displays at least a portion of the first related messages on a graphical user interface. This method facilitates users in extracting the information they need from multiple session messages, improves the efficiency of information retrieval, and enhances the user experience.

[0084] The graphical user interface described above includes a first control; the keyword determination module is further configured to: in response to a selection instruction for a first message in at least one session message, determine the first message as a first target message; and in response to a trigger operation for the first control, determine the first keyword corresponding to the first target message.

[0085] The keyword determination module is also used to: respond to a selection instruction for a second message in at least one session message, display an operation control for the second message; the operation triggered by the operation control includes at least one of the following: reply operation, favorite operation, and follow operation; respond to the trigger operation for the operation control, control the operation triggered by the operation control for the second message, determine the second message as the first target message, and determine the first keyword corresponding to the first target message.

[0086] The keyword determination module is also used to: determine the first keyword corresponding to the first target message, and display the first indicator corresponding to the first keyword in the graphical user interface.

[0087] The above-mentioned apparatus further includes: a second keyword determination module, configured to, in response to a message processing instruction, determine a second target message in at least one session message, and determine a second keyword corresponding to the second target message; the second target message is different from the first target message; and a second indicator display module, configured to display a first indicator corresponding to the first keyword and a second indicator corresponding to the second keyword on a graphical user interface.

[0088] The aforementioned device further includes: a second related message display module, configured to display a second related message in the session messages that matches the second target message in response to a trigger operation for the second indicator.

[0089] The aforementioned related message determination module is also used to: determine the semantic similarity between the conversation message and the first keyword for the conversation message in the first conversation; compare the semantic similarity with a preset similarity threshold, and if the semantic similarity is greater than or equal to the similarity threshold, determine the conversation message as the first related message of the first target message.

[0090] The aforementioned device further includes: a threshold determination module, used to display a similarity threshold setting control corresponding to the first keyword; and to determine a target similarity threshold in response to a setting operation on the similarity threshold setting control; the aforementioned related message determination module is also used to: compare semantic similarity with the target similarity threshold, and if the semantic similarity is greater than or equal to the target similarity threshold, determine the session message as the first related message of the first target message.

[0091] The aforementioned device further includes: a window display module, used to display a first window in response to a setting operation of the similarity threshold setting control; and a keyword display module, used to display the keywords corresponding to the first related messages of the first target message, and the number of the first related messages, in the first window.

[0092] The aforementioned first keyword includes multiple ones; the first indicator includes sub-indicators corresponding to each first keyword; the keyword determination module is further configured to: display the sub-indicators corresponding to each first keyword and the delete control corresponding to the sub-indicators in the graphical user interface; and, in response to a trigger operation on the delete control corresponding to the first sub-indicator among the sub-indicators corresponding to each first keyword, delete the first sub-indicator and the first keyword corresponding to the first sub-indicator.

[0093] The aforementioned keyword determination module is also used for: displaying a first indicator corresponding to the first keyword and a keyword editing control in a graphical user interface; responding to editing operations on the keyword editing control, determining a new keyword based on the edited content, and displaying a third indicator corresponding to the new keyword; and determining a first relevant message in the first session that matches the first target message based on the first keyword, including: determining a first relevant message in the first session that matches the first target message based on the first keyword and the new keyword.

[0094] The aforementioned related message display module is also used to: clear the session messages displayed in the message display area, and display the first related message in the message display area.

[0095] The aforementioned related message display module is also used to: display the first related message in the message display area in a preset first display format; the first display format is different from the initial display format of the session message.

[0096] The aforementioned apparatus further includes: a session switching module, configured to, in response to a session switching operation, determine a second session after the switch, and determine a second related message in the second session that matches the target message; and a second related message display module, configured to display the second related message in a graphical user interface.

[0097] The graphical user interface also displays a first indicator corresponding to the first keyword; the session switching module is further configured to: in response to a session switching operation, determine the second session after the switch, and display at least one session message generated by the session account in the second session in the message display area; in response to a trigger operation for the first indicator, determine a second related message in the second session that matches the target message.

[0098] The aforementioned keyword determination module is also used to: input the first target message into a pre-trained semantic recognition model, and output at least one initial keyword of the first target message through the semantic recognition model; and determine the first keyword corresponding to the target message based on a pre-established keyword database and at least one initial keyword.

[0099] The aforementioned keyword database includes multiple standard keywords; the aforementioned keyword determination module is also used to: determine the semantic similarity between the initial keyword and each standard keyword for each initial keyword; determine the target standard keyword corresponding to the initial keyword among multiple standard keywords based on the semantic similarity; and determine the first keyword corresponding to the target message based on at least one initial keyword and the target standard keyword corresponding to the initial keyword.

[0100] This embodiment also provides an electronic device, including a processor and a memory. The memory stores machine-executable instructions that can be executed by the processor. The processor executes the machine-executable instructions to implement the above-described message processing method, for example:

[0101] In response to a message processing instruction, a first target message in at least one session message is identified, and a first keyword corresponding to the first target message is identified; based on the first keyword, a first related message in the first session that matches the first target message is identified; and at least a portion of the first related messages are displayed in a graphical user interface.

[0102] The above method makes it easier for users to extract the information they need from multiple conversation messages, improving the efficiency of information acquisition and enhancing the user experience.

[0103] Optionally, the graphical user interface includes a first control; the step of determining a first target message in at least one session message and determining a first keyword corresponding to the first target message in response to a message processing instruction includes: determining the first message as the first target message in response to a selection instruction for the first message in at least one session message; and determining the first keyword corresponding to the first target message in response to a trigger operation for the first control.

[0104] Optionally, the step of determining a first target message in at least one session message and determining a first keyword corresponding to the first target message in response to a message processing instruction includes: displaying an operation control for the second message in response to a selection instruction for a second message in at least one session message; the operation triggered by the operation control includes at least one of the following: reply operation, favorite operation, and follow operation; controlling the operation triggered by the operation control for the second message in response to the triggering operation for the operation control, determining the second message as the first target message, and determining the first keyword corresponding to the first target message.

[0105] Optionally, the step of determining the first keyword corresponding to the first target message includes: determining the first keyword corresponding to the first target message and displaying the first indicator corresponding to the first keyword in the graphical user interface.

[0106] Optionally, after displaying the first indicator corresponding to the first keyword in the graphical user interface, the method further includes: in response to a message processing instruction, determining a second target message in at least one session message, and determining a second keyword corresponding to the second target message; the second target message is different from the first target message; and displaying the first indicator corresponding to the first keyword and the second indicator corresponding to the second keyword in the graphical user interface.

[0107] Optionally, the above method further includes: in response to a triggering operation for the second indicator, displaying a second relevant message in the session messages that matches the second target message.

[0108] Optionally, the step of determining the first relevant message in the first session that matches the first target message based on the first keyword includes: determining the semantic similarity between the session message and the first keyword for the session message in the first session; comparing the semantic similarity with a preset similarity threshold; and if the semantic similarity is greater than or equal to the similarity threshold, determining the session message as the first relevant message of the first target message.

[0109] Optionally, the above method further includes: displaying a similarity threshold setting control corresponding to the first keyword; responding to a setting operation on the similarity threshold setting control and determining a target similarity threshold; comparing semantic similarity with a preset similarity threshold, and if the semantic similarity is greater than or equal to the similarity threshold, determining the conversation message as the first related message of the first target message, including: comparing semantic similarity with the target similarity threshold, and if the semantic similarity is greater than or equal to the target similarity threshold, determining the conversation message as the first related message of the first target message.

[0110] Optionally, the above method further includes: responding to a setting operation on the similarity threshold setting control, displaying a first window; displaying in the first window the keywords corresponding to the first related messages of the first target message, and the number of the first related messages.

[0111] Optionally, the first keyword includes multiple keywords; the first indicator includes sub-indicators corresponding to each first keyword; the step of displaying the first indicator corresponding to the first keyword in the graphical user interface includes: displaying the sub-indicators corresponding to each first keyword and the delete control corresponding to the sub-indicators in the graphical user interface; and deleting the first sub-indicator and the first keyword corresponding to the first sub-indicator in response to a trigger operation of the delete control corresponding to the first sub-indicator in the sub-indicators corresponding to each first keyword.

[0112] Optionally, the step of displaying the first indicator corresponding to the first keyword in the graphical user interface includes: displaying the first indicator corresponding to the first keyword and a keyword editing control in the graphical user interface; responding to the editing operation on the keyword editing control, determining the newly added keyword based on the edited content, and displaying the third indicator corresponding to the newly added keyword; the step of determining the first relevant message in the first session that matches the first target message based on the first keyword includes: determining the first relevant message in the first session that matches the first target message based on the first keyword and the newly added keyword.

[0113] Optionally, the above step of displaying at least a portion of the first relevant messages in the graphical user interface includes: clearing the session messages displayed in the message display area and displaying the first relevant messages in the message display area.

[0114] Optionally, the above step of displaying at least a portion of the first relevant messages in the graphical user interface includes: displaying the first relevant messages in the message display area in a preset first display format; the first display format is different from the initial display format of the session messages.

[0115] Optionally, the above method further includes: in response to a session switching operation, determining a second session after the switch, and determining a second relevant message in the second session that matches the target message; and displaying the second relevant message in a graphical user interface.

[0116] Optionally, the graphical user interface further displays a first indicator corresponding to the first keyword; the step of determining the second session after the switch and determining the second related message in the second session that matches the target message in response to the session switching operation includes: determining the second session after the switch in response to the session switching operation, displaying at least one session message generated by the session account in the second session in the message display area; and determining the second related message in the second session that matches the target message in response to the triggering operation for the first indicator.

[0117] Optionally, the step of determining the first keyword corresponding to the first target message includes: inputting the first target message into a pre-trained semantic recognition model, and outputting at least one initial keyword of the first target message through the semantic recognition model; and determining the first keyword corresponding to the target message based on a pre-established keyword database and at least one initial keyword.

[0118] Optionally, the keyword database mentioned above includes multiple standard keywords; the step of determining the first keyword corresponding to the target message based on the pre-established keyword database and at least one initial keyword includes: for each initial keyword, determining the semantic similarity between the initial keyword and each standard keyword; based on the semantic similarity, determining the target standard keyword corresponding to the initial keyword among the multiple standard keywords; and based on at least one initial keyword and the target standard keyword corresponding to the initial keyword, determining the first keyword corresponding to the target message.

[0119] See Figure 11 As shown, the electronic device includes a processor 100 and a memory 101. The memory 101 stores machine-executable instructions that can be executed by the processor 100. The processor 100 executes the machine-executable instructions to implement the above-described message processing method.

[0120] Furthermore, Figure 11 The electronic device shown also includes a bus 102 and a communication interface 103, with the processor 100, the communication interface 103 and the memory 101 connected via the bus 102.

[0121] The memory 101 may include high-speed random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 103 (which can be wired or wireless), such as the Internet, wide area network, local area network, or metropolitan area network. The bus 102 may be an ISA bus, PCI bus, or EISA bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 11 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.

[0122] Processor 100 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of processor 100 or by instructions in software form. The processor 100 may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams of the invention in the embodiments of this invention. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the method invented in conjunction with the embodiments of this invention can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software module can reside in a readily available storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory 101, and the processor 100 reads the information from memory 101 and, in conjunction with its hardware, completes the steps of the method described in the foregoing embodiments.

[0123] This embodiment also provides a machine-readable storage medium storing machine-executable instructions. When the machine-executable instructions are called and executed by the processor, the machine-executable instructions cause the processor to implement the above-described message processing method.

[0124] The message processing method, apparatus, and electronic device provided in this invention include a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the preceding method embodiments, for example:

[0125] In response to a message processing instruction, a first target message in at least one session message is identified, and a first keyword corresponding to the first target message is identified; based on the first keyword, a first related message in the first session that matches the first target message is identified; and at least a portion of the first related messages are displayed in a graphical user interface.

[0126] The above features make it easier for users to extract the information they need from multiple conversation messages, improving the efficiency of information retrieval and enhancing the user experience.

[0127] Optionally, the graphical user interface includes a first control; the step of determining a first target message in at least one session message and determining a first keyword corresponding to the first target message in response to a message processing instruction includes: determining the first message as the first target message in response to a selection instruction for the first message in at least one session message; and determining the first keyword corresponding to the first target message in response to a trigger operation for the first control.

[0128] Optionally, the step of determining a first target message in at least one session message and determining a first keyword corresponding to the first target message in response to a message processing instruction includes: displaying an operation control for the second message in response to a selection instruction for a second message in at least one session message; the operation triggered by the operation control includes at least one of the following: reply operation, favorite operation, and follow operation; controlling the operation triggered by the operation control for the second message in response to the triggering operation for the operation control, determining the second message as the first target message, and determining the first keyword corresponding to the first target message.

[0129] Optionally, the step of determining the first keyword corresponding to the first target message includes: determining the first keyword corresponding to the first target message and displaying the first indicator corresponding to the first keyword in the graphical user interface.

[0130] Optionally, after displaying the first indicator corresponding to the first keyword in the graphical user interface, the method further includes: in response to a message processing instruction, determining a second target message in at least one session message, and determining a second keyword corresponding to the second target message; the second target message is different from the first target message; and displaying the first indicator corresponding to the first keyword and the second indicator corresponding to the second keyword in the graphical user interface.

[0131] Optionally, the above method further includes: in response to a triggering operation for the second indicator, displaying a second relevant message in the session messages that matches the second target message.

[0132] Optionally, the step of determining the first relevant message in the first session that matches the first target message based on the first keyword includes: determining the semantic similarity between the session message and the first keyword for the session message in the first session; comparing the semantic similarity with a preset similarity threshold; and if the semantic similarity is greater than or equal to the similarity threshold, determining the session message as the first relevant message of the first target message.

[0133] Optionally, the above method further includes: displaying a similarity threshold setting control corresponding to the first keyword; responding to a setting operation on the similarity threshold setting control and determining a target similarity threshold; comparing semantic similarity with a preset similarity threshold, and if the semantic similarity is greater than or equal to the similarity threshold, determining the conversation message as the first related message of the first target message, including: comparing semantic similarity with the target similarity threshold, and if the semantic similarity is greater than or equal to the target similarity threshold, determining the conversation message as the first related message of the first target message.

[0134] Optionally, the above method further includes: responding to a setting operation on the similarity threshold setting control, displaying a first window; displaying in the first window the keywords corresponding to the first related messages of the first target message, and the number of the first related messages.

[0135] Optionally, the first keyword includes multiple keywords; the first indicator includes sub-indicators corresponding to each first keyword; the step of displaying the first indicator corresponding to the first keyword in the graphical user interface includes: displaying the sub-indicators corresponding to each first keyword and the delete control corresponding to the sub-indicators in the graphical user interface; and deleting the first sub-indicator and the first keyword corresponding to the first sub-indicator in response to a trigger operation of the delete control corresponding to the first sub-indicator in the sub-indicators corresponding to each first keyword.

[0136] Optionally, the step of displaying the first indicator corresponding to the first keyword in the graphical user interface includes: displaying the first indicator corresponding to the first keyword and a keyword editing control in the graphical user interface; responding to the editing operation on the keyword editing control, determining the newly added keyword based on the edited content, and displaying the third indicator corresponding to the newly added keyword; the step of determining the first relevant message in the first session that matches the first target message based on the first keyword includes: determining the first relevant message in the first session that matches the first target message based on the first keyword and the newly added keyword.

[0137] Optionally, the above step of displaying at least a portion of the first relevant messages in the graphical user interface includes: clearing the session messages displayed in the message display area and displaying the first relevant messages in the message display area.

[0138] Optionally, the above step of displaying at least a portion of the first relevant messages in the graphical user interface includes: displaying the first relevant messages in the message display area in a preset first display format; the first display format is different from the initial display format of the session messages.

[0139] Optionally, the above method further includes: in response to a session switching operation, determining a second session after the switch, and determining a second relevant message in the second session that matches the target message; and displaying the second relevant message in a graphical user interface.

[0140] Optionally, the graphical user interface further displays a first indicator corresponding to the first keyword; the step of determining the second session after the switch and determining the second related message in the second session that matches the target message in response to the session switching operation includes: determining the second session after the switch in response to the session switching operation, displaying at least one session message generated by the session account in the second session in the message display area; and determining the second related message in the second session that matches the target message in response to the triggering operation for the first indicator.

[0141] Optionally, the step of determining the first keyword corresponding to the first target message includes: inputting the first target message into a pre-trained semantic recognition model, and outputting at least one initial keyword of the first target message through the semantic recognition model; and determining the first keyword corresponding to the target message based on a pre-established keyword database and at least one initial keyword.

[0142] Optionally, the keyword database mentioned above includes multiple standard keywords; the step of determining the first keyword corresponding to the target message based on the pre-established keyword database and at least one initial keyword includes: for each initial keyword, determining the semantic similarity between the initial keyword and each standard keyword; based on the semantic similarity, determining the target standard keyword corresponding to the initial keyword among the multiple standard keywords; and based on at least one initial keyword and the target standard keyword corresponding to the initial keyword, determining the first keyword corresponding to the target message.

[0143] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the system and apparatus described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0144] Furthermore, in the description of the embodiments of the present invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in the present invention based on the specific circumstances.

[0145] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0146] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0147] Finally, it should be noted that the above embodiments are merely specific implementations of the present invention, used to illustrate the technical solutions of the present invention, and not to limit it. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A message processing method, characterized in that, A graphical user interface is provided via a terminal device; the graphical user interface includes a message display area corresponding to a first session; the first session includes multiple session accounts; the message display area is used to display at least one session message generated by a session account in the first session; the method includes: In response to a message processing instruction, a first target message in the at least one session message is determined, and a first keyword corresponding to the first target message is determined; Based on the first keyword, determine the first relevant message in the first session that matches the first target message; At least a portion of the first relevant message is displayed in the graphical user interface.

2. The method according to claim 1, characterized in that, The graphical user interface includes a first control; The step of determining a first target message in the at least one session message and determining a first keyword corresponding to the first target message in response to a message processing instruction includes: In response to a selection instruction for a first message in the at least one session message, the first message is identified as a first target message; In response to a trigger operation on the first control, determine the first keyword corresponding to the first target message.

3. The method according to claim 1, wherein the step of determining a first target message in the at least one session message and determining a first keyword corresponding to the first target message in response to a message processing instruction, comprises: In response to a selection instruction for a second message in the at least one session message, display operation controls for the second message; The operations triggered by the operation control include at least one of the following: reply operation, favorite operation, and follow operation; In response to a trigger operation on the operation control, control the operation that triggers the operation control in response to the second message, determine the second message as the first target message, and determine the first keyword corresponding to the first target message.

4. The method according to claim 1, characterized in that, The step of determining the first keyword corresponding to the first target message includes: Identify the first keyword corresponding to the first target message, and display the first indicator corresponding to the first keyword in the graphical user interface.

5. The method according to claim 4, characterized in that, After the graphical user interface displays the first indicator corresponding to the first keyword, the method further includes: In response to a message processing instruction, a second target message is determined in the at least one session message, and a second keyword corresponding to the second target message is determined; the second target message is different from the first target message; The graphical user interface displays a first indicator corresponding to the first keyword and a second indicator corresponding to the second keyword.

6. The method according to claim 5, characterized in that, The method further includes: In response to a trigger operation targeting the second indication identifier, a second relevant message matching the second target message is displayed in the session messages.

7. The method according to claim 1, characterized in that, The step of determining the first relevant message in the first session that matches the first target message based on the first keyword includes: For the conversation messages in the first conversation, determine the semantic similarity between the conversation messages and the first keyword; The semantic similarity is compared with a preset similarity threshold. If the semantic similarity is greater than or equal to the similarity threshold, the session message is determined as the first related message of the first target message.

8. The method according to claim 7, characterized in that, The method further includes: Displays the similarity threshold setting control corresponding to the first keyword; In response to a setting operation on the similarity threshold setting control, a target similarity threshold is determined; The step of comparing the semantic similarity with a preset similarity threshold, and determining the session message as a first related message of the first target message if the semantic similarity is greater than or equal to the similarity threshold, includes: The semantic similarity is compared with the target similarity threshold. If the semantic similarity is greater than or equal to the target similarity threshold, the session message is determined as the first related message of the first target message.

9. The method according to claim 8, characterized in that, The method further includes: In response to a setting operation on the similarity threshold setting control, a first window is displayed; The first window displays the keywords corresponding to the first related messages of the first target message, as well as the number of the first related messages.

10. The method according to claim 4, characterized in that, The first keyword includes multiple keywords; the first indicator includes sub-indicators corresponding to each first keyword; The step of displaying the first indicator corresponding to the first keyword in the graphical user interface includes: The graphical user interface displays sub-identifiers corresponding to each first keyword, as well as deletion controls corresponding to the sub-identifiers; In response to a trigger operation of the delete control corresponding to the first sub-identifier among the sub-identifiers corresponding to each first keyword, delete the first sub-identifier and the first keyword corresponding to the first sub-identifier.

11. The method according to claim 4, characterized in that, The step of displaying the first indicator corresponding to the first keyword in the graphical user interface includes: The graphical user interface displays a first indicator corresponding to the first keyword, as well as a keyword editing control; In response to an editing operation on the keyword editing control, based on the edited content, a new keyword is determined, and a third indicator corresponding to the new keyword is displayed; The step of determining the first relevant message in the first session that matches the first target message based on the first keyword includes: Based on the first keyword and the newly added keyword, a first relevant message in the first session that matches the first target message is determined.

12. The method according to claim 1, characterized in that, The step of displaying at least a portion of the first relevant message in the graphical user interface includes: Clear the session messages displayed in the message display area, and then display the first related message in the message display area.

13. The method according to claim 1, characterized in that, The step of displaying at least a portion of the first relevant message in the graphical user interface includes: The first related message in the message display area is displayed in a preset first display format; the first display format is different from the initial display format of the session message.

14. The method according to claim 1, characterized in that, The method further includes: In response to a session switching operation, a second session after the switch is determined, and a second relevant message in the second session that matches the target message is determined; The second related message is displayed in the graphical user interface.

15. The method according to claim 14, characterized in that, The graphical user interface also displays a first indicator corresponding to the first keyword; The steps of determining a second session after the switch in response to a session switching operation, and determining a second relevant message in the second session that matches the target message, include: In response to a session switching operation, a second session after the switch is determined, and at least one session message generated by the session account in the second session is displayed in the message display area; In response to a triggering operation for the first indication identifier, a second relevant message in the second session that matches the target message is determined.

16. The method according to claim 1, characterized in that, The step of determining the first keyword corresponding to the first target message includes: The first target message is input into a pre-trained semantic recognition model, and the semantic recognition model outputs at least one initial keyword of the first target message. Based on a pre-established keyword database and the at least one initial keyword, the first keyword corresponding to the target message is determined.

17. The method according to claim 16, characterized in that, The keyword database includes multiple standard keywords; The step of determining the first keyword corresponding to the target message based on a pre-established keyword database and the at least one initial keyword includes: For each initial keyword, determine the semantic similarity between the initial keyword and each of the standard keywords; Based on the semantic similarity, the target standard keyword corresponding to the initial keyword among the plurality of standard keywords is determined; Based on multiple initial keywords and the target standard keywords corresponding to the initial keywords, the first keyword corresponding to the target message is determined.

18. A message processing device, characterized in that, A graphical user interface is provided via a terminal device; the graphical user interface includes a message display area corresponding to a first session; the first session includes multiple session accounts; the message display area is used to display at least one session message generated by a session account in the first session; the device includes: A keyword determination module is used to, in response to a message processing instruction, determine a first target message in the at least one session message, and determine a first keyword corresponding to the first target message; The relevant message determination module is used to determine, based on the first keyword, a first relevant message in the first session that matches the first target message; A related message display module is used to display at least a portion of the first related messages on the graphical user interface.

19. An electronic device, characterized in that, The device includes a processor and a memory, the memory storing machine-executable instructions that can be executed by the processor, the processor executing the machine-executable instructions to implement the message processing method according to any one of claims 1-17.

20. A machine-readable storage medium, characterized in that, The machine-readable storage medium stores machine-executable instructions, which, when invoked and executed by a processor, cause the processor to implement the message processing method according to any one of claims 1-17.