Method and system for video conference quality monitoring based on port mirroring

By employing switch port mirroring and progressive degradation decoding strategies, the problem of the inability to perform full content-level quality assessment of video conferencing in existing technologies is solved. This enables concurrent monitoring and content-level quality assessment of video conferencing, adapting to large-scale meeting scenarios and meeting confidentiality requirements.

CN123185345APending Publication Date: 2026-11-27SHANGHAI CHUANGSHITONG SOFTWARE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611360605.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-03
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing video conferencing quality monitoring methods struggle to concurrently monitor the media streams of all participating terminals in an ongoing meeting and perform content-level quality assessments without touching the meeting terminal and MCU, calling the meeting system's business/management interfaces, or affecting the normal conduct of the meeting. In particular, they cannot detect content-level faults when network layer indicators are normal.

Method used

The system acquires conference media traffic by mirroring the switch ports, identifies and reassembles the video conference media stream, calculates content-level quality indicators without reference, decodes it using a progressively degraded hierarchical scheduling strategy, and generates a quality monitoring report by combining frame extraction or keyframe priority strategies.

Benefits of technology

It enables concurrent monitoring of media streams from all participating terminals in an ongoing video conference, detects content-level faults under normal network layer metrics, provides quality assessment results that reflect the real user experience, adapts to large-scale conference scenarios, and meets confidentiality requirements in classified scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123185345A_ABST
    Figure CN123185345A_ABST
Patent Text Reader

Abstract

The application provides a kind of video conference quality monitoring method and system based on port mirror, it is related to video conference technical field.The method comprises: obtaining the original data packet mirrored to monitoring port by switch, wherein the switch mirrors the traffic of source port, including MCU connection port and multiple participant terminal connection port, to monitoring port;Based on RTP / RTCP protocol feature, identify multiple concurrent video conference media streams, and recombine them according to SSRC identifier;According to the progressive degradation scheduling strategy of full decoding, packet decoding and in-group polling decoding, the recombined media stream is decoded, and the no-reference content level quality index is calculated;Generate quality monitoring report.Under the premise of not contacting conference terminal and MCU, and not calling conference system interface, the application realizes concurrent content level quality monitoring of all participant terminal media streams in the meeting, and can find content level degradation that cannot be found by non-decoding scheme such as screen flower, black screen and frozen frame.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of video conferencing technology, specifically to a video conferencing quality monitoring method and system based on switch port mirroring, which is particularly suitable for video conferencing systems based on the H.323 / SIP standard protocol; for scenarios involving encrypted media stream transmission, the monitoring can be downgraded to network layer indicators. Background Technology

[0002] Video conferencing systems are widely used in government and enterprise private networks, remote consultations, and other scenarios. The audio and video quality during a meeting directly affects the communication effect; therefore, real-time monitoring of video conferencing quality is of great value. Currently, video conferencing quality monitoring mainly adopts the following technical approaches.

[0003] One approach is to deploy an SDK on the participating terminals, allowing the terminals to collect and report audio and video quality data. This method requires modification of the terminal equipment, is highly invasive, and typically only supports proprietary or specific vendor terminals, failing to cover third-party standard protocol terminals.

[0004] Another approach is to implement media stream bypass copying and delivery to the quality monitoring system within the Multipoint Control Unit (MCU). This method requires internal interface support from the MCU manufacturer, is limited by the specific MCU manufacturer's architecture, is complex to deploy, and requires deep integration.

[0005] Another approach is to use the standard H.323 / SIP protocol as a virtual terminal to join the conference and acquire media streams for analysis. This method consumes MCU conference resources and can only poll and access a single conference room, making it impossible to monitor multiple conference rooms simultaneously.

[0006] Chinese patent application CN104378630A discloses a video conferencing audio and video quality analysis system that uses port mirroring to capture audio and video streams and then performs quality assessment after decoding. However, analysis reveals that this solution is a pre-meeting monitoring solution: it requires calling the meeting management interface to create an independent test meeting and polling each meeting as the main meeting, making it impossible to monitor the entire ongoing real meeting; it only captures the one-way downlink stream sent from the MCU to the monitoring terminal, without showing the original uplink stream from the terminal, resulting in incomplete monitoring dimensions; and it relies on the management interface of the video conferencing system to create the test meeting, making it not completely independent of the meeting system.

