Resource scheduling method, device and equipment for real-time interactive digital person, medium and program product

By constructing a digital human base video library and a dynamic resource scheduling mechanism, the problems of high cost and low resource utilization in traditional digital human interaction have been solved, achieving efficient processing of massive concurrent requests and low-cost real-time interaction.

CN121644933BActive Publication Date: 2026-11-27BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511783327.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-11-28
Publication Date
2026-11-27
Estimated Expiration
2045-11-28

AI Technical Summary

Technical Problem

Traditional technical solutions suffer from high costs and low resource utilization in digital human interaction, especially in high-concurrency scenarios, making it difficult to achieve large-scale real-time interaction.

Method used

By constructing a digital human base video library and utilizing the cross-request reuse and dynamic matching and allocation mechanism of base video resources, the generation and scheduling of digital human response videos can be realized, including single-channel multi-time-slice multiplexing, multi-channel multiplexing and tidal dynamic allocation, and rendering and distribution optimization of the integrated live broadcast platform.

Benefits of technology

It significantly reduces the computational overhead and resource consumption of each user-initiated real-time interaction request, optimizes resource utilization, controls generation costs, and supports real-time interactive applications for a large number of users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121644933B_ABST
    Figure CN121644933B_ABST
Patent Text Reader

Abstract

The present disclosure provides a resource scheduling method for real-time interactive digital humans and related devices, which relates to the technical fields of human-computer interaction, digital humans, end-cloud integration, large models and other artificial intelligence technologies. The method comprises: receiving real-time interaction requests initiated by different users through different digital human live streaming room entrances; for each real-time interaction request, matching and assigning corresponding bottom plate video resources from a pre-generated digital human bottom plate video library, so that different digital human bottom plate videos in the digital human bottom plate video library correspond to digital humans performing different actions, and the bottom plate video resources assigned to at least two different real-time interaction requests are reused from the same digital human bottom plate video; generating a corresponding digital human response video based on the bottom plate video resources assigned to each real-time interaction request. The method significantly reduces the computational overhead and resource consumption of generating basic video materials for each user-initiated real-time interaction request by cross-request reuse of bottom plate video resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of image generation technology, specifically to artificial intelligence technologies such as human-computer interaction, digital humans, edge-cloud integration, and large models, and particularly to a resource scheduling method, device, electronic device, computer-readable storage medium, and computer program product for real-time interactive digital humans. Background Technology

[0002] In the current field of digital human interaction technology, as application scenarios evolve from one-way content broadcasting to large-scale one-to-one real-time interaction, traditional technical solutions have exposed serious cost and performance bottlenecks.

[0003] While mainstream pure generative solutions can achieve personalized interaction, their "single-path exclusive" resource allocation mode requires the system to independently call the complete speech synthesis, lip-syncing and video rendering chain for each user, making the cost per thousand interactions generally over a hundred yuan. Moreover, in high-concurrency scenarios with tens of millions of daily active users, the computing power demand grows exponentially, resulting in low resource utilization, limited system throughput, and difficulty in providing large-scale services to a wide range of users. Summary of the Invention

[0004] This disclosure provides a resource scheduling method, apparatus, electronic device, computer-readable storage medium, and computer program product for real-time interactive digital humans.

[0005] In a first aspect, embodiments of this disclosure propose a resource scheduling method for real-time interactive digital humans, comprising: receiving real-time interaction requests initiated by different users through different digital human live streaming room entrances; for each real-time interaction request, matching and allocating corresponding base video resources from a pre-generated digital human base video library; wherein different digital human base videos constituting the digital human base video library correspond to digital humans exhibiting different actions, and base video resources allocated to at least two different real-time interaction requests are reused from the same digital human base video; and generating corresponding digital human response videos based on the base video resources allocated to each real-time interaction request.

[0006] Secondly, embodiments of this disclosure propose a resource scheduling device for real-time interactive digital humans, comprising: a real-time interaction request receiving unit configured to receive real-time interaction requests initiated by different users through different digital human live streaming room entrances; a base video resource allocation unit configured to match and allocate corresponding base video resources from a pre-generated digital human base video library for each real-time interaction request; wherein different digital human base videos constituting the digital human base video library correspond to digital humans exhibiting different actions, and the base video resources allocated to at least two different real-time interaction requests reuse the same digital human base video; and a digital human response video generation unit configured to generate corresponding digital human response videos based on the base video resources allocated to each real-time interaction request.

[0007] Thirdly, embodiments of this disclosure provide an electronic device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to implement the resource scheduling method for a real-time interactive digital human as described in the first aspect.

[0008] Fourthly, embodiments of this disclosure provide a non-transitory computer-readable storage medium storing computer instructions that enable a computer to implement, when executed, a resource scheduling method for a real-time interactive digital human as described in the first aspect.

[0009] Fifthly, embodiments of this disclosure provide a computer program product including a computer program that, when executed by a processor, can implement the steps of the resource scheduling method for a real-time interactive digital human as described in the first aspect.

[0010] The resource scheduling scheme for real-time interactive digital humans provided in this disclosure firstly reduces the computational overhead and resource consumption of generating basic video materials separately for each user's real-time interactive request by reusing the base video resources across requests. Secondly, through a dynamic matching and allocation mechanism, it can efficiently handle massive concurrent requests while ensuring real-time response. Together, they optimize the overall resource utilization and effectively control the generation cost, thus laying the technical foundation for the large-scale application of real-time interactive digital human technology to a wide range of users.

[0011] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0012] Other features, objects, and advantages of this disclosure will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings: Figure 1 This is an exemplary system architecture to which this disclosure can be applied; Figure 2 A flowchart of a resource scheduling method for real-time interactive digital humans provided in this disclosure embodiment; Figure 3 A flowchart illustrating a method for determining resource adjustment methods for each resource pool, provided as an embodiment of this disclosure; Figure 4 A flowchart illustrating a method for generating responsive digital human videos, provided as an embodiment of this disclosure; Figure 5 A flowchart illustrating a digital human response video delivery method provided in this embodiment of the disclosure; Figure 6 This is a flowchart illustrating a resource scheduling method for real-time interactive digital humans in an application scenario according to an embodiment of this disclosure. Figure 7 A structural block diagram of a resource scheduling device for real-time interactive digital humans provided in this disclosure embodiment; Figure 8 This is a schematic diagram of the structure of an electronic device suitable for performing a resource scheduling method for real-time interactive digital humans, provided as an embodiment of the present disclosure. Detailed Implementation

