Intelligent dialogue generation system, device, method, readable storage medium and electronic equipment

By integrating character-based intelligent connectivity devices into smart dolls and using RFID or NFC technology to identify character tags and download personalized resources, the problem of inflexible interaction in smart dolls is solved, thereby enhancing personalized interaction and educational value.

CN122242526APending Publication Date: 2026-06-19INTERLATH (SHENZHEN) TECHNOLOGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
INTERLATH (SHENZHEN) TECHNOLOGY CO LTD
Filing Date
2024-12-17
Publication Date
2026-06-19

Smart Images

  • Figure CN122242526A_ABST
    Figure CN122242526A_ABST
Patent Text Reader

Abstract

This invention provides an intelligent dialogue generation system, apparatus, method, readable storage medium, and electronic device. The intelligent character connection device includes a detachable external identification component that physically connects to a character interaction device to establish communication. The apparatus includes a character identification unit that identifies characters and their personality traits by recognizing character tags; a character resource download unit that communicates with a resource server to download relevant character resources; a character configuration unit that configures character interaction features based on the downloaded resources; and a character interaction control unit that controls the character interaction device to initiate interaction. Through this invention, by identifying characters and downloading story audio and dialogue resources using RFID technology, the device can convert user voice commands into text, generate responses using a dialogue model, and play them using TTS technology, achieving personalized interaction, enhancing user immersion and satisfaction, solving the challenge of personalized interaction in existing character interaction devices, and enhancing interactivity and educational value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent interaction technology, specifically to an intelligent dialogue generation system, apparatus, method, readable storage medium, and electronic device. Background Technology

[0002] In the traditional children's toy market, dolls typically lack interactive features or have very limited interactive capabilities. With the development of smart technology, some smart dolls with basic voice recognition and playback functions have emerged. However, most of these dolls can only engage in simple pre-set dialogues, lacking personalization and interactivity, and failing to meet children's needs for role-playing and interactive experiences.

[0003] To enhance the interactivity and educational value of children's toys, those skilled in the art have been exploring how to combine smart technology with dolls to create more vivid and interactive character experiences. In existing technological solutions, some dolls respond to preset commands through built-in simple voice recognition modules, but these commands are usually fixed and lack flexibility and personalization. Furthermore, these dolls cannot adjust their behavior and dialogue content according to children's different needs and preferences, limiting their scope and depth of application. Summary of the Invention

[0004] The main objective of this application is to provide a system, apparatus, method, readable storage medium, and electronic device for generating intelligent dialogue, which solves the problem of how to achieve personalized interaction in existing role-playing devices, thereby enhancing interactivity and educational value.

[0005] To achieve the above objectives, this invention proposes an intelligent dialogue generation device, which serves as a detachable external recognition component and is physically connected to a role-interaction device to establish communication; the device includes:

[0006] A role recognition unit is used to identify the role tag of the role interaction device that establishes communication, so as to identify the role of the role interaction device; wherein, the role tag is used to record the role identifier and corresponding personality characteristic information;

[0007] A character resource download unit is used to communicate with a resource server to download resources related to the identified character; wherein, the resource server is used to store and manage resource information related to the interactive character;

[0008] A character configuration unit is used to switch to a corresponding configuration based on the downloaded resources; wherein the configuration is character interaction features; and

[0009] The character interaction control unit is used to control the character interaction device to start the corresponding interaction according to the interaction characteristics configuration of the character configuration unit.

[0010] The character resource download unit is used to communicate with the resource server to download story audio resources related to the identified character.

[0011] The character configuration unit is used to configure the interactive characteristics of the character according to the downloaded story audio resources; wherein, the interactive characteristics include, but are not limited to, TTS timbre;

[0012] The character interaction control unit is used to send a playback command to the character interaction device according to the interaction characteristics configured by the character configuration unit, combined with a preset playlist or user command, so that the character interaction device responds to the playback command and plays the corresponding story audio.

[0013] The character resource download unit is used to communicate with the resource server to download dialogue resources related to the identified character; wherein the dialogue resources include preset dialogues, character-specific dialogue models, and TTS voice timbres.

[0014] The character interaction control unit is also used to configure the character's interaction characteristics according to the downloaded dialogue resources; wherein, the interaction characteristics include, but are not limited to, dialogue models, TTS timbre, and behavior patterns.

[0015] The character interaction control unit is used for:

[0016] The interactive device captures the user's voice command signals and converts them into command text data.

[0017] Based on the interaction characteristics configured in the role configuration unit and the user's command text data, a text response conforming to the role characteristics is generated; and

[0018] The generated text response is converted into speech, and a character-specific TTS voice is used to control the character's interactive device to play the converted speech.

[0019] The character interaction device is integrated with the smart doll, and the character tag is an RFID tag set on the shell of the smart doll;

[0020] The character intelligent connection device, as a detachable external identification component, is inserted into a specific position in the shell of the intelligent doll and establishes communication with the intelligent doll through the contact points set at the specific position;

[0021] The character intelligent connection device is used to establish communication with the character interaction device to activate the RFID reader set in the character intelligent connection device;

[0022] The character resource download unit is used to read the RFID tag of the smart doll through the RFID reader and identify the character of the smart doll; wherein, the smart doll has preset characters and personalities, and the RFID tag of the smart doll records the corresponding character identification and personality characteristic information.

[0023] The character interaction device is integrated with the smart control base, which in turn works with a compatible doll; the character tag is an NFC tag attached to the doll's shell.

[0024] The intelligent character connection device, as a detachable external identification component, is inserted into a specific position on the intelligent control base to activate the NFC reader of the intelligent character connection device and establish a communication connection with the control base;

[0025] The character resource download unit is used to communicate with the doll's NFC tag through the NFC reader to identify the doll's character; wherein, the doll has preset characters and personalities, and the doll's NFC tag records the corresponding character identifier and personality characteristic information.

[0026] To achieve the above objectives, the present invention also proposes an intelligent dialogue generation system, comprising:

[0027] Resource servers are used to store and manage resource information related to interactive characters;

[0028] A character interaction device is provided, with corresponding character tags; wherein, the character tags are used to record character identifiers and corresponding personality trait information;

[0029] The system also includes the role-connected intelligent device described above.

[0030] To achieve the above objectives, the present invention also proposes an intelligent dialogue generation method, the method comprising:

[0031] The character-connected device, as a detachable external identification component, connects to the character interaction device physically to establish communication.

