Information processing method and device, equipment and storage medium

By displaying message templates in the interactive message input area and responding to user selections, the problem of repetitive and useless text content is solved, improving input efficiency and user experience.

CN115033147BActive Publication Date: 2025-12-05TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110240285.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-04
Publication Date
2025-12-05
Estimated Expiration
2041-03-21

AI Technical Summary

Technical Problem

In most scenarios, a significant portion of the interactive messages entered by users consist of repetitive and useless text content, resulting in low input efficiency and a poor user experience.

Method used

By triggering a template display operation in the interactive message input area, message templates from the message template set are displayed, and interactive messages are generated in response to the user's selection operation. Natural language processing and artificial intelligence technologies are used to match and display appropriate message templates.

Benefits of technology

It improves the efficiency of user interaction message input, enhances user experience, and has high applicability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115033147B_ABST
    Figure CN115033147B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose an information processing method, device and equipment, and a storage medium, which are suitable for the fields of computer technology and block chain. The method comprises: in response to a template display operation triggered by an interactive message input area of a session interface, displaying at least one message template in a message template set through a template display area; in response to a selection operation on a first message template, displaying the first message template through the interactive message input area, the first message template being any one of the message templates displayed by the template display area; and determining a first interactive message based on the first message template. The embodiments of the present application can improve the input efficiency of the interactive message, improve the user experience, and have high applicability.
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 an information processing method, apparatus, device, and storage medium. Background Technology

[0002] With the continuous development of computer technology, instant messaging applications and other online chat websites have become an indispensable part of daily life. For example, office workers use messaging applications for work communication, and subordinates send work notes to their superiors, etc.

[0003] However, in most scenarios, a significant portion of the interactive messages entered by users are repetitive and useless text content, such as fixed work minutes formats, meeting information titles, etc. Therefore, for users, not only is the input of interactive messages inefficient, but the user experience is also poor.

[0004] Therefore, improving the efficiency of user interaction message input and enhancing user experience has become an urgent problem to be solved. Summary of the Invention

[0005] This application provides an information processing method, apparatus, device, and storage medium that can improve the input efficiency of interactive messages, enhance user experience, and has high applicability.

[0006] On one hand, embodiments of this application provide an information processing method, which includes:

[0007] In response to a template display operation triggered by the interactive message input area of ​​the session interface, at least one message template from the message template set is displayed through the template display area;

[0008] In response to the selection operation for the first message template, the first message template is displayed through the interactive message input area. The first message template is any message template among the message templates displayed in the template display area.

[0009] The first interaction message is determined based on the aforementioned first message template.

[0010] On the other hand, embodiments of this application provide an information processing apparatus, which includes:

[0011] The message template display module is used to respond to the template display operation triggered by the interactive message input area of ​​the conversation interface, and to display at least one message template in the message template set through the template display area;

[0012] The message template selection module is used to respond to the selection operation for the first message template and display the first message template through the interactive message input area. The first message template is any message template among the message templates displayed in the template display area.

[0013] The interaction message determination module is used to determine the first interaction message based on the aforementioned first message template.

[0014] On the other hand, embodiments of this application provide an electronic device, including a processor and a memory, which are interconnected;

[0015] The aforementioned memory is used to store computer programs;

[0016] The processor described above is configured to execute the information processing method provided in the embodiments of this application when the computer program described above is invoked.

[0017] On the other hand, embodiments of this application provide a computer-readable storage medium storing a computer program that is executed by a processor to implement the information processing method provided in embodiments of this application.

[0018] On the other hand, embodiments of this application provide a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. The processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the information processing method provided in embodiments of this application.

[0019] In this embodiment, by triggering a template display operation in the interactive message input area, applicable message templates can be displayed, allowing users to intuitively and conveniently select their desired message template. Simultaneously, the selected message template generates the interactive message to be sent, improving the user's interactive message input efficiency, further enhancing the user experience, and demonstrating high applicability. Attached Figure Description

[0020] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the embodiments 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.

[0021] Figure 1 This is a flowchart illustrating the information processing method provided in an embodiment of this application;

[0022] Figure 2aThis is a schematic diagram of a scenario of the template display control provided in an embodiment of this application;

[0023] Figure 2b This is another scenario diagram of the template display control provided in the embodiments of this application;

[0024] Figure 3 This is a schematic diagram of a scenario of the conversation interface provided in an embodiment of this application;

[0025] Figure 4 This is a schematic diagram of a process for obtaining a set of template messages provided in an embodiment of this application;

[0026] Figure 5a This is a schematic diagram of a scenario for displaying message templates provided in an embodiment of this application;

[0027] Figure 5b This is another scenario illustration of the display message template provided in the embodiments of this application;

[0028] Figure 6a This is another scenario diagram of the session interface provided in the embodiments of this application;

[0029] Figure 6b This is a schematic diagram of a scene of the first template editing interface provided in the embodiments of this application;

[0030] Figure 6c This is another scenario diagram of the first template editing interface provided in the embodiments of this application;

[0031] Figure 7a This is a schematic diagram of a scene of the template display area provided in an embodiment of this application;

[0032] Figure 7b This is a schematic diagram of a scenario of the message template management interface provided in an embodiment of this application;

[0033] Figure 8 This is a flowchart illustrating the process of creating a new message template provided in an embodiment of this application;

[0034] Figure 9 This is a flowchart illustrating the update message template provided in an embodiment of this application;

[0035] Figure 10 This is a schematic diagram of the structure of the information processing device provided in the embodiments of this application;

[0036] Figure 11 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation

[0037] 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 skilled in the art without creative effort are within the scope of protection of this application.

[0038] This application provides an information processing method applicable to fields such as computer technology, cloud computing, databases, and blockchain, which can improve the input efficiency of interactive messages and enhance user experience.

[0039] The following describes an exemplary application of the information processing method provided in the embodiments of this application. This information processing method can be implemented by communication applications in various electronic devices. These communication applications can be applied to various types of user terminals (hereinafter referred to as terminals), such as smartphones, tablets, in-vehicle terminals, smart wearable devices, laptops, and desktop computers. Next, an exemplary application will be described where the information processing method provided in the embodiments of this application is applied to a terminal, with the first application as the executing entity.

[0040] See Figure 1 , Figure 1 This is a flowchart illustrating the information processing method provided in an embodiment of this application. Figure 1 As shown, the information processing method provided in this application embodiment may include the following steps:

[0041] Step S11: In response to the template display operation triggered by the interactive message input area of ​​the session interface, display at least one message template from the message template set through the template display area.

[0042] In some feasible implementations, the aforementioned session interface can be a chat interface in an instant messaging application, or a chat webpage in an online chat website, etc. The specific implementation can be determined based on the actual application scenario requirements, and no restrictions are imposed here.

[0043] The aforementioned conversation interface can be an interface for the current user to interact with one or more of their contacts. For example, the conversation interface could be an interface for the current user to interact with a friend in an instant messaging application. Alternatively, the conversation interface could be an interface within an instant messaging application used for message interaction among multiple people, including the current user, such as the conversation interface corresponding to a discussion group or group chat.

[0044] In some feasible implementations, the aforementioned interactive message input area is a designated area in the conversation interface used for inputting interactive messages. For example, if a user enters "Have you eaten today?" in the interactive message input area of ​​the conversation interface corresponding to Zhang San and clicks send, the conversation interface can then display the interactive message "Have you eaten today?" entered by the current user, indicating that the current user has sent an interactive message to Zhang San.