[0013] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding. These should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description. It should be noted that, unless otherwise specified, the embodiments and features described in this disclosure can be combined with each other.

[0014] The collection, storage, use, processing, transmission, provision, and disclosure of user personal information involved in the technical solution disclosed herein comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0015] Figure 1 An exemplary system architecture 100 is shown, to which embodiments of the resource scheduling method, apparatus, electronic device, and computer-readable storage medium for real-time interactive digital humans disclosed herein can be applied.

[0016] like Figure 1As shown, system architecture 100 may include terminal devices 101, 102, and 103, a network 104, and a server 105. Network 104 serves as the medium for providing communication links between terminal devices 101, 102, and 103 and server 105. Network 104 may include various connection types, such as wired or wireless communication links, or fiber optic cables, etc.

[0017] Users can use terminal devices 101, 102, and 103 to interact with server 105 via network 104 to receive or send messages, etc. Various applications for enabling information communication between the terminal devices 101, 102, and 103 and server 105 can be installed. These applications include resource scheduling applications, real-time digital human interaction applications, and instant messaging applications.

[0018] Terminal devices 101, 102, and 103 and server 105 can be either hardware or software. When terminal devices 101, 102, and 103 are hardware, they can be various electronic devices with displays, including but not limited to smartphones, tablets, laptops, and desktop computers. When terminal devices 101, 102, and 103 are software, they can be installed in the aforementioned electronic devices, and can be implemented as multiple software programs or software modules, or as a single software program or software module; no specific limitation is made here. When server 105 is hardware, it can be implemented as a distributed server cluster composed of multiple servers, or as a single server. When server 105 is software, it can be implemented as multiple software programs or software modules, or as a single software program or software module; no specific limitation is made here.

[0019] Server 105 can provide various services through its built-in applications. Taking a resource scheduling application for real-time interactive digital humans as an example, when running this application, server 105 can achieve the following effects: First, it receives real-time interaction requests initiated by different users through different digital human live streaming entrances using their respective terminal devices 101, 102, and 103 via network 104; then, for each real-time interaction request, it matches and allocates corresponding base video resources from a pre-generated digital human base video library, so that different digital human base videos in the digital human base video library correspond to digital humans exhibiting different actions, and the base video resources allocated to at least two different real-time interaction requests reuse the same digital human base video; finally, based on the base video resources allocated to each real-time interaction request, it generates a corresponding digital human response video.

[0020] It should be noted that real-time interactive requests can be temporarily obtained from terminal devices 101, 102, and 103 via network 104, or they can be pre-stored locally on server 105 through various means. Therefore, when server 105 detects that this data is already stored locally (e.g., when it begins processing previously stored pending requests), it can choose to retrieve this data directly from its local storage. In this case, the exemplary system architecture 100 may not include terminal devices 101, 102, and 103 and network 104.

[0021] The resource scheduling method for real-time interactive digital humans provided in the subsequent embodiments of this disclosure is generally executed by a server 105 with strong computing power, abundant computing resources and resource management capabilities. Correspondingly, the resource scheduling device for real-time interactive digital humans is also generally set in the server 105.

[0022] It should be understood that Figure 1 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.