[0032] Identify the role tag of the role interaction device that establishes communication to identify the role of the role interaction device; wherein, the role interaction device is set with a corresponding role tag, and the role tag is used to record the role identifier and corresponding personality trait information;

[0033] The system communicates with a resource server to download and identify resources related to the role; wherein the resource server is used to store and manage resource information related to the interactive role.

[0034] Switch to the corresponding configuration based on the downloaded resources; wherein, the configuration is character interaction features; and

[0035] Based on the interaction feature configuration, control the character interaction device to initiate the corresponding interaction.

[0036] Specifically, communicating with the resource server to download resources related to the identified character involves: communicating with the resource server to download story audio resources related to the identified character;

[0037] Switch to the corresponding configuration based on the downloaded resources, specifically: configure the character's interactive characteristics based on the downloaded story audio resources; wherein, the interactive characteristics include, but are not limited to, TTS timbre;

[0038] According to the interaction feature configuration of the character configuration unit, the character interaction device is controlled to start the corresponding interaction. Specifically, according to the configured interaction features, combined with the preset playlist or user command, a playback command is sent to the character interaction device, so that the character interaction device responds to the playback command and plays the corresponding story audio.

[0039] Specifically, communicating with the resource server to download resources related to the identified role involves: communicating with the resource server to download dialogue resources related to the identified role; wherein the dialogue resources include preset dialogues, role-specific dialogue models, and TTS voice timbres.

[0040] Switching to the corresponding configuration based on the downloaded resources specifically involves configuring the character's interaction characteristics based on the downloaded dialogue resources; wherein, the interaction characteristics include, but are not limited to, dialogue models, TTS timbre, and behavioral patterns.

[0041] Based on the interaction feature configuration of the character configuration unit, the character interaction device is controlled to initiate the corresponding interaction, specifically:

[0042] The interactive device captures the user's voice command signals and converts them into command text data.

[0043] Based on the configured interaction characteristics and the user's command text data, generate text responses that match the role's characteristics; and

[0044] The generated text response is converted into speech, and a character-specific TTS voice is used to control the character's interactive device to play the converted speech.

[0045] The character interaction device is integrated with the smart doll, and the character tag is an RFID tag set on the shell of the smart doll;

[0046] The character-connected device, as a detachable external identification component, connects physically to the character's interactive device to establish communication, specifically as follows:

[0047] The character intelligent connection device, as a detachable external identification component, is inserted into a specific position in the shell of the intelligent doll and establishes communication with the intelligent doll through the contact points set at the specific position;

[0048] Identify the role tag of the role interaction device that establishes communication, in order to identify the role of the role interaction device, specifically:

[0049] Establish communication with the character interaction device to activate the RFID reader set up by the character smart connection device;

[0050] The RFID reader reads the RFID tag of the smart doll to identify the role of the smart doll; wherein, the smart doll has a preset role and personality, and the RFID tag of the smart doll records the corresponding role identification and personality characteristic information.

[0051] The character interaction device is integrated with the smart control base, which in turn works with a compatible doll; the character tag is an NFC tag attached to the doll's shell.

[0052] The character intelligent connection device, as a detachable external identification component, is inserted into a specific position on the intelligent control base to activate the NFC reader of the character intelligent connection device and establish a communication connection with the intelligent doll;

[0053] Identify the role tag of the role interaction device that establishes communication, in order to identify the role of the role interaction device, specifically:

[0054] The NFC reader communicates with the NFC tag of the doll to identify the doll's character; wherein the doll has a preset character and personality, and the doll's NFC tag records the corresponding character identifier and personality characteristic information.

[0055] To achieve the above objectives, the present invention also proposes a readable storage medium storing a computer program, the computer program including program instructions, which, when executed by a processor of an electronic device, cause the processor to perform the steps of the intelligent dialogue generation method described above.

[0056] To achieve the above objectives, the present invention also proposes an electronic device, comprising: a processor and a memory, wherein the memory is used to store computer program code, the computer program code including computer instructions, and when the processor executes the computer instructions, the electronic device performs the steps of the intelligent dialogue generation method as described above.

[0057] The beneficial effects of this application are as follows: Unlike existing technologies, this application provides an intelligent dialogue generation device, system, method, readable storage medium, and electronic device. By combining a character-connected intelligent device with a device integrating a character interaction device (such as a smart doll or smart control base), it achieves automatic character recognition and personalized interaction. The character-connected intelligent device identifies the character tag of the smart doll using RFID technology and downloads corresponding story audio resources and dialogue resources from a resource server. Based on the downloaded resources, it configures the interactive characteristics of the smart doll, converts the user's voice commands into text, generates responses using a character-specific dialogue model, and plays them using TTS technology. This application provides a character interaction device capable of personalized interaction based on character characteristics and user commands, enhancing user immersion and satisfaction. This solves the problem of how to achieve personalized interaction in existing character interaction devices, thereby improving interactivity and educational value. Attached Figure Description

[0058] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.

[0059] Figure 1 This is a schematic diagram of one embodiment of the intelligent dialogue generation system provided by the present invention;

[0060] Figure 2 yes Figure 1 A schematic diagram of one embodiment of the role-connected intelligent device is shown.

[0061] Figure 3 This is a schematic diagram showing the integration of the character interaction device and the intelligent control base;

[0062] Figure 4 This is a flowchart illustrating the first embodiment of an intelligent dialogue generation method provided by the present invention;

[0063] Figure 5 This is a flowchart illustrating a second embodiment of an intelligent dialogue generation method provided by the present invention;

[0064] Figure 6 This is a flowchart illustrating the third embodiment of an intelligent dialogue generation method provided by the present invention;

[0065] Figure 7 This is a flowchart illustrating the fourth embodiment of an intelligent dialogue generation method provided by the present invention;

[0066] Figure 8 This is a flowchart illustrating the fifth embodiment of an intelligent dialogue generation method provided by the present invention;

[0067] Figure 9 yes Figure 8 A flowchart illustrating one embodiment of step S541b is shown.

[0068] Figure 10 This is a schematic diagram of the hardware structure of an electronic device provided by the present invention.

[0069] The reference numerals used in the above figures are explained as follows:

[0070] 10. Intelligent dialogue generation system;

[0071] 20. Character intelligent connection device; 21. Character recognition unit; 22. Character resource download unit; 23. Character configuration unit; 24. Character interaction control unit;

[0072] 30. Interactive installations for characters;

[0073] 40. Resource Server;

[0074] 6. Electronic device; 61. Processor; 62. Memory; 63. Input device; 64. Output device. Detailed Implementation