[0007] Chinese patent application CN202110586608.X (A video conferencing communication quality monitoring method and system) discloses a solution similar to the above-mentioned product concept: a mirror port is configured on the network port connected to the video conferencing MCU on the switch to collect H.323 / SIP signaling and RTP media data in real time, and the video resolution, bandwidth, frame rate, number of packet loss, video loss, audio loss and other indicators are parsed to obtain the indicators. The quality problem type is inferred by the indicator threshold, such as inferring video screen distortion or mosaic by the number of packet loss exceeding the threshold; the decoding is only used to display the bitstream on the screen and does not participate in the quality judgment. However, the quality assessment of this type of solution is based on threshold inference of network layer and bitstream layer indicators, which can only reflect the quality of network transmission and cannot assess the quality of the picture and sound itself: content-level degradation such as screen tearing, black screen, frozen frames, blurry picture, audio howling, and no sound can still occur when the network layer indicators are completely normal; and the indicator inference method cannot distinguish between network causes and content causes of quality problems. For example, faults such as black screen, blue screen, camera misalignment, and audio howling under conditions of no packet loss cannot be detected by this type of solution in principle, and therefore cannot provide content-level quality assessment results that reflect the real user experience.

[0008] Therefore, existing meeting quality monitoring methods are insufficient to simultaneously achieve the three objectives of "no contact with meeting terminals and MCUs, full monitoring during the meeting, and in-depth content-level evaluation." Summary of the Invention

[0009] The purpose of this application is to provide a video conferencing quality monitoring method and system based on port mirroring, so as to perform concurrent monitoring of the media streams of all participating terminals in an ongoing meeting without contacting the meeting terminal and MCU, without calling the meeting system's business / management interfaces, and without affecting the normal progress of the meeting, and to achieve content-level quality assessment through decoding.

[0010] According to a first aspect of the embodiments of this application, a video conferencing quality monitoring method based on port mirroring is provided. The method includes: acquiring raw data packets mirrored from a switch to a monitoring port; wherein the switch mirrors traffic from a source port, including a multipoint control unit (MCU) connection port and multiple participant terminal connection ports, to the monitoring port; identifying multiple concurrent video conferencing media streams from the raw data packets based on RTP / RTCP protocol characteristics, and reassembling the video conferencing media streams according to SSRC identifiers; decoding the reassembled video conferencing media streams and calculating a no-reference content-level quality index; and generating a quality monitoring report based on the no-reference content-level quality index.

[0011] In some embodiments, the method further includes: continuously calculating network layer metrics for the reassembled media stream, the network layer metrics including at least one of packet loss rate, out-of-order rate, jitter, bit rate, and round-trip delay estimation based on RTCP packets; the quality monitoring report is also generated based on the network layer metrics.

[0012] In some embodiments, the decoding adopts a progressive and degraded hierarchical scheduling strategy: when the number of concurrent media streams is within the range of the number of decoding streams that the currently available decoding resources can support simultaneously, all concurrent media streams are continuously decoded; when the number of concurrent media streams exceeds the number of decoding streams that the currently available decoding resources can support simultaneously, all media streams are divided into several groups, and decoding resources are scheduled on a group-by-group basis, with each group obtaining a decoding time slot in turn or according to priority; when the number of media streams in a group exceeds the number of streams that the group can decode simultaneously within its decoding time slot, each media stream in the group is decoded in turn according to time slices.

[0013] In some embodiments, the groups are divided according to conference, venue or priority; the group containing the high-priority conference continuously occupies decoding resources, or gets priority in obtaining decoding time slots in each scheduling cycle; the decoding process combines frame extraction or keyframe priority strategies.

[0014] In some embodiments, the no-reference content-level quality metrics include at least one of the following: video quality metrics, including mosaic, blur, black screen, blue screen, distorted screen, frozen frame, stuttering, and effective frame rate; audio quality metrics, including silence, echo, noise, and feedback.

[0015] In some embodiments, the method further includes: pre-storing a reference frame when the camera is normally framing the shot, comparing the current decoded frame with the reference frame, calculating the image offset, and generating a camera offset alarm when the offset exceeds a threshold.

[0016] In some embodiments, the mirroring is bidirectional traffic mirroring, that is, the uplink and downlink traffic of the MCU connection port and the participating terminal connection port are mirrored to the monitoring port.

[0017] In some embodiments, the method further includes: when the media stream is determined to be an encrypted stream, not decoding it, but downgrading it to network layer indicator monitoring based on plaintext RTP header fields; the determination criteria for the encrypted stream include at least one of the following: the presence of SRTP key negotiation information in the signaling; the information entropy of the RTP payload is greater than a preset threshold and fails to be parsed according to a known encoding format; the presence of SRTP authentication tags or MKI field features in the RTP payload.

