Interaction information processing method and device, electronic equipment and storage medium

By generating second interactive information based on the personality characteristics and interaction information of virtual characters, the problem of character image tasks development and interaction in the offline state of users is solved, and high-quality output content and user experience are achieved.

CN119818960APending Publication Date: 2025-04-15BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411875236.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-18
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

The existing technology is difficult to realize the task of character image development and interaction through AI technology when the user is offline, affecting the experience of other players.

Method used

By obtaining the interaction information input by the second character to the first character, the second interaction information is generated based on the personality characteristics and interaction information of the virtual character corresponding to the first character, and output it to the second character, so that the virtual character can perform tasks and interact with the first character.

Benefits of technology

It realizes that when the first character is not online, tasks are carried out and interacted through virtual characters with consistent personalities, improving the quality of output content and the user experience of other characters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119818960A_ABST
    Figure CN119818960A_ABST
Patent Text Reader

Abstract

The invention provides an interaction information processing method and device, electronic equipment and a storage medium, and relates to the field of artificial intelligence, in particular to the fields of virtual reality, meta universe and large models. According to the specific implementation scheme, first interaction information input to a first role by a second role is obtained; generating second interaction information based on a first character feature of a virtual character corresponding to the first character and the first interaction information; wherein the first character feature of the virtual character is determined based on third interaction information generated when the first character is online; and outputting the second interaction information to the second role.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of artificial intelligence (AI), and in particular to the fields of virtual reality, metaverse, and large models. Background Art

[0002] With the continuous development of AI technology, its application scenarios are becoming more and more extensive. In related technologies, AI technology is applied to the metaverse or game scenarios to achieve character hosting when the user is offline, so as to avoid affecting the experience of other players due to the user being offline. At present, when the user is offline, AI technology can be used to control the character image based on the set functions to carry out tasks and generate interactions. Summary of the invention

[0003] The present disclosure provides a method, device, electronic device and storage medium for processing interactive information.

[0004] According to one aspect of the present disclosure, a method for processing interaction information is provided, including:

[0005] Acquire first interaction information input by the second character to the first character;

[0006] generating second interaction information based on a first character trait of a virtual character corresponding to the first character and the first interaction information; wherein the first character trait of the virtual character is determined based on third interaction information generated when the first character is online;

[0007] The second interaction information is output to the second role.

[0008] According to another aspect of the present disclosure, there is provided a device for processing interaction information, including:

[0009] An input module, used for acquiring first interaction information input to the first character;

[0010] An information processing module, configured to generate second interaction information based on a first character trait of a virtual character corresponding to the first character and the first interaction information; wherein the first character trait of the virtual character is determined based on third interaction information generated when the first character is online;

[0011] An output module, configured to output the second interaction information to the second role.

[0012] According to another aspect of the present disclosure, there is provided an electronic device, comprising:

[0013] at least one processor; and

[0014] a memory communicatively connected to the at least one processor; wherein,

[0015] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute any method in the embodiments of the present disclosure.

[0016] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute any method according to the embodiments of the present disclosure.

[0017] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, which implements any method according to the embodiments of the present disclosure when executed by a processor.

[0018] According to the technical solution of the embodiment of the present disclosure, when the first character is not online, a virtual character with the same personality can also replace the first character to carry out tasks and interact, thereby realizing customized hosting of the first character, improving the quality of output content and the user experience of other characters.

[0019] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0021] Figure 1 is a schematic diagram of an application scenario of the method for processing interactive information according to an embodiment of the present disclosure;

[0022] Figure 2 is a schematic diagram of a method for processing interaction information according to an embodiment of the present disclosure;

[0023] Figure 3 is a schematic diagram of a method for processing interaction information according to another embodiment of the present disclosure;

[0024] Figure 4 is a schematic diagram of an application example;

[0025] Figure 5 is a schematic block diagram of a device for processing interaction information according to an embodiment of the present disclosure;

[0026] Figure 6 is a schematic block diagram of a device for processing interaction information according to another embodiment of the present disclosure;

[0027] Figure 7It is a schematic block diagram of an electronic device used to implement the method for processing interactive information according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0028] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope of the present disclosure. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0029] In order to facilitate understanding of the method for processing interaction information provided by the embodiment of the present disclosure, the application scenario of the embodiment of the present disclosure is described below.

