A scalable distributed media processing method and system

By allocating media channels in cloud video conferences and controlling media stream output according to the number of videos, the problems of bandwidth and decoding load in large-capacity conference rooms are solved, and efficient control of interactive functions is achieved, reducing operational costs and improving conference efficiency.

CN114125359BActive Publication Date: 2024-11-29SHENZHEN TAIDEN INDAL
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111396400.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-23
Publication Date
2024-11-29
Estimated Expiration
2041-11-23

AI Technical Summary

Technical Problem

Existing cloud video conferencing technology leads to bandwidth resource consumption and terminal decoding load in large-capacity conference rooms, increasing the operating costs of service operators, and failing to effectively realize the conference interaction function.

Method used

By allocating media channels at the conference terminal, determining whether local media streams need to be uploaded based on the number of videos output in the conference venue, only output videos when participating in the interaction, reducing unnecessary bandwidth consumption and decoding load, and controlling video output through the administrator terminal. Implement interactive functions.

Benefits of technology

It effectively reduces the consumption of bandwidth resources and terminal decoding load, reduces the operating costs of service operators, and improves the efficiency and flexibility of conference interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114125359B_ABST
    Figure CN114125359B_ABST
Patent Text Reader

Abstract

The present application relates to a scalable distributed media processing method and system. The scalable distributed media processing method includes locating the corresponding conference venue based on the conference request when receiving a conference entry request from a conference terminal; allocating a media channel to the conference terminal, and judging whether the number of videos output by the conference venue reaches a preset maximum number of videos; if the number of videos output by the conference venue reaches the preset maximum number of videos, sending a mixed-image media stream of the video output by the conference venue to the conference terminal; if the number of videos output by the conference venue does not reach the preset maximum number of videos, sending a selection mark to the conference terminal whether it is necessary to upload a local media stream; when receiving selection information that the conference terminal needs to upload a local media stream, collecting the local media stream of the conference terminal and distributing it to all conference terminals in the conference venue. The present application has the effect of reducing the operating costs of service operators.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of cloud video conferencing, and in particular to a scalable distributed media processing method and system. Background Art

[0002] In order to reduce face-to-face contact and group gatherings, offline meetings and offline activities involving many people have been moved online, which has promoted a surge in the demand for online meetings in large-capacity conference rooms for cloud video conferencing.

[0003] At present, there are two main technical lines used by mainstream cloud video conferencing manufacturers. One is the MCU+live broadcast processing method, and the other is the SFU selective forwarding processing method. The MCU+live broadcast technology cannot realize the interactive function of the conference, and can only listen and watch; while the SFU selective forwarding technology can meet the interactive function of the conference, but the multimedia data of the SFU selective forwarding technology is not mixed, and it will directly forward all the output videos in the conference venue to all receiving ends. The receiving end receives multiple data channels, which increases the consumption of bandwidth resources and also increases the decoding load of the conference terminal, especially in large-capacity conference rooms, which greatly increases the operating costs of service operators. Summary of the invention

[0004] In order to reduce the consumption of bandwidth resources and the decoding load of terminals, thereby reducing the operating costs of service operators, the present application provides a scalable distributed media processing method and system.

[0005] The above-mentioned invention objective of the present application is achieved through the following technical solutions:

[0006] A scalable distributed media processing method, comprising the steps of:

[0007] When receiving a conference joining request sent by a conference terminal, locating the corresponding conference venue based on the conference joining request;

[0008] Based on the conference venue, media channels are allocated to conference terminals, and it is determined whether the number of videos output by the conference venue reaches the preset maximum number of videos;

[0009] Based on the media channel, if the number of videos output by the conference site reaches the preset maximum number of videos, then when the media channel receives an entry request from the conference terminal, it responds to the entry request and sends a mixed-image media stream of the video output by the conference site to the conference terminal;

[0010] If the number of videos output by the conference site does not reach the preset maximum number of videos, when the media channel receives an entry request from a conference terminal, it sends a selection flag to the conference terminal to indicate whether to upload the local media stream;

[0011] When the selection information that a conference terminal needs to upload a local media stream is received, the local media stream of the conference terminal is collected, and the local media stream is distributed to all conference terminals in the conference venue through the media channel.

[0012] By adopting the above technical solution, after the conference terminal sends a request to join the meeting, the background locates the conference that the conference terminal wants to attend, and then allocates a media channel to the conference terminal for forwarding the media stream. Compared with the SFU selective forwarding technology, this method sets the maximum number of output videos of the conference venue. When the maximum number of videos is reached, the conference venue only outputs the videos of some conference terminals. When the remaining conference terminals do not participate in the interaction, they only receive the media stream without uploading the main media stream, thereby reducing the amount of data received by the receiving end and alleviating the consumption of bandwidth resources. When participating in the interaction, by sending the selection information that needs to upload the main media stream, it is possible to realize the functions of uploading the local media stream and participating in the interaction, and control the number of video outputs of the conference venue. Only when participating in the interaction, the video is output, reducing the consumption of bandwidth resources and the decoding load of the terminal, thereby reducing the operating cost of the service operator.

[0013] In a preferred example, the present application can be further configured as follows: after the step of allocating media channels to conference terminals based on the conference venue and determining whether the number of videos output by the conference venue reaches a preset maximum number of videos, the step further includes:

[0014] Send an allow command to the media channel assigned to the conference terminal, and at the same time send the conference entry address and port of the media channel to the conference terminal.