[0018] In some embodiments, the decoding is performed in memory on the fly, without persistent storage of the original bitstream of the media stream and the continuously decoded content; when a content-level degradation event is detected based on the no-reference content-level quality index, the corresponding problem frame is only re-encoded as an image and saved, and the occurrence time, venue, and event type are marked.

[0019] In some embodiments, identifying multiple concurrent video conferencing media streams includes: initial screening using a configurable port range; analyzing the Payload Type field, where the static assignment range is 0~95 and the dynamic assignment range is 96~127; extracting the mapping between Payload Type and encoding format from the signaling negotiation message when the signaling stream is transmitted in plaintext; and performing heuristic identification based on payload characteristics when the signaling cannot be obtained; distinguishing different media streams using the SSRC identifier; and associating multiple media streams from the same terminal through the CNAME field of the RTCP message.

[0020] According to a second aspect of the embodiments of this application, a video conferencing quality monitoring system based on port mirroring is provided. The system includes a processor, a memory, and a network interface. The memory stores a computer program, which, when executed by the processor, implements the following modules: a quality monitoring probe module, used to acquire and cache raw data packets mirrored from a switch to a monitoring port through the network interface; wherein the switch mirrors traffic from a source port, including an MCU connection port and multiple participant terminal connection ports, to the monitoring port; a media stream identification and reassembly module, used to identify multiple concurrent video conferencing media streams from the raw data packets based on RTP / RTCP protocol characteristics, and reassemble the video conferencing media streams according to SSRC identifiers; a quality analysis module, used to decode the reassembled video conferencing media streams and calculate a no-reference content-level quality index; and a report generation module, used to generate a quality monitoring report based on the no-reference content-level quality index.

[0021] In some embodiments, the quality monitoring probe module is deployed on a probe server, and the media stream identification and reconstruction module, the quality analysis module, and the report generation module are deployed on an analysis server. The probe server and the analysis server are deployed separately or co-located on the same server.

[0022] In some embodiments, the quality analysis module performs decoding according to a progressively degraded hierarchical scheduling strategy: when the number of concurrent media streams is within the range that the currently available decoding resources can support simultaneously, all concurrent media streams are continuously decoded; when the number exceeds the range that the currently available decoding resources can support simultaneously, all media streams are divided into several groups and decoding resources are scheduled in groups; when the number of streams in a group exceeds the number of streams that the group can decode simultaneously during its decoding period, each media stream in the group is decoded in a time-slice rotation.

[0023] The video conferencing quality monitoring method and system based on port mirroring provided in this application passively acquires conference media traffic through switch port mirroring. It allows for concurrent monitoring of media streams from all participating terminals in an ongoing conference without modifying the conference terminal or MCU, or calling the conference system interface. By decoding the mirrored media stream and calculating content-level quality indicators without reference, it can detect content-level degradation such as screen tearing, black screen, frozen frames, and howling, which are theoretically undetectable by non-decoding solutions, providing a quality assessment result reflecting the real user experience. Compared to solutions that infer quality problem types based on network layer indicator thresholds, this application measures content-level quality based on the decoded media stream, enabling the detection of content-level faults even when network layer indicators are completely normal, and distinguishing between network-related and content-related causes of quality problems. Through a progressive degradation scheduling strategy of full decoding, group decoding, and intra-group polling decoding, it adapts to different concurrency scales, supporting content-level evaluation for each stream in large-scale conference scenarios. The media stream is calculated and discarded immediately without continuous storage; conference content cannot be fully replayed; and abnormal events are stored as problem frame images, balancing confidentiality requirements and alarm verifiability in sensitive scenarios.

[0024] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit the invention. Attached Figure Description

[0025] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention. It is obvious that the drawings described below are merely some embodiments of the invention, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.

[0026] Figure 1 A schematic diagram illustrating the architecture of a video conferencing quality monitoring system according to some embodiments of this application is provided.

[0027] Figure 2 A network deployment topology diagram according to some embodiments of this application is illustrated schematically.

[0028] Figure 3 A schematic diagram illustrating a port mirroring configuration according to some embodiments of this application is shown.

[0029] Figure 4 A schematic diagram illustrating a media stream identification and reassembly flowchart according to some embodiments of this application is provided.

[0030] Figure 5 A flowchart illustrating a quality analysis process according to some embodiments of this application is shown.

[0031] In the accompanying drawings, the same or corresponding reference numerals indicate the same or corresponding parts.