[0075] The present application will now be described in further detail with reference to the accompanying drawings and embodiments. It should be noted that the following embodiments are for illustrative purposes only and do not limit the scope of the application. Similarly, the following embodiments are only some, not all, embodiments of the present application, and all other embodiments obtained by those skilled in the art without inventive effort are within the scope of protection of this application.

[0076] The terms "first," "second," and "third" in this application are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first," "second," or "third" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified. All directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of this application are only used to explain the relative positional relationships and movements between components in a specific orientation (as shown in the figures). If the specific orientation changes, the directional indications also change accordingly. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. A process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices.

[0077] In this document, the term "implementation" means that a specific feature, structure, or characteristic described in connection with an implementation may be included in at least one implementation of this application. The appearance of this phrase in various places in the specification does not necessarily refer to the same implementation, nor is it a separate or alternative implementation mutually exclusive with other implementations. It will be explicitly and implicitly understood by those skilled in the art that the implementations described herein can be combined with other implementations.

[0078] Please see Figure 1 This is a schematic diagram of the structure of an intelligent dialogue generation system provided by the present invention. Specifically, the system 10 includes: a character intelligent connection device 20, a character interaction device 30, and a resource server 40, realizing intelligent interaction and dialogue generation of characters.

[0079] The resource server 40 is used to store and manage resource information related to interactive characters. The character interaction device 30 is set with corresponding character tags; wherein, the character tags are used to record character identifiers and corresponding personality trait information. The character intelligent connection device 20 is used to identify the character tags of the character interaction device 30 to identify the character of the character interaction device 30; access the resource server 40 to download resources related to the identified character; and control the character interaction device 30 to establish corresponding character interactions with the user based on the downloaded resources.

[0080] Specifically, the system includes: Character Identification: Character tags serve as unique identifiers to distinguish different interactive characters within the system. Each character has a unique tag, similar to an ID number, ensuring accurate identification. Personality Information: Character tags record each character's personality traits, such as lively, serious, or humorous. These traits guide the dialogue generation system in constructing and responding to dialogues that align with the character's personality. Feature Information: In addition to personality, character tags can record other characteristics such as age, gender, occupation, and interests, enriching the character's personality and backstory. Resource Links: Character tags are linked to specific audio, text, and image resources; these resources include the character's voice, appearance descriptions, and typical behaviors, providing a richer and more personalized experience during interaction. Dialogue Scripts: Character tags may also link to pre-defined dialogue scripts or interaction guidelines, customized based on the character's personality and background to ensure dialogue coherence and consistency. Behavioral Patterns: Character tags record the character's behavioral patterns in specific situations, guiding the system on how to respond to user input. For example, a courageous character might exhibit a positive attitude when facing challenges. Reaction Patterns: Tags may also include a character's response patterns to specific stimuli, such as reactions to praise or criticism. These help the system generate more natural and authentic dialogue. Personalized Experience: Character tags enable the system to customize dialogue and behavior based on the user's interaction history with the character, providing a personalized user experience. Adaptive Learning: By analyzing user interactions with characters, the system can learn user preferences and adjust the character's behavior and dialogue style to better suit the user.

[0081] Furthermore, a role tag can be a data structure containing multiple fields, such as a record in a database, with each field storing different information about the role. Role tags can be identified by smart devices connected to the role via NFC, RFID, QR codes, or visual recognition technologies, thereby triggering corresponding resource downloads and interactive activation.

[0082] Specifically, the resource information stored in the resource server 40 may include:

[0083] 1. Character audio resources:

[0084] Awakening Word: Each character has a unique awakening word used to activate interaction with the doll.

[0085] Welcome audio: The greeting when a character is awakened, increasing the sense of intimacy in the interaction.

[0086] Audio content resources: including stories, songs, dialogues, etc., providing rich background and interactive content for the characters.

[0087] 2. Role-specific dialogue model:

[0088] Large Model: An AI model used to generate character responses, trained according to the characteristics of different characters.

[0089] Character Prompt Settings: Customized dialogue prompts for each character to ensure responses align with their personality and background.

[0090] 3. Text and scripts:

[0091] Preset Dialogues: Preset dialogue scripts prepared for common questions and scenarios.

[0092] Interaction Guidelines: Instruct roles on how to respond to specific types of user input.

[0093] 4. Character Configuration File:

[0094] Character attributes: including the character's name, personality, backstory, etc.

[0095] Role behavior: Defines the behavioral patterns of a character in different situations.

[0096] 5. User interaction data:

[0097] Historical dialogue records: Records the historical dialogues between the user and the doll, which is used to optimize the dialogue model.

[0098] User preference settings: Stores the user's personalized settings for the doll, such as volume, language, etc.

[0099] 6. Updates and Patches:

[0100] Software updates: Software updates for systems and roles to keep systems secure and up-to-date.

[0101] Content updates: Regularly updated character stories and dialogue content keep the interaction fresh.

[0102] The resource server 40 stores all the necessary information, enabling the intelligent character interaction device 30 to engage in rich and personalized interactions with the user. For example, the educational stories and interactive games stored in the resource server 40 allow the intelligent character interaction device 30 to assist users in learning new knowledge; through character-specific jokes and humorous dialogues, the resource server 40 enriches the entertainment functions of the character interaction device 30.

[0103] Please also refer to Figure 2 The character intelligent connection device 20 includes a character recognition unit 21, a character resource download unit 22, a character configuration unit 23, and a character interaction control unit 24.

[0104] The role recognition unit 21 is used to identify the role tag of the role interaction device 30 that establishes communication, so as to identify the role of the role interaction device; wherein, the role tag is used to record the role identifier and corresponding personality characteristic information.

[0105] The character resource download unit 22 is used to communicate with the resource server 40 to download resources related to the identified character; wherein, the resource server 40 is used to store and manage resource information related to the interactive character.

[0106] The role configuration unit 23 is used to switch to the corresponding configuration according to the downloaded resources; wherein, the configuration is a role interaction feature.

[0107] Specifically, the character interaction features include, but are not limited to, dialogue models, TTS timbre, and behavioral patterns. The character configuration unit 23 is used to: download and apply dialogue models that match the character's personality traits to ensure that the dialogue content is consistent with the character's personality; select or adjust the TTS timbre according to the character's characteristics (such as age, gender, and personality) to match the character's voice with their image; and set the character's behavioral responses in different situations, such as changes in lighting and action responses, to enhance the character's interactivity and realism.

[0108] The character interaction control unit 24 is used to control the character interaction device 30 to start the corresponding interaction according to the interaction feature configuration of the character configuration unit 23.

