Video conference method and device based on parallel computing, electronic equipment and medium

By using multiple server processes to process audio data in parallel and synchronously during video conferencing, the problem of digital human effects freezing and jittering is solved, and the smoothness of video conferencing is improved.

CN118646840APending Publication Date: 2024-09-13海南乾唐视联信息技术有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410838536.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-09-13

AI Technical Summary

Technical Problem

In video conferencing, digital human effects are prone to stuttering, jittering, and smoothness, resulting in unsmooth video conferencing images.

Method used

By creating multiple processes in different servers to process the digital human conversion process in video conferencing in parallel, and synchronizing the processing progress of multiple processes, by receiving the audio data sent by the target conference terminal, sending it to the buffers of multiple processes respectively. area, detects the difference in the amount of audio data and performs synchronization processing at the same time, generating a video stream to reduce frame loss and delay.

Benefits of technology

It achieves the smoothness of the digital human effect and the improvement of the video conference screen, reduces stuttering and jitter, and improves processing efficiency and real-time performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118646840A
    Figure CN118646840A
Patent Text Reader

Abstract

The embodiment of the invention provides a parallel computing-based video conference method and device, electronic equipment and a medium, and the method comprises the steps: receiving current audio data sent by a target conference terminal, and respectively sending the current audio data to buffer regions of a plurality of processes; detecting the number of audio data in the buffer areas of the plurality of processes; if the quantities of the audio data in the buffer areas of the plurality of processes are different, synchronizing the audio data in other buffer areas according to the audio data in the buffer area with the minimum quantity of the audio data; calling a plurality of processes, processing the audio data in the buffer area in parallel to obtain digital human frames output by the plurality of processes, and generating a video stream according to the digital human frames output by the plurality of processes; and the video stream is sent to other conference terminals participating in the conference, so that the digital human conversion process in the video conference is processed in parallel by adopting a plurality of processes created in different servers, and the processing progress of the plurality of processes is synchronized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of video conferencing, and in particular to a video conferencing method, device, electronic device and medium based on parallel computing. Background Art

[0002] In video conferencing, digital human technology needs to be applied in some scenarios, that is, virtual characters are used instead of real people. However, in the existing technology, the application of digital human technology in the process of video conferencing will cause the digital human effect to have problems such as lag, jitter, and unevenness, and the video conferencing picture will not be smooth. Summary of the invention

[0003] In view of the above problems, a video conferencing method, device, electronic device and medium based on parallel computing are proposed to overcome the above problems or at least partially solve the above problems, including:

[0004] A video conferencing method based on parallel computing, the method comprising:

[0005] Receiving current audio data sent by a target conference terminal, and sending the current audio data to buffers of multiple processes respectively; wherein the multiple processes include processes in different servers;

[0006] Detecting the amount of audio data in the buffers of the multiple processes; wherein the amount of audio data is the amount of audio data sent by the target conference terminal in the buffer;

[0007] If the amounts of audio data in the buffers of the multiple processes are different, synchronizing the audio data in other buffers according to the audio data in the buffer with the smallest amount of audio data;

[0008] Calling the multiple processes to process the audio data in the buffer in parallel, obtaining digital human frames output by the multiple processes, and generating a video stream according to the digital human frames output by the multiple processes;

[0009] The video stream is sent to other conference terminals participating in the conference.

[0010] Optionally, if the amounts of audio data in the buffers of the multiple processes are different, synchronizing the audio data in other buffers according to the audio data in the buffer with the smallest amount of audio data includes:

[0011] If the amounts of audio data in the buffers of the multiple processes are different, at least part of the audio data in other buffers is deleted according to the time sequence in which the audio data enters the buffer, so that the amount of audio data in the other buffers is the same as that in the buffer with the smallest amount of audio data.

[0012] Optionally, if the amounts of audio data in the buffers of the multiple processes are different, deleting at least part of the audio data in other buffers according to the time sequence of the audio data entering the buffers, so that the amount of audio data in the other buffers is the same as that in the buffer with the smallest amount of audio data, comprises:

[0013] If the amounts of audio data in the buffers of the multiple processes are different, and the buffer with the smallest amount of audio data only has the current audio data, the previous audio data in the other buffers are deleted, and only the current audio data is retained in the other buffers, so that the amount of audio data in the other buffers is the same as that in the buffer with the smallest amount of audio data.

[0014] Optionally, calling the multiple processes to process the audio data in the buffer in parallel to obtain digital human frames output by the multiple processes includes:

[0015] For the same audio data in the buffers of the multiple processes, calling the multiple processes to process different audio segments of the same audio data to obtain digital human frames output by the multiple processes;

[0016] The step of generating a video stream according to the digital human frames output by the multiple processes comprises:

[0017] According to the time sequence of the different audio clips in the same audio data, the digital human frames output by the multiple processes are spliced ​​to obtain a video stream.

[0018] Optionally, before receiving the current audio data sent by the target conference terminal, the method further includes:

[0019] Acquire target image data corresponding to the target conference terminal.

[0020] Optionally, for the same audio data in the buffers of the multiple processes, calling the multiple processes to process different audio segments of the same audio data to obtain digital human frames output by the multiple processes includes:

[0021] For the same audio data in the buffers of the multiple processes, calling the multiple processes to process different audio segments of the same audio data to obtain audio feature information;

[0022] The audio feature information and the target image data are combined to generate a digital human frame output by the multiple processes.

[0023] Optionally, the receiving current audio data sent by the target conference terminal includes:

[0024] Receiving an audio stream sent by the target conference terminal;

[0025] The audio stream is format converted to obtain current audio data.

[0026] A video conferencing device based on parallel computing, the device comprising:

[0027] A current audio data receiving and distributing module, used to receive the current audio data sent by the target conference terminal, and send the current audio data to the buffers of multiple processes respectively; wherein the multiple processes include processes in different servers;

[0028] An audio data quantity detection module, used to detect the quantity of audio data in the buffers of the multiple processes; wherein the audio data quantity is the quantity of audio data sent by the target conference terminal in the buffer;

[0029] An audio data synchronization module, configured to synchronize the audio data in other buffers according to the audio data in the buffer with the smallest amount of audio data if the amounts of audio data in the buffers of the multiple processes are different;

[0030] A video stream generation module, used to call the multiple processes, process the audio data in the buffer in parallel, obtain the digital human frames output by the multiple processes, and generate a video stream according to the digital human frames output by the multiple processes;

[0031] The video stream sending module is used to send the video stream to other conference terminals participating in the conference.

[0032] An electronic device comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the method described above when executed by the processor.

[0033] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described above is implemented.

[0034] The embodiments of the present invention have the following advantages:

[0035] In an embodiment of the present invention, by receiving the current audio data sent by the target conference terminal, and sending the current audio data to the buffers of multiple processes respectively, the multiple processes include processes in different servers, detecting the amount of audio data in the buffers of the multiple processes, if the amount of audio data in the buffers of the multiple processes is different, according to the audio data in the buffer with the smallest amount of audio data, synchronizing the audio data in other buffers, calling multiple processes, processing the audio data in the buffers in parallel, obtaining digital human frames output by the multiple processes, and generating a video stream based on the digital human frames output by the multiple processes, and sending the video stream to other conference terminals participating in the conference, it is realized that multiple processes created in different servers are used to parallelly process the digital human conversion process in the video conference, and the processing progress of the multiple processes is synchronized, thereby reducing the occurrence of problems such as stuttering, jittering, and unevenness of the digital human effect, and improving the fluency of the video conference screen. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0037] Figure 1 is a flowchart of steps of a video conferencing method based on parallel computing provided by some embodiments of the present invention;

[0038] Figure 2 is a schematic diagram of a system architecture provided by some embodiments of the present invention;

[0039] Figure 3 is a schematic diagram of a process processing data provided by some embodiments of the present invention;