[0032] Figure labeling: 101-Participating terminal; 102-Multi-point control unit (MCU); 103-Switch; 104-Probe server; 105-Analysis server.

[0033] Figures 1 to 5 The functional modules, connection ports, and method steps shown are not individually labeled in the attached drawings. Detailed Implementation

[0034] The technical solutions of this application will be further described below with reference to the accompanying drawings and embodiments. It should be understood that the following embodiments are used to illustrate the technical solutions of this application and are not intended to limit the scope of protection of this application. The same or corresponding technical features in different embodiments can be combined with each other. Where there is no conflict, the various embodiments of this application and the technical features within those embodiments can be combined with each other. The same or corresponding reference numerals in the drawings represent the same or corresponding structures.

[0035] The functional modules shown in the attached diagram can be implemented by software, hardware, or a combination of both, or by one or more processors, memory, network interfaces, and corresponding program instructions. Figure 1 This diagram illustrates the overall architecture of a video conferencing quality monitoring system. Figure 2 The schematic diagram illustrates the network deployment topology of the system. Figure 3 This illustration shows the configuration relationship of switch port mirroring. Figure 4 This schematically illustrates the processing flow of media stream identification and reconstruction. Figure 5 The schematic diagram illustrates the process flow for quality analysis.

[0036] Port mirroring, as referred to in this application, means the function of a network switch to copy data packets received and / or sent by one or more source ports to a designated monitoring port, also known as SPAN (Switched Port Analyzer). The mirroring process is completed by the switch at the forwarding layer, without changing the content or transmission path of the mirrored traffic, and has no impact on conferencing services.

[0037] The referenceless content-level quality metrics referred to in this application are quality metrics calculated directly on the decoded image or audio without providing the original undistorted media signal as a reference. Examples include mosaic (blocking effect), blurriness, black screen, blue screen, screen tearing, frozen frames, stuttering, effective frame rate, silence, echo, noise, and howling. Since the original uncoded signal from the transmitting end cannot be obtained in the passive monitoring scenario of port mirroring, the quality assessment in this application primarily uses referenceless metrics.

[0038] like Figure 1As shown, in one embodiment, the video conferencing quality monitoring system includes a port mirroring configuration module deployed on the switch 103 side, a quality monitoring probe module deployed on the probe server 104, and a media stream identification and reconstruction module, a quality analysis module, and a report generation module deployed on the analysis server 105. The port mirroring configuration module is used to configure mirroring sessions on switch 103, mirroring traffic from the source port, including the MCU connection port and multiple participant terminal connection ports, to the monitoring port. It should be noted that the port mirroring configuration module is an optional configuration module used during deployment and maintenance. It can also be implemented by the switch's own management functions or external configuration tools. In one implementation, the video conferencing quality monitoring system itself does not include the port mirroring configuration module, but only acquires the original data packets mirrored by the switch. The quality monitoring probe module is used to receive and cache the mirrored original data packets at the monitoring port. The media stream identification and reassembly module is used to identify RTP / RTCP media streams and perform multi-stream concurrent reassembly according to SSRC. The quality analysis module includes a network indicator calculation unit and a decoding analysis unit. The decoding analysis unit is used to decode the media streams according to a progressive degradation hierarchical scheduling strategy and calculate reference-free content-level quality indicators. The report generation module is used to generate quality monitoring reports and trigger real-time alarms when indicators exceed limits.

[0039] like Figure 2 As shown, in one network deployment implementation, multiple participating terminals 101 and multipoint control unit (MCU) 102 are respectively connected to switch 103. Switch 103 configures the terminal connection ports corresponding to each participating terminal 101 and the MCU connection port corresponding to the multipoint control unit (MCU) 102 as mirror source ports, and configures the port connecting to probe server 104 as a monitoring port. Probe server 104 connects to the monitoring port of switch 103 and runs a packet capture program (such as libpcap) to receive and buffer raw data packets. Analysis server 105 performs media stream identification and reconstruction, quality analysis, and report generation. Probe server 104 and analysis server 105 can be deployed separately or combined on the same server to adapt to different computing power and networking conditions.