[0030] Figure 1 Schematic diagram of an application scenario of the method for processing interactive information of an embodiment of the present disclosure. Exemplarily, the method for processing interactive information can be applied to a metaverse scenario or a game scenario. A metaverse system or a game system may include a client 10 and a server 20. A first user can interact with the server 20 through the client 10. Specifically, the character controlled by the first user in the metaverse or the game is a first character 101. When the first character interacts with other characters, third interactive information is generated, and the third interactive information is stored in the interactive information processing device 201 in the server 20. The interactive information processing device 201 constructs a virtual character corresponding to the first character according to the third interactive information, and the virtual character and the first character use the same character image to interact with the outside world.

[0031] Assuming that there is a second user, the character controlled by the second user is the second character 102, and the second user can interact with the server 20 through the client 10 to achieve interaction with other characters. When the second character 102 initiates interaction with the first character 101, the interactive information processing device 201 in the server 20 obtains the first interactive information input by the second character 102 to the first character 101. The interactive information processing device 201 processes the first interactive information according to the online status of the first character 101. Optionally, when the first character is online, the interactive information processing device 201 sends the first interactive information to the first character 101. When the first character is not online, for example, when the first character is in a hosting state, the interactive information processing device 201 can generate the second interactive information based on the personality characteristics of the virtual character and the first interactive information according to the method of the embodiment of the present disclosure, and output the second interactive information to the second character. That is, in the above application scenario, a virtual character with the same personality can replace the first character to carry out tasks and generate interactions.

[0032] It should be understood that the above-mentioned metaverse scenarios or game scenarios are only exemplary. In practical applications, the embodiments of the present disclosure can be applied to virtual reality, e-commerce, education, entertainment, training and other fields, and can meet the automated dialogue needs of different industries and fields.

[0033] Figure 2 is a schematic diagram of a method for processing interactive information according to an embodiment of the present disclosure. The method can be applied to an interactive information processing device, which can be deployed in an electronic device. The electronic device is, for example, a single or multiple terminal, a server, or other processing device. Optionally, the electronic device can be Figure 1 The server in the application scenario shown is, for example, a server in a metaverse system or a game system. In some possible implementations, the method can also be implemented by a processor calling a computer-readable instruction stored in a memory. Figure 2 As shown, the method may include the following steps S210 to S230.

[0034] S210: Acquire first interaction information input by the second character to the first character.

[0035] Optionally, the first character is a character controlled by the first user. The second character can be a character controlled by the user or an NPC (Non-Player Character) in the system.

[0036] The interactive information in the disclosed embodiment may include any form of interactive information such as chat information, task information, sharing information, etc. Among them, the first interactive information is the interactive information input by the second role to the first role, such as the chat information initiated by the second role to the first role, the task information sent by the second role to the first role, the information shared by the second role to the first role, etc.

[0037] S220: Generate second interaction information based on the first personality trait of the virtual character corresponding to the first character and the first interaction information.

[0038] The second interaction information may be understood as the response information output by the virtual character to the first interaction information. For example, the second interaction information may be a chat message sent by the virtual character to the second character, or the acceptance or rejection information of the virtual character to the task issued by the second character.

[0039] In the embodiment of the present disclosure, the virtual character corresponds to the first character, which means that the virtual character and the first character use the same character image, or in other words, the virtual character is used to replace the first character for interaction in specific situations.

[0040] Optionally, when the first character is online, the character image is controlled by the first character; when the first character is offline, for example, when the first character is in a managed state or an offline state, the manipulation of the character image is implemented based on the personality characteristics of the virtual character. That is, the above step S220 can be performed when the first character is in a managed state or an offline state. Specifically, based on the first personality characteristics of the virtual character and the first interaction information, generating the second interaction information includes: when the first character is in a managed state or an offline state, based on the first personality characteristics of the virtual character and the first interaction information, generating the second interaction information.

[0041] In the embodiment of the present disclosure, the first personality trait of the virtual character is determined based on the third interaction information generated when the first character is online.

[0042] The third interaction information may include one or more interaction information when the first character is online. For example, the third interaction information may be interaction information within a specific time period; or, the third interaction information may be interaction information that triggers a specific event, which is not limited in the embodiments of the present disclosure.