[0040] Figure 4 is a schematic diagram of another process processing data provided by some embodiments of the present invention;

[0041] Figure 5 is a flowchart of another video conferencing method based on parallel computing provided by some embodiments of the present invention;

[0042] Figure 6 It is a structural block diagram of a video conferencing device based on parallel computing provided by some embodiments of the present invention. DETAILED DESCRIPTION

[0043] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0044] Reference Figure 1 , showing a step flow chart of a video conferencing method based on parallel computing provided by some embodiments of the present invention, which can be applied to servers in video conferencing.

[0045] In some examples, the method may be executed by one server, or different parts may be executed by multiple servers. Figure 2 The server in the video conference includes a conference server and an AI server. The conference server and the AI ​​service are connected to each other. The method can be partially executed on the conference server and partially executed on the AI ​​service. For example, the relevant content of video stream synthesis is executed by the AI ​​service. For example, the relevant content of video stream synthesis includes AI processing (such as synthesized digital portraits, super-resolution reconstruction, etc.) and streaming media processing (such as audio encoding and decoding, video encoding and decoding), and other content is executed by the conference server.

[0046] In some examples, the video conference may be a video conference based on a visual networking protocol, and the server in the video conference may be a server based on a visual networking protocol.

[0047] Specifically, the following steps may be included:

[0048] Step 101: receiving current audio data sent by a target conference terminal, and sending the current audio data to buffers of multiple processes respectively; wherein the multiple processes include processes in different servers.

[0049] After the video conference starts, when the digital human function is turned on, the digital human technology can be applied in the video conference to perform the digital human conversion process and generate a video stream containing digital human frames.

[0050] Among them, digital human is a digital human image close to human image created by computer graphics technology. They use information science methods to simulate the human body at different levels of form and function. They have the appearance and form of real people, and can show physiological, psychological and social performance similar to real humans, and can interact with humans in an extremely realistic way. The personality, ability, appearance, etc. of digital people can be set and modified through programming to meet application requirements.

[0051] Due to the complexity of the digital human algorithm and the need for high computer performance, multiple servers can be deployed. A process can be created in each server to handle the digital human conversion process in video conferencing. The audio stream can be processed in a multi-process manner, with each process handling its own task. Audio data processing and real-time digital human conversion can be processed in multiple processes, which speeds up data processing and achieves a low latency effect.

[0052] In some examples, the server that creates a process for handling the digital human conversion process may be an AI server, that is, multiple AI servers are set up, or it may be other servers called by the AI ​​server, that is, the AI ​​server calls multiple other servers to perform the digital human conversion process.

[0053] When the current audio data is received, the audio data can be sent to the buffers of multiple processes. Each process can obtain the audio data from the corresponding buffer to perform the digital human conversion process, thereby realizing the parallel processing of the digital human conversion process by multiple processes created in different servers, thereby improving the processing efficiency of the digital human conversion process and improving the real-time performance of the digital human conversion process.

[0054] In some embodiments of the present invention, the receiving the current audio data sent by the target conference terminal includes: receiving an audio stream sent by the target conference terminal; and performing format conversion on the audio stream to obtain the current audio data.

[0055] During the video conference, the target conference terminal can transmit the collected audio data in the form of an audio stream on the network. The audio stream is in the form of binary encoding. When the audio stream sent by the target conference terminal is received, the audio stream can be converted into audio data in a specified format.

[0056] In some examples, the audio stream is converted into audio data of a specified format according to the specifications of the received audio stream, such as the specifications of the audio stream such as sampling rate, number of channels, etc.

[0057] In some examples, the specified format may be a wav format.

[0058] In some embodiments of the present invention, before receiving the current audio data sent by the target conference terminal, the method further includes: acquiring target image data corresponding to the target conference terminal.

[0059] As an example, the target image data includes conference venue image data and portrait image data of conference participants.

[0060] Before the video conference starts, the conference terminal can synchronize the target image data to the conference server, which can forward it to the AI ​​server. The AI ​​server can temporarily store the target image data in the media library for use in subsequent processing of the digital human conversion process.