[0023] Please refer to Figure 2 , Figure 2 A flowchart of a resource scheduling method for a real-time interactive digital human provided in this disclosure embodiment, wherein process 200 includes the following steps: Step 201: Receive real-time interaction requests initiated by different users through different digital human live streaming room entrances; This step is intended for the implementation of resource scheduling methods for real-time interactive digital humans by the entity (e.g., Figure 1 The server 105 shown receives real-time interaction requests initiated by different users through different digital human live streaming room entrances. This receiving is an active and continuous listening process; that is, the aforementioned execution entity, through interface services deployed at various live streaming room entrances (which may be distributed across different applications), is constantly ready to capture user intent from countless independent sessions. Furthermore, these requests are not simple data packets, but rather carry user identity, the access channel, interaction timestamps, and raw, unprocessed voice or text commands.

[0024] In practice, these different digital human live-streaming room entrances can be specifically manifested as virtual portals set according to different industries, service types, or digital human roles. For example, one entrance might be a "legal consultation digital human," and another might be a "children's education digital human." Each entrance is associated with an independent configuration, such as the professional knowledge base that the digital human should use, the style of its voice and tone, and the range of action templates that can be invoked. When an interactive request arrives, the aforementioned execution entity will immediately parse the request and extract key information, such as the user ID and the specific entrance identifier. This entrance identifier is crucial; it determines which "base video resource pool" will be used for subsequent matching, as well as the strategy for generating its response content. For example, a request from the "tax assistant" entrance will be prioritized to the tax and financial regulations knowledge base and a response will be generated in a rigorous tone. Furthermore, the same digital human can also open multiple different live-streaming room entrances on different applications, such as setting them on the live-streaming interface of a real-time interactive application, or setting them on or presenting them on a video library interface.

[0025] Meanwhile, to cope with the sudden surge of traffic, the aforementioned execution entities can use message queues as a buffer layer to transform disordered, pulsed requests into a smooth, ordered data stream, preventing the system from being overwhelmed. Subsequently, according to a load balancing strategy, the request will be distributed to a computing node with the appropriate resources and currently relatively idle for processing.

[0026] Step 202: For each real-time interactive request, match and allocate the corresponding baseboard video resources from the pre-generated digital human baseboard video library; Based on step 201, this step aims to have the aforementioned executing entity select the most suitable digital human base video from a pre-established digital human base video library to constitute the base video resource, according to the contextual semantics of each real-time interaction request. Different digital human base videos constituting the digital human base video library correspond to digital humans exhibiting different actions, and the base video resources allocated to at least two different real-time interaction requests are reused from the same digital human base video.

[0027] The technical principle behind this step lies in pre-abstracting the digital human's actions and expressions into standardized "components." These components are stored in a library as videos, each corresponding to an independent action unit, such as waving, nodding, or smiling. The aforementioned execution entity analyzes the request content, such as keywords or emotional tendencies, to determine which action segment to invoke. For example, when a user asks, "Can you introduce yourself?", a background video containing a smile and brief gestures might be matched as the basic framework for the response. In practice, when a user initiates an interaction through the digital human livestream entry point, the execution entity immediately initiates a matching process, similar to a search engine's query mechanism, but targeting video action segments. Specifically, the execution entity can scan the metadata tags in the background video library in real time. These tags describe the action type, emotional intensity, and applicable scenario of each video segment. The matching algorithm comprehensively considers the semantics of the request, historical interaction records, and the digital human's role setting to ensure that the selected video is highly consistent with the current conversation in terms of theme and style.

[0028] The different template videos that make up the digital human template video library are actually pre-made segments of the digital human in different actions and facial expressions. Each template video encapsulates a complete visual action sequence, but it is a "semi-finished product" because it lacks the fine-grained lip movements synchronized with specific speech content. This means that the template video only contains the static image of the digital human and preset body movements, without being bound to any specific audio track. This approach is to achieve high flexibility and reusability, as the same template video can be combined with multiple different voice responses to generate seemingly unique response videos. In terms of technical implementation, these template videos have already undergone structured processing during the production stage, such as adding descriptive tags to each segment, including action category, duration, emotion tag, and possible applicable context. For example, a "nodding and smiling" template video can be reused in multiple different positive response scenarios, whether confirming an order or answering a question.

[0029] The key to the technical solution provided in this step lies in the characteristic of "reusing the same digital human's background video." This means that the aforementioned executing entity intentionally assigns the same background video to two or more different user requests. For example, user A and user B might both receive responses based on the same "crossed-arms listening" background video, even though their questions are completely different. The core advantage of this reuse mechanism is that it amortizes the expensive video generation cost across multiple interactions. Generating a high-quality background video requires significant computing power, while reuse requires only a small amount of compositing overhead. In practice, the executing entity can maintain an index structure to quickly find a set of candidate videos based on request characteristics, and then select the best match using a sorting algorithm. This breaks through the limitations of the traditional "one person, one video" model and achieves large-scale resource utilization.

[0030] One implementation method, including but not limited to, is as follows: According to a preset single-channel multi-time-slice multiplexing mechanism, corresponding base video resources are matched and allocated from the digital human base video library for each real-time interactive request. Specifically, this single-channel multi-time-slice multiplexing mechanism can be manifested as: parsing each digital human base video into multiple independent time segments; for each real-time interactive request, based on the contextual semantics of the real-time interactive request, selecting one or more time segments and assembling them to obtain the matched base video resources. This parsing operation can include at least one of: forward playback, reverse playback, cropping, segmentation, and combination.

[0031] This implementation deconstructs and reconstructs a complete video from a "timeline" perspective. Instead of treating a video as an indivisible whole, it views it as a series of independent, programmable "action frame sequences." The executing entity can use preset parsing rules to break down the linearly playing video into an independent "action dictionary" or "vocabulary." Each time segment carries a minimum, meaningful human action or expression, such as a complete "raising an eyebrow," a "nodding," or the process of a "smile" emerging and converging. This deconstruction allows the executing entity to "read" and "use" the video in a way that transcends the normal flow of time, thus creating near-infinite expressive possibilities within limited resources. Its core idea is intelligent retrieval and assembly based on contextual semantics.

[0032] In practical terms, regarding the "analysis" step, the aforementioned executing entity can digitally "dissect" each segment of digital human base video in the database, cutting it into multiple independent time segments frame by frame or action node. Among them, "forward playback" can be understood as the most basic mode, that is, using the segments according to the original recording time order of the video, which is suitable for conventional sequential response scenarios; "reverse playback" is a clever operation, for example, a "picking up a water glass" action segment, when played in reverse, can be cleverly represented as "putting down the water glass", achieving the advanced effect of simulating two logical actions with one physical resource; "cropping" and "segmentation" allow the executing entity to extract only the most expressive core frames of a long action, or to cut the most representative middle 3 seconds of a 10-second waving action, in order to achieve the purpose of simplification and highlighting the key points; the "combination" operation is to assemble the segments obtained by the above different methods into a new and coherent base video resource, like assembling Lego bricks, according to the logic required by the current interaction. For example, a clip of "slightly tilting the head" and a clip of "frowning in confusion" can be spliced ​​together to create a complete complex expression of "confusion".

[0033] Furthermore, reinforcement learning can be incorporated into the fragment selection strategy. Given that current matching is largely based on predefined rules and labels, reinforcement learning can establish an intelligent editing agent. This agent can use the user's sustained interaction satisfaction (such as whether the session ends, whether a positive review is given, etc.) as a long-term reward signal, learning to optimize its decisions on selecting and assembling fragments from a vast pool. For example, when the agent discovers that a response consisting of "fragment A (smile) + fragment B (nod)" leads to longer user retention compared to "fragment C (simple nod)," it will be more inclined to choose this combination in similar future situations. This allows the reuse mechanism to evolve from "static, rule-based matching" to "dynamic, benefit-maximizing decision-making," thereby systematically improving the effectiveness and attractiveness of the overall interactive experience.

[0034] Furthermore, we could consider building a global dynamic video resource library. This library could not only match current requests but also predict future interaction trends and preload relevant time segments into a cache. Just as a seasoned chef doesn't wait for customers to order before preparing ingredients but can use experience and customer flow predictions to prepare several popular broth bases in advance, this predictive mechanism would be more adept at handling sudden, high-frequency issues, thereby further reducing response latency.

[0035] Step 203: Generate the corresponding digital human response video based on the baseboard video resources allocated for each real-time interactive request.

[0036] Building upon step 202, this step aims to enable the aforementioned executing entity to generate corresponding digital human response videos based on the baseboard video resources allocated for each real-time interactive request, thereby responding to the real-time interactive requests issued by the user.

[0037] The essence of the solution provided in this step is to perform dynamic, content-related activation processing on static digital human base video. The core problem it solves is: how to make a general, silent action segment appear as if it is thinking and answering a specific question from the user. The key lies in: first, the precise synchronization of voice and lip movements; and second, achieving partial updates without regenerating the entire screen. That is, it is necessary to align and blend an audio stream representing "the content being spoken" with a video stream representing "who is speaking" frame by frame on the timeline.

[0038] One specific implementation method is to align and synthesize the background video resources allocated for each real-time interactive request with the response speech to generate a corresponding digital human response video. The response speech is derived from the text response used to answer the questions raised in the real-time interactive request. Specifically, the executing entity can first obtain the background video resources allocated for the current request in the previous step, and the "response speech" generated by the language model for the user's question, converted through TTS (Text To Speech). This can be considered a perfect action shell (background video) and soul content (response speech). The next step is to combine the two. The key operation is alignment and synthesis, which involves analyzing the "response speech" to extract the phoneme sequence, simultaneously analyzing the background video to find the mouth area image, and then mapping each phoneme in real-time to the corresponding visual changes in lip shape, driving the lip movements of the digital human in the background video to make it appear as if the human is speaking.

[0039] To improve rendering efficiency and shorten generation time, frame-level differential rendering technology can be used. This means that the entire video frame is not modified. Instead, like a scalpel, only the pixels of a small area around the mouth are recalculated and drawn. This "patch" is then perfectly integrated into the original base video frame, resulting in a smooth final video stream.

[0040] Furthermore, to ensure that the digital human looks like the same person no matter how different base plate fragments are spliced ​​together throughout the process, face embedding vector locking technology can be used. This can be understood as a digital DNA, used to lock core features such as facial features, skin texture, and lighting, thereby ensuring visual consistency.

[0041] The resource scheduling method for real-time interactive digital humans provided in this disclosure firstly reduces the computational overhead and resource consumption of generating basic video materials separately for each user's real-time interactive request by reusing the base video resources across requests. Secondly, through a dynamic matching and allocation mechanism, it can efficiently handle massive concurrent requests while ensuring real-time response, thereby optimizing the overall resource utilization and effectively controlling the generation cost, thus laying a technical foundation for the large-scale application of real-time interactive digital human technology to a wide range of users.

[0042] Based on the above embodiments, it is also possible to divide each real-time interactive request according to the type of digital human it targets, and obtain an interactive request set corresponding to each type of digital human. In this case, the solution provided in step 202 above can be further improved as follows: using a resource pool pre-built for each type of digital human, for each real-time interactive request in the interactive request set corresponding to the corresponding type of digital human, matching and allocating the corresponding base video resources from the pre-generated digital human base video library, the number of resource pools being the same as the number of types of digital humans.

[0043] The solution provided in this embodiment aims to further achieve refined group management of real-time interactive requests. Building upon a basic reuse mechanism, it fully recognizes the significant differences in resource characteristics, knowledge bases, and action styles relied upon by different types of digital humans (e.g., a serious legal advisor versus a lively children's education tutor) during interactions. To better leverage the strengths of different types of digital humans and avoid resource competition between them, this solution adopts a "pooling" strategy. From a technical perspective, this solution aims to delineate dedicated "resource territories" for different task types to prevent a busy digital human type from exhausting all shared resources, leading to service interruptions or quality degradation for other types of digital humans. Essentially, it establishes logical boundaries to build a highly customized and independently operating "virtual studio" or "resource pool" for each type of digital human role. Each resource pool is specifically optimized for the needs of a particular type of digital human. For example, the resource pool for a legal advisor might preload more calm and affirmative action sequences, while the resource pool for an education tutor would contain more encouraging and inspiring facial expression templates. The advantage of this approach lies in its ability to achieve deep optimization for specific roles. All resources within the pool, including compute nodes, cached memory, and even GPU cores, are optimized to best handle this type of interaction. Furthermore, by directing all multiple entry points for the same digital human character to the same resource pool, resource utilization can be improved.

[0044] In practical terms, a classifier can be used to categorize requests. This classifier automatically assigns requests to the corresponding digital human category based on information in the real-time interaction request (such as the entry point identifier of a specific live stream room), forming a clear "set of interaction requests." Then, when building the resource pool, the composition preferences of the underlying video library can be adjusted based on the digital human category. For example, for a digital human like a "financial analyst," a fixed number of high-performance GPU nodes, a dedicated financial knowledge base, and a template library containing actions such as chart analysis and attentive listening can be allocated. All these elements together constitute a highly autonomous resource pool specifically for "financial analysts." When a request belonging to this set arrives, the scheduler can directly schedule it within the dedicated resource pool corresponding to that category. This significantly reduces the complexity of scheduling decisions and improves cache hit rate because the resources in the pool are repeatedly used to process similar tasks.

[0045] Building upon the previous embodiment, the resource adjustment method for each resource pool can be determined based on the request characteristics of real-time interactive requests received by different resource pools within a preset period. Then, the resources for each resource pool in the next period are adjusted according to the resource adjustment method. The resources may include at least one of the following: the maximum number of channels pointing to the resource pool, the number of nodes, shared cache between nodes, GPU resources, and read / write performance limits. In other words, this embodiment aims to shift from static resource allocation to data-driven dynamic resource allocation. The core is to no longer arbitrarily allocate fixed resources to a type of digital human, but rather dynamically adjust them based on their actual "workload" and "work efficiency."

[0046] From a technical perspective, this adjustment mechanism is essentially a closed-loop feedback control system. It no longer assumes that a resource pool is always busy or idle, but rather acknowledges the objective tidal patterns of traffic and proactively adapts to them. Specifically, the executing entity continuously collects vital data reflecting the operational status of each resource pool—request characteristics—at preset time intervals (e.g., every minute or every five minutes). Based on these request characteristics, it determines the resource adjustment method (e.g., increasing or decreasing resources), and ultimately adjusts the resource pool according to this method in the next cycle.

[0047] To gain a deeper understanding of how to determine resource adjustment methods based on request characteristics, please refer to [link / reference]. Figure 3 , Figure 3 A flowchart of a method for determining the resource adjustment method for each resource pool provided in this disclosure embodiment, wherein process 300 includes the following steps: Step 301: Determine the request concurrency intensity and the distribution of requests with different priorities based on the number of real-time interactive requests received by different resource pools within a preset period; This step aims to have the aforementioned implementing entity focus on analyzing "traffic characteristics," that is, calculating the intensity of request concurrency that reflects the magnitude of external pressure by statistically counting the number of requests. At the same time, it analyzes the request source or content tags of these requests to determine the distribution of requests with different priorities. This distribution can indicate the nature of the pressure, thereby distinguishing between regular traffic and urgent requests that need to be processed urgently.

[0048] Step 302: Determine the baseboard video reuse rate based on the baseboard video resources allocated by different resource pools to the received real-time interactive requests within a preset period; Unlike step 301, this step aims to have the aforementioned implementing entity assess "resource efficiency," which measures the economics of internal resource utilization by calculating the baseboard video reuse rate. This requires tracing all requests processed by each resource pool within a cycle and analyzing how many different baseboard videos these requests ultimately pointed to. A high reuse rate means that the resource pool can serve a large number of requests with very few core assets (baseboard videos), representing a model of efficiency; conversely, a low reuse rate indicates that resources may be idle or wasted.

[0049] Step 303: Determine the resource adjustment method for each resource pool based on the request concurrency intensity of different resource pools within the preset period, the request distribution of different priorities, and the baseboard video reuse rate.

[0050] Building upon steps 301 and 302, this step aims to move beyond viewing traffic or efficiency characteristics in isolation. Instead, it combines the two to create a comprehensive resource health report, which in turn generates precise adjustment instructions. Essentially, this involves evaluating each resource pool and determining, based on the evaluation results, whether to "increase investment (i.e., increase resources)" or "reduce budget (reduce resources)."

[0051] The solution provided in this step is equivalent to the core of the performance tuning mechanism, which executes a multi-factor weighted decision-making algorithm. For example, analysis reveals that the resource pool of "Virtual Teacher A" simultaneously satisfies high concurrency and high reuse rate. This is like a store with high customer traffic and high table turnover rate, so it is reasonable to "add manpower" and "expand the store" for it, that is, to increase the number of GPU nodes and increase the shared cache capacity in the next cycle. On the other hand, for a resource pool with high concurrency and low reuse, the analysis concludes that its matching algorithm needs to be optimized, and it is instead prioritized to allocate higher-quality CPU computing resources to try to improve the matching speed.

[0052] Furthermore, considering that the dynamic adjustment mechanism provided by the above solutions is automatic, but is essentially a post-event response, we can also consider introducing proactive resource planning based on time series prediction. That is, we can train a machine learning model to learn the unique "routine" of each resource pool. For example, for the resource pool corresponding to the "fitness coach" digital human, the morning and evening peak hours can be predicted. This prediction model can be used to start injecting resources into the target resource pool in advance and gradually one or two cycles before the expected traffic peak arrives.

[0053] To gain a deeper understanding of how digital human responsive videos are generated, please refer to [link / reference needed]. Figure 4 , Figure 4 A flowchart of a method for generating a digital human responsive video provided in this disclosure embodiment, wherein process 400 includes the following steps: Step 401: Obtain the baseboard video resources and response voice corresponding to each real-time interaction request; Step 402: Based on the preset phoneme-visual mapping relationship, adjust the mouth shape changes in the mouth area of ​​the base plate video resource according to the response voice to generate the corresponding digital human response video.

[0054] The core principle of the solution provided in this step is based on the intersection of linguistics and computer vision. Among them, a phoneme is the smallest sound unit in human language that can distinguish meaning, such as the initials and finals in Chinese, while a viseme is the mouth shape and facial muscle movement pattern that visually corresponds to one or more phonemes.

[0055] The first step in this process is to perform phoneme recognition on the response speech, breaking it down into a series of phoneme sequences arranged in time. Then, based on a pre-defined phoneme-visual mapping table, each phoneme is converted in real time into a specific, continuous mouth movement trajectory on the digital face. In practice, this process can be performed by a specially optimized lip-sync rendering model. This model receives mouth area images extracted in real time from the background video, but instead of redrawing the entire face, it uses frame-level differential rendering technology to precisely and locally modify and overlay the image pixels of the lips and surrounding muscles on the original video frames. This generates a final digital human response video with synchronized lip movements in every frame, aiming to make the digital human's speech appear as realistic and believable as possible.

[0056] Based on any of the above embodiments, please refer to Figure 5 , Figure 5 A flowchart of a digital human response video delivery method provided in this disclosure embodiment, wherein process 500 includes the following steps: Step 501: Distribute the generated digital human response video to the terminal device used by the corresponding user through the edge node of the content delivery network; This step aims to enable the aforementioned implementing entities to distribute digital human-responsive video to each user's terminal device using a Content Delivery Network (CDN) and the edge nodes that make up the CDN.

[0057] That is, after the aforementioned execution entity completes the synthesis of the digital human response video, it will not send it directly to the distant user, but will first push it to these edge nodes. When the user request arrives, the system will use technologies such as DNS resolution to intelligently guide the user to the nearest node that stores the video he needs, thereby shortening the data transmission distance and reducing the probability of network congestion and packet loss, thus ensuring smooth playback of the video stream and a low-latency experience.

[0058] Step 502: Control the edge node to temporarily store the received digital human response video so that the edge node can directly send the digital human response video to the terminal devices used by other users with the same needs.

[0059] Building upon step 501, this step aims to allow the aforementioned executing entity to control the edge node to temporarily store the received digital human response video. Specifically, the executing entity will instruct the edge node not only to serve the currently requesting user but also to retain the video in its local storage for a period of time.

[0060] The "temporary storage" described in this step is a dynamic and intelligent process. Its duration is not fixed but proportional to a key metric: the number of times a video is reused. This is a feedback loop: the more times a video is requested, the more likely it is to be requested again, thus allowing it to remain on edge nodes longer. In practice, a popularity ranking can even be created, and the remaining retention time can be adjusted by tracking the request frequency of each video in real time.

[0061] Building upon the previous embodiment, and considering that current caching strategies are essentially reactive—that is, extending the cache time of a video only after it has been frequently requested—we can explore building intelligent predictive caching and a global resource graph. This involves using machine learning models to analyze user behavior data and predict which questions or content will become trending. For example, after a major news event, related Q&A videos can be proactively deployed to edge nodes in various regions, and even lightweight transcoding can be performed in advance to adapt to different network environments. When the model predicts that the attention to a certain topic (such as a new policy or product release) will increase sharply, it can proactively pre-warm related content videos in the cache.

[0062] With the widespread application of AI digital human technology, the industry is undergoing a significant leap from "unified content live streaming" to "large-scale 1v1 real-time interaction." In the traditional 1vN (one digital human playing the same content to all users) live streaming model, the system only needs to output one video stream, and all users receive the same video content, making production costs controllable. However, as the interactive scenario evolves from "one-way playback" to "personalized responses and real-time interaction," each user's input will trigger an independent chain of speech synthesis, lip-syncing, facial expression control, and video rendering. At this point, the system not only faces the challenge of exponentially increasing computing power demands but also needs to generate visually consistent and emotionally natural digital human response content in a very short time, leading to problems such as soaring interaction costs, low resource utilization, and limited system throughput.

[0063] Taking AI customer service, virtual lecturers, virtual hosts, and interactive live streaming as examples, users' semantic inputs vary greatly. The system must have the ability to generate personalized responses for each user, while also responding within milliseconds. If the traditional "single-channel exclusive" generation scheme is continued, a complete generation channel (including voice-driven, video generation, and rendering resources) must be allocated independently for each user. This will directly lead to uncontrollable costs and limited concurrency capabilities, severely restricting the implementation of digital human technology in large-scale real-time interactive scenarios.

[0064] To address the aforementioned issues, this embodiment proposes a high-efficiency digital human video generation and real-time response technology solution based on multiplexing and dynamic scheduling, suitable for large-scale user concurrency scenarios, in order to cope with the computing power pressure and cost challenges brought about by the fully interactive mode of "one person, one video".

[0065] This embodiment constructs a reuse scheduling mechanism for digital human content generation and playback. Based on a three-layer core mechanism of "baseline video + polymorphic reuse + dynamic scheduling," it maximizes the utilization and real-time distribution of video resources through structural optimization in the generation, rendering, and scheduling stages. The following provides a detailed explanation of each core mechanism (see [link to documentation]). Figure 6 (Diagram) I. Single-channel multi-time-slice multiplexing mechanism After generating the digital human base video, the system breaks it down into multiple time segments and performs localized combinations based on contextual semantics, motion flow, and facial expression templates. This allows for the reuse of "one video" across multiple time periods and by multiple users without repeatedly generating base materials.

[0066] For example, a standardized green screen digital human background video (such as a 5-second smile and nod) can be used as a welcoming gesture in user A's conversation and as a response gesture in user B's question-and-answer scenario, enabling the multi-temporal and spatial reuse of the same video clip and significantly reducing the cost of single generation.

[0067] II. Multiplexing and Tidal Dynamic Allocation Mechanism

[0068] To handle high concurrency access, this embodiment splits the digital human video generation and rendering task into multiple service nodes, constructing a "resource group pool". The system can dynamically adjust the occupation and release of different channels based on indicators such as current concurrency intensity, task priority, and content reuse rate, using a "tidal lane" allocation logic, enabling GPU, cache, and I / O resources to be allocated on demand.

[0069] During periods of low concurrency, the system concentrates tasks on nodes with high reusability to save energy; during peak periods, it rapidly expands nodes and shares the baseboard cache to maximize resource utilization and achieve dynamic elastic scaling.

[0070] III. Rendering and Distribution Optimization of the Integrated Live Streaming Platform

[0071] By deeply integrating with the live streaming platform technology stack, this invention introduces caching acceleration and frame-level reuse strategies at the transmission and rendering layers. With the baseboard video cached at edge nodes, user request responses can be completed within milliseconds. Furthermore, based on the phoneme-visme driving relationship, voice and lip movements are dynamically overlaid to achieve highly synchronized real-time interaction. The frame-level differential encoding / decoding mechanism further reduces redundant rendering and lowers bandwidth consumption.

[0072] The core innovation of the solution provided in this embodiment lies in the deep integration of content layer reuse of the video generation model and system-level computing power scheduling, realizing an architectural transformation from "generative independent computing" to "reusable dynamic sharing". Its main innovations include: 1) Constructing a "single-channel multi-time-slice reuse" mechanism, breaking the limitation of "one video for only one task", and greatly improving the utilization rate of the base material; 2) Proposing a "tidal resource dynamic allocation" strategy, enabling GPU and cache resources to be allocated on demand among multiple tasks, improving system elasticity and concurrent throughput; 3) Achieving a low-latency, high-synchronization real-time interactive experience through base caching and frame-level differential encoding and decoding mechanisms; 4) Forming a standardized architecture that can be seamlessly connected with large video generation models, speech synthesis systems, and live streaming platforms, possessing scalability and industry universality.