[0040] like Figure 3As shown, in one port mirroring configuration implementation, traffic from the source ports, including the MCU connection port and all terminal connection ports, is mirrored to the monitoring port. Taking a Cisco switch as an example, the configuration commands are as follows: monitor session 1; source interface GigabitEthernet1 / 0 / 1 both (MCU port, bidirectional mirroring); source interface GigabitEthernet1 / 0 / 2-24 both (terminal ports, bidirectional mirroring); destination interface GigabitEthernet1 / 0 / 25 (monitoring port). Configuration parameters include the source port list, destination port, and mirroring direction. The mirroring direction is preferably bidirectional, meaning that both the uplink and downlink traffic from the MCU connection port and each participating terminal connection port are mirrored to the monitoring port. This allows observation of both the original uplink transmission quality of the terminals and the actual effect of the MCU's downlink forwarding. Alternatively, only the uplink or only the downlink direction can be mirrored according to monitoring requirements.

[0041] like Figure 4 As shown, in one implementation of media stream identification and reassembly, after the probe server 104 receives and buffers the original data packets of the mirrored stream at the monitoring port, it identifies the video conferencing media stream based on the RTP / RTCP protocol features defined in RFC 3550: First, it performs an initial screening using a configurable range of commonly used UDP ports for video conferencing. Since H.323 / SIP media ports are dynamically negotiated and the range may be wide, port detection is only used as an auxiliary condition and must be combined with subsequent features for joint judgment to avoid misidentification; then, it analyzes the payload. The Type field and PT values ​​include static assignments (0~95, e.g., PT for G.711 audio is 0 / 8) and dynamic assignments from session negotiation (96~127). When the signaling stream (SIP / H.323) is transmitted in plaintext and passes through a mirror port, the mapping between PT and encoding format is extracted from the SDP / H.245 negotiation message. If signaling cannot be obtained, heuristic identification is performed based on characteristics such as payload length distribution and frame period. Subsequently, different media streams are distinguished by the SSRC identifier, and an independent stream buffer is maintained for each SSRC. RTCP messages (PT=200~207) are identified, and multiple media streams from the same terminal are associated through the CNAME field to extract transmit and receive statistics. The stream reassembly process is as follows: allocate stream buffers according to SSRC; sort and correct out-of-order packets according to RTP sequence number; detect sequence number jumps, mark packet loss locations and packet loss counts; organize media frames according to timestamps and output stream segments.

[0042] like Figure 5As shown, in one implementation of quality analysis, the quality analysis includes two parts: network layer metric calculation and decoding content-level metric calculation. Network layer metrics are continuously calculated for the entire stream, including: packet loss rate and out-of-order rate based on RTP sequence number statistics; jitter based on the variance of RTP packet arrival intervals; bitrate of media payload per unit time, which can be combined with bandwidth thresholds to determine bandwidth exceeding limits; and round-trip time (RTT)—passive monitoring points have no clock synchronization with the transceiver, so one-way delay is not calculated. RTT is estimated through RTCP SR / RR messages, and remote packet loss and jitter statistics reported by the terminal in RTCP RR are extracted.

[0043] The content-level metrics calculation adopts a progressively degraded hierarchical scheduling strategy, which degrades step by step according to the concurrency scale and computing power conditions: (1) Full decoding: When the number of concurrent streams is within the decoding capacity, all concurrent media streams are continuously decoded, and each stream receives a continuous content-level quality assessment; (2) Group decoding: When the number of concurrent streams exceeds the decoding capacity, all media streams are divided into several groups. The grouping strategy can be configured according to the conference, venue, or priority. Decoding resources are scheduled by group, and each group receives decoding time slots in turn or according to priority; (3) In-group polling decoding: When the number of streams in a group still exceeds the decoding time slot capacity of a single group, each stream in the group is decoded in turn according to time slices. Each stream receives a fixed duration of decoding and content-level assessment within a rotation cycle, ensuring periodic coverage of all streams in the group. The rotation cycle is configurable; the group where the high-priority conference is located can continuously occupy decoding resources or receive a priority decoding time slot in each scheduling cycle. During the decoding process, frame extraction or keyframe priority strategies can be combined to reduce the computing power consumption of a single stream; the system supports multi-core / GPU parallel decoding, and when decoding resources are scarce, decoding resources are allocated according to meeting priority to ensure content-level monitoring coverage of high-priority meetings.

[0044] It should be noted that the aforementioned progressive degradation scheduling is an implementation of adaptive scheduling based on available decoding resources: when concurrent decoding demand exceeds the current available decoding resources, the decoding coverage strategy of each media stream is dynamically adjusted so that each media stream can obtain decoding service within a set time window; those skilled in the art should understand that when decoding resources are always sufficient, the progressive degradation scheduling strategy manifests as continuous full decoding of all media streams, that is, full decoding is the execution result of the scheduling strategy under the condition of sufficient resources.