[0061] In some examples, the target image data can be directly captured by a camera of the conference terminal, or captured by a check-in device when a participant signs in, and then sent to the conference terminal by the check-in device.

[0062] Step 102: Detect the amount of audio data in the buffers of the multiple processes; wherein the amount of audio data is the amount of audio data sent by the target conference terminal in the buffer.

[0063] Before sending the audio data to the buffer, the audio data can be split into audio data of preset length, such as 1 second, and the audio data of the preset length can be regarded as one audio data. Then each audio data is sent to the buffers of multiple processes. When the buffer of each process receives the current audio data, it detects the amount of audio data currently remaining in the buffer without being processed.

[0064] It should be noted that when receiving current audio data sent by the target conference terminal, the amount of audio data in the buffer to be calculated refers to the amount of audio data sent by the target conference terminal stored in the buffer, and does not include audio data sent by other conference terminals.

[0065] Step 103: If the amounts of audio data in the buffers of the multiple processes are different, the audio data in other buffers are synchronized according to the audio data in the buffer with the smallest amount of audio data.

[0066] In actual applications, since multiple processes are created in different servers, the different performance of different servers leads to differences in the calculation speed of each process in processing the digital human conversion process. The difference in calculation speed will cause some processes to output digital human frames with delays, resulting in frame loss, which in turn leads to problems such as stuttering, jitter, and unevenness in the digital human effect. In order to reduce the occurrence of this problem, the processing progress of processes in different servers can be synchronized.

[0067] like Figure 3 , there are 3 processes created in different servers, namely process 1-3. Audio data A, B, and C are 3 1-second wav format audio data that enter the buffer in chronological order. Due to the different performance of different servers, the calculation speeds of the three processes are different. Process 1 has a slow processing speed, process 2 has a medium processing speed, and process 3 has the fastest processing speed. Then process 1 is still processing audio data A, process 2 has processed audio data A and is processing audio data B, and process 3 has processed audio data A and B and is processing audio data C. As a result, the digital human frames transmitted to the network at the same time will not be in the same audio interval, and the digital human video played on the terminal will suffer from serious frame loss.

[0068] After determining the amount of audio data in the buffers of multiple processes, it can be determined whether the amount of audio data in the buffers of multiple processes is the same. If the amount of audio data in the buffers of multiple processes is the same, it indicates that the processing progress of the multiple processes is synchronized and no subsequent synchronization operation is required.

[0069] If the amounts of audio data in the buffers of multiple processes are different, the buffer with the smallest amount of audio data can be determined from the buffers of multiple processes. The buffer with the smallest amount of audio data is the buffer of the process with the fastest processing progress. Then, the audio data in other buffers can be synchronized based on the audio data in the buffer with the smallest amount of audio data.

[0070] In some embodiments of the present invention, if the amounts of audio data in the buffers of the multiple processes are different, the audio data in other buffers are synchronized according to the audio data in the buffer with the smallest amount of audio data, including: if the amounts of audio data in the buffers of the multiple processes are different, at least part of the audio data in other buffers is deleted according to the time sequence of the audio data entering the buffer, so that the amount of audio data in the other buffers is the same as that in the buffer with the smallest amount of audio data.

[0071] In practical applications, since the buffer with the smallest amount of audio data is the buffer of the process with the fastest processing progress, and there is still a lot of unprocessed audio data in other buffers, the audio data in other buffers that exceeds the buffer with the smallest amount of audio data can be deleted according to the time order of the audio data entering the buffer. That is, when it is detected that the speed at which a process receives data from the network is faster than the speed at which the algorithm processes data, resulting in the data cache becoming larger and larger and not matching the calculation speed of the algorithm of other processes, the buffer area is released to solve the matching problem, thereby ensuring that the amount of audio data in other buffers is the same as that in the buffer with the smallest amount of audio data.

