Interaction method and device, electronic equipment, storage medium and program product

By generating and using user's memory information in the human-computer interaction system, the problem of insufficient personalization of interaction in the prior art is solved, and a more accurate and effective interactive experience is achieved.

CN119106124AActive Publication Date: 2024-12-10BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 14 Cites 0 Cited by

Patent Information

Application Number
CN202411404459.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-09
Publication Date
2024-12-10
Estimated Expiration
2044-10-09

AI Technical Summary

Technical Problem

Existing human-computer interaction technology is difficult to generate personalized reply information based on users’ personalized needs, resulting in inaccurate and effective interaction experience and cannot meet users’ diverse needs.

Method used

Receive user input information through various interactive methods, generate user memory information, generate personalized memory information based on user related information and interaction history, and refer to this information during the interaction process to improve the accuracy and personalization of interaction. .

Benefits of technology

It improves the accuracy and effectiveness of human-computer interaction, makes the interactive experience closer to real human interaction, and meets the personalized needs of different users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119106124A_ABST
    Figure CN119106124A_ABST
Patent Text Reader

Abstract

The invention relates to an interaction method and device, electronic equipment, a storage medium and a program product, and relates to the technical field of computers. The interaction method comprises the steps that information input by a user is received through multiple interaction modes; according to the input information, memory information corresponding to the user is generated, the memory information generation modes are different for different interaction modes, and the memory information corresponding to the user comprises related information of the user; and interacting with the user according to the memory information corresponding to the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to an interaction method, device, electronic device, storage medium and program product. Background Art

[0002] With the development of artificial intelligence (AI) technology, machines can communicate with users more naturally and smoothly in human-computer interaction.

[0003] During the human-computer interaction process, the machine can generate reply information based on the information currently input by the user and some interaction information before the currently input information. Summary of the invention

[0004] This summary is provided to introduce concepts in a brief form that will be described in detail in the detailed description below. This summary is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.

[0005] According to some embodiments of the present disclosure, an interaction method is provided, including: receiving information input by a user through a plurality of interaction modes; generating memory information corresponding to the user based on the input information, wherein the memory information is generated in different ways for different interaction modes, and the memory information corresponding to the user includes relevant information of the user; and interacting with the user based on the memory information corresponding to the user.

[0006] According to other embodiments of the present disclosure, an interaction device is provided, including: a receiving module, configured to receive information input by a user through a plurality of interaction methods; a generating module, configured to generate memory information corresponding to the user based on the input information, wherein the memory information is generated in different ways for different interaction methods, and the memory information corresponding to the user includes relevant information of the user; and an interaction module, configured to interact with the user based on the memory information corresponding to the user.

[0007] According to some further embodiments of the present disclosure, an electronic device is provided, comprising: a processor; and a memory coupled to the processor, for storing instructions, which, when executed by the processor, causes the processor to execute the interaction method of any embodiment of the present disclosure.

[0008] According to some further embodiments of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, wherein the program, when executed by a processor, implements the interactive method of any embodiment of the present disclosure.

[0009] According to still some embodiments of the present disclosure, a computer program product is provided, comprising instructions, which, when executed by a processor, cause the processor to perform an interaction method according to any embodiment of the present disclosure.

[0010] Other features and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The preferred embodiments of the present disclosure are described below with reference to the accompanying drawings. The drawings described herein are used to provide a further understanding of the present disclosure. Each of the drawings together with the following detailed description is included in this specification and forms a part of the specification, and is used to explain the present disclosure. It should be understood that the drawings described below only relate to some embodiments of the present disclosure and do not constitute a limitation on the present disclosure. In the drawings:

[0012] Figure 1 A schematic diagram showing a flow chart of an interaction method according to some embodiments of the present disclosure;

[0013] Figure 2 A schematic diagram showing an interactive interface in some embodiments of the present disclosure;

[0014] Figure 3 Schematic diagrams showing interaction interfaces of other embodiments of the present disclosure;

[0015] Figure 4 Schematic diagrams showing interaction interfaces in some other embodiments of the present disclosure;

[0016] Figure 5 A schematic diagram showing an interactive interface in some further embodiments of the present disclosure;

[0017] Figure 6 Schematic diagrams showing interaction interfaces in some other embodiments of the present disclosure;

[0018] Figure 7 A schematic diagram showing the structure of an interactive device in some embodiments of the present disclosure;

[0019] Figure 8 A schematic diagram showing the structure of an electronic device according to some embodiments of the present disclosure;

[0020] Fig. 9 A schematic diagram showing the structure of a computer system according to some embodiments of the present disclosure.

[0021] It should be understood that, for ease of description, the sizes of the various parts shown in the drawings are not necessarily drawn according to the actual proportional relationship. The same or similar reference numerals are used in the various drawings to represent the same or similar parts. Therefore, once an item is defined in one drawing, it may not be further discussed in subsequent drawings. DETAILED DESCRIPTION

[0022] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure, but it is obvious that the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. The following description of the embodiments is actually only illustrative and is by no means intended to limit the present disclosure and its application or use. It should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein.

[0023] It should be understood that the various steps recorded in the method embodiments of the present disclosure can be performed in different orders, and / or performed in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown in the execution. The scope of the present disclosure is not limited in this respect. Unless otherwise specifically stated, the relative arrangement, numerical expressions and numerical values ​​of the parts and steps set forth in these embodiments should be interpreted as being merely exemplary and do not limit the scope of the present disclosure.

[0024] The term "include" and its variations used in the present disclosure mean an open term that includes at least the following elements / features but does not exclude other elements / features, that is, "including but not limited to". In addition, the term "include" and its variations used in the present disclosure mean an open term that includes at least the following elements / features but does not exclude other elements / features, that is, "including but not limited to". Therefore, include is synonymous with include. The term "based on" means "based at least in part on".

[0025] References throughout this specification to "one embodiment," "some embodiments," or "an embodiment" mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. For example, the term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; and the term "some embodiments" means "at least some embodiments." Furthermore, the appearances of the phrases "in one embodiment," "in some embodiments," or "in an embodiment" in various places throughout this specification do not necessarily all refer to the same embodiment, but may do so.

[0026] It should be noted that the concepts of "first", "second", etc. mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units. Unless otherwise specified, the concepts of "first", "second", etc. are not intended to imply that the objects described in this way must be in a given order in time, space, ranking, or any other manner.

[0027] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0028] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0029] The embodiments of the present disclosure are described in detail below in conjunction with the accompanying drawings, but the present disclosure is not limited to these specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. In addition, in one or more embodiments, specific features, structures or characteristics can be combined in any suitable manner that will be clear from the present disclosure by a person of ordinary skill in the art.