[0045] In some feasible implementations, the above message template set can be a message template set corresponding to all users, that is, at least one message template in the same message template set can be displayed to different users through the template display area.

[0046] In some embodiments, each user can have their own set of message templates, meaning that different users can have different sets of message templates. For example, the conversation interface receives a template display operation triggered by user A through the interactive message input area, and displays one or more message templates from the message template set corresponding to user A on the template display area.

[0047] For any given user, the set of message templates corresponding to that user can be determined based on the user's information, such as the user's username, user ID, etc. The specific set of message templates can also be determined based on the actual application scenario requirements, and there are no restrictions here.

[0048] The aforementioned message template set can also be a set of message templates corresponding to template display operations; that is, different template display operations correspond to different types of message template sets. In response to a template display operation triggered by the interactive message input area of ​​the conversation interface, the message template set corresponding to that message template display operation can be displayed through the template display area. Different template display operations can be used for different conversation scenarios. These different conversation scenarios could include, for example, meeting scenarios, sports scenarios, and learning scenarios.

[0049] Furthermore, the set of message templates corresponding to each template display operation can be preset by the user. This allows the user to trigger different template display operations based on their behavioral habits, thereby improving the convenience of displaying message templates and further enhancing the user experience.

[0050] In some feasible implementations, for each message template in the above message template set, the message template is information with fixed content and / or fixed format, and the content and / or format of each message template in the message template set are different.

[0051] The specific information of each message template in the message template set can be determined based on the actual application scenario requirements, and there are no restrictions here. For example, for one message template in the message template set, the message template can be "Hi, let's synchronize the interaction scheme of []", and another message template can be "Hard work collecting background information on the requirements of the following schemes".

[0052] The message templates in the above message template set can be created by the user, determined based on the conversation messages and system messages in the conversation interface, or be preset message templates in the application corresponding to the conversation interface. The specific determination can be based on the actual application scenario requirements, and there are no restrictions here.

[0053] In some feasible implementations, the above-mentioned template display operation can be triggered when the input information in the interactive message input area meets preset conditions.

[0054] As an example, the aforementioned preset condition can be that the text length of the input information in the interactive message input area is less than or greater than a preset text length. For instance, if the preset condition is that the text length of the input information in the interactive message input area is less than 20 bytes, and the detected text length in the interactive message input area is 10 bytes, then a template display operation can be triggered.

[0055] As an example, the aforementioned preset condition could be that no new information is input into the interactive message input area within a preset time period after the input of information. For instance, if the preset condition is that no new information is input into the interactive message input area within 1 second after the input of information, and no new information is input within 1 second after the input of the word "scheme" in the interactive message input area, then the template display operation can be triggered.

[0056] As an example, the aforementioned preset condition can also be that the input information in the interactive message input area includes preset keywords and / or key words. That is, if the input information in the interactive message input area is detected to include preset keywords and / or key words, the template display operation is triggered. For example, if the preset keyword is "meeting minutes", then the template display operation can be triggered when the input information in the interactive message input area is detected to include "meeting minutes".

[0057] Optionally, the aforementioned template display operation can be a preset user operation triggered in the interactive message input area. This preset user operation can be a pre-configured user operation for displaying the message template, including but not limited to pre-configured gesture operations, double-tap operations, long-press operations, swipe operations, and user operations corresponding to voice commands entered through the interactive message input area. The specific operation can be determined based on the actual application scenario requirements and is not limited here. Furthermore, the preset user operations for displaying the message template can be the same or different for different users, and can be determined based on the actual user configuration, without limitation here.

[0058] Optionally, the above template display operation can also be a touch operation on the template display control.

[0059] The aforementioned template display control is at least one of the following: a first template display control corresponding to the interactive message input area or a second template display control corresponding to the full-screen input interface accessed through the interactive message input area.

[0060] The full-screen input interface can be accessed through the relevant controls corresponding to the interactive message input area, or through relevant user operations triggered by the interactive message input area, or through hidden controls triggered by user operations in response to the interactive message input area, or through relevant operations or controls triggered by interactive messages in the conversation interface. The specific access method can be determined based on the actual application scenario requirements and is not limited here.

[0061] When a touch operation is detected on any of the above-mentioned template display controls, a template display operation can be triggered, and in response to the template display operation, at least one message template from the corresponding message template set can be displayed through the template display area.

[0062] As an example, the template display control described above could be the template display control corresponding to the interactive message input area. See also Figure 2a , Figure 2a This is a schematic diagram of a scenario for the template display control provided in an embodiment of this application. For example... Figure 2a As shown, template display controls are distributed in the interactive message input area of ​​the conversation interface. When a touch operation is detected on the template display control, the template display operation can be triggered.

[0063] As an example, the template display control described above can be a template display control corresponding to a full-screen input interface, which can be accessed through the interactive message input area. See also... Figure 2b , Figure 2bThis is another scenario illustration of the template display control provided in this application embodiment. If a user operation is detected targeting the interactive message input area for displaying a hidden control, the hidden control for "full-screen input" can be displayed through the session interface, and the full-screen input interface is displayed when a touch operation is detected targeting the hidden control for "full-screen input". A template display control is displayed on the full-screen input interface, and a template display operation can be triggered when a touch operation is detected targeting the template display control.

[0064] In some feasible implementations, when displaying at least one message template from the message template set through the template display area, the message template from the message template set that matches the input information in the interactive message input area can be displayed through the template display area.

[0065] Furthermore, the message template that matches the input information in the interactive message input area can be a message template whose content includes the input information or includes keywords and / or key words in the input information, or a message template whose content has a text similarity greater than the similarity threshold with the input information. The specific matching method can be determined based on the actual application scenario requirements and is not limited here.

[0066] For example, if the input information is detected as "@" and no new information is entered within a preset time period, a template display operation can be triggered to display a message template including "@" in the template display area, allowing the user to select a contact they have previously tagged.

[0067] Optionally, natural language processing (NLP) can be used to perform text recognition on the input information to determine keywords and / or key words in the input information, and then determine a message template that matches the identified keywords and / or key words.

[0068] Optionally, feature vectors of the input information and the template content of each message template can be determined by neural networks or related models in Artificial Intelligence (AI). Then, the similarity between the input information and the template content of each message template can be determined based on their respective feature vectors. Finally, message templates that match the input information can be determined based on the similarity between each message template.

[0069] Optionally, the similarity between the input information and the template content of each message template can also be determined using methods such as cloud computing. For example, the input information can be uploaded to the cloud, and the cloud can calculate the similarity between the input information and the template content of each message template stored in the cloud.

[0070] Cloud computing includes, but is not limited to, grid computing, distributed computing, parallel computing, utility computing, network storage technologies, virtualization, and load balancing. The specific methods can be determined based on the actual application scenario requirements and are not limited here.

[0071] Natural language processing and artificial intelligence can improve the efficiency of determining message templates that match input information.

[0072] See Figure 3 , Figure 3 This is a schematic diagram of a scenario of the session interface provided in an embodiment of this application. Figure 3 The dialogue interface shown displays the interaction messages from user Teacher Wang ("The incremental pressure of the installation package will be relatively large") and user Teacher Li ("Okay, let's leave it like this for now"). When the current user needs to communicate with users Teacher Wang and Teacher Li, or other users in the product design group, the input information in the interaction message input area is "solution".

[0073] If no new information is entered within a preset time period after the current user enters "plan", or if the input information contains the keyword "plan", the template display operation can be triggered. Then, a message template that matches the input information can be determined from the message template set, such as a message template containing "plan", and the message template containing "plan" can be displayed in the template display area.

