A digital human interaction device
By integrating a data input module, a control processing module, and a display module into a digital human interaction device, and adjusting the display screen height according to the user's height, the problem of inconvenient digital human interaction is solved, enabling comfortable and natural interaction and efficient immersive learning between the user and the digital human.
Patent Information
- Application Number
- CN202520855592.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-29
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2035-04-29
AI Technical Summary
Existing digital human interaction methods are not convenient enough, making it difficult for students and digital human teachers to interact comfortably and naturally.
A digital human interaction device was designed, including a data input module, a control processing module, and a display module. It generates response data and digital human animation videos by acquiring user input data, and adjusts the height of the display screen according to the user's height to ensure that the user can interact in a comfortable posture.
It improves the ease of interaction between users and digital humans, ensuring that users can interact with digital humans in a comfortable and natural manner, and enhancing the naturalness and immersion of the interaction.
Smart Images

Figure CN225018710U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of human-computer interaction technology, and in particular to a digital human-computer interaction device. Background Technology
[0002] Digital humans are computer-generated virtual digital avatars that closely resemble real people. They can perform actions similar to those of real people and interact with users in a highly realistic way. For example, in the field of smart education, digital humans can act as virtual teachers (i.e., digital human teachers), engaging in question-and-answer interactions with students to provide guidance. However, current digital human interaction is not convenient enough. For instance, it is difficult for students to interact comfortably and naturally with digital human teachers.
[0003] Therefore, how to improve the convenience of digital human interaction has become an urgent technical problem to be solved. Utility Model Content
[0004] The main objective of this application is to propose a digital human interaction device that aims to improve the convenience of digital human interaction.
[0005] To achieve the above objectives, a first aspect of this application provides a digital human interaction device, the digital human interaction device comprising:
[0006] The system includes a data input module, a control processing module, and a display module; wherein the display module includes a display screen and a display lifting unit.
[0007] The control processing module is communicatively connected to the data input module and the display screen, and the display screen is fixedly connected to the display lifting unit;
[0008] The data input module is used to acquire input data, and the control processing module is used to generate response data and digital human animation video based on the input data.
[0009] The control processing module is also used to control the display lifting unit to perform lifting actions according to the user's height in order to adjust the display screen;
[0010] The display screen is used to display the answer data and the digital human animation video.
[0011] In some embodiments, the display lifting unit includes a support lifting rod and a lifting rod driver;
[0012] The support lifting rod is electrically connected to the lifting rod driver, and the lifting rod driver is electrically connected to the control processing module;
[0013] The control processing module is used to control the lifting rod driver to drive the support lifting rod to perform lifting and lowering actions according to the user's height.
[0014] In some embodiments, the data input module includes a text input unit; the control processing module includes a text response generation unit, a text-to-audio conversion unit, a digital human motion generation unit, and a video rendering unit;
[0015] The text input unit, the text response generation unit, the text-to-audio conversion unit, the digital human motion generation unit, the video rendering unit, and the display screen are sequentially and communicatively connected; the text response generation unit is communicatively connected to the display screen.
[0016] The text input unit is used to acquire input text; the text response generation unit is used to generate a text response based on the input text; the text-to-audio unit is used to convert the text response into an audio response; the digital human motion generation unit is used to generate human motion data corresponding to the target audio; the video rendering unit is used to render the human motion data to obtain a digital human animation video; and the display screen is used to display the text response and the digital human animation video.
[0017] In some embodiments, the data input module further includes a voice input unit, and the control processing module further includes a voice-to-text unit;
[0018] The voice input unit, the text response generation unit, the voice-to-text unit, and the text response generation unit are sequentially connected in communication.
[0019] The voice input unit is used to acquire input voice; the voice-to-text unit is used to convert the input voice into text so that the text response generation unit can generate a text response.
[0020] In some embodiments, the text response generation unit includes a retrieval enhancement generation unit and a language processing unit;
[0021] The text input unit, the retrieval enhancement generation unit, and the language processing unit are sequentially connected in communication.
[0022] The retrieval enhancement generation unit is used to generate retrieval enhancement text based on the input text, and the language processing unit is used to determine the text response based on the retrieval enhancement text.
[0023] In some embodiments, the digital human interaction device further includes an audio playback module;
[0024] The audio playback module is communicatively connected to the control processing module; the audio playback module is used to play the audio response.
[0025] In some embodiments, the digital human interaction device further includes a camera sensing module;
[0026] The camera sensing module is communicatively connected to the control processing module;
[0027] The camera sensing module is used to detect users; the control processing module is also used to control the display module to play a digital human greeting video in response to the camera sensing module detecting users.
[0028] In some embodiments, the camera sensing module includes a camera;
[0029] The camera is positioned at the top of the display screen.
[0030] In some embodiments, the display module further includes a protective frame and a retainer;
[0031] The protective frame covers the portion of the display screen outside the screen, the protective frame is connected to the fixture, and the fixture is connected to the bracket lifting rod.
[0032] In some embodiments, the digital human interaction device further includes a support module; the support module includes a support base, a support rod, and a support tray;
[0033] The bracket base is fixedly connected to the support rod, and the support rod is fixedly connected to the bracket tray; the bracket tray is used to place the data input module.
[0034] The digital human interaction device proposed in this application acquires user input data through a data input module, and then generates response data and digital human animation video based on the input data through a control processing module. The response data and digital human animation video are then displayed on a screen, thereby enabling interaction between the digital human and the user. Furthermore, the control processing module controls the display lifting unit to perform lifting actions based on the user's height, thus flexibly adjusting the height of the display screen. In other words, it can adaptively adjust the height of the display screen based on the user's height, ensuring that the user can clearly see the content displayed on the screen (such as response data and digital human animation video) in a comfortable viewing posture. This application improves the convenience of interaction between the user and the digital human, ensuring that the user can interact with the digital human in a comfortable and natural posture. Attached Figure Description
[0035] Figure 1 This is a block diagram of the digital human interaction device provided in the embodiments of this application;
[0036] Figure 2 This is a schematic diagram of the structure of the digital human interaction device provided in the embodiments of this application;
[0037] Figure 3 This is a schematic diagram of the structure of a digital human interaction device provided in another embodiment of this application;
[0038] Figure 4 This is a block diagram of a digital human interaction device provided in another embodiment of this application;
[0039] Figure 5 This is an interaction flowchart of the digital human interaction device provided in the embodiments of this application;
[0040] Figure 6 This is a flowchart of the digital human generation process of the digital human interaction device provided in the embodiments of this application.
[0041] Reference numerals: 100, Data input module; 200, Control processing module; 300, Display module; 400, Speaker; 500, Camera; 600, Stand base; 700, Support rod; 800, Stand tray; 110, Text input unit; 111, Keyboard; 112, Mouse; 120, Voice input unit; 121, Microphone; 310, Display screen; 320, Display lifting unit; 321, Stand lifting rod; 330, Protective frame; 331, Processor placement compartment; 340, Fixture; 350, Display stand; 360, Display base. Detailed Implementation
[0042] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0043] It should be noted that although functional modules are divided in the device schematic diagram and a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first," "second," etc., in the specification, claims, and the aforementioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0044] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0045] First, let's analyze some of the terms used in this application:
[0046] Digital humans are digital virtual characters generated through computer technology, possessing a human (or anthropomorphic) appearance, voice, and / or body movements. They exist in digital space in digital form, exhibiting human-like or real-life appearances, behaviors, and characteristics. Digital humans can be two-dimensional images, three-dimensional models, or virtual characters with intelligent functions such as speech recognition and natural language processing, capable of interacting with users. Related technologies for digital humans mainly include computer graphics, image rendering, and artificial intelligence (AI).
[0047] Artificial Intelligence (AI) is a new technical science that studies and develops theories, methods, technologies, and application systems for simulating, extending, and expanding human intelligence. A branch of computer science, AI attempts to understand the essence of intelligence and produce intelligent machines that can react in a way similar to human intelligence. Research in this field includes robotics, speech recognition, image recognition, natural language processing, and expert systems. AI can be a simulation of the information processes of human consciousness and thought. It can also be the theory, methods, technologies, and application systems that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to obtain optimal results. Fundamental AI technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operating / interactive systems, and mechatronics. AI software technologies mainly include computer vision, robotics, biometrics, speech processing, natural language processing, and machine learning / deep learning. This application can acquire and process relevant data based on AI technology.
[0048] Central Processing Unit (CPU): The core component of computer hardware, responsible for executing instructions and processing data in programs.
[0049] Microcontroller Unit (MCU): A type of integrated circuit, specifically a single-chip microcomputer system that integrates a microprocessor core, memory, input / output interfaces, timers, and other functional modules.
[0050] Programmable Logic Controller (PLC): A digital electronic system that is widely used in automation control and can control various types of machinery or production processes.
[0051] The digital human interaction device provided in this application is specifically described through the following embodiments. First, the digital human interaction device in the embodiments of this application is described.
[0052] It should be noted that in the various specific embodiments of this application, when processing data related to user identity or characteristics, such as user information, user input data (e.g., voice or text input), user historical data, and user-related videos, user permission or consent will be obtained first. Furthermore, the collection, use, and processing of this data will comply with relevant laws, regulations, and standards. In addition, when embodiments of this application require access to sensitive personal information of users, separate permission or consent from the user will be obtained through pop-ups or redirects to confirmation pages. Only after obtaining the user's separate permission or consent will the necessary user-related data for the normal operation of the embodiments of this application be obtained.
[0053] Figure 1 This is an optional module block diagram of the digital human interaction device provided in the embodiments of this application. Figure 1 The digital human interaction device may include, but is not limited to, a data input module 100, a control processing module 200, and a display module 300; wherein, the display module 300 includes a display screen 310 and a display lifting unit 320;
[0054] The control processing module 200 is connected to the data input module 100 and the display screen 310, and the display screen 310 is fixedly connected to the display lifting unit 320.
[0055] The data input module 100 is used to acquire input data, and the control processing module 200 is used to generate response data and digital human animation video based on the input data;
[0056] The control processing module 200 is also used to control the display lifting unit 320 to perform lifting actions according to the user's height in order to adjust the display screen 310;
[0057] Display screen 310 is used to display answer data and digital human animation videos.
[0058] The beneficial effects of this application's embodiments include, but are not limited to: acquiring user input data through the data input module 100, and then generating response data and a digital human animation video based on the input data through the control processing module 200, so as to display the response data and the digital human animation video on the display screen 310, thereby realizing interaction between the digital human and the user. Furthermore, the control processing module 200 controls the display lifting unit 320 to perform lifting actions according to the user's height, thereby flexibly adjusting the height of the display screen 310. In other words, it can adaptively adjust the height of the display screen 310 based on the user's height, ensuring that the user can clearly see the content displayed on the display screen 310 (such as response data and digital human animation video) in a comfortable viewing posture. This application can improve the convenience of interaction between the user and the digital human, ensuring that the user can interact with the digital human in a comfortable and natural posture.
[0059] In some embodiments, the control processing module 200 is a module for processing input data and generating digital human-related data (such as response data and digital human animation videos) to enable digital human interaction with the user.
[0060] In some embodiments, the control processing module 200 may specifically include a processor, such as a central processing unit (CPU), a microcontroller unit (MCU), or a programmable logic controller (PLC). Alternatively, the control processing module 200 may also include a smart terminal, such as a smartphone, tablet computer, laptop computer, or desktop computer. In another embodiment, the control processing module 200 may further include a server. For example, the control processing module 200 may include multiple servers, which work collaboratively to generate response data and digital human animation videos, thereby improving the throughput and response speed of the digital human interaction device, enhancing its scalability, and adapting to concurrent request scenarios (such as simultaneously acquiring multiple input data) and large-scale application scenarios.
[0061] It should be noted that the data input module 100 refers to a module used to acquire user input data. In some embodiments, the data input module 100 can acquire different types of input data, such as text or voice input by the user.
[0062] It should be noted that the aforementioned communication connections include both wired and wireless communication connections. That is, communication can be achieved via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile networks, Wi-Fi, Bluetooth, etc.). For example, the control processing module 200 can communicate with the display screen 310 via Bluetooth, or via a wired connection through a USB interface.
[0063] In some embodiments, such as Figure 2 As shown, the data input module 100 (including keyboard 111, mouse 112 and microphone 121) is located opposite the screen of the display screen 310, so that the user can watch the content displayed on the display screen 310 while inputting data, such as watching the answer text and digital human animation video, thereby improving the convenience of digital human interaction.
[0064] It should be noted that the digital human in the animated video can be a two-dimensional or a three-dimensional figure.
[0065] In some embodiments, digital human interaction devices can be applied to intelligent education. For example, a digital human can act as a virtual teacher, engaging in question-and-answer sessions with students to help them learn. In another embodiment, digital human interaction devices can also be applied to medical scenarios, such as a digital human acting as a virtual doctor, providing medical advice and feedback on patients' ailments. Digital human interaction devices can also be applied to other scenarios without limitation.
[0066] Please see Figure 1 and Figure 3 In some embodiments, the lifting unit 320 is shown to include a support lifting rod 321 and a lifting rod driver (not shown in the figure);
[0067] The support lifting rod 321 is electrically connected to the lifting rod driver, and the lifting rod driver is electrically connected to the control processing module 200.
[0068] The control processing module 200 is used to control the lifting rod driver to drive the support lifting rod 321 to perform lifting actions according to the user's height.
[0069] The advantage of this embodiment is that, by controlling the processing module 200, the lifting rod driver is driven to perform lifting and lowering actions on the support lifting rod 321 according to the user's height, thereby enabling the display screen 310 connected to the support lifting rod 321 to be adaptively adjusted in real time based on the user's height, which improves the convenience of digital human interaction.
[0070] Specifically, the lifting rod driver may include a drive motor and a cylinder, for example, an electric cylinder. The user's height is captured by a camera 500 or other device and sent to the control processing module 200. The control processing module 200 compares the user's height with the current height of the display screen 310. If the difference between the user's height and the current height of the display screen 310 is greater than a preset height difference threshold (e.g., 30 cm), the control processing module 200 sends a control signal to the electric cylinder. Responding to the control signal, the electric cylinder drives the bracket lifting rod 321 to perform a lifting action, adjusting the height of the display screen 310 connected to the bracket lifting rod 321 to a suitable viewing height for the user (e.g., the center line of the display screen 310 is level with the user's eyes).
[0071] Specifically, the support lifting rod 321 may include a threaded rod and a threaded sleeve rod, the threaded sleeve rod engaging with the threaded rod, and the threaded sleeve rod being connected to the display screen 310 via a retainer 340. The lifting rod driver drives the threaded rod to rotate, causing the threaded sleeve rod engaging with the surface of the threaded rod to move the display screen 310 up and down, thereby raising and lowering the display screen 310 to ensure that the user obtains a good viewing effect.
[0072] Please see Figure 4 In some embodiments, the data input module 100 includes a text input unit 110; the control processing module 200 includes a text response generation unit, a text-to-audio conversion unit, a digital human motion generation unit, and a video rendering unit (not shown in the above unit figures);
[0073] The text input unit 110, the text response generation unit, the text-to-audio unit, the digital human motion generation unit, the video rendering unit, and the display screen 310 are sequentially and communicatively connected; the text response generation unit is communicatively connected to the display screen 310.
[0074] The text input unit 110 is used to acquire input text; the text response generation unit is used to generate a text response based on the input text; the text-to-audio unit is used to convert the text response into an audio response; the digital human motion generation unit is used to generate human motion data corresponding to the target audio; the video rendering unit is used to render the human motion data to obtain a digital human animation video; and the display screen 310 is used to display the text response and the digital human animation video.
[0075] The advantage of this embodiment is that the user's input text is acquired through the text input unit 110, and a text response generation unit generates a text response based on the input text, which is then displayed on the display screen 310. To ensure that the digital human's actions (such as facial expressions, lip movements, and body movements) correspond to the text response, a text-to-audio unit converts the text response into an audio response, and a digital human action generation unit generates human action data corresponding to the target audio, thereby generating human action data that highly matches the audio response, making the digital human's actions more coordinated with the text (and audio) expression. Then, a video rendering unit renders the human action data to obtain a digital human animation video, which is then displayed on the display screen 310 along with the text response and the corresponding digital human animation video. This improves the naturalness of the digital human interaction, making the digital human's performance more realistic, vivid, and coordinated, significantly enhancing the user experience and increasing the immersion during the interaction with the digital human.
[0076] In some embodiments, audio responses can be played simultaneously while displaying text responses and animated videos of the digital human. This application embodiment utilizes a text-to-audio unit to generate natural and fluent audio, enabling the digital human to provide voice responses and improving the realism of user interaction with the digital human.
[0077] In some embodiments, the text input unit 110 includes Figure 2 (or Figure 3 The keyboard 111 and mouse 112 are shown in the figure.
[0078] In some embodiments, such as in a smart education scenario, the user is identified as a student, and the digital human is identified as a teacher. In this embodiment, the actions of the digital human teacher (i.e., human motion data) are coordinated with the text responses, thereby enhancing the immersive learning experience of the interaction between the student and the digital human teacher.
[0079] In some embodiments, within the context of smart education, the usage process of digital human interaction devices is as follows: Figure 5As shown. For an interactive digital human teacher, the display screen 310 displays an initial animation video of the digital human teacher, such as a standing animation. A camera 500, positioned at the top or side of the display screen 310, is used for human detection, primarily to detect the presence of students. When the camera 500 detects no student presence, the animated digital human teacher remains idle, such as maintaining a standing posture. When the camera 500 detects a student presence, the display screen 310 is triggered to play a greeting video from the digital human teacher, creating a natural interactive atmosphere between the student and the digital human teacher and enhancing the fun and initiative of learning. For example, in the greeting video, the digital human teacher's facial expression changes to a smile, and the body movement changes to a greeting. Then, the student asks a question (i.e., the student asks a question), specifically using the microphone 121 to input voice or the keyboard 111 and mouse 112 to input text. For the student's question, the digital human teacher's answer and actions (i.e., a text answer and a digital human animation video) are generated and displayed on the display screen 310, realizing interaction between the student and the digital human teacher. Furthermore, the process from students asking questions to generating digital human teacher responses and actions is an iterative process, meaning students can ask further questions based on the digital human teacher's responses.
[0080] In some embodiments, after the text-to-audio unit converts the text response into an audio response, an audio model (such as the wav2vec 2.0 model) is used to extract the audio features of the audio response. For example, the audio model may consist of a temporal convolutional layer (TCN), a quantization module, and a Transformer Encoder. The temporal convolutional layer converts the audio response into an audio feature vector Z = {z1,...,z1} with a time step of T. The quantization module Z->Q discretizes the audio feature vector Z into speech units Q for contrastive training. The Transformer Encoder Z->C converts the audio feature vector Z into a speech content representation C for multimodal learning of facial motion.
[0081] In some embodiments, the digital human motion generation unit includes a face motion generator and a human motion generator.
[0082] (1) The face motion generator has a facial motion generation model. The architecture of the facial motion generation model can be a Transformer Decoder, which consists of multiple attention layers (including self-attention layers and cross-attention layers). The facial motion sequence Y is encoded by the motion encoder into a motion feature vector f = {f1,…,f...} T Along with position encoding, the motion feature vector is linearly mapped to the query vector Q by a self-attention layer. f Key vector Kf Sum vector V f The dimension of the above vector is d.
[0083] The output data of the attention layer is defined by the following formula:
[0084]
[0085] In the formula, Atten(Q) f ,K f V f B f ) represents the output data of the attention layer; Q f K represents the query vector; f T Represents the key vector K f The transpose of ; d represents the dimension of the above vector; B f Indicates time deviation; V f represents a value vector; softmax(·) represents the normalized exponential function, which is also the activation function of the facial motion generation model.
[0086] A temporal skew is added to the above formula to ensure that the dot product operation of the attention layer is performed on past frames, not future frames. Temporal skew B f The definition is shown in the following formula:
[0087]
[0088] In the formula, n represents the nth frame, m represents the mth frame; n≤m means that the nth frame is a past frame of the mth frame, or the nth frame and the mth frame are the same frame; Floor(·) represents the floor function, and p represents the content of the prompt vector.
[0089] It should be noted that the cue vector is a vector obtained by encoding the input text. The process of generating the cue vector can be referred to the description of the retrieval enhancement generation unit below, and will not be repeated here.
[0090] In addition, alignment bias B can be added to the cross-attention layer. A This is to ensure that facial movements are aligned with the audio.
[0091] To improve the accuracy of facial motion generation models, for example, to avoid the jitter problem in facial motion sequences generated by the model when no audio is present, jitter loss can be used to train the facial motion generation model. The definition of jitter loss is shown in the following formula:
[0092]
[0093] Among them, Loss motionY represents jitter loss; MSE(·) represents mean squared error (MSE), which is a loss function; t This represents the facial motion sequence generated by the above model at time step t. This represents the facial motion sequence at a real time step t.
[0094] The jitter loss (also known as jitter error) can be expressed as the acceleration loss (also known as acceleration error), meaning the facial motion generation model can be trained based on the acceleration loss. Since the acceleration loss contains second-order motion information, it can improve the convergence speed of the facial motion generation model training process. The acceleration loss is defined by the following formula:
[0095]
[0096] Among them, Loss accel Indicates acceleration error; MSE(·) represents mean square error; accel t This represents the acceleration generated by the above model at time step t. This represents the acceleration at the actual time step t.
[0097] This application employs an audio-driven facial motion generation model and introduces acceleration loss as a training constraint for the model, which significantly reduces facial motion jitter and ensures that the digital human's facial expressions are consistent with the audio.
[0098] (2) The human motion generator has a human motion generation model. The architecture of the human motion generation model can be a transformer decoder. Since human motion is more complex than facial motion, the transformer decoder can be combined with a variational autoencoder. The variational autoencoder learns the human motion distribution, and then, through reparameterization, the data sampled from the human motion distribution is passed to the transformer decoder to generate the corresponding human motion sequence. In some embodiments, the human motion generation model can be trained using human pose loss and 3D human mesh vertex loss.
[0099] The definition of human posture loss is shown in the following formula:
[0100]
[0101] In the formula, Loss pose P represents the human posture loss, MSE(·) represents the mean square error, and P represents the mean square error. t This represents the human pose generated by the above model at time step t. The human posture represents the actual time step t.
[0102] The definition of vertex loss in a 3D human body mesh is shown in the following formula:
[0103]
[0104] In the formula, Loss vert V represents the vertex loss of the 3D human body mesh, MSE(·) represents the mean square error, and V t This represents the vertices of the 3D human body mesh generated by the above model at time step t. Represents the vertices of a 3D human body mesh at time step t corresponding to a real human body.
[0105] In some embodiments, the video rendering unit may include a renderer. For example, to enable real-time interaction between the digital human and the user, a PyTorch3D renderer, also known as a differentiable neural renderer, can be used to render facial motion. For instance, the renderer renders human motion data and a 3D human mesh with texture maps into the image domain to obtain the current rendered image frame. Multiple rendered image frames can be synthesized into the aforementioned digital human animation video.
[0106] In some embodiments, the video rendering unit runs on a graphics processing unit (GPU), enabling parallel rendering.
[0107] In some embodiments, the digital human in the animated digital human video is a three-dimensional digital human. To enhance the realism of the three-dimensional digital human, it can be generated from multiple three-dimensional human models and / or texture maps, and the three-dimensional digital human can have different hairstyles, covering different ages, ethnicities, and genders.
[0108] In some embodiments, to enhance real-time interaction with the digital human, the digital human animation video can be segmented. For example, the digital human animation video can be divided into multiple segmented videos, each consisting of 60 frames. It should be noted that the frame rate of the segmented videos can be set or adjusted according to the renderer's rendering speed and the video write speed of the digital human animation video. In the display interface of the display screen 310, two content blocks are set to display the video, with one content block set to invisible. After rendering the two segmented videos, they are preloaded into the content blocks, and the system begins responding to the user. Since the next segmented video to be played is preloaded, seamless video playback can be ensured by switching the display states of the two content blocks, achieving the same viewing experience as watching the complete video. Furthermore, while the current video is playing on the display screen 310, the rendering of other videos can continue.
[0109] Please see Figure 4 In some embodiments, the data input module 100 further includes a voice input unit 120, and the control processing module 200 further includes a voice-to-text unit (not shown in the figure);
[0110] The voice input unit 120, the text response generation unit, the voice-to-text unit, and the text response generation unit are sequentially connected in communication.
[0111] The voice input unit 120 is used to acquire input voice; the voice-to-text unit is used to convert the input voice into text so that the text response generation unit can generate a text response.
[0112] The advantage of this embodiment is that by acquiring input speech through the voice input unit 120, the ways in which users can input data (such as text and voice) are increased, improving the diversity of user input data types for users to choose from freely. The voice-to-text unit converts the input speech into text, enabling the text response generation unit to generate a text response, that is, to generate a reply to the input speech (such as a text response, and a digital human animation video generated based on the text response). This embodiment supports user input of both text and voice content, improving the diversity of digital human interaction methods.
[0113] In some embodiments, the voice input unit 120 includes Figure 2 (or Figure 3 The microphone 121 shown is a type of microphone, such as a recording microphone. Specifically, microphone 121 can be an omnidirectional microphone. It should be noted that an omnidirectional microphone is a microphone capable of picking up sound in 360 degrees, that is, it can receive sound evenly in all directions, ensuring the integrity of the user's voice input and improving the convenience and reliability of digital human interaction.
[0114] Specifically, the microphone 121 can be connected to the control processing module 200 (such as a computer) via a USB interface or an audio interface. The microphone 121 can also be wirelessly connected to the control processing module 200, but this embodiment does not limit this.
[0115] In some embodiments, the text response generation unit includes a retrieval enhancement generation unit and a language processing unit (not shown in the figure);
[0116] The text input unit 110, the retrieval enhancement generation unit, and the language processing unit are sequentially connected in communication.
[0117] The retrieval enhancement generation unit generates retrieval enhancement text based on the input text, and the language processing unit determines the text response based on the retrieval enhancement text.
[0118] The advantage of this embodiment is that, in order to ensure the accuracy of the answers generated by this device and avoid factual errors, the retrieval enhancement generation unit first generates retrieval enhancement text based on the input text, and then the language processing unit determines the text answer based on the retrieval enhancement text. In other words, the retrieval enhancement generation method is used to improve the accuracy of the text answer, reduce the possibility of errors or deviations in the text answer, improve the accuracy and scalability of data-human interaction, and adapt to applications in multiple scenarios and fields.
[0119] Specifically, the language processing unit can generate text responses from the retrieved enhanced text using a Large Language Model (LLM), thereby further improving the accuracy of the text responses. For example, in the context of intelligent education, the embodiments of this application can generate text responses in a timely and accurate manner using the aforementioned Large Language Model, solving the problems of untimely feedback, potentially biased responses, and difficulty in effectively promoting active learning in traditional education (such as traditional face-to-face teaching or online courses), and significantly improving the accuracy and relevance of the text responses.
[0120] Specifically, the retrieval-augmented generation unit employs retrieval-augmented generation (RAG) technology. RAG is a technique that enhances the performance of Large Language Models (LLMs) in specific domains and knowledge-intensive tasks through prompts. In this embodiment, RAG technology utilizes external knowledge resources as a base corpus to retrieve documents related to the input data and feeds them into the Large Language Model, thereby improving the model's performance.
[0121] In some embodiments, the retrieval enhancement generation unit employs a hybrid retrieval enhancement generation approach. Specifically, it stores pre-defined materials (such as educational materials) as a hierarchical tree data structure to adapt to the characteristics of the materials and improve retrieval compatibility and accuracy. For example, in the field of intelligent education, the materials are course content. In the hierarchical tree, each non-leaf node represents the title or summary of a part of the course content, and each leaf node represents the course context stored in the database as a block (compressed text block). The definition of the hierarchical tree is shown in the following formula:
[0122] Desc tree =Tree([Desc0,...,Desc n ]),
[0123] In the formula, Desc tree Represents a hierarchical tree, Desc0 (and Desc n The subscript () represents a node in a hierarchical tree, where the subscript (e.g., 0, n) is the node's label, and the number of nodes is n+1. Tree(·) represents a hierarchical tree structure.
[0124] For non-leaf nodes in the hierarchical tree, the retrieval enhancement generation unit uses a large language model to recursively generate a short description for each non-leaf node. This description can be viewed as a title corresponding to the short descriptions of the course content and its child nodes. The description of a non-leaf node is defined by the following formula:
[0125] S i =Sum(children(S i )),
[0126] In the formula, S i The description of the i-th node (a non-leaf node) is children(S). i ) represents a non-leaf node S i child nodes, Sum(children(S i )) represents a non-leaf node S i The sum of the child nodes.
[0127] For leaf nodes of the hierarchical tree, their content is converted to plain text and broken into chunks to fit the contextual constraints of a large language model system. Plain text is defined as follows:
[0128] Embed = Encoder text ([Descl0,......,Descl n ]),
[0129] In the formula, Embed represents the plain text corresponding to the leaf node, Descl0 (and Descl) n () represents a leaf node, and its subscript (e.g., 0, n) represents the index of the leaf node. Encoder text (·) indicates that the node is converted to plain text.
[0130] The block is defined as shown in the following formula:
[0131] C = Split(Embed),
[0132] In the formula, C represents the block corresponding to the leaf node, and Split(Embed) means splitting the plain text Embed into blocks.
[0133] The blocks of leaf nodes and the descriptions of non-leaf nodes are encoded as semantic embeddings (i.e., vectors) and stored in a vector database. The vector database is defined by the following formula:
[0134] VD = Encoder(C, S),
[0135] In the formula, VD represents the vector database, Encoder(·) represents vector encoding processing, C represents the block corresponding to each leaf node, and S represents the description corresponding to each non-leaf node.
[0136] In some embodiments, referring to the example above, a vector database VD is constructed. After obtaining the input text, the retrieval enhancement generation unit encodes the user's input text and retrieves the most matching knowledge context from the vector database VD. It should be noted that all historical dialogues between the user and the data-human interaction device will be considered as supplementary information. This supplementary information will be combined with the input text to retrieve the most relevant documents from the vector database VD. Specifically, in the hybrid retrieval enhancement generation process, a pre-trained sentence converter is first used to encode the input text into a cue vector. The cue vector is defined as follows:
[0137] vector=Transformer(prompt),
[0138] Here, vector represents the prompt vector obtained after encoding the input text, prompt represents the input text (i.e., the prompt), and Transformer(·) represents vector encoding processing.
[0139] Then, based on vector similarity, non-leaf nodes are retrieved hierarchically. Leaf nodes are selected from the child nodes of the retrieved non-leaf nodes, and the content of these leaf nodes is collected into a candidate knowledge set. Based on the descriptions of the non-leaf nodes, relevant blocks are searched from the vector database. Compared to directly searching for blocks from the vector database, this tree search operation reduces the time and computational complexity of searching for relevant blocks from the vector database and improves accuracy. After reaching a non-leaf node, the block whose vector representation is most similar to the hint vector is retrieved from the candidate knowledge set.
[0140] The leaf nodes corresponding to the candidate knowledge sets are defined by the following formula:
[0141]
[0142] Among them, Candidate_K i S represents the leaf node corresponding to the candidate knowledge set; p represents the content of the hint vector; S i Let p represent the description of the i-th node (a non-leaf node), and let K be the number of non-leaf nodes; ||p,S i ||2 represents the vector similarity between the cue vector and the non-leaf node, which is equivalent to the Euclidean norm between the cue vector and the vector (description) corresponding to the non-leaf node; This represents the non-leaf node that minimizes the similarity of the above vectors; This represents the leaf node among the child nodes corresponding to the non-leaf node.
[0143] Given a historical dialogue corresponding to the input text, the question from the historical dialogue is rephrased using the input text. Then, the knowledge context is retrieved based on the rephrased question. After obtaining the knowledge context, it is input into the large language model (i.e., the language processing unit) as a reference for the text response.
[0144] In some embodiments, the process of generating text responses and digital human animated videos is as follows: Figure 6 As shown. For example, in the field of intelligent education, an index is generated based on educational materials. Student input data is acquired, which can be text or audio (i.e., speech). If it is audio, it is converted to text. The input text is then enhanced based on the index to generate enhanced text. This enhanced text is input into a large language model to generate a text response. The text response is then converted into audio using a text-to-audio model, and this audio is input into a human motion generation model to generate a sequence of human motions (i.e., human motion data). The sequence of human motions is fused with preset texture maps and then input into a renderer to render a digital teacher animation video. Finally, the text response and the digital teacher animation video are sent to a display screen 310 to display them, enabling user interaction with the digital teacher.
[0145] Specifically, data fusion of the human motion sequence and the preset material map can be achieved by integrating the skeletal motion data in the human motion sequence with the texture information of the material map to generate a data combination containing both motion and appearance information. Other methods can also be used to process the human motion sequence and the preset material map, and this embodiment does not limit the specific methods used.
[0146] Please see Figure 4 In some embodiments, the digital human interaction device further includes an audio playback module (not shown in the figure);
[0147] The audio playback module is connected to the control and processing module 200 for communication; the audio playback module is used to play audio responses.
[0148] The advantage of this embodiment is that, after acquiring the input data, the audio playback module plays the audio response generated by the control processing module 200 based on the input data, thereby further enhancing the diversity of interaction between the digital human and the user. Furthermore, playing the audio response while displaying the digital human's animated video enhances the realism and immersion during the digital human interaction process.
[0149] In some embodiments, such as Figure 2 and Figure 3As shown, the audio playback module includes a speaker 400, which is mounted on the protective frame 330. For example, the speaker 400 is mounted on the protective frame 330 on the back of the display screen 310 so that the user can watch digital human animation videos from the screen on the front of the display screen 310, thereby increasing the diversity of interaction methods of the digital human interactive device.
[0150] In some embodiments, the digital human interaction device further includes a camera sensing module (not shown in the figure);
[0151] The camera sensor module communicates with the control and processing module 200.
[0152] The camera sensing module is used to detect the user; the control processing module 200 is also used to control the display module 300 to play a digital human greeting video in response to the camera sensing module detecting the user.
[0153] The advantage of this embodiment lies in the detection of the user through a camera sensing module. If the camera sensing module detects the user, meaning the user is within the interaction range of the digital human interaction device, it greets the user. For example, when the camera sensing module detects the user, the control processing module 200 controls the display module 300 to play a digital human greeting video, so that the digital human greets the user, improving the accuracy and realism of the digital human interaction.
[0154] Please see Figure 2 and Figure 3 In some embodiments, the camera sensing module includes a camera 500; the camera 500 is disposed at the top of the display screen 310.
[0155] The advantage of this embodiment is that by positioning the camera 500 at the top of the display screen 310, it ensures that the camera 500 can clearly capture whether a user is visiting. When the camera 500 detects a user, it...
[0156] In some embodiments, the camera 500 may be positioned at the top of the display screen 310 or on the side of the display screen 310 (including the right side of the left side) to ensure that the camera 500 can clearly capture whether a user (such as a student) is visiting.
[0157] In some embodiments, Figure 2 and Figure 3 In this context, camera 500 is an external camera. Specifically, camera 500 can be wired to control processing module 200 (such as a computer) via a USB interface. Alternatively, camera 500 can also be wirelessly connected to control processing module 200; this is not limited to either method.
[0158] It should be noted that the camera 500 may have the functions of person recognition and / or face detection. For example, the camera 500 captures images (or videos). When the camera 500 detects a user, it means that the camera 500 recognizes a person in the image (or video).
[0159] In some embodiments, the digital human interaction device can be tested. For example, the microphone 121, camera 500, and display screen 310 can be tested to ensure that the microphone 121 can clearly receive the user's voice, the camera 500 can smoothly capture video, and the display screen 310 can normally display content such as digital human animation videos.
[0160] Please see Figure 2 and Figure 3 In some embodiments, the display module 300 further includes a protective frame 330 and a retainer 340;
[0161] The protective frame 330 covers the part of the display screen 310 outside the screen. The protective frame 330 is connected to the fixture 340, and the fixture 340 is connected to the bracket lifting rod 321.
[0162] The advantage of this embodiment is that the protective frame 330 covers the part of the display screen 310 outside the screen, that is, the display screen 310 is protected by the protective frame 330 to prevent the display screen 310 from being contaminated or damaged by foreign objects, which would affect the normal display of the display screen 310.
[0163] Specifically, the material of the protective frame 330 may include hard materials such as metal and alloy.
[0164] In some embodiments, the surface of the protective frame 330 is provided with a processor placement interlayer 331, which is used to place the processor (i.e., the control processing module 200).
[0165] In some embodiments, such as Figure 2 and Figure 3 As shown, the display module 300 also includes a display bracket 350 and a display base 360. A bracket lifting rod 321 is fixedly connected to the display bracket 350, and the display bracket 350 is fixedly connected to the display base 360.
[0166] Please see Figure 2 and Figure 3 In some embodiments, the digital human interaction device further includes a support module (not shown in the figure); the support module includes a support base 600, a support rod 700, and a support tray 800;
[0167] The bracket base 600 is fixedly connected to the support rod 700, and the support rod 700 is fixedly connected to the bracket tray 800; the bracket tray 800 is used to place the data input module 100.
[0168] The advantage of this embodiment is that the support module is formed by the bracket base 600, the support rod 700 and the bracket tray 800, which is used to place the data input module 100 on the bracket tray 800 so that the user can operate the data input module 100 (such as typing on the keyboard 111), which improves the convenience of the user's interaction with the digital human and enhances the user's experience of using the digital human interaction device.
[0169] In some embodiments, the support tray 800 is used to place the data input module 100, specifically the support tray 800 is used to place the keyboard 111, mouse 112 and microphone 121.
[0170] It should be noted that the software tools or components not belonging to our company that appear in the embodiments of this application are merely examples and do not represent actual use.
[0171] The embodiments described in this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.
[0172] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of this application, and may include more or fewer steps than shown, or combine certain steps, or different steps.
[0173] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0174] Those skilled in the art will understand that the functional modules / units in the systems and devices disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof.
[0175] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover non-exclusive inclusion; for example, a system, product, or device that includes a series of steps or units is not necessarily limited to those modules or units explicitly listed, but may include other modules or units not explicitly listed or inherent to such products or devices.
[0176] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0177] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. The coupling or direct coupling or communication connection between the shown or discussed units may be through some interfaces, or indirect coupling or communication connection between the apparatus or units, and may be electrical, mechanical, or other forms.
[0178] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0179] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0180] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0181] The preferred embodiments of the present application have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present application. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and substance of the embodiments of the present application shall be within the scope of the claims of the present application.
Claims
1. A digital human interaction device, characterized in that, The digital human interaction device includes: The system includes a data input module, a control processing module, and a display module; wherein the display module includes a display screen and a display lifting unit; the display lifting unit includes a support lifting rod and a lifting rod driver; the lifting rod driver includes a drive motor and a cylinder; the support lifting rod includes a threaded rod and a threaded sleeve rod. The support lifting rod is electrically connected to the lifting rod driver, and the lifting rod driver is electrically connected to the control processing module; the threaded sleeve engages with the threaded rod, and the threaded sleeve is connected to the display screen via a retainer; The control processing module is communicatively connected to the data input module and the display screen, and the display screen is fixedly connected to the display lifting unit; The data input module is used to acquire input data, and the control processing module is used to generate response data and digital human animation video based on the input data. The control processing module is also used to control the display lifting unit to perform lifting actions according to the user's height in order to adjust the display screen; the control processing module is also used to control the lifting rod driver to drive the bracket lifting rod to perform lifting actions according to the user's height in order to adjust the height of the display screen connected to the bracket lifting rod; the lifting rod driver drives the threaded rod to rotate, so that the threaded sleeve engaged on the surface of the threaded rod drives the display screen to move up and down; The display screen is used to display the answer data and the digital human animation video.
2. The digital human interaction device according to claim 1, characterized in that, The data input module includes a text input unit; the control processing module includes a text response generation unit, a text-to-audio conversion unit, a digital human motion generation unit, and a video rendering unit. The text input unit, the text response generation unit, the text-to-audio conversion unit, the digital human motion generation unit, the video rendering unit, and the display screen are sequentially and communicatively connected; the text response generation unit is communicatively connected to the display screen. The text input unit is used to acquire input text; the text response generation unit is used to generate a text response based on the input text; the text-to-audio unit is used to convert the text response into an audio response; the digital human motion generation unit is used to generate human motion data corresponding to the target audio; the video rendering unit is used to render the human motion data to obtain a digital human animation video; and the display screen is used to display the text response and the digital human animation video.
3. The digital human interaction device according to claim 2, characterized in that, The data input module further includes a voice input unit, and the control processing module further includes a voice-to-text unit; The voice input unit, the text response generation unit, the voice-to-text unit, and the text response generation unit are sequentially connected in communication. The voice input unit is used to acquire input voice; the voice-to-text unit is used to convert the input voice into text so that the text response generation unit can generate a text response.
4. The digital human interaction device according to claim 2, characterized in that, The text response generation unit includes a retrieval enhancement generation unit and a language processing unit; The text input unit, the retrieval enhancement generation unit, and the language processing unit are sequentially connected in communication. The retrieval enhancement generation unit is used to generate retrieval enhancement text based on the input text, and the language processing unit is used to determine the text response based on the retrieval enhancement text.
5. The digital human interaction device according to claim 2, characterized in that, The digital human interaction device also includes an audio playback module; The audio playback module is communicatively connected to the control processing module; the audio playback module is used to play the audio response.
6. The digital human interaction device according to any one of claims 1 to 5, characterized in that, The digital human interaction device also includes a camera sensing module; The camera sensing module is communicatively connected to the control processing module; The camera sensing module is used to detect users; the control processing module is also used to control the display module to play a digital human greeting video in response to the camera sensing module detecting users.
7. The digital human interaction device according to claim 6, characterized in that, The camera sensing module includes a camera; The camera is positioned at the top of the display screen.
8. The digital human interaction device according to claim 1, characterized in that, The display module also includes a protective frame and a retainer; The protective frame covers the portion of the display screen outside the screen, the protective frame is connected to the fixture, and the fixture is connected to the bracket lifting rod.
9. The digital human interaction device according to any one of claims 1 to 5, characterized in that, The digital human interaction device also includes a support module; the support module includes a bracket base, a support rod, and a bracket tray. The bracket base is fixedly connected to the support rod, and the support rod is fixedly connected to the bracket tray; the bracket tray is used to place the data input module.