[0045] It should be noted that in passive mirroring scenarios, the monitoring system usually starts receiving media streams during the conference and may not be able to immediately obtain the parameter set (SPS / PPS) and keyframes (I-frames / IDR frames) required for decoding. This application provides the following solutions, which can be used individually or in combination: (1) Waiting for natural keyframes: Most conference terminals send keyframes according to the group of pictures (GOP) cycle, and keyframe refresh is usually triggered at the start of the conference, when a new participant joins, or when the screen layout changes. The monitoring system can obtain the complete decoding start point by waiting for this moment. This method is completely passive and does not interact with any conference equipment; (2) Standard protocol request acceleration: Send standard RTCP feedback messages to the media stream sender, such as full frame request (FIR) or image loss indication (PLI), to trigger its encoder to generate keyframes immediately; This method is based on the RFC standard protocol mechanism, and terminals that follow the standard protocol should respond, without relying on the private interface of a specific manufacturer; (3) Optional interface method: When the monitoring system and the conference system have the conditions for cooperative deployment, keyframes can also be requested through the interface provided by the conference system or terminal manufacturer as an optional alternative method. After obtaining the parameter set and keyframes, the media stream enters the normal decoding and content-level evaluation process. Of the above methods, method (1) can independently support the implementation of the technical solution of this application, while methods (2) and (3) are used to shorten the waiting time from the start of monitoring to obtaining the first content-level evaluation result. All of the above keyframe acquisition methods are optional implementations; even without sending request messages to any conferencing equipment, this application can still be implemented independently by waiting for natural keyframes.

[0046] During decoding and analysis, the media stream is decoded according to the identified encoding format (H.264 / H.265, G.711 / AAC / Opus, etc.). No reference quality metrics are calculated for the decoded images and audio. Content-level quality metrics employ a scalable metric library design; the types of metrics can be added or removed as technology evolves, and the detection algorithms for each metric can be replaced independently without affecting the overall system architecture. Currently implemented metrics include, but are not limited to: video (mosaic / blocking effects), blurriness, black screen, blue screen, screen tearing, frozen frames, stuttering, effective frame rate, quantization parameter (QP) distribution, and resolution statistics; and audio (silence, echo, noise, howling, and packet loss concealment (PLC) traces). The implementation of each indicator is not limited; only examples are provided to illustrate feasibility: frozen frames can be determined by the pixel difference of consecutive frames being lower than a threshold and continuously exceeding a time threshold; mosaic can be determined by gradient anomaly detection at the boundary of the coded block; black screen can be determined by the mean and variance of video frame brightness being lower than the corresponding threshold; stuttering can be determined by the output interval of consecutive decoded frames exceeding the frame period threshold; echo can be determined by the short-time autocorrelation characteristics of audio or the periodic repetition pattern in the frequency domain; noise can be determined by the noise floor level of silent segments being higher than a threshold or the signal-to-noise ratio being lower than a threshold; howling can be determined by the continuous existence of narrowband energy spikes in the frequency domain and the amplitude increasing over time. The above-mentioned indicators without reference are all mature algorithm types in the field of image and speech quality assessment, and those skilled in the art can implement them based on publicly available literature. The specific algorithm selection does not affect the implementation of the technical solution of this application.

[0047] It should be noted that in passive monitoring scenarios involving port mirroring, the original unencoded signal from the transmitting end cannot be obtained. Therefore, the quality assessment in this application primarily uses no-reference indicators. For scenarios requiring comparison with a baseline image, such as camera offset, reference indicators are used as supplementary measures: a baseline frame is pre-stored when the camera is in normal shooting mode. The current decoded frame is compared with the baseline frame to calculate the image offset. When the offset exceeds a threshold, a camera offset alarm is generated. The baseline frame can be acquired from the meeting room camera during system initialization or extracted from decoded frames of historical normal meetings. During comparison, the offset can be calculated using methods such as feature point matching, edge matching, frame difference analysis, or global motion vector estimation. The offset includes at least one of translation, rotation angle, or scaling ratio. The threshold can be configured according to the meeting room type. It is important to distinguish that this detection targets changes in the camera position itself (such as the camera being touched, turned, or zoomed), and the output is a translation, rotation angle, or scaling ratio representing the change in camera position, which triggers an alarm accordingly. This differs from the method of detecting changes in the meeting room environment content through background modeling and triggering the reconstruction of the evaluation baseline when the background changes, in terms of detection object, judgment mechanism, and output results.