[0074] In some feasible implementations, since the message templates in the message template set often include a certain amount of text content, when there are a large number of message templates matching the input information, or when there are a large number of message templates matching the input information, it may not be possible to fully display all message templates and their content when displaying message templates matching the input information in the template display area.

[0075] Based on this, when displaying message templates that match the input information, the template name, template list, and template abbreviations (such as the beginning of the content, the part containing keywords and / or key words, etc.) of the message templates that match the input information can be displayed.

[0076] Optionally, when displaying message templates that match the input information, some message templates in the message template set that match the input information can be displayed. Specifically, the message templates in the message template set can be sorted based on the template creation time, template usage time, template usage frequency, and text length of the template content, and a preset number of message templates can be displayed in the template display area according to the sorting order.

[0077] Furthermore, in response to a template browsing operation in the template display area, the message template displayed in the template display area can be changed based on the template browsing operation. The aforementioned template browsing operation includes, but is not limited to, "swipe left," "swipe right," and touch operations corresponding to different areas of the template display area.

[0078] Different template viewing operations correspond to different template display methods. For example, in response to a "swipe right" template browsing operation, the template display area will show a rightward-moving template display screen, thus stopping the display of the rightmost message template in the original template display area and displaying a new message template on the leftmost side of the current template display area. As another example, if the template display area displays message templates matching the input information in the form of a template list, then in response to touch operations in the template display area, a new template list can be displayed, achieving a "page-turning" template display effect.

[0079] It should be noted that the correspondence between template browsing operations and message template display methods can be determined based on the actual application scenario requirements, and no restrictions are imposed here.

[0080] In some feasible implementations, in response to the user's login status being logged in, a template retrieval command can be sent to the server to obtain a set of message templates.

[0081] Optionally, if all users correspond to the same message template set, then when a user is logged in, a template retrieval command can be sent directly to the server, causing the server to send the message template set and thus retrieve the message template set sent by the server.

[0082] Optionally, if each user corresponds to a separate set of message templates, when sending a template retrieval instruction to the server, the instruction includes the user's identifier. Upon receiving the instruction carrying the user identifier, the server can send the set of message templates corresponding to that user identifier. Based on this, in response to a template display operation triggered by the current user through the interactive message input area of ​​the session interface, at least one message template from the current user's corresponding set of message templates is displayed in the template display area.

[0083] Optionally, if different template display operations correspond to different message template sets, when sending a template retrieval instruction to the server, the template retrieval instruction includes the operation identifier corresponding to the template display operation, and then the message template set corresponding to the template display operation is retrieved based on the operation identifier.

[0084] Optionally, if each user corresponds to their own message template set, and each user has multiple message template sets, with different message template sets corresponding to different template display operations, then when sending a template retrieval instruction to the server, the instruction includes the user identifier and the operation identifier corresponding to the template display operation. This allows the server, upon receiving the instruction, to determine the multiple message template sets corresponding to the current user using the user identifier, and then to determine the final message template set from among them using the operation identifier, thus obtaining the message template set corresponding to the template display operation triggered by the current user.

[0085] Optionally, for each of the above message template sets, each message template set can also be stored in a database, database management system, or blockchain, or based on big data, cloud storage technology, such as through cluster applications, grid technology, and distributed storage file systems, each message template set can be stored in the cloud, thereby responding to template display operations and retrieving the message template set from the corresponding storage space.

[0086] Blockchain, in particular, is a novel application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanisms, and encryption algorithms. Essentially, a blockchain is a decentralized database, a chain of data blocks linked together using cryptographic methods, with each block used to store data. A blockchain can include an underlying platform, a platform product and service layer, and an application service layer.

[0087] Optionally, in response to the user's login status being logged in, after sending a template retrieval command to the server to obtain the message template set, to avoid situations where the message template set retrieval fails due to network terminal or other reasons, if a template display operation triggered by the interactive message input area is detected, the template retrieval command can be sent to the server again to retrieve the message template set, thereby ensuring successful retrieval of the message template set.

[0088] As an example, see Figure 4 , Figure 4 This is a schematic diagram of a process for obtaining a set of template messages provided in an embodiment of this application. For example... Figure 4As shown, the first application is the application corresponding to the aforementioned session interface, the server is the backend server corresponding to the first application, and the aforementioned message template sets are stored on the server. After a user logs in, the first application can proactively send a template retrieval command carrying the current user's identifier to the server to obtain and store the message template set corresponding to that user. Furthermore, after responding to the template display operation triggered by the user through the interactive message input area of ​​the session interface, it can again send a template retrieval command to the server to obtain and store the message template set corresponding to that user. Based on this, if the first application fails to obtain the message template set corresponding to the user after the user logs in, it can retrieve the message template set corresponding to the user again after responding to the template display operation corresponding to the user, thereby ensuring to a certain extent that the first application can successfully obtain the message template set corresponding to the user.

[0089] Step S12: In response to the selection operation for the first message template, the first message template is displayed through the interactive message input area. The first message template is any message template among the message templates displayed in the template display area.

[0090] In some feasible implementations, the specific form of the above-mentioned selection operation for the first message template can be clicking, long pressing, or swiping, etc., which can be determined based on the actual application scenario requirements and is not limited here.

[0091] In some feasible implementations, the first message template is any one of at least one message template displayed in the template display area. For example, if a selection operation for message template A among the multiple message templates displayed in the template display area is detected, the message template A selected by the user can be displayed in the interactive message input area.

[0092] As an example, by responding to the template browsing operation, different message templates matching the input information can be displayed in the template display area. For example, by continuously responding to the user's template browsing operation of swiping to the left, a scrolling screen of message templates matching the input information can be displayed from right to left in the template display area. Furthermore, by responding to the user's selection operation for any of the message templates, the selected message template can be displayed in the interactive message input area.

[0093] As an example, message templates that match the input information are displayed in a list in the template display interface with corresponding template names. In response to the user's selection of any template name in the list, the message template corresponding to the selected template name can be displayed in the interactive message input area.

[0094] See Figure 5a , Figure 5aThis is a schematic diagram of a scenario for displaying a message template provided in an embodiment of this application. For example... Figure 5a As shown, when the input information "Solution" in the interactive message input area meets the preset conditions, a message template containing "Solution" can be displayed through the template display area. At this time, in response to the selection operation of the first message template in the template display area, the first message template selected by the user, "Solution content is as follows…@Xiao Wang@Xiao Zhang@Zhang San@Li Si," can be displayed in the interactive message input area.

[0095] See Figure 5b , Figure 5b This is another scenario illustration of the display message template provided in the embodiments of this application. For example... Figure 5b As shown, after entering the full-screen input interface through the interactive message input area, if a touch operation is detected on the template display control corresponding to the full-screen input interface, at least one message template from the message template set can be displayed through the template display area. At this time, in response to the selection operation of the first message template among the at least one message template displayed in the template display area, the first message template with the content "The solution content is as follows…@Xiao Wang@Xiao Zhang@Zhang San@Li Si" can be displayed in the interactive message input area.

[0096] In some feasible implementations, the template display area in this application embodiment can be a specified area in the session interface, such as... Figure 3 and / or Figure 5a The template display area shown corresponds to the session interface. The template display area can also be a designated area corresponding to the full-screen input interface, such as... Figure 5b The template display area shown corresponds to the full-screen input interface.