[0109] Specifically, the interaction includes, but is not limited to, voice dialogue, emotional expression, behavioral actions, and user command responses. The character interaction control unit 24 is used to: generate and play the character's response based on the user's voice commands and a preset dialogue model to achieve natural and fluent voice interaction; control the character interaction device to express emotions, such as happiness, sadness, or excitement, through light, sound, and actions to enhance emotional communication; control the character interaction device to perform specific actions, such as nodding, waving, or dancing, based on the dialogue content and the character's personality to increase the fun and appeal of the interaction; and receive and process the user's voice or physical commands, such as "play a story," "sing," or "dance," and trigger corresponding interactive behaviors.

[0110] In one embodiment, the character interaction device 30 is integrated into the smart doll itself. The character intelligent connection device 20, as a detachable external identification component, is inserted into a specific location within the smart doll's shell and contacts the internal circuitry of the smart doll via contacts at that specific location, enabling communication between the character intelligent connection device 20 and the internal circuitry. The character intelligent connection device 20 establishes communication with the character interaction device to activate the RFID reader installed on the character intelligent connection device 20. The RFID reader is activated when inserted into the doll's shell. The character resource download unit 22 is used to read the RFID tag of the smart doll through the RFID reader to identify the character of the smart doll. The smart doll has preset characters and personalities, and the RFID tag of the smart doll records the corresponding character identifier and personality characteristic information.

[0111] The smart doll has a built-in microphone, which can capture the user's language commands through the character intelligent connection device 20 to generate corresponding responses and convert the responses into the doll's "voice". The smart doll can also express emotions and enhance the interactive experience through lights, sounds, and movements. Each smart doll can be preset with different roles and personalities, and the character intelligent connection device 20 controls the character interaction device 30 to conduct personalized dialogues and behaviors by downloading character resources from the resource server 40.

[0112] Please also refer to Figure 3In another embodiment, the character interaction device 30 is integrated with a smart control base 300, which works with a compatible doll 301. The character tag is an NFC tag attached to the shell of the doll 301. The character smart connection device 20, as a detachable external identification component, is inserted into a specific position on the smart control base, activating its NFC reader and establishing a communication connection with the smart control base. Specifically, the necessary hardware components of the character interaction device 30, such as a microphone, speaker, processor, and wireless communication module, are integrated into the smart control base, enabling the smart control base to directly interact with the doll placed on it. The character smart connection device 20 has a built-in NFC reader, which, when inserted into the smart control base, can read the character information used with the doll via NFC technology. The character resource download unit 22 communicates with the NFC tag on the shell of the doll 301 through the NFC reader, thereby automatically identifying the doll character. The doll 301 has preset characters and personalities, and the NFC tag of the doll 301 records the corresponding character identifier and personality characteristic information. After identifying a role, the role resource download unit 22 communicates with the resource server 40 via a wireless network to request the download of resources related to that role. After downloading the relevant resources, the role intelligent connection device 20 transmits a control signal to the role interaction device 30 via the intelligent control base to initiate an interactive dialogue with the user.

[0113] In one embodiment, the character resource download unit 22 communicates with the resource server to download and identify story audio resources related to the character. The character configuration unit 23 configures the character's interactive characteristics based on the downloaded story audio resources; wherein, the interactive characteristics include, but are not limited to, TTS timbre. The character interaction control unit 24, based on the interactive characteristics configured by the character configuration unit 23 and in conjunction with a preset playlist or user command, sends a playback command to the character interaction device, causing the character interaction device to respond to the playback command and play the corresponding story audio.

[0114] Specifically, after the character-connected device 20 identifies a character, it requests the resource server 40 to download story audio resources related to that character via a wireless network. These resources may include various chapters of the story, specific dialogue segments, background music, etc. The downloaded resources are stored in the local memory of the character interaction device 20 (e.g., a smart control base or smart doll) so that the character interaction control unit 24 can access and control these resources. The character interaction control module 23 sends a playback command to the character interaction device 30 according to a preset playlist or user instructions. Upon receiving the playback command, the character interaction device 30 begins playing the specified story audio.

[0115] If a user issues a specific voice command, such as "next story" or "repeat playback," the character interaction control unit 24 recognizes the command and adjusts the playback accordingly. For example, if a child says "next story," the character interaction control unit 24 instructs the character interaction device 30 to jump to the next chapter of the story. The character interaction control unit 24 ensures that the story audio plays in the correct order and synchronizes background music and dialogue when necessary.

[0116] The character interaction control unit 24 can also adjust the playback strategy based on user feedback or interactive behavior to provide a more personalized experience. For example, if a user repeatedly requests to listen to the same chapter, the character interaction control unit 24 may record this preference and prioritize it in future playback. For example, if a user requests to listen to a story before bed, the character interaction control module 23 will play the corresponding story audio based on the user's selection.

[0117] In another embodiment, the character resource download unit 22 communicates with the resource server 40 to download dialogue resources related to the identified character; wherein, the dialogue resources include preset dialogues, character-specific dialogue models, and TTS timbres. The character interaction control unit 24 configures the character's interaction characteristics according to the downloaded dialogue resources; wherein, the interaction characteristics include, but are not limited to, dialogue models, TTS timbres, and behavior patterns. The character interaction control unit 24 converts the user's voice command signals captured by the character interaction device 30 into command text data; generates a text response that conforms to the character characteristics according to the interaction characteristics configured by the character configuration unit 23 and the user's command text data; and converts the generated text response into speech, using a character-specific TTS timbre to control the character interaction device 30 to play the converted speech.

[0118] Specifically, when the character-connected device 20 identifies the character of the character interaction device 30, it requests the resource server 40 to download dialogue resources related to that character, including preset dialogues, character-specific dialogue models, and TTS voice timbres. The downloaded resources are stored in the local memory of the character interaction device 30 (e.g., a smart control dock or smart doll) so that the character interaction control module 23 can access and control these resources. The character interaction device 30 has a built-in microphone to capture the user's voice commands. The character interaction control unit 24 converts the voice signals into text data for further processing.

[0119] The character interaction control unit 24 uses the downloaded character-specific dialogue model and Prompt settings, combined with the user's command text, to generate a response that conforms to the character's characteristics.

[0120] The character interaction control unit 24 converts the generated text response into speech, using a character-specific TTS voice. The speaker of the character interaction device 30 plays the converted speech, enabling voice interaction with the user.