[0073] In summary, the solution provided in this embodiment, while ensuring personalized interaction and real-time response, achieves a leap from "pre-generated content" to "real-time content generation" for digital humans by institutionalizing and systematizing the reuse mechanism of background video and rendering computing resources. Therefore, the solution provided in this embodiment can be applied to scenarios such as virtual customer service, digital human explanation, intelligent Q&A, AI emotional companionship, virtual anchor interaction, e-commerce live streaming, and corporate training. Furthermore, in these applications, this embodiment can achieve personalized interaction tailored to each user, significantly reducing system computing power and video generation costs, making large-scale deployment of real-time interactive digital humans feasible, and driving the comprehensive evolution of digital human technology from "content playback" to "real-time service."

[0074] Further reference Figure 7 As an implementation of the methods shown in the above figures, this disclosure provides an embodiment of a resource scheduling device for real-time interactive digital humans, which is similar to... Figure 2 Corresponding to the method embodiments shown, this device can be specifically applied to various electronic devices.

[0075] like Figure 7 As shown, the resource scheduling device 700 for real-time interactive digital humans in this embodiment may include: a real-time interaction request receiving unit 701, a base video resource allocation unit 702, and a digital human response video generation unit 703. The real-time interaction request receiving unit 701 is configured to receive real-time interaction requests initiated by different users through different digital human live-streaming room entrances; the base video resource allocation unit 702 is configured to match and allocate corresponding base video resources from a pre-generated digital human base video library for each real-time interaction request; wherein different digital human base videos constituting the digital human base video library correspond to digital humans exhibiting different actions, and the base video resources allocated to at least two different real-time interaction requests reuse the same digital human base video; the digital human response video generation unit 703 is configured to generate corresponding digital human response videos based on the base video resources allocated to each real-time interaction request.