[0030] Human-computer interaction (dialogue) can be implemented in the form of software or a combination of software and hardware. For example, human-computer interaction can be performed using software such as interactive applications or hardware devices such as computers configured with interactive applications.

[0031] Taking the interactive application as an example, the interactive application can generate reply information based on the information currently input by the user and some interactive information before the currently input information. For example, after the user reopens the interactive application or restarts the conversation after a certain period of time, the interactive application can only refer to the interactive information during this conversation to generate reply information, or the interactive application can only refer to a preset number of interactive information before the currently input information to generate reply information. The interactive application uses the same logic to reply to all users. Such a setting generally assumes that the interactive information that is separated from the currently input interactive information for a long time has no relationship with the current conversation.

[0032] However, in many cases, interactive applications cannot meet the needs of users by generating response information based only on the user's current input information and some previous interaction information. For example, a user mentioned in a conversation some time ago that he did not like horror movies. When the user wants the interactive application to recommend some movies, but horror movies are recommended to the user, the user will feel dissatisfied.

[0033] In order to further improve the accuracy and effectiveness of interaction with users during human-computer interaction, and to realize personalized interaction for different users, so that the experience of human-computer interaction is closer to real human interaction, the present disclosure provides an interaction method, which is combined with Figures 1 to 6 Give a description.

[0034] The interactive method of the embodiment of the present disclosure can be performed by an interactive device, and the interactive device can be implemented in hardware and / or software. For example, the interactive device is an agent, a robot, an interactive application, a computer, a terminal, etc. The user can perform human-computer interaction with the interactive device. For example, the user can use oral natural language input (i.e., speech) to provide commands and / or requests to the interactive device, which in some cases can be converted into text and then processed, and / or by providing text (e.g., typing) natural language input.

[0035] Figure 1 Flowcharts of some embodiments of the interactive method disclosed herein. Figure 1 As shown, the method of this embodiment includes: steps S102 to S106.

[0036] In step S102, information input by the user is received through various interactive methods.

[0037] The interactive device can perform human-computer interaction with the user and can receive information input by the user through various interactive methods. For example, the interactive device can receive information input by the user through a dialogue with the user, or the interactive device can receive information input by the user through interactive configuration with the user, that is, the user inputs configuration information for the interactive device, which is not limited to the examples given.

[0038] In step S104, memory information corresponding to the user is generated according to the input information.

[0039] The memory information corresponding to the user includes relevant information of the user, and refers to the memory information of the interactive device on the user. For example, if the interactive device is an intelligent agent, the memory information corresponding to the user refers to the memory information of the intelligent agent on the user. The interactive device can imitate humans to generate memory, and can generate memory information for different users interacting with the interactive device, thereby realizing personalized memory information.

[0040] The memory information corresponding to the user may be the relevant information of the user extracted based on the information input by the user. For example, the relevant information of the user includes at least one of the attribute information and portrait information of the user, and may also include other information that needs to be remembered, not limited to the examples given. For example, the relevant information of the user includes the user's hobby information, address information, occupation information, life information, etc., and the memory information corresponding to the user is different from the context of the conversation between the user and the interactive device. The context of the conversation between the user and the interactive device only refers to the content of the conversation between the user and the interactive device itself, and the memory information corresponding to the user may be the relevant information of the user extracted from the conversation between the user and the interactive device or the relevant information of the user obtained by other means such as configuration.

[0041] The memory information is generated in different ways for different interaction modes. For example, the memory information is generated in different ways for the interaction mode of dialog with the user and the interaction mode of interactive configuration with the user.

[0042] In step S106, interaction is performed with the user according to the memory information corresponding to the user.

[0043] Since personalized memory information is generated for the user, the interactive device, in the process of interacting with the user, refers to the user's current input information and the previous interaction information between the user and the interactive device, as well as the user's corresponding memory information. That is, the reply information is generated based on the user's current input information, the previous historical interaction information between the user and the interactive device, and the user's corresponding memory information.

[0044] The method of the above embodiment receives information input by the user through a variety of interactive methods, generates memory information corresponding to the user based on the input information, and then interacts with the user based on the memory information corresponding to the user. A variety of interactive methods can provide users with a more flexible way to generate memory information, and can generate memory information corresponding to the user for input information received through different interactive methods, reduce the omission of memory information, and thus improve the accuracy of subsequent interactions. By generating memory information corresponding to the user and interacting with the user based on the memory information, the experience of human-computer interaction can be made closer to real human interaction, and the accuracy and effectiveness of the interaction can be improved. And personalized memory information can be generated for different users, so that personalized interactions can be performed for different users, further improving the accuracy and effectiveness of the interaction.

[0045] The following describes how to generate memory information corresponding to a user in conjunction with some embodiments.

[0046] In some embodiments, semantic information of input information is identified; based on the semantic information, attributes corresponding to the input information are determined; and based on the attributes and the input information, memory information corresponding to the user is generated.

[0047] The machine learning model can be used to identify the semantics of the information input by the user. For example, the machine learning model is a large language model (LLM), which is not limited to the example given.

[0048] For example, one or more attributes (or types) may be preconfigured, including: hobbies, addresses, occupations, life, etc. The attribute corresponding to the input information may be determined based on the semantic information of the input information. The input information may then be summarized based on the semantic information of the input information to obtain summary information, and the summary information and attribute information may be associated to generate memory information corresponding to the user. For example, if the information input by the user is "I like to read books on history and philosophy", it may be determined that the attribute corresponding to the input information is a hobby, and the memory information generated may be "My hobby is to read books on history and philosophy".

[0049] By performing semantic recognition on the input information to determine the attributes, and generating memory information corresponding to the user based on the attributes and the input information, the memory information can be classified and saved more accurately. In the subsequent process of interaction based on the memory information, the memory information of different attributes can be used more accurately to interact, thereby improving the accuracy and effectiveness of the interaction.

[0050] The generated memory information corresponding to the user can be divided into different types. In some embodiments, the semantic information of the input information is identified; the memory type corresponding to the input information is determined based on the semantic information, wherein different memory types correspond to different effective times; and the memory information corresponding to the user is generated based on the memory type and the input information.

[0051] For example, the memory information corresponding to the user is divided into long-term memory and short-term memory according to the length of the effective time, which is not limited to the examples given. For example, the memory information such as the user's hobbies belongs to long-term memory, and the user's business trip to a certain place in the past week belongs to short-term memory. The memory type to which the memory information corresponding to the user belongs can be identified based on the semantic information of the input information. And the memory information of different memory types can be stored separately.

[0052] In some embodiments, in response to the current time exceeding the effective time of the memory information, the stored memory information is deleted.