[0121] The character interaction control unit 24 controls the doll's lights, sounds, and movements to express emotions and respond to user interactions. For example, if the dialogue involves happy or sad emotions, the doll can express these emotions by changing the color of the lights or playing specific sounds.

[0122] Furthermore, the character interaction control unit 24 can adjust its dialogue strategy based on user feedback or interactive behavior to provide a more personalized experience. For example, if a user frequently asks specific types of questions, the character interaction control unit 24 can optimize the dialogue model to respond to these queries more accurately. If the speech recognition result is unclear or the user's command exceeds a preset range, the character interaction control unit 24 can provide a default response or request the user to repeat the command. For example, if a user asks the doll, "How's the weather today?", the character interaction control unit 24 generates and plays the response, "It's a sunny day today, perfect for going to the park." For example, if a user requests to hear a story, the character interaction control unit 24 controls the character interaction device 30 to play an educational story and synchronizes the doll's movements according to the story content. When a user expresses anxiety or sadness, the character interaction control unit 24 generates comforting dialogue and controls the doll to provide emotional support through light and sound.

[0123] The role-interaction control unit 24 utilizes a downloaded role-specific dialogue model and Prompt settings, combined with the user's command text, to generate responses that conform to the role's characteristics. Specifically, this includes: collecting data through interaction with the user, including the user's voice commands, dialogue content, and behavioral patterns; recording user feedback on dialogue responses, such as whether the user is satisfied with the response or has any further questions; analyzing user interaction data to identify the user's language habits, preferences, and behavioral patterns; using natural language processing technologies, such as intent recognition and entity extraction, to understand the user's commands and needs; using the collected data to train machine learning models, such as classifiers and prediction models, to improve the accuracy of dialogue generation; training or adjusting personalized dialogue models for each user to better adapt to the user's unique needs and preferences; maintaining the dialogue context so that the system can understand the history and current state of the dialogue, thereby generating more relevant and coherent responses; and adjusting dialogue strategies based on user feedback and behavior to make the dialogue more tailored to the user's needs.

[0124] Furthermore, the role interaction control unit 24 continuously learns and updates the dialogue model in real time while interacting with the user; it periodically uses collected data to train the model offline to improve performance; it allows users to provide direct feedback, such as evaluating the quality or relevance of dialogue responses; and it indirectly collects feedback information through user behavior (such as repeating questions, ignoring replies, etc.). The role interaction control unit 24 also customizes dialogue content and style based on user preferences and historical interactions; provides personalized content recommendations, such as stories, games, or educational content; uses deep learning techniques, such as neural networks, to handle complex language patterns and user behaviors; and utilizes a model pre-trained on large amounts of data, fine-tuning it on specific user data to adapt to new users.

[0125] The following is a detailed application example that explains in detail the working principle of the intelligent dialogue generation system.

[0126] The smart doll integrates a character interaction device 30, including a microphone, speaker, processor, and memory for storing character resources. The user inserts the character connection device 20 into a specific slot in the smart doll, which contains contacts for establishing a physical connection with the smart doll.

[0127] The character-connected device 20 has a built-in RFID reader. When the smart doll is inserted, it automatically reads the RFID tag on the doll's shell and identifies the doll's character and personality traits.

[0128] The character-connected device 20 communicates with the resource server 40 via a wireless network and downloads story audio resources and dialogue resources (including preset dialogues, character-specific dialogue models, and TTS timbres) related to the identified character based on the identified character information.

[0129] After the download is complete, the character configuration unit 23 configures the interactive characteristics of the smart doll according to the downloaded resources, such as dialogue model parameters, TTS timbre settings, behavior pattern definition, and emotional expression adjustment.

[0130] When a user begins to interact with the smart doll, the doll's microphone captures the child's voice commands. The character interaction control unit 24 converts the captured voice command signals into text data. Using a downloaded character-specific dialogue model and Prompt settings, the character interaction control unit 24 combines the user's command text data to generate a text response that matches the character's characteristics. The generated text response is then converted into speech using TTS technology, and the smart doll's speaker plays the converted speech using a character-specific TTS tone, enabling voice interaction with the user.

[0131] While playing story audio or dialogue, the character interaction control unit 24 synchronously controls the intelligent doll's emotional expression and behavioral actions, such as light changes and action responses, to enhance the story's appeal and impact.

[0132] If the user issues a specific voice command, such as "play the next story" or "repeat this story", the character interaction control unit 24 recognizes these commands and adjusts the playlist. The smart doll responds to the playback command and plays the corresponding story audio.

[0133] As described above, this application provides an intelligent dialogue generation system that combines a character-connected device with a device integrating character interaction (e.g., a smart doll or a smart control base) to achieve automatic character recognition and personalized interaction. The character-connected device identifies the smart doll's character tag using RFID technology, downloads corresponding story audio and dialogue resources from a resource server, configures the smart doll's interactive characteristics based on the downloaded resources, converts the user's voice commands into text, generates responses using a character-specific dialogue model, and plays them using TTS technology. This application provides a character interaction device capable of personalized interaction based on character characteristics and user commands, enhancing user immersion and satisfaction. This solves the problem of how to achieve personalized interaction in existing character interaction devices, thereby improving interactivity and educational value.

[0134] Please see Figure 4 This is a flowchart illustrating a first embodiment of an intelligent dialogue generation method provided by the present invention. The method includes the following steps:

[0135] In step S50, the character intelligent connection device 20, as a detachable external identification component, establishes communication with the character interaction device 30 through physical means.

[0136] Step S51: Identify the role tag of the role interaction device 20 that establishes communication, so as to identify the role of the role interaction device 20.

[0137] The character interaction device 20 is equipped with corresponding character tags, which are used to record character identifiers and corresponding personality traits.

[0138] In the intelligent dialogue generation system, "role tags" are used to identify and distinguish different interactive roles and record specific information related to each role.

[0139] Specifically, the system includes: Character Identification: Character tags serve as unique identifiers to distinguish different interactive characters within the system. Each character has a unique tag, similar to an ID number, ensuring accurate identification. Personality Information: Character tags record each character's personality traits, such as lively, serious, or humorous. These traits guide the dialogue generation system in constructing and responding to dialogues that align with the character's personality. Feature Information: In addition to personality, character tags can record other characteristics such as age, gender, occupation, and interests, enriching the character's personality and backstory. Resource Links: Character tags are linked to specific audio, text, and image resources; these resources include the character's voice, appearance descriptions, and typical behaviors, providing a richer and more personalized experience during interaction. Dialogue Scripts: Character tags may also link to pre-defined dialogue scripts or interaction guidelines, customized based on the character's personality and background to ensure dialogue coherence and consistency. Behavioral Patterns: Character tags record the character's behavioral patterns in specific situations, guiding the system on how to respond to user input. For example, a courageous character might exhibit a positive attitude when facing challenges. Reaction Patterns: Tags may also include a character's response patterns to specific stimuli, such as reactions to praise or criticism. These help the system generate more natural and authentic dialogue. Personalized Experience: Character tags enable the system to customize dialogue and behavior based on the user's interaction history with the character, providing a personalized user experience. Adaptive Learning: By analyzing user interactions with characters, the system can learn user preferences and adjust the character's behavior and dialogue style to better suit the user.

