Information processing method and apparatus, electronic device, and storage medium
By using artificial intelligence programs to generate response suggestions in instant messaging software, the problem of inefficiency when users deal with repetitive questions is solved, thus improving the user experience.
Patent Information
- Application Number
- PCT/CN2025/080152
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-07-19
- Filing Date
- 2025-03-03
- Publication Date
- 2026-01-22
AI Technical Summary
In instant messaging software, existing technologies lead to inefficiencies and poor user experience when users need to handle repetitive questions and responses.
Artificial intelligence programs are used to generate response suggestions. Semantic recognition is used to determine whether the conversation message includes question information, and response suggestions are displayed in the first area to reduce repetitive operations for users.
It improved user response efficiency, reduced repetitive operations, and enhanced the user experience of instant messaging software.
Smart Images

Figure CN2025080152_22012026_PF_FP_ABST
Abstract
Description
Information processing methods, devices, electronic equipment and storage media
[0001] This application claims priority to Chinese Patent Application No. 202410971704.7, filed on July 19, 2024, the disclosure of which is incorporated herein by reference in its entirety. Technical Field
[0002] This disclosure relates to an information processing method, apparatus, electronic device, and storage medium. Background Technology
[0003] When engaging in conversations, such as through instant messaging software, users may receive questions, inquiries, suggestions, or other messages from other users, requiring them to think or search for responses. Summary of the Invention
[0004] This disclosure provides an information processing method, apparatus, electronic device, and storage medium.
[0005] The following technical solution is adopted in this disclosure.
[0006] In some embodiments, this disclosure provides an information processing method, including:
[0007] Receive the first session message in the first session;
[0008] In response to the first session message satisfying the first reply condition, a reply suggestion for the first session message is generated through an artificial intelligence program;
[0009] The suggested response is displayed in the first area.
[0010] In some embodiments, this disclosure provides an information processing apparatus, including:
[0011] A communication unit, used to receive the first session message in the first session;
[0012] A control unit is configured to generate a response suggestion for the first session message through an artificial intelligence program in response to the first session message meeting a first response condition.
[0013] The control unit is also used to display the response suggestion in the first area.
[0014] In some embodiments, this disclosure provides an electronic device, including: at least one memory and at least one processor;
[0015] The memory is used to store program code, and the processor is used to call the program code stored in the memory to execute the above method.
[0016] In some embodiments, this disclosure provides a computer-readable storage medium for storing program code that, when run by a processor, causes the processor to perform the methods described above. Attached Figure Description
[0017] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and elements are not necessarily drawn to scale.
[0018] Figure 1 is a flowchart of an information processing method according to an embodiment of the present disclosure;
[0019] Figure 2 is a flowchart of an information processing method according to an embodiment of the present disclosure;
[0020] Figures 3 to 10 are schematic diagrams of the display interface of embodiments of this disclosure; and
[0021] Figure 11 is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. Detailed Implementation
[0022] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0023] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.
[0024] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0025] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.
[0026] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.
[0027] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0028] It should be understood that the various steps described in the method embodiments of this disclosure can be performed in sequence and / or in parallel. Furthermore, method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.
[0029] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.
[0030] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0031] It should be noted that the use of the word "a" in this disclosure is illustrative rather than restrictive, and those skilled in the art should understand that it should be understood as "one or more" unless otherwise expressly indicated in the context.
[0032] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0033] The solutions provided by the embodiments of this disclosure will be described in detail below with reference to the accompanying drawings.
[0034] As shown in Figure 1, Figure 1 is a flowchart of an information processing method according to an embodiment of the present disclosure, which includes the following steps.
[0035] S11. Receive the first session message in the first session.
[0036] In some embodiments, the method proposed in this disclosure is executed by an electronic device such as a terminal or server. Specifically, it can be software with integrated instant messaging functionality in the terminal. The first session message can be received within the software currently logged into by the user. The first session message is a session message received by the current user within the software; that is, the recipient of the first session message includes the current user, but may also include other users. The first session message can be a message from a one-on-one chat session or a message from a group chat session. For example, it could be the session message "How was last year's satisfaction data? @Zhang Yi" sent by "Li Yi" in the group chat "Department" in Figure 3.
[0037] S12. In response to the first session message meeting the first reply condition, generate a reply suggestion for the first session message through an artificial intelligence program.
[0038] In some embodiments, the artificial intelligence program is also referred to as AI, such as the program corresponding to "intelligent reply" in Figure 3. The AI program can be a functional module integrated into software. The AI program can perform semantic recognition on the first conversation message to determine whether the first conversation message includes information that satisfies the first reply condition. The first reply condition may include, for example, that the conversation message contains question information; more specifically, the first reply condition may include that the first conversation message itself is question information. Question information can refer to information used to inquire about certain content, such as: What were today's work responsibilities? What was last year's income?
[0039] In some embodiments, if the artificial intelligence program confirms that the first conversation message meets the first response condition, it will analyze the first conversation message and further retrieve relevant information from the database. Based on the relevant information, it will generate response suggestions for the first conversation message. The response suggestions can be content generated by the artificial intelligence program processing the relevant information. In some cases, the first conversation message includes question information, and there are multiple questions in the first conversation message. In this case, the response suggestions can be multiple conversation suggestions corresponding to multiple questions. When generating response suggestions, a loading indicator can be displayed in the first area, such as the "..." indicating loading displayed to the right of "Smart Reply" in Figure 3.
[0040] S13. Display the suggested response in the first area.
[0041] In some embodiments, the first area can be a content box in the software, and its size can be non-fixed, changing with the content of the reply suggestion. Figure 5 schematically shows the first area and the reply suggestion within it. After the reply suggestion generated by the artificial intelligence program is displayed in the first area, the current user can copy the reply suggestion to the message input box, or write content in the message input box with reference to the reply suggestion, thereby replying to the first conversation message. In some embodiments, timed messages, time zone controls, shortcut components, and / or status messages are hidden when the reply suggestion is displayed. Timed messages are messages sent at a fixed time in advance, time zone controls are controls that display the time zone, shortcut components are components that perform specific operations, and status messages are pre-set statuses. These contents are displayed around the message input box, conflicting with the position of the first area, so these contents can be hidden when the reply suggestion is displayed.
[0042] In some embodiments of instant messaging, questions are frequently received, and these questions may be repeatedly asked by different users. This results in one or more users needing to answer repetitive questions (such as feature introductions, task progress, application procedures, etc.). Whether re-entering or copying previous answers, message reply and processing time increases, degrading the user experience. In some embodiments of this disclosure, considering the above situation, after receiving a first session message, if an artificial intelligence program determines that the first session message includes question information, it generates reply suggestions for the question information, thereby reducing repetitive operations for the current user and improving reply efficiency.
[0043] In some embodiments of this disclosure, in response to the first session message satisfying the first reply condition, a reply suggestion for the first session message is generated by an artificial intelligence program, including: in response to the first session message being a session message sent by another user that mentions the current user, determining whether the first session message includes question information when the first session message is in an unread state; and in response to the first session message including question information, generating a reply suggestion for the first session message by an artificial intelligence program.
[0044] In some embodiments, after receiving the first conversation message, the first conversation message is in an unread state. After the current user views the first conversation message, it becomes a read state. When the current user wants to reply to the first conversation message, they need to first view the first conversation message and then execute a reply triggering operation (e.g., triggering the reply control associated with the first conversation message, or sending a command to reply to the first conversation message via voice) to reply. In some embodiments of this disclosure, the current user can be mentioned by @the current user. For example, in Figure 3, the current user is Zhang Yi, and Zhang Yi is mentioned in the message sent by Li Yi. If the first conversation message mentions the current user, it means that the message is closely related to the current user. Therefore, if the message includes question information, there is a high probability that the current user needs to reply. After receiving the first conversation message, even if the current user has not viewed the first conversation message or executed a reply triggering operation, it will still be determined whether the first conversation message includes question information. If it includes question information, a reply suggestion will be generated in advance. That is, if the first conversation message mentions the current user, by generating a reply suggestion in advance, the reply suggestion can be avoided after the current user executes a reply triggering operation or enters an input box, thereby reducing the user's waiting time.
[0045] In some embodiments, displaying the reply suggestion in the first area includes: in response to a reply triggering operation on the first session message, performing the step of displaying the reply suggestion in the first area. In some embodiments, the first session message has an associated reply control for replying to the first session message after being triggered by a click or other means, as shown in Figure 3. After the reply control is triggered, the replied first session message is usually referenced in the message input box. After the reply control is triggered, the reply suggestion begins to be displayed in the first area. Because the reply suggestion is pre-generated, the pre-generated reply suggestion can be directly displayed in the first area, reducing user waiting time.
[0046] In some embodiments of this disclosure, in response to the first session message satisfying a first reply condition, a reply suggestion for the first session message is generated through an artificial intelligence program, including: in response to the first session message mentioning the current user, determining whether the first session message includes question information; in response to the first session message including question information and a reply trigger operation for the first session message, generating a reply suggestion for the first session message through the artificial intelligence program. Alternatively, in response to the first session message satisfying the first reply condition, a reply suggestion for the first session message is generated through an artificial intelligence program, including: in response to the first session message not mentioning the current user and a reply trigger operation for the first session message, determining whether the first session message includes question information. In response to the first session message including question information, a reply suggestion for the first session message is generated through an artificial intelligence program.
[0047] In some embodiments, as shown in Figure 2, a flowchart of the method in this embodiment is displayed. After receiving a first conversation message, it is first determined whether the message mentions the current user. If it mentions the current user, it indicates a close relationship with the current user, and the step of determining whether the first conversation message includes question information (specifically, determining whether the first conversation message is question information) is automatically executed. If the current user is not mentioned, then the relevance to the current user is low; for example, it may be a group message in a group chat. In this case, the determination of whether the first conversation message includes question information can only be made if the current user responds to the first conversation message. In some embodiments, if the first conversation message is a message in a one-on-one chat, and the first conversation message is not a conversation message sent by a robot, and / or the one-on-one chat is not a do-not-disturb chat, then the determination of whether the first conversation message meets the first response condition can be automatically executed upon receiving the first conversation message, because in this case, the first conversation message is a message in a one-on-one chat and is closely related to the current user. In some embodiments, even if the current user has previously disabled reply suggestions for other conversation messages, the reply suggestion for the first conversation message will still be displayed after the current user performs a reply trigger operation on the first conversation message. Therefore, steps S12 and S13 can be executed after the reply trigger operation is performed, regardless of whether the current user has previously disabled reply suggestions for other conversation messages. In some embodiments, reply suggestions may only be displayed if the current user replies to the entire first conversation message; if the current user replies to only a portion of the first conversation message, reply suggestions for that portion will not be displayed.
[0048] In some embodiments, as shown in Figure 2, when the first session message mentions the current user and includes question information, the intelligent response can be triggered and a response suggestion displayed when the current user executes a response trigger operation to the first session message, preparing to reply to it. Displaying a response suggestion when the user has not executed a response trigger operation to the first session message would, on the one hand, occupy screen space and consume computing power, and on the other hand, make it difficult for the user to know which question the response suggestion refers to, since there may be multiple session messages containing question information in the session. In some embodiments, as shown in Figure 2, when the first session message does not mention the current user, since the current user has already executed a response trigger operation to the first session message, a response suggestion will be automatically obtained and displayed as long as the first session message includes question information (e.g., the first session message itself is a question). In some embodiments, if the first session message does not include question information, or if the current user has not executed a response trigger operation to the first session message, a response suggestion will not be displayed.
[0049] In some embodiments of this disclosure, generating response suggestions for the first session message through an artificial intelligence program includes: retrieving relevant knowledge related to the first session message with the current user's permissions, and generating response suggestions for the first session message by the artificial intelligence program based on the relevant knowledge and the first session message.
[0050] In some embodiments, different users can have independent permissions, and different users can have different permissions. Retrieving relevant knowledge based on the current user's permissions can involve searching the database of the group to which the current user belongs for relevant knowledge that the current user has access to. Therefore, the resulting response suggestions will not include content that the current user is not authorized to view, thus avoiding information leakage due to unauthorized access. If the first session message includes question information, the relevant knowledge can be knowledge related to the question information.
[0051] In some embodiments of this disclosure, in response to the first session message satisfying a first reply condition, a reply suggestion for the first session message is generated and displayed by an artificial intelligence program, including: parsing the first session message, and parsing at least one session message before and / or at least one session message after the first session message to determine the meaning of the first session message; determining whether the first reply condition is satisfied based on the meaning of the first session message; and generating a reply suggestion for the first session message in response to satisfying the first reply condition.
[0052] In some embodiments, the specific meaning of the first session message, such as the specific meaning of the question information in the first session message, may require context for understanding. Therefore, after receiving the first session message, in addition to considering the first session message itself, it is also possible to consider the preset n preceding session messages adjacent to the first session message in the session in which the first session message is located, and the preset m following session messages, where n and m can each be independent positive integers. If the first session message references other messages, then in determining the meaning of the first session message, in addition to considering them, it is also possible to parse the referenced messages, at least one session message preceding the referenced messages, and / or at least one session message following the referenced messages to determine the meaning of the first session message. Then, based on the meaning of the first session message, it is determined whether the first response condition for a response suggestion is met. If it is met, a response suggestion can be generated. The first response condition may include, for example, having sufficient reference information to generate a response suggestion, or the credibility of the generated response suggestion reaching a preset threshold to avoid the generated response suggestion being unreliable.
[0053] In some embodiments, a first control is displayed in or around the first area, the first control being used to write the reply suggestion into a message input box when triggered.
[0054] In some embodiments, the first control can be continuously displayed. In other embodiments, the first control can be displayed under certain conditions. For example, the first area has a collapsed state and an expanded state. In the collapsed state, the size of the first area is smaller than that in the expanded state. In the collapsed state, as shown in Figure 5, the first area can only display one or two lines of content. The expanded control can be displayed when a control icon (e.g., mouse) hovers over the first area, as shown in Figure 6. The first area is expanded by triggering the expanded control, or by clicking or other means. When the first area is in the expanded state, as shown in Figure 7, its size increases to a preset size (if the first area cannot fully display the content in the first area, a scroll bar can be displayed to scroll and switch the content displayed in the first area). At this time, the first control can be displayed (the first control in Figure 7 is "Insert into input box"). When the first control is triggered by clicking or other means, as shown in Figure 9, the reply suggestion displayed in the first area will be inserted into the message input box, thereby eliminating the need for the user to copy and paste and improving processing efficiency. In some embodiments, the recommendation information is generated and displayed in a streaming manner. The first control can only be triggered after the recommendation information is fully generated. If the recommendation information is not fully generated, the first control is not displayed or cannot be triggered. When inserting recommendation information into the message input box through the first control, the format of the recommendation information can remain unchanged. The format and content of the written recommendation information can be adjusted in the message input box, such as font size, weight, and whether there are underlines.
[0055] In some embodiments, as shown in Figure 10, after displaying reply suggestions, users can select part or all of the content in the reply suggestions by highlighting words. After highlighting part or all of the content, a control list is displayed, which includes one or more of a copy control, a translation control, or a search control. The copy control can be used to copy the highlighted content and then paste it into the message input box. The translation control can translate the highlighted content into a specified language. The search control can search for the highlighted content within a preset range, which could be a database of the user's current group, the software the user is using, or the internet.
[0056] In some embodiments of the present disclosure, the method further includes: displaying a second region, in which a translation of the content in the message input box in a preset language is displayed, or, in the second region, a translation of the content in the message input box in a preset language and a second control are displayed, and the second control is used to write the translation into the message input box after being triggered. In some embodiments, as shown in FIG. 8, the second region is another region different from the first region, which may be adjacent to the first region, and both the first region and the second region may be located on the periphery of the message input box. A language selection control (\"en\" in FIG. 8) may be displayed in the second region to select the preset language, and an abbreviation of the preset language may be displayed on the language selection control. For the content in the message input box (excluding the quoted content), its translation may be automatically generated as the current user inputs content in the message input box. For example, in FIG. 8, when the current user inputs \"last year\" in the message input box, its English translation \"Last year\" is automatically generated in the second region. It should be noted that for the user name mentioned in the message input box, no translation is required, because if the user name is translated, it may cause the situation that the mention of the user name cannot generate a reminder. For example, if \"@Li Yi\" is translated to \"@LiYi\", the @ effect may not be generated.
[0057] In some embodiments of this disclosure, some or all of the content in the reply suggestions displayed in the first area is labeled, and the first area also displays reference information corresponding to the labels. In some embodiments, as shown in FIG7, the labels in FIG7 are “[1]” and “[2]”, which indicate that these contents refer to certain reference information. The reference information corresponding to the labels can also be displayed in the first area. For example, the reference information for “complex interface design” is “2023 survey report”. The source address of the reference information can be accessed by clicking or other means. In some embodiments, if the first control is triggered, the reference information may not be written to the message input box, or it may be written to the message input box for reference. In some embodiments, if the reference information is a link, the content pointed to by the link will be parsed and the link will be rendered as a content title for display. In some embodiments, the reply suggestions displayed in the first area include label information, such as the labels and reference information mentioned above. The method further includes: in response to the message reply operation, sending some or all of the content in the reply suggestions other than the label information to the first session. In some embodiments, the message reply operation may include one or more operations, such as writing part or all of the content of the reply suggestion (excluding the annotation information) into the message input box and sending the content in the message input box. The part or all of the content of the reply suggestion (excluding the annotation information) may only include the content used to reply to the first session message, excluding content unrelated to replying to the first session message, such as who generated the reply suggestion, when it was generated, and how it was generated. When part or all of the content of the reply suggestion (excluding the annotation information) is sent to the first session, the sent reply suggestion will not display the annotation, or the corresponding reference information may not be displayed, thus preventing the recipient from noticing that the sent reply suggestion was generated by an artificial intelligence program.
[0058] In some embodiments of this disclosure, the method further includes: stopping the display of the reply suggestion in response to an operation to close the reply suggestion; or stopping the display of the reply suggestion in response to an operation to clear a first session message referenced in a message input box; or stopping the display of the reply suggestion in response to a reply trigger operation on a second session message; or writing the reply suggestion into a message input box and stopping the display of the reply suggestion in response to a trigger operation on the first control, wherein the first control is used to write the reply suggestion into the message input box after being triggered.
[0059] In some embodiments, after a reply suggestion is displayed in the first area, its display can be stopped in several ways. Specifically, the current user can manually turn off the display of reply suggestions. In other embodiments, the display of reply suggestions occurs after a reply trigger operation on a first session message is executed. In this case, as shown in Figure 5, the first session message is referenced in the message input box. If the referenced first session message in the message input box is cleared, the display of reply suggestions will stop. In still other embodiments, the current user can execute a reply trigger operation on a second session message. When the current user replies to the second session message, the reply suggestion is the same as the reply suggestion for the first session message, thus stopping the display of the reply suggestion for the first session message. If the second session message also meets the conditions for displaying reply suggestions, then the reply suggestion for the second session message can be displayed in the first area. After triggering the first control, the reply suggestion will be written to the message input box, at which point it is no longer necessary to continue displaying the reply suggestion for the first session message.
[0060] In some embodiments of this disclosure, after stopping the display of the reply suggestions in response to the operation of closing the reply suggestions, the method further includes: in response to a reply triggering operation on a third session message, determining whether the third session message meets the first reply condition; in response to the third session message meeting the first reply condition, generating a reply suggestion for the third session message through an artificial intelligence program, and displaying the reply suggestion for the third session message. In some embodiments, if a reply triggering operation on a third session message is executed after the current user manually closes the reply suggestions, it indicates that the current user wants to reply to the third session message. At this time, it can be determined whether the third session message meets the first reply condition (the first reply condition includes, for example, the session message includes question information, or the session message itself is question information). If so, a reply suggestion for the question information of the third session message can be generated and displayed.
[0061] In some embodiments of this disclosure, after displaying the reply suggestion in the first area, the method further includes: in response to switching to a second session different from the first session and then switching back to the first session, continuing to display the reply suggestion, wherein the first session is the session where the first session message is located. In some embodiments, the reply suggestion is displayed when the current user replies to the first session message in the first session. If the current user switches to a second session different from the first session and then switches back to the first session, the reply suggestion will not disappear but will still be retained so that the current user can continue to use it. In some embodiments, the reply suggestion may be retained in the server and may be automatically deleted after a preset duration (e.g., one day).
[0062] In some embodiments of this disclosure, the first session message is a text message, or a message consisting of text and an image. In some embodiments, if the first session message is an image, a link, etc., steps S12 and S13 may not be executed.
[0063] In some embodiments of this disclosure, the first session message is: a session message sent by another user mentioning the current user, and the other user is a non-bot user; or, the first session message is a message sent by a user other than the current user that does not mention the current user. In some embodiments, a session message sent by the current user itself will not trigger the execution of S12 and S13, while a message sent by another user will trigger the execution of S12 and S13. However, a message sent by a bot user mentioning the current user will not trigger the execution of S12 and S13.
[0064] In some embodiments of this disclosure, the first session message is a message from a non-private chat session. For a private chat session, the current user does not want its content to be accessed, therefore it will not trigger the execution of steps S12 and S13.
[0065] In some embodiments of this disclosure, the first session message is a message outside the topic group. In some embodiments, the message within the topic group is a topic or a reply message to a topic.
[0066] In some embodiments of this disclosure, the response suggestions are displayed via streaming output. In some embodiments, the streaming output is generated and displayed simultaneously, as shown in Figure 4. The number of response suggestions generated is displayed as soon as they are generated, without waiting for all response suggestions to be generated, thus avoiding user waiting.
[0067] This disclosure also proposes an information processing apparatus, comprising:
[0068] A communication unit, used to receive the first session message in the first session;
[0069] A control unit is configured to generate a response suggestion for the first session message through an artificial intelligence program in response to the first session message meeting a first response condition.
[0070] The control unit is also used to display the response suggestion in the first area.
[0071] In some embodiments, in response to the first session message satisfying a first reply condition, a reply suggestion for the first session message is generated through an artificial intelligence program, including:
[0072] In response to the first session message being a session message sent by another user that mentions the current user, determine whether the first session message includes question information when the first session message is in an unread state;
[0073] In response to the first session message including question information, a suggested reply to the first session message is generated through an artificial intelligence program.
[0074] In some embodiments, displaying the reply suggestion in the first area includes: in response to a reply triggering operation on the first session message, performing the step of displaying the reply suggestion in the first area.
[0075] In some embodiments, in response to the first session message satisfying a first reply condition, a reply suggestion for the first session message is generated through an artificial intelligence program, including:
[0076] In response to the first session message mentioning the current user, determine whether the first session message includes question information; in response to the first session message including question information and a response trigger operation for the first session message, generate a suggested response to the first session message through an artificial intelligence program; or,
[0077] In response to the first session message not mentioning the current user or a response to the first session message triggering an operation, determine whether the first session message includes question information; in response to the first session message including question information, generate a response suggestion to the first session message through an artificial intelligence program.
[0078] In some embodiments, generating response suggestions for the first session message through an artificial intelligence program includes: retrieving relevant knowledge related to the first session message with the current user's permissions, and generating response suggestions for the first session message by the artificial intelligence program based on the relevant knowledge and the first session message.
[0079] In some embodiments, in response to the first session message satisfying a first reply condition, a reply suggestion for the first session message is generated by an artificial intelligence program, including: parsing the first session message and parsing at least one session message before and / or at least one session message after the first session message to determine the meaning of the first session message;
[0080] Determine whether the first response condition is met based on the meaning of the first session message;
[0081] In response to the fulfillment of the first reply condition, a reply suggestion for the first session message is generated.
[0082] In some embodiments, a first control is displayed in or around the first area, the first control being used to write the reply suggestion into a message input box when triggered.
[0083] In some embodiments, the control unit is further configured to include: displaying a second area in which a translation of the content in the message input box in a preset language is displayed, or displaying a translation of the content in the message input box in a preset language and a second control in the second area, the second control being configured to write the translation into the message input box upon being triggered.
[0084] In some embodiments, some or all of the response suggestions displayed in the first area are labeled, and the first area also displays reference information corresponding to the labels.
[0085] In some embodiments, the first region is located around the periphery of the message input box.
[0086] In some embodiments, the reply suggestion displayed in the first area includes annotation information, and the control unit is further configured to: in response to a message reply operation, send part or all of the content of the reply suggestion other than the annotation information to the first session.
[0087] In some embodiments, the control unit is further configured to: stop displaying the reply suggestion in response to an operation to close the reply suggestion; or, stop displaying the reply suggestion in response to an operation to clear a first session message referenced in the message input box; or, stop displaying the reply suggestion in response to a reply trigger operation on the second session message; or, write the reply suggestion into the message input box and stop displaying the reply suggestion in response to a trigger operation on the first control, wherein the first control is configured to write the reply suggestion into the message input box after being triggered.
[0088] In some embodiments, after stopping the display of the reply suggestions in response to the operation of turning off the reply suggestions, the control unit is further configured to: determine whether the third session message meets the first reply condition in response to the reply triggering operation of the third session message; and generate reply suggestions for the third session message through an artificial intelligence program and display the reply suggestions for the third session message in response to the third session message meeting the first reply condition.
[0089] In some embodiments, after the response suggestion is displayed in the first area, the control unit is further configured to: in response to switching to a second session different from the first session and then switching back to the first session, continue displaying the response suggestion.
[0090] In some embodiments, the first response condition includes: the session message includes question information; and / or,
[0091] The first session message is: a text message, a message consisting of text and an image; and / or,
[0092] The first session message is: a session message sent by another user that mentions the current user, and the other user is a non-bot user; or, the first session message is a message sent by a user other than the current user that does not mention the current user; and / or,
[0093] The first session message is a message from a non-private chat session; and / or,
[0094] The first session message is a message outside the topic group; and / or,
[0095] The suggested responses are displayed in a streaming manner.
[0096] For embodiments of the apparatus, since they basically correspond to the method embodiments, relevant details can be found in the descriptions of the method embodiments. The apparatus embodiments described above are merely illustrative, and the modules described as separate modules may or may not be separate. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0097] The methods and apparatus of this disclosure have been described above based on embodiments and application examples. Furthermore, this disclosure also provides an electronic device and a computer-readable storage medium, which are described below.
[0098] Referring now to FIG10, a schematic diagram of the structure of an electronic device (e.g., a terminal device or a server) 800 suitable for implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device shown in the figure is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of the present disclosure.
[0099] Electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 802 or a program loaded from storage device 808 into random access memory (RAM) 803. RAM 803 also stores various programs and data required for the operation of electronic device 800. The processing device 801, ROM 802, and RAM 803 are interconnected via bus 804. Input / output (I / O) interface 805 is also connected to bus 804.
[0100] Typically, the following devices can be connected to I / O interface 805: input devices 806 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 807 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 808 including, for example, magnetic tapes, hard disks, etc.; and communication devices 809. Communication device 809 allows electronic device 800 to communicate wirelessly or wiredly with other devices to exchange data. Although an electronic device 800 with various devices is shown in the figure, it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0101] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 809, or installed from a storage device 808, or installed from a ROM 802. When the computer program is executed by a processing device 801, it performs the functions defined in the methods of embodiments of this disclosure.
[0102] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0103] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol), and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future-developed networks.
[0104] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0105] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the methods of the present disclosure.
[0106] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0107] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0108] The units described in the embodiments of this disclosure can be implemented in software or hardware. The names of the units are not, in some cases, intended to limit the specific unit.
[0109] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0110] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0111] According to one or more embodiments of this disclosure, an information processing method is provided, comprising:
[0112] Receive the first session message in the first session;
[0113] In response to the first session message satisfying the first reply condition, a reply suggestion for the first session message is generated through an artificial intelligence program;
[0114] The suggested response is displayed in the first area.
[0115] According to one or more embodiments of this disclosure, an information processing method is provided, which, in response to a first session message satisfying a first reply condition, generates a reply suggestion for the first session message through an artificial intelligence program, including:
[0116] In response to the first session message being a session message sent by another user that mentions the current user, when the first session message is in an unread state, it is determined whether the first session message includes question information; in response to the first session message including question information, a reply suggestion for the first session message is generated through an artificial intelligence program.
[0117] According to one or more embodiments of this disclosure, an information processing method is provided in which the response suggestion is displayed in a first area, including:
[0118] In response to a reply-triggered operation to the first session message, the step of displaying the reply suggestion in the first area is performed.
[0119] According to one or more embodiments of this disclosure, an information processing method is provided, which, in response to a first session message satisfying a first reply condition, generates a reply suggestion for the first session message through an artificial intelligence program, including:
[0120] In response to the first session message mentioning the current user, determine whether the first session message includes question information; in response to the first session message including question information and a response trigger operation for the first session message, generate a suggested response to the first session message through an artificial intelligence program; or,
[0121] In response to the first session message not mentioning the current user or a response to the first session message triggering an operation, determine whether the first session message includes question information; in response to the first session message including question information, generate a response suggestion to the first session message through an artificial intelligence program.
[0122] According to one or more embodiments of this disclosure, an information processing method is provided that generates response suggestions for a first session message through an artificial intelligence program, including:
[0123] Retrieve relevant knowledge related to the first session message using the current user's permissions, and generate response suggestions for the first session message based on the relevant knowledge and the first session message by an artificial intelligence program.
[0124] According to one or more embodiments of this disclosure, an information processing method is provided, which, in response to a first session message satisfying a first reply condition, generates a reply suggestion for the first session message through an artificial intelligence program, including:
[0125] Parse the first session message, and parse at least one session message before and / or at least one session message after the first session message to determine the meaning of the first session message;
[0126] Determine whether the first response condition is met based on the meaning of the first session message;
[0127] In response to the fulfillment of the first reply condition, a reply suggestion for the first session message is generated.
[0128] According to one or more embodiments of this disclosure, an information processing method is provided, wherein a first control is displayed in a first area or around the first area, the first control being used to write the reply suggestion into a message input box when triggered.
[0129] According to one or more embodiments of this disclosure, an information processing method is provided, further comprising:
[0130] Display a second area, in which a translation of the content in the message input box in a preset language is displayed; or, in the second area, a translation of the content in the message input box in a preset language and a second control are displayed, the second control being used to write the translation into the message input box after being triggered;
[0131] And / or, some or all of the content in the response suggestions displayed in the first area is marked, and the first area also displays reference information corresponding to the marks;
[0132] And / or, the first area is located around the periphery of the message input box.
[0133] According to one or more embodiments of this disclosure, an information processing method is provided, wherein the response suggestions displayed in the first area include annotation information, and the method further includes:
[0134] In response to a message reply operation, some or all of the reply suggestion, excluding the annotation information, is sent to the first session.
[0135] According to one or more embodiments of this disclosure, an information processing method is provided, further comprising:
[0136] In response to the operation of turning off the reply suggestion, stop displaying the reply suggestion; or,
[0137] In response to the action of clearing the first session message referenced in the message input box, stop displaying the reply suggestion; or...
[0138] In response to a response to the second session message, stop displaying the response suggestion; or,
[0139] In response to a trigger operation on the first control, the reply suggestion is written into the message input box and the display of the reply suggestion is stopped. The first control is used to write the reply suggestion into the message input box after being triggered.
[0140] According to one or more embodiments of this disclosure, an information processing method is provided, which, in response to an operation to close the reply suggestion and stop displaying the reply suggestion, further includes:
[0141] In response to a response to a third session message, determine whether the third session message meets the first response condition; in response to the third session message meeting the first response condition, generate a response suggestion for the third session message through an artificial intelligence program, and display the response suggestion for the third session message.
[0142] According to one or more embodiments of this disclosure, an information processing method is provided, which, after displaying the response suggestion in a first area, further includes:
[0143] In response to switching to a second session different from the first session, and then switching back to the first session, the reply suggestion continues to be displayed.
[0144] According to one or more embodiments of this disclosure, an information processing method is provided, wherein the first response condition includes: the session message includes question information; and / or,
[0145] The first session message is: a text message, a message consisting of text and an image; and / or,
[0146] The first session message is: a session message sent by another user that mentions the current user, and the other user is a non-bot user; or, the first session message is a message sent by a user other than the current user that does not mention the current user; and / or,
[0147] The first session message is a message from a non-private chat session; and / or,
[0148] The first session message is a message outside the topic group; and / or,
[0149] The suggested responses are displayed in a streaming manner.
[0150] According to one or more embodiments of this disclosure, an information processing apparatus is provided, comprising:
[0151] A communication unit, used to receive the first session message in the first session;
[0152] A control unit is configured to generate a response suggestion for the first session message through an artificial intelligence program in response to the first session message meeting a first response condition.
[0153] The control unit is also used to display the response suggestion in the first area.
[0154] According to one or more embodiments of the present disclosure, an electronic device is provided, including: at least one memory and at least one processor;
[0155] The at least one memory is used to store program code, and the at least one processor is used to call the program code stored in the at least one memory to execute the method described in any one of the above.
[0156] According to one or more embodiments of the present disclosure, a computer-readable storage medium is provided for storing program code that, when executed by a processor, causes the processor to perform the methods described above.
[0157] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
[0158] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0159] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. An information processing method, comprising: receiving a first session message in a first session; generating, by an artificial intelligence program, a reply suggestion for the first session message in response to the first session message satisfying a first reply condition; displaying the reply suggestion in a first region.
2. The method of claim 1, wherein, The generating, by an artificial intelligence program, a reply suggestion for the first session message in response to the first session message satisfying a first reply condition comprises: determining whether the first session message includes question information in response to the first session message being a session message sent by another user mentioning a current user, when the first session message is in an unread state; generating, by an artificial intelligence program, a reply suggestion for the first session message in response to the first session message including question information.
3. The method of claim 2, wherein, The displaying the reply suggestion in a first region comprises: performing the step of displaying the reply suggestion in a first region in response to a reply to the first session message triggering an operation.
4. The method of claim 1, wherein, The generating, by an artificial intelligence program, a reply suggestion for the first session message in response to the first session message satisfying a first reply condition comprises: determining whether the first session message includes question information in response to the first session message mentioning a current user; generating, by an artificial intelligence program, a reply suggestion for the first session message in response to the first session message including question information and a reply to the first session message triggering an operation; or, determining whether the first session message includes question information in response to the first session message not mentioning a current user and a reply to the first session message triggering an operation; generating, by an artificial intelligence program, a reply suggestion for the first session message in response to the first session message including question information.
5. The method of claim 1, wherein, The generating, by an artificial intelligence program, a reply suggestion for the first session message comprises: retrieving relevant knowledge related to the first session message with the permission of the current user, and generating, by an artificial intelligence program, a reply suggestion for the first session message based on the relevant knowledge and the first session message.
6. The method of claim 1, wherein, The generating, by an artificial intelligence program, a reply suggestion for the first session message in response to the first session message satisfying a first reply condition comprises: parsing the first session message, and parsing at least one session message before and / or after the first session message to determine the meaning of the first session message; determining whether the first reply condition is satisfied according to the meaning of the first session message; generating a reply suggestion for the first session message in response to the first reply condition being satisfied. 7.The method of any one of claims 1-6, wherein, a first control is displayed in the first region or a periphery of the first region, and the first control is used to write the reply suggestion into a message input box after being triggered. 8.The method of any one of claims 1-7, further comprising: displaying a second region, and displaying a translation of a preset language of content in a message input box in the second region, or displaying a translation of a preset language of content in a message input box and a second control in the second region, and the second control is used to write the translation into a message input box after being triggered. and / or, part or all of the reply suggestion displayed in the first area has a mark, and the first area further displays reference information corresponding to the mark; and / or, the first area is located at a side of the message input box.
9. The method of any one of claims 1-8, wherein, the reply suggestion displayed in the first area includes mark information, and the method further includes: in response to a message reply operation, sending part or all of the reply suggestion except the mark information to the first session.
10. The method of claim 1, further comprising: in response to an operation of closing the reply suggestion, stopping displaying the reply suggestion; or, in response to an operation of clearing the first session message referenced in the message input box, stopping displaying the reply suggestion; or, in response to a reply trigger operation on a second session message, stopping displaying the reply suggestion; or, in response to a trigger operation on a first control, writing the reply suggestion into the message input box and stopping displaying the reply suggestion, the first control being used to write the reply suggestion into the message input box after being triggered.
11. The method of claim 10, wherein, after the operation of stopping displaying the reply suggestion in response to the operation of closing the reply suggestion, the method further comprises: in response to a reply trigger operation on a third session message, determining whether the third session message meets the first reply condition; in response to the third session message meeting the first reply condition, generating a reply suggestion to the third session message by an artificial intelligence program, and displaying the reply suggestion to the third session message.
12. The method of any one of claims 1-11, wherein, after displaying the reply suggestion in the first area, the method further comprises: in response to switching to a second session different from the first session and then switching back to the first session, continuing to display the reply suggestion.
13. The method of any one of claims 1-12, wherein, the first reply condition includes: the session message includes question information; and / or, the first session message is: a text message, a message composed of text and pictures; and / or, the first session message is: a session message sent by another user mentioning the current user and the other user is a non-robot user, or the first session message is a message sent by a non-current user without mentioning the current user; and / or, the first session message is a message in a non-private chat session; and / or, the first session message is a message in a non-topic group; and / or, the reply suggestion is displayed by way of streaming output.
14. An information processing apparatus, comprising: a communication unit configured to receive a first session message in a first session; a control unit configured to generate a reply suggestion to the first session message by an artificial intelligence program in response to the first session message meeting a first reply condition; the control unit is further configured to display the reply suggestion in a first area.
15. An electronic device, comprising: at least one memory and at least one processor; wherein the at least one memory is configured to store program code, and the at least one processor is configured to invoke the program code stored in the at least one memory to execute the information processing method of any one of claims 1-13.
16. A computer readable storage medium storing program code, wherein, The program code, when executed by the processor, causes the processor to perform the information processing method of any one of claims 1-13.
Citation Information
Patent Citations
Instant messaging method and device and computer readable storage medium
CN111565143A
Session assistance method and device, storage medium and electronic equipment
CN114666293A
Information processing method and device, electronic equipment and storage medium
CN118827602A
Method and apparatus for generating candidate reply message
US20190081914A1
Personalization and synonym hierarchy for smart replies
US20200004826A1