[0076] In this embodiment, the specific processing of the real-time interactive request receiving unit 701, the base plate video resource allocation unit 702, and the digital human response video generation unit 703 in the resource scheduling device 700 for real-time interactive digital humans, and the resulting technical effects, can be found in the following references: Figure 2 The relevant descriptions of steps 201-203 in the corresponding embodiments will not be repeated here.

[0077] In some other optional implementations of this embodiment, the base plate video resource allocation unit 702 includes: The single-channel multi-time-slice multiplexing subunit is configured to match and allocate corresponding baseboard video resources from the digital human baseboard video library for each real-time interactive request according to a preset single-channel multi-time-slice multiplexing mechanism.

[0078] In some other optional implementations of this embodiment, the single-channel multi-time-slice multiplexing subunit includes: The parsing module is configured to parse each digital human base video into multiple independent time segments; The semantic selection and assembly module is configured to select one or more time segments from multiple time segments based on the context semantics of each real-time interactive request, and assemble them to obtain a matching baseboard video resource.

[0079] In some other optional implementations of this embodiment, the parsing module is further configured to: Each digital human base video is analyzed using at least one of the following preset analysis processing operations to obtain multiple independent time segments: Forward playback, reverse playback, cropping, segmentation, and combination.

[0080] In some other optional implementations of this embodiment, the resource scheduling device 700 for real-time interactive digital humans may further include: The system is configured to divide each real-time interaction request into units based on the type of digital human it targets, thereby obtaining a set of interaction requests corresponding to each type of digital human. Correspondingly, the base plate video resource allocation unit 702 is further configured as follows: Using a resource pool pre-built for each type of digital human, for each real-time interactive request in the set of interactive requests corresponding to the corresponding type of digital human, the corresponding base video resources are matched and allocated from the pre-generated digital human base video; wherein, the number of resource pools is the same as the number of types of digital humans.