[0015] By adopting the above technical solution, after allocating a media channel to a conference terminal, an enabling instruction needs to be sent to the allocated media channel before the conference terminal can enter the conference venue through the media channel, and at the same time, the conference entry address and conference entry port of the media channel are sent.

[0016] In a preferred example, the present application may be further configured as follows: based on the media channel, if the number of videos output by the conference venue reaches a preset maximum number of videos, then when the media channel receives an entry request from a conference terminal, responding to the entry request, after the step of sending a mixed-image media stream of the video output by the conference venue to the conference terminal, it also includes the steps of: when receiving an interactive participation instruction sent by an administrator terminal, obtaining a conference terminal that wants to participate in the interaction based on the interactive participation instruction, and sending a flow control instruction to the conference terminal that wants to participate in the interaction;

[0017] When the conference terminal receives the flow control instruction, it collects the local media stream of the conference terminal and sends it to the matched media channel. After mixed image processing, the local media stream is synchronized to all conference terminals in the conference venue.

[0018] By adopting the above technical solution, the administrator issues an interactive participation instruction to instruct and control the designated conference terminal to participate in the interaction, that is, to control a certain conference terminal to output the video and display it in the conference venue. When the conference terminal receives the flow control instruction, it collects the local video stream of the conference terminal and distributes the local media stream to the remaining conference terminals after mixing it through the matching media channel and background, thereby realizing the mandatory control of the administrator terminal over the interaction of the participants, that is, when a participant needs to participate in the interaction, the administrator can promptly control the speaker's video to be displayed on the screen; that is, the administrator terminal can control the video output of the participant, realize the control of the number of video outputs of the conference venue that is actively controlled, reduce the consumption of bandwidth resources and the decoding load of the terminal, and thus reduce the operating cost of the service operator.

[0019] In a preferred example, the present application may be further configured as follows: when an interactive participation instruction is received from an administrator terminal, a conference terminal that wants to participate in the interaction is obtained based on the interactive participation instruction, and a flow control instruction is issued to the conference terminal that wants to participate in the interaction, including the steps of:

[0020] When receiving an interactive participation instruction sent by the administrator terminal, obtaining the conference terminal that wants to participate in the interaction based on the interactive participation instruction, and marking it as the terminal that wants to interact;

[0021] Obtain the media channel matched by the terminal to be interacted with, obtain the conference status of the terminal to be interacted with, and generate status information;

[0022] Based on the status information, if the terminal to be interacted with is located in the conference venue and is not outputting video, a flow control instruction is issued to the media channel matched by the terminal to be interacted with;

[0023] When the media channel receives the flow control instruction, it switches the forwarding strategy of uploading the local media stream and sends the flow control instruction to the matching conference terminal.

[0024] By adopting the above technical solution, when a conference terminal is marked as a terminal to be interacted with, the media channel matched by the terminal to be interacted with is first obtained, that is, the path of the media stream transmission of the terminal to be interacted with is queried, and the status of the terminal to be interacted with is known in advance. If it is confirmed that it is in the meeting and no video is output, a flow control instruction is issued to it. The flow control instruction is forwarded to the terminal to be interacted with through the media channel to realize the sending of the flow control instruction. At the same time, the status verification makes the logic of sending the flow control instruction more rigorous.

[0025] In a preferred example, the present application can be further configured as follows: based on the status information, if the terminal to be interacted is located in the conference venue and does not output video, the step of sending a flow control instruction to the media channel matched by the terminal to be interacted also includes the steps of:

[0026] If the terminal to be interacted with is located in the conference venue and does not output video, a reserved video position is locked for the terminal to be interacted with, and a preparation instruction for mixed image processing is issued.

[0027] By adopting the above technical solution, while confirming that the terminal to be interacted is in the conference room and is not outputting video, and sending a flow control instruction, a reserved position for the terminal to output video is locked, and this reserved position cannot be occupied by other conference terminals. A preparation instruction for mixed image processing is issued so that the background mixed image system prepares for the mixed image of the local media stream in advance, so that the mixed image media stream can be sent to other conference terminals, thereby improving the efficiency of the main body media stream distribution.

[0028] In a preferred example, the present application may be further configured as follows: based on the media channel, if the number of videos output by the conference venue reaches a preset maximum number of videos, then when the media channel receives an entry request from a conference terminal, responding to the entry request, after the step of sending a mixed-image media stream of the video output by the conference venue to the conference terminal, it also includes the step;

[0029] When receiving an interaction pause instruction sent by the administrator terminal, obtaining the conference terminal for which the interaction is to be paused based on the interaction pause instruction, and sending a flow control instruction to the conference terminal for which the interaction is to be paused;

[0030] When the conference terminal receives the flow control instruction, it stops collecting the local media stream and stops sending the local media stream to the matching media channel.

[0031] By adopting the above technical solution, the administrator terminal can also control the conference terminal that is in the process of interaction, that is, control the conference terminal that is outputting video to pause outputting video by issuing an interaction pause command. That is, when a participant requests interaction and the number of videos outputted by the conference venue is full at this time, the administrator can select any conference terminal that is outputting video to end the video output and replace the position of the output video with the terminal to be interacted with. The replacement method is used to replace the interacting person without increasing bandwidth consumption. In addition, forced control is performed through the administrator terminal, which further improves the efficiency of conference interaction.

[0032] In a preferred example, the present application may be further configured as follows: when an interaction pause instruction is received from an administrator terminal, a conference terminal for which interaction is to be paused is obtained based on the interaction pause instruction, and a flow control instruction is issued to the conference terminal for which interaction is to be paused, including the following steps:

[0033] When receiving an interaction pause instruction sent by the administrator terminal, obtaining the conference terminal for which interaction is to be paused based on the interaction pause instruction, and marking it as the terminal to be paused;

[0034] Obtain the media channel matched by the terminal to be suspended, obtain the conference status of the terminal to be suspended, and generate status information;

[0035] Based on the status information, if the terminal to be suspended is located in the conference venue and is in the state of outputting video, a flow control instruction is issued to the media channel matched by the terminal to be suspended;

[0036] When the media channel receives the flow control instruction, it switches to the forwarding strategy of pausing uploading the local media stream and sends the flow control instruction to the matching conference terminal.

[0037] By adopting the above technical solution, when a conference terminal is marked as a terminal to be paused, its matching media channel and the conference status of the terminal to be paused are obtained. After confirming that it is in the video output state, a flow control instruction is issued to switch the media channel forwarding strategy, suspend uploading the main media stream, and change to sending the media stream of other conference terminals to the terminal to be paused, thereby realizing the function of the administrator forcibly controlling the conference terminal to suspend uploading the local media stream.

[0038] In a preferred example, the present application may be further configured as follows: when an interactive participation instruction is received from an administrator terminal, after the step of obtaining conference terminals to participate in the interaction based on the interactive participation instruction and marking them as terminals to be interacted with, the following steps are included:

[0039] When receiving an adjustment instruction for the maximum number of videos from an administrator terminal, responding to the adjustment instruction and sending an adjustment port to the administrator terminal;

[0040] Based on the adjustment port, when the adjustment value is obtained, the maximum number of videos output by the conference site is modified to the adjustment value.

[0041] By adopting the above technical solution, when the administrator terminal marks the conference terminal as a terminal to be interacted with, if the number of videos output by the conference venue is full and the conference terminals currently outputting videos are in interaction and cannot be replaced, the administrator terminal can temporarily issue an adjustment instruction to adjust the maximum number of videos output by the conference venue so that the videos output by the terminal to be interacted with can be displayed to other conference terminals. The interactive function of the meeting is more flexible and more adaptable. At the same time, the management personnel can adjust the maximum number of videos output by each conference venue according to the number of participants, so as to reduce bandwidth consumption and decoding review without affecting the interactive effect, thereby saving operating costs.

[0042] The second object of the invention is achieved by the following technical solutions:

[0043] A scalable distributed media processing system, comprising:

[0044] A conference venue positioning module, configured to locate the corresponding conference venue based on the conference joining request when receiving a conference joining request from a conference terminal;

[0045] The channel allocation module is used to allocate media channels to conference terminals based on the conference venue and determine whether the number of videos output by the conference venue reaches a preset maximum number of videos;

[0046] The media stream transmission module is used to respond to the entry request from the conference terminal based on the media channel if the number of videos output by the conference venue reaches the preset maximum number of videos, and to send a mixed-image media stream of the video output by the conference venue to the conference terminal in response to the entry request when the media channel receives the entry request;

[0047] A selection flag module is used to send a selection flag to the conference terminal to indicate whether to upload the local media stream when the media channel receives an entry request from the conference terminal if the number of videos output by the conference site does not reach the preset maximum number of videos;

[0048] The interactive module is selected, and when the selection information that the conference terminal needs to upload the local media stream is received, the local media stream of the conference terminal is collected, and the local media stream is distributed to all the conference terminals in the conference venue through the media channel.

[0049] By adopting the above technical solution, after the conference terminal sends a request to join the meeting, the background locates the conference that the conference terminal wants to attend, and then allocates a media channel to the conference terminal for forwarding the media stream. Compared with the SFU selective forwarding technology, this method sets the maximum number of output videos of the conference venue. When the maximum number of videos is reached, the conference venue only outputs the videos of some conference terminals. When the remaining conference terminals do not participate in the interaction, they only receive the media stream without uploading the main media stream, thereby reducing the amount of data received by the receiving end and alleviating the consumption of bandwidth resources. When participating in the interaction, by sending the selection information that needs to upload the main media stream, it is possible to realize the functions of uploading the local media stream and participating in the interaction, and control the number of video outputs of the conference venue. Only when participating in the interaction, the video is output, reducing the consumption of bandwidth resources and the decoding load of the terminal, thereby reducing the operating cost of the service operator.

[0050] In summary, the present application includes at least one of the following beneficial technical effects:

[0051] 1. By sending the selection information that needs to upload the main body media stream, it can realize the function of uploading local media stream and participating in the interaction, and control the number of video outputs in the conference venue. Video is output only when participating in the interaction, reducing the consumption of bandwidth resources and the decoding load of the terminal, thereby reducing the operating costs of the service operator;

[0052] 2. When a participant needs to participate in the interaction, the administrator can promptly control the speaker's video to be displayed on the screen; that is, the administrator terminal can control the participant's video output, realize the control of the number of video outputs of the conference venue actively, reduce the consumption of bandwidth resources and the decoding load of the terminal, and thus reduce the operating costs of the service operator;

[0053] 3. Sending a preparation instruction for mixed-image processing enables the mixed-image system in the background to prepare for the mixed-image processing of the local media stream in advance, so as to send the mixed-image media stream to other conference terminals and improve the efficiency of the distribution of the main media stream;

[0054] 4. The administrator can select any conference terminal that is currently outputting video to end the video output and replace the output video position with the terminal to be interacted with. The replacement method changes the interactor without increasing bandwidth consumption. In addition, forced control is performed through the administrator terminal, further improving the efficiency of conference interaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1 It is a flow chart of an embodiment of a scalable distributed media processing method of the present application;