[0043] The first personality trait may be any data used to characterize personality traits, for example, the first personality trait may be a personality trait based on MBTI (Myers-Briggs Type Indicator), Jung's Eight-Point Type, or Holland's Professional Personality Model. For example, the first personality trait may include the proportion of personality traits in multiple dimensions, for example, the first personality trait may include introversion 60% (extroversion 40%), rationality 90% (emotional 10%), and entanglement 53% (decisiveness 47%), etc.

[0044] Different from the related art in which the character image is controlled based on the set functions or personality to carry out tasks and generate interactions, in the embodiment of the present disclosure, the first personality trait of the virtual character is determined based on the third interaction information generated when the first character is online. In this way, the virtual character can be customized according to the different user character personalities.

[0045] S230: Output second interaction information to the second role.

[0046] Optionally, the second interaction information is output to the second role through an interface for receiving the first interaction information.

[0047] According to the technical solution of the embodiment of the present disclosure, the first character trait of the virtual character corresponding to the first character is determined in advance based on the third interaction information generated when the first character is online; when the second character inputs the first interaction information to the first character, the second interaction information can be generated based on the first character trait of the virtual character and the first interaction information, and the second interaction information is output to the second character. Since the first character trait is determined based on the third interaction information generated when the first character is online, the output second interaction information generated by using the first character trait can make the output content match the personality of the first character, and when the first character is not online, the virtual character with the same personality can also replace the first character to carry out tasks and generate interactions, thereby realizing customized hosting of the first character and improving the quality of output content and the experience of the user role.

[0048] In some embodiments, step S220, generating second interaction information based on the first personality trait of the virtual character corresponding to the first character and the first interaction information, includes:

[0049] Based on the first personality trait of the virtual character, the first interaction information, and the role-related information of the first character, the second interaction information is generated using a large language model.

[0050] Exemplarily, based on the first personality trait of the virtual character, the first interaction information, and the role-related information of the first character, the input information of the large language model can be obtained, and the input information can be input into the large language model to obtain the second interaction information output by the large language model.

[0051] For example, the pre-configured prompt information (prompt) can be combined with the first personality trait of the virtual character, the first interaction information, and the role-related information of the first character to obtain the input information. The prompt information can prompt the large language model to reply to the first interaction information according to the role-related information of the first character and the first personality trait of the virtual character.

[0052] Exemplarily, the role-related information of the first role may include role memory, personal information, knowledge base, search data, and other information related to the first role stored in a system database.

[0053] According to the above embodiment, based on the first personality trait of the virtual character, the first interaction information and the role-related information of the first character, the second interaction information is generated using a large language model. This can make full use of the information of the virtual character and the first character, improve the matching degree between the second interaction information and the first character, and thus improve the quality of the output content and the user experience.

[0054] In some embodiments, Figure 3 As shown, step S230, outputting the second interaction information to the second role, includes:

[0055] S231, determining a first personality difference based on the second interaction information and the first personality trait of the virtual character;

[0056] S232: When the first personality difference is less than or equal to the first threshold, output second interaction information to the second character.

[0057] Optionally, the first personality difference may have a corresponding form according to the form of the first personality trait. For example, if the first personality trait includes the proportion of personality traits in multiple dimensions, the first personality difference may be the change rate of the proportion of personality traits in each dimension, such as +5% change in introversion, -5% change in rationality, etc.

[0058] Exemplarily, the difference between the second interaction information and the first personality trait may be determined based on a personality association algorithm as the first personality difference.

[0059] The first threshold may be a preconfigured difference threshold. Optionally, the first threshold may be a threshold configured in the system background, or may be a threshold determined according to role-related information of the first role.

[0060] According to the above embodiment, the second interaction information can be verified to ensure the stability and controllability of the output information of the virtual character, thereby improving the quality of the output content and the user experience.

[0061] Optionally, in some embodiments, when the first personality difference is greater than the first threshold, the second interaction information is not output. For example, the first character may be waited to come online for processing.

[0062] In some embodiments, Figure 3 As shown, the method for processing the interactive information further includes:

[0063] S310. When the first personality difference is greater than a first threshold, based on the first personality trait of the virtual character, the first interaction information, the second interaction information, and the role-related information of the first character, a large language model is used to generate differentiated content of the second interaction information, and the differentiated content is used as new second interaction information.

[0064] Exemplarily, based on the first personality trait of the virtual character, the first interaction information, the second interaction information and the role-related information of the first character, the input information of the large language model can be obtained, and the input information can be input into the large language model to obtain the second interaction information output by the large language model.

[0065] For example, the pre-configured prompt information (prompt) can be spliced ​​with the first personality trait of the virtual character, the first interaction information, and the role-related information of the first character to obtain the input information. The prompt information can prompt the large language model to reply to the first interaction information according to the role-related information of the first character and the first personality trait of the virtual character, and the reply content needs to be different from the second interaction information.

[0066] Exemplarily, the role-related information of the first role may include role memory, personal information, knowledge base, search data, and other information related to the first role stored in a system database.

[0067] According to the above embodiment, when the first personality difference is greater than the first threshold, that is, when the second interaction information automatically generated based on the first personality feature of the virtual character does not match the first character, the large language model can be used to regenerate new second interaction information, thereby achieving effective hosting of the first character and improving user experience.

[0068] Alternatively, if Figure 3 As shown, when new second interaction information is generated, the process may return to step S231 to determine the first personality difference based on the new second interaction information and the first personality trait, thereby outputting the second interaction information or regenerating it based on the first personality difference.

[0069] Optionally, if the number of times the second interaction information is generated exceeds a preset threshold, the second interaction information generated last time is output to the second character, or a preset default reply is output, or the second interaction information with the smallest difference from the first personality among the multiple generated second interaction information is selected for output.

[0070] In some embodiments, the method for processing interaction information further includes:

[0071] Determining whether to trigger a preset event based on third interaction information generated when the first character is online;

[0072] In the case of triggering a preset event, determining the second personality difference based on the preset event and the second personality characteristics of the virtual character; wherein the second personality characteristics are the current personality characteristics of the virtual character;

[0073] Based on the difference degree of the second personality and the second personality characteristics, the first personality characteristics are obtained;

[0074] The current personality traits of the virtual character are updated to the first personality traits.

[0075] Exemplarily, the above steps can be performed when the user is online. For example, based on the third interaction information generated when the first character is online, it is determined in real time whether a preset event is triggered, and the first personality characteristic is updated in real time when the preset event is triggered. The above steps can also be performed at a periodic node based on a preset cycle. For example, the interaction information generated when the first character is online is summarized every day, every two days, or every week to determine whether a preset event is triggered, and the first personality characteristic is updated when it is determined that the preset event is triggered.

[0076] Optionally, the preset events may include major life events, transitions to new environments, role changes, psychological growth and self-reflection, etc.

[0077] Optionally, the third interaction information may be input into a large language model, and the large language model may be used to determine whether the first character triggers a preset event.

[0078] Exemplarily, based on the preset event and the current personality characteristics (second personality characteristics) of the virtual character, the personality association algorithm can be used to determine the difference degree of the second personality. For example, the preset event, the third interactive information and other relevant information representing the current personality of the first character and the second personality characteristics are input into the personality association algorithm to obtain the difference degree between the current preset event, the third interactive information and the second personality characteristics output by the personality association algorithm.

[0079] Optionally, the second personality difference may have a corresponding form according to the form of the second personality trait. For example, if the second personality trait includes the proportion of personality traits in multiple dimensions, the second personality difference may be the change rate of the proportion of personality traits in each dimension, such as +6% change in introversion, -6% change in rationality, etc. It can be understood that based on the second personality difference and the second personality trait, the first personality trait can be determined by calculation, so that the current personality trait of the virtual character is updated to the first personality trait.

[0080] According to the above embodiment, the personality characteristics of the virtual character can be automatically adjusted according to the interactive information generated when the first character is online, so that the personality changes of the first character can be continuously tracked and dynamically adjusted, the degree of automation can be improved, and the quality of the output content and user experience can be improved.

[0081] In some embodiments, obtaining the first personality characteristic based on the second personality difference and the second personality characteristic includes:

[0082] When the difference between the second character is greater than the second threshold, determining whether to update the current character characteristics of the virtual character based on the second character characteristics, the recent N interaction information generated when the first character is online, and the event information that triggers the recent M character characteristic updates of the virtual character; wherein N and M are both positive integers;

[0083] When it is determined to update the current personality characteristics of the virtual character, the first personality characteristics are obtained based on the second personality difference and the second personality characteristics.

[0084] Optionally, the N value in the recent N interaction information may be pre-configured. Similarly, the event information corresponding to the recent M personality feature updates may also be pre-configured. Wherein, N and M may be equal or different.

[0085] Exemplarily, the event information corresponding to the personality trait update may include a preset event triggering the personality trait update and interaction information.

[0086] Optionally, when the difference of the second personality is greater than the second threshold, the personality evolution algorithm can be used to make a comprehensive judgment based on the current second personality characteristics, the recent N interactive information processed online by the first character, and the event information of the recent M personality characteristic updates, to obtain a conclusion on whether to update the current personality characteristics of the virtual character. If so, the first personality characteristics are obtained based on the difference of the second personality and the second personality characteristics, and the current personality characteristics are updated to the first personality characteristics. Optionally, when the personality evolution algorithm determines that the current personality characteristics of the virtual character should not be updated, the updating of the current personality characteristics of the virtual character can be abandoned.

[0087] Optionally, when the second personality difference is less than or equal to the second threshold, updating the current personality characteristics of the virtual character may be abandoned.

[0088] According to the above embodiment, the stability of the personality characteristics of the virtual character can be ensured, and the fluctuation of the output content caused by frequent updates of the personality characteristics can be avoided, thereby ensuring the stability and controllability of the output content.

[0089] In some embodiments, the method for processing interaction information further includes: determining a second threshold based on form information input by the first character and / or fourth interaction information generated when the first character is online in an initial stage.

[0090] Optionally, the form information input by the first character may be information input by the first character in a role information form provided by the system.

[0091] Optionally, the fourth interaction information generated when the first character is online in the initial stage may be fourth interaction information generated within a preset period of time after the first character is registered, or may be interaction information summarized after a certain amount of interaction information is accumulated after the first character is registered.

[0092] Exemplarily, when the form information input by the first character is stored, the second threshold can be determined based on the form information input by the first character. When the form information input by the first character is not stored, the second threshold can be determined based on the fourth interaction information generated when the first character is online in the initial stage.

[0093] According to the above embodiment, the second threshold can be determined according to the relevant information of the first character in the initial stage, so that in the subsequent steps it can be more accurately determined whether to update the personality characteristics, ensuring the rationality of the personality characteristics update, thereby ensuring the stability and controllability of the output content.

[0094] In some embodiments, the method for processing interaction information further includes: determining the personality characteristics of the virtual character initialized based on the form information input by the first character and / or the fourth interaction information generated when the first character is online in the initial stage.

[0095] Optionally, the form information input by the first character may be information input by the first character in a role information form provided by the system.

[0096] Optionally, the fourth interaction information generated when the first character is online in the initial stage may be fourth interaction information generated within a preset period of time after the first character is registered, or may be interaction information summarized after a certain amount of interaction information is accumulated after the first character is registered.

[0097] Exemplarily, when the form information input by the first character is stored, the initialization personality characteristics of the virtual character can be determined based on the form information input by the first character. When the form information input by the first character is not stored, the initialization personality characteristics of the virtual character can be determined based on the fourth interaction information generated when the first character is online in the initial stage.

[0098] According to the above embodiment, the personality characteristics of the virtual character can be determined according to the relevant information of the first character in the initial stage, so that the second interaction information input by the second character can be responded to in time based on the customized virtual character, thereby improving the user experience.

[0099] In order to facilitate understanding of the above technical solution, a specific application example is provided below. Figure 4 is a schematic diagram of this application example. Figure 4 As shown, in this application example, the system includes:

[0100] (1) Client 410:

[0101] The client 410 is mainly used to obtain role requirements, online interaction, task system, etc.

[0102] The client 410 can switch the interactive mode between the logged-in state (online state) or the hosted state according to the user selection and online state judgment.

[0103] The client 410 provides users with interactive capabilities in scenarios such as chat windows, task systems, and action expressions.

[0104] Users can fill out information collection forms or continuously generate interactive information for subsequent character initialization of virtual characters.