[0072] In some embodiments of the present invention, if the amounts of audio data in the buffers of the multiple processes are different, deleting at least part of the audio data in other buffers according to the time sequence of the audio data entering the buffers, so that the amount of audio data in the other buffers is the same as that in the buffer with the smallest amount of audio data, comprises:

[0073] If the amounts of audio data in the buffers of the multiple processes are different, and the buffer with the smallest amount of audio data only has the current audio data, the previous audio data in the other buffers are deleted, and only the current audio data is retained in the other buffers, so that the amount of audio data in the other buffers is the same as that in the buffer with the smallest amount of audio data.

[0074] In order to ensure that the video frames output by multiple processes are as continuous as possible and have a small span, each time an audio stream is received, it is necessary to ensure that there is no accumulation of audio data in the buffer, that is, the audio data currently to be processed is the data transmitted in real time by the network, rather than processing old data in the buffer when new data arrives.

[0075] If the buffer with the smallest amount of audio data has processed all the previous audio data in the buffer, its buffer only has the current audio data that has just been received, that is, the amount of audio data in the buffer with the smallest amount of audio data is 1, the previous audio data in other buffers can be deleted, and only the current audio data that has just been received can be retained in other buffers, thereby ensuring that the digital human frames output by each process are highly real-time and accurate, making the digital human video effect smoother and less delayed. In addition, by deleting the remaining unprocessed audio data in the buffer, computing resources are saved.

[0076] In some examples, if the buffer with the smallest amount of audio data has other audio data in addition to the current audio data, the other audio data may be deleted and only the current audio data just received may be retained, so that all buffers process the current audio data just received, thereby improving real-time performance.

[0077] like Figure 4 , there are processes 1-6 created in different servers. When 1 second of current audio data is received, processes 1, 3, and 6 still have 1 second of previous audio data that has not been processed, that is, the amount of audio data in the buffer of processes 1, 3, and 6 is greater than 1. Then, the 1 second of audio data that has not been processed in the buffer of processes 1, 3, and 6 can be processed, so that multiple processes can process the same audio data at the same time, ensuring that the digital human frames output by multiple processes will be the same audio data output at the same time, so as to achieve long-term video smoothness with a very small loss of audio. When the final digital human frame is output regularly and accurately, a smooth picture can be seen on the end.

[0078] Step 104 , calling the multiple processes to process the audio data in the buffer in parallel, obtaining digital human frames output by the multiple processes, and generating a video stream according to the digital human frames output by the multiple processes.

[0079] On the basis of synchronization of audio data in buffers of processes in different servers, multiple processes process the audio data in corresponding buffers in parallel, thereby ensuring synchronization of processing progress.

[0080] After obtaining the digital human frame output by each process, the corresponding video stream can be generated.

[0081] In some embodiments of the present invention, calling the multiple processes to process the audio data in the buffer in parallel to obtain digital human frames output by the multiple processes includes: for the same audio data in the buffers of the multiple processes, calling the multiple processes to process different audio segments of the same audio data to obtain digital human frames output by the multiple processes.

[0082] In actual applications, the same audio data will be sent to the buffers of multiple processes respectively. Each process is only responsible for processing a certain audio segment in the audio data. The specific audio segment responsible for processing can be preset and specified, and then a digital human frame corresponding to the corresponding audio segment can be generated.

[0083] In some embodiments of the present invention, generating a video stream based on the digital human frames output by the multiple processes includes: splicing the digital human frames output by the multiple processes according to the time sequence of the different audio segments in the same audio data to obtain the video stream.

[0084] Since each process is only responsible for processing part of the audio clips in the same audio data, the digital human frames it outputs correspond to the audio clips. Therefore, the digital human frames output by multiple processes can be spliced ​​according to the time sequence of different audio clips in the same audio data to obtain a video stream.

[0085] In some embodiments of the present invention, the step of calling the multiple processes to process different audio segments of the same audio data in the buffers of the multiple processes to obtain digital human frames output by the multiple processes includes:

[0086] For the same audio data in the buffers of the multiple processes, the multiple processes are called to process different audio segments of the same audio data to obtain audio feature information; and the digital human frames output by the multiple processes are generated by combining the audio feature information and the target image data.