[0053] The effective time of each memory information can be recorded. For example, the memory information of a user's business trip to a certain place in the past week is valid for a week from the start to the end of the business trip. If the current time exceeds the effective time of the memory information, the memory information can no longer be referred to in subsequent interactions and can be deleted. For example, when the user is on a business trip to a certain place, the interactive device can recommend local attractions, food, etc. to the user, but if the user ends the business trip, the location needs to be changed when making recommendations.

[0054] The method of the above embodiment determines the effective time of memory information based on the semantic information of the input information and divides the memory information into different memory types, which can more accurately store and manage the memory information, thereby making subsequent interaction with the user based on the memory information more accurate and effective.

[0055] The following describes how to generate memory information corresponding to a user in different interaction modes in conjunction with some embodiments.

[0056] In some embodiments, the multiple interaction methods include a first interaction method of conducting a conversation with a user. During the user conversation, semantic information of first information input by the user is identified; based on the semantic information, it is determined whether the first information is information that needs to be remembered; in response to the first information being information that needs to be remembered, memory information corresponding to the user is generated based on the first information.

[0057] A machine learning model can be used to determine whether the first information includes relevant information of the user that needs to be remembered based on the semantic information of the first information, for example, to determine whether the first information includes attribute information, portrait information, etc. of the user. Alternatively, the attribute (or type) of the information that needs to be remembered can be pre-set, and whether the first information includes information of the attribute can be determined based on the semantic information of the first information. For example, the attributes of the information that needs to be remembered include information of attributes such as hobbies and addresses. If the first information belongs to the information that needs to be remembered, the memory information corresponding to the user is generated based on the first information.

[0058] In some embodiments, based on the semantic information of the first information, the attribute corresponding to the first information is determined, and based on the attribute and the first information, the memory information corresponding to the user is generated.

[0059] For example, based on the semantic information of the first information, it is determined that the attribute corresponding to the first information is a hobby. A machine learning model can be used to extract information representing the hobby from the first information or summarize the first information to obtain information representing the hobby, and then the attribute is associated with the information representing the hobby to generate memory information corresponding to the user.

[0060] In the process of interacting with users, the semantic recognition of the first information input by the user can be used to automatically determine whether it needs to be remembered, and if memory is needed, the memory information can be automatically generated. This is imperceptible to the user and can enhance the user experience while subsequently improving the accuracy of the interaction.

[0061] Combine the following Figure 2 and Figure 3 , taking the interactive device as an intelligent agent as an example, some embodiments of generating memory information during the interaction process with the user are described.

[0062] like Figure 2As shown, it is an interactive interface between a user and an agent A. The interactive information display area of ​​the interactive interface displays the first information 201 "I have always liked X's music" input by the user. Agent A recognizes that the first information 201 contains information that needs to be remembered, and generates the corresponding memory information of the user for storage. Agent A can reply to the first information 201, generate and display reply information 202, and can display prompt information of memory information update, that is, "Memory has been updated", to prompt the user that new memory information has been generated. The reply information 202 can also include guiding information "Which of his works do you like best" to guide the user to further input information related to the generated memory information, so as to expand the generated memory information according to the input information related to the generated memory information.

[0063] like Figure 2 As shown, one or more recommended questions 203 may also be generated based on the first information 201, and in response to the user's selection operation of a target question in the one or more recommended questions, the answer to the target question is displayed. The one or more recommended questions are associated with the first information 201, and the user does not need to input more questions himself, which facilitates further interaction between the user and the intelligent agent.

[0064] like Figure 3 As shown in the figure, it is an interactive interface between the user and agent B. The interactive information display area of ​​the interactive interface displays the first information 301 "I like to eat pineapples, but not mangoes" input by the user. Agent B recognizes that the first information 301 contains information that needs to be remembered, and generates the corresponding memory information of the user for storage. Agent B can reply to the first information 301, generate and display reply information 302, and can display a prompt message of memory information update, that is, "Memory has been updated", to prompt the user that new memory information has been generated.

[0065] In some embodiments, the multiple interaction modes include a second interaction mode of interactively configuring with a user. During the interactive configuration with the user, second information input by the user is received; the second information is summarized to generate memory information corresponding to the user.

[0066] The user can configure the memory information through an interactive configuration process. The user can input the second information used to configure the memory information, and the machine learning model can be used to understand and summarize the second information to generate the memory information corresponding to the user. Of course, the second information input by the user can also be directly used as the memory information corresponding to the user.

[0067] Providing users with a way to directly configure interaction information and save the information that users want the interaction device to remember can improve the accuracy of memory generation. In subsequent interactions, reply information that is more in line with the user's intentions can be output to the user, thereby improving the user experience.

[0068] The following describes how to perform interactive configuration with the user in conjunction with some embodiments.

[0069] In some embodiments, a configuration guide interface is displayed, wherein the configuration guide interface includes a configuration trigger control; in response to a user's operation on the configuration trigger control, a memory information interface is displayed, wherein the memory information interface includes an add control; in response to the user's operation on the add control, a memory input interface is displayed; and second information input by the user in the memory input interface is received.

[0070] The user can be guided step by step to perform operations through the switching display of multiple interfaces, and the configuration of memory information can be completed, which is convenient for the user to operate accurately.

[0071] Combine the following Figures 4 to 6 Describes some embodiments of interface displays during interactive configuration with the user.

[0072] like Figure 4 As shown, a configuration guide interface 401 may be displayed on the interaction interface between the user and agent A to prompt the user that agent A has a memory function. Figure 4 The configuration guide interface is displayed in the form of a panel, and can also be displayed in various forms such as a floating layer, a window or a new page, and is not limited to the examples given.

[0073] A configuration trigger control 402 may be displayed in the configuration guide interface 401, and the user may trigger the configuration trigger control 402 to perform a subsequent memory configuration process. The configuration guide interface 401 may also display information describing the memory function, such as explaining that the agent A can learn and generate memory information during the dialogue with the user, can continuously generate memory information, and that the user can manage the memory information, etc., without limitation to the examples given.

[0074] The configuration guide interface 401 can be displayed in response to the user initiating interaction with agent A, or can be displayed in response to determining for the first time that the first information input by the user is information that needs to be remembered. The display of the configuration guide interface 401 can also be triggered in other ways, not limited to the examples given.

[0075] like Figure 5 As shown, in response to the user's operation on the configuration trigger control 402, the memory information interface is displayed. The memory information interface displays an add control 501. The memory information interface may also include one or more memory information 502 of the user that has been stored. The display form of the memory information interface can be configured according to actual needs and is not limited to the examples given.