[0056] Figure 2 This is an implementation flow chart after step S30 in an embodiment of a scalable distributed media processing method of the present application;

[0057] Figure 3 This is a flowchart for implementing step S31 in an embodiment of a scalable distributed media processing method of the present application;

[0058] Figure 4 This is another implementation flow chart after step S30 in an embodiment of a scalable distributed media processing method of the present application;

[0059] Figure 5 This is a flowchart of an implementation of step S33 in an embodiment of a scalable distributed media processing method of the present application;

[0060] Figure 6 It is a principle block diagram of an embodiment of a scalable distributed media processing system of the present application;

[0061] Figure 7 It is an architectural diagram of an embodiment of a scalable distributed media processing system of the present application;

[0062] Figure 8 It is a principle block diagram of an interactive participation instruction in an embodiment of a scalable distributed media processing system of the present application;

[0063] Fig. 9 This is a principle block diagram of an interactive pause instruction in an embodiment of a scalable distributed media processing system of the present application. DETAILED DESCRIPTION

[0064] The following is combined with Figure 1-9 This application is described in further detail.

[0065] In one embodiment, if Figure 1 As shown, the present application discloses a scalable distributed media processing method, which specifically includes the following steps:

[0066] S10: When receiving a conference joining request sent by a conference terminal, locating the corresponding conference venue based on the conference joining request;

[0067] In this embodiment, the conference terminal refers to a PC, a user's mobile phone or other intelligent mobile terminal, and has functions such as audio and video collection; the conference request refers to a signaling for finding and applying to enter a conference, and the signaling carries a conference number, which is an identifier of a conference venue. The conference number is divided into two categories: one is that each conference terminal has an exclusive conference number, and the other is that each conference venue corresponds to a conference number;

[0068] Specifically, when a signaling for entering a conference is received from a user's PC or a smart mobile terminal such as a mobile phone, the conference number carried in the signaling is obtained, and the corresponding conference venue is located and found based on the conference number.

[0069] S20: Allocate media channels to conference terminals based on the conference venue, and determine whether the number of videos output by the conference venue reaches a preset maximum number of videos;

[0070] In this embodiment, the media channel refers to the SUF task processing unit, which is equivalent to a router, which has a preset forwarding strategy and is responsible for forwarding media stream data. Usually, the media channel is expanded according to the number of conference terminals, and each media channel can match and manage several conference terminals;

[0071] The number of output videos is the number of videos displayed on the screen of the conference venue, and the videos come from different conference terminals;

[0072] Specifically, after finding the conference venue that the conference terminal wants to enter, the background allocates a media channel to the conference terminal. The media channel is responsible for forwarding the media stream after the conference terminal enters the conference, and determines in advance whether the number of videos currently output by the conference venue has reached the maximum number of videos.

[0073] S30: Based on the media channel, if the number of videos output by the conference site reaches a preset maximum number of videos, when the media channel receives an entry request from the conference terminal, it responds to the entry request and sends a mixed-image media stream of the video output by the conference site to the conference terminal;

[0074] In this embodiment, the entry request refers to a request to enter the located conference venue; the mixed-image media stream refers to media data that has been processed by audio and frequency mixing.

[0075] Specifically, when the result of the advance judgment is that the number of output videos reaches the maximum number of videos, when the conference terminal enters the conference venue, the background directly outputs the video currently output in the conference venue to the conference terminal that has just entered the conference, and the video displays the pictures and audio of other conference terminals.

[0076] S40: If the number of videos output by the conference site does not reach the preset maximum number of videos, when the media channel receives an entry request from the conference terminal, a selection flag is sent to the conference terminal to indicate whether to upload the local media stream;

[0077] In this embodiment, the selection mark refers to a pop-up window, a connection page, etc. sent to the conference terminal.

[0078] Specifically, when the result of the advance judgment is that the number of output videos has not yet reached the maximum number of videos, when the conference terminal enters the conference venue, the background generates a pop-up window with a selection mark of whether to upload the local media stream, and sends the pop-up window to the device of the conference terminal.

[0079] S50: When receiving selection information that a conference terminal needs to upload a local media stream, collecting the local media stream of the conference terminal, and distributing the local media stream to all conference terminals at the conference site through a media channel;

[0080] In this embodiment, the local media stream refers to the live video and audio data collected by the device of the conference terminal.

[0081] Specifically, when the user of the conference terminal selects the option information of uploading the local media stream, the device of the conference terminal collects the video and audio of the scene, compresses the video and audio, and encodes them. The compressed data is sent to the media channel of the background through the network. The media channel forwards the received encoded data to the background for mixed image processing;

[0082] Furthermore, the coded data after the mixed image processing is sent to all conference terminals in the conference venue through the media channel, and the conference terminal decodes and displays the local media stream, that is, displays the live video of the conference terminal.

[0083] Further, when the selection information that the conference terminal does not need to upload the local media stream is received, the video currently output by the conference site is sent to the conference terminal, that is, the local media streams of other conference terminals are output.

[0084] In another embodiment, after step S20, the method further includes the following steps:

[0085] S21: Sending an authorization instruction to the media channel allocated to the conference terminal, and sending the conference entry address and conference entry port of the media channel to the conference terminal at the same time.

[0086] The allow command allows the media channel to match the conference endpoint that issued the conference entry request.