[0097] In response to the template display operation, any area of ​​any interface can be used as the template display area (such as a specified area of ​​the template management interface or the template editing interface), or a new interface can be generated as the template display area. The specific choice can be determined based on the actual application scenario requirements and is not restricted here.

[0098] Step S13: Determine the first interaction message based on the first message template.

[0099] In some feasible implementations, after the first message template is displayed in the interactive message input area, the interactive message to be sent (hereinafter referred to as the first interactive message for ease of description) can be determined based on the first message template.

[0100] Specifically, if no editing operation is detected for the first message template, the message confirmation operation can be initiated and the first message template can be used as the first interactive message to be sent.

[0101] Optionally, in response to a first editing operation on the first message template, the first message template may be edited based on the first editing operation, and further in response to a message confirmation operation, the edited first message template may be determined as the first interactive message to be sent.

[0102] The first editing operation is an editing operation used to edit the first message template to determine the interactive message to be sent before sending the first interactive message.

[0103] The first editing operation mentioned above includes, but is not limited to, adding information, deleting information, modifying fonts, and modifying formatting. The specific operation can be determined based on the actual application scenario requirements and is not limited here.

[0104] For example, if the first message template is "Have you eaten today?", in the absence of a detected first edit operation on the first message template, the message confirmation operation can be performed to send the first message template "Have you eaten today?" as the first interactive message to be sent.

[0105] For example, if the first message template is "What are your plans this afternoon?", it can respond to the first edit operation on the first message template. If the edit operation is "Delete 'Today'", then "Today" can be deleted from the first message template based on the edit operation, resulting in the first interactive message to be sent, "What are your plans this afternoon?".

[0106] In some feasible implementations, after determining the first interactive message based on the first message template, the first interactive message can be sent and displayed through the session interface. For example, in an instant messaging application, the first interactive message that the current user needs to send can be determined based on the first message template, and then the current user's first interactive message can be sent to each group member through the group session interface, and the first interactive message that the user has determined and sent can be displayed to the current user through the session interface.

[0107] In this embodiment, by triggering a template display operation in the interactive message input area, the user can be shown applicable message templates, allowing them to intuitively and conveniently select their desired template. Simultaneously, the interactive message to be sent is generated based on the selected template, improving the user's message input efficiency, further enhancing the user experience, and demonstrating high applicability.

[0108] In some feasible implementations, in addition to determining the first interactive message based on the information processing method provided in the embodiments of this application, a new message template can also be created.

[0109] Specifically, in response to a selection operation on the second interactive message, the second interactive message can be displayed through the first template editing interface.

[0110] The aforementioned second interactive message refers to any interactive message in any session interface, and the aforementioned first template editing interface is an interface used to edit the second interactive message. That is, in response to any interactive message in any interactive interface, the first template editing interface displays the interactive message to create a new message template based on the interactive message.

[0111] Among them, the selection operation for any interactive message mentioned above includes, but is not limited to, long press, double tap, etc., which can be determined based on the actual application scenario requirements and are not restricted here.

[0112] Furthermore, in response to a second editing operation on the second interactive message, a new message template (hereinafter referred to as the first new message template) can be determined based on the second editing operation and the second interactive message.

[0113] The second editing operation is used to edit the interactive message to create a new message template. Based on the second editing operation, the content and / or format of the second interactive message can be modified, and then a first new message template can be determined based on the modified second interactive message.

[0114] For example, in response to a user's double-click on an interactive message, the message can be displayed through a template editing interface. The text layout of the interactive message can then be preserved, while some text can be deleted, resulting in an edited message. Finally, in response to a user's confirmation action (such as clicking "create"), the edited message can be designated as a new message template, enabling the creation of new message templates based on interactive messages.

[0115] Optionally, after determining the first new message template based on the second interaction message, the new message template can be stored on a server, cloud storage space, etc., so that when the same user's login status on a new device is logged in, the user does not need to create the first new message template again, thus achieving multi-terminal synchronization.

[0116] See Figure 6a , Figure 6a This is another scenario diagram of the conversation interface provided in the embodiments of this application. Figure 6a The diagram shows a conversation interface for a product design group. A new message template can be created based on any interactive message within this interface. For example, in response to a user's selection of the interactive message "Wishing everyone a Happy New Year," a new message template can be created based on the second interactive message "Wishing everyone a Happy New Year."

[0117] Furthermore, such as Figure 6b As shown, Figure 6bThis is a schematic diagram of a scenario of the first template editing interface provided in an embodiment of this application. After responding to the user's selection operation on the interactive message "Wishing everyone a Happy New Year", the interactive message "Wishing everyone a Happy New Year" can be displayed through the first template editing interface.

[0118] The second editing operation mentioned above includes, but is not limited to, adding information, deleting information, modifying fonts, and modifying formatting. The specific operation can be determined based on the actual application scenario requirements and is not limited here. See also Figure 6c , Figure 6c This is another scenario illustration of the first template editing interface provided in the embodiments of this application. If the second editing operation for the second interactive message is "add 'Happy Chinese New Year' before 'Wishing you all'", then based on the second editing operation, the first new message template "Wishing you all a Happy Chinese New Year" can be determined and displayed in the first template editing interface.

[0119] In some feasible implementations, a second template editing interface may be displayed if a template creation operation is detected.

[0120] The aforementioned second template editing interface is the interface used to create a second new message template, corresponding to the template creation operation.

[0121] The template creation operation mentioned above can be a touch operation on the template creation control in the template display area, or a template creation operation triggered by a voice command, or a related gesture operation for creating a new message template, etc. The specific operation can be determined based on the actual application scenario requirements, and there are no restrictions here.

[0122] See Figure 7a , Figure 7a This is a schematic diagram of a scene showing the template display area provided in an embodiment of this application. For example... Figure 7a As shown, the template display area displays multiple message templates as well as a template creation control. Upon detecting a touch operation on the template creation control, the system can respond to the touch operation and display a second template editing interface, allowing the user to create a new message template based on the second template editing interface.

[0123] The template creation operation mentioned above can also be a touch operation on the template creation control in the message template management interface.

[0124] See Figure 7b , Figure 7bThis is a schematic diagram of a scenario of the message template management interface provided in an embodiment of this application. The message template management interface displays message templates for user management. Simultaneously, the message template management interface also displays a template creation control. Upon detecting a touch operation on this template creation control, the interface can respond to the touch operation and display a second template editing interface, allowing the creation of new message templates based on the second template editing interface.

[0125] Furthermore, in response to a third editing operation on the second template editing interface, a second new message template is determined based on the third editing operation.

[0126] The third editing operation mentioned above is used to edit the displayed content of the second template editing interface to determine the editing operation of the second new message template.

[0127] As an example, in response to a user-triggered template creation operation, a second template editing interface is displayed. The second template editing interface may be empty (i.e., no content is displayed), or it may display preset content (such as a preset number, a fixed content frame, etc.). Then, in response to a third editing operation on the second template editing interface, template content is entered into the second template editing interface to obtain a second new message template.