[0076] like Figure 6As shown, in response to the user triggering the add control 501, a memory input interface 601 is displayed. The memory input interface may include an input area and a display area, in which the user may input the second information in a variety of ways, and in which the second information input by the user may be displayed. A save control 602 may also be displayed, and in response to the user triggering the save control 602, memory information corresponding to the second information may be generated. Figure 5 As shown, the generated memory information can be displayed in the memory information interface.

[0077] The user can manage the memory information. In some embodiments, in response to the user triggering the memory information interface, the memory information interface is displayed and the stored memory information is displayed in chronological order in the memory information interface; in response to the user deleting one or more memory information in the stored memory information, one or more memory information is deleted.

[0078] like Figure 4 As shown, the memory information interface can be displayed in response to the user's operation of the configuration trigger control in the configuration guide interface, or the memory information interface can be displayed through other means. For example, in response to the user triggering the memory management control in the personal page, the memory information interface is displayed, and is not limited to the examples given. Figure 5 As shown, the stored memory information can be displayed in chronological order in the memory information interface, and a deletion control 503 can be displayed for each memory information. In response to the user triggering the deletion control of one or more memory information, one or more memory information can be deleted.

[0079] In some embodiments, in response to a user's modification operation on one or more pieces of stored memory information, the modified memory information is displayed.

[0080] For example, Figure 5 As shown, the user can click on any memory information 502 to trigger the modification of the memory information. In response to the user's modification operation on any memory information, a memory modification interface can be displayed. The form of the memory modification interface can be the same as Figure 6 The form of the memory input interface in the example is similar to that in the example above, and other forms may also be used. The memory information to be modified may be displayed in the display area, and the user may modify the memory information to be modified. In response to the user triggering the save control, Figure 5 The modified memory information is displayed in the memory information interface shown.

[0081] The user can also manage the way to generate memory information. In some embodiments, a switch control corresponding to at least one target interaction mode among multiple interaction modes is displayed in the memory information interface; in response to the user turning on the switch control corresponding to at least one target interaction mode, a function of generating memory information corresponding to the user based on the information input by the user through at least one target interaction mode is turned on; in response to the user turning off the switch control corresponding to at least one target interaction mode, a function of generating memory information corresponding to the user based on the information input by the user through at least one target interaction mode is turned off.

[0082] The user can control various ways of generating memory information. For example, the user can choose to turn on or off the function of generating memory information during the conversation process, or the user can choose to turn on or off the function of generating memory information through the interactive configuration process.

[0083] like Figure 5 As shown, a switch control 504 can be displayed in the memory information interface, and the switch control 504 can be used to turn on or off the function of generating the corresponding memory information of the user according to the information input by the user through the first interaction mode (the user and the agent have a dialogue). After turning off the switch control 504, during the interaction between the user and the agent A, the agent A will no longer automatically generate memory information. By setting the switch control, the user can flexibly configure different memory information generation functions, and can choose to turn off the corresponding memory information generation function for the content that is not desired to be remembered, thereby improving the user's information security and user experience.

[0084] In the above embodiments, the user is guided to configure the memory information through the setting of multiple interfaces and controls, and the user can also be guided to configure the memory information in other ways, input the second information, and thus generate the memory information. In some embodiments, an information interaction interface is displayed, and preset questions for configuring the memory information are displayed in the information interaction interface; and the second information input by the user to answer the preset questions is received.

[0085] The second information input by the user by answering a preset question can be received in the form of a question and answer, and memory information can be generated according to the second information. For example, in the interactive interface with the user, the user's hobbies can be asked during the conversation with the user, and the user can be guided to input relevant information as the second information.

[0086] In some embodiments, during the process of interactive configuration with the user, a file uploaded by the user is received; and the file is used as memory information corresponding to the user.

[0087] The user can save the information to be remembered in a file and configure it by directly uploading the file. The interactive device can parse the file, extract the content therein and generate the memory information corresponding to the user.

[0088] The user can input information through a variety of interactive methods, and the interactive device can generate memory information through a variety of methods, which is convenient for the user to use and makes the generated memory information more comprehensive and accurate. The interactive device can manage the memory information. In some embodiments, after the memory information is generated, the generated memory information is compared with the stored memory information to determine whether there is duplication or contradiction between the generated memory information and the stored memory information. In response to duplication, the generated memory information or the stored memory information is deleted. In response to contradiction, the stored memory information is deleted.

[0089] By removing duplicate and contradictory memory information, the stored memory information can be made more accurate and improve the accuracy of subsequent interactions.

[0090] The following describes how to interact with a user based on the memory information corresponding to the user in conjunction with some embodiments.

[0091] In some embodiments, in response to third information input by a user, a determination is made whether to reply based on the memory information based on the third information; in response to determining to reply based on the memory information, target memory information matching the third information is determined from the memory information corresponding to the user; and reply information to the third information is generated based on the third information and the target memory information.

[0092] The machine learning model can be used to understand the semantics of the third information and determine whether a reply based on the memory information is needed. For example, the third information input by the user includes a clear demand, such as the third information is "please provide me with a few cherry blossom wallpapers". In this case, it is not necessary to reply based on the user's memory information. Whether a reply based on the memory information is needed can be determined based on the semantic information of the third information, and is not limited to the examples given.

[0093] If it is determined to reply based on the memory information, the target memory information matching the third information is determined from the memory information corresponding to the user. For example, the semantic information of the third information can be matched with the semantic information of the memory information to determine the target memory information. For example, if the third information is "I want to find some delicious food nearby", through the understanding and matching of the semantic information, it can be determined that the target memory information includes the user's address information, the user's taste preference information, etc.

[0094] Then, based on the third information and the target memory information, reply information is generated that is consistent with the target memory information and can respond to the third information.

[0095] In some embodiments, generating reply information of the third information based on the third information and the target memory information includes: determining whether the reply information of the third information includes search results and generative results based on the semantic information of the third information; in response to the reply information including search results and generative results, searching according to the third information and the target memory information to obtain search results; determining the generative results based on the search results, the third information and the target memory information; and generating reply information based on the search results and the generative results.

[0096] The user's intention can be identified based on the semantic information of the third information to determine whether the user wants to obtain search results or generative results. For example, if the third information includes indication information of the result type included in the reply information, the search results and / or generative results are determined based on the indication information. For example, the third information is "help me generate a poem", which clearly indicates that the user wants to obtain a generative result.

[0097] In some embodiments, based on the semantic information of the third information, the field related to the third information is determined, and in response to the case where the field related to the third information is a preset field, it is determined that the reply information of the third information includes search results and generative results. For example, the third information related fields are travel, film and television, game tutorials, fitness tutorials, news, encyclopedias and other fields, and the reply information can include search results and generative results, which are not limited to the examples given. And the search results and generative results are interrelated to improve the effect of the reply information, better reply to the user's questions, and improve the user experience.