[0087] Specifically, after the background allocates a media channel to the conference terminal, it sends an allow command to the media to allow the media channel to match with the conference terminal;

[0088] Furthermore, the background sends a conference entry address and a conference entry port for entering the conference site to the conference terminal.

[0089] In another embodiment, referring to Figure 2 , after step S30, further comprising the steps of:

[0090] S31: when receiving an interactive participation instruction sent by the administrator terminal, obtaining a conference terminal that wants to participate in the interaction based on the interactive participation instruction, and issuing a flow control instruction to the conference terminal that wants to participate in the interaction;

[0091] In this embodiment, the administrator terminal and the conference terminal have the same functions and are both terminal devices participating in the conference. The administrator terminal is also matched with a media channel, and the administrator terminal receives or uploads data or sends instructions through the media channel; and the administrator terminal has two ways to enter the conference, one is as a participant, and the other is as a controller. When entering the conference venue as a participant, its function is the same as that of the other conference terminals. When entering the conference venue as a controller, the administrator terminal sends control instructions such as interactive participation instructions through the media port.

[0092] The interactive participation instruction refers to an instruction to force any conference terminal to participate in the conference interaction, that is, to display the live video of the conference terminal at the conference venue;

[0093] The flow control instruction is an instruction to control the conference terminal to collect the main body media stream and control the media channel to forward the local media stream data to the background.

[0094] Specifically, when a user of the administrator terminal observes through the conference venue that a conference terminal has a need to participate in the interaction and make a speech, if the administrator terminal responds to its interaction needs, it sends an interaction participation instruction to the background; when the background receives the interaction participation instruction sent by the administrator terminal, it obtains the conference terminal requesting the interaction from the interaction participation instruction, and sends a flow control instruction to the conference terminal;

[0095] S32: When the conference terminal receives the flow control instruction, the local media stream of the conference terminal is collected and sent to the matched media channel, and the local media stream is synchronized to all conference terminals in the conference venue after mixed image processing.

[0096] In this embodiment, the mixed image processing refers to the background performing mixed image and mixed audio processing on the received local media stream.

[0097] Specifically, when a conference terminal with interactive needs receives a flow control instruction, the device of the conference terminal collects the video and audio on site and compresses and encodes them, sends them to the background through the network for mixed image and audio processing, and then transmits the mixed data to all conference terminals through multiple media channels in the conference venue.

[0098] In another embodiment, referring to Figure 3 , step S31 specifically includes the steps of:

[0099] S311: when receiving an interactive participation instruction sent by the administrator terminal, obtaining a conference terminal that wants to participate in the interaction based on the interactive participation instruction, and marking it as a terminal that wants to interact;

[0100] S312: Acquire the media channel matched by the terminal to be interacted with, acquire the conference participation status of the terminal to be interacted with, and generate status information;

[0101] S313: Based on the status information, if the terminal to be interacted with is located in the conference venue and is not outputting video, a flow control instruction is issued to the media channel matched by the terminal to be interacted with;

[0102] S314: When the media channel receives the flow control instruction, it switches the forwarding strategy for uploading the local media stream and sends the flow control instruction to the matching conference terminal.

[0103] In this embodiment, the terminal to be interacted refers to the conference terminal that is about to participate in the interaction; the status information includes two situations: the terminal to be interacted is located in the conference venue and does not output video, and the terminal to be interacted is located in the conference venue and outputs video; the forwarding strategy includes: forwarding the local media stream to the background for mixed image processing and forwarding the local media stream after mixed image processing in the background to the conference terminal.

[0104] Specifically, when an interactive participation instruction is received from the administrator terminal, the conference terminal with interactive needs is marked as a terminal to be interacted with, the media channel matching the terminal to be interacted with is obtained, the current forwarding strategy of the media channel is checked, and the status information of the terminal to be interacted with is checked. If the terminal to be interacted with is participating in the meeting and is not outputting video, a flow control instruction is issued to the media channel matching the terminal to be interacted with, the forwarding strategy of the media channel is switched, and the flow control instruction is transmitted to the terminal to be interacted with to instruct the terminal to be interacted with to collect local media streams. The media channel after switching the forwarding strategy forwards the main media stream to the background for mixed image processing.

[0105] In another embodiment, step S313 also includes the following steps:

[0106] S313A: If the terminal to be interacted with is located in the conference venue and is not outputting video, a reserved video position is locked for the terminal to be interacted with, and a preparation instruction for mixed image processing is issued.

[0107] In this embodiment, the reserved video position refers to a position for outputting a live video of a conference terminal in a conference venue, and the preparation instruction refers to making preparations for the early stage of mixed image processing.

[0108] Specifically, after confirming that the terminal to be interacted with is in the conference room and is not outputting video, and sending a flow control instruction, a reserved position for the terminal to output video is locked, and this reserved position cannot be occupied by other conference terminals. A preparation instruction for mixed image processing is issued so that the background mixed image system prepares for the mixed image of the local media stream in advance, so as to improve the efficiency of sending the mixed image media stream to other conference terminals, thereby improving the efficiency of the main body media stream distribution.

[0109] In another embodiment, after step S311, the method further includes the following steps:

[0110] S315: When receiving an adjustment instruction for the maximum number of videos sent by the administrator terminal, responding to the adjustment instruction and sending an adjustment port to the administrator terminal;

[0111] S316: Based on the adjustment port, when the adjustment value is obtained, the maximum number of videos output by the conference site is modified to the adjustment value.

[0112] In this embodiment, the adjustment instruction refers to an instruction for adjusting the maximum number of videos output by the conference site;