[0048] In a plaintext / encrypted dual-mode implementation, the system determines whether the media stream is encrypted during the stream identification stage, based on one of the following criteria: SRTP key negotiation information appears in the signaling (applicable to scenarios where the signaling stream is visible, such as the crypto attribute of SDP or DTLS handshake messages); the information entropy of the RTP payload is greater than a preset threshold (exhibiting random distribution characteristics) and fails to be parsed according to a known encoding format (distinguished from encoding format mismatch: the latter payload has identifiable encoding structure characteristics); the payload contains SRTP authentication tag / MKI field characteristics. The information entropy can be calculated by statistically analyzing the payload byte value distribution over a fixed-length window, for example, by jointly statistically analyzing the payloads of several consecutive RTP data packets; the preset threshold can be set based on the historical entropy distribution of the plaintext encoded stream, ensuring that the entropy value of the plaintext encoded stream is below the threshold and the entropy value of the encrypted stream is above the threshold; parsing failure refers to the inability to obtain a valid bitstream structure when the payload is decoded or parsed according to an identified or known encoding format. If the stream is determined to be plaintext, it proceeds to the normal decoding and analysis process. If it is determined to be an SRTP encrypted stream, it automatically downgrades to network layer metric monitoring—SRTP only encrypts the payload; the SSRC, sequence number, and timestamp in the RTP header remain in plaintext. Packet loss, out-of-order delivery, jitter, and bitrate metrics are unaffected, and the encrypted stream is marked as "network layer monitoring" mode in the report. If both the signaling stream and the media stream are encrypted and cannot be decrypted, the system only outputs network layer metrics and does not perform content-level decoding evaluation.

[0049] In one data security implementation, the system adopts a hierarchical retention strategy to balance the confidentiality requirements of classified scenarios with the needs of operation and maintenance review: (1) Media stream is calculated and discarded immediately: Decoding analysis is completed in memory in real time, without saving any original media bitstream and continuous decoding content, and the meeting content cannot be fully replayed; (2) Abnormal event evidence retention: When a content-level degradation event (such as mosaic, black screen, blue screen, frozen frame, etc.) is detected, the problem frame is re-encoded into an image and saved, and the occurrence time, meeting venue and event type are marked as alarm evidence for operation and maintenance personnel to review and verify. Access to event images can be included in the system permission control; (3) Indicator and log retention: Quality indicator values, alarm events and signaling data can be retained for a long time for fault tracing and trend analysis. This design meets the requirements of "quality can be monitored, content is not retained and alarms can be verified" in classified meeting scenarios.

[0050] In one report generation implementation, a monitoring report is generated based on quality indicators at all levels. The report includes quality scores for each venue (network layer scores and content-level scores are listed separately), problem alerts, and historical trends. It supports real-time alert pop-ups and periodic statistical reports, and provides a visual display of quality trends.

[0051] It should be noted that the descriptions of specific switch models, port numbers, encoding formats, quality detection algorithms, thresholds, and the number of servers in the above embodiments are used to illustrate the implementation of this application and are not intended to limit this application. Those skilled in the art can make corresponding adjustments based on the actual media protocol, network environment, and quality monitoring requirements of the conferencing system. As long as the processing relationship of passively acquiring the conferencing media stream through port mirroring, decoding, and calculating the no-reference content-level quality indicators is still adopted, one or more of the technical means in the above embodiments can be used.

Claims

1. A method for monitoring video conferencing quality based on port mirroring, characterized in that, The method includes: Obtain the raw data packets mirrored from the switch to the monitoring port; wherein, the switch mirrors the traffic of the source port, including the multi-point control unit (MCU) connection port and multiple participant terminal connection ports, to the monitoring port; Based on the characteristics of the RTP / RTCP protocol, multiple concurrent video conferencing media streams are identified from the original data packets, and the video conferencing media streams are reassembled according to the SSRC identifier; Decode the reconstructed video conferencing media stream and calculate content-level quality metrics without reference. A quality monitoring report is generated based on the aforementioned no-reference content-level quality indicators.

2. The method according to claim 1, characterized in that, The method further includes: continuously calculating network layer metrics for the reassembled media stream, the network layer metrics including at least one of packet loss rate, out-of-order rate, jitter, bit rate, and round-trip delay estimation based on RTCP packets; the quality monitoring report is also generated based on the network layer metrics.