[0098] In response to the reply information including the search results and the generated results, a search may be first performed based on the third information and the target memory information to obtain the search results. The search results may be one or more media types such as text, image, audio, video, etc. For example, the target memory information may involve address information, and a related search may be performed based on the third information and the address information. For example, the target memory information may involve the user's hobby information, and a related search may be performed based on the third information and the hobby information.

[0099] After obtaining the search results, the generative results can be determined based on the search results, the third information and the target memory information. For example, the search results, the third information and the target memory information are input into the generative model to obtain the generative results. The generative results are associated with the search results and are generated based on the search results. The two are not separated from each other, which improves the fluency and completeness of the reply information content, makes it easier for users to understand, and improves the user experience.

[0100] Further, the search results and the generated results are combined and arranged according to a preset layout to generate a reply message. The search results and the generated results may include one or more, and the reply message may also include one or more.

[0101] In some embodiments, a search is performed based on third information and target memory information to obtain multiple candidate search results, one or more generative results are generated based on the third information and target memory information, the multiple candidate search results are semantically matched with the one or more generative results, and the candidate search results that match the one or more generative results are selected as search results. Further, the search results and the generative results are combined and arranged according to a preset layout to generate reply information.

[0102] In the above embodiments, in response to the user inputting the third information, reply information can be generated based on the third information and the memory information to improve the accuracy and effectiveness of the interaction with the user. In addition to replying to the user based on the memory information, a conversation with the user can also be started based on the memory information. In some embodiments, in response to the first opening or reopening of a conversation with the user, the start information of the conversation is generated based on the memory information corresponding to the user; and the start information is displayed.

[0103] The first opening or reopening of a conversation with a user indicates that a new round of conversation with the user has begun. For example, the first opening of an interactive application by a user or re-entering an interactive application after a period of time indicates that the conversation with the user has been first opened or reopened. In the case where the user has not input information, the start information of the conversation can be generated based on the memory information corresponding to the user.

[0104] In some embodiments, based on the memory information corresponding to the user, target information related to the memory information is searched from one or more databases; and based on the memory information and the target information, conversation start information is generated.

[0105] For example, according to the memory information corresponding to the user and the access popularity of information in one or more databases, the target information related to the memory information is searched. The access popularity of the information can be determined based on at least one indicator of the number of visits, the number of comments, and the number of searches. The target information related to the memory information and with high access popularity can be determined, and the start information of the conversation can be generated based on the target information. For example, if the user likes the music of a certain singer, the corresponding memory information can be generated. When the singer releases a new song, the new song can be recommended to the user as the start information of the conversation.

[0106] Starting a conversation with a user based on memory information can attract more users, increase their interest in the conversation, and start the conversation more smoothly, closer to real human conversation, thereby improving the accuracy and effectiveness of interaction with users.

[0107] In some embodiments, in response to the memory information corresponding to the user including the memory information indicating the user's plan, a reminder message is sent to the user according to the memory information indicating the user's plan.

[0108] For example, the memory information includes the user's fitness plan information, and a reminder message can be sent to the user based on the fitness plan information, which can assist the user in managing the plan and enhance the user's interactive experience.

[0109] The present disclosure also provides an interactive device, Figure 7 Give a description.

[0110] Figure 7 FIG. 1 is a structural diagram of some embodiments of the interactive device disclosed in the present invention. Figure 7 As shown, the interaction device 70 of this embodiment includes: a receiving module 710 , a generating module 720 , and an interaction module 730 .

[0111] The receiving module 710 is configured to receive information input by the user through various interactive methods.

[0112] The generation module 720 is configured to generate memory information corresponding to the user according to the input information, wherein the memory information is generated in different ways for different interaction modes, and the memory information corresponding to the user includes relevant information of the user.

[0113] The interaction module 730 is configured to interact with the user according to the memory information corresponding to the user.

[0114] In some embodiments, the multiple interaction methods include a first interaction method of conducting a conversation with a user, and the generation module 720 is configured to identify semantic information of first information input by the user during the conversation with the user; determine whether the first information is information that needs to be remembered based on the semantic information; and in response to the first information being information that needs to be remembered, generate memory information corresponding to the user based on the first information.

[0115] In some embodiments, the multiple interaction modes include a second interaction mode for interactive configuration with the user, and the generation module 720 is configured to receive second information input by the user during the interactive configuration with the user; summarize the second information and generate memory information corresponding to the user.

[0116] In some embodiments, the generation module 720 is configured to display a configuration guide interface, wherein the configuration guide interface includes a configuration trigger control; in response to a user's operation on the configuration trigger control, display a memory information interface, wherein the memory information interface includes an add control; in response to a user's operation on the add control, display a memory input interface; and receive second information input by the user in the memory input interface.

[0117] In some embodiments, the generation module 720 is configured to display an information interaction interface, and display preset questions for configuring memory information in the information interaction interface; and receive second information input by the user for answering the preset questions.

[0118] In some embodiments, the multiple interaction modes include a second interaction mode of interactive configuration with the user, and the generation module 720 is configured to receive files uploaded by the user during the interactive configuration with the user; and use the files as memory information corresponding to the user.

[0119] In some embodiments, the generation module 720 is configured to identify semantic information of the input information; determine the memory type corresponding to the input information based on the semantic information, wherein different memory types correspond to different effective times; and generate memory information corresponding to the user based on the memory type and the input information.

[0120] In some embodiments, the interactive device 70 further includes a management module 740 configured to delete the stored memory information in response to the current time exceeding the effective time of the memory information.

[0121] In some embodiments, the generation module 720 is configured to identify semantic information of the input information; determine the attributes corresponding to the input information based on the semantic information; and generate memory information corresponding to the user based on the attributes and the input information.

[0122] In some embodiments, the interaction module 730 is configured to respond to third information input by the user, and determine whether to reply based on the memory information based on the third information; in response to determining to reply based on the memory information, determine target memory information that matches the third information from the user's corresponding memory information; and generate reply information for the third information based on the third information and the target memory information.

[0123] In some embodiments, the interaction module 730 is configured to determine whether the reply information of the third information includes search results and generative results based on the semantic information of the third information; in response to the reply information including search results and generative results, search according to the third information and target memory information to obtain search results; determine the generative results based on the search results, the third information and the target memory information; and generate reply information based on the search results and the generative results.

[0124] In some embodiments, the interaction module 730 is configured to generate start information of the conversation according to the memory information corresponding to the user in response to the first opening or reopening of the conversation with the user; and display the start information.