[0113] The adjustment port is a port for the user of the administrator terminal to output adjustment data.

[0114] Specifically, when the administrator terminal marks the conference terminal as a terminal to be interacted with, if the number of videos output by the conference venue is full and the conference terminals currently outputting videos are all in interaction and cannot be replaced, the administrator terminal can temporarily issue an adjustment command to adjust the maximum number of videos output by the conference venue so that the videos output by the terminal to be interacted with can be displayed to other conference terminals.

[0115] Furthermore, managers can adjust the maximum number of videos output by each conference venue according to the number of participants, so as to reduce bandwidth consumption and decoding review without affecting the interactive effect, thereby saving operating costs.

[0116] In another embodiment, referring to Figure 4 , after step S30, further comprising the steps of:

[0117] S33: when receiving an interaction suspension instruction sent by the administrator terminal, obtaining a conference terminal for which interaction is to be suspended based on the interaction suspension instruction, and issuing a flow control instruction to the conference terminal for which interaction is to be suspended;

[0118] In this embodiment, the interactive pause instruction refers to an instruction to forcibly control any conference terminal that is outputting a video so that it immediately stops uploading the local media stream;

[0119] Specifically, after a conference terminal enters the conference venue, the administrator terminal selects the conference terminal that needs to suspend uploading media streams by issuing an interactive pause command, and issues a flow control command to suspend the collection of the main body media stream by the conference terminal;

[0120] Furthermore, when a participant requests interaction and the number of videos outputted by the conference venue is full, the administrator can select any conference terminal that is currently outputting video to end the video output and replace the position of the output video with the terminal to be interacted with. The replacement method replaces the interacting person without increasing bandwidth consumption. In addition, forced control is performed through the administrator terminal, further improving the efficiency of conference interaction.

[0121] S34: When the conference terminal receives the flow control instruction, it stops collecting the local media stream and stops sending the local media stream to the matching media channel.

[0122] Specifically, when a conference terminal that needs to suspend uploading a media stream receives a stream control instruction, the device of the conference terminal stops collecting video and audio at the scene.

[0123] Furthermore, the media channel forwards the media stream data of other conference terminals in the conference venue to the conference terminal that needs to be paused.

[0124] In another embodiment, referring to Figure 5 , step S33 specifically includes the steps of:

[0125] S331: when receiving an interaction pause instruction sent by the administrator terminal, obtaining a conference terminal for which interaction is to be paused based on the interaction pause instruction, and marking the conference terminal as a terminal to be paused;

[0126] S332: Acquire the media channel matched by the terminal to be suspended, acquire the conference status of the terminal to be suspended, and generate status information;

[0127] S333: Based on the status information, if the terminal to be paused is located in the conference venue and is in the state of outputting video, a flow control instruction is issued to the media channel matched by the terminal to be paused;

[0128] S334: When the media channel receives the flow control instruction, it switches to a forwarding strategy of pausing uploading the local media stream, and sends the flow control instruction to the matching conference terminal.

[0129] In this embodiment, when an interaction pause instruction is received from the administrator terminal, the conference terminal that needs to suspend the interaction is marked as the terminal to be paused, the media channel matching the terminal to be paused is obtained, the current forwarding strategy of the media channel is checked, and the status information of the terminal to be paused is checked. If the terminal to be paused is participating in the meeting and is in the state of outputting video, a flow control instruction is issued to the media channel matching the terminal to be paused, the forwarding strategy of the media channel is switched, and the flow control instruction is transmitted to the terminal to be paused to instruct the terminal to be paused to collect local media streams. After switching the forwarding strategy, the media channel will stop forwarding the main media stream, and forward the media stream that has been mixed in the background to the terminal to be paused.

[0130] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0131] In one embodiment, a scalable distributed media processing system is provided, and the scalable distributed media processing system corresponds one-to-one with the scalable distributed media processing method in the above embodiment. Figure 6 As shown, the scalable distributed media processing system includes:

[0132] A conference venue positioning module, configured to locate the corresponding conference venue based on the conference joining request when receiving a conference joining request from a conference terminal;

[0133] The channel allocation module is used to allocate media channels to conference terminals based on the conference venue and determine whether the number of videos output by the conference venue reaches a preset maximum number of videos;

[0134] The media stream transmission module is used to respond to the entry request from the conference terminal based on the media channel if the number of videos output by the conference venue reaches the preset maximum number of videos, and to send a mixed-image media stream of the video output by the conference venue to the conference terminal in response to the entry request when the media channel receives the entry request;

[0135] A selection flag module is used to send a selection flag to the conference terminal to indicate whether to upload the local media stream when the media channel receives an entry request from the conference terminal if the number of videos output by the conference site does not reach the preset maximum number of videos;

[0136] The interactive module is selected, and when the selection information that the conference terminal needs to upload the local media stream is received, the local media stream of the conference terminal is collected, and the local media stream is distributed to all the conference terminals in the conference venue through the media channel.

[0137] Optionally, a scalable distributed media processing system further includes:

[0138] The permission module is used to send a permission instruction to the media channel allocated to the conference terminal, and simultaneously send the conference entry address and conference entry port of the media channel to the conference terminal.

[0139] Optionally, a scalable distributed media processing system further includes:

[0140] The interactive participation module is used to obtain the conference terminal that wants to participate in the interaction based on the interactive participation instruction when receiving the interactive participation instruction sent by the administrator terminal, and issue a flow control instruction to the conference terminal that wants to participate in the interaction;

