Video conference control method and system
By automatically selecting the central node according to the network topological relationship in the video conferencing system, the bandwidth and delay problems in the existing technology are solved, and the optimal center selection without manual intervention is achieved, which improves the reliability and adaptability of the system.
Patent Information
- Application Number
- CN202510434449.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-08
- Publication Date
- 2025-07-08
AI Technical Summary
In the existing video conferencing system, the central node is selected using a preset priority list, resulting in bandwidth and delay impacts, and manual intervention is required for reorganization when the network topology changes or the central node is disconnected.
The central node is selected according to the network topology relationship, and the network quality evaluation value is calculated through each conference terminal periodically multicast device information package, and the optimal central terminal is automatically selected to realize reorganization without human intervention.
It reduces the impact on bandwidth and delay, improves the reliability and anti-destruction effect of the system, saves human resources, and adapts to a wider network environment.
Smart Images

Figure CN120281868A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technologies, and in particular, to a video conference control method and system. Background Art
[0002] The conference control device in a video conference system consists of a video conference terminal and a Multipoint Control Unit (MCU). Among them, the MCU is the core device of the video conference system. It realizes the audio and video data exchange, processing, and control between multiple video conference terminals, and can also perform operations such as mixing, switching, and splitting of video streams. It can also manage and control the conference, such as creating, joining, and ending the conference.
[0003] Currently, a method of using a preset priority list is adopted to determine the priority of each terminal as the center. According to the level of priority, it is determined which terminal in a network serves as the center for a video group meeting. This control method selects the center point based on the level of priority rather than the network topology relationship, so this control method will have an impact on bandwidth and latency. Summary of the Invention
[0004] In view of this, the purpose of the present invention is to provide a video conference control method and system. The central node selected according to the network topology relationship will not affect the bandwidth and latency. When the network topology relationship changes, or the original central node drops off the line and automatic re-grouping occurs, the optimal central node can still be selected without manual intervention, thus saving manpower.
[0005] In a first aspect, an embodiment of the present invention provides a video conference control method, and the method includes:
[0006] After each conference terminal powers on, each of the conference terminals periodically multicasts a device information packet;
[0007] Calculate the network quality evaluation value corresponding to each conference terminal according to the device information packet;
[0008] Select the minimum value from the network quality evaluation values corresponding to each conference terminal, and use the conference terminal corresponding to the minimum value as the group meeting central terminal;
[0009] The group meeting central terminal modifies the device information packet to obtain a modified device information packet;
[0010] The group meeting central terminal sends the modified device information packet to the participants; where the participants are other conference terminals except the group meeting central terminal.
[0011] Further, calculating the network quality evaluation value corresponding to each of the conference terminals according to the device information packet includes repeatedly performing the following processing until each of the conference terminals is traversed:
[0012] Arbitrarily select one conference terminal from each of the conference terminals as the current conference terminal;
[0013] If the current conference terminal receives a device information packet sent by another conference terminal, store the device information packet in the device information list;
[0014] The current conference terminal sequentially sends ICMP data packets to the other conference terminals in the device information list;
[0015] Calculate the round-trip time from the current conference terminal to the other conference terminals according to the ICMP data packets;
[0016] Calculate the network quality evaluation value of the current conference terminal according to the round-trip time.
[0017] Further, calculating the network quality evaluation value of the current conference terminal according to the round-trip time includes:
[0018] Calculate the network quality evaluation value of the current conference terminal according to the following formula:
[0019]
[0020] Where V is the network quality evaluation value of the current conference terminal, T1 is the round-trip time between the current conference terminal and the first conference terminal, T2 is the round-trip time between the current conference terminal and the second conference terminal, T n-1 is the round-trip time between the current conference terminal and the (n - 1)th conference terminal, T n is the round-trip time between the current conference terminal and the nth conference terminal, and n is the number of the other conference terminals except the current conference terminal.
[0021] Further, after each of the conference terminals calculates the corresponding network quality evaluation value, a conference center election is carried out. The method further includes:
[0022] Each of the conference terminals changes the device information packet into a network quality packet, notifies the other conference terminals in the network through multicast, and simultaneously receives and counts the other network quality packets;
[0023] When a certain conference terminal calculates that its own network quality is the highest, it sends a registration address packet, requiring the other conference terminals to register with it, thereby completing the conference center election.
[0024] Further, after the selected group meeting center terminal sends the modified device information packet to the meeting participants, the method further includes:
[0025] The meeting participant sends the local audio and video encoded stream to the group meeting center terminal by unicast;
[0026] The group meeting center terminal decodes the received local audio and video encoded stream to obtain the decoded image;
[0027] The group meeting center terminal splices the decoded images to obtain the spliced image;
[0028] The group meeting center terminal displays the spliced image on the display.
[0029] Further, the method further includes:
[0030] The group meeting center terminal re-encodes the spliced image and sends it to the meeting participants;
[0031] The meeting participant displays the re-encoded image on the corresponding display.
[0032] Further, the method further includes:
[0033] After the video group meeting starts, the group meeting center terminal continues to periodically send the modified device information packet;
[0034] When a newly networked meeting terminal receives the modified device information packet, the newly networked meeting terminal registers with the group meeting center terminal;
[0035] The group meeting center terminal automatically pulls the newly networked meeting terminal into the video group meeting.
[0036] In a second aspect, an embodiment of the present invention provides a video conferencing control system, the system includes:
[0037] A multicast sending module, configured to, after each meeting terminal powers on, each of the meeting terminals periodically multicast a device information packet;
[0038] A calculation module, configured to calculate a network quality evaluation value corresponding to each meeting terminal according to the device information packet;
[0039] A selection module, configured to select the minimum value from the network quality evaluation values corresponding to each meeting terminal, and use the meeting terminal corresponding to the minimum value as the group meeting center terminal;
[0040] A modification module, configured to modify the device information packet by the group meeting center terminal to obtain a modified device information packet;
[0041] The device information packet sending module is used for the group meeting center terminal to send the modified device information packet to the participating parties; wherein, the participating parties are other meeting terminals except the group meeting center terminal.
[0042] In a third aspect, an embodiment of the present invention provides an electronic device, including a memory and a processor. A computer program that can run on the processor is stored on the memory. When the processor executes the computer program, the above-mentioned method is implemented.
[0043] In a fourth aspect, an embodiment of the present invention provides a computer-readable medium having non-volatile program code executable by a processor. The program code causes the processor to execute the above-mentioned method.
[0044] Embodiments of the present invention provide a video conference control method and system, including: after each meeting terminal powers on, each meeting terminal periodically multicasts a device information packet; calculating a network quality evaluation value corresponding to each meeting terminal according to the device information packet; selecting the minimum value from the network quality evaluation values corresponding to each meeting terminal, and taking the meeting terminal corresponding to the minimum value as the group meeting center terminal; the group meeting center terminal modifies the device information packet to obtain a modified device information packet; the group meeting center terminal sends the modified device information packet to the participating parties; wherein, the participating parties are other meeting terminals except the group meeting center terminal; the central node selected according to the network topology relationship will not affect the bandwidth and delay; when the network topology relationship changes, or the original central node drops offline, and automatic re-convening of the meeting is required, no manual intervention is needed, and the optimal central node can still be selected, thus saving manpower.
[0045] Other features and advantages of the present invention will be described in the following specification, and, in part, will be obvious from the specification, or will be understood by implementing the present invention. The objectives and other advantages of the present invention are achieved and obtained by the structures specifically pointed out in the specification, claims, and drawings.
[0046] To make the above objectives, features, and advantages of the present invention more obvious and understandable, the following specifically describes preferred embodiments in conjunction with the accompanying drawings as follows. Description of the Drawings
[0047] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. Obviously, the following drawings are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0048] Figure 1 Flow chart of the video conferencing control method provided in the first embodiment of the present invention;
[0049] Figure 2 Schematic diagram of the application scenario of the video conferencing control system provided in the first embodiment of the present invention;
[0050] Figure 3 Schematic diagram of data upload provided in the first embodiment of the present invention;
[0051] Figure 4 Schematic diagram of data download provided in the first embodiment of the present invention;
[0052] Figure 5 Data path diagram of conference terminal A as the group meeting center terminal provided in the first embodiment of the present invention;
[0053] Figure 6 Data path diagram of conference terminal C as the group meeting center terminal provided in the first embodiment of the present invention;
[0054] Figure 7 Schematic diagram of the video conferencing control system provided in the second embodiment of the present invention. Detailed implementation manners
[0055] To make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Apparently, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0056] For ease of understanding of this embodiment, the embodiments of the present invention will be described in detail below.
[0057] Embodiment 1:
[0058] Figure 1 Flow chart of the video conferencing control method provided in the first embodiment of the present invention.
[0059] Referring to Figure 1 , the method includes the following steps:
[0060] Step S101, after each conference terminal is powered on, each conference terminal periodically multicasts device information packets;
[0061] Specifically, the exploration packet of the online device adopts the device information packet. For example, the multicast address can be selected as 224.1.1.100 and the port is selected as 22020, which can be preset before networking the video conferencing system.
[0062] Before entering the video conference group meeting, the device information packet can be sent periodically at a cycle of 1 second. After entering the video conference group meeting, the device information packet stops being sent.
[0063] The device information packet includes: the name of the device (for display), ID (unique identification of identity), IP address, and the check field is the byte sum of the foregoing fields to avoid receiving conflicting data packets. For details, refer to the following program:
[0064] typedef struct device_info_node_s
[0065] {
[0066] / / Used to mark the type of the message, 1: basic information packet; 2: network quality packet; 3: registration address packet
[0067] int type;
[0068] char name
[32] ;
[0069] char id
[32] ;
[0070] char ip
[32] ;
[0071] int value; / / Network quality evaluation value, the smaller, the better
[0072] char check;
[0073] }device_info_node_t;
[0074] When the conference terminal receives the device information packet, it stores it in the device information list and records its status as online. When the number of conference terminals in the device information list reaches the preset value, the network quality evaluation starts.
[0075] Step S102, calculate the network quality evaluation value corresponding to each conference terminal according to the device information packet;
[0076] Step S103, select the minimum value from the network quality evaluation values corresponding to each conference terminal, and use the conference terminal corresponding to the minimum value as the group meeting center terminal;
[0077] Specifically, if the selected center is not itself, no operation is performed. If it is itself, the operations in Step S301 and Step S302 are carried out.
[0078] Step S104, the group meeting center terminal modifies the device information packet to obtain the modified device information packet;
[0079] Step S105, the group meeting central terminal sends the modified device information packet to the participating parties; where the participating parties are other meeting terminals except the group meeting central terminal.
[0080] Specifically, modify the type and value fields in the device information packet and continue to send it periodically. When the network quality evaluation values of all online meeting terminals are statistically completed, sort them and select the meeting terminal corresponding to the minimum value as the group meeting central terminal. To avoid meeting terminals that have not received the device information packet for 5 consecutive seconds, they can be marked as offline.
[0081] The group meeting central terminal changes the type in the device information packet to 3, and then notifies other meeting terminals of the registration address of the group meeting center.
[0082] Refer to Figure 2 , the video conferencing control system includes multiple wireless ad hoc network nodes, multiple meeting terminals, and display screens, microphones, and headphones attached to the meeting terminals.
[0083] After each meeting terminal is powered on and booted, the meeting terminal enters the preset "automatic meeting" mode. After each meeting terminal is powered on, each meeting terminal multicasts and sends the device information packet periodically; at the same time, broadcasts its own IP address, name, and other information in the network, and receives the device information packet at the same multicast address and port. Arbitrarily select one meeting terminal from each meeting terminal as the current meeting terminal.
[0084] If the current meeting terminal searches for a preset number of other meeting terminals, then the current meeting terminal sequentially sends ICMP data packets to other meeting terminals in the device information list; calculates the round-trip time from the current meeting terminal to other meeting terminals, and calculates the network quality evaluation value of the current meeting terminal based on the round-trip time.
[0085] After the current meeting terminal calculates its own network quality evaluation value, it sends the device information packet periodically and broadcasts its own network quality in the network.
[0086] After receiving the network quality evaluation values of all online meeting terminals, sort them. If its own network quality evaluation value is the highest, then send a multicast packet to require the other received terminals to confirm the selection of the group meeting center; after the group meeting center confirms, enter the normal video group meeting control.
[0087] If during the group meeting, the group meeting central terminal drops the line, then restart the network quality evaluation.
[0088] If after the video group meeting is established, there are new meeting terminals joining the network, the group meeting central terminal will automatically pull the new meeting terminals into the video group meeting.
[0089] Further, step S102 includes repeatedly performing the following processes until each conference terminal is traversed:
[0090] Step S201, arbitrarily select a conference terminal from each conference terminal as the current conference terminal;
[0091] Step S202, if the current conference terminal receives a device information packet sent by another conference terminal, store the device information packet in the device information list;
[0092] Step S203, the current conference terminal sequentially sends ICMP data packets to other conference terminals in the device information list;
[0093] Specifically, the current conference terminal sequentially sends ICMP data packets to other conference terminals in the device information list to calculate the round-trip time between the current conference terminal and other conference terminals. If a certain conference terminal does not reply to the ICMP data packet, it can be determined that the conference terminal is offline, then its round-trip time is not calculated, and its status is marked as offline.
[0094] The ICMP data packet uses the ICMP type 13 protocol (timestamp request), which is mainly used for time synchronization in the network and operations such as measuring network latency. The sender sends a timestamp request message to the target host to obtain the time information of the target host and calculate the round-trip time of the data in the network, etc.
[0095] Data format: In addition to the ICMP common 8-bit type field (value is 13), 8-bit code field (usually 0), and 16-bit checksum field, it also includes a 32-bit originating timestamp, a 32-bit received timestamp, and a 32-bit transmit timestamp. The originating timestamp is the local time of the sender when sending the request message; the received timestamp is the local time of the receiver when receiving the request message; the transmit timestamp is the local time of the receiver when sending the response message.
[0096] Working principle: The sender constructs an ICMP type 13 timestamp request message, fills in the content of each field, and encapsulates it in an IP data packet and sends it to the target host. After receiving the request, the target host will fill in the received timestamp and transmit timestamp according to its own time information and send the message back to the sender.
[0097] Step S204, calculate the round-trip time from the current conference terminal to other conference terminals according to the ICMP data packet;
[0098] Step S205, calculate the network quality evaluation value of the current conference terminal according to the round-trip time.
[0099] Further, step S205 includes:
[0100] Calculate the network quality evaluation value of the current conference terminal according to formula (1):
[0101]
[0102] Among them, V is the network quality evaluation value of the current conference terminal, T1 is the round-trip time between the current conference terminal and the first conference terminal, T2 is the round-trip time between the current conference terminal and the second conference terminal, T n-1 is the round-trip time between the current conference terminal and the (n - 1)th conference terminal, T n is the round-trip time between the current conference terminal and the nth conference terminal, and n is the number of other conference terminals except the current conference terminal.
[0103] Furthermore, after each conference terminal calculates the corresponding network quality evaluation value, a conference center election is carried out. The method further includes the following steps:
[0104] Step S301, each conference terminal changes the device information packet into a network quality packet, notifies other conference terminals in the network through multicast, and at the same time receives and counts other network quality packets;
[0105] Here, each conference terminal can calculate which video conference terminal has the highest network quality in the current network.
[0106] Step S302, when a certain conference terminal calculates that its own network quality is the highest, it sends a registration address packet, requiring other conference terminals to register with it, thus completing the conference center election.
[0107] Furthermore, after the selected conference center terminal sends the modified device information packet to the participants, the method further includes the following steps:
[0108] Step S401, the participants send the local audio-visual encoded stream to the conference center terminal through unicast;
[0109] Step S402, the conference center terminal decodes the received local audio-visual encoded stream to obtain the decoded image;
[0110] Step S403, the conference center terminal splices the decoded images to obtain the spliced image;
[0111] Step S404, the conference center terminal displays the spliced image on the monitor.
[0112] Specifically, after the video conferencing service is established, assuming that conference terminal A is selected as the conference center terminal and conference terminals B / C / D / E are selected as the participants, the local audio-visual encoded stream is sent to conference center terminal A through unicast. Refer to Figure 3, on the group meeting center terminal A, after decoding the received local audio and video bitstreams, the group meeting center terminal splices and displays them on the monitor for the user of the group meeting center terminal A to view.
[0113] Further, the method further includes the following steps:
[0114] Step S501, the group meeting center terminal performs secondary encoding on the spliced image and sends it to the participants;
[0115] Step S502, the participants display the image after secondary encoding on the corresponding monitor.
[0116] Specifically, the group meeting center terminal A performs secondary encoding on the spliced image and sends it to the conference terminals B / C / D / E. Refer to Figure 4 , what each participant views on their monitor is the secondary image of the combined screen encoding.
[0117] At the same time, the group meeting center terminal A decodes the audio of each participant, performs mixing and secondary encoding, and sends the mixing difference (eliminating the original sound, for example, the conference terminal B hears the mixing of the conference terminals A, C, D, and E, and the conference terminal C hears the conference terminals A, B, D, and E, and so on) to each conference terminal. Compared with the MCU cascade, the number of data flow paths is greatly reduced, while the data flow occupation is the same as that of the traditional MCU.
[0118] Further, the method further includes the following steps:
[0119] Step S601, after the video group meeting starts, the group meeting center terminal continues to send the modified device information packet periodically; among them, other conference terminals no longer send device information packets;
[0120] Step S602, when the newly joined conference terminal receives the modified device information packet, the newly joined conference terminal registers on the group meeting center terminal;
[0121] Step S603, the group meeting center terminal automatically pulls the newly joined conference terminal into the video group meeting.
[0122] Refer to Figure 5 and Figure 6 is a typical ad hoc star network, where the dotted lines represent data flows and the black lines represent the network connection topology. Figure 5 uses the conference terminal A as the group meeting center terminal, Figure 6That is, the conference terminal C is used as the group meeting center terminal; using the conference terminal A as the group meeting center terminal will result in limited bandwidth between networks A and C, and the latency between the conference terminal A and other conference terminals (conference terminal B, conference terminal E, conference terminal D) will become longer (one more hop, and the increase is the latency time for two round trips).
[0123] However, using the conference terminal C as the group meeting center terminal has fewer hops to other nodes and lower latency. There will also be no congestion on the link between A and C when using the conference terminal A as the group meeting center terminal. With the results of real-time network detection, such a video conferencing system will be able to adapt to a wider range of networks, rather than being only applicable to the ad hoc network of a certain manufacturer's model, and has better versatility.
[0124] The beneficial effects of this application are as follows:
[0125] (1) Compared with the traditional MCU solution, this application has no fixed center, so in some specific scenarios, it has better anti-destruction effect and improves reliability.
[0126] (2) Compared with the traditional MCU cascading solution, this application does not repeatedly send a large amount of video data, so it saves bandwidth.
[0127] (3) Compared with the group meeting solution without a fixed center that determines device priorities, this application has more advantages in ad hoc networks and other similar networks. The system automatically selects the optimal terminal as the center, which is more beneficial in terms of latency and bandwidth compared to fixed priorities.
[0128] Among them, MCU (Multipoint Control Unit): Multipoint Control Unit, which is used to realize the audio and video data exchange, processing and control between multiple video conferencing terminals, enabling multiple parties to conduct real-time video conferencing.
[0129] Ad hoc network: Ad hoc network, which is a centerless and self-organizing multi-hop wireless local area network. It is not based on any existing fixed facilities and does not have any device as the center. Wireless terminals are highly autonomous and can form a temporary network at any time, anywhere, even during movement.
[0130] Embodiment 2:
[0131] Figure 7 This is a schematic diagram of the video conferencing control system provided by the second embodiment of the present invention.
[0132] Refer to Figure 7 and this system includes:
[0133] The multicast sending module is used to multicast and send device information packets periodically by each conference terminal after each conference terminal powers on;
[0134] A calculation module, configured to calculate a network quality evaluation value corresponding to each conference terminal according to the device information packet;
[0135] A selection module, configured to select the minimum value from the network quality evaluation values corresponding to each conference terminal, and use the conference terminal corresponding to the minimum value as the group meeting center terminal;
[0136] A modification module, configured to modify the device information packet by the group meeting center terminal to obtain a modified device information packet;
[0137] A device information packet sending module, configured to send the modified device information packet to the participants by the group meeting center terminal; wherein, the participants are other conference terminals except the group meeting center terminal.
[0138] Further, the calculation module is specifically configured to repeatedly execute the following processing until each conference terminal is traversed:
[0139] Arbitrarily select a conference terminal from each conference terminal as the current conference terminal;
[0140] If the current conference terminal receives a device information packet sent by another conference terminal, store the device information packet in the device information list;
[0141] The current conference terminal sequentially sends ICMP data packets to other conference terminals in the device information list;
[0142] Calculate the round-trip time from the current conference terminal to other conference terminals according to the ICMP data packet;
[0143] Calculate the network quality evaluation value of the current conference terminal according to the round-trip time.
[0144] An embodiment of the present invention further provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the steps of the video conference control method provided in the above embodiment are implemented.
[0145] An embodiment of the present invention further provides a computer-readable medium having non-volatile program code executable by a processor. A computer program is stored on the computer-readable medium. When the computer program is run by the processor, the steps of the video conference control method in the above embodiment are executed.
[0146] The computer program product provided by the embodiment of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the method described in the foregoing method embodiment. For specific implementation, reference can be made to the method embodiment, which will not be elaborated here.
[0147] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems and devices described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0148] In addition, in the description of the embodiments of the present invention, unless otherwise clearly defined and limited, the terms "installed", "connected", and "coupled" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the communication inside two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0149] If the above functions are implemented in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing 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 methods described in the various embodiments of the present invention. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs that can store program codes.
[0150] In the description of the present invention, it should be noted that the orientation or positional relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the present invention. In addition, the terms "first", "second", and "third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0151] Finally, it should be noted that the above-described embodiments are only specific embodiments of the present invention, which are used to illustrate the technical solutions of the present invention, rather than limiting it. The protection scope of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that any person skilled in the art within the technical scope disclosed by the present invention can still modify the technical solutions recorded in the foregoing embodiments, or can easily think of changes, or make equivalent replacements for some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A video conferencing control method, characterized in that, The method comprises: After each conference terminal is powered on, each conference terminal periodically multicasts and sends a device information packet; Calculate the network quality evaluation value corresponding to each of the conference terminals according to the device information packet; Select a minimum value from the network quality evaluation values corresponding to each of the conference terminals, and use the conference terminal corresponding to the minimum value as the conference center terminal; The conference center terminal modifies the device information package to obtain a modified device information package; The conference center terminal sends the modified device information package to the conference participants; wherein the conference participants are other conference terminals except the conference center terminal.
2. The video conferencing control method according to claim 1, wherein Calculating the network quality evaluation value corresponding to each conference terminal according to the device information packet includes repeatedly performing the following process until each conference terminal is traversed: Randomly select one conference terminal from each of the conference terminals as the current conference terminal; If the current conference terminal receives a device information packet sent by other conference terminals, the device information packet is stored in the device information list; The current conference terminal sends ICMP data packets to the other conference terminals in the device information list in sequence; Calculate the loop time from the current conference terminal to the other conference terminals according to the ICMP data packet; The network quality evaluation value of the current conference terminal is calculated according to the loop time.
3. The video conference control method according to claim 2, wherein Calculating the network quality evaluation value of the current conference terminal according to the loop time includes: The network quality evaluation value of the current conference terminal is calculated according to the following formula: Wherein, V is the network quality evaluation value of the current conference terminal, T1 is the loop time between the current conference terminal and the first conference terminal, T2 is the loop time between the current conference terminal and the second conference terminal, T n-1 is the loop time between the current conference terminal and the (n-1)th conference terminal, T n is the loop time between the current conference terminal and the nth conference terminal, and n is the number of the other conference terminals except the current conference terminal.
4. The video conference control method according to claim 3, wherein, After each of the conference terminals calculates the corresponding network quality evaluation value, a conference center election is conducted, and the method further includes: Each of the conference terminals changes the device information packet into a network quality packet, notifies the other conference terminals in the network through multicast, and simultaneously receives and counts other network quality packets; When one of the conference terminals obtains the highest network quality through calculation, it sends out a registration address packet to request the other conference terminals to register with it, thereby completing the conference center election.
5. The video conference control method according to claim 1, wherein After the selected conference center terminal sends the modified device information package to the conference participants, the method further includes: The conference participant sends the local audio and video encoding stream to the conference center terminal in a unicast manner; The conference center terminal decodes the received local audio and video encoding stream to obtain a decoded image; The group meeting center terminal splices the decoded images to obtain a spliced image; The group meeting center terminal displays the spliced image on a display.
6. The video conference control method according to claim 5, wherein The method further comprises: The conference center terminal performs secondary encoding on the spliced image and sends the result to the conference participants; The conference participants display the secondary encoded image on the corresponding display.
7. The video conferencing control method according to claim 1, characterized in that The method further comprises: When the video conference starts, the conference center terminal continues to periodically send the modified device information package; When the newly connected conference terminal receives the modified device information package, the newly connected conference terminal is registered with the conference center terminal; The group meeting center terminal automatically pulls the newly networked meeting terminal into the video group meeting.
8. A video conferencing control system, characterized in that The system includes: A multicast sending module, configured to, after each meeting terminal is powered on, each of the meeting terminals periodically multicast device information packets; A calculation module, configured to calculate a network quality evaluation value corresponding to each meeting terminal according to the device information packet; A selection module, configured to select the minimum value from the network quality evaluation values corresponding to each meeting terminal, and use the meeting terminal corresponding to the minimum value as the group meeting center terminal; A modification module, configured to modify the device information packet by the group meeting center terminal to obtain a modified device information packet; A device information packet sending module, configured to send the modified device information packet to the participants by the group meeting center terminal; wherein, the participants are other meeting terminals except the group meeting center terminal.
9. An electronic device, comprising a memory and a processor, wherein a computer program capable of running on the processor is stored on the memory, and is characterized in that When the processor executes the computer program, the method described in any one of claims 1 to 7 above is implemented.
10. A computer-readable medium having non-volatile program code executable by a processor, characterized in that, The program code causes the processor to execute the method described in any one of claims 1 to 7.