Master-slave device hot switching method for video conference and related device
By employing a hot-switch method for master-slave video conferencing devices, the system automatically detects and executes switching plans, solving the problem of long recovery times for video conferencing equipment failures in existing technologies. This enables rapid and seamless device switching, improving user experience and business continuity.
Patent Information
- Application Number
- CN202510455130.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-11
- Publication Date
- 2026-01-23
AI Technical Summary
When existing video conferencing terminals fail, backup solutions require a long time to restore services, resulting in a poor user experience and a high risk of equipment interruption. Existing backup solutions do not form a complete business-level hot standby mechanism.
This paper provides a method for hot-switching master and slave devices in video conferencing. By acquiring the performance parameters of each device, it automatically determines whether the switching conditions are met and executes the switching plan to achieve rapid switching between master and slave devices, including the detection and switching of network, audio, and video modes.
It enables rapid and seamless master-slave device switching in the event of equipment failure, reducing the time spent on manual judgment, improving switching efficiency, and ensuring the continuity of video conferencing and user experience.
Smart Images

Figure CN121396751A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electronic information technology, and in particular to a method for hot-switching master and slave devices in video conferencing and related equipment. Background Technology
[0002] As a critical device connecting participants, video conferencing terminals can disrupt the entire meeting process and have serious consequences if they malfunction. Therefore, necessary backup measures are essential. Existing video conferencing terminal products all operate in a single-host mode and lack a robust business-level hot standby mechanism. Therefore, current backup solutions involve deploying two terminals in the same meeting room. When the video conferencing host fails, it requires five steps: powering on the backup host, connecting the control computer to the backup host, reconnecting the control computer to the meeting, integrating branch room devices, and transferring audio and video signals from the old host to the new host. This process takes a considerable amount of time to restore service, resulting in a poor user experience. Furthermore, microphones, speakers, and computers are all individual devices, which also pose a risk of interruption. Once a fault occurs, troubleshooting and reconnecting cables are necessary, which can also lead to a negative experience. Summary of the Invention
[0003] This invention provides a method for hot-switching master and slave devices in video conferencing and related equipment to address the deficiencies in the prior art.
[0004] This invention provides a method for hot-switching master and slave devices in video conferencing, comprising: The performance parameters of each video conferencing master device under the applicable service mode during the video conferencing process are obtained; wherein, each of the video conferencing master devices is applicable to at least one service mode, and the service mode includes network mode, audio mode and video mode; Based on the performance parameters, determine whether each of the video conferencing master devices has met the hot-switching conditions; If the conditions for hot-switching are met, a switching plan for the video conferencing master device is determined. According to the switching plan, the video conferencing master device that meets the hot-switching conditions is hot-switched so that the corresponding video conferencing slave device can perform the tasks of the video conferencing master device.
[0005] According to a method for hot-switching master and slave devices in a video conferencing system provided by the present invention, if the video conferencing master device is a first conference host or a first conference control computer, and the applicable service mode of the first conference host or the first conference control computer includes network mode, audio mode, and video mode, the step of determining whether each of the video conferencing master devices meets the hot-switching conditions based on the performance parameters includes: Based on the performance parameters, network detection, audio detection, and video detection are performed on the first conference host or the first conference control computer, respectively. If any one of the detection results corresponding to the network detection, the audio detection, and the video detection indicates a fault in the first conference host or the first conference control computer, it is determined that the first conference host or the first conference control computer has reached the hot-switching condition.
[0006] According to a method for hot-switching master and slave devices in a video conferencing system provided by the present invention, before obtaining the performance parameters of each master device in the video conferencing process under the applicable service mode, the method further includes: Assign an IP address to both the video conferencing master device and the video conferencing slave device; The video conferencing master device and the video conferencing slave device respectively enter the video conference based on their respective IP addresses.
[0007] According to a method for hot-switching master and slave devices in a video conferencing system provided by the present invention, if the service mode applicable to the video conferencing master device is a network mode, the step of determining whether each of the video conferencing master devices meets the hot-switching conditions based on the performance parameters includes: Based on the performance parameters, the video conferencing master device is subjected to port status detection, port packet loss rate detection, device resource detection, and device alarm detection. Based on the detection results of port status detection, port packet loss rate detection, device resource detection, and device alarm detection, it is determined whether the video conferencing master device has met the hot-switching conditions.
[0008] According to a method for hot-switching master and slave devices in a video conferencing system provided by the present invention, if the service mode applicable to the master video conferencing device is video mode, the step of determining whether each master video conferencing device meets the hot-switching conditions based on the performance parameters includes: Based on the performance parameters, the video conferencing main device is subjected to video frame rate detection and video bit rate detection; Based on the detection results of the video frame rate detection and video bit rate detection, it is determined whether the video conferencing master device has met the hot-switching conditions.
[0009] According to a video conferencing master-slave device hot-switching method provided by the present invention, if the service mode applicable to the video conferencing master device is audio mode, the step of determining whether each of the video conferencing master devices meets the hot-switching conditions based on the performance parameters includes: Based on the performance parameters, the signal-to-noise ratio of the video conferencing main device is tested; Based on the signal-to-noise ratio detection results, determine whether the video conferencing master device has met the hot-switching conditions.
[0010] According to the present invention, a method for hot-switching master and slave devices in a video conferencing system further includes: Record the metrics data during normal video conferences, and perform statistical analysis on the various metrics data based on the Bayesian classifier learning algorithm to obtain the switching threshold.
[0011] The present invention also provides a master-slave device hot-switching system for video conferencing, comprising: The routing and switching module is used to connect to the switch of the MCU server; The video matrix module is used to obtain the performance parameters of the video conferencing master device applicable to video formats; The audio matrix module is used to obtain the performance parameters of the video conferencing master device with applicable audio formats; The interface module provides multiple sets of network interfaces, audio interfaces, and video interfaces for the video conferencing master device and video conferencing slave device to connect to. The control center is used to obtain the performance parameters of the video conferencing master device for the applicable network configuration and to execute the master-slave hot-switching method for video conferencing as described above.
[0012] The present invention also provides a master-slave device hot-switching apparatus for video conferencing, comprising: The acquisition module is configured to acquire performance parameters of each video conferencing master device under the applicable service mode during the video conferencing process; wherein, each of the video conferencing master devices is applicable to at least one service mode, and the service mode includes network mode, audio mode and video mode; The first determining module is configured to determine, based on the performance parameters, whether each of the video conferencing master devices has met the hot-switching conditions; The second determining module is configured to determine the switching plan of the video conferencing master device that meets the hot switching conditions if the conditions are met. The hot-switching module is configured to perform a hot-switching of the video conferencing master device that meets the hot-switching conditions according to the switching plan, so that the corresponding video conferencing slave device can perform the tasks of the video conferencing master device.
[0013] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the master-slave device hot-switching method for video conferencing as described above.
[0014] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the master-slave device hot-switching method for video conferencing as described above.
[0015] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the master-slave device hot-switching method for video conferencing as described above.
[0016] This invention provides a method and related equipment for hot-switching master and slave devices in video conferencing. It acquires performance parameters of each master video conferencing device under the applicable service mode during the video conferencing process. Each master video conferencing device applies to at least one service mode, including network mode, audio mode, and video mode. Based on the performance parameters, it determines whether each master video conferencing device meets the hot-switching conditions. If the conditions are met, it determines a switching plan for the master video conferencing device that meets the hot-switching conditions. According to the switching plan, it performs a hot-switching of the master video conferencing device that meets the hot-switching conditions, so that the corresponding slave video conferencing device can perform the tasks of the master video conferencing device. This invention automatically determines whether each master video conferencing device meets the hot-switching conditions and, through the switching plan, can execute quickly, reducing the time-consuming manual judgment, improving switching efficiency, and minimizing the impact on the actual business during the switching process, ensuring the smooth operation of the video conferencing. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0018] Figure 1 This is a flowchart illustrating the master-slave device hot-switching method for video conferencing provided by the present invention.
[0019] Figure 2 This is a schematic diagram of the master-slave device hot-switching system for video conferencing provided by the present invention.
[0020] Figure 3 This is a schematic diagram of the master-slave hot-switching device for video conferencing provided by the present invention.
[0021] Figure 4 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0022] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0023] Figure 1 This is a flowchart illustrating a master-slave device hot-switching method for video conferencing according to an exemplary embodiment. Figure 1 As shown in an exemplary embodiment, the master-slave device hot-switching method for video conferencing includes steps 110 to 140, which are described in detail below.
[0024] Step 110: Obtain the performance parameters of each video conferencing master device under the applicable service mode during the video conferencing process; wherein, each of the video conferencing master devices is applicable to at least one service mode, and the service mode includes network mode, audio mode and video mode.
[0025] In this embodiment of the invention, the hot-switching of master and slave devices in video conferencing can be implemented based on a master-slave device hot-switching system for video conferencing, such as... Figure 2 As shown, the master-slave hot-switching system for video conferencing includes a control center, a routing and switching module, a video matrix module, and an audio matrix module. It provides multiple sets of network interfaces, audio interfaces, and video interfaces for redundant backup connections with various video conferencing devices, and the video matrix module, audio matrix module, and control center collect performance parameters.
[0026] To ensure the smooth operation of video conferencing, the video conferencing equipment has corresponding backups. The equipment includes a conference host, a conference control computer, a projection computer, a conference camera, speakers, a microphone, and a display screen, etc. Figure 2 As shown, there are two sets of video conferencing equipment: one set serves as the master device, and the other as the slave device. Figure 2 The main display screen, conference host (master), conference control computer (master), and projection computer (master) serve as the main video conferencing devices, while the auxiliary display screen, conference host (slave), conference control computer (slave), and projection computer (slave) serve as the slave video conferencing devices. Different video conferencing main devices are suitable for different service models. For example, the conference host, conference control computer, and projection computer can use network, audio, and video service models, while speakers and microphones are suitable for audio service models, and displays are suitable for video service models. Each service model has corresponding performance parameters.
[0027] Step 120: Based on the performance parameters, determine whether each of the video conferencing master devices has met the hot-switching conditions.
[0028] In this embodiment of the invention, based on performance parameters, it is determined whether each video conferencing master device has reached the hot-switching condition under the corresponding business mode, that is, whether it is necessary to switch between master and slave devices to ensure the continuous operation of the video conference.
[0029] Step 130: If the condition is met, determine the switching plan for the video conferencing master device that meets the hot-switching conditions.
[0030] In this embodiment of the invention, since different video conferencing devices have different service models, different switching plans need to be executed. Therefore, after determining that a certain video conferencing master device has reached the hot switching condition, a switching plan for the video conferencing master device that has reached the hot switching condition is determined.
[0031] Step 140: According to the switching plan, perform a hot switch on the video conferencing master device that meets the hot switch conditions, so that the corresponding video conferencing slave device can perform the tasks of the video conferencing master device.
[0032] In this embodiment of the invention, according to the determined switching plan, the video conferencing master device that meets the hot switching conditions is hot-switched, that is, the corresponding video conferencing slave device replaces the video conferencing master device to perform tasks, so as to ensure the smooth progress of the video conference.
[0033] In an exemplary embodiment of the present invention, if the video conferencing master device is a first conference host or a first conference control computer, and the applicable service mode of the first conference host or the first conference control computer includes network mode, audio mode, and video mode, the step of determining whether each of the video conferencing master devices has reached the hot switching condition based on the performance parameters includes: Based on the performance parameters, network detection, audio detection, and video detection are performed on the first conference host or the first conference control computer, respectively. If any one of the detection results corresponding to the network detection, the audio detection, and the video detection indicates a fault in the first conference host or the first conference control computer, it is determined that the first conference host or the first conference control computer has reached the hot-switching condition.
[0034] In this embodiment of the invention, when the main video conferencing devices are a first conference host (i.e., the conference host (main)), a first conference control computer (i.e., the conference control computer (main)), and a screen-sharing computer (main), the applicable service modes include network mode, audio mode, and video mode. Therefore, in fault diagnosis, the same video conferencing main device may have multiple judgment and switching logics. Therefore, network detection, audio detection, and video detection are performed on the first conference host, the first conference control computer, and the screen-sharing computer (main), and the hot switching conditions are determined based on the corresponding detection results. The conference host, conference control computer, and screen-sharing computer involve network interfaces, audio input / output interfaces, and video input / output interfaces. Furthermore, since the conference host, conference control computer, and screen-sharing computer are a single unit, a failure in any one port requires a complete system switchover, rather than hot standby between ports.
[0035] In an exemplary embodiment of the present invention, before obtaining the performance parameters of each video conferencing master device under the applicable service mode during the video conferencing process, the method further includes: Assign an IP address to both the video conferencing master device and the video conferencing slave device; The video conferencing master device and the video conferencing slave device respectively enter the video conference based on their respective IP addresses.
[0036] In this embodiment of the invention, before the video conference begins, two different IP addresses are assigned to the video conference master device and the video conference slave device. Specifically, two different IP addresses are assigned to the first conference host and the second conference host (i.e., conference host (slave)), and two IP addresses are assigned to the first conference control computer and the second conference control computer (i.e., conference control computer (slave)). The video conference master device and the video conference slave device join the conference simultaneously. The first conference host acts as the brain of the entire video conference connection, becoming the main venue for the entire video conference. Other hosts, as "participants" in the sub-venues, join the video conference. The main venue is defined as the "chairman" in the conference control software, possessing control authority over the entire conference. The corresponding switchover plan is that if the "chairman" fails, the conference control software must quickly transfer the "chairman" authority to the second conference host. Therefore, when a failure is detected in the first conference host, the conference control software on the conference control computer must immediately transfer the "chairman" authority upon receiving the switchover signal, and simultaneously disable the port of the first conference host. After repair, the original first conference host becomes the new video conference slave device and monitoring resumes. The primary and secondary conference hosts remain online throughout the entire process, with the primary host only being deactivated in the event of a failure. Similarly, the primary and secondary conference control computers are simultaneously online and logged into the same conference control software, with a corresponding switchover plan in place to automatically transfer "chairperson" privileges to the secondary computer in the event of a failure of the primary control computer.
[0037] In this embodiment of the invention, hot switching is mainly accomplished by three key actions: "monitoring, judgment, and handling". The monitoring action mainly involves monitoring key parameters, performance indicators, and other performance parameters to obtain relevant parameters and alarm information. The judgment action is a process of taking appropriate handling measures based on the obtained parameters and alarm types. The handling action is the execution of observation or switching actions based on the judgment results. This mainly describes the execution principle.
[0038] In an exemplary embodiment of the present invention, if the service mode applicable to the video conferencing master device is a network mode, the step of determining whether each of the video conferencing master devices has met the hot-switching conditions based on the performance parameters includes: Based on the performance parameters, the video conferencing master device is subjected to port status detection, port packet loss rate detection, device resource detection, and device alarm detection. Based on the detection results of port status detection, port packet loss rate detection, device resource detection, and device alarm detection, it is determined whether the video conferencing master device has met the hot-switching conditions.
[0039] In this embodiment of the invention, network status detection is mainly divided into four types: port status detection (connection / disconnection monitoring), port packet loss rate detection (threshold monitoring), device resource detection (threshold monitoring), and device alarm detection (alarm monitoring).
[0040] During the preparation phase, the master-slave port correspondence needs to be clearly defined and configured. Figure 2 For example, the master-slave port correspondence is shown in Table 1 below. Table 1 is only one example. In practice, the number of ports can be increased according to the service level to achieve multiple types and quantities of redundancy.
[0041] Table 1
[0042] For port status detection, the control center monitors the status of all network ports from W-3 to W-6 via SNMP network management protocol or GMAC PING. If the status of the master ports W-3, W-5, etc., changes from UP to DOWN or there are 4 lost MAC ping packets, and the corresponding switchover plan is to automatically switch the service to the corresponding slave port and generate a master port anomaly alarm, the on-duty personnel will promptly investigate. After the investigation is completed, the original video conferencing master device becomes the new "slave device". If the status of the slave ports W-2, W-4, W-6, etc., changes from UP to DOWN, an alarm message is triggered, and the on-duty personnel will investigate and handle the fault, but no automatic switchover will be performed.
[0043] For port packet loss rate detection, the inbound and outbound traffic of the main port is monitored in real time, and the packet loss rate is calculated by combining the policy-based packet loss traffic and the detection period. Packet loss rate = (Inbound traffic - Outbound traffic - Policy-based packet loss traffic) / Detection period. The calculated packet loss rate is then compared with a preset packet loss rate threshold. If the packet loss rate exceeds the threshold, the port traffic is considered abnormal, and a master-slave port switch is initiated; otherwise, the traffic is considered normal, and no switch is performed.
[0044] For device resource monitoring, relying on the SNMP protocol, the CPU and memory utilization of the video conferencing master device are monitored periodically, and the utilization rate is compared with a preset utilization rate threshold. When the actual utilization rate exceeds the threshold, it is determined that the video conferencing master device is under high load and there is an abnormal risk. A master-slave port switch is then initiated, and the abnormal status of the video conferencing master device is investigated. In practice, the following settings are typically used: 70% of the utilization rate under abnormal conditions is set as the alarm threshold. When the actual utilization rate reaches the alarm threshold, only an alarm is triggered, notifying the conference support personnel to monitor the situation in real time. 85% of the utilization rate under abnormal conditions is set as the utilization rate threshold. When the actual utilization rate reaches the threshold, a port switch is triggered.
[0045] For device alarm detection, relying on the SNMP protocol, the alarm information reported by the video conferencing master device is distinguished and classified. When an alarm that will directly affect the operation of the business is obtained, the device will automatically switch. When a prompt alarm that does not directly affect the operation of the business is obtained, the alarm will be triggered but the device will not automatically switch.
[0046] In an exemplary embodiment of the present invention, if the service mode applicable to the video conferencing master device is video mode, the step of determining whether each of the video conferencing master devices has met the hot-switching conditions based on the performance parameters includes: Based on the performance parameters, the video conferencing main device is subjected to video frame rate detection and video bit rate detection; Based on the detection results of the video frame rate detection and video bit rate detection, it is determined whether the video conferencing master device has met the hot-switching conditions.
[0047] In this embodiment of the invention, the relevant detection of video services is divided into two categories: video frame rate (FPS) detection (threshold monitoring) and video bit rate detection.
[0048] For video frame rate detection, the video matrix module is used to monitor the video frame rate of the main RF conferencing device in real time. If the video frame rate is detected to be lower than the preset frame rate threshold, an alarm will be automatically triggered or the device will be automatically switched.
[0049] For video bitrate detection, the video matrix module is used to monitor the video bitrate of the main video conferencing device in real time. If the video frame rate is detected to be lower than the preset bitrate threshold, an alarm will be automatically triggered or the device will be automatically switched.
[0050] In an exemplary embodiment of the present invention, if the service mode applicable to the video conferencing master device is audio mode, the step of determining whether each of the video conferencing master devices has met the hot-switching conditions based on the performance parameters includes: Based on the performance parameters, the signal-to-noise ratio of the video conferencing main device is tested; Based on the signal-to-noise ratio detection results, determine whether the video conferencing master device has met the hot-switching conditions.
[0051] In this embodiment of the invention, the relevant detection for audio services mainly involves signal-to-noise ratio (SNR) detection (threshold monitoring). SNR detection relies on the audio matrix module to monitor the SNR (S / N) in real time. When the SNR changes abruptly or is lost, a platform pop-up alarm is automatically triggered. If no action is taken within 3 seconds, automatic switching occurs.
[0052] In this embodiment of the invention, the switching plan for devices other than the conference host, conference control computer, and screen projection computer is as follows: the slave devices among the other devices remain enabled but do not output when the conference starts, and only switch to the slave port to output when a switching command is received.
[0053] In this embodiment of the invention, since different devices may simultaneously possess two or more service modes, such as a conference host simultaneously possessing three service modes: network, video image, and audio, there may be multiple judgment switching logics for the same device in fault diagnosis. Furthermore, corresponding judgments are made based on different monitored information.
[0054] Based on connectivity monitoring, the main method is to monitor port status. Depending on the device being monitored, it can be divided into two categories: SNMP monitoring and GMAC PING (GeneralMAC Ping) packet monitoring. It is mainly applicable to monitoring devices with network ports. Once the switching requirements are met, the switching action must be performed immediately. See Table 2 below for details.
[0055] Table 2
[0056] The judgment based on alarm monitoring mainly relies on the device's own status alarm information for processing. It is mainly applicable to the host's own monitoring. The alarm types and processing methods are as follows. Among them, alarms such as high CPU and memory usage are mainly observed, while switching is mainly judged by threshold values, as shown in Table 3 below.
[0057] Table 3
[0058] In an exemplary embodiment of the present invention, the method further includes: Record the metrics data during normal video conferences, and perform statistical analysis on the various metrics data based on the Bayesian classifier learning algorithm to obtain the switching threshold.
[0059] In this embodiment of the invention, since the invention is mainly aimed at ensuring the success of important meetings, in order to further improve the accuracy of threshold switching, machine learning algorithms are used to record, analyze and study the key indicator data (meeting duration, meeting elements) under different scenarios, thereby making the control more precise. The main methods are shown in Table 4 below: Table 4
[0060] During the threshold monitoring-based judgment process, various indicator data are retained during the meeting. Maintenance personnel need to manually record moments with poor quality, categorized into poor audio and poor video quality. Simultaneously, the system records the time points of automatic switching events and alarm events.
[0061] Based on the Bayesian classifier learning algorithm, statistical analysis is performed on various indicator data within normal time periods, with a statistical period of 5 seconds per group. The analysis dimensions are week, month, and year, and the indicator data within normal time periods is recorded as S. Simultaneously, statistical analysis (average) is performed on various indicator data within abnormal time periods (divided into 5 seconds before and after the marker), and the data for this period is recorded as T. The key indicators are denoted as F1, F2, ..., Fn.
[0062] Calculate the probabilities P(S|F1, F2, ..., Fn) and P(T|F1, F2, ..., Fn) respectively, and find the maximum value. As the sample size accumulates, the probability of P(T|F1, F2, ..., Fn) will eventually approach 95%. At this point, the relevant key indicator range can be used as the switching threshold for subsequent adjustments and centralized control. Simultaneously, some non-critical indicators can be eliminated, further improving the scientific rigor and accuracy of the threshold switching. The switching thresholds are the aforementioned packet loss rate threshold, occupancy rate threshold, frame rate threshold, and bit rate threshold, etc.
[0063] This invention incorporates network port monitoring and switching schemes, designing a master-slave dual-line network interface. It monitors network signal quality through port status monitoring (connectivity monitoring) and port packet loss rate monitoring (threshold monitoring), enabling master-slave switching. Device load status monitoring is also considered, tracking the load of critical components such as CPU and memory, making monitoring more scientific and comprehensive. Furthermore, device alarm information monitoring, including temperature alarms, is also included, further enhancing the scientific and comprehensive nature of the monitoring. Finally, a switching contingency plan based on a Bayesian classifier learning algorithm and non-parametric scenarios is incorporated, making threshold settings more scientific and reasonable, better suited to actual business scenarios, and improving the scientific nature of switching.
[0064] Figure 2 This is a schematic diagram illustrating a master-slave device hot-switching system for video conferencing according to an exemplary embodiment. For example... Figure 2 As shown in an exemplary embodiment, the master-slave hot-switching system for video conferencing includes: The routing and switching module is used to connect to the switch of the MCU server; The video matrix module is used to obtain the performance parameters of the video conferencing master device applicable to video formats; The audio matrix module is used to obtain the performance parameters of the video conferencing master device with applicable audio formats; The interface module provides multiple sets of network interfaces, audio interfaces, and video interfaces for the video conferencing master device and video conferencing slave device to connect to. The control center is used to obtain the performance parameters of the video conferencing master device for the applicable network configuration and to execute the master-slave hot-switching method for video conferencing as described above.
[0065] In this embodiment of the invention, the master-slave hot-switching system for video conferencing includes a control center, a routing and switching module, a video matrix module, and an audio matrix module. It provides multiple sets of network interfaces, audio interfaces, and video interfaces for redundant backup connections with various video conferencing devices. The video matrix module collects performance parameters corresponding to the video format, the audio matrix module collects performance parameters corresponding to the audio format, and the control center collects performance parameters corresponding to the network format. Simultaneously, the control center executes the master-slave hot-switching method for video conferencing, i.e., based on changes in key parameters such as port traffic, device alarm information, video frame rate, video bit rate, and audio field strength signal-to-noise ratio, it closes or enables each port, thereby performing real-time switching between master and slave devices to achieve continuous conference operation.
[0066] During the conference, various parameters are monitored and compared with threshold values. Based on the comparison results, the following three operations are performed: Operation mode 1: If the threshold value is not exceeded, no operation is taken and the conference continues until the end; Operation mode 2: If the alarm threshold value is exceeded but the switching threshold value is not exceeded, an alarm is triggered and the on-duty personnel are notified to conduct close observation. In this case, no switching is performed; Operation mode 3: If the switching threshold value is exceeded, the system automatically switches to the slave device.
[0067] The master-slave hot-switching system for video conferencing uses a dedicated carrier line for the network connection between the MCU (Multipoint Control Unit) server and two ports in the routing and switching module initiate an Eth-Trunk link aggregation protocol with the two switch ports in front of the MCU server. This binds two independent physical interfaces together as a single high-bandwidth logical interface, sharing the load and handling data forwarding simultaneously, effectively improving link reliability. Even if one link fails, the other can continue operating, maintaining stable service operation.
[0068] This invention provides a system for integrating switching, avoiding the problems of excessive number of devices and messy wiring in existing solutions with redundant multi-device connections. It also adds a connection between MCU servers, improving the overall completeness of the solution.
[0069] In this embodiment of the invention, the technical solution provided by this invention ensures that the entire switching process generates only a second-level interruption, which has no impact on the actual business and will not be noticed by the participants, thus ensuring a good user experience. All operations are pre-set in the hot-switching system, eliminating the need for meeting support personnel to perform various physical connection operations and software operations, greatly reducing the skill requirements for personnel. At the same time, all switching plans are pre-set in the hot-switching system, which can be executed quickly, reducing the time spent on manual judgment and improving switching efficiency.
[0070] The following describes the master-slave hot-switching device for video conferencing provided by the present invention. The master-slave hot-switching device described below corresponds to the master-slave hot-switching method described above. It should be noted that the device provided in the following embodiments belongs to the same concept as the method provided in the above embodiments, and the specific manner in which each module and unit performs its operation has been described in detail in the method embodiments, and will not be repeated here.
[0071] In one exemplary embodiment of the present invention, please refer to Figure 3 , Figure 3 This is an exemplary embodiment of a video conferencing master-slave device hot-switching device, which includes the following modules.
[0072] The acquisition module 310 is configured to acquire performance parameters of each video conferencing master device under the applicable service mode during the video conferencing process; wherein, each of the video conferencing master devices is applicable to at least one service mode, and the service mode includes network mode, audio mode and video mode; The first determining module 320 is configured to determine, based on the performance parameters, whether each of the video conferencing master devices has met the hot-switching conditions; The second determining module 330 is configured to determine the switching plan of the video conferencing master device that meets the hot switching conditions if the conditions are met. The hot-switching module 340 is configured to perform a hot-switching of the video conferencing master device that meets the hot-switching conditions according to the switching plan, so that the corresponding video conferencing slave device can perform the tasks of the video conferencing master device.
[0073] In an exemplary embodiment of the present invention, if the video conferencing host device is a first conferencing host or a first conferencing control computer, and the applicable service mode of the first conferencing host or the first conferencing control computer includes network mode, audio mode and video mode, the first determining module 320 includes: The first detection submodule is configured to perform network detection, audio detection, and video detection on the first conference host or the first conference control computer according to the performance parameters. The first determining submodule is configured to determine that the first conference host or the first conference control computer has reached the hot-switching condition if any one of the detection results corresponding to the network detection, the audio detection, and the video detection indicates that the first conference host or the first conference control computer is faulty.
[0074] In an exemplary embodiment of the present invention, the master-slave device hot-switching device for video conferencing further includes: The allocation module is configured to assign an IP address to both the video conferencing master device and the video conferencing slave device. The module is configured so that the video conferencing master device and the video conferencing slave device can enter the video conference based on their respective IP addresses.
[0075] In an exemplary embodiment of the present invention, the first determining module 320 includes: The second detection submodule is configured to perform port status detection, port packet loss rate detection, device resource detection, and device alarm detection on the video conferencing master device based on the performance parameters. The second determining submodule is configured to determine whether the video conferencing master device has met the hot-switching conditions based on the detection results of port status detection, port packet loss rate detection, device resource detection, and device alarm detection.
[0076] In an exemplary embodiment of the present invention, the first determining module 320 includes: The third detection submodule is configured to perform video frame rate detection and video bit rate detection on the video conferencing master device based on the performance parameters. The third determining submodule is configured to determine whether the video conferencing master device has met the hot-switching conditions based on the detection results of the video frame rate detection and video bit rate detection.
[0077] In an exemplary embodiment of the present invention, the first determining module 320 includes: The fourth detection submodule is configured to perform signal-to-noise ratio detection on the video conferencing master device based on the performance parameters. The fourth determination submodule is configured to determine whether the video conferencing master device has reached the hot-switching condition based on the detection result of the signal-to-noise ratio detection.
[0078] In an exemplary embodiment of the present invention, the master-slave device hot-switching device for video conferencing further includes: The recording module is configured to record indicator data during normal video conferencing and to perform statistical analysis on various indicator data based on a Bayesian classifier learning algorithm to obtain the switching threshold.
[0079] Figure 4 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 4 As shown, the electronic device may include: a processor 410, a communications interface 420, a memory 430, and a communication bus 440, wherein the processor 410, the communications interface 420, and the memory 430 communicate with each other through the communication bus 440. The processor 410 can call logical instructions in the memory 430 to execute a master-slave device hot-switching method for video conferencing. This method includes: obtaining performance parameters of each video conferencing master device under the applicable service mode during the video conferencing process; wherein each of the video conferencing master devices is applicable to at least one service mode, the service mode including network mode, audio mode, and video mode; Based on the performance parameters, determine whether each of the video conferencing master devices has met the hot-switching conditions; If the conditions for hot-switching are met, a switching plan for the video conferencing master device is determined. According to the switching plan, the video conferencing master device that meets the hot-switching conditions is hot-switched so that the corresponding video conferencing slave device can perform the tasks of the video conferencing master device.
[0080] Furthermore, the logical instructions in the aforementioned memory 430 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the 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 to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0081] On the other hand, the present invention also provides a computer program product, the computer program product including a computer program, the computer program being able to be stored on a non-transitory computer-readable storage medium, the computer program being executed by a processor, the computer being able to execute the master-slave device hot-switching method for video conferencing provided by the above methods, the method including: obtaining performance parameters of each video conferencing master device under the applicable service mode during the video conferencing process; wherein, each of the video conferencing master devices is applicable to at least one service mode, the service mode including network mode, audio mode and video mode; Based on the performance parameters, determine whether each of the video conferencing master devices has met the hot-switching conditions; If the conditions for hot-switching are met, a switching plan for the video conferencing master device is determined. According to the switching plan, the video conferencing master device that meets the hot-switching conditions is hot-switched so that the corresponding video conferencing slave device can perform the tasks of the video conferencing master device.
[0082] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When executed by a processor, the computer program implements a master-slave device hot-switching method for video conferencing provided by the methods described above. The method includes: acquiring performance parameters of each video conferencing master device under the applicable service mode during the video conferencing process; wherein each of the video conferencing master devices is applicable to at least one service mode, the service mode including network mode, audio mode and video mode. Based on the performance parameters, determine whether each of the video conferencing master devices has met the hot-switching conditions; If the conditions for hot-switching are met, a switching plan for the video conferencing master device is determined. According to the switching plan, the video conferencing master device that meets the hot-switching conditions is hot-switched so that the corresponding video conferencing slave device can perform the tasks of the video conferencing master device.
[0083] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. 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 the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0084] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0085] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions 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 invention.
Claims
1. A method for hot-switching master and slave devices in video conferencing, characterized in that, include: The performance parameters of each video conferencing master device under the applicable service mode during the video conferencing process are obtained; wherein, each of the video conferencing master devices is applicable to at least one service mode, and the service mode includes network mode, audio mode and video mode; Based on the performance parameters, determine whether each of the video conferencing master devices has met the hot-switching conditions; If the conditions for hot-switching are met, determine the switching plan for the video conferencing master device that meets the hot-switching conditions. According to the switching plan, the video conferencing master device that meets the hot-switching conditions is hot-switched so that the corresponding video conferencing slave device can perform the tasks of the video conferencing master device.
2. The master-slave device hot-switching method for video conferencing according to claim 1, characterized in that, If the video conferencing master device is a first conference host or a first conference control computer, and the applicable service mode of the first conference host or the first conference control computer includes network mode, audio mode, and video mode, the step of determining whether each of the video conferencing master devices meets the hot-switching conditions based on the performance parameters includes: Based on the performance parameters, network detection, audio detection, and video detection are performed on the first conference host or the first conference control computer, respectively. If any one of the detection results corresponding to the network detection, the audio detection, and the video detection indicates a fault in the first conference host or the first conference control computer, it is determined that the first conference host or the first conference control computer has reached the hot-switching condition.
3. The master-slave device hot-switching method for video conferencing according to claim 2, characterized in that, Before obtaining the performance parameters of each video conferencing master device under the applicable service mode during the video conferencing process, the method further includes: Assign an IP address to both the video conferencing master device and the video conferencing slave device; The video conferencing master device and the video conferencing slave device respectively enter the video conference based on their respective IP addresses.
4. The master-slave device hot-switching method for video conferencing according to claim 1, characterized in that, If the service type applicable to the video conferencing master device is network type, determining whether each of the video conferencing master devices meets the hot-switching conditions based on the performance parameters includes: Based on the performance parameters, the video conferencing master device is subjected to port status detection, port packet loss rate detection, device resource detection, and device alarm detection. Based on the detection results of port status detection, port packet loss rate detection, device resource detection, and device alarm detection, it is determined whether the video conferencing master device has met the hot-switching conditions.
5. The master-slave device hot-switching method for video conferencing according to claim 1, characterized in that, If the service type applicable to the video conferencing master device is video, determining whether each of the video conferencing master devices meets the hot-switching conditions based on the performance parameters includes: Based on the performance parameters, the video conferencing main device is subjected to video frame rate detection and video bit rate detection; Based on the detection results of the video frame rate detection and video bit rate detection, it is determined whether the video conferencing master device has met the hot-switching conditions.
6. The master-slave device hot-switching method for video conferencing according to claim 1, characterized in that, If the service type applicable to the video conferencing master device is audio, the step of determining whether each of the video conferencing master devices meets the hot-switching conditions based on the performance parameters includes: Based on the performance parameters, the signal-to-noise ratio of the video conferencing main device is tested; Based on the signal-to-noise ratio detection results, determine whether the video conferencing master device has met the hot-switching conditions.
7. The method for hot-switching master and slave devices in a video conferencing system according to any one of claims 1 to 6, characterized in that, The method further includes: Record the metrics data during normal video conferences, and perform statistical analysis on the various metrics data based on the Bayesian classifier learning algorithm to obtain the switching threshold.
8. A master-slave device hot-switching system for video conferencing, characterized in that, include: The routing and switching module is used to connect to the switch of the MCU server; The video matrix module is used to obtain the performance parameters of the video conferencing master device applicable to video formats; The audio matrix module is used to obtain the performance parameters of the video conferencing master device with applicable audio formats; The interface module provides multiple sets of network interfaces, audio interfaces, and video interfaces for the video conferencing master device and video conferencing slave device to connect to. A control center is used to acquire the performance parameters of the video conferencing master device in the applicable network configuration and to execute the master-slave device hot-switching method for video conferencing as described in any one of claims 1 to 7.
9. A hot-switching device for master-slave devices in video conferencing, characterized in that, include: The acquisition module is configured to acquire performance parameters of each video conferencing master device under the applicable service mode during the video conferencing process; wherein, each of the video conferencing master devices is applicable to at least one service mode, and the service mode includes network mode, audio mode and video mode; The first determining module is configured to determine, based on the performance parameters, whether each of the video conferencing master devices has met the hot-switching conditions; The second determining module is configured to determine the switching plan of the video conferencing master device that meets the hot switching conditions if the conditions are met. The hot-switching module is configured to perform a hot-switching of the video conferencing master device that meets the hot-switching conditions according to the switching plan, so that the corresponding video conferencing slave device can perform the tasks of the video conferencing master device.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the master-slave device hot-switching method for video conferencing as described in any one of claims 1 to 7.
11. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the master-slave device hot-switching method for video conferencing as described in any one of claims 1 to 7.
12. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the master-slave device hot-switching method for video conferencing as described in any one of claims 1 to 7.