[0141] The interactive flow control module is used to collect the local media stream of the conference terminal and send it to the matched media channel when the conference terminal receives the flow control instruction, and synchronize the local media stream to all conference terminals in the conference venue after mixed image processing.

[0142] Optional, interactive participation modules include:

[0143] An interactive marking module, for, when receiving an interactive participation instruction sent by an administrator terminal, obtaining conference terminals that want to participate in the interaction based on the interactive participation instruction, and marking them as terminals that want to interact;

[0144] The interactive status acquisition module is used to acquire the media channel matched by the terminal to be interacted with, and acquire the conference participation status of the terminal to be interacted with, and generate status information;

[0145] An interactive state determination module is used to send a flow control instruction to the media channel matched by the interactive terminal based on the state information if the interactive terminal is located in the conference venue and does not output video;

[0146] The interactive strategy switching module is used to switch the forwarding strategy for uploading the local media stream when the media channel receives the flow control instruction, and send the flow control instruction to the matching conference terminal.

[0147] Optionally, the interactive participation module also includes:

[0148] The mixed image preparation module is used to lock a reserved video position for the terminal to be interacted with if the terminal to be interacted with is located in the conference venue and does not output video, and issue a preparation instruction for mixed image processing.

[0149] Optionally, a scalable distributed media processing system further includes:

[0150] An adjustment instruction module, for responding to the adjustment instruction and sending an adjustment port to the administrator terminal when receiving an adjustment instruction for the maximum number of videos sent by the administrator terminal;

[0151] The adjustment receiving module is used to modify the maximum number of videos output by the conference site to the adjustment value when the adjustment value is obtained based on the adjustment port.

[0152] Optionally, a scalable distributed media processing system further includes:

[0153] An interaction pause instruction is used to obtain a conference terminal for which interaction is to be suspended based on the interaction pause instruction when an interaction pause instruction is received from an administrator terminal, and to issue a flow control instruction to the conference terminal for which interaction is to be suspended;

[0154] The flow control pause module is used to pause the collection of the local media stream and pause sending the local media stream to the matching media channel when the conference terminal receives the flow control instruction.

[0155] Optionally, the interactive pause instruction module further includes:

[0156] A pause marking module is used to, when receiving an interaction pause instruction sent by an administrator terminal, obtain a conference terminal for which interaction is to be paused based on the interaction pause instruction and mark it as a terminal for which interaction is to be paused;

[0157] Pause status acquisition module: used to obtain the media channel matched by the terminal to be paused, obtain the conference status of the terminal to be paused, and generate status information;

[0158] Pause status confirmation module: based on the status information, if the terminal to be paused is located in the conference venue and is in the state of outputting video, a flow control instruction is issued to the media channel matched by the terminal to be paused;

[0159] The pause strategy switching module is used to switch the forwarding strategy of pausing uploading the local media stream when the media channel receives the flow control instruction, and send the flow control instruction to the matching conference terminal.

[0160] In another embodiment, a scalable distributed media processing system includes:

[0161] Reference Figure 7 , TERMINAL terminal module, MEETING-MANAGER conference management module, MIXER module and SFU module; MEETING-MANAGER conference management module, MIXER module and SFU module are background servers, and TERMINAL terminal module is the user's terminal device.

[0162] TERMINAL terminal module refers to intelligent mobile terminals such as PC terminals and user's mobile phones, and has functions such as collecting audio and video. TERMINAL terminal modules include TERMINAL01, TERMINAL02, TERMINAL03...TERMINAL0N and several other terminals. Conference terminals and administrator terminals are both TERMINAL terminal modules.

[0163] The SFU module includes several media channels such as SFU01, SFU02, SFU03...SFU0N, etc. Each media channel is used to match one or several TERMINAL terminal modules, among which SFU01 is used to match the administrator terminal, and SFU02, SFU03...SFU0N are used to match other conference terminals in the conference venue.

[0164] The MIXER module is used to perform mixed image processing and distribute the mixed media stream, to reserve the video position for conference venue output, and to receive preparation instructions;

[0165] The MEETING-MANAGER conference management module is responsible for the real-time status information collection and management of conference resources (including MIXER resources and SFU resources), the scheduling and allocation of conference output video and adjustment, the signaling access processing such as the TERMINAL terminal module's joining request, the processing of permission instructions, the management of MIXER module mixing, the media flow scheduling and control of the media channel, and the release of conference resources.

[0166] The administrator enters the conference venue in advance through TERMINAL01 and sets the maximum number of output videos through the MEETING-MANAGER conference management module. The participant sends a request to join the conference to the MEETING-MANAGER conference management module through TERMINAL02. The MEETING-MANAGER conference management module locates the corresponding conference venue and assigns SFU02 to match TERMINAL02. The MEETING-MANAGER conference management module sends a permission instruction to SFU02 and sends SFU02's entry address and port to TERMINAL02. When TERMINAL02 sends an entry request, the MEETING-MANAGER conference management module allows TERMINAL02 to enter.

[0167] Furthermore, when TERMINAL02 chooses to upload the selection information of the local media stream, the MEETING-MANAGER conference management module responds to the selection information and issues a flow control instruction to SFU02, and at the same time issues a preparation instruction to the MIXER module to prepare for mixing. TERMINAL02 collects the local media stream and forwards it to the MIXER module through SFU02. After mixing, the MIXER module distributes the mixed media stream to SFU01, SFU03...SFU0N, and then distributes it to the corresponding TERMINAL terminal module.