[0081] In some other optional implementations of this embodiment, the resource scheduling device 700 for real-time interactive digital humans may further include: The resource adjustment method determination unit is configured to determine the resource adjustment method for each resource pool based on the request characteristics of real-time interactive requests received by different resource pools within a preset period. The resource adjustment unit is configured to adjust the resources of each resource pool in the next cycle according to the resource adjustment method; wherein the resources include at least one of the following: the maximum number of channels pointing to the resource pool, the number of nodes, the shared cache between nodes, GPU resources, and the upper limit of read and write performance.

[0082] In some other optional implementations of this embodiment, the resource adjustment method determination unit is further configured to: Based on the number of real-time interactive requests received by different resource pools within a preset period, the request concurrency intensity and the distribution of requests with different priorities are determined. The baseboard video reuse rate is determined based on the baseboard video resources allocated by different resource pools to the received real-time interactive requests within a preset period. Based on the concurrent request intensity of different resource pools, the distribution of requests with different priorities, and the reuse rate of baseboard video within a preset period, the resource adjustment method for each resource pool is determined.

[0083] In some other optional implementations of this embodiment, the digital human response video generation unit 703 includes: The audio-visual alignment subunit is configured to perform alignment and synthesis processing on the background video resources allocated for each real-time interactive request and the response speech to generate the corresponding digital human response video; wherein, the response speech is derived from the response text used to answer the questions raised in the real-time interactive request.

