Audio / video conference implementation method, audio / video conference system and related apparatus
By adopting the architecture of multi-device groups and multi-interface machines in the audio and video conference system, the load of conference access terminals is shared, which solves the problem of limited conference scale in the existing technology and achieves a solution that supports millions of people to participate in conferences and has a smooth experience. Audio and video conferencing.
Patent Information
- Application Number
- PCT/CN2022/099302
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-07-30
- Filing Date
- 2022-06-17
- Publication Date
- 2024-09-12
AI Technical Summary
When the scale of the existing audio and video conferencing system is large, the data distribution pressure on the server is too great, resulting in a limited number of participants. Ordinary viewers have to raise their hands to speak and the experience is not smooth.
Use multiple device groups, each device group contains multiple interface machines, share the load of the conference access terminal through the interface machine, reduce the data distribution pressure of the media source device, support more participants, and allow all participants Turn on the microphone or video at the same time.
It has realized a large-scale audio and video conference that supports millions of participants. All participants can turn on the microphone or video at the same time without redirection, which improves the conference experience.
Smart Images

Figure CN2022099302_12092024_PF_FP_ABST
Abstract
Description
Audio and video conference implementation method, audio and video conference system and related devices
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on July 30, 2021, application number 202110875339.6, and application name "Audio and Video Conference Implementation Method, Audio and Video Conference System and Related Devices", all contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of computers, and in particular to a method for implementing audio and video conferencing, an audio and video conferencing system, and related devices. Background Art
[0003] With the rapid development of network technology, communication technology and streaming media technology, as well as the increase in people's mobility in work and study, enterprises and individuals have more and more demands for video communication, and audio and video conferencing systems have come into being.
[0004] Current audio and video conferencing mostly uses a conference architecture based on a selective forwarding unit (SFU), which consists of a server and multiple terminals. After the server receives the audio and video stream (i.e., media data stream) shared by a terminal in the conference room, it directly forwards the audio and video stream to other terminals in the conference room.
[0005] However, this conference architecture will greatly increase the data distribution pressure on the server if too many people enter a conference room. Therefore, the number of participants in a conference is limited under this conference architecture, and the number of people who can use microphones or video at the same time is limited. Ordinary audiences need to be redirected to raise their hands and speak, which makes the experience not smooth enough.
[0006] Summary of the Invention
[0007] To address the aforementioned technical issues, this application provides an audio and video conferencing implementation method, an audio and video conferencing system, and related devices, which significantly reduce the data distribution pressure on media source devices, such as the second interface machine. Consequently, it can support a larger number of participants, even millions. Furthermore, because the data distribution pressure during media data stream transmission is significantly reduced, all participants can simultaneously use their microphones or video, without redirection, for a smooth experience.
[0008] The embodiments of this application disclose the following technical solutions:
[0009] In a first aspect, an embodiment of the present application provides a method for implementing an audio and video conference, the method comprising:
[0010] A back-to-source device in a first device group receives a stream pulling application from a first interface machine in the first device group, where the stream pulling application includes first identification information of a media data stream. The first device group is any one of a plurality of device groups, each of the plurality of device groups includes a back-to-source device, and each device group includes a plurality of interface machines, each of the plurality of interface machines being used to connect to a conference access terminal so that the conference access terminal accesses a conference room through the interface machine. The first interface machine is any one of the first device group. The back-to-source device in the first device group forwards the media data stream corresponding to the first identification information to the first interface machine, so that the first interface machine forwards the media data stream to the corresponding conference access terminal. The media data stream is obtained by the back-to-source device in the first device group from a second interface machine in a second device group, and the conference access terminal that generates the media data stream accesses the conference room through the second interface machine. The second device group is any one of the plurality of device groups.
[0011] In a second aspect, an embodiment of the present application provides an audio and video conferencing implementation device, the device comprising a receiving unit and a forwarding unit:
[0012] The receiving unit is configured to receive a stream pulling application from a first interface machine in a first device group, the stream pulling application including first identification information of a media data stream, the first device group being any one of a plurality of device groups, each of the plurality of device groups including a back-to-source device, each of the plurality of interface machines being configured to connect to a conference access terminal so that the conference access terminal accesses a conference room via the interface machine, and the first interface machine being any one of the first device group;
[0013] The forwarding unit is used to forward the media data stream corresponding to the first identification information to the first interface machine, so that the first interface machine forwards the media data stream to the corresponding conference access terminal; the media data stream is obtained by the return device in the first device group from the second interface machine in the second device group, and the conference access terminal that generates the media data stream accesses the conference room through the second interface machine, and the second device group is any device group among the multiple device groups.
[0014] In a third aspect, an embodiment of the present application provides an audio and video conferencing system, the system including a data transmission network and a room management subsystem:
[0015] The data transmission network is used to transmit the media data stream generated in the conference room, and the data transmission network includes multiple device groups, each device group includes multiple interface machines;
[0016] Each of the multiple interface machines is used to connect to a conference access terminal, so that the conference access terminal can access the conference room through the interface machine;
[0017] Each of the multiple device groups includes a back-to-source device. The back-to-source device in the first device group is used to receive a stream pulling request from a first interface machine in the first device group, the stream pulling request including first identification information of a media data stream, and forward the media data stream corresponding to the first identification information to the first interface machine. The media data stream is obtained by the back-to-source device in the first device group from a second interface machine in the second device group. The conference access terminal that generates the media data stream accesses the conference room through the second interface machine. The first device group and the second device group are respectively any one of the multiple device groups.
[0018] The first interface machine is any interface machine in the first device group, and the first interface machine is used to forward the media data stream to the corresponding conference access terminal;
[0019] The room management subsystem includes the multiple device groups and a central server. Each device group includes an intra-group server, and the intra-group server is used to assist the central server in managing the conference room.
[0020] In a fourth aspect, an embodiment of the present application provides an electronic device for implementing audio and video conferencing, the electronic device including a processor and a memory:
[0021] The memory is used to store program code and transmit the program code to the processor;
[0022] The processor is configured to execute the method according to the first aspect according to the instructions in the program code.
[0023] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, which is used to store program code. When the program code runs on an electronic device, the electronic device executes the method described in the first aspect.
[0024] In a sixth aspect, an embodiment of the present application provides a computer program product, which, when executed, enables an electronic device to execute the method described in the first aspect.
[0025] As can be seen from the above technical solution, the present application involves multiple device groups, each of which includes multiple interface machines, each of which is used to connect to a conference access terminal so that the conference access terminal can access the conference room through the interface machine. Compared with the related art in which multiple conference access terminals access the conference room through a server, the multiple interface machines have a similar function to the server in the related art, but the conference access terminals are distributed to different interface machines, and the load is shared by multiple interface machines, which facilitates access to more conference access terminals and supports large-scale conferences. There is a return source device in each of the multiple device groups, which generates a media data stream by accessing the conference room through the second interface machine. After receiving the stream pulling request from the first interface machine in the first device group, the return source device in each device group, for example, the first device group, can forward the media data stream corresponding to the first identification information to the first interface machine because the stream pulling request includes the first identification information of the media data stream, so that the first interface machine can be used to forward the media data stream to the corresponding conference access terminal. In this way, when each interface machine needs to pull the media data stream of the second interface machine, the second interface machine only needs to interact with the return source device in each device group, and then the return source device shares the data distribution pressure for the media source device, such as the second interface machine, and interacts with other interface machines. There is no need for the second interface machine to interact with each interface machine, which greatly reduces the data distribution pressure of devices such as the second interface machine. Therefore, this audio and video conferencing implementation method can support more participants, even millions of participants. At the same time, because the data distribution pressure during media data stream transmission is greatly reduced, all participants (i.e. users) can turn on the microphone or video at the same time without redirection, and the experience is smooth. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technical members in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0027] FIG1 is a conference architecture diagram based on SFU provided by the related art;
[0028] FIG2 is another SFU-based conference architecture diagram provided by the related art;
[0029] FIG3 is a structural diagram of an audio and video conferencing system provided by the related art;
[0030] FIG4a is a flow chart of a method for implementing an audio and video conference provided in an embodiment of the present application;
[0031] FIG4 b is a structural diagram of a data transmission network provided in an embodiment of the present application;
[0032] FIG5 is an interface diagram of a video conference based on the audio and video conferencing system provided in an embodiment of the present application;
[0033] FIG6 is a structural diagram of a room management subsystem provided in an embodiment of the present application;
[0034] FIG7 is a diagram of an audio processing architecture based on a mixing engine provided in an embodiment of the present application;
[0035] FIG8 is an architecture diagram of docking with a third-party conference device provided by an embodiment of the present application;
[0036] FIG9 is a diagram of another audio processing architecture provided in an embodiment of the present application;
[0037] FIG10 is a structural diagram of an audio and video conferencing implementation device provided in an embodiment of the present application;
[0038] FIG11 is a structural diagram of a terminal provided in an embodiment of the present application;
[0039] FIG12 is a structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] The embodiments of the present application are described below with reference to the accompanying drawings.
[0041] Currently, most audio and video conferences use an SFU-based conference architecture, as shown in Figure 1. In the figure, the black nodes are servers, the gray nodes are terminals, and multiple terminals are connected to the server. User A, User B, and User C access the conference room through their corresponding terminals to participate in the conference.
[0042] However, this conference architecture will greatly increase the data distribution pressure on the server if too many people enter a conference room. Therefore, the number of participants in a conference is limited under this conference architecture, and the number of people who can use microphones or video at the same time is limited. Ordinary audiences need to be redirected to raise their hands and speak, which makes the experience not smooth enough.
[0043] Furthermore, with this approach, participants cannot simultaneously use their video or microphones. Therefore, a diffusion proxy (shown as the node enclosed by the dashed box in Figure 2) is added to the SFU architecture shown in Figure 1. Non-speaking users are placed in the diffusion proxy. When users raise their hands to speak, they are redirected to the call node (shown as the node enclosed by the solid box in Figure 2). This leverages the distribution advantages of the diffusion proxy to expand the number of participants. However, this approach requires redirection, resulting in a less smooth experience.
[0044] In order to solve the above technical problems, the embodiment of the present application provides a method for implementing audio and video conferencing. When each interface machine needs to pull the media data stream of the second interface machine, the method only requires the second interface machine to interact with the return source device in each device group, and then the return source device shares the data distribution pressure for the second interface machine and interacts with other interface machines. There is no need for the second interface machine to interact with each interface machine, which greatly reduces the data distribution pressure of media source devices such as the second interface machine. Therefore, the audio and video conferencing implementation method can support more participants, even millions of participants. At the same time, since the data distribution pressure during the transmission of media data streams is greatly reduced, all participants can turn on the microphone or video at the same time without redirection, and the experience is smooth.
[0045] It should be noted that the audio and video conferencing implementation method provided in the embodiment of the present application can be applied to various audio and video conferencing scenarios, especially for ultra-large-scale audio and video conferencing with millions of participants in a single meeting.
[0046] Next, the audio and video conferencing system architecture provided by the embodiment of the present application will be introduced. When participants enter the conference room to participate in the meeting based on the audio and video conferencing system, the participants mainly include guests who need to turn on audio and video, and ordinary audiences. When the guests turn on the audio and video, a media data stream will be generated, and the media data stream will be transmitted to the conference access terminal corresponding to the ordinary audience, as well as the conference access terminals corresponding to other guests. Among them, the conference access terminal is the terminal used to access the conference room, and the conference access terminal can be a user terminal. Therefore, the audio and video conference mainly depends on the transmission of media data streams when the participants turn on the audio and video, such as turning on the video or turning on the microphone. When the transmission of the media data stream is not limited by the number of participants in the conference room, the audio and video conferencing system will be able to support large-scale meetings. Therefore, the embodiment of the present application focuses on the improvement of the data transmission network architecture.
[0047] In addition, because each meeting must correspond to a conference room to store room information, participant lists, and maintain user status (turning on or off audio and video, i.e., turning on and off microphones, turning on and off video, muting, checking in and out, etc.). In the case of a very large-scale meeting, everyone constantly turns on or off video or checks in and out, which will generate a large number of notification messages reflecting status changes; pulling and synchronizing the participant lists of very large audio and video conferences will also put a lot of pressure on the room management subsystem. Therefore, the improvement of the room management subsystem in the embodiment of the present application will also enable the audio and video conferencing system to support very large-scale audio and video conferences.
[0048] Therefore, in this embodiment, the audio and video conferencing system architecture can be seen in Figure 3, which mainly includes a data transmission network 301 and a room management subsystem 302. The data transmission network 301 is used to transmit the media data stream generated in the conference room, and the room management subsystem 302 is used to manage the conference room.
[0049] The embodiment of the present application first introduces a method for implementing an audio and video conference from the perspective of transmitting media data streams through a data transmission network 301. Referring to FIG4a , the method includes:
[0050] S401: A source device in a first device group receives a stream pulling request from a first interface machine in the first device group.
[0051] As shown in Figure 4b , the data transmission network 301 includes multiple device groups 401, such as those shown in each dashed box in Figure 4b . Each device group 401 includes multiple interface machines, such as the nodes represented by circles in device group 401 in Figure 4b . Each of the multiple interface machines is used to connect to a conference access terminal, allowing the conference access terminal to access the conference room through the interface machine, allowing participants corresponding to the conference access terminal to enter the conference room and participate in the meeting. A device group can be represented by a SET, meaning that the multiple interface machines are divided according to SETs. An interface machine can be a server. Each of the multiple device groups 401 contains a back-to-source device.
[0052] The first device group may be any device group among multiple device groups, and the first interface machine may be any interface machine in the first device group.
[0053] When an interface machine (e.g., the first interface machine) in a device group (e.g., the first device group) needs to pull a media data stream, the first interface machine can send a stream pulling request to the source device in the first device group. The stream pulling request may include first identification information of the media data stream, and the first identification information identifies the media data stream of the media data to which it has subscribed, so that the source device knows which media data stream needs to be pulled. The first interface machine may be the interface machine connected to the conference access terminal corresponding to the user who has subscribed to the media data. In other words, if the user on the first interface machine subscribes to the media data of a certain interface machine, the first interface machine is triggered to send a stream pulling request to the source device in the first device group.
[0054] S402: The source device in the first device group forwards the media data stream corresponding to the first identification information to the first interface machine, so that the first interface machine forwards the media data stream to the corresponding conference access terminal.
[0055] After receiving the stream pull request, the source device in the first device group forwards the media data stream corresponding to the first identification information to the first interface machine, which then forwards the media data stream to the corresponding conference access terminal. The conference access terminal that generates the media data stream is connected to the conference room via the second interface machine. The second device group is any one of the multiple device groups.
[0056] The second interface machine can be the interface machine connected to the conference access terminal corresponding to the user who has turned on the audio and video. For example, when a user, such as the second user, turns on the video on his conference access terminal, the conference access terminal corresponding to the second user accesses the conference through the second interface machine, and the second interface machine is located in the second device group. If any user participating in the meeting, such as the first user, wants to watch the video of the second user (for example, subscribe to the video of the second user), the first interface machine connected to the conference access terminal corresponding to the first user can find the device group in which it is located, such as the back-to-source device in the first device group, and send a stream pulling request to the back-to-source device in the first device group, so that the back-to-source device will forward the media data stream obtained from the second interface machine to the first interface machine according to the stream pulling request, and the first interface machine will forward the media data stream to the corresponding conference access terminal. Among them, the users involved in the embodiment of the present application can be participants.
[0057] It should be noted that the media data stream on the source device is pulled from the second interface machine, and the pulled media data stream can be stored locally on the source device. In other words, in general, when the source device receives a request to pull a media data stream for the first time, it needs to pull it from the second interface machine because the media data stream has not yet been stored locally. If another interface machine has previously requested the media data stream, the media data stream is already stored locally and there is no need to pull it from the second interface machine again.
[0058] Therefore, in this embodiment, different media data stream pulling methods may be used according to whether the source device in the first device group has found the media data stream locally.
[0059] In one possible implementation, the specific method in which the source device in the first device group forwards the media data stream corresponding to the first identification information to the first interface machine can be that the source device in the first device group receives a stream pulling application sent by the first interface machine, searches for the corresponding media data stream of the second interface machine according to the first identification information, and if the media data stream of the second interface machine is not found, forwards the stream pulling application to the second interface machine, receives the media data stream forwarded by the second interface machine according to the first identification information in the stream pulling application, and forwards the media data stream to the first interface machine.
[0060] It is understandable that if the stream pull request is sent when the first user subscribes to the second user's video, then after the second interface machine receives the stream pull request, it can locally record the subscription of the return source device to the second interface machine, and then the second interface machine will send the media data stream to the return source device. The return source device will also save the received media data stream locally, so that when other interface machines request the media data stream later, the return source device does not need to interact with the second interface machine and can directly return the media data stream to the first interface machine.
[0061] For example, as shown in Figure 4b, node A can serve as the second interface machine, and the second interface machine is the interface machine where the guest is located, that is, the user corresponding to the conference access terminal on the second interface machine can turn on the video and upload the video data stream. At this time, the video data stream serves as the media data stream. Node B can serve as the first interface machine, and node D can serve as the return device of its device group, such as the first device group. The user on node B subscribes to the video data stream uploaded by node A. Node B will first find node D in the first device group and send a stream pull request to node D. After node D receives the stream pull request from node B, it first searches locally for node A's media data stream. If not, it initiates a stream pull request to node A. After node A receives the stream pull request from node D, it records node D's subscription to node A locally, and then forwards the video data stream to node D. Node D receives the video data stream and forwards it to node B. Node B finally sends the video data stream to the corresponding conference access terminal.
[0062] When the source device in the first device group searches for the media data stream of the second interface machine based on the first identification information, if it finds the media data stream of the second interface machine, it directly forwards the found media data stream to the first interface machine. This method improves the efficiency of pulling media data streams and further reduces the data distribution pressure on media source devices such as the second interface machine.
[0063] For example, as shown in Figure 4b, node A can serve as the second interface machine, and the second interface machine is the interface machine where the guest is located, that is, the user corresponding to the conference access terminal on the second interface machine can turn on the video and upload the video data stream. At this time, the video data stream serves as the media data stream. Node C can serve as the first interface machine, and node D can serve as the return device of its device group, such as the first device group. The user on node C subscribes to the video data stream uploaded by node A. Node C will first find node D in the first device group and send a stream pull request to node D. Note that nodes B and C in the same device group find the same node D through consistent hashing or other methods, and send a stream pull request to node D. Node D finds that the video data stream already exists locally (node B has applied for it before), and node D directly forwards the found video data stream to node C. Node C receives the forwarded video data stream from node D, and finally forwards the video data stream to the corresponding conference access terminal.
[0064] It is understood that the source device in the first device group is an interface machine that needs to apply for a media data stream, such as the first interface machine, and is determined according to a preset rule. This preset rule ensures that the same media data stream is routed through the same source device to the interface machine in the device group to which it belongs. For example, nodes B and C in the same device group mentioned above both find the same node D through consistent hashing or other methods. This facilitates unified distribution and management of the same media data stream within the same device group.
[0065] It should be noted that the first device group and the second device group can be located in the same local area network (i.e., in the intranet), or they can be located in different local area networks (i.e., in the extranet, including the extranet of the domestic network and the foreign network). If the first device group and the second device group are located in the same local area network, the return-to-source device in the first device group directly forwards the pull-stream application to the second interface machine, and the second interface machine directly sends the media data stream to the return-to-source device. If the first device group and the second device group are located in different local area networks, the data transmission network 301 also includes a transit agent device 402, such as the device shown as 402 in Figure 4b. Then the return-to-source device in the first device group needs to forward the pull-stream application to the second interface machine through the transit agent device 402, and accordingly, the second interface machine forwards the media data stream to the return-to-source device in the first device group through the transit agent device 402.
[0066] For example, as shown in Figure 4b, node A can serve as the second interface machine, and the second interface machine is the interface machine where the guest is located. That is, the user corresponding to the conference access terminal on the second interface machine can turn on the video and upload the video data stream. At this time, the video data stream serves as the media data stream. Node G can serve as the first interface machine, and node F can serve as the return device of its device group, such as the first device group. At this time, the first device group where node G is located and the second device group where node A is located are not in the same local area network, that is, node G is an edge node. The user on node G subscribes to the video data stream uploaded by node A (the video data stream serves as the media data stream). The path to obtain the video data stream will be relatively long. Node G will first find node F in the first device group and send a stream pull request to node F. After receiving the stream pull request from node G, node F first searches locally for node A's video data stream. If not, it initiates a stream pull request to node A through the transit agent device 402 (for example, node E in Figure 4b). Node A receives the stream pulling request from node F, locally records node F's subscription to node A, and then forwards the video data stream to node F through node E. Node F then forwards the video data stream to node G, and node G finally forwards the video data stream to the corresponding conference access terminal.
[0067] In Figure 4b, the process of node H pulling the video data stream of node A is similar to that of node C, except that it also has to pass through node E in the middle, which will not be repeated here. In this process, the search of the transit agent device 402, such as node E, can be pre-configured or dynamically allocated, and there is no restriction here. Structurally, the embodiment of the present application divides the interface machines used to access audio and video conferences into device groups (SETs). When an interface machine in a certain device group needs to pull a media data stream, it can determine the return source device in the device group where it is located, and then initiate a stream pulling application to the interface machine (i.e., the media source device) that generates the media data stream through the return source device. This design greatly reduces the data distribution pressure of the media source device and greatly increases the number of participants in the conference room. For example, assume each SET has 100 interface devices, and the entire audio and video conferencing system has 100 SETs. Each 8-core 16G interface device can support 100 media data stream forwarding. If a conference has only one guest and the rest are audience, the maximum scale of this conference is 100 (devices) * 100 (SETs) * 100 (distribution) = 1 million people. If there are more than one guest, different interface devices in different SETs will be assigned based on the principle of proximity, and the uplink forwarding load will be distributed, making it easy to support conferences of one million people.
[0068] As can be seen from the above technical solution, the present application involves multiple device groups, each of which includes multiple interface machines, each of which is used to connect to a conference access terminal so that the conference access terminal can access the conference room through the interface machine. Compared with the related art in which multiple conference access terminals access the conference room through a server, the multiple interface machines have a similar function to the server in the related art, but the conference access terminals are distributed to different interface machines, and the load is shared by multiple interface machines, which facilitates access to more conference access terminals and supports large-scale conferences. There is a return source device in each of the multiple device groups, which generates a media data stream by accessing the conference room through the second interface machine. After receiving the stream pulling request from the first interface machine in the first device group, the return source device in each device group, for example, the first device group, can forward the media data stream corresponding to the first identification information to the first interface machine because the stream pulling request includes the first identification information of the media data stream, so that the first interface machine can be used to forward the media data stream to the corresponding conference access terminal. In this way, when each interface machine needs to pull the media data stream of the second interface machine, the second interface machine only needs to interact with the return source device in each device group, and then the return source device shares the data distribution pressure for the media source device, such as the second interface machine, and interacts with other interface machines. There is no need for the second interface machine to interact with each interface machine, which greatly reduces the data distribution pressure of devices such as the second interface machine. Therefore, this audio and video conferencing implementation method can support more participants, even millions of participants. At the same time, because the data distribution pressure during media data stream transmission is greatly reduced, all participants (i.e. users) can turn on the microphone or video at the same time without redirection, and the experience is smooth.
[0069] Compared with the conference architecture based on multipoint control unit (MCU), it is simple to operate and maintain, is not restricted by performance and hardware price, greatly increases the actual number of people it can accommodate, and facilitates the implementation of ultra-large-scale conferences.
[0070] FIG5 is a diagram showing an interface for conducting a video conference based on the audio and video conferencing implementation method and audio and video conferencing system provided in an embodiment of the present application. The interface displays images of participants who have turned on their videos, a list of participants, and icons of related function keys (e.g., a microphone icon, a camera icon, a member management icon, a meeting leave icon, etc.). Participants who have turned on their microphones can display a microphone icon, while participants who have not turned on their microphones can have a slash through the microphone icon. The audio and video conferencing system provided in an embodiment of the present application enables ultra-large-scale conferences. For example, the upper limit for the number of participants entering a conference can be 50,000, i.e., 50,000 members can be managed.
[0071] Next, the embodiment of the present application introduces a method for implementing audio and video conferencing from the perspective of the room management subsystem 302 managing the conference room.
[0072] As shown in Figure 6 , the room management subsystem 302 includes the aforementioned multiple device groups 601 and a central server (RoomSvc) 602. Device groups 601 here also include the aforementioned multiple interface machines, similar to the device groups shown in Figure 4b . Furthermore, each device group 601 also includes an intra-group server (RoomSvcInSet), which assists the central server 602 in managing conference rooms. The intra-group servers are represented by the circles within each device group 601 in Figure 6 , such as Node B, Node C, Node D, Node E, Node F, and Node G; the central server 602 is represented by Node A in Figure 6 .
[0073] It should be noted that, in this embodiment, the group server and the back-to-source device in the same device group may be the same device or different devices, and this embodiment does not limit this.
[0074] Managing a conference room mainly includes managing the room information, notification messages of status changes, pulling the participant list, etc. Among them, the room information includes, for example, the name of the conference room, creation time, participants, meeting time, etc.
[0075] In the embodiment of the present application, the room management system is divided into a central server and a group server. There is only one central server, and the group servers are deployed according to SET like the interface machines. In this way, the synchronization of notification messages and the pulling of participant lists can be done through the group servers, which relieves the management pressure of the central server and facilitates the implementation of ultra-large-scale meetings.
[0076] Within a device group, all interfaces in the same conference room register the same RoomSvcInSet using a specific algorithm and maintain a persistent connection through heartbeats. This allows for media data streams to be pulled from the conference room. When notifications within the conference room require synchronization (such as user status changes: entering a conference room, exiting a conference room, turning the microphone on or off, or turning the video on or off), or when pulling the participant list, this is accomplished through the RoomSvcInSet.
[0077] First, let's describe the registration process for entering a conference room and participating in a meeting. When any interface device in any device group, such as the third interface device in the third device group, requests to enter a conference room, the group server in the third device group receives the registration request from the third interface device. The registration request may include a room identifier, indicating the conference room to be entered. If the group server in the third device group cannot find the conference room information locally, it sends the registration request to the central server. The central server records the second identification information of the group server in the third device group in the first conference registration list and returns a registration success message to the group server in the third device group. The group server in the third device group records the third identification information of the third interface device in the second conference registration list and returns a registration success message to the third interface device, thereby completing the registration of the third interface device. The second and third identification information are both identification information, unique identifiers of the corresponding devices. Identification information can be, for example, addresses. In other words, the second identification information can be the address of the group server, and the third identification information can be the address of the third interface device. Among them, the third device group is any device group among multiple device groups, the third interface machine is any interface machine in the third device group, the third device group can be the first device group or the second device group in the aforementioned embodiment, and the third interface machine can be the first interface machine or the second interface machine in the aforementioned embodiment.
[0078] For example, as shown in Figure 6, node A can serve as the third interface machine, which is the interface machine that wishes to register for a conference. That is, the user corresponding to the conference access terminal on the third interface machine wishes to enter the conference room to participate in the meeting. Node A can serve as the central server, and node B can serve as the server within the device group where the third interface machine resides, such as the third device group. Node B can be determined by node A based on certain rules (consistent hashing or allocation scheduling). Node A sends a registration request to node B. After receiving node A's registration request, node B searches the scheduling system (Scheduler) for the RoomSvc corresponding to the conference, namely node A. Node B sends a registration request to node A. After receiving node B's registration request, node A records node B's address in the conference's registration list (the first conference registration list stored on node A) and returns a registration success message to node B. After receiving the registration success message from node A, node B records node A's address in the conference's registration list (the second conference registration list stored on node B) and returns a registration success message to node A.
[0079] It will be appreciated that, in this embodiment, after successful registration, a persistent connection can be maintained between the group server and the central server, and between the group server and the successfully registered interface machine, such as the third interface machine, to facilitate subsequent interaction between the two. For example, node B can also periodically send heartbeats to node A, maintaining a persistent connection channel with node A. After node A receives a successful registration message from node B, it can periodically send heartbeats to maintain a persistent connection channel with node B.
[0080] If the server in the third device group searches for conference room information locally according to the registration request and finds the conference room information locally, it can record the third identification information of the third interface machine in the second conference registration list and return registration success information to the third interface machine.
[0081] For example, as shown in Figure 6, node b can serve as the third interface machine, and the third interface machine is the interface machine that wishes to register for the conference, that is, the user corresponding to the conference access terminal on the third interface machine wishes to enter the conference room to attend the meeting. Node A can serve as the central server, and node B can serve as the in-group server of the device group where the third interface machine is located, such as the third device group. Node B can be determined by node b according to certain rules (consistent hashing or allocation scheduling). Node b sends a registration request to node B. Node B receives the registration request from node b and finds that the information of the conference room already exists locally. It records the address of node b in the registration list of the conference (the second conference registration list saved on node B) and returns a registration success message to node B. After node b receives the registration success message returned by node B, it sends heartbeats at regular intervals to maintain a long connection channel with node B.
[0082] Similarly, when a user located on an edge node (i.e., the device group and the central server are not in the same LAN, and the interface machine in the device group and the central server are not in the same LAN) registers for the same conference room, the registration process only needs to go through a transit agent device such as node O, node P, and node Q in Figure 6 for transit, and other processes are similar.
[0083] When a conference access terminal connected to a conference room experiences a status change, such as when a user turns audio or video on or off, this status change needs to be notified to other users in the conference room. For example, if the conference access terminal experiencing the status change is located on the third interface device in the third device group, the group server in the third device group receives the notification message sent by the third interface device and forwards it to the central server. The central server then forwards this notification message to the group servers in each device group, which then forward it to the successfully registered interface devices.
[0084] Continuing with the example of Figure 6 above, where node a can serve as the third interface machine, node a is the interface machine where the guest is located, node A can serve as the central server, and node B can serve as the in-group server of the device group where the third interface machine is located, such as the third device group. If the guest on node a turns on the video, i.e., a status change occurs, node a sends a notification message (msg-a-openvideo) indicating the status change to node B, and node B sends the notification message to node A. Node A traverses the local registration list (the first conference registration list stored on node A) and sends the notification message to all in-group servers, such as node B, node C, node D, node E, node F, and node G in Figure 6. Nodes B, node C, node D, node E, node F, and node G receive the notification message, traverse the local registration list (each serving as the second conference registration list stored on the in-group server), and send the notification message to all interface machines, such as node a, node b, node c, node d, node e, node f, node g, node o, node p, node q, node r, and node s in Figure 6.
[0085] A participant list is maintained in an audio and video conference, and the participant list includes all participants. In the ultra-large-scale audio and video conference implemented by the audio and video conferencing system provided by the embodiment of the present application, the number of participants is huge, so a paged pull method can be used to update the local participant list. When a device group, such as a certain interface machine in the third device group, such as the third interface machine, requests to pull the participant list, the in-group server in the third device group receives the list pull request from the third interface machine, and the in-group server in the third device group searches for the participant list locally. If the in-group server in the third device group does not find the participant list locally, it sends the list pull request to the central server. The in-group server in the third device group receives the participant list sent by the central server and sends the participant list to the third interface machine.
[0086] For example, as shown in Figure 6, if node a serves as the third interface machine, a user on node a requests a participant list from node B. Node B searches its local cache. If the list is not available, it initiates a pull request from node A. After receiving the pull request, node A returns the corresponding participant list to node B. Node B caches the participant list locally and returns it to node a. The participant list can be the entire participant list or a specific page of participant lists, such as Page 1, pulled from a page.
[0087] When the intra-group server in the third device group searches for the conference participant list locally, if the intra-group server in the third device group finds the conference participant list locally and the conference participant list has not expired, the conference participant list is returned to the third interface machine.
[0088] Continuing with the previous example, if node b (Figure 6) serves as the third interface machine, and if another node on node b has already requested Page 1, node B already has the list, so there's no need to request it from node A. Therefore, node a sends a request to node B to fetch the list. Node B searches its local cache and finds Page 1, which is not expired. Node B then returns Page 1 directly to node b.
[0089] Next, let's look at the disaster recovery process: Because all RoomSvc information comes from RoomSvcInSet and the interface machine, a RoomSvc crash can be easily and automatically rebuilt using RoomSvcInSet. Similarly, RoomSvcInSet data comes from the interface machine. Therefore, if a RoomSvcInSet crashes, it can be automatically rebuilt using the interface machine within the device group (SET).
[0090] The audio and video conferencing implementation method provided in the embodiment of the present application alleviates the management pressure of the central server through the server within the group, thereby facilitating the implementation of ultra-large-scale conferences.
[0091] It should be noted that in the SFU-based audio and video conferencing provided by related technologies, when transmitting media data streams generated in the conference room, such as audio data streams, audio routing is performed based on energy values. This approach can significantly impact the user experience during long-distance calls. When the number of participants is large, it wastes significant bandwidth and increases network performance loss on the conference access terminal. Furthermore, in scenarios requiring interactive voice response (IVR) playback and accurate recording during meetings, precise control (for example, determining start and end times based on signaling or media data streams) is difficult to achieve with the SFU architecture. Furthermore, in the case of voice recording, some demanding industries cannot tolerate over- or under-recording of a few words. Without a centralized audio processing service, it is easy to record content that should not be recorded or miss it, which is absolutely unacceptable for demanding users.
[0092] To this end, as shown in FIG3 , the audio and video conferencing system provided in an embodiment of the present application further includes a mixing engine 303. Mixing engine 303 is located between media transmission network 301 and public switched telephone network (PSTN) 305, serving as a bridge for communication between the two, greatly improving the conferencing experience in ultra-large-scale rooms. Mixing engine 303 connects to PSTN 305 via protocols such as Session Initiation Protocol (SIP) or Real-time Transport Protocol (RTP).
[0093] Among them, the mixing engine 303 includes a mixer and a selector, and each device group has a corresponding mixing engine. When the media data stream is an audio data stream, the selector in the mixing engine sends the acquired multi-channel audio data stream to the mixer located in the same device group, and the multi-channel audio data streams come from the fourth interface machine in different device groups. The mixer selects the target audio data stream from the multi-channel audio data stream and sends a selection notification to the target interface machine connected to the conference access terminal that generates the target audio data stream. The target interface machine sends the target audio data stream to the mixer, the mixer mixes the target audio data stream, and forwards the mixed audio data stream to the selector corresponding to the fourth interface machine, which includes the target interface machine. The selector corresponding to the fourth interface machine sends the mixed audio data stream to the fourth interface machine, and the fourth interface machine forwards the mixed audio data stream to other interface machines in its device group.
[0094] Mixers and selectors are also deployed per set. To minimize latency, the Mixers and selectors for a set are deployed in the same availability zone (intra-zone transmission latency can be controlled to 2ms). Furthermore, audio data streams from the same conference are processed centrally within a set and ultimately mixed by the same mixer.
[0095] Assume that Figure 7 represents a real conference with three participants using microphones. These three participants are connected to interface machines a, f, and g, and all other interface machines are occupied by spectators. To simplify the diagram, assume that each conference uses two audio data streams (typically, real conferences use 4-6 audio data streams). The audio data stream processing flow is as follows:
[0096] Nodes a, f, and g request a router from the scheduling system in Figure 6 (to minimize latency, the scheduling system assigns a router in the same available zone to audio data streams in the same conference room), and receive the routers represented by nodes B, C, and D in Figure 7, respectively. Nodes a, f, and g forward the audio data streams to their respective counterparts, B, C, and D. Nodes B, C, and D cache the uplink audio data streams and report the energy values to the mixer. The mixer sorts the energy values and selects the two audio data streams from nodes f and g as the target audio data streams. It then notifies nodes C and D, which serve as the target interface machines. After receiving the selection notification, nodes C and D forward the corresponding target audio data streams to the mixer (the delay between these two steps is within 5ms). The mixer mixes the received target audio data streams and then forwards the mixed audio data streams to nodes B, C, and D. Nodes B, C, and D then send the mixed audio data streams to nodes a, f, and g. Nodes a, f, and g then forward the mixed audio data streams within the SET.
[0097] Note that the streams sent to the guest and to the general audience are different. The mixed audio data stream for the guest excludes the audio stream of the guest's speech. Therefore, the selected interface will receive two audio data streams, one for the guest who is speaking and the other for the audience in the SET.
[0098] The audio mixing engine 303 is a real-time media processing system, because the audio data stream processed by the audio mixing engine 303 needs to be forwarded to all participants in the conference room in real time. In many cases, an asynchronous stream processing system may also be required, that is, after this system obtains the audio data stream, it does not need to be sent back to the participants in the conference room, but is used for other purposes (such as recording, pornography identification, live streaming, etc.), so it is usually not necessary to be so real-time. Based on this, the audio and video conferencing system provided in the embodiment of the present application is shown in Figure 3, and also includes a bypass media processing system 304, which is used to pull the media data stream generated in the conference room through the robot terminal and process the media data stream. Among them, the robot terminal is shown in Figure 3, including a live stream robot (LiveStream Robot), a recording robot (Record Robot), and a conference connection robot (MRA Robot).
[0099] In this embodiment, the bypass media processing function is implemented by using a robot terminal to enter the conference room to pull the stream. Taking recording as an example, the user service backend starts a recording task through the Application Programming Interface (API). The recording task system instantiates a Record Robot to simulate the participants entering the meeting. The Record Robot pulls the media data stream in the meeting to the local computer, mixes the stream and transcodes it, and then records it. After the meeting, the Record Robot uploads the recorded file to the designated storage (it can also upload some fragments at a scheduled time).
[0100] It should be noted that the solutions for pornographic content detection and live streaming are similar to those for recording, with the only difference being the business logic. When connecting to third-party conference equipment, due to the need for two-way communication, the solution is slightly different from the recording solution:
[0101] When connecting to a third-party conference device, as shown in Figure 8, the user's business background starts an MRA (Conference Connector) Robot, and the MRA Robot enters the ** conference (at this time, other participants can see this MRA Robot). The MRA Robot also connects to the third-party conference device through a connection protocol (such as SIP or H323). The MRA Robot pulls all media data streams in the ** conference to the local area, mixes them, and then forwards them to the third-party conference device through the connection protocol. The MRA Robot converts the media data stream sent from the third-party conference device into the private protocol of the ** conference and forwards it to other participants in the conference room through the media transmission network. Among them, 801 in Figure 8 is a mobile conference terminal, and 802 is the smart conference room in the ** conference room, which is used to access the ** conference.
[0102] It should be noted that if the audio and video conferencing system does not include a mixing engine, the architecture shown in Figure 9 can also be used to connect the data transmission network 301 with the public switched telephone network 305. Specifically, the routing device and the robots involved in the bypass media processing system can jointly implement the mixing engine's functions. The routing device selects routes based on the reported energy and the corresponding routing decisions.
[0103] Based on the aforementioned audio and video conferencing implementation method, the embodiment of the present application further provides an audio and video conferencing implementation device. Referring to FIG10 , the device 1000 includes a receiving unit 1001 and a forwarding unit 1002:
[0104] The receiving unit 1001 is configured to receive a stream pulling request from a first interface machine in a first device group, the stream pulling request including first identification information of a media data stream, the first device group being any one of a plurality of device groups, each of the plurality of device groups including a back-to-source device, each of the plurality of interface machines being configured to connect to a conference access terminal, so that the conference access terminal accesses a conference room through the interface machine; the first interface machine being any one of the first device group;
[0105] The forwarding unit 1002 is used to forward the media data stream corresponding to the first identification information to the first interface machine, so that the first interface machine forwards the media data stream to the corresponding conference access terminal; the media data stream is obtained by the return device in the first device group from the second interface machine in the second device group, and the conference access terminal that generates the media data stream accesses the conference room through the second interface machine, and the second device group is any device group among the multiple device groups.
[0106] In a possible implementation, the forwarding unit 1002 is configured to:
[0107] Searching for the corresponding media data stream of the second interface machine according to the first identification information;
[0108] If the media data stream of the second interface machine is not found, forwarding the stream pulling request to the second interface machine;
[0109] The receiving unit 1001 is further configured to receive the media data stream forwarded by the second interface machine according to the first identification information in the stream pulling application;
[0110] The forwarding unit 1002 is further configured to forward the media data stream to the first interface machine.
[0111] In a possible implementation, the forwarding unit 1002 is further configured to:
[0112] If the corresponding media data stream of the second interface machine is found, the media data stream is forwarded to the first interface machine.
[0113] In a possible implementation, if the first device group and the second device group are located in different local area networks, the forwarding unit 1002 is configured to:
[0114] Forwarding the stream pulling request to the second interface machine through a transit agent device;
[0115] The media data stream forwarded by the second interface machine is received through the transit agent device.
[0116] In a possible implementation, the return-to-source device in the first device group is determined by the first interface machine according to a preset rule, where the preset rule enables the same media data stream to be routed to the interface machine in the device group through the same return-to-source device.
[0117] In a possible implementation, the apparatus further includes a sending unit, a recording unit, and a returning unit:
[0118] When a third interface machine in a third device group requests to enter the conference room, the receiving unit 1001 is further configured to receive a registration request sent by the third interface machine, the third device group being any device group in the multiple device groups, and the third interface machine being any interface machine in the third device group;
[0119] The sending unit is configured to send the registration request to the central server if the information of the conference room is not found locally, so that the central server records the second identification information of the server in the third device group into the first conference registration list, and returns a registration success message to the server in the third device group;
[0120] The recording unit is configured to record the third identification information of the third interface machine into the second conference registration list;
[0121] The returning unit is configured to return the registration success information to the third interface machine.
[0122] In a possible implementation, if the information of the conference room is found locally, the recording unit is further configured to record the third identification information of the third interface machine into the second conference registration list;
[0123] The returning unit is further configured to return the registration success information to the third interface machine.
[0124] In a possible implementation, when the conference access terminal connected to the third interface machine in the third device group changes state, the receiving unit 1001 is further configured to receive a notification message sent by the third interface machine;
[0125] The sending unit is used to send the notification message to the central server, so that the central server sends the notification message to the internal server of each device group, and the internal server of each device group is used to send the notification message to the interface machine that has successfully registered.
[0126] In a possible implementation, when the third interface machine in the third device group requests to pull the participant list, the receiving unit 1001 is further configured to receive the list pulling request from the third interface machine;
[0127] The sending unit is configured to send the list retrieval request to the central server if the participant list is not found locally;
[0128] The receiving unit 1001 is further configured to receive the conference participant list sent by the central server;
[0129] The sending unit is configured to send the participant list to the third interface machine.
[0130] In a possible implementation, the sending unit is further configured to return the conference participant list to the third interface machine if the conference participant list is found locally and the conference participant list is not expired.
[0131] In a possible implementation, the apparatus further includes a selection unit and a sound mixing unit:
[0132] The sending unit is further configured to send the acquired multiple audio data streams to the mixer located in the same device group through the router in the mixing engine when the media data stream includes an audio data stream, wherein the multiple audio data streams come from fourth interface machines in different device groups respectively;
[0133] The selection unit is configured to select a target audio data stream from the multiple audio data streams through a mixer;
[0134] The sending unit is used to send a selection notification to a target interface machine, where the target interface machine is an interface machine connected to a conference access terminal that generates the target audio data stream;
[0135] The receiving unit 1001 is further configured to receive, through the audio mixer, a target audio data stream sent by the target interface machine;
[0136] The audio mixing unit is configured to mix the target audio data stream;
[0137] The forwarding unit 1002 is further configured to forward the mixed audio data stream to a router corresponding to the fourth interface machine; the fourth interface machine includes the target interface machine;
[0138] The sending unit is further configured to send the mixed audio data stream to the fourth interface machine through the router corresponding to the fourth interface machine, so that the fourth interface machine forwards the mixed audio data stream to other interface machines in the device group where the fourth interface machine is located.
[0139] In a possible implementation, the apparatus further includes a processing unit:
[0140] The processing unit is configured to pull the media data stream generated in the conference room through the robot terminal and process the media data stream.
[0141] The embodiment of the present application further provides an electronic device for implementing audio and video conferencing, which may be a terminal. For example, a smartphone is used as the terminal:
[0142] FIG11 is a block diagram showing a partial structure of a smartphone related to a terminal provided in an embodiment of the present application. Referring to FIG11 , the smartphone includes components such as a radio frequency (RF) circuit 1110, a memory 1120, an input unit 1130, a display unit 1140, a sensor 1150, an audio circuit 1160, a wireless fidelity (WiFi) module 1170, a processor 1180, and a power supply 1190. The input unit 1130 may include a touch panel 1131 and other input devices 1132, the display unit 1140 may include a display panel 1141, and the audio circuit 1160 may include a speaker 1161 and a microphone 1162. Those skilled in the art will appreciate that the smartphone structure shown in FIG11 does not constitute a limitation on the smartphone, and may include more or fewer components than shown, or combine certain components, or arrange the components differently.
[0143] The memory 1120 can be used to store software programs and modules. The processor 1180 executes the various functional applications and data processing of the smartphone by running the software programs and modules stored in the memory 1120. The memory 1120 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, at least one application required for a function (such as a sound playback function, an image playback function, etc.); the data storage area may store data created based on the use of the smartphone (such as audio data, a phone book, etc.). In addition, the memory 1120 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device.
[0144] Processor 1180 is the control center of the smartphone, connecting all components of the smartphone using various interfaces and circuits. By running or executing software programs and / or modules stored in memory 1120 and accessing data stored in memory 1120, it executes various smartphone functions and processes data, thereby providing overall smartphone monitoring. Optionally, processor 1180 may include one or more processing units; preferably, processor 1180 may integrate an application processor and a modem processor, with the application processor primarily handling the operating system, user interface, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into processor 1180.
[0145] In this embodiment, the steps executed by the terminal in the aforementioned embodiment can be implemented based on the structure shown in FIG. 2 .
[0146] The electronic device may also include a server. The embodiment of the present application also provides a server. Please refer to Figure 12. Figure 12 is a structural diagram of the server 1200 provided in the embodiment of the present application. The server 1200 may have relatively large differences due to different configurations or performances. It may include one or more central processing units (CPUs) 1222 (for example, one or more processors) and a memory 1232, and one or more storage media 1230 (for example, one or more mass storage devices) storing application programs 1242 or data 1244. Among them, the memory 1232 and the storage medium 1230 can be temporary storage or permanent storage. The program stored in the storage medium 1230 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Furthermore, the central processing unit 1222 can be configured to communicate with the storage medium 1230 to execute a series of instruction operations in the storage medium 1230 on the server 1200.
[0147] The server 1200 may also include one or more power supplies 1226, one or more wired or wireless network interfaces 1250, one or more input and output interfaces 1258, and / or one or more operating systems 1241, such as Windows Server 200. TM , Mac OS X TM , Unix TM ,Linux TM , FreeBSD TM etc.
[0148] In this embodiment, the central processing unit 1222 in the server 1200 may perform the following steps:
[0149] receiving a stream pulling request from a first interface machine in the first device group, the stream pulling request including first identification information of a media data stream, the first device group being any one of a plurality of device groups, each of the plurality of device groups including a back-to-source device, each of the plurality of interface machines including a plurality of interface machines, each of the plurality of interface machines being used to connect to a conference access terminal so that the conference access terminal accesses a conference room through the interface machine; and the first interface machine being any one of the first device group;
[0150] The media data stream corresponding to the first identification information is forwarded to the first interface machine, so that the first interface machine forwards the media data stream to the corresponding conference access terminal; the media data stream is obtained by the return device in the first device group from the second interface machine in the second device group, and the conference access terminal that generates the media data stream accesses the conference room through the second interface machine, and the second device group is any device group among the multiple device groups.
[0151] According to one aspect of the present application, a computer-readable storage medium is provided, which is used to store program code. When the program code runs on an electronic device, the electronic device executes the audio and video conferencing implementation method described in the aforementioned embodiments.
[0152] According to one aspect of the present application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the methods provided in various optional implementations of the above-described embodiments.
[0153] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can, for example, be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0154] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0155] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0156] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0157] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0158] As described above, the above embodiments 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 above embodiments, ordinary technical members in this field should understand that they can still modify the technical solutions recorded in the above embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for implementing an audio and video conference, the method comprising: A back-to-source device in a first device group receives a stream pulling application from a first interface machine in the first device group, wherein the stream pulling application includes first identification information of a media data stream, wherein the first device group is any device group in a plurality of device groups, wherein each of the plurality of device groups includes a back-to-source device, and wherein each device group includes a plurality of interface machines, wherein each of the plurality of interface machines is used to connect to a conference access terminal, so that the conference access terminal can access a conference room through the interface machine; and wherein the first interface machine is any interface machine in the first device group; The return-to-source device in the first device group forwards the media data stream corresponding to the first identification information to the first interface machine, so that the first interface machine forwards the media data stream to the corresponding conference access terminal; the media data stream is obtained by the return-to-source device in the first device group from the second interface machine in the second device group, and the conference access terminal that generates the media data stream accesses the conference room through the second interface machine, and the second device group is any device group among the multiple device groups.
2. The method according to claim 1, wherein the source device in the first device group forwards the media data stream corresponding to the first identification information to the first interface machine, comprising: Searching for the corresponding media data stream of the second interface machine according to the first identification information; If the media data stream of the second interface machine is not found, forwarding the stream pulling application to the second interface machine; The media data stream forwarded by the second interface machine according to the first identification information in the stream pulling application is received, and the media data stream is forwarded to the first interface machine.
3. The method according to claim 2, further comprising: If the corresponding media data stream of the second interface machine is found, the media data stream is forwarded to the first interface machine.
4. The method according to claim 2, if the first device group and the second device group are located in different local area networks, forwarding the stream pulling application to the second interface machine comprises: Forwarding the stream pulling application to the second interface machine through a transit agent device; The receiving the media data stream forwarded by the second interface machine according to the first identification information in the stream pulling application includes: The media data stream forwarded by the second interface machine is received through the transit agent device.
5. According to the method described in any one of claims 1-4, the return-to-source device in the first device group is determined by the first interface machine according to a preset rule, and the preset rule enables the same media data stream to be routed to the interface machine in the device group through the same return-to-source device.
6. The method according to any one of claims 1 to 4, further comprising: When a third interface machine in a third device group requests to enter the conference room, the server in the third device group receives a registration request sent by the third interface machine, the third device group is any device group in the multiple device groups, and the third interface machine is any interface machine in the third device group; If the server in the third device group fails to find the information of the conference room locally, the server sends the registration request to the central server, so that the central server records the second identification information of the server in the third device group into the first conference registration list, and returns registration success information to the server in the third device group; The server in the third device group records the third identification information of the third interface machine into the second conference registration list, and returns the registration success information to the third interface machine.
7. The method according to claim 6, further comprising: If the server in the third device group finds the information of the conference room locally, the third identification information of the third interface machine is recorded in the second conference registration list, and the registration success information is returned to the third interface machine.
8. The method according to claim 6, further comprising: When a conference access terminal connected to a third interface machine in a third device group changes state, a server in the third device group receives a notification message sent by the third interface machine; The in-group server in the third device group sends the notification message to the central server, so that the central server sends the notification message to the in-group server of each device group, and the in-group server of each device group is used to send the notification message to the interface machine that has successfully registered.
9. The method according to claim 6, further comprising: When the third interface machine in the third device group requests to pull the conference participant list, the in-group server in the third device group receives the list pulling request of the third interface machine; If the server in the third device group fails to find the participant list locally, it sends a request to the central server to fetch the list; The server in the third device group receives the conference participant list sent by the central server, and sends the conference participant list to the third interface machine.
10. The method according to claim 6, further comprising: If the server in the group of the third device group finds the conference participant list locally and the conference participant list is not expired, the conference participant list is returned to the third interface machine.
11. The method according to claims 1-4, further comprising: When the media data stream includes an audio data stream, sending the acquired multiple audio data streams to the mixer located in the same device group through the router in the mixing engine, wherein the multiple audio data streams come from fourth interface machines in different device groups respectively; Selecting a target audio data stream from the multiple audio data streams through a mixer, and sending a selection notification to a target interface machine, the target interface machine being an interface machine connected to a conference access terminal generating the target audio data stream; Receiving the target audio data stream sent by the target interface machine through the audio mixer, and mixing the target audio data stream; forwarding the mixed audio data stream to a router corresponding to the fourth interface machine; the fourth interface machine includes the target interface machine; The mixed audio data stream is sent to the fourth interface machine through the router corresponding to the fourth interface machine, so that the fourth interface machine forwards the mixed audio data stream to other interface machines in the device group where the fourth interface machine is located.
12. The method according to claims 1-4, further comprising: The media data stream generated in the conference room is pulled by a robot terminal, and the media data stream is processed.
13. An audio and video conference implementation device, the device comprising a receiving unit and a forwarding unit: The receiving unit is used to receive a stream pulling application from a first interface machine in a first device group, wherein the stream pulling application includes first identification information of a media data stream, the first device group is any device group in a plurality of device groups, each of the plurality of device groups has a back-to-source device, each device group includes a plurality of interface machines, each of the plurality of interface machines is used to connect to a conference access terminal, so that the conference access terminal accesses a conference room through the interface machine; the first interface machine is any interface machine in the first device group; The forwarding unit is used to forward the media data stream corresponding to the first identification information to the first interface machine, so that the first interface machine forwards the media data stream to the corresponding conference access terminal; the media data stream is obtained by the return source device in the first device group from the second interface machine in the second device group, and the conference access terminal that generates the media data stream accesses the conference room through the second interface machine, and the second device group is any device group among the multiple device groups.
14. An audio and video conferencing system, the system comprising a data transmission network and a room management subsystem: The data transmission network is used to transmit the media data stream generated in the conference room, and the data transmission network includes a plurality of device groups, each of which includes a plurality of interface machines; Each of the multiple interface machines is used to connect to a conference access terminal, so that the conference access terminal can access the conference room through the interface machine; There is a back-to-source device in each of the multiple device groups. The back-to-source device in the first device group is used to receive a stream pulling application from a first interface machine in the first device group. The stream pulling application includes first identification information of a media data stream, and forwards the media data stream corresponding to the first identification information to the first interface machine. The media data stream is obtained by the back-to-source device in the first device group from a second interface machine in the second device group. The conference access terminal that generates the media data stream accesses the conference room through the second interface machine. The first device group and the second device group are any device groups in the multiple device groups respectively. The first interface machine is any interface machine in the first device group, and the first interface machine is used to forward the media data stream to the corresponding conference access terminal; The room management subsystem includes the multiple device groups and a central server. Each device group includes an intra-group server, and the intra-group server is used to assist the central server in managing the conference room.
15. An electronic device for implementing an audio and video conference, the electronic device comprising a processor and a memory: The memory is used to store program code and transmit the program code to the processor; The processor is configured to execute the method according to any one of claims 1 to 12 according to the instructions in the program code. 16 . A computer-readable storage medium, the computer-readable storage medium being used to store program codes, wherein when the program codes are executed on an electronic device, the electronic device executes the method according to claim 1 .
17. A computer program product, when executed, enables an electronic device to execute the method according to any one of claims 1 to 12.