[0087] In practical applications, such as Figure 4 ,Each process can analyze the audio clip through the preset action module and expression module, and obtain the audio feature information, and then can combine the audio feature information and the target image data with a preset algorithm to generate the digital human frame through rendering.

[0088] In some examples, audio feature information can be used to indicate the digital human's behavioral attributes such as movements and expressions, and target image data can be used to indicate the digital human's attributes such as background and character style.

[0089] Step 105: Send the video stream to other conference terminals participating in the conference.

[0090] In an embodiment of the present invention, by receiving the current audio data sent by the target conference terminal, and sending the current audio data to the buffers of multiple processes respectively, the multiple processes include processes in different servers, detecting the amount of audio data in the buffers of the multiple processes, if the amount of audio data in the buffers of the multiple processes is different, according to the audio data in the buffer with the smallest amount of audio data, synchronizing the audio data in other buffers, calling multiple processes, processing the audio data in the buffers in parallel, obtaining digital human frames output by the multiple processes, and generating video streams based on the digital human frames output by the multiple processes, and sending the video streams to other conference terminals participating in the conference, it is realized that multiple processes created in different servers are used to parallelly process the digital human conversion process in the video conference, and the processing progress of the multiple processes is synchronized, thereby reducing the occurrence of problems such as stuttering, jittering, and unevenness of the digital human effect, and improving the fluency of the video conference screen.

[0091] Reference Figure 5 , shows a flowchart of another video conferencing method based on parallel computing provided by some embodiments of the present invention, which may specifically include the following steps:

[0092] Step 501: Acquire target image data corresponding to a target conference terminal.

[0093] Step 502: Receive the audio stream sent by the target conference terminal, and convert the format of the audio stream to obtain current audio data.

[0094] Step 503: Send the current audio data to buffers of multiple processes respectively; wherein the multiple processes include processes in different servers.

[0095] Step 504: Detect the amount of audio data in the buffers of the multiple processes; wherein the amount of audio data is the amount of audio data sent by the target conference terminal in the buffer.

[0096] Step 505: If the amounts of audio data in the buffers of the multiple processes are different, and the buffer with the smallest amount of audio data only has the current audio data, delete the previous audio data in the other buffers, and only retain the current audio data in the other buffers, so that the amount of audio data in the other buffers is the same as that in the buffer with the smallest amount of audio data.

[0097] Step 506: for the same audio data in the buffers of the multiple processes, call the multiple processes to process different audio segments of the same audio data to obtain audio feature information, and combine the audio feature information and the target image data to generate digital human frames output by the multiple processes.

[0098] Step 507: splice the digital human frames output by the multiple processes according to the time sequence of the different audio clips in the same audio data to obtain a video stream, and send the video stream to other conference terminals participating in the conference.

[0099] In an embodiment of the present invention, by receiving the current audio data sent by the target conference terminal, and sending the current audio data to the buffers of multiple processes respectively, the multiple processes include processes in different servers, detecting the amount of audio data in the buffers of the multiple processes, if the amount of audio data in the buffers of the multiple processes is different, according to the audio data in the buffer with the smallest amount of audio data, synchronizing the audio data in other buffers, calling multiple processes, processing the audio data in the buffers in parallel, obtaining digital human frames output by the multiple processes, and generating video streams based on the digital human frames output by the multiple processes, and sending the video streams to other conference terminals participating in the conference, it is realized that multiple processes created in different servers are used to parallelly process the digital human conversion process in the video conference, and the processing progress of the multiple processes is synchronized, thereby reducing the occurrence of problems such as stuttering, jittering, and unevenness of the digital human effect, and improving the fluency of the video conference screen.

[0100] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0101] Reference Figure 6 , shows a schematic diagram of the structure of a video conferencing device based on parallel computing provided by some embodiments of the present invention, which may specifically include the following modules:

[0102] The current audio data receiving and distributing module 601 is used to receive the current audio data sent by the target conference terminal, and send the current audio data to the buffers of multiple processes respectively; wherein the multiple processes include processes in different servers;

[0103] The audio data quantity detection module 602 is used to detect the quantity of audio data in the buffers of the multiple processes; wherein the audio data quantity is the quantity of audio data sent by the target conference terminal in the buffer;

[0104] The audio data synchronization module 603 is used to synchronize the audio data in other buffers according to the audio data in the buffer with the smallest amount of audio data if the amounts of audio data in the buffers of the multiple processes are different;

[0105] The video stream generation module 604 is used to call the multiple processes, process the audio data in the buffer in parallel, obtain the digital human frames output by the multiple processes, and generate a video stream according to the digital human frames output by the multiple processes;

[0106] The video stream sending module 605 is used to send the video stream to other conference terminals participating in the conference.

[0107] In some embodiments of the present invention, if the amounts of audio data in the buffers of the multiple processes are different, synchronizing the audio data in other buffers according to the audio data in the buffer with the smallest amount of audio data includes:

[0108] If the amounts of audio data in the buffers of the multiple processes are different, at least part of the audio data in other buffers is deleted according to the time sequence in which the audio data enters the buffer, so that the amount of audio data in the other buffers is the same as that in the buffer with the smallest amount of audio data.

[0109] In some embodiments of the present invention, if the amounts of audio data in the buffers of the multiple processes are different, deleting at least part of the audio data in other buffers according to the time sequence of the audio data entering the buffers, so that the amount of audio data in the other buffers is the same as that in the buffer with the smallest amount of audio data, comprises:

[0110] If the amounts of audio data in the buffers of the multiple processes are different, and the buffer with the smallest amount of audio data only has the current audio data, the previous audio data in the other buffers are deleted, and only the current audio data is retained in the other buffers, so that the amount of audio data in the other buffers is the same as that in the buffer with the smallest amount of audio data.

[0111] In some embodiments of the present invention, calling the multiple processes to process the audio data in the buffer in parallel to obtain digital human frames output by the multiple processes includes:

[0112] For the same audio data in the buffers of the multiple processes, calling the multiple processes to process different audio segments of the same audio data to obtain digital human frames output by the multiple processes;

[0113] The step of generating a video stream according to the digital human frames output by the multiple processes comprises:

[0114] According to the time sequence of the different audio clips in the same audio data, the digital human frames output by the multiple processes are spliced ​​to obtain a video stream.

[0115] In some embodiments of the present invention, before receiving the current audio data sent by the target conference terminal, the method further includes:

[0116] The target image data acquisition module is used to acquire the target image data corresponding to the target conference terminal.

[0117] In some embodiments of the present invention, the step of calling the multiple processes to process different audio segments of the same audio data in the buffers of the multiple processes to obtain digital human frames output by the multiple processes includes:

[0118] For the same audio data in the buffers of the multiple processes, calling the multiple processes to process different audio segments of the same audio data to obtain audio feature information;

[0119] The audio feature information and the target image data are combined to generate a digital human frame output by the multiple processes.

[0120] In some embodiments of the present invention, the receiving the current audio data sent by the target conference terminal includes:

[0121] Receiving an audio stream sent by the target conference terminal;

[0122] The audio stream is format converted to obtain current audio data.

[0123] Some embodiments of the present invention further provide an electronic device, comprising a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the above method is implemented when the computer program is executed by the processor.

[0124] Some embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, and the computer program implements the above method when executed by a processor.

[0125] Some embodiments of the present invention further provide a computer program product, including a computer program, which implements the above method when executed by a processor.

[0126] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0127] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0128] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0129] Those skilled in the art will appreciate that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0130] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0131] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0132] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0133] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0134] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the above elements.