[0168] Reference Figure 8When TERMINAL01 issues an interactive participation instruction to specify TERMINAL03 to participate in the conference interaction, the MEETING-MANAGER conference management module receives the interactive participation instruction and searches for the media channel corresponding to TERMINAL03 as SFU02. The MEETING-MANAGER conference management module issues a flow control instruction to SFU02 to switch the forwarding strategy, and sends a preparation instruction to the MIXER module to prepare for mixed image processing and reserve video position. SFU02 sends the flow control instruction to TERMINAL03 to enable TERMINAL03 to start collecting local media streams. SFU02 forwards the local media stream to the MIXER module for mixed image processing and distributes it to the remaining SFU0Ns.

[0169] Reference Fig. 9 When TERMINAL01 issues an interactive pause command to specify TERMINAL03 to pause the conference interaction, the MEETING-MANAGER conference management module receives the interactive participation command and finds the corresponding media channel of TERMINAL03 as SFU02. The MEETING-MANAGER conference management module issues a flow control command to SFU02 to switch the forwarding strategy. SFU02 sends the flow control command to TERMINAL03 to make TERMINAL03 pause collecting local media streams, and sends a command to make the MIXER module pause the mixed image processing of TERMINAL03. Further, the MIXER module distributes the media streams output by other conference terminals in the conference venue to SFU02, and SFU02 forwards them to TERMINAL03.

[0170] For the specific definition of a scalable distributed media processing system, please refer to the definition of a scalable distributed media processing method above, which will not be repeated here. Each module in the above-mentioned scalable distributed media processing system can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0171] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A scalable distributed media processing method, characterized in that: Includes steps: When receiving a conference joining request sent by a conference terminal, locating the corresponding conference venue based on the conference joining request; Based on the conference venue, media channels are allocated to conference terminals, and it is determined whether the number of videos output by the conference venue reaches the preset maximum number of videos; Based on the media channel, if the number of videos output by the conference site reaches the preset maximum number of videos, then when the media channel receives an entry request from the conference terminal, it responds to the entry request and sends a mixed-image media stream of the video output by the conference site to the conference terminal; When receiving an interactive participation instruction from the administrator terminal, the conference terminal that wants to participate in the interaction is obtained based on the interactive participation instruction and marked as the terminal that wants to interact. If the number of videos output by the conference venue is full and the conference terminals that currently output videos are all in interaction and cannot be replaced, the administrator terminal temporarily issues an adjustment instruction to adjust the maximum number of videos output by the conference venue; When receiving an adjustment instruction for the maximum number of videos from an administrator terminal, responding to the adjustment instruction and sending an adjustment port to the administrator terminal; based on the adjustment port, when an adjustment value is obtained, the maximum number of videos output by the conference site is modified to the adjustment value; Acquire the media channel matched by the terminal to be interacted with, and acquire the conference participation status of the terminal to be interacted with, and generate status information, wherein the status information includes two situations: the terminal to be interacted with is located in the conference venue and does not output video, and the terminal to be interacted with is located in the conference venue and outputs video; Based on the status information, if the terminal to be interacted is located in the conference venue and does not output video, a flow control instruction is issued to the media channel matched by the terminal to be interacted. The flow control instruction refers to an instruction to control the conference terminal to collect local media streams and control the media channel to forward the local media stream data to the background. At the same time, if the terminal to be interacted is located in the conference venue and does not output video, a reserved video position is locked for the terminal to be interacted, and a preparation instruction for mixed image processing is issued; When the media channel receives a flow control instruction, it switches to the forwarding strategy for uploading the local media stream and sends the flow control instruction to the matching conference terminal; When the conference terminal receives the flow control instruction, it collects the local media stream of the conference terminal and sends it to the matched media channel. After mixed image processing, the local media stream is synchronized to all conference terminals in the conference venue. When receiving an interaction pause instruction sent by the administrator terminal, obtaining the conference terminal for which interaction is to be paused based on the interaction pause instruction, and marking it as the terminal to be paused; Obtain the media channel matched by the terminal to be suspended, obtain the conference status of the terminal to be suspended, and generate status information; Based on the status information, if the terminal to be suspended is located in the conference venue and is in the state of outputting video, a flow control instruction is issued to the media channel matched by the terminal to be suspended; When the media channel receives a flow control instruction, it switches to a forwarding strategy that suspends uploading of the local media stream and sends the flow control instruction to the matching conference terminal; When the conference terminal receives the flow control instruction, it suspends the collection of the local media stream and stops sending the local media stream to the matching media channel; If the number of videos output by the conference site does not reach the preset maximum number of videos, when the media channel receives an entry request from a conference terminal, a selection flag is sent to the conference terminal to indicate whether the local media stream needs to be uploaded; When the selection information that a conference terminal needs to upload a local media stream is received, the local media stream of the conference terminal is collected, and the local media stream is distributed to all conference terminals in the conference venue through the media channel.

2. The scalable distributed media processing method according to claim 1, characterized in that: After the steps of allocating media channels to conference terminals based on the conference venue and determining whether the number of videos output by the conference venue reaches a preset maximum number of videos, the method further includes the steps of: Send an allow command to the media channel assigned to the conference terminal, and at the same time send the conference entry address and port of the media channel to the conference terminal.

3. A scalable distributed media processing system, comprising: A memory for storing instructions executable by a processor, and a processor for executing the instructions to implement the method according to claim 1.

Citation Information

Patent Citations

  • Video session switch control system and method

    CN101141613A

  • Management method of information transmitting authority of network conference system

    JP2010033569A