[0105] (2) Server 420:

[0106] Server 420 is mainly used for character initialization, automatic adjustment of NPC character, output content verification, etc.

[0107] Through the personality algorithm and the large language model, the server 420 can use the questionnaire information and the user's online interaction information to initialize the user's exclusive virtual character personality.

[0108] The server 420 can automatically adjust the personality of the virtual character according to the interactive information generated when the user is logged in.

[0109] The server 420 can verify the interactive output content of the virtual character in the managed state according to the character background (initialized character) and recent interactive information.

[0110] like Figure 4 As shown, in this application example, the method for processing the interaction information includes:

[0111] S41: Obtaining form information input by the first role, such as an information collection form. This step is an optional step, that is, the user does not need to input form information.

[0112] S42: Determine whether the first character is online, if online, jump to step S43. If not online, use the personality characteristics of the virtual character to dominate the character image of the first character.

[0113] S43: The first character is online and generates interactive information.

[0114] In the initial stage, the personality of the virtual character can be initialized based on the interaction information.

[0115] Specifically, the personality characteristics of the first character are extracted from the information collection form and the previous online interactive information through the large model and personality association algorithm. The personality algorithm and the large language model are used to accurately extract the real personality characteristics of the first character. By adjusting the parameters in the personality algorithm, the personality proportions of different dimensions required for personality shaping and the change threshold of each personality dimension can be extracted from the form information and interactive information. The extracted personality proportions of different dimensions are used to create the virtual character, completing the initialization of the user's exclusive virtual character personality. The extracted change threshold of each personality dimension will be stored in the vector database for subsequent automatic adjustment of the virtual character personality.

[0116] S44. Extracting information related to the first character's major life events, new environment, role changes, psychological growth and self-reflection based on the interactive information generated when the first character is online, and automatically adjusting the character of the virtual character through a character association algorithm.

[0117] S45. Based on the large language model, it is possible to accurately extract information related to the first character, such as major life events, new environments, role changes, psychological growth and self-reflection, which may lead to personality changes. Based on this information and the personality association algorithm, the potential personality change percentage of the first character in the current interaction can be obtained. For example, the potential change in the user's extroversion dimension caused by work adjustment is -6%. If the personality change percentage exceeds the personality change threshold, then based on the personality evolution algorithm, the current personality of the virtual character, the recent N user online interaction information and the recent M trigger personality change information, a conclusion is drawn as to whether to update the personality. If the conclusion is to update the personality, the latest personality characteristics are calculated and stored in the relational database.

[0118] S46: When the personality characteristics of the virtual character are stored, an interactive output may be generated based on the personality characteristics of the virtual character.

[0119] S47. Before providing interactive output to the outside world, the output content is verified using a large model and personality association algorithm to ensure the stability of the virtual character's personality.

[0120] Specifically, reasonable interactive output information is automatically generated using the personality traits of the virtual character, stored character-related information (past memories, personal information, personal knowledge base, search data, etc.), input information obtained in real time from virtual character interactions, and a large language model.

[0121] Use the big model and personality association algorithm to determine the difference between the generated output content and the virtual character's personality. Evaluate the difference between the output content and the virtual character's personality. If it meets the output requirements, it will be output normally. Otherwise, regenerate the content.

[0122] It can be seen that according to the method of the embodiment of the present disclosure, the first character can be quickly customized and copied and hosted in the scene, and the personality of the virtual character can be automatically adjusted according to the user's online interaction information. Through a scientific evaluation system, the output content can also be evaluated and verified to ensure that the output content is stable and controllable.

[0123] In the technical solution disclosed herein, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0124] The disclosed embodiment also provides a device for processing interaction information. Figure 5 FIG. 1 is a schematic block diagram of a device for processing interactive information according to an embodiment of the present disclosure. Figure 5 As shown, the device comprises:

[0125] An input module 510 is used to obtain first interaction information input to a first character;

[0126] The information processing module 520 is used to generate second interaction information based on the first character characteristic of the virtual character corresponding to the first character and the first interaction information; wherein the first character characteristic of the virtual character is determined based on the third interaction information generated when the first character is online;

[0127] The output module 530 is configured to output the second interaction information to the second role.