3. The method according to claim 1, characterized in that, The decoding adopts a progressive and degraded hierarchical scheduling strategy: when the number of concurrent media streams is within the range of the number of decoding streams that the currently available decoding resources can support at the same time, all concurrent media streams are continuously decoded; When the number of concurrent media streams exceeds the number of decoding streams that the currently available decoding resources can support simultaneously, all media streams are divided into several groups, and decoding resources are scheduled on a group-by-group basis. Each group obtains a decoding time slot in turn or in order of priority. When the number of media streams in a group exceeds the number of streams that the group can decode simultaneously in its decoding time slot, the media streams in the group are decoded in turn in time slices.

4. The method according to claim 3, characterized in that, The groups are divided according to meeting, venue, or priority; the group containing high-priority meetings continuously occupies decoding resources, or gets priority in decoding time in each scheduling cycle; the decoding process combines frame extraction or keyframe priority strategies.

5. The method according to claim 1, characterized in that, The no-reference content-level quality metrics include at least one of the following: video quality metrics, including mosaic, blur, black screen, blue screen, distorted screen, frozen frame, stuttering, and effective frame rate; audio quality metrics, including silence, echo, noise, and howling.

6. The method according to claim 1, characterized in that, The method further includes: pre-storing a reference frame when the camera is normally framing the shot, comparing the current decoded frame with the reference frame, calculating the image offset, and generating a camera offset alarm when the offset exceeds a threshold.

7. The method according to claim 1, characterized in that, The mirroring is a bidirectional traffic mirroring, meaning that the uplink and downlink traffic of the MCU connection port and the participating terminal connection port are both mirrored to the monitoring port.

8. The method according to claim 1, characterized in that, The method further includes: when the media stream is determined to be an encrypted stream, it is not decoded, but downgraded to network layer indicator monitoring based on plaintext RTP header fields; the determination criteria for the encrypted stream include at least one of the following: SRTP key negotiation information appears in the signaling; the information entropy of the RTP payload is greater than a preset threshold and fails to be parsed according to a known encoding format; the RTP payload contains SRTP authentication tags or MKI field features.

9. The method according to claim 1, characterized in that, The decoding is completed in memory in real time, without persistent storage of the original bitstream of the media stream and the continuously decoded content; when a content-level degradation event is detected based on the no-reference content-level quality index, the corresponding problem frame is only re-encoded as an image and saved, and the occurrence time, venue and event type are marked.

10. The method according to claim 1, characterized in that, The identification of multiple concurrent video conferencing media streams includes: initial screening using a configurable port range; analysis of the Payload Type field to distinguish between static and dynamic assignments; extraction of the mapping between Payload Type and encoding format from the signaling negotiation message when the signaling stream is transmitted in plaintext; heuristic identification based on payload characteristics when signaling cannot be obtained; differentiation of different media streams using the SSRC identifier; and association of multiple media streams from the same terminal through the CNAME field of the RTCP message.

11. A video conferencing quality monitoring system based on port mirroring, characterized in that, The system includes a processor, a memory, and a network interface. The memory stores a computer program, which, when executed by the processor, implements the following modules: The quality monitoring probe module is used to acquire and cache the raw data packets mirrored from the switch to the monitoring port through the network interface; wherein, the switch mirrors the traffic of the source port, including the MCU connection port and multiple participating terminal connection ports, to the monitoring port; The media stream identification and reassembly module is used to identify multiple concurrent video conferencing media streams from the original data packets based on RTP / RTCP protocol characteristics, and reassemble the video conferencing media streams according to the SSRC identifier; The quality analysis module is used to decode the reconstructed video conferencing media stream and calculate content-free quality metrics. The report generation module is used to generate a quality monitoring report based on the aforementioned no-reference content-level quality indicators.

12. The system according to claim 11, characterized in that, The quality monitoring probe module is deployed on the probe server, and the media stream identification and reconstruction module, quality analysis module and report generation module are deployed on the analysis server. The probe server and the analysis server are deployed separately or co-located on the same server.

13. The system according to claim 11, characterized in that, The quality analysis module decodes according to a progressive and degraded hierarchical scheduling strategy: when the number of concurrent media streams is within the range that the currently available decoding resources can support at the same time, all concurrent media streams are continuously decoded; when the number exceeds the range that the currently available decoding resources can support at the same time, all media streams are divided into several groups and decoding resources are scheduled in units of groups. When the number of streams in a group exceeds the number of streams that the group can decode simultaneously during its decoding period, the media streams in the group are decoded in turn according to time slices.

Citation Information

Patent Citations

  • Audio / video quality analysis system of videoconferencing television

    CN104378630A

  • Video conference communication quality monitoring method and system

    CN115412723A