[0140] Furthermore, a role tag can be a data structure containing multiple fields, such as a record in a database, with each field storing different information about the role. Role tags can be identified by smart devices connected to the role via NFC, RFID, QR codes, or visual recognition technologies, thereby triggering corresponding resource downloads and interactive activation.

[0141] Step S52: Communicate with the resource server 40 to download resources related to the identified role.

[0142] The resource server 40 is used to store and manage resource information related to interactive characters.

[0143] Specifically, the resource information stored in the resource server 40 may include:

[0144] 1. Character audio resources:

[0145] Awakening Word: Each character has a unique awakening word used to activate interaction with the doll.

[0146] Welcome audio: The greeting when a character is awakened, increasing the sense of intimacy in the interaction.

[0147] Audio content resources: including stories, songs, dialogues, etc., providing rich background and interactive content for the characters.

[0148] 2. Role-specific dialogue model:

[0149] Large Model: An AI model used to generate character responses, trained according to the characteristics of different characters.

[0150] Character Prompt Settings: Customized dialogue prompts for each character to ensure responses align with their personality and background.

[0151] 3. Text and scripts:

[0152] Preset Dialogues: Preset dialogue scripts prepared for common questions and scenarios.

[0153] Interaction Guidelines: Instruct roles on how to respond to specific types of user input.

[0154] 4. Character Configuration File:

[0155] Character attributes: including the character's name, personality, backstory, etc.

[0156] Role behavior: Defines the behavioral patterns of a character in different situations.

[0157] 5. User interaction data:

[0158] Historical dialogue records: Records the historical dialogues between the user and the doll, which is used to optimize the dialogue model.

[0159] User preference settings: Stores the user's personalized settings for the doll, such as volume, language, etc.

[0160] 6. Updates and Patches:

[0161] Software updates: Software updates for systems and roles to keep systems secure and up-to-date.

[0162] Content updates: Regularly updated character stories and dialogue content keep the interaction fresh.

[0163] Step S53: Switch to the corresponding configuration based on the downloaded resources.

[0164] The configuration mentioned here refers to character interaction features.

[0165] Step S54: Based on the interaction feature configuration, control the character interaction device 30 to start the corresponding interaction.

[0166] Please also refer to Figure 5In one embodiment, the character interaction device 30 is integrated into the smart doll, and the character tag is an RFID tag set on the shell of the smart doll.

[0167] The smart doll has a built-in microphone that can play corresponding sounds in response to the control of the character smart connection device 20. It is also equipped with corresponding light-emitting components and motion components, which can express corresponding emotions and personalized interactions through light, sound and motion in response to the control of the character smart connection device 20.

[0168] Step S50: The character intelligent connection device 20, as a detachable external identification component, establishes communication with the character interaction device 30 through physical means, specifically as follows:

[0169] In step S500a, the character intelligent connection device 20, as a detachable external identification component, is inserted into a specific position in the shell of the intelligent doll and establishes communication with the intelligent doll through the contact point set at the specific position.

[0170] Step S51, identifying the role tag of the role interaction device 20 that established communication, in order to identify the role of the role interaction device 20, specifically includes:

[0171] Step S510a: Establish communication with the character interaction device 30 to activate the RFID reader set in the character smart connection device 20;

[0172] Step S511a: The RFID tag of the smart doll is read by the RFID reader to identify the role of the smart doll.

[0173] The smart doll has preset roles and personalities, and its RFID tag records the corresponding role identification and personality characteristics.

[0174] Please also refer to Figure 6 In another embodiment, the character interaction device 30 is integrated with a smart control base, which works with a compatible doll; the character tag is an NFC tag set on the doll's shell.

[0175] The necessary hardware components of the character interaction device 30, such as microphone, speaker, processor, and wireless communication module, are integrated into the smart control base, enabling the smart control base to directly interact with the doll placed on it.

[0176] Step S50: The character intelligent connection device 20, as a detachable external identification component, establishes communication with the character interaction device 30 through physical means, specifically as follows:

[0177] In step S500b, the character intelligent connection device 20, as a detachable external identification component, is inserted into a specific position of the intelligent control base to activate the NFC reader of the character intelligent connection device 20 and establish a communication connection with the intelligent doll.

[0178] Step S51, identifying the role tag of the role interaction device 20 that established communication, in order to identify the role of the role interaction device 20, specifically includes:

[0179] Step S510b: The NFC reader communicates with the NFC tag of the doll to identify the doll character.

[0180] The doll has a preset role and personality, and the doll's NFC tag records the corresponding role identifier and personality characteristic information.

[0181] Please also refer to Figure 7 In one embodiment, step S52, communicating with the resource server 40 to download resources related to the identified role, specifically involves:

[0182] Step S520a: Communicate with the resource server 40 to download the story audio resources related to the identified character.

[0183] The audio resources of the story may include various chapters of the story, distinctive dialogue segments, background music, etc.

[0184] Step S53: Switch to the corresponding configuration based on the downloaded resources, specifically as follows:

[0185] Step S530a: Configure the character's interactive characteristics according to the downloaded story audio resources.

[0186] The interactive features include, but are not limited to, TTS timbre.

[0187] Step S54: Based on the interaction feature configuration, control the character interaction device 30 to initiate the corresponding interaction, specifically as follows:

[0188] Step S540a: Based on the configured interactive features and in conjunction with a preset playlist or user command, a playback command is sent to the character interaction device 30, causing the character interaction device 30 to respond to the playback command and play the corresponding story audio.

[0189] The preset playlist is a pre-defined sequence of story audio resources, arranged according to character traits, story coherence, or educational objectives. Without specific user instructions, the system can automatically play the story audio according to the preset playlist, ensuring the smooth flow of the story and the systematic nature of the educational content.