[0128] As an example, if the third editing operation on the second template editing interface is to enter "The weather isn't very good today", then in response to this third editing operation, the edited content "The weather isn't very good today" will be displayed on the second template editing interface. Furthermore, in response to an editing operation on this content (such as a user's touch operation to create a message template), this edited content can be designated as the second new message template.

[0129] In some feasible implementations, after obtaining the first new message template and / or the second new message template based on the above implementation method, at least one of the first and second new message templates can be sent to the server so that the server can verify the received new message template and store the verified new message template in the corresponding message template set. Specifically, a template creation instruction carrying the aforementioned first or second new message template can be sent to the server so that the server can verify the received new message template.

[0130] The specific implementation of the template creation command can be determined based on the actual application scenario requirements, and is not limited here. For example, in a certain application environment, the template creation command could be: IM_TEMPLATE_SUN_CMD_CREATE=0x01.

[0131] Furthermore, for the server, upon receiving either the first new message template or the second new message template, it can verify the new message template. If the new message template fails verification, it sends a first indication message to the first application to indicate that the corresponding new message template verification failed. For the first application, in response to the first indication message sent by the server, it can display a creation failure message to inform the user that the creation of the corresponding new message template has failed.

[0132] If the corresponding new message template passes verification, the first server can send a second instruction to the first application to indicate that the corresponding new message template has passed verification. The first application can then respond to the second instruction sent by the server and display a success message to notify the user that the corresponding new message template has been successfully created.

[0133] As an example, see Figure 8 , Figure 8 This is a flowchart illustrating the process of creating a new message template provided in an embodiment of this application. Figure 8 In this process, the first application responds to the user's template creation operation and displays a template editing interface, thereby obtaining a new message template based on the user's relevant editing operations. Further, after the user confirms the creation of a new message template, they can send a template creation command to the server, allowing the server to verify the new message template. If the new message template verification fails, the server sends a first instruction message to the first application, which then displays a creation failure message based on the first instruction message. If the new message template verification succeeds, the server sends a second instruction message to the first application, which then displays a creation success message based on the second instruction message.

[0134] The server will create a corresponding template identifier for the corresponding new message template after the corresponding new message template is verified, and then associate and store the corresponding new message template and template identifier in the corresponding message template set.

[0135] In some feasible implementations, for any of the first or second new message templates, if each user corresponds to their own message template set, then when storing the new message template, it can be stored in the message template set corresponding to that user. If different template display operations correspond to different message template sets, then when storing the new message template, it can be stored in the message template set corresponding to the corresponding template display operation. If each user corresponds to their own message template set, and each user has multiple message template sets, and different message template sets corresponding to a user correspond to different template display operations, then when storing the new message template, it needs to be stored in the multiple message template sets corresponding to that user, and in the message template set corresponding to the corresponding template display operation.

[0136] In some feasible implementations, any message template in the message template set can also be updated.

[0137] Specifically, in response to the selection of the second message template, the second message template can be displayed through the third template editing interface.

[0138] The above-mentioned selection operation for the second message template can also be triggered by voice commands, gesture operations, etc., and the specifics can be determined based on the actual application scenario requirements, without any restrictions here.

[0139] The third template editing interface mentioned above is the interface for displaying the message template to be updated, that is, the second message template mentioned above is the message template to be updated.

[0140] The second message template mentioned above is any message template in the above message template set.

[0141] As an example, the second message template mentioned above is any message template among the message templates displayed in the template display area. In this case, in response to the selection operation of any message template in the set of message templates displayed in the template display area, the message template can be displayed through the third template editing interface.

[0142] As an example, the second message template mentioned above is any message template in the set of message templates displayed on any of the interfaces such as the interactive message input area, the full-screen input interface, and the template management interface.

[0143] As an example, the second message template mentioned above is any message template displayed in the relevant interface entered in response to a touch operation on the template editing control, template import control, and template display control. For example, in response to a template import operation on the template import control, at least one message template in the message template set is displayed through the template import interface, and then in response to a selection operation on any message template in the template import interface, the message template is displayed through the third template editing interface.

[0144] In other words, in response to the selection operation of any message template displayed on any interface (the message template is a message template in the message template set), the second message template can be displayed through the third template editing interface.

[0145] In this embodiment of the application, at least two of the above-mentioned first template editing interface, second template editing interface and third template editing interface, such as the editing interface corresponding to editing the second interactive message and the editing interface corresponding to editing the second message template, are the same interface.

[0146] Optionally, the first, second, and third template editing interfaces mentioned above are different interfaces, and the interface attributes (including but not limited to interface color, position, size, etc.) of each editing interface can be different. In other words, different template editing interfaces correspond to different display trigger operations (such as different selection operations), display methods, etc., which can be determined based on the actual application scenario requirements and are not limited here.

[0147] Optionally, for any of the above-mentioned first template editing interface, second template editing interface, and third template editing interface, the editing interface can be a newly created interface or generated based on the interface displayed when the editing interface is triggered. The specific choice can be determined based on the actual application scenario requirements and is not limited here.

[0148] For example, in response to a selection operation of a second message template in the template display area, a new template editing interface is created as a third template editing interface to display the message template, or the template display area is used as a third template editing interface to display the message template, or a third template editing interface is generated based on the third template editing interface to display the message template.

[0149] For example, in response to a selection operation on message template A in the full-screen input interface, a new template editing interface can be created to display message template A, or the full-screen input interface can be used as a template editing interface to display message template A, or a template editing interface can be generated based on the full-screen input interface to display message template A.

[0150] Furthermore, in response to the fourth editing operation on the second message template, the second message template is edited based on the fourth editing operation to obtain a new message template (hereinafter referred to as the third new message template for ease of description), and the third new message template is displayed through the third template editing interface.

[0151] Since the second message template is the message template to be updated, and the fourth editing operation is an editing operation to edit the message template that needs to be updated, the third new message template determined based on the fourth editing operation and the second message template is the new message template used to update the second message template.

[0152] In some feasible implementations, after obtaining the third new message template based on the above implementation method, the third new message template can be sent to the server so that the server can verify the received third new message template and update the second message template in the message template set based on the third new message template after successful verification. Specifically, a template update instruction can be sent to the server so that the server can verify the received third new message template and update the second message template after successful verification.

[0153] The specific implementation of the template update command can be determined based on the actual application scenario requirements, and is not limited here. For example, in a certain application environment, the template update command could be: IM_TEMPLATE_SUN_CMD_UPDATE=0x02.

[0154] The template update instruction also carries the template identifier of the second message template, such as based on optionalstringtemplate_uuid=1, that is, the data type of the template identifier is string, and the universally unique identifier (UUID) is used as the template identifier, etc. The specific implementation can be determined based on the actual application scenario requirements, and there are no restrictions here.

[0155] The template content of the third message template mentioned above can be implemented based on optionalstringtemplate_content=2.

[0156] Furthermore, for the server, after receiving the third new message template, it can verify the third new message template. If the third new message template fails verification, it can send a third indication message to the first application to indicate that the verification of the third new message template has failed. For the first application, it can respond to the third indication message sent by the server and then display an update failure message to inform the user that the second message template update has failed.

[0157] If the third new message template passes verification, the first server determines the template identifier of the second message template, and then determines the second message template from the user's corresponding message template set based on the template identifier, thereby updating the second message template based on the third new message template.

[0158] If the second message template update fails, the server sends a third indication message to the first application, indicating that the third new message template was successfully verified but the update of the second message template failed. The first application can respond to the third indication message sent by the server and display an update failure message to notify the user that the second message template update failed.

[0159] If the second message template is successfully updated, the server sends a fourth indication message to the first application to indicate that the third new message template has been successfully verified and the second message template has been successfully updated. The first application can respond to the fourth indication message sent by the server and then display an updated notification message to inform the user that the second message template has been successfully updated.

[0160] As an example, see Figure 9 , Figure 9 This is a flowchart illustrating the update message template provided in an embodiment of this application. Figure 9 In the first application, a selection operation is performed to choose the second message template that needs to be updated, and the second message template is displayed in the template editing interface. Further, based on a fourth editing operation, the second message template is edited to obtain a third new message template. After confirming the update, a template update instruction carrying the third new message template is sent to the server, so that the server verifies the third new message template and updates the second message template based on the third new message template after successful verification.

[0161] If the third new message template verification fails, or if the third new message template verification succeeds but the update of the second message template fails, the server sends a third instruction message to the first application, which then displays an update failure message based on the third instruction message. If the third new message template verification succeeds and the update of the second message template succeeds, the server sends a fourth instruction message to the first application, which then displays an update success message based on the fourth instruction message.

[0162] In some feasible implementations, the server verifies any new message template, including but not limited to verifying whether the new message template contains sensitive information, whether it contains preset keywords, and whether the text length is within the preset text length. The specific verification method can be determined based on the actual application scenario requirements and is not limited here.

[0163] In some feasible implementations, the information processing method provided by the embodiments of this application can manage the message template set in the message template set, including but not limited to modifying (updating) the templates in the message template set and creating new templates for the message template set.

[0164] As an example, in response to a template creation operation triggered by a template creation control corresponding to any interface (such as a template management interface, a template display area, and a session interface), a template editing interface for creating a new message template can be displayed. Then, in response to an editing operation on the template editing interface, new template content and / or template format can be filled in the template editing interface to create a new message template.

[0165] As an example, in response to the selection of any interactive message in the session interface, the interactive message can be displayed through the template editing interface, and template content can be added and / or deleted for the interactive message based on the editing operation for the interactive message, as well as the content layout format of the interactive message can be changed to obtain a new message template.

[0166] As an example, in response to a selection operation on any message template in the template display area, the message template can be displayed through a template editing interface. This allows for operations such as adding and / or deleting template content, and changing the template content format, based on the editing operation performed on the message template, thereby enabling modification and updating of the message template. The aforementioned template display area can be a relevant area used to display message templates in the template message set in response to a template display operation. For example, a new interface can be displayed based on a template selection operation on the template editing interface, and this new interface can be used as the template display area to display message templates in the message template set. Alternatively, a template selection operation can be used to designate a specific area in the session interface or full-screen input interface as the template display area to display message templates in the message template set.

[0167] Optionally, in response to a management operation on a set of message templates, the template name and arrangement of the message templates in the template display area (such as display order, display quantity, and display background corresponding to each message template) can be modified.

[0168] The aforementioned management operations can be triggered through the template management interface, the template display area, and other template management controls corresponding to the interface, or based on preset user operations (such as specified voice commands, gesture operations, etc.). The specifics can be determined based on the actual application scenario requirements and are not limited here.

[0169] In the embodiments of this application, the aforementioned server may be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server or server cluster that provides 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, content delivery networks (CDN), and big data and artificial intelligence platforms.

[0170] In this embodiment of the application, based on the above-mentioned message template creation and update methods, users can be provided with multiple ways to edit message templates, thereby enabling users to adjust message templates according to actual needs and further improve user experience.

[0171] See Figure 10 , Figure 10 This is a schematic diagram of the structure of the information processing apparatus provided in this application embodiment. The information processing apparatus 1 provided in this application embodiment includes:

[0172] The message template display module 11 is used to display at least one message template from the message template set in response to a template display operation triggered by the interactive message input area of ​​the session interface.

[0173] The message template selection module 12 is used to respond to the selection operation for the first message template and display the first message template through the interactive message input area. The first message template is any message template among the message templates displayed in the template display area.

[0174] The interaction message determination module 13 is used to determine the first interaction message based on the first message template mentioned above.

[0175] In some feasible implementations, the above-mentioned template display operation is triggered when the input information in the above-mentioned interactive message input area meets preset conditions;

[0176] The aforementioned message template display module 11 is used for:

[0177] The template display area displays message templates from the message template set that match the above input information.

[0178] In some feasible implementations, the template display operation described above includes any of the following:

[0179] The preset user action triggered in the above interactive message input area;

[0180] For touch operations on template display controls, the template display controls are at least one of the first template display control corresponding to the interactive message input area or the second template display control corresponding to the full-screen input interface entered through the interactive message input area.

[0181] In some feasible implementations, the above-mentioned interactive message determination module 13 is used for:

[0182] The aforementioned first message template is designated as the first interactive message; or,

[0183] In response to the first editing operation on the first message template, a first interactive message is determined based on the first editing operation and the first message template.

[0184] In some feasible implementations, the message template display module described above is also used for:

[0185] In response to the user's login status being "logged in", a template retrieval command is sent to the server to obtain a set of message templates.

[0186] In some feasible embodiments, the above-described apparatus 1 further includes a message template creation module 14, which is further configured to:

[0187] In response to a selection operation for the second interactive message, the second interactive message is displayed through the first template editing interface, where the second interactive message is any interactive message in any session interface;

[0188] In response to a second editing operation on the second interactive message, a first new message template is determined based on the second editing operation and the second interactive message.

[0189] In some feasible implementations, the message template creation module 14 described above is further used for:

[0190] In response to the template creation operation, a second template editing interface is displayed;

[0191] In response to the third editing operation on the second template editing interface, a second new message template is determined based on the third editing operation.

[0192] In some feasible implementations, the message template creation module 14 described above is further used for:

[0193] Send at least one of the first new message template and the second new message template to the server so that the server can verify the new message template and store the new message template in the message template set after verification.

[0194] In response to the first indication information sent by the aforementioned server, a creation failure message is displayed, wherein the first indication information is used to indicate that the corresponding new message template verification failed; or,

[0195] In response to the second instruction information sent by the server, a creation success message is displayed. The second instruction information is used to indicate that the corresponding new message template has been verified and successfully stored in the message template set.

[0196] In some feasible embodiments, the above-described apparatus 1 further includes a message template update module 15, which is further configured to:

[0197] In response to the selection operation for the second message template, the second message template is displayed through the third template editing interface. The second message template is any message template in the above message template set.

[0198] In response to the fourth editing operation on the second message template, a third new message template is determined based on the fourth editing operation and the second message template.

[0199] In some feasible implementations, the message template update module 15 described above is further used for:

[0200] Send the third new message template to the server so that the server can verify the third new message template and update the second message template in the message template set based on the third new message template after the verification is successful.

[0201] In response to the third instruction message sent by the aforementioned server, an update failure message is displayed; or,

[0202] In response to the fourth instruction message sent by the aforementioned server, a message indicating successful update is displayed;

[0203] The aforementioned third indication information is used to indicate that the verification of the aforementioned third new message template failed, or to indicate that the verification of the aforementioned third new message template was successful and the update of the aforementioned second message template failed. The aforementioned fourth indication information is used to indicate that the verification of the aforementioned third new message template was successful and the update of the aforementioned second message template was successful.

[0204] In some feasible implementations, the above-mentioned interactive message determination module 13 is further used for:

[0205] The first interactive message is sent and displayed through the aforementioned session interface.

[0206] In specific implementation, the aforementioned device 1 can perform the above-described actions through its built-in functional modules. Figure 1 The implementation methods provided for each step are detailed in the above-mentioned implementation methods, and will not be repeated here.

[0207] The aforementioned information processing device may be a computer program (including program code) running on a computer device, such as an application software; the information processing device may be used to execute the corresponding steps in the information processing method provided in the embodiments of this application.

[0208] In some feasible implementations, the information processing apparatus provided in this application embodiment can be implemented in a combination of hardware and software. As an example, the information processing apparatus provided in this application embodiment can be a processor in the form of a hardware decoding processor, which is programmed to execute the information processing method provided in this application embodiment. For example, the processor in the form of a hardware decoding processor can be one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.

[0209] In some feasible implementations, the information processing apparatus provided in this application embodiment can be implemented in software, which can be software in the form of programs and plug-ins, and includes a series of modules, including a message template display module 11, a message template selection module 12, an interactive message determination module 13, a message template creation module 14, and a message template update module 15, for implementing the information processing method provided in this application embodiment.

[0210] In this embodiment, by triggering a template display operation in the interactive message input area, the user can be shown applicable message templates, allowing them to intuitively and conveniently select their desired template. Simultaneously, the interactive message to be sent is generated based on the selected template, improving the user's message input efficiency, further enhancing the user experience, and demonstrating high applicability.

[0211] Furthermore, based on the aforementioned methods for creating and updating message templates, users can be provided with multiple ways to edit message templates, allowing them to adjust message templates according to their actual needs and further enhance the user experience.

[0212] See Figure 11 , Figure 11 This is a schematic diagram of the structure of the electronic device provided in an embodiment of this application. For example... Figure 11As shown, the electronic device 1000 in this embodiment may include: a processor 1001, a network interface 1004, and a memory 1005. Furthermore, the electronic device 1000 may also include: a user interface 1003, and at least one communication bus 1002. The communication bus 1002 is used to implement communication between these components. The user interface 1003 may include a display screen and a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1004 may be a high-speed RAM or non-volatile memory, such as at least one disk storage device. The memory 1005 may optionally be at least one storage device located remotely from the processor 1001. Figure 11 As shown, the memory 1005, which is a computer-readable storage medium, may include an operating system, a network communication module, a user interface module, and a device control application.

[0213] exist Figure 11 In the illustrated electronic device 1000, the network interface 1004 provides network communication functionality; the user interface 1003 is primarily used to provide an input interface for the user; and the processor 1001 can be used to call the device control application stored in the memory 1005 to achieve:

[0214] In response to a template display operation triggered by the interactive message input area of ​​the session interface, at least one message template from the message template set is displayed through the template display area;

[0215] In response to the selection operation for the first message template, the first message template is displayed through the interactive message input area. The first message template is any message template among the message templates displayed in the template display area.

[0216] The first interaction message is determined based on the aforementioned first message template.

[0217] In some feasible implementations, the above-mentioned template display operation is triggered when the input information in the above-mentioned interactive message input area meets preset conditions;

[0218] The processor 1001 described above is used for:

[0219] The template display area displays message templates from the message template set that match the above input information.

[0220] In some feasible implementations, the template display operation described above includes any of the following:

[0221] The preset user action triggered in the above interactive message input area;

[0222] For touch operations on template display controls, the template display controls are at least one of the first template display control corresponding to the interactive message input area or the second template display control corresponding to the full-screen input interface entered through the interactive message input area.

[0223] In some feasible implementations, the processor 1001 described above is used for:

[0224] The aforementioned first message template is designated as the first interactive message; or,

[0225] In response to the first editing operation on the first message template, a first interactive message is determined based on the first editing operation and the first message template.

[0226] In some feasible implementations, the processor 1001 is further configured to:

[0227] In response to the user's login status being "logged in", a template retrieval command is sent to the server to obtain a set of message templates.

[0228] In some feasible implementations, the processor 1001 is further configured to:

[0229] In response to a selection operation for the second interactive message, the second interactive message is displayed through the first template editing interface, where the second interactive message is any interactive message in any session interface;

[0230] In response to a second editing operation on the second interactive message, a first new message template is determined based on the second editing operation and the second interactive message.

[0231] In some feasible implementations, the processor 1001 is further configured to:

[0232] In response to the template creation operation, a second template editing interface is displayed;

[0233] In response to the third editing operation on the second template editing interface, a second new message template is determined based on the third editing operation.

[0234] In some feasible implementations, the processor 1001 is further configured to:

[0235] Send at least one of the first new message template and the second new message template to the server so that the server can verify the new message template and store the new message template in the message template set after verification.

[0236] In response to the first indication information sent by the aforementioned server, a creation failure message is displayed, wherein the first indication information is used to indicate that the corresponding new message template verification failed; or,

[0237] In response to the second instruction information sent by the server, a creation success message is displayed. The second instruction information is used to indicate that the corresponding new message template has been verified and successfully stored in the message template set.

[0238] In some feasible implementations, the processor 1001 is further configured to:

[0239] In response to the selection operation for the second message template, the second message template is displayed through the third template editing interface. The second message template is any message template in the above message template set.

[0240] In response to the fourth editing operation on the second message template, a third new message template is determined based on the fourth editing operation and the second message template.

[0241] In some feasible implementations, the processor 1001 is further configured to:

[0242] Send the third new message template to the server so that the server can verify the third new message template and update the second message template in the message template set based on the third new message template after the verification is successful.

[0243] In response to the third instruction message sent by the aforementioned server, an update failure message is displayed; or,

[0244] In response to the fourth instruction message sent by the aforementioned server, a message indicating successful update is displayed;

[0245] The aforementioned third indication information is used to indicate that the verification of the aforementioned third new message template failed, or to indicate that the verification of the aforementioned third new message template was successful and the update of the aforementioned second message template failed. The aforementioned fourth indication information is used to indicate that the verification of the aforementioned third new message template was successful and the update of the aforementioned second message template was successful.

[0246] In some feasible implementations, the above-mentioned interactive message determination module 13 is further used for:

[0247] The first interactive message is sent and displayed through the aforementioned session interface.

[0248] It should be understood that in some feasible implementations, the processor 1001 described above may be a central processing unit (CPU), or it may 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. The memory may include read-only memory and random access memory, and provides instructions and data to the processor. A portion of the memory may also include non-volatile random access memory. For example, the memory may also store device type information.

[0249] In specific implementation, the aforementioned electronic device 1000 can perform the above-described actions through its built-in functional modules. Figure 1 The implementation methods provided for each step are detailed in the above-mentioned implementation methods, and will not be repeated here.

[0250] In this embodiment, by triggering a template display operation in the interactive message input area, the user can be shown applicable message templates, allowing them to intuitively and conveniently select their desired template. Simultaneously, the interactive message to be sent is generated based on the selected template, improving the user's message input efficiency, further enhancing the user experience, and demonstrating high applicability.

[0251] Furthermore, based on the aforementioned methods for creating and updating message templates, users can be provided with multiple ways to edit message templates, allowing them to adjust message templates according to their actual needs and further enhance the user experience.

[0252] This application also provides a computer-readable storage medium storing a computer program that is executed by a processor to implement... Figure 1 The methods provided in each step are detailed in the implementation methods provided in the above steps, and will not be repeated here.

[0253] The aforementioned computer-readable storage medium can be an internal storage unit of the information processing apparatus and / or electronic device provided in any of the foregoing embodiments, such as a hard disk or memory of the electronic device. The computer-readable storage medium can also be an external storage device of the electronic device, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the electronic device. The aforementioned computer-readable storage medium can also include magnetic disks, optical disks, read-only memory (ROM), or random access memory (RAM), etc. Furthermore, the computer-readable storage medium can include both internal storage units and external storage devices of the electronic device. The computer-readable storage medium is used to store the computer program and other programs and data required by the electronic device. The computer-readable storage medium can also be used to temporarily store data that has been output or will be output.

[0254] This application provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. The processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform... Figure 1 The methods provided for each step in the process.

[0255] The terms "first," "second," etc., used in the claims, description, and drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or electronic device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or electronic devices. References to "embodiment" herein mean that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The presentation of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments. The term "and / or" as used in this application's description and appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0256] 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 the various examples have been generally described in terms of functionality in the foregoing description. Those skilled in the art can implement the described functions using different methods for each specific application, but such implementations should not be considered beyond the scope of this application.

[0257] 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. An information processing method characterized by comprising: The method comprises: in response to a template display operation triggered by an interactive message input area of a session interface, displaying, through a template display area, a message template in a message template set that matches input information of the interactive message input area; wherein the template display operation is triggered when the input information meets a preset condition, and the preset condition comprises at least one of the following cases: the text length of the input information is less than or greater than a preset text length, no new information is input into the interactive message input area within a preset time period after the input information is input, or the input information includes a preset keyword and / or key word; wherein the matched message template comprises at least one of the following cases: a message template whose template content includes the input information, a message template whose template content includes a keyword and / or key word in the input information, or a message template whose template content has a text similarity greater than a similarity threshold with the input information; in response to a selection operation on a first message template, displaying the first message template through the interactive message input area, the first message template being any one of the message templates displayed by the template display area; determining the first message template as a first interactive message; or, in response to a first editing operation on the first message template, determining a first interactive message based on the first editing operation and the first message template; in response to a selection operation on a second interactive message, displaying the second interactive message through a first template editing interface, the second interactive message being any interactive message in any session interface; in response to a second editing operation on the second interactive message, determining a first new message template based on the second editing operation and the second interactive message.

2. The method of claim 1, wherein, The template display operation comprises any of the following: a preset user operation triggered in the interactive message input area; a touch operation on a template display control, wherein the template display control is at least one of a first template display control corresponding to the interactive message input area or a second template display control corresponding to a full-screen input interface entered through the interactive message input area.

3. The method of claim 1, wherein, The method further comprises: in response to the user's login state being a logged-in state, sending a template acquisition instruction to a server to acquire a message template set.

4. The method of claim 1, wherein, The method further comprises: in response to a template creation operation, displaying a second template editing interface; in response to a third editing operation on the second template editing interface, determining a second new message template based on the third editing operation.

5. The method of claim 4, wherein, The method further comprises: sending at least one of the first new message template and the second new message template to the server, so that the server verifies the new message template and stores the new message template in the message template set after verification; in response to first indication information sent by the server, displaying a creation failure prompt information, the first indication information being used to indicate that the corresponding new message template fails to verify; or, In response to the second indication information sent by the server, display a creation success prompt information, the second indication information is used for indicating that the corresponding new message template is verified and is successfully stored to the message template set.

6. The method of claim 1, wherein, The method further comprises: In response to a selection operation on a second message template, display the second message template through a third template editing interface, the second message template being any message template in the message template set; In response to a fourth editing operation on the second message template, determine a third new message template based on the fourth editing operation and the second message template.

7. The method of claim 6, wherein, The method further comprises: Send the third new message template to the server, so that the server verifies the third new message template, and updates the second message template in the message template set based on the third new message template after verification; In response to third indication information sent by the server, display an update failure prompt information; or, In response to fourth indication information sent by the server, display an update success prompt information; The third indication information is used for indicating that the third new message template fails to be verified, or is used for indicating that the third new message template is successfully verified and fails to update the second message template, and the fourth indication information is used for indicating that the third new message template is successfully verified and successfully updates the second message template.

8. The method of claim 1, wherein, The method further comprises: Send and display the first interactive message through the conversation interface.

9. An information processing apparatus, characterized by comprising: The device comprises: A message template display module, configured to display, in response to a template display operation triggered through an interactive message input area of a conversation interface, a message template in a message template set through a template display area, the message template matching input information of the interactive message input area; The template display operation is triggered when the input information meets a preset condition, and the preset condition comprises at least one of the following situations: the text length of the input information is less than or greater than a preset text length, no new information is input into the interactive message input area within a preset time period after the input information is input, or the input information comprises a preset keyword and / or key word; The matching message template comprises at least one of the following situations: a message template whose template content comprises the input information, a message template whose template content comprises a keyword and / or key word in the input information, or a message template whose template content has a text similarity greater than a similarity threshold with the input information; A message template selection module, configured to display, in response to a selection operation on a first message template, the first message template through the interactive message input area, the first message template being any message template in the message templates displayed by the template display area; An interactive message determination module, configured to determine the first message template as a first interactive message; or, in response to a first editing operation on the first message template, determine a first interactive message based on the first editing operation and the first message template; The message template creation module is configured to display, in response to a selection operation on a second interactive message, the second interactive message through the first template editing interface, the second interactive message being any interactive message in any conversation interface; and determine a first new message template based on a second editing operation on the second interactive message and the second interactive message in response to the second editing operation.

10. The apparatus of claim 9, wherein, The template display operation includes any of the following: A preset user operation triggered in the interactive message input area; A touch operation on a template display control, wherein the template display control is at least one of a first template display control corresponding to the interactive message input area or a second template display control corresponding to a full-screen input interface entered through the interactive message input area.

11. The apparatus of claim 9, wherein, The message template display module is further configured to: In response to a login state of a user being a logged-in state, send a template acquisition instruction to a server to acquire a message template set.

12. The apparatus of claim 9, wherein, The message template creation module is further configured to: In response to a template creation operation, display a second template editing interface; In response to a third editing operation on the second template editing interface, determine a second new message template based on the third editing operation.

13. The apparatus of claim 12, wherein, The message template creation module is further configured to: Send at least one of the first new message template and the second new message template to the server, so that the server verifies the new message template, and stores the new message template to the message template set after verification; In response to first indication information sent by the server, display a creation failure prompt information, the first indication information being used to indicate that the corresponding new message template fails to pass verification; Or, In response to second indication information sent by the server, display a creation success prompt information, the second indication information being used to indicate that the corresponding new message template passes verification and is successfully stored to the message template set.

14. The apparatus of claim 9, wherein, The device further includes a message template update module, the message template update module is further configured to: In response to a selection operation on a second message template, display the second message template through a third template editing interface, the second message template being any message template in the message template set; In response to a fourth editing operation on the second message template, determine a third new message template based on the fourth editing operation and the second message template.

15. The apparatus of claim 14, wherein, The message template update module is further configured to: Send the third new message template to the server, so that the server verifies the third new message template, and updates the second message template in the message template set based on the third new message template after verification; In response to third indication information sent by the server, display an update failure prompt information; Or, In response to fourth indication information sent by the server, display an update success prompt information; The third indication information is used to indicate that the third new message template fails to pass verification, or is used to indicate that the third new message template passes verification and fails to update the second message template, and the fourth indication information is used to indicate that the third new message template passes verification and successfully updates the second message template.

16. The apparatus of claim 9, wherein, The interaction message determination module is further configured to: send and display the first interaction message through the session interface.

17. An electronic device, comprising: comprise a processor and a memory, the processor and the memory being connected to each other; the memory is configured to store a computer program; the processor is configured to execute the method according to any one of claims 1 to 8 when the computer program is invoked.

18. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the method according to any one of claims 1 to 8.

19. A computer program product, characterised in that, The computer program product comprises computer instructions stored in a computer readable storage medium, and the processor of the electronic device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to implement the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Information inputting method and device

    CN104765791A

  • Message notification method and device

    CN112152912A