[0084] In some other optional implementations of this embodiment, the audio-visual alignment subunit is further configured as follows: Acquire the baseboard video resources and response voice corresponding to each real-time interaction request; Based on the preset phoneme-visual pixel mapping relationship, the mouth shape changes in the mouth area of ​​the base plate video resource are adjusted according to the response voice to generate the corresponding digital human response video.

[0085] In some other optional implementations of this embodiment, the resource scheduling device 700 for real-time interactive digital humans may further include: The distribution unit is configured to distribute the generated digital human response video to the terminal device used by the corresponding user through the edge node of the content delivery network. The edge node temporary storage control unit is configured to control the edge node to temporarily store the received digital human response video, so that the edge node can directly send the digital human response video to the terminal devices used by other users with the same needs; wherein, the storage duration of the digital human response video stored in the edge node is proportional to the number of times it is reused.

[0086] This embodiment exists as a device embodiment corresponding to the above method embodiment. The resource scheduling device for real-time interactive digital humans provided in this embodiment firstly reduces the computational overhead and resource consumption of generating basic video materials separately for each user's real-time interactive request by reusing the baseboard video resources across requests. Secondly, through the dynamic matching and allocation mechanism, it can efficiently handle massive concurrent requests while ensuring real-time response, thus optimizing the overall resource utilization and effectively controlling the generation cost, thereby laying the technical foundation for the large-scale application of real-time interactive digital human technology to a wide range of users.

[0087] According to embodiments of the present disclosure, the present disclosure also provides an electronic device, the electronic device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to implement the resource scheduling method for real-time interactive digital humans described in any of the above embodiments.

[0088] According to embodiments of this disclosure, this disclosure also provides a readable storage medium storing computer instructions that enable a computer to implement the resource scheduling method for real-time interactive digital humans described in any of the above embodiments when executed.

[0089] According to embodiments of this disclosure, this disclosure also provides a computer program product that, when executed by a processor, can implement the resource scheduling method for real-time interactive digital humans described in any of the above embodiments.

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

[0091] like Figure 8 As shown, device 800 includes a computing unit 801, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 802 or a computer program loaded from storage unit 808 into random access memory (RAM) 803. RAM 803 may also store various programs and data required for the operation of device 800. The computing unit 801, ROM 802, and RAM 803 are interconnected via bus 804. Input / output (I / O) interface 805 is also connected to bus 804.

[0092] Multiple components in device 800 are connected to I / O interface 805, including: input unit 806, such as keyboard, mouse, etc.; output unit 807, such as various types of monitors, speakers, etc.; storage unit 808, such as disk, optical disk, etc.; and communication unit 809, such as network card, modem, wireless transceiver, etc. Communication unit 809 allows device 800 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0093] The computing unit 801 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 801 performs the various methods and processes described above, such as a resource scheduling method for a real-time interactive digital human. For example, in some embodiments, the resource scheduling method for a real-time interactive digital human can be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 808. In some embodiments, part or all of the computer program can be loaded and / or installed on device 800 via ROM 802 and / or communication unit 809. When the computer program is loaded into RAM 803 and executed by the computing unit 801, one or more steps of the resource scheduling method for a real-time interactive digital human described above can be performed. Alternatively, in other embodiments, computing unit 801 may be configured by any other suitable means (e.g., by means of firmware) to perform a resource scheduling method for real-time interactive digital humans.

[0094] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0095] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0096] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

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

[0098] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.