[0125] In some embodiments, the interaction module 730 is configured to search for target information related to the memory information from one or more databases based on the memory information corresponding to the user; and generate start information of the conversation based on the memory information and the target information.

[0126] In some embodiments, the interaction module 730 is configured to send a reminder message to the user according to the memory information representing the user's plan in response to the memory information corresponding to the user including the memory information representing the user's plan.

[0127] In some embodiments, the interactive device 70 also includes a management module 740 configured to display a memory information interface and display the stored memory information in chronological order in the memory information interface in response to a user's triggering operation on the memory information interface; and to delete one or more memory information in response to a user's deletion operation on one or more memory information in the stored memory information.

[0128] In some embodiments, the management module 740 is also configured to display a switch control corresponding to at least one target interaction mode among multiple interaction modes in the memory information interface; in response to the user's turning on operation of the switch control corresponding to at least one target interaction mode, turn on the function of generating memory information corresponding to the user based on the information input by the user through at least one target interaction mode; in response to the user's turning off operation of the switch control corresponding to at least one target interaction mode, turn off the function of generating memory information corresponding to the user based on the information input by the user through at least one target interaction mode.

[0129] It should be noted that the above-mentioned units (modules) are only logical modules divided according to the specific functions they implement, and are not used to limit the specific implementation methods. For example, they can be implemented in software, hardware, or a combination of software and hardware. In actual implementation, the above-mentioned units can be implemented as independent physical entities, or can also be implemented by a single entity (for example, a processor (CPU or DSP, etc.), an integrated circuit, etc.). In addition, the above-mentioned units are shown with dotted lines in the drawings to indicate that these units may not actually exist, and the operations / functions they implement can be implemented by the processing circuit itself.

[0130] In addition, although not shown, the device may also include a memory, which may store various information generated by the device, various units contained in the device during operation, programs and data for operation, data to be sent by the communication unit, etc. The memory may be a volatile memory and / or a non-volatile memory. For example, the memory may include, but is not limited to, a random access memory (RAM), a dynamic random access memory (DRAM), a static random access memory (SRAM), a read-only memory (ROM), and a flash memory. Of course, the memory may also be located outside the device. Optionally, although not shown, the device may also include a communication unit, which may be used to communicate with other devices. In one example, the communication unit may be implemented in a suitable manner known in the art, such as including communication components such as an antenna array and / or a radio frequency link, various types of interfaces, communication units, etc. It will not be described in detail here. In addition, the device may also include other components not shown, such as a radio frequency link, a baseband processing unit, a network interface, a processor, a controller, etc. It will not be described in detail here.

[0131] Some embodiments of the present disclosure also provide an electronic device. Figure 8 Block diagrams of some embodiments of the electronic device of the present disclosure are shown. For example, in some embodiments, the electronic device 80 can be various types of devices, for example, can include but are not limited to mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. For example, the electronic device 80 can include a display panel for displaying data and / or execution results used in the scheme of the present disclosure. For example, the display panel can be of various shapes, such as a rectangular panel, an elliptical panel, or a polygonal panel, etc. In addition, the display panel can be not only a flat panel, but also a curved panel, or even a spherical panel.

[0132] like Figure 8 As shown, the electronic device 80 of this embodiment includes: a memory 81 and a processor 82 coupled to the memory 81. It should be noted that Figure 8 The components of the electronic device 80 shown are only exemplary and non-limiting. The electronic device 80 may also have other components according to actual application requirements. The processor 82 may control other components in the electronic device 80 to perform desired functions.

[0133] In some embodiments, the memory 81 is used to store one or more computer-readable instructions. When the processor 82 is used to execute the computer-readable instructions, the computer-readable instructions are executed by the processor 82 to implement the method according to any of the above embodiments. For the specific implementation of each step of the method and the related explanation content, please refer to the above embodiments, and the repetition will not be repeated here.

[0134] For example, the processor 82 and the memory 81 may communicate with each other directly or indirectly. For example, the processor 82 and the memory 81 may communicate with each other through a network. The network may include a wireless network, a wired network, and / or any combination of a wireless network and a wired network. The processor 82 and the memory 81 may also communicate with each other through a system bus, which is not limited by the present disclosure.

[0135] For example, the processor 82 may be embodied as various appropriate processors, processing devices, etc., such as a central processing unit (CPU), a graphics processing unit (GPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The central processing unit (CPU) may be an X86 or ARM architecture, etc. For example, the memory 81 may include any combination of various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The memory 81 may include, for example, a system memory, which may store, for example, an operating system, an application, a boot loader, a database, and other programs. Various applications and various data may also be stored in the storage medium.

[0136] In addition, according to some embodiments of the present disclosure, various operations / processes according to the present disclosure, when implemented by software and / or firmware, can be transmitted from a storage medium or a network to a computer system having a dedicated hardware structure, such as Fig. 9 The computer system (or electronic device) 90 shown is installed with the programs constituting the software, and when the various programs are installed, the computer system can execute various functions, including the functions described above. Fig. 9 is a block diagram illustrating an example structure of a computer system that can be employed in an embodiment according to the present disclosure.

[0137] exist Fig. 9In the embodiment, a central processing unit (CPU) 901 performs various processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage section 908 to a random access memory (RAM) 903. In the RAM 903, data required when the CPU 901 performs various processes, etc., is also stored as needed. The central processing unit is merely exemplary, and it may also be other types of processors, such as the various processors described above. The ROM 902, the RAM 903, and the storage section 908 may be various forms of computer-readable storage media, as described below. It should be noted that although Fig. 9 ROM 902, RAM 903 and storage section 908 are shown separately in the figure, but one or more of them may be combined or located in the same or different memory or storage modules.

[0138] The CPU 901, the ROM 902, and the RAM 903 are connected to one another via a bus 904. An input / output interface 905 is also connected to the bus 904.

[0139] The following components are connected to the input / output interface 905: an input section 906, such as a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output section 907, including a display, such as a cathode ray tube (CRT), a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage section 908, including a hard disk, a magnetic tape, etc.; and a communication section 909, including a network interface card such as a LAN card, a modem, etc. The communication section 909 allows communication processing to be performed via a network such as the Internet. It is easy to understand that although Fig. 9 The various devices or modules in the computer system 90 are shown to communicate via a bus 904, but they may also communicate via a network or other means, wherein the network may include a wireless network, a wired network, and / or any combination of a wireless network and a wired network.

[0140] A drive 910 is also connected to the input / output interface 905 as needed. A removable medium 911 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory or the like is mounted on the drive 910 as needed so that a computer program read therefrom is installed into the storage section 908 as needed.

[0141] In the case where the above-described series of processing is realized by software, a program constituting the software can be installed from a network such as the Internet or a storage medium such as the removable medium 911 .

[0142] According to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 909, or installed from the storage part 908, or installed from the ROM 902. When the computer program is executed by the CPU 901, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0143] It should be noted that in the context of the present disclosure, a computer-readable medium may be a tangible medium that may contain or store a program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. A computer-readable storage medium may be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that may be used by an instruction execution system, device or device or used in combination with it. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0144] The computer-readable medium may be included in the electronic device, or may exist independently without being installed in the electronic device.

