Information processing methods, apparatus, electronic devices, and storage media
Patent Information
- Application Number
- JP2026514454
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-07-19
- Filing Date
- 2025-03-03
- Publication Date
- 2026-09-08
Smart Images

Figure 2026530508000001_ABST
Abstract
Description
Technical Field
[0001] [Cross-reference to Related Applications] This application claims the priority of Chinese Patent Application No. 202410971704.7 filed on July 19, 2024, and all contents disclosed in the above-mentioned Chinese patent application are incorporated herein by reference as a part of this application.
[0002] [Technical Field] The present disclosure relates to an information processing method, an apparatus, an electronic device, and a storage medium.
Background Art
[0003] When having a conversation, for example, when having a conversation through instant messaging software, a user may receive information such as questions, inquiries, and proposals from other users, and the user needs to think or search to make a reply.
Summary of the Invention
[0004] The present disclosure provides an information processing method, an apparatus, an electronic device, and a storage medium.
[0005] The present disclosure adopts the following technical solutions.
[0006] In some embodiments, the present disclosure provides a method for processing information, the method comprising: receiving a first conversation message in a first conversation; in response to that the first conversation message satisfies a first reply condition, generating a reply proposal for the first conversation message by an artificial intelligence program; displaying the reply proposal in a first area.
[0007] In some embodiments, the present disclosure provides an information processing apparatus, the information processing apparatus comprising: a communication unit configured to receive a first conversation message in a first conversation; The system includes a control unit for generating a response suggestion for the first conversational message by an artificial intelligence program in response to the first conversational message satisfying a first response condition, The control unit is further configured to display the response suggestion in the first area.
[0008] In some embodiments, the present disclosure provides an electronic device comprising at least one memory and at least one processor. Memory is used to store program code, and the processor is used to perform the above method by calling and executing the program code stored in the memory.
[0009] In some embodiments, the Disclosure provides a computer-readable storage medium for storing program code that causes a processor to perform the above method when executed by the processor. [Brief explanation of the drawing]
[0010] The above and other features, advantages, and aspects of each embodiment of this disclosure will become clearer by referring to the following specific embodiments while linking them to the drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are illustrative and the elements and components are not necessarily drawn to scale.
[0011] [Figure 1] This is a flowchart of the information processing method of the embodiment of the present disclosure. [Figure 2] This is a flowchart of the information processing method of the embodiment of the present disclosure. [Figure 3] This is a schematic diagram of the display interface of an embodiment of the present disclosure. [Figure 4] This is a schematic diagram of the display interface of an embodiment of the present disclosure. [Figure 5] This is a schematic diagram of the display interface of an embodiment of the present disclosure. [Figure 6] This is a schematic diagram of the display interface of an embodiment of the present disclosure. [Figure 7] This is a schematic diagram of the display interface of an embodiment of the present disclosure. [Figure 8] This is a schematic diagram of the display interface of an embodiment of the present disclosure. [Figure 9] This is a schematic diagram of the display interface of an embodiment of the present disclosure. [Figure 10] This is a schematic diagram of the display interface of an embodiment of the present disclosure. [Figure 11] This is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. [Modes for carrying out the invention]
[0012] Before using any of the technical proposals disclosed in each embodiment of this disclosure, it is understood that the user should be informed in an appropriate manner, in accordance with applicable laws and regulations, of the type of personal information related to this disclosure, its scope of use, and usage scenarios, and permission should be obtained from the user.
[0013] For example, in response to receiving a voluntary request from the user, notification information is sent to the user to clearly inform the user that the operation requested to be performed requires the acquisition and use of the user's personal information. This allows the user to choose whether or not to provide personal information to software or hardware such as electronic devices, application programs, servers, or storage media that perform the operation of the proposed technical method of this disclosure based on the notification information.
[0014] As an optional but non-restrictive implementation, the method of sending notification information to the user in response to receiving a voluntary request from the user may be, for example, a pop-up window, and the notification information may be displayed in text format within the pop-up window. Furthermore, the pop-up window may include a selection control that allows the user to choose whether to "agree" or "disagree" to providing personal information to the electronic device.
[0015] The above notification and user permission acquisition process is merely illustrative and does not limit the implementation of the present disclosure. It can be understood that other methods that meet relevant laws and regulations are also applicable to the implementation of the present disclosure.
[0016] It can be understood that data related to the present technical solution (including but not limited to the data itself, and acquisition or use of the data) shall comply with the requirements of applicable laws, regulations and relevant provisions.
[0017] Hereinafter, embodiments of the present disclosure will be described in more detail with reference to the accompanying drawings. While the drawings show several embodiments of the present disclosure, the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein; rather, it should be understood that these embodiments are provided to enable a clearer and more complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are merely illustrative, and are not intended to limit the protection scope of the present disclosure.
[0018] It should be understood that each step described in the method embodiment of the present disclosure may be performed in parallel according to and / or. It should also be noted that the method embodiment may include additional steps and / or omit execution of the illustrated steps. The scope of the present disclosure is not limited in this regard.
[0019] As used herein, the term "comprise" and its variants are open-ended inclusion meaning "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment", the term "another embodiment" means "at least one other embodiment", and the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the following description.
[0020] It should be noted that the concepts such as “First,” “Second,” etc., as used in this disclosure are merely for distinguishing different devices, modules, or units, and are not intended to limit the order of functions performed by these devices, modules, or units or their interdependencies.
[0021] It should be noted that the modifier “one” as used in this disclosure is illustrative, not restrictive. Those skilled in the art should understand it as “one or more” unless otherwise explicitly indicated in the context.
[0022] The names of messages or information exchanged between multiple devices in embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0023] The following describes in detail the method according to the embodiment of this disclosure, with reference to the drawings.
[0024] As shown in Figure 1, Figure 1 is a flowchart of an information processing method according to an embodiment of the present disclosure, and includes the following steps.
[0025] S11, the first conversation message in the first conversation is received.
[0026] In some embodiments, the implementer of the method provided in this disclosure is an electronic device such as a terminal or server. Specifically, it may be software on a terminal that integrates instant messaging functionality. The software in which the current user is logged in may receive the first conversational message, and the first conversational message is a conversational message received by the current user in the software, i.e., the recipients of the first conversational message include the current user and may further include other users. The first conversational message may be a message in a one-to-one chat conversation or a message in a group chat conversation. For example, in Figure 3, it may be a conversational message sent by "Li Yi" in the group chat "Department" titled "How was last year's satisfaction data @Zhang Yi".
[0027] In S12, in response to the first conversational message satisfying the first response condition, the artificial intelligence program generates a response suggestion for the first conversational message.
[0028] In some embodiments, the artificial intelligence program is also called AI, and is, for example, the program corresponding to “Intelligent Response” in Figure 3. The artificial intelligence program may also be a functional module integrated into the software. The artificial intelligence program may perform semantic recognition on a first conversational message, thereby determining whether the first conversational message satisfies a first response condition. The first response condition may include, for example, that the conversational message contains question information, and furthermore, that the first response condition is that the first conversational message itself is question information. The question information may be information for querying some content, for example, what is the work today? What was the income situation last year?
[0029] In some embodiments, if the artificial intelligence program confirms that a first conversational message satisfies a first response condition, it may analyze the first conversational message, search for relevant materials in a database, and generate a response suggestion for the first conversational message based on the relevant materials. The response suggestion may be content generated by the artificial intelligence program processing the relevant materials. In some cases, the first conversational message may contain question information, and there may be multiple question pieces in the first conversational message. In this case, the response suggestion may be multiple conversational suggestions corresponding to the multiple question pieces. When generating a response suggestion, a loading indicator, such as "..." displayed to the right of "Intelligent Response" in Figure 3, may be displayed in the first area.
[0030] S13, The response proposal is displayed in the first area.
[0031] In some embodiments, the first region may be a content box in the software, and the size of the first region may be non-fixed, changing in accordance with changes in the content of the response suggestions. Figure 5 illustrates the first region and the response suggestions within it. After displaying the response suggestions generated by the artificial intelligence program in the first region, the current user may copy the response suggestions into a message input box, or refer to the response suggestions and write content into the message input box, thereby responding to the first conversational message. In some embodiments, when response suggestions are displayed, timing messages, time zone controls, shortcut components, and / or status messages are hidden. Timing messages are messages sent at a predetermined fixed time, time zone controls are controls that display a time zone, shortcut components are components that perform a specific operation, and status messages are predetermined states. Since these contents are displayed around the message input box and conflict with the position of the first region, they may be hidden when response suggestions are displayed.
[0032] In some embodiments, in the field of instant messaging, question information is frequently received, and much of this question information may be repeatedly asked by different users. One or more users must constantly answer repeated questions (e.g., feature introductions, task progress, application procedures, etc.), and re-entering or copying previous answers increases the time required for message replies and processing, and reduces the user experience. In some embodiments of this disclosure, taking the above situation into consideration, after receiving a first conversational message, the artificial intelligence program determines that the first conversational message contains question information, and then generates a suggested response to the question information. This reduces the repetitive operations of the current user and improves response efficiency.
[0033] In some embodiments of the present disclosure, generating a response suggestion for the first conversational message by an artificial intelligence program in response to the first conversational message satisfying a first response condition includes, in response to the first conversational message being a conversational message sent by another user mentioning the current user, determining whether the first conversational message contains question information if the first conversational message is unread, and generating a response suggestion for the first conversational message by an artificial intelligence program in response to the first conversational message containing question information.
[0034] In some embodiments, after receiving a first conversational message, the first conversational message is in an unread state, and after the current user views the first conversational message, it is in a read state. If the current user wants to reply to the first conversational message, in order to reply, they must first view the first conversational message and then perform a reply trigger operation (for example, triggering a reply control related to the first conversational message, or sending a voice command to reply to the first conversational message). In some embodiments of the present disclosure, the method of mentioning the current user may be @currentuser, for example, in Figure 3, the current user is Zhang Yi, and Zhang Yi is mentioned in the message sent by Li Yi. When the first conversational message mentions the current user, it indicates that the message is closely related to the current user, and if the message contains question information, there is a very high probability that the current user needs to reply. After receiving the first conversational message, even if the current user has not viewed the first conversational message or performed a reply trigger operation, the system can determine whether the first conversational message contains question information, and if it does, it can pre-generate a reply suggestion. In other words, if the current user is mentioned in the first conversational message, a reply suggestion is pre-generated. This avoids generating a reply suggestion after the current user has performed a reply trigger operation or entered information into an input box, thereby reducing user waiting time.
[0035] In some embodiments, displaying the response suggestions in a first area includes performing the step of displaying the response suggestions in a first area in response to a response trigger operation for the first conversation message. In some embodiments, the first conversation message has associated response controls for responding to the first conversation message after being triggered by methods such as a click, and, as shown in Figure 3, after the response controls are triggered, the first conversation message to be responded to is typically quoted in a message input box. After the response controls are triggered, the display of response suggestions in the first area begins, and since the response suggestions are pre-generated, the pre-generated response suggestions can be displayed directly in the first area to reduce user waiting time.
[0036] In some embodiments of the present disclosure, generating a response suggestion for a first conversational message by an artificial intelligence program in response to the first conversational message satisfying a first response condition includes determining whether the first conversational message contains question information in response to the first conversational message mentioning (referring to) the current user, and generating a response suggestion for the first conversational message by an artificial intelligence program in response to the first conversational message containing question information and a response trigger operation for the first conversational message. Alternatively, generating a response suggestion for a first conversational message by an artificial intelligence program in response to the first conversational message satisfying a first response condition includes determining whether the first conversational message contains question information in response to the first conversational message not mentioning the current user and a response trigger operation for the first conversational message. Generating a response suggestion for the first conversational message by an artificial intelligence program in response to the first conversational message containing question information.
[0037] In some embodiments, Figure 2 displays a flowchart of the method in an embodiment of the present disclosure, in which, after receiving a first conversational message, it is first determined whether or not it mentions the current user, and if it does mention the current user, it is indicated that it is closely related to the current user, and then the step of determining whether the first conversational message contains question information (which may specifically be determining whether or not the first conversational message contains question information) is automatically performed. If the current user is not mentioned, then the degree of relevance to the current user is low, and it may be, for example, a mass message in a group chat, in which case it may be determined whether or not the first conversational message contains question information only if the current user performs a response trigger operation to the first conversational message and responds to it. In some embodiments, if the first conversational message is a message in a one-to-one chat conversation, and the first conversational message is not a conversational message sent by a robot, and / or the one-to-one chat conversation is not a muted conversation, then, in which case it may be determined whether or not the first conversational message satisfies the first response condition upon receiving the first conversational message, because the first conversational message is a message in a one-to-one chat conversation and is closely related to the current user. In some embodiments, even if the current user has closed reply suggestions for other conversation messages, the reply suggestions for the first conversation message may still be displayed after the current user performs a reply trigger operation for the first conversation message. Therefore, steps S12 and S13 may be executed after the reply trigger operation is performed, regardless of whether the current user has closed 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, and reply suggestions for some messages are not displayed if the current user replies to some messages in the first conversation message.
[0038] In some embodiments, as shown in Figure 2, if the first conversational message mentions the current user and contains question information, and the current user has performed a response trigger operation for the first conversational message and is about to respond to the first conversational message, an intelligent response may be triggered to display a response suggestion. Displaying a response suggestion when the user has not performed a response trigger operation for the first conversational message occupies space on the display interface and consumes computing power, and because a conversation may contain multiple conversational messages containing question information, the user may easily become confused about which question information the response suggestion is for. In some embodiments, as shown in Figure 2, if the first conversational message does not mention the current user, and the current user has already performed a response trigger operation for the first conversational message, a response suggestion is automatically retrieved and displayed, provided that the first conversational message contains question information (for example, the first conversational message itself is question information). In some embodiments, if the first conversational message does not contain question information, or if the current user has not performed a response trigger operation for the first conversational message, no response suggestion is displayed.
[0039] In some embodiments of the present disclosure, generating response suggestions for a first conversational message by an artificial intelligence program includes searching for relevant knowledge related to the first conversational message with the current user's authority, and generating response suggestions for the first conversational message by the artificial intelligence program based on the relevant knowledge and the first conversational message.
[0040] In some embodiments, different users may have independent privileges, and the privileges of different users may differ. Searching for relevant knowledge with the current user's privileges may also mean searching for relevant knowledge in the database of the organization to which the current user belongs that the current user has access rights to, so that the resulting response suggestions do not involve content that the current user does not have access to, thus avoiding information leakage due to overstepping of privileges. If the first conversation message contains question information, the relevant knowledge may be the relevant knowledge of the question information.
[0041] In some embodiments of the present disclosure, generating and displaying a response suggestion for a first conversational message by an artificial intelligence program in response to the first conversational message satisfying a first response condition includes: analyzing the first conversational message, analyzing at least one conversational message preceding and / or at least one conversational message following the first conversational message to determine the meaning of the first conversational message, determining whether the first response condition is satisfied based on the meaning of the first conversational message, and generating a response suggestion for the first conversational message in response to the first response condition being satisfied.
[0042] In some embodiments, it may be necessary to consider the context in order to understand the specific meaning of the first conversation message, for example, the specific meaning of the question information in the first conversation message. Therefore, after receiving the first conversation message, in addition to considering the first conversation message, it is also possible to integrate a predetermined number of n preceding conversation messages adjacent to the first conversation message in the conversation in which the first conversation message is located, and an additional number of m following conversation messages, where n and m are independently positive integers. If the first conversation message quotes another message, in addition to considering the other messages, when determining the meaning of the first conversation message, it is also possible to further analyze the quoted message, at least one conversation message preceding the quoted message, and / or at least one conversation message following the quoted message to determine the meaning of the first conversation message. Based on the meaning of the first conversation message, it is then possible to determine whether the first response conditions for a response proposal are met, and if they are met, a response proposal may be generated. The first response conditions may include, for example, having sufficient reference information to generate a response proposal, or, to avoid the generated response proposal being unreliable, the confidence level of the generated response proposal reaching a predetermined threshold.
[0043] In some embodiments, a first control is displayed in or around the first region for writing the response suggestion into a message input box after it has been triggered.
[0044] In some embodiments, the first control may be continuously displayed, and in some other embodiments, the first control may be displayed when certain conditions are met, for example, the first area may have a collapsed state and an expanded state, the size of the first area in the collapsed state being smaller than in the expanded state, and in the collapsed state, as shown in Figure 5, the first area may be able to display only one or two lines of content, and when an indicator (e.g., mouse) is controlled to hover above the first area, the expand control may be displayed as shown in Figure 6, and the first area may be expanded by triggering the expand control, or the first area may be expanded by a click or other method. The first area may be triggered, and if the first area is in an expanded state, its size increases to a preset size, as shown in Figure 7 (if the first area cannot fully display the content in the first area, a scroll bar may be displayed to scroll through the content displayed in the first area), and at this time, the first control may be displayed (the first control in Figure 7 is "Insert into input box"), and when the first control is triggered by a click or the like, the response suggestion displayed in the first area is inserted into the message input box, as shown in Figure 9, 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 output manner, and the first control can only be triggered after the recommendation information has been fully generated, and if the recommendation information has not been fully generated, the first control is not displayed or the first control cannot be triggered. When inserting recommendation information into a message input box using the first control, the format of the recommendation information may be maintained as is, or the format and content of the written recommendation information, such as font size, boldness, and whether or not it is underlined, may be adjusted in the message input box.
[0045] In some embodiments, as shown in Figure 10, after displaying response suggestions, some or all of the content in the response suggestions may be selected using a word selection method. After word selection has been made for some or all of the content, a control list is displayed, which includes one or more of the following: copy control, translation control, or search control. The copy control allows the word-selected content to be copied and then pasted into a message input box. The translation control allows the word-selected content to be translated and converted into a specified language. The search control allows the word-selected content to be searched within a predetermined range, which may be the database of the organization to which the current user belongs, the software the current user is using, or the internet.
[0046] In some embodiments of the present disclosure, the method further comprises: displaying a second area, displaying a translation of the content in the message input box in a preset language in the second area, or displaying, in the second area, the translation of the content in the message input box in the preset language and a second control configured to write the translation into the message input box after being triggered. In some embodiments, as shown in FIG. 8, the second area is another area different from the first area, which may be adjacent to the first area, and both the first area and the second area may be located around the message input box. The preset language may be selected by displaying a language selection control ("en" in FIG. 8) in the second area, and an abbreviation of the preset language may be displayed on the language selection control. For the content in the message input box (not including the cited content), the translation may be automatically generated according to the content input by the current user into the message input box. For example, in FIG. 8, the current user inputs "last year" in Chinese into the message input box, and the English translation "Last year" is automatically generated in the second area. It should be noted that there is no need to translate a user name mentioned in the message input box, because translating the user name may cause that the mention of the user name cannot trigger a reminder. For example, when "@李一" is translated into "@LiYi", the @ function may fail to be triggered.
[0047] In some embodiments of this disclosure, some or all of the content of the response suggestion displayed in the first area has annotations, and further reference information corresponding to the annotations is displayed in the first area. In some embodiments, as shown in Figure 7, the annotations in Figure 7 are "[1]" and "[2]", indicating that the content refers to some reference information, and further reference information corresponding to the annotation may be displayed in the first area, for example, the reference information for "complex interface design" is "2023 research report", and when the reference information is triggered by a click or other means, the source address of the reference information can be accessed. In some embodiments, when the first control is triggered, the reference information may or 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 is parsed, the link is rendered as a content title, and displayed. In some embodiments, the response suggestion displayed in the first area includes annotation information, which includes, for example, the annotations and reference information described above, and the method further includes sending some or all of the content in the response suggestion other than the annotation information to the first conversation in response to a message response operation. In some embodiments, the message response operation may include one or more operations, for example, an operation to write some or all of the content in the response suggestion other than the annotation information to a message input box and an operation to send the content in the message input box. Some or all of the content in the response suggestion other than the annotation information may not include any content unrelated to responding to the first conversation message, such as who generated the response suggestion, when it was generated, or how it was generated, and may include only the content in the response suggestion that is for responding to the first conversation message.If some or all of the content of a response suggestion, excluding annotation information, is sent to the first conversation, the sent response suggestion does not need to display annotations or corresponding reference information, thus preventing the recipient from realizing that the sent response suggestion was generated by an artificial intelligence program.
[0048] In some embodiments of the present disclosure, the method further includes stopping the display of the response suggestion in response to an operation to close the response suggestion, or stopping the display of the response suggestion in response to an operation to clear a quoted first conversation message in a message input box, or stopping the display of the response suggestion in response to a response trigger operation for the second conversation message, or writing the response suggestion to a message input box and stopping the display of the response suggestion in response to a trigger operation for writing the response suggestion to a message input box after being triggered.
[0049] In some embodiments, after displaying the response suggestion in the first area, the display of the response suggestion may be stopped in some way. Specifically, the current user may manually close the display of the response suggestion. In some other embodiments, the response suggestion is displayed after a response trigger operation is performed for the first conversation message, at which point, as shown in Figure 5, the first conversation message is quoted in the message input box, and when the quoted first conversation message in the message input box is cleared, the display of the response suggestion is stopped. In some other embodiments, the current user may perform a response trigger operation for the second conversation message, at which point the current user responds to the second conversation message, and since the response suggestion is a response suggestion for the first conversation message, the display of the response suggestion for the first conversation message is stopped. If the second conversation message also satisfies the conditions for displaying a response suggestion, the response suggestion for the second conversation message may be displayed in the first area. After the first control is triggered, the response suggestion is written to the message input box, and at this point, it is not necessary to continue displaying the response suggestion for the first conversation message.
[0050] In some embodiments of the present disclosure, in response to an operation to close the response suggestion, the display of the response suggestion is stopped, and in response to a response trigger operation for a third conversation message, it is determined whether the third conversation message satisfies a first response condition, and in response to the third conversation message satisfying the first response condition, an artificial intelligence program generates a response suggestion for the third conversation message and displays the response suggestion for the third conversation message. In some embodiments, when the current user manually closes the response suggestion and then performs a response trigger operation for a third conversation message, it indicates that the current user wants to respond to the third conversation message, and at this time it may be determined whether the third conversation message satisfies a first response condition (the first response condition includes, for example, that the conversation message contains question information, or that the conversation message itself is question information), and if YES, a response suggestion for the question information of the third conversation message may be generated and displayed.
[0051] In some embodiments of the present disclosure, the response suggestions are displayed in a first area, and then, after switching to a second conversation different from the first conversation in which the first conversation message is located, the response suggestions are retained in response to switching back to the first conversation. In some embodiments, response suggestions are displayed when the current user responds to a first conversation message in the first conversation, and when the current user switches to a second conversation different from the first conversation, and then switches back to the first conversation, the response suggestions are retained and remain available for continued use by the current user. In some embodiments, response suggestions may be retained on a server and automatically deleted after being retained for a predetermined period of time (e.g., one day).
[0052] In some embodiments of this disclosure, the first conversational message is a text message, a message consisting of text and an image. In some embodiments, if the first conversational message is an image, a link, etc., S12 and S13 do not need to be performed.
[0053] In some embodiments of this disclosure, the first conversation message is a conversation message sent by another user that mentions the current user and the other user is a non-robot user, or the first conversation message is a message sent by a non-current user that does not mention the current user. In some embodiments, a conversation message sent by the current user himself does not trigger the execution of S12 and S13, a message sent by another user does trigger the execution of S12 and S13, but a message sent by a robot user that mentions the current user does not trigger the execution of S12 and S13.
[0054] In some embodiments of this disclosure, the first conversation message is a message in a non-private chat conversation. For private chat conversations, the current user does not want its content to be retrieved, and therefore steps S12 and S13 are not triggered.
[0055] In some embodiments of this disclosure, the first conversational message is a message in a non-topic group. In some embodiments, the message in a topic group is a topic or a response message to a topic.
[0056] In some embodiments of this disclosure, the response suggestions are displayed using a streaming output method. In some embodiments, the streaming output is displayed as it is generated, and as shown in Figure 4, the user is not made to wait by displaying the generated responses sequentially without waiting for the response suggestions to be fully generated.
[0057] This disclosure further provides an information processing device, said device, A communication unit for receiving a first conversation message in a first conversation, The system includes a control unit for generating a response suggestion for the first conversational message by an artificial intelligence program in response to the first conversational message satisfying a first response condition, The control unit is further used to display the response suggestion in the first area.
[0058] In some embodiments, in response to the first conversational message satisfying a first response condition, the artificial intelligence program generates a response suggestion for the first conversational message. In response to the fact that the first conversation message is a conversation message sent by another user mentioning the current user, if the first conversation message is unread, determine whether the first conversation message contains question information. This includes, in response to the first conversational message containing question information, generating a response suggestion for the first conversational message by an artificial intelligence program.
[0059] In some embodiments, displaying the response suggestion in a first area includes performing the step of displaying the response suggestion in a first area in response to a response trigger operation for the first conversational message.
[0060] In some embodiments, in response to the first conversational message satisfying a first response condition, the artificial intelligence program generates a response suggestion for the first conversational message. In response to the fact that the first conversational message mentions the current user, it is determined whether the first conversational message contains question information, and in response to the fact that the first conversational message contains question information and a response trigger operation for the first conversational message, an artificial intelligence program generates a response suggestion for the first conversational message, or The process includes determining whether the first conversational message contains question information in response to a response trigger operation for the first conversational message, and generating a response suggestion for the first conversational message by an artificial intelligence program in response to the first conversational message containing question information.
[0061] In some embodiments, generating response suggestions for a first conversational message by an artificial intelligence program includes searching for relevant knowledge related to the first conversational message with the current user's authority, and generating response suggestions for the first conversational message by the artificial intelligence program based on the relevant knowledge and the first conversational message.
[0062] In some embodiments, generating a response suggestion for the first conversational message by an artificial intelligence program in response to the first conversational message satisfying a first response condition involves analyzing the first conversational message, analyzing at least one conversational message preceding and / or at least one conversational message following the first conversational message to determine the meaning of the first conversational message. Determining whether the first response condition is met based on the meaning of the first conversation message, This includes generating a response suggestion for the first conversational message in response to satisfying the first response condition.
[0063] In some embodiments, a first control is displayed in or around the first region for writing the response suggestion into a message input box after it has been triggered.
[0064] In some embodiments, the control unit is further used to display a second area, in which a pre-set language translation of the content in the message input box is displayed, or to display a second control in the second area for a pre-set language translation of the content in the message input box and for writing the translation to the message input box after it is triggered.
[0065] In some embodiments, some or all of the content of the response proposal displayed in the first area has annotations, and reference information corresponding to the annotations is further displayed in the first area.
[0066] In some embodiments, the first region is located around the message input box.
[0067] In some embodiments, the response suggestion displayed in the first area includes annotation information, and the control unit is further used to transmit some or all of the content of the response suggestion, other than the annotation information, to the first conversation in response to a message response operation.
[0068] In some embodiments, the control unit is further used to stop displaying the response suggestion in response to an operation to close the response suggestion, or to stop displaying the response suggestion in response to an operation to clear a quoted first conversation message in the message input box, or to stop displaying the response suggestion in response to a response trigger operation for the second conversation message, or to write the response suggestion to the message input box and stop displaying the response suggestion in response to a trigger operation for the first control to write the response suggestion to the message input box after it has been triggered.
[0069] In some embodiments, after stopping the display of the response suggestion in response to an operation to close the response suggestion, the control unit further determines whether the third conversation message satisfies the first response condition in response to a response trigger operation for the third conversation message, and in response to the third conversation message satisfying the first response condition, generates a response suggestion for the third conversation message by an artificial intelligence program and is used to display the response suggestion for the third conversation message.
[0070] In some embodiments, after displaying the response suggestion in a first area, the control unit is further used to continue displaying the response suggestion in response to switching to a second conversation different from the first conversation, and then switching back to the first conversation.
[0071] In some embodiments, the first response condition is that the conversational message contains question information and / or The first conversational message is a message consisting of a text message, text and an image, and / or, The first conversation message is a conversation message sent by another user that mentions the current user and the other user is a non-robot user, or the first conversation message is a message sent by a non-current user that does not mention the current user, and / or The first conversational message is a message in a non-private chat conversation, and / or, The first conversational message is a message in a non-topic group, and / or, This includes displaying the response suggestion in a streaming output format.
[0072] For the embodiments of the apparatus, they essentially correspond to the embodiments of the method; therefore, for relevant parts, refer to the description of the method embodiments. The embodiments of the apparatus described above are illustrative only, and the modules described as separate modules may or may not be separate. Depending on the actual needs, some or all of these modules can be selected to achieve the objectives of the embodiment. Those skilled in the art will be able to understand and implement them without any creative effort.
[0073] The methods and apparatus of this disclosure have been described above based on the examples and applications. This disclosure further provides electronic devices and computer-readable storage media, which will be described below.
[0074] Referring below to Figure 10, which shows a schematic diagram of the structure of an electronic device (e.g., terminal device or server) 800 suitable for implementing an embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include, but is not limited to, mobile devices such as mobile phones, laptop computers, digital voice broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. The electronic device shown in the figure is merely an example and does not imply any limitation on the functions and scope of use of the embodiment of the present disclosure.
[0075] The electronic device 800 may include a processing unit (e.g., a central processing unit, graphics processor, etc.) 801, which can perform various appropriate operations and processes based on programs stored in read-only memory (ROM) 802 or programs loaded from storage device 808 into random access memory (RAM) 803. RAM 803 further stores various programs and data necessary for operating the electronic device 800. The processing unit 801, ROM 802, and RAM 803 are connected to each other via bus 804. An input / output (I / O) interface 805 is also connected to bus 804.
[0076] Generally, devices such as input devices 806 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, and gyroscopes; output devices 807 including, for example, liquid crystal displays (LCDs), speakers, and vibrators; storage devices 808 including, for example, magnetic tape and hard disks; and communication devices 809 can be connected to the I / O interface 805. The communication device 809 can allow the electronic device 800 and other devices to exchange data via wireless or wired communication. The figure shows an electronic device 800 with various devices, but it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have all of the devices instead.
[0077] In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowchart may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product which includes a computer program contained on a computer-readable medium and containing program code for performing the method shown in the flowchart. In such embodiments, the computer program may 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 the processing unit 801, the above-described functions, limited by the methods of embodiments of the present disclosure, are performed.
[0078] The computer-readable medium in this disclosure may be a computer-readable signal medium, a computer-readable storage medium, or any combination of both. The computer-readable storage medium may be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage mediums may include, but are not limited to, an electrical connection having one or more wires, a portable computer magnetic disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact magnetic disk read-only memory (CD-ROM), an optical memory device, a magnetic memory device, or any suitable combination thereof. In this disclosure, the computer-readable storage medium may be any tangible medium containing or storing a program, the program may be used by or in combination with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signaling medium may include data signals propagated in the baseband or as part of a carrier, which carry computer-readable program code. The data signals propagated in this manner may include, but are not limited to, electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signaling medium may be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit programs for use by or in combination with instruction execution systems, apparatus, or devices. The program code contained on the computer-readable medium may be transmitted by any suitable medium, including, but not limited to, electric wires, optical cables, RF (radio frequency), or any suitable combination thereof.
[0079] In some embodiments, the client and server may communicate using any currently known or future-to-be-developed network protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with digital data communications (e.g., communication networks) in any form or medium. Examples of communication networks include local area networks ("LANs"), wide area networks ("WANs"), the World Wide Web (e.g., the Internet), end-to-end networks (e.g., ad hoc end-to-end networks), and any currently known or future-to-be-developed networks.
[0080] The computer-readable medium described above may be included in the electronic device described above, or it may be a standalone entity not incorporated into the electronic device.
[0081] The computer-readable medium contains one or more programs, and when these one or more programs are executed by the electronic device, the electronic device is made to perform the method of the present disclosure described above.
[0082] Computer program code for performing the operations of the Disclosure can be organized in one or a variety of programming languages or a combination thereof, and such programming languages include object-oriented programming languages, such as Java®, Smalltalk, and C++, and further include general procedural programming languages, such as the "C" language or similar programming languages. The program code may run entirely on a user computer, partially on a user computer, run as a single standalone software package, run partially on a user computer and partially on a remote computer, or run entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or it may be connected to an external computer (for example, connected via the Internet using an Internet service provider).
[0083] The flowcharts and block diagrams in the drawings illustrate the systematic architectures, functions, and operations that can be realized according to the systems, methods, and computer program products of each embodiment of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, program segment, or portion of code, which contains one or more executable instructions for realizing a defined logic function. Note that in some implementations as alternatives, the functions described in the blocks may occur in a different order than those shown in the drawings. For example, two blocks shown consecutively may actually be executed almost in parallel, or in some cases in reverse order, depending on the function. Furthermore, note that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be realized by a dedicated hardware-based system that performs the defined function or operation, or by a combination of dedicated hardware and computer instructions.
[0084] The units referred to in the descriptions of the embodiments of this disclosure may be implemented in software or in hardware. Herein, the names of the units are not necessarily limited to the units themselves.
[0085] The functions described above in this specification may be performed, at least in part, by one or more hardware logic components. For example, typical types of hardware logic components that can be used include, but are not limited to, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems on chips (SOCs), and composite programmable logic circuits (CPLDs).
[0086] In the context of this disclosure, a machine-readable medium may be a tangible medium that contains or stores a program for use by or in combination with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any appropriate combination of the above. More specific examples of machine-readable storage media include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any appropriate combination of the above.
[0087] One or more embodiments of this disclosure provide a method for processing information, the method being: The steps include receiving the first conversational message in the first conversation, The steps include: generating a response suggestion for the first conversational message by an artificial intelligence program in response to the first conversational message satisfying a first response condition; The process includes the step of displaying the response suggestion in the first area.
[0088] According to one or more embodiments of the present disclosure, a method for processing information is provided, the step of generating a response suggestion for a first conversational message by an artificial intelligence program in response to the first conversational message satisfying a first response condition, The process includes the steps of determining whether the first conversation message contains question information if it is unread, in response to the fact that the first conversation message is sent by another user and mentions the current user, and in response to the fact that the first conversation message contains question information, an artificial intelligence program generates a response suggestion for the first conversation message.
[0089] According to one or more embodiments of the present disclosure, a method for processing information is provided, and the step of displaying the response suggestion in a first area is: The process includes the step of performing an action to display the response suggestion in a first area in response to a response trigger operation for the first conversational message.
[0090] According to one or more embodiments of the present disclosure, a method for processing information is provided, the step of generating a response suggestion for a first conversational message by an artificial intelligence program in response to the first conversational message satisfying a first response condition, In response to the fact that the first conversation message mentions the current user, the first conversation message is determined to contain question information, and in response to the fact that the first conversation message contains question information and to a response trigger operation for the first conversation message, an artificial intelligence program generates a response suggestion for the first conversation message, or The process includes the steps of determining whether the first conversational message contains question information in response to the fact that the first conversational message does not mention the current user and to the response trigger operation for the first conversational message, and in response to the fact that the first conversational message contains question information, generating a response suggestion for the first conversational message by an artificial intelligence program.
[0091] According to one or more embodiments of this disclosure, a method for processing information is provided, and the step of generating response suggestions for a first conversational message by an artificial intelligence program is: The process includes the steps of searching for relevant knowledge related to the first conversational message with the current user's permissions, and generating response suggestions for the first conversational message by an artificial intelligence program based on the relevant knowledge and the first conversational message.
[0092] According to one or more embodiments of the present disclosure, a method for processing information is provided, the step of generating a response suggestion for a first conversational message by an artificial intelligence program in response to the first conversational message satisfying a first response condition, The steps include: analyzing the first conversation message, analyzing at least one conversation message preceding the first conversation message and / or at least one conversation message following the first conversation message to determine the meaning of the first conversation message; A step of determining whether the first response condition is met based on the meaning of the first conversation message, The process includes the step of generating a response suggestion for the first conversational message in response to the first response condition being met.
[0093] According to one or more embodiments of the present disclosure, a method for processing information is provided, which displays a first control in or around the first area for writing the response suggestion into a message input box after it has been triggered.
[0094] One or more embodiments of this disclosure provide a method for processing information, the method being: A step of displaying a second area, in the second area displaying a pre-set language translation of the content in the message input box, or displaying a second control in the second area for writing the pre-set language translation of the content in the message input box to the message input box after it has been triggered. and / or, the first area further displays reference information corresponding to the annotations, wherein some or all of the content of the response proposal displayed in the first area has annotations. and / or further includes a step in which the first region is located around a message input box.
[0095] According to one or more embodiments of the present disclosure, a method for processing information is provided, wherein the response suggestion displayed in the first area includes annotation information, and the method is: The further step includes sending some or all of the content of the response suggestion, other than the annotation information, to the first conversation in response to a message response operation.
[0096] One or more embodiments of this disclosure provide a method for processing information, the method being: In response to the operation to close the aforementioned response suggestion, the step of stopping the display of the aforementioned response suggestion, or, In response to an operation to clear the quoted first conversation message in the message input box, the display of the reply suggestion is stopped, or In response to a response trigger operation for the second conversational message, the display of the response suggestion is stopped, or The further step includes writing the response suggestion to the message input box and stopping the display of the response suggestion in response to a trigger operation on the first control for writing the response suggestion to the message input box after it has been triggered.
[0097] According to one or more embodiments of the present disclosure, a method for processing information is provided, which, in response to an operation to close the response suggestion, after the step of stopping the display of the response suggestion, The system further includes the steps of: determining whether the third conversational message satisfies the first response condition in response to a response trigger operation for the third conversational message; and, in response to the third conversational message satisfying the first response condition, generating a response suggestion for the third conversational message by an artificial intelligence program and displaying the response suggestion for the third conversational message.
[0098] According to one or more embodiments of the present disclosure, a method for processing information is provided, which, after the step of displaying the response suggestion in a first area, The further step includes continuing to display the response suggestion in response to switching to a second conversation different from the first conversation, and then returning to the first conversation.
[0099] According to one or more embodiments of this disclosure, a method for processing information is provided, and the first response condition is, The conversation message contains question information, and / or The first conversational message is a message consisting of a text message, text and an image, and / or, The first conversational message is a message sent by another user and mentions the current user, and the other user is a non-robot user, or the first conversational message is a message sent by a non-current user and does not mention the current user, and / or The first conversational message is a message in a non-private chat conversation, and / or, The first conversational message is a message in a non-topic group, and / or, This includes displaying the response suggestion in a streaming output format.
[0100] According to one or more embodiments of this disclosure, an information processing device is provided, and the information processing device is, A communication unit for receiving a first conversation message in a first conversation, The system includes a control unit for generating a response suggestion for the first conversational message by an artificial intelligence program in response to the first conversational message satisfying a first response condition, The control unit is further configured to display the response suggestion in the first area.
[0101] According to one or more embodiments of the present disclosure, an electronic device is provided that includes at least one memory and at least one processor. The at least one memory is used to store program code, and the at least one processor is used to perform any one of the above methods by calling and executing the program code stored in the at least one memory.
[0102] According to one or more embodiments of the present disclosure, a computer-readable storage medium is provided for storing program code that causes a processor to perform the above method when executed by the processor.
[0103] The above description is merely an explanation of preferred embodiments and the technical principles in which the present disclosure is applied. Those skilled in the art will understand that the scope of the disclosure is not limited to technical solutions formed by specific combinations of the above technical features, but encompasses other technical solutions formed by any combination of the above technical features or their equivalents, without departing from the disclosed concepts. For example, technical solutions in which the above features are replaced with similar functional technical features disclosed (but not limited to) in this disclosure.
[0104] Although the operations are described using a specific order, this should not be understood as requiring that these operations be performed in a specific order or sequence. In certain environments, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be understood as limiting the scope of this disclosure. Some features described in the context of a single embodiment may be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may be implemented in multiple embodiments, either individually or in any suitable subcombination.
[0105] Although this topic has been described using terminology specific to structural features and / or the logical operation of the method, it should be understood that the topic limited to the attached claims is not limited to the specific features or operations described above. Rather, the specific features and operations described above are merely illustrative forms of realizing the claims.
Claims
1. A method for processing information, the method is The steps include receiving the first conversational message in the first conversation, The steps include: generating a response suggestion for the first conversational message by an artificial intelligence program in response to the first conversational message satisfying a first response condition; The steps include, displaying the response suggestion in the first area, method.
2. The step of generating a response suggestion for the first conversational message by an artificial intelligence program in response to the fact that the first conversational message satisfies the first response condition is: In response to the fact that the first conversation message was sent by another user and mentions the current user, the first conversation message is in an unread state, and the steps include determining whether the first conversation message contains question information, The method according to claim 1, comprising the step of generating a response suggestion for the first conversational message by an artificial intelligence program in response to the fact that the first conversational message contains question information.
3. The step of displaying the response suggestion in the first area is: The method according to claim 2, comprising the step of performing an operation to display the response suggestion in a first area in response to a response trigger operation for the first conversational message.
4. The step of generating a response suggestion for the first conversational message by an artificial intelligence program in response to the fact that the first conversational message satisfies the first response condition is: In response to the fact that the first conversation message mentions the current user, the first conversation message is determined to contain question information, and in response to the fact that the first conversation message contains question information and to a response trigger operation for the first conversation message, an artificial intelligence program generates a response suggestion for the first conversation message, or The method according to claim 1, comprising the steps of determining whether the first conversational message contains question information in response to the fact that the first conversational message does not mention the current user and in response to a response trigger operation for the first conversational message, and generating a response suggestion for the first conversational message by an artificial intelligence program in response to the fact that the first conversational message contains question information.
5. The step of generating response suggestions for a first conversational message using an artificial intelligence program is: The method according to claim 1, further comprising the steps of searching for relevant knowledge related to the first conversational message with the current user's permissions, and generating response suggestions for the first conversational message by an artificial intelligence program based on the relevant knowledge and the first conversational message.
6. The step of generating a response suggestion for the first conversational message by an artificial intelligence program in response to the fact that the first conversational message satisfies the first response condition is: The steps include: analyzing the first conversation message, analyzing at least one conversation message preceding the first conversation message and / or at least one conversation message following the first conversation message to determine the meaning of the first conversation message; A step of determining whether the first response condition is met based on the meaning of the first conversation message, The method according to claim 1, comprising the step of generating a response suggestion for the first conversational message in response to the first response condition being met.
7. The method according to any one of claims 1 to 6, wherein a first control for writing the response suggestion into a message input box after being triggered is displayed in or around the first area.
8. A step of displaying a second area, in the second area displaying a pre-set language translation of the content in the message input box, or displaying a second control in the second area for writing the pre-set language translation of the content in the message input box to the message input box after it has been triggered. and / or, The steps include: displaying some or all of the content of the response proposal shown in the first area having annotations, and further displaying reference information corresponding to the annotations in the first area; and / or, The method according to any one of claims 1 to 7, further comprising the step that the first region is located around a message input box.
9. The response suggestion displayed in the first area includes annotation information, and the method is, The method according to any one of claims 1 to 8, further comprising the step of sending some or all of the content of the response suggestion, other than the annotation information, to the first conversation in response to a message response operation.
10. In response to the operation to close the aforementioned response suggestion, the step of stopping the display of the aforementioned response suggestion, or, In response to an operation to clear the quoted first conversation message in the message input box, the display of the reply suggestion is stopped, or In response to a response trigger operation for a second conversational message, the display of the response suggestion is stopped, or The method according to claim 1, further comprising the steps of writing the response suggestion to a message input box and stopping the display of the response suggestion in response to a trigger operation on a first control for writing the response suggestion to a message input box after it has been triggered.
11. In response to the operation to close the response suggestion, after the step of stopping the display of the response suggestion, the method: The method according to claim 10, further comprising: determining whether the third conversation message satisfies the first response condition in response to a response trigger operation for the third conversation message; and, in response to the third conversation message satisfying the first response condition, generating a response suggestion for the third conversation message by an artificial intelligence program and displaying the response suggestion for the third conversation message.
12. After the step of displaying the response suggestion in the first area, the method, The method according to any one of claims 1 to 11, further comprising the step of continuing to display the response suggestion in response to switching to a second conversation different from the first conversation and then returning to the first conversation.
13. The first response condition is, The conversation message contains question information, and / or The first conversational message is a message consisting of a text message, text and an image, and / or, The first conversational message is a message sent by another user and mentions the current user, and the other user is a non-robot user, or the first conversational message is a message sent by a non-current user and does not mention the current user, and / or The first conversational message is a message in a non-private chat conversation, and / or, The first conversational message is a message in a non-topic group, and / or, The method according to any one of claims 1 to 12, comprising displaying the response suggestion in a streaming output manner.
14. An information processing device, said information processing device is A communication unit configured to receive a first conversation message in a first conversation, The system includes a control unit configured to generate a response suggestion for the first conversational message by an artificial intelligence program in response to the first conversational message satisfying a first response condition, The control unit is further configured to display the response suggestion in the first area. Information processing device.
15. An electronic device comprising at least one memory and at least one processor, An electronic device wherein the at least one memory is configured to store program code, and the at least one processor is configured to perform the method according to any one of claims 1 to 13 by calling and executing the program code stored in the at least one memory.
16. A computer-readable storage medium that stores program code, which, when executed by the processor, causes the processor to perform the method described in any one of claims 1 to 13.