[0190] The user commands refer to playback requests given by the user via voice or physical buttons, such as "play the next story," "repeat this story," or "play the story about XX." The system can adjust the playlist based on the user's commands, responding immediately to the user's needs and providing a more personalized playback experience.

[0191] In specific embodiments, preset playlists and user commands can be used in combination to provide flexible playback control. For example, the system can first ask the user if they wish to play the story according to the preset playlist, or if they have any special requests. If the user has no specific requests, the system will play according to the preset playlist; if the user has specific commands, the system will prioritize executing the user's commands and adjust the playback content accordingly.

[0192] Please also refer to Figure 8 In another embodiment, step S52, communicating with the resource server 40 to download resources related to the identified role, specifically involves:

[0193] Step S520b: Communicate with the resource server 40 to download dialogue resources related to the identified role.

[0194] The dialogue resources include preset dialogues, role-specific dialogue models, and TTS voices.

[0195] Step S53: Switch to the corresponding configuration based on the downloaded resources, specifically as follows:

[0196] Step S530b: Configure the character's interactive characteristics according to the downloaded dialogue resources.

[0197] The interactive features include, but are not limited to, dialogue models, TTS timbre, and behavioral patterns.

[0198] Step S54: Based on the interaction feature configuration, control the character interaction device 30 to initiate the corresponding interaction, specifically as follows:

[0199] Step S540b: The voice command signal captured by the character interaction device 30 is converted into command text data.

[0200] Step S541b: Generate a text response that matches the role characteristics based on the configured interaction features and the user's command text data;

[0201] Step S542b: The generated text reply is converted into speech, and a character-specific TTS voice is used to control the character interaction device 30 to play the converted speech.

[0202] Further, please refer to Figure 9Step S541b involves generating a text response that matches the user's role characteristics based on the configured interaction features and the user's command text data. Specifically, this includes:

[0203] Step S70: Collect interaction data through interaction with users, record user feedback on dialogue responses, analyze user interaction data, and identify users' language habits, preferences and behavioral patterns;

[0204] The interactive data includes the user's voice commands, dialogue content, and behavioral patterns; the feedback may include whether the user is satisfied with the response, whether there are any further questions, etc.

[0205] Step S71: Use natural language processing technology to understand the user's instructions and needs;

[0206] The natural language processing technology mentioned above can be intent recognition and entity extraction.

[0207] Step S72: Use the collected data to train a machine learning model and build a personalized dialogue model that can be trained or adjusted by the user.

[0208] The learning model can be a classifier, a prediction model, or something similar, to improve the accuracy of dialogue generation.

[0209] Step S73: Maintain the dialogue context and adjust the dialogue strategy based on user feedback and behavior to meet the user's needs.

[0210] In this embodiment, the advantages and beneficial effects of the intelligent dialogue generation system have been described above and will not be repeated here. Furthermore, since the intelligent dialogue generation method is applied to the intelligent dialogue generation system, the intelligent dialogue generation method also has the same advantages and beneficial effects.

[0211] One embodiment of the present invention also provides a readable storage medium storing a computer program, the computer program including program instructions, which, when executed by a processor of an electronic device, cause the processor to perform the steps of any of the above-described intelligent dialogue generation methods.

[0212] One embodiment of the present invention also provides an electronic device, including: a processor and a memory, the memory being used to store computer program code, the computer program code including computer instructions, and when the processor executes the computer instructions, the electronic device performs the steps of any of the above-described intelligent dialogue generation methods.

[0213] Please see Figure 10 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present invention.

[0214] The electronic device 6 includes a processor 61, a memory 62, an input device 63, and an output device 64. The processor 61, memory 62, input device 63, and output device 64 are coupled together via connectors, which may include various interfaces, transmission lines, or buses, etc., and are not limited in this respect in the embodiments of the present invention. It should be understood that in the various embodiments of the present invention, coupling refers to mutual connection through a specific method, including direct connection or indirect connection through other devices, such as through various interfaces, transmission lines, buses, etc.

[0215] Processor 61 can be one or more graphics processing units (GPUs). If processor 61 is a GPU, the GPU can be a single-core GPU or a multi-core GPU. Optionally, processor 61 can be a processor group composed of multiple GPUs, with the multiple processors coupled to each other via one or more buses. Optionally, the processor can also be other types of processors, etc., and the embodiments of the present invention are not limited thereto.

[0216] The memory 62 can be used to store computer program 65, as well as various types of computer program code, including program code for executing the present invention. Optionally, the memory may include at least random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or compact disc read-only memory (CD-ROM), which is used for related instructions and data.

[0217] Input device 63 is used to input data and / or signals, and output device 64 is used to output data and / or signals. Input device 63 and output device 64 can be independent devices or an integrated device.

[0218] It is understood that in this embodiment of the invention, the memory 62 can be used not only to store related instructions, but also the specific data stored in the memory is not limited.

[0219] Understandable Figure 8 This is merely a simplified design of an electronic device. In practical applications, the electronic device may also include other necessary components, including, but not limited to, any number of input / output devices, processors, memories, etc., and all control units of underwater robots that can implement embodiments of the present invention are within the scope of protection of the present invention.

[0220] The above description is only a partial embodiment of this application and does not limit the scope of protection of this application. Any equivalent device or equivalent process transformation made based on the content of this application specification and drawings, or directly or indirectly applied to other related technical fields, are similarly included within the scope of patent protection of this application.

Claims

1. An intelligent dialogue generation apparatus, characterized by comprising: The device, as a detachable external identification component, is physically connected to the character interaction device to establish communication; the device includes: A role recognition unit is used to identify the role tag of the role interaction device that establishes communication, so as to identify the role of the role interaction device; wherein, the role tag is used to record the role identifier and corresponding personality characteristic information; A character resource download unit is used to communicate with a resource server to download resources related to the identified character; wherein, the resource server is used to store and manage resource information related to the interactive character; A character configuration unit is used to switch to a corresponding configuration based on the downloaded resources; wherein the configuration is character interaction features; and The character interaction control unit is used to control the character interaction device to start the corresponding interaction according to the interaction characteristics configuration of the character configuration unit.