[0145] In some embodiments, a computer program is further provided, comprising: instructions, which, when executed by a processor, cause the processor to execute any of the methods in the above embodiments. For example, the instructions may be embodied as computer program codes.

[0146] In embodiments of the present disclosure, computer program codes for performing the operations of the present disclosure may be written in one or more programming languages ​​or combinations thereof, including but not limited to object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In situations involving a remote computer, the remote computer may 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 may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet).

[0147] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0148] The modules, components or units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the names of the modules, components or units do not, in some cases, limit the modules, components or units themselves.

[0149] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.

[0150] According to some embodiments of the present disclosure, an interaction method is provided, including: receiving information input by a user through a plurality of interaction modes; generating memory information corresponding to the user based on the input information, wherein the memory information is generated in different ways for different interaction modes, and the memory information corresponding to the user includes relevant information of the user; and interacting with the user based on the memory information corresponding to the user.

[0151] In some embodiments, the multiple interaction methods include a first interaction method of conducting a conversation with a user, and generating memory information corresponding to the user based on the input information includes: in the process of conducting a conversation with the user, identifying semantic information of the first information input by the user; determining whether the first information is information that needs to be remembered based on the semantic information; and in response to the first information being information that needs to be remembered, generating memory information corresponding to the user based on the first information.

[0152] In some embodiments, the multiple interaction methods include a second interaction method for interactively configuring with a user, and generating memory information corresponding to the user based on the input information includes: receiving second information input by the user during the interactive configuration with the user; summarizing the second information and generating memory information corresponding to the user.

[0153] In some embodiments, during the process of interactive configuration with the user, receiving the second information input by the user includes: displaying a configuration guide interface, wherein the configuration guide interface includes a configuration trigger control; in response to the user's operation on the configuration trigger control, displaying a memory information interface, wherein the memory information interface includes an add control; in response to the user's operation on the add control, displaying a memory input interface; and receiving the second information input by the user on the memory input interface.

[0154] In some embodiments, during interactive configuration with a user, receiving second information input by the user includes: displaying an information interaction interface and displaying preset questions for configuring memory information in the information interaction interface; and receiving second information input by the user for answering the preset questions.

[0155] In some embodiments, the multiple interaction methods include a second interaction method for interactive configuration with a user, and generating memory information corresponding to the user based on the input information includes: receiving files uploaded by the user during the interactive configuration with the user; and using the files as the memory information corresponding to the user.

[0156] In some embodiments, generating memory information corresponding to the user based on the input information includes: identifying semantic information of the input information; determining a memory type corresponding to the input information based on the semantic information, wherein different memory types correspond to different effective times; and generating memory information corresponding to the user based on the memory type and the input information.

[0157] In some embodiments, the interaction method further includes: in response to the current time exceeding the effective time of the memory information, deleting the stored memory information.

[0158] In some embodiments, generating memory information corresponding to the user based on input information includes: identifying semantic information of the input information; determining attributes corresponding to the input information based on the semantic information; and generating memory information corresponding to the user based on the attributes and the input information.

[0159] In some embodiments, interacting with a user based on memory information corresponding to the user includes: in response to third information input by the user, determining whether to reply based on the memory information based on the third information; in response to determining to reply based on the memory information, determining target memory information that matches the third information from the memory information corresponding to the user; and generating reply information for the third information based on the third information and the target memory information.

[0160] In some embodiments, generating reply information of the third information based on the third information and the target memory information includes: determining whether the reply information of the third information includes search results and generative results based on the semantic information of the third information; in response to the reply information including search results and generative results, searching according to the third information and the target memory information to obtain search results; determining the generative results based on the search results, the third information and the target memory information; and generating reply information based on the search results and the generative results.

[0161] In some embodiments, interacting with a user according to memory information corresponding to the user includes: in response to the first opening or reopening of a conversation with the user, generating conversation start information according to the memory information corresponding to the user; and displaying the start information.

[0162] In some embodiments, generating conversation start information based on the memory information corresponding to the user includes: searching for target information related to the memory information from one or more databases based on the memory information corresponding to the user; and generating conversation start information based on the memory information and the target information.

[0163] In some embodiments, interacting with the user according to memory information corresponding to the user includes: in response to the memory information corresponding to the user including memory information representing the user's plan, sending a reminder message to the user according to the memory information representing the user's plan.

[0164] In some embodiments, the interactive device also includes: in response to a user triggering operation on the memory information interface, displaying the memory information interface and displaying the stored memory information in chronological order in the memory information interface; in response to a user deleting operation on one or more pieces of stored memory information, deleting one or more pieces of memory information.

[0165] In some embodiments, the interaction device also includes: displaying a switch control corresponding to at least one target interaction mode among multiple interaction modes in the memory information interface; in response to the user's turning on operation of the switch control corresponding to at least one target interaction mode, turning on the function of generating memory information corresponding to the user based on the information input by the user through at least one target interaction mode; in response to the user's turning off operation of the switch control corresponding to at least one target interaction mode, turning off the function of generating memory information corresponding to the user based on the information input by the user through at least one target interaction mode.

[0166] According to some other embodiments of the present disclosure, an interaction device is provided, including: a receiving module, configured to receive information input by a user through a plurality of interaction methods; a generating module, configured to generate memory information corresponding to the user based on the input information, wherein the memory information is generated in different ways for different interaction methods, and the memory information corresponding to the user includes relevant information of the user; and an interaction module, configured to interact with the user based on the memory information corresponding to the user.

[0167] According to some further embodiments of the present disclosure, there is provided an electronic device, comprising: a processor; and a memory coupled to the processor, for storing instructions, wherein when the instructions are executed by the processor, the processor executes the interaction method of any embodiment of the present disclosure.

[0168] According to some further embodiments of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the interactive method of any embodiment of the present disclosure is performed.

[0169] According to some further embodiments of the present disclosure, a computer program product is provided, comprising: instructions, which implement the interactive method of any embodiment of the present disclosure when the instructions are executed by a processor.

[0170] According to some further embodiments of the present disclosure, a computer program is provided, comprising: instructions, which implement the interactive method of any embodiment of the present disclosure when the instructions are executed by a processor.