[0128] In some embodiments, the information processing module 520 is used to:

[0129] Based on the first personality trait of the virtual character, the first interaction information, and the role-related information of the first character, the second interaction information is generated using a large language model.

[0130] In some embodiments, the output module 530 is used to:

[0131] Determining a first personality difference based on the second interaction information and the first personality trait of the virtual character;

[0132] When the first personality difference is less than or equal to the first threshold, second interaction information is output to the second character.

[0133] Figure 6 is a schematic block diagram of a device for processing interactive information according to another embodiment of the present disclosure, such as Figure 6 As shown, in some embodiments, the interactive information processing device further includes a verification processing module 610, which is used to:

[0134] When the first personality difference is greater than a first threshold, based on the first personality feature of the virtual character, the first interaction information, the second interaction information, and role-related information of the first character, using the large language model to generate differentiated content of the second interaction information;

[0135] The differentiated content is used as the new second interactive information.

[0136] In some embodiments, Figure 6 As shown, the interactive information processing device further includes a personality updating module 620, which is used to:

[0137] Determining whether to trigger a preset event based on third interaction information generated when the first character is online;

[0138] In the case of triggering a preset event, determining the second personality difference based on the preset event and the second personality characteristics of the virtual character; wherein the second personality characteristics are the current personality characteristics of the virtual character;

[0139] Based on the difference degree of the second personality and the second personality characteristics, the first personality characteristics are obtained;

[0140] The current personality traits of the virtual character are updated to the first personality traits.

[0141] In some embodiments, the personality update module 620 is used to:

[0142] When the difference between the second character is greater than the second threshold, determining whether to update the current character characteristics of the virtual character based on the second character characteristics, the recent N interaction information generated when the first character is online, and the event information that triggers the recent M character characteristic updates of the virtual character; wherein N and M are both positive integers;

[0143] When it is determined to update the current personality characteristics of the virtual character, the first personality characteristics are obtained based on the second personality difference and the second personality characteristics.

[0144] In some embodiments, Figure 6 As shown, the interactive information processing device also includes:

[0145] The threshold determination module 630 is used to determine the second threshold based on the form information input by the first role and / or the fourth interaction information generated when the first role is online in the initial stage.

[0146] In some embodiments, Figure 6 As shown, the interactive information processing device also includes:

[0147] The initialization module 640 is used to determine the initialization personality characteristics of the virtual character based on the form information input by the first character and / or the fourth interaction information generated when the first character is online in the initial stage.

[0148] For the description of specific functions and examples of each module and submodule of the device in the embodiment of the present disclosure, reference can be made to the relevant description of the corresponding steps in the above method embodiment, which will not be repeated here.

[0149] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0150] Figure 7 A schematic block diagram of an example electronic device 700 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0151] like Figure 7 As shown, the device 700 includes a computing unit 701, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 702 or a computer program loaded from a storage unit 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 can also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0152] A number of components in the device 700 are connected to the I / O interface 705, including: an input unit 706, such as a keyboard, a mouse, etc.; an output unit 707, such as various types of displays, speakers, etc.; a storage unit 708, such as a disk, an optical disk, etc.; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0153] The computing unit 701 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 701 performs the various methods and processes described above, such as a processing method for interactive information. For example, in some embodiments, the processing method for interactive information may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 700 via the ROM 702 and / or the communication unit 709. When the computer program is loaded into the RAM 703 and executed by the computing unit 701, one or more steps of the processing method for interactive information described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the processing method for interactive information in any other appropriate manner (e.g., by means of firmware).

[0154] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0155] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0156] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, 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 foregoing.

[0157] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0158] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0159] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0160] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0161] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the principles of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for processing interactive information, comprising: Acquire first interaction information input by the second character to the first character; generating second interaction information based on a first character trait of a virtual character corresponding to the first character and the first interaction information; wherein the first character trait of the virtual character is determined based on third interaction information generated when the first character is online; The second interaction information is output to the second role.

2. The method according to claim 1, wherein: The generating second interaction information based on the first personality characteristic of the virtual character corresponding to the first character and the first interaction information includes: The second interaction information is generated using a large language model based on the first personality trait of the virtual character, the first interaction information, and role-related information of the first character.