2. The intelligent dialog generation system of claim 1, wherein, The character resource download unit is used to communicate with the resource server to download story audio resources related to the identified character; The character configuration unit is used to configure the interactive characteristics of the character according to the downloaded story audio resources; wherein, the interactive characteristics include, but are not limited to, TTS timbre; The character interaction control unit is used to send a playback command to the character interaction device according to the interaction characteristics configured by the character configuration unit, combined with a preset playlist or user command, so that the character interaction device responds to the playback command and plays the corresponding story audio. 3.The intelligent dialog generation system of claim 1, wherein, The character resource download unit is used to communicate with the resource server to download dialogue resources related to the identified character; wherein, the dialogue resources include preset dialogues, character-specific dialogue models, and TTS voice timbres; The character interaction control unit is also used to configure the character's interaction characteristics according to the downloaded dialogue resources; wherein, the interaction characteristics include, but are not limited to, dialogue models, TTS timbre, and behavior patterns. The character interaction control unit is used for: The interactive device captures the user's voice command signals and converts them into command text data. Based on the interaction characteristics configured in the role configuration unit and the user's command text data, a text response conforming to the role characteristics is generated; and The generated text response is converted into speech, and a character-specific TTS voice is used to control the character's interactive device to play the converted speech.

4. The intelligent dialogue generation system according to claims 2 and 3, characterized in that, The character interaction device is integrated with the smart doll, and the character tag is an RFID tag set on the shell of the smart doll; The character intelligent connection device, as a detachable external identification component, is inserted into a specific position in the shell of the intelligent doll and establishes communication with the intelligent doll through the contact points set at the specific position; The character intelligent connection device is used to establish communication with the character interaction device to activate the RFID reader set in the character intelligent connection device; The character resource download unit is used to read the RFID tag of the smart doll through the RFID reader and identify the character of the smart doll; wherein, the smart doll has preset characters and personalities, and the RFID tag of the smart doll records the corresponding character identification and personality characteristic information.

5. The intelligent dialogue generation system according to claims 2 and 3, characterized in that, The character interaction device is integrated with the smart control base, which works with compatible dolls; the character tag is an NFC tag set on the doll's shell. The intelligent character connection device, as a detachable external identification component, is inserted into a specific position on the intelligent control base to activate the NFC reader of the intelligent character connection device and establish a communication connection with the control base; The character resource download unit is used to communicate with the doll's NFC tag through the NFC reader to identify the doll's character; wherein, the doll has preset characters and personalities, and the doll's NFC tag records the corresponding character identifier and personality characteristic information.

6. An intelligent dialogue generation system, characterized in that, include: Resource servers are used to store and manage resource information related to interactive characters; A character interaction device is provided, with corresponding character tags; wherein, the character tags are used to record character identifiers and corresponding personality trait information; The system also includes the role-connected device as described in any one of claims 1 to 5.

7. A method for generating intelligent dialogue, characterized in that, The method includes: The character-connected device, as a detachable external identification component, connects to the character interaction device physically to establish communication. Identify the role tag of the role interaction device that establishes communication to identify the role of the role interaction device; wherein, the role interaction device is set with a corresponding role tag, and the role tag is used to record the role identifier and corresponding personality trait information; The system communicates with a resource server to download and identify resources related to the role; wherein the resource server is used to store and manage resource information related to the interactive role. Switch to the corresponding configuration based on the downloaded resources; wherein, the configuration is character interaction features; and Based on the interaction feature configuration, control the character interaction device to initiate the corresponding interaction.

8. The intelligent dialogue generation method according to claim 7, characterized in that, Communicating with the resource server to download resources related to the identified character, specifically: communicating with the resource server to download story audio resources related to the identified character; Switch to the corresponding configuration based on the downloaded resources, specifically: configure the character's interactive characteristics based on the downloaded story audio resources; wherein, the interactive characteristics include, but are not limited to, TTS timbre; According to the interaction feature configuration of the character configuration unit, the character interaction device is controlled to start the corresponding interaction. Specifically, according to the configured interaction features, combined with the preset playlist or user command, a playback command is sent to the character interaction device, so that the character interaction device responds to the playback command and plays the corresponding story audio.

9. The intelligent dialogue generation method according to claim 7, characterized in that, Communicating with the resource server to download resources related to the identified role, specifically: communicating with the resource server to download dialogue resources related to the identified role; wherein, the dialogue resources include preset dialogues, role-specific dialogue models, and TTS voice timbres; Switching to the corresponding configuration based on the downloaded resources specifically involves configuring the character's interaction characteristics based on the downloaded dialogue resources; wherein, the interaction characteristics include, but are not limited to, dialogue models, TTS timbre, and behavioral patterns. Based on the interaction feature configuration of the character configuration unit, the character interaction device is controlled to initiate the corresponding interaction, specifically: The interactive device captures the user's voice command signals and converts them into command text data. Based on the configured interaction characteristics and the user's command text data, generate text responses that match the role's characteristics; and The generated text response is converted into speech, and a character-specific TTS voice is used to control the character's interactive device to play the converted speech.

10. The intelligent dialogue generation method according to claims 8 and 9, characterized in that, The character interaction device is integrated with the smart doll, and the character tag is an RFID tag set on the shell of the smart doll; The character-connected device, as a detachable external identification component, connects physically to the character's interactive device to establish communication, specifically as follows: The character intelligent connection device, as a detachable external identification component, is inserted into a specific position in the shell of the intelligent doll and establishes communication with the intelligent doll through the contact points set at the specific position; Identify the role tag of the role interaction device that establishes communication, in order to identify the role of the role interaction device, specifically: Establish communication with the character interaction device to activate the RFID reader set up by the character smart connection device; The RFID reader reads the RFID tag of the smart doll to identify the role of the smart doll; wherein, the smart doll has a preset role and personality, and the RFID tag of the smart doll records the corresponding role identification and personality characteristic information.

11. The intelligent dialogue generation method according to claims 8 and 9, characterized in that, The character interaction device is integrated with the smart control base, which works with compatible dolls; the character tag is an NFC tag set on the doll's shell. The character intelligent connection device, as a detachable external identification component, is inserted into a specific position on the intelligent control base to activate the NFC reader of the character intelligent connection device and establish a communication connection with the intelligent doll; Identify the role tag of the role interaction device that establishes communication, in order to identify the role of the role interaction device, specifically: The NFC reader communicates with the NFC tag of the doll to identify the doll's character; wherein the doll has a preset character and personality, and the doll's NFC tag records the corresponding character identifier and personality characteristic information.

12. A readable storage medium storing a computer program, characterized in that, The computer program includes program instructions that, when executed by the processor of the electronic device, cause the processor to perform the steps of the intelligent dialogue generation method as described in any one of claims 7 to 11.

13. An electronic device, comprising: A processor and a memory, characterized in that the memory is used to store computer program code, the computer program code including computer instructions, wherein when the processor executes the computer instructions, the electronic device performs the steps of the intelligent interaction method as described in any one of claims 7 to 11.