[0171] The above descriptions are only some embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, a technical solution formed by replacing the above features with the technical features with similar functions disclosed in the present disclosure (but not limited to).

[0172] In the description provided herein, many specific details are set forth. However, it is understood that embodiments of the present invention can be implemented without these specific details. In other cases, well-known methods, structures, and techniques are not presented in detail in order not to obscure the understanding of the description.

[0173] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0174] Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that the above embodiments may be modified without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims

1. An interactive method, comprising: Receive user input information through various interactive methods; Generate memory information corresponding to the user according to the input information, wherein the memory information is generated in different ways for different interaction modes, and the memory information corresponding to the user includes relevant information of the user; Interact with the user according to the memory information corresponding to the user.

2. The interactive method according to claim 1, wherein: The multiple interaction modes include a first interaction mode of dialoguing with the user, and the generating memory information corresponding to the user according to the input information includes: In the process of communicating with the user, identifying semantic information of first information input by the user; Determining, according to the semantic information, whether the first information is information that needs to be memorized; In response to the first information being information that needs to be remembered, memory information corresponding to the user is generated according to the first information.

3. The interactive method according to claim 1, wherein: The multiple interaction modes include a second interaction mode for interactive configuration with the user, and the generating of memory information corresponding to the user according to the input information includes: During interactive configuration with the user, receiving second information input by the user; The second information is summarized to generate memory information corresponding to the user.

4. The interactive method according to claim 3, wherein: In the process of interactive configuration with the user, receiving second information input by the user includes: Displaying a configuration guide interface, wherein the configuration guide interface includes a configuration trigger control; In response to the user's operation on the configuration trigger control, displaying a memory information interface, wherein the memory information interface includes an add control; In response to the user's operation on the adding control, displaying a memory input interface; The second information input by the user in the memory input interface is received.

5. The interactive method according to claim 3, wherein: In the process of interactive configuration with the user, receiving second information input by the user includes: Displaying an information interaction interface, and displaying preset questions for configuring memory information in the information interaction interface; The second information input by the user for answering the preset question is received.

6. The interactive method according to claim 1, wherein: The multiple interaction modes include a second interaction mode for interactive configuration with the user, and the generating of memory information corresponding to the user according to the input information includes: During interactive configuration with the user, receiving a file uploaded by the user; The file is used as memory information corresponding to the user.

7. The interactive method according to claim 1, wherein: Generating the memory information corresponding to the user according to the input information includes: Identifying semantic information of the input information; Determining, according to the semantic information, a memory type corresponding to the input information, wherein different memory types correspond to different effective times; Memory information corresponding to the user is generated according to the memory type and the input information.

8. The interactive method according to claim 7, further comprising: In response to the current time exceeding the effective time of the memory information, the stored memory information is deleted.

9. The interactive method according to claim 1, wherein: Generating the memory information corresponding to the user according to the input information includes: Identifying semantic information of the input information; Determining, according to the semantic information, an attribute corresponding to the input information; Memory information corresponding to the user is generated according to the attributes and the input information.

10. The interactive method according to any one of claims 1 to 9, wherein: The interacting with the user according to the memory information corresponding to the user includes: In response to the third information input by the user, determining whether to reply based on the memory information according to the third information; In response to determining to reply based on the memory information, determining target memory information matching the third information from the memory information corresponding to the user; Generate reply information of the third information according to the third information and the target memory information.

11. The interactive method according to claim 10, wherein: The generating of reply information of the third information according to the third information and the target memory information comprises: Determining, according to the semantic information of the third information, whether the reply information of the third information includes the search results and the generated results; In response to the reply information including search results and generated results, searching according to the third information and the target memory information to obtain the search results; Determining the generative result according to the search result, the third information and the target memory information; The reply information is generated according to the search result and the generated result.

12. The interactive method according to any one of claims 1 to 9, wherein: The interacting with the user according to the memory information corresponding to the user includes: In response to the first opening or reopening of a conversation with the user, generating start information of the conversation according to the memory information corresponding to the user; The start information is displayed.

13. The interactive method according to claim 12, wherein: The generating the start information of the conversation according to the memory information corresponding to the user includes: According to the memory information corresponding to the user, searching for target information related to the memory information from one or more databases; The start information of the conversation is generated based on the memory information and the target information.

14. The interactive method according to any one of claims 1 to 9, wherein: The interacting with the user according to the memory information corresponding to the user includes: In response to the memory information corresponding to the user including the memory information indicating the plan of the user, a reminder message is sent to the user according to the memory information indicating the plan of the user.

15. The interactive method according to any one of claims 1 to 9, further comprising: In response to the user's triggering operation on the memory information interface, displaying the memory information interface and displaying the stored memory information in chronological order in the memory information interface; In response to the user's deletion operation on one or more pieces of the stored memory information, the one or more pieces of memory information are deleted.

16. The interactive method according to claim 15, further comprising: Displaying a switch control corresponding to at least one target interaction mode among the multiple interaction modes in the memory information interface; In response to the user's turning on operation of a switch control corresponding to at least one target interaction mode, turning on a function of generating memory information corresponding to the user according to information input by the user through the at least one target interaction mode; In response to the user's closing operation on the switch control corresponding to at least one target interaction mode, a function of generating memory information corresponding to the user according to information input by the user through the at least one target interaction mode is closed.

17. An interactive device, comprising: A receiving module, configured to receive information input by a user through a variety of interactive modes; A generating module is configured to generate memory information corresponding to the user according to the input information, wherein the memory information is generated in different ways for different interaction modes, and the memory information corresponding to the user includes relevant information of the user; The interaction module is configured to interact with the user according to the memory information corresponding to the user.

18. An electronic device, comprising: processor; as well as A memory coupled to the processor, for storing instructions, wherein when the instructions are executed by the processor, the processor executes the interaction method according to any one of claims 1 to 16.

19. A computer-readable storage medium having a computer program stored thereon, wherein: When the program is executed by a processor, the interactive method according to any one of claims 1 to 16 is implemented.

20. A computer program product comprising instructions which, when executed by a processor, cause the processor to perform the interaction method according to any one of claims 1 to 16.

Citation Information

Patent Citations

  • Response message determination method and device, response message configuration method and device, equipment and storage medium

    CN111741104A

  • Man-machine conversation generation method and device, electronic equipment and storage medium

    CN114969250A

  • Interaction control method and device, electronic equipment and computer readable storage medium

    CN116012096A

  • Active dialogue triggering method, device and equipment, vehicle and storage medium

    CN116701581A

  • Session method, system, device and equipment for human-computer interaction and storage medium

    CN117196038A