3. The method according to claim 1 or 2, wherein: The outputting the second interaction information to the second role includes: Determining a first personality difference based on the second interaction information and the first personality trait of the virtual character; When the first personality difference is less than or equal to a first threshold, the second interaction information is output to the second character.

4. The method according to claim 3, further comprising: When the first personality difference is greater than a first threshold, based on the first personality feature of the virtual character, the first interaction information, the second interaction information, and role-related information of the first character, using a large language model to generate differentiated content of the second interaction information; The differentiated content is used as new second interaction information.

5. The method according to any one of claims 1 to 4, further comprising: Determining whether to trigger a preset event based on third interaction information generated when the first character is online; In the case where the preset event is triggered, determining the second personality difference based on the preset event and the second personality characteristic of the virtual character; wherein the second personality characteristic is the current personality characteristic of the virtual character; Based on the second personality difference and the second personality characteristic, obtaining the first personality characteristic; The current personality traits of the virtual character are updated to the first personality traits.

6. The method according to claim 5, wherein: The obtaining the first personality characteristic based on the second personality difference and the second personality characteristic comprises: When the second personality difference is greater than a second threshold, determining whether to update the current personality characteristics of the virtual character based on the second personality characteristics, the recent N interaction information generated when the first character is online, and the event information that triggers the recent M personality characteristic updates of the virtual character; wherein N and M are both positive integers; In the case of determining to update the current personality trait of the virtual character, the first personality trait is obtained based on the second personality difference and the second personality trait.

7. The method according to claim 6, further comprising: The second threshold is determined based on the form information input by the first role and / or the fourth interaction information generated when the first role is online in an initial stage.

8. The method according to any one of claims 1 to 7, further comprising: Based on the form information input by the first character and / or the fourth interaction information generated when the first character is online in the initial stage, the personality characteristics of the virtual character are determined.

9. A device for processing interactive information, comprising: An input module, used for acquiring first interaction information input to the first role; An information processing module, configured to generate second interaction information based on a first character trait of a virtual character corresponding to the first character and the first interaction information; wherein the first character trait of the virtual character is determined based on third interaction information generated when the first character is online; An output module, configured to output the second interaction information to the second role.

10. The device according to claim 9, wherein: The information processing module is used for: The second interaction information is generated using a large language model based on the first personality trait of the virtual character, the first interaction information, and role-related information of the first character.

11. The device according to claim 9 or 10, wherein: The output module is used for: Determining a first personality difference based on the second interaction information and the first personality trait of the virtual character; When the first personality difference is less than or equal to a first threshold, the second interaction information is output to the second character.

12. The device according to claim 11, further comprising a verification processing module, configured to: When the first personality difference is greater than a first threshold, based on the first personality feature of the virtual character, the first interaction information, the second interaction information, and role-related information of the first character, using a large language model to generate differentiated content of the second interaction information; The differentiated content is used as new second interaction information.

13. The apparatus according to any one of claims 9 to 12, further comprising a personality update module, configured to: Determining whether to trigger a preset event based on third interaction information generated when the first character is online; In the case where the preset event is triggered, determining the second personality difference based on the preset event and the second personality characteristic of the virtual character; wherein the second personality characteristic is the current personality characteristic of the virtual character; Based on the second personality difference and the second personality characteristic, obtaining the first personality characteristic; The current personality traits of the virtual character are updated to the first personality traits.

14. The device according to claim 13, wherein: The character update module is used to: When the second personality difference is greater than a second threshold, determining whether to update the current personality characteristics of the virtual character based on the second personality characteristics, the recent N interaction information generated when the first character is online, and the event information that triggers the recent M personality characteristic updates of the virtual character; wherein N and M are both positive integers; In the case of determining to update the current personality trait of the virtual character, the first personality trait is obtained based on the second personality difference and the second personality trait.

15. The apparatus according to claim 14, further comprising: The threshold determination module is used to determine the second threshold based on the form information input by the first role and / or the fourth interaction information generated by the first role when the first role is online in an initial stage.

16. The apparatus according to any one of claims 9 to 15, further comprising: The initialization module is used to determine the personality characteristics of the virtual character initialized based on the form information input by the first character and / or the fourth interaction information generated when the first character is online in the initial stage.

17. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 8.

18. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-8.

19. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 8.