[0135] The above provides a detailed introduction to the provided video conferencing method, device, electronic device and medium based on parallel computing. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for a person skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A video conferencing method based on parallel computing, It is characterized in that The method comprises: Receiving current audio data sent by a target conference terminal, and sending the current audio data to buffers of multiple processes respectively; wherein the multiple processes include processes in different servers; Detecting the amount of audio data in the buffers of the multiple processes; wherein the amount of audio data is the amount of audio data sent by the target conference terminal in the buffer; If the amounts of audio data in the buffers of the multiple processes are different, synchronizing the audio data in other buffers according to the audio data in the buffer with the smallest amount of audio data; Calling the multiple processes to process the audio data in the buffer in parallel, obtaining digital human frames output by the multiple processes, and generating a video stream according to the digital human frames output by the multiple processes; The video stream is sent to other conference terminals participating in the conference.

2. The method according to claim 1, It is characterized in that If the amounts of audio data in the buffers of the multiple processes are different, synchronizing the audio data in other buffers according to the audio data in the buffer with the smallest amount of audio data, comprises: If the amounts of audio data in the buffers of the multiple processes are different, at least part of the audio data in other buffers is deleted according to the time sequence in which the audio data enters the buffer, so that the amount of audio data in the other buffers is the same as that in the buffer with the smallest amount of audio data.

3. The method according to claim 2, It is characterized in that If the amounts of audio data in the buffers of the multiple processes are different, deleting at least part of the audio data in other buffers according to the time sequence of the audio data entering the buffers, so that the amount of audio data in the other buffers is the same as that in the buffer with the smallest amount of audio data, including: If the amounts of audio data in the buffers of the multiple processes are different, and the buffer with the smallest amount of audio data only has the current audio data, the previous audio data in the other buffers are deleted, and only the current audio data is retained in the other buffers, so that the amount of audio data in the other buffers is the same as that in the buffer with the smallest amount of audio data.

4. The method according to any one of claims 1 to 3, It is characterized in that The calling of the multiple processes to process the audio data in the buffer in parallel to obtain digital human frames output by the multiple processes includes: For the same audio data in the buffers of the multiple processes, calling the multiple processes to process different audio segments of the same audio data to obtain digital human frames output by the multiple processes; The step of generating a video stream according to the digital human frames output by the multiple processes comprises: According to the time sequence of the different audio clips in the same audio data, the digital human frames output by the multiple processes are spliced ​​to obtain a video stream.

5. The method according to claim 4, It is characterized in that Before receiving the current audio data sent by the target conference terminal, the method further includes: Acquire target image data corresponding to the target conference terminal.

6. The method according to claim 5, It is characterized in that The method of calling the multiple processes to process different audio segments of the same audio data in the buffers of the multiple processes to obtain digital human frames output by the multiple processes includes: For the same audio data in the buffers of the multiple processes, calling the multiple processes to process different audio segments of the same audio data to obtain audio feature information; The audio feature information and the target image data are combined to generate a digital human frame output by the multiple processes.

7. The method according to claim 1, It is characterized in that The receiving the current audio data sent by the target conference terminal includes: Receiving an audio stream sent by the target conference terminal; The audio stream is format converted to obtain current audio data.

8. A video conferencing device based on parallel computing, It is characterized in that The device comprises: A current audio data receiving and distributing module, used to receive the current audio data sent by the target conference terminal, and send the current audio data to the buffers of multiple processes respectively; wherein the multiple processes include processes in different servers; An audio data quantity detection module, used to detect the quantity of audio data in the buffers of the multiple processes; wherein the audio data quantity is the quantity of audio data sent by the target conference terminal in the buffer; An audio data synchronization module, configured to synchronize the audio data in other buffers according to the audio data in the buffer with the smallest amount of audio data if the amounts of audio data in the buffers of the multiple processes are different; A video stream generation module, used to call the multiple processes, process the audio data in the buffer in parallel, obtain the digital human frames output by the multiple processes, and generate a video stream according to the digital human frames output by the multiple processes; The video stream sending module is used to send the video stream to other conference terminals participating in the conference.

9. An electronic device, It is characterized in that The method comprises a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the method according to any one of claims 1 to 7 when executed by the processor.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.