[0099] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and Virtual Private Server (VPS) services, such as high management difficulty and weak business scalability.

[0100] The beneficial effects of the technical solutions according to the embodiments of this disclosure are repeated.

[0101] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.

[0102] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.

Claims

1. A resource scheduling method for real-time interactive digital humans, comprising: Receive real-time interactive requests initiated by different users through different digital human live streaming room entrances; For each real-time interaction request, a corresponding base video resource is matched and allocated from a pre-generated digital human base video library; wherein, different digital human base videos constituting the digital human base video library correspond to digital humans exhibiting different actions, and the base video resources allocated to at least two different real-time interaction requests are reused from the same digital human base video. Based on the background video resources allocated for each of the real-time interaction requests, a corresponding digital human response video is generated, including: parsing each of the digital human background videos according to at least one of the preset parsing processing operations, including forward playback, reverse playback, cropping, segmentation, and combination, to obtain multiple independent time segments; for each of the real-time interaction requests, based on the contextual semantics of the real-time interaction request, selecting one or more of the multiple time segments and assembling them to obtain matching background video resources; wherein, the selection process of the multiple time segments based on the contextual semantics adopts the reinforcement learning idea of ​​maximizing the user's continuous interaction satisfaction as a long-term reward signal to optimize the decision to select and assemble the multiple time segments, and the level of continuous interaction satisfaction is directly proportional to the length of user retention time; It also includes: using a pre-built global dynamic video resource library to predict the next interaction trend for the real-time interaction request, and preloading the relevant time segments that may be used into the cache in advance for assembly to obtain matching base plate video resources.

2. The method according to claim 1, further comprising: The real-time interaction requests are divided according to the type of digital human they are targeting, resulting in a set of interaction requests corresponding to each type of digital human. Correspondingly, for each of the real-time interaction requests, matching and allocating corresponding baseboard video resources from a pre-generated digital human baseboard video library includes: Using a resource pool pre-built for each type of digital human, for each real-time interactive request in the interactive request set corresponding to the corresponding type of digital human, the corresponding base video resources are matched and allocated from the pre-generated digital human base video library; wherein, the number of resource pools is the same as the number of types of digital humans.

3. The method according to claim 2, further comprising: Based on the request characteristics of real-time interactive requests received by different resource pools within a preset period, the resource adjustment method for each resource pool is determined. The resources of each resource pool in the next cycle are adjusted according to the resource adjustment method described above; wherein, the resources include at least one of the following: the maximum number of channels pointing to the resource pool, the number of nodes, the shared cache between nodes, GPU resources, and the upper limit of read and write performance.

4. The method according to claim 3, wherein, The step of determining the resource adjustment method for each resource pool based on the request characteristics of real-time interactive requests received by different resource pools within a preset period includes: Based on the number of real-time interactive requests received by different resource pools within the preset period, the request concurrency intensity and the distribution of requests with different priorities are determined. The baseboard video reuse rate is determined based on the baseboard video resources allocated by different resource pools to the received real-time interactive requests within the preset period. Based on the request concurrency intensity of different resource pools, the request distribution of different priorities, and the baseboard video reuse rate within the preset period, the resource adjustment method for each resource pool is determined.

5. The method according to claim 1, wherein, The step of generating corresponding digital human response videos based on the baseboard video resources allocated for each of the real-time interactive requests includes: The baseboard video resources allocated for each of the real-time interactive requests are aligned and synthesized with the response voice to generate a corresponding digital human response video; wherein, the response voice is obtained by converting the response text used to answer the questions raised in the real-time interactive requests.

6. The method according to claim 5, wherein, The step of aligning and synthesizing the baseboard video resources allocated for each real-time interactive request with the speech generated based on the request response text to generate a corresponding digital human response video includes: Obtain the baseboard video resources and response voice corresponding to each of the real-time interaction requests; Based on the preset phoneme-visual pixel mapping relationship, the mouth shape changes in the mouth area of ​​the base plate video resource are adjusted according to the response voice to generate the corresponding digital human response video.

7. The method according to any one of claims 1-6, further comprising: The generated digital human response video is distributed to the terminal device used by the corresponding user through the edge node of the content delivery network; The edge node is controlled to temporarily store the received digital human response video, so that the edge node can directly send the digital human response video to the terminal devices used by other users with the same needs; wherein, the storage time of the digital human response video in the edge node is proportional to the number of times it is reused.

8. A resource scheduling device for real-time interactive digital humans, comprising: The real-time interaction request receiving unit is configured to receive real-time interaction requests initiated by different users through different digital human live streaming room entrances; The base video resource allocation unit is configured to match and allocate corresponding base video resources from a pre-generated digital human base video library for each real-time interaction request; wherein, different digital human base videos constituting the digital human base video library correspond to digital humans exhibiting different actions, and the base video resources allocated to at least two different real-time interaction requests are reused from the same digital human base video. The digital human response video generation unit is configured to generate corresponding digital human response videos based on the background video resources allocated for each of the real-time interaction requests. This includes: parsing each of the digital human background videos according to at least one of the preset parsing processing operations, including forward playback, reverse playback, cropping, segmentation, and combination, to obtain multiple independent time segments; for each real-time interaction request, selecting one or more time segments based on the contextual semantics of the real-time interaction request, and assembling them to obtain matching background video resources; wherein, the selection process of the multiple time segments based on the contextual semantics adopts a reinforcement learning approach that optimizes the selection and assembly of the multiple time segments by maximizing the user's continuous interaction satisfaction as a long-term reward signal, and the level of continuous interaction satisfaction is directly proportional to the length of user retention time. The prediction and preloading unit is configured to use a pre-built global dynamic video resource library to predict the next interaction trend for the real-time interaction request, and preload the relevant time segments that may be used into the cache in advance for assembly to obtain matching baseboard video resources.

9. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the resource scheduling method for real-time interactive digital humans as described in any one of claims 1-7.

10. A non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the resource scheduling method for a real-time interactive digital human as described in any one of claims 1-7.

11. A computer program product comprising a computer program that, when executed by a processor, implements the steps of the resource scheduling method for a real-time interactive digital human according to any one of claims 1-7.

Citation Information

Patent Citations

  • Human-computer interaction method, device and platform, electronic equipment and storage medium

    CN117806459A

  • Method and system for managing multiple digital copies

    CN118338029A