Multichannel transmission method for streaming media based on multicast and quic protocol

By employing a dual-channel transmission method combining multicast and QUIC protocols, along with FEC packet loss mitigation technology, the problems of high server bandwidth overhead and weak packet loss mitigation capability in high-definition streaming media distribution are solved, achieving an efficient and reliable streaming media playback experience.

CN117041226BActive Publication Date: 2026-11-24SHANGHAI MURUO NETWORK TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310884472.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-18
Publication Date
2026-11-24
Estimated Expiration
2043-07-18

AI Technical Summary

Technical Problem

Existing technologies for distributing high-definition and 4K streaming content suffer from high server bandwidth consumption and weak packet loss resistance, resulting in a poor user experience. In particular, playback may experience screen tearing, stuttering, or failure when network conditions are not ideal.

Method used

A streaming media multichannel transmission method based on multicast and QUIC protocols is adopted. The reliable multicast channel is used to reduce server bandwidth overhead, and the QUIC protocol is used as a backup channel to ensure packet loss resistance. Combined with FEC data redundancy technology, the packet loss resistance is enhanced, so as to achieve fast start-up and smooth playback.

Benefits of technology

It effectively reduces server bandwidth overhead, ensuring high reliability and smoothness of streaming media playback, especially in poor network conditions where it can adaptively switch channels to guarantee playback quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117041226B_ABST
    Figure CN117041226B_ABST
Patent Text Reader

Abstract

This invention relates to a multi-channel streaming media transmission method based on multicast and the QUIC protocol. It combines the packet loss resistance and bandwidth saving characteristics of reliable multicast transmission with the packet loss resistance and reliability of the QUIC protocol. Reliable multicast is used as the primary transmission channel, and the QUIC protocol is used as a backup transmission channel, enabling streaming media distribution to achieve bandwidth saving, packet loss resistance, and high reliability, ensuring no degradation in user experience. The reliable multicast channel reduces server bandwidth overhead, while the QUIC channel ensures service quality and service degradation in abnormal situations. The player can negotiate with the proxy service through request parameters to enable transmission features, optionally enabling or disabling the reliable multicast channel and 302 origin redirection, achieving service level control at the program channel level. With external integration, the player can enable some or all transmission proxy features for some programs, some terminals, and some regions while maintaining the stability of the original services.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a traffic transmission technology, and more particularly to a multi-channel transmission method for streaming media based on multicast and QUIC protocols. Background Technology

[0002] High-definition and 4K streaming content distribution requires significant server bandwidth. To reduce costs, reliable multicast (a multicast transmission protocol with congestion control and packet loss resistance) is used to reduce terminal requests to the server and bandwidth overhead. However, reliable multicast transmission may be limited by terminal network conditions and cannot guarantee user experience. Therefore, a degradation mechanism is needed to ensure that the terminal playback performance is not lower than that of the traditional HTTP protocol.

[0003] Currently, HTTP-based streaming media distribution is commonly used, but each terminal requests the same data repeatedly, resulting in high server bandwidth consumption; the TCP-based HTTP protocol has weak packet loss resilience.

[0004] Currently, multicast streaming media distribution based on standard multicast is commonly used. Although multicast can reduce server bandwidth overhead, standard multicast does not have the ability to resist packet loss. When network conditions are not ideal or multicast transmission is limited, terminal playback may experience screen tearing, stuttering, or even failure. Summary of the Invention

[0005] To address the issue of efficient use of reliable multicast, a multi-channel streaming media transmission method based on multicast and QUIC protocols is proposed. This method combines the packet loss resistance and bandwidth saving characteristics of reliable multicast transmission with the packet loss resistance and reliability of the QUIC protocol. Reliable multicast is used as the primary transmission channel, and the QUIC protocol is used as the backup transmission channel. This enables streaming media distribution to have the characteristics of bandwidth saving, packet loss resistance, and high reliability, ensuring that the user experience is not degraded.

[0006] The technical solution of this invention is as follows: a multi-channel streaming media transmission method based on multicast and QUIC protocols. The distribution server acts as the media source station and distributes HLS stream data to the client through dual channels. One channel is a VMA server that continuously pulls the latest HLS stream data from the media source station. The stream data includes an m3u8 index and TS fragments. Then, the HLS stream data is distributed to the transport proxy service through a reliable multicast protocol. The other channel is a transport proxy service that requests data from the media source station using the QUIC protocol. The transport proxy service distributes data to the client in accordance with the HTTP protocol.

[0007] Furthermore, the reliable multicast protocol achieves packet loss resistance by using FEC data redundancy technology, thus addressing the packet loss problem of standard multicast protocols in operator network environments.

[0008] Furthermore, the transmission proxy service runs in the set-top box backend. It receives data through two channels. During the start-up phase, to ensure customer experience, it requests data from the media source station via the QUIC protocol to achieve fast start-up. After successful start-up, it enters the normal playback phase and attempts to receive data from a reliable multicast channel.

[0009] Furthermore, when the transmission proxy service enters the normal playback phase, it prioritizes continuously receiving data through a reliable multicast channel. When the data received through the reliable multicast channel is missing or not fast enough, it requests data through the QUIC channel when the playback request reaches the missing data segment to ensure uninterrupted playback. Through adaptive channel selection logic, it prioritizes receiving data through the reliable multicast channel to save bandwidth while ensuring smooth playback.

[0010] A streaming media multichannel transmission system based on multicast and QUIC protocols includes a VMA server and a VMA Agent module in a set-top box. The VMA server continuously pulls the latest HLS stream data from the media source, and the stream data includes an m3u8 index and TS fragments. Then, the HLS stream data is distributed to the VMA Agent module through a reliable multicast protocol. The VMA Agent module requests data from the media source using the QUIC protocol and distributes data to the client in accordance with the HTTP protocol.

[0011] A scheduling method for a streaming media multi-channel transmission system based on multicast and QUIC protocols is disclosed. The system establishes a streaming media multi-channel transmission system based on multicast and QUIC protocols. During the playback startup phase, the first data request is simultaneously sent to the media source station via both TCP and QUIC protocols. Data returned from the previously completed request is used to provide data to the player. Simultaneously, the system determines whether the terminal's network is suitable for enabling UDP protocol transmission based on whether the QUIC request is faster than the TCP request. If suitable, QUIC is used to continue requesting data. When the terminal's network bandwidth is sufficient (i.e., the data fragment transmission speed is greater than twice the data bitrate), enough playback buffer data accumulates, providing a time and bandwidth window for opening a reliable multicast channel. At this point, the reliable multicast channel is opened, attempting to switch the transmission mode to a state dominated by multicast traffic.

[0012] Furthermore, if the reliable multicast channel is insufficient to independently meet the requirements for smooth playback due to network limitations, when the player requests a missing data segment, it will request a replacement segment from the server through the QUIC protocol channel. When it is found that the multicast channel continues to be unable to meet the requirements for smooth playback, the agent program in the VMA Agent module will stop receiving reliable multicast from that channel and switch to the mode of requesting only through the QUIC channel.

[0013] Furthermore, the VMA Agent module supports enabling 302 origin redirection. When the player itself supports the QUIC protocol, it can negotiate with the proxy service via address parameters to tell the player itself that when a QUIC channel origin request is needed, it can be handled by a 302 redirection, reducing the overhead of IO exchange between the terminal proxy service and the player process.

[0014] The beneficial effects of this invention are as follows: This invention is a streaming media multi-channel transmission method based on multicast and QUIC protocols. It utilizes reliable multicast channels to reduce server bandwidth overhead and utilizes QUIC channels to ensure service quality and service degradation in abnormal situations. The player can negotiate with the proxy service through request parameters to enable transmission features, optionally enabling or disabling reliable multicast channels and enabling or disabling 302 origin redirection, thereby achieving service level control at the program channel level. With external integration, the player can enable some or all transmission proxy features for some programs / some terminals / some areas while maintaining the stability of the original services. Attached Figure Description

[0015] Figure 1 This is a schematic diagram of the traditional HLS protocol distribution architecture.

[0016] Figure 2 This is a schematic diagram of the distribution architecture of the present invention;

[0017] Figure 3 This is a scheduling logic diagram of the VMA Agent receiving data from the source server channel and the reliable multicast channel during the playback startup phase of this invention.

[0018] Figure 4 This is a scheduling logic diagram of the VMA Agent receiving data from the source server channel and the reliable multicast channel during the normal playback phase of this invention. Detailed Implementation

[0019] The present invention will now be described in detail with reference to the accompanying drawings and specific embodiments. These embodiments are based on the technical solution of the present invention and provide detailed implementation methods and specific operating procedures. However, the scope of protection of the present invention is not limited to the following embodiments.

[0020] This multi-channel streaming media transmission method, based on multicast and QUIC protocols, implements a dual-channel transmission proxy for reliable multicast and QUIC (a UDP-based transport layer protocol). Installing this proxy program on terminal devices upgrades existing streaming media distribution systems. When reliable multicast is supported by the terminal network, media content is primarily transmitted via multicast. When reliable multicast traffic is unavailable or network conditions are unfavorable, resulting in insufficient transmission speed, the QUIC protocol is used to request data from the server to compensate for the missing data in the reliable multicast transmission channel, ensuring smooth playback.

[0021] HLS Protocol: HTTP Live Streaming (HLS) is an HTTP-based streaming media network transmission protocol proposed by Apple Inc. It is part of Apple's QuickTime X and iPhone software systems. Its working principle is to break the entire stream into small HTTP-based files for download, downloading only a few at a time. While the media stream is playing, the client can choose to download the same resource from many different alternative sources at different rates, allowing the streaming session to adapt to different data rates. At the start of a streaming session, the client downloads an extended M3U (m3u8) playlist file containing metadata to locate available media streams.

[0022] The HLS protocol specifies that the video container format is TS. The video encoding format is H.264, and the audio encoding format is MP3, AAC, or AC-3. In addition to the TS video file itself, an m3u8 file (text file) is also defined to control playback.

[0023] like Figure 1 The diagram shows a traditional HLS protocol distribution architecture. The Origin Web Server distributes HLS stream data from the media source to the client via the Distribution Server, following the HTTP protocol.

[0024] However, with the widespread adoption of 1080P and 4K content, the pressure on server-side hardware overhead and bandwidth costs brought about by ultra-high bitrates is increasing. For customer-facing set-top boxes, there are already a large number of existing set-top boxes on the network, and many peripheral applications have been developed based on the system's standard player. Upgrading the player kernel to support the latest optimized protocols (such as QUIC) would have a significant impact and require a large amount of work.

[0025] like Figure 2The diagram illustrates the distribution architecture of this invention. It modifies the way the Distribution Server distributes resource data to the Client, employing a streaming media multi-channel transmission method based on multicast and QUIC protocols. The Distribution Server, acting as the media source, has two channels for distributing HLS stream data to the Client. One channel is the VMA Server, which continuously pulls the latest HLS stream data (including m3u8 indexes and TS fragments) from the media source and then distributes the HLS stream data to the VMA Agent via a reliable multicast protocol. The other channel is the VMA Agent, which uses the QUIC protocol to request data from the media source and distributes data to the Client according to the HTTP protocol.

[0026] The following section elaborates on the key aspects of the distribution process in the multi-channel transmission method for streaming media based on multicast and QUIC protocols:

[0027] 1. Multicast Protocol: Multicast, also known as multi-transmission, refers to communication between a sender and multiple specific receivers. Multicast solves the inefficiency problems of traditional unicast and broadcast methods. When certain users in the network need specific information, the multicast data sender only sends a multicast message once. The device uses the multicast protocol to establish a distribution tree for the multicast messages. The forwarded multicast messages will be copied and forwarded on demand on this multicast distribution tree, thereby saving bandwidth and reducing network load.

[0028] The advantages of multicast protocols are that they can save system resources and bandwidth of the sending host when a large amount of the same data needs to be transmitted to different hosts; multicast selectively replicates data to hosts that have joined the multicast group; and multicast can save bandwidth on the network backbone.

[0029] Disadvantages of multicast protocols: Compared to unicast protocols, multicast lacks a packet replacement mechanism because it uses UDP for transmission and is not targeted at a single receiver, making targeted packet replacement impossible. Therefore, data transmitted directly via multicast protocols is unreliable. This invention introduces FEC (Fault-Oriented Error Correction) to address this problem.

[0030] 2. FEC (Functional Error Correction) for packet loss: When sending data, the sender adds some overhead (redundant information) to each data packet. The receiver can recover the complete valid data based on the received valid data and the overhead, even if some data packets are lost.

[0031] FEC basic principles:

[0032] (1) The existing valid information is divided into k data packets. These k data packets are encoded with overhead to generate n data packets, which are then sent to the receiving end.

[0033] (2) The receiving end receives at least k data packets and can completely restore the data based on these data packets and the decoding rules.

[0034] (3)nk is the amount of data for the added overhead verification information.

[0035] FEC is unidirectional, meaning that data redundancy is handled by the sending end without requiring feedback from the receiving end. Therefore, it is suitable for implementation on the basis of multicast protocols, which are also unidirectional.

[0036] 3. The role of VMA Server

[0037] The VMA Server continuously pulls the latest HLS streaming data (including m3u8 indexes and TS fragments) from the media origin server, and then distributes the HLS streaming data through a reliable multicast protocol. The reliable multicast protocol uses FEC data redundancy technology to mitigate packet loss, addressing the packet loss issues of standard multicast protocols in carrier network environments.

[0038] 4. The role of VMA Agent

[0039] The VMA Agent, acting as a transport proxy service, runs in the set-top box backend. It receives data through two channels. During the initial playback phase, to ensure a smooth user experience, it requests data from the origin server via the QUIC protocol for rapid playback initiation. After successful initiation, it attempts to receive data from a reliable multicast channel. Through adaptive channel selection logic, it prioritizes receiving data through the reliable multicast channel while ensuring smooth playback, thereby saving bandwidth.

[0040] After receiving HLS stream data through dual channels, the VMA Agent provides data to the player via an HTTP service running on the set-top box. The player does not need to be concerned with the working details of the above system; it only needs to modify the playback address to access this system.

[0041] It can also enable the QUIC protocol, which is not supported by the box player. Even if the multicast channel is unavailable, you can still get the enhanced effect of QUIC protocol in resisting packet loss and low latency.

[0042] The scheduling logic for the VMA Agent to receive data from the source server channel and the reliable multicast channel is as follows: Figure 3 , 4 As shown, Figure 3 Playback Startup Phase: To ensure fast playback startup, the playback startup phase only uses the QUIC protocol to request data. Figure 4Once playback begins, the system enters the normal playback phase, prioritizing continuous data reception through a reliable multicast channel. If data received through the reliable multicast channel is missing or not fast enough, the system requests data through the QUIC channel to ensure uninterrupted playback when the playback request reaches the missing data segment.

[0043] 5. Scheduling strategies for multi-channel streaming media transmission based on multicast and QUIC protocols:

[0044] 5.1 Gradual Upgrade Strategy: During the playback startup phase, the first data request is sent to the server simultaneously via both TCP and QUIC protocols. Data returned from the previously completed request is used to provide data to the player. Simultaneously, the system determines whether the terminal's network is suitable for UDP transmission based on whether the QUIC request is faster than the TCP request. If suitable, QUIC is used to continue requesting data. When the terminal's network bandwidth is sufficient (data fragment transmission speed is greater than twice the data bitrate), enough playback buffer data will accumulate, providing a time and bandwidth window to enable a reliable multicast channel. At this point, the reliable multicast channel is enabled. An attempt is made to switch the transmission mode to a state primarily based on multicast traffic.

[0045] 5.2 Progressive Degradation Strategy: If the reliable multicast channel is insufficient to independently meet the requirements for smooth playback due to network limitations, when the player requests a missing data segment (the reliable multicast channel has not completed its transmission in time), it will request a replacement segment from the server through the QUIC protocol channel; when it is found that the multicast channel continues to be unable to meet the requirements for smooth playback, the agent program will stop receiving reliable multicast from that channel and switch to a mode that requests only through the QUIC channel.

[0046] 5.3 The proxy service supports enabling 302 origin redirection. When the player itself supports the QUIC protocol, it can negotiate with the proxy service via address parameters to tell the player itself that when a QUIC channel origin request is needed, it can be handled by a 302 redirection, reducing the overhead of IO exchange between the terminal proxy service and the player process.

[0047] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these all fall within the protection scope of the present invention. Therefore, the protection scope of this invention patent should be determined by the appended claims.

Claims

1. A scheduling method for a streaming media multi-channel transmission system based on multicast and QUIC protocols, characterized in that, A streaming media multichannel transmission system based on multicast and QUIC protocols is established. The system includes a VMA server and a VMAAgent module in the set-top box. The VMA server continuously pulls the latest HLS stream data from the media source server. The stream data includes an m3u8 index and TS fragments. Then, the HLS stream data is distributed to the VMA Agent module through a reliable multicast protocol. The VMA Agent module requests data from the media source server using the QUIC protocol and distributes data to the client in accordance with the HTTP protocol. During the playback initiation phase, the first data request is sent to the media source server simultaneously via TCP and QUIC protocols. Data returned from the previously completed request is used to provide data to the player. At the same time, the network where the terminal is located is determined to be suitable for enabling UDP protocol transmission based on whether the QUIC request is faster than the TCP request. If it is suitable, QUIC is used to continue requesting data. When the terminal network bandwidth is sufficient, that is, the data fragment transmission speed is greater than twice the data bitrate, enough playback buffer data will accumulate, providing a time and bandwidth window for opening a reliable multicast channel. At this time, the reliable multicast channel is opened, and the transmission mode is attempted to be switched to a state where multicast traffic is the primary mode. If the reliable multicast channel is insufficient to independently meet the requirements for smooth playback due to network limitations, when the player requests a missing data segment (i.e., a data segment that the reliable multicast channel has not yet completed transmitting), it will request a replacement segment from the server through the QUIC protocol channel. When it is found that the multicast channel continues to be unable to meet the requirements for smooth playback, the agent program in the VMA Agent module will stop receiving reliable multicast from that channel and switch to the mode of requesting only through the QUIC channel.

2. The scheduling method for a streaming media multi-channel transmission system based on multicast and QUIC protocol according to claim 1, characterized in that, The VMA Agent module supports enabling 302 origin redirection. When the player itself supports the QUIC protocol, it can negotiate with the agent service via address parameters to tell the player itself that when a QUIC origin request is needed, it can be handled by a 302 redirection, reducing the overhead of IO exchange between the terminal agent service and the player process.

3. A streaming media multi-channel transmission system based on multicast and QUIC protocols, characterized in that, The system includes a VMA server and a VMA Agent module in the set-top box. The VMA server continuously pulls the latest HLS stream data from the media source, including the m3u8 index and TS fragments. Then, the HLS stream data is distributed to the VMA Agent module through a reliable multicast protocol. The VMA Agent module requests data from the media source using the QUIC protocol and distributes data to the client in accordance with the HTTP protocol. During the playback startup phase, the VMA Agent module simultaneously requests the first data segment from the media source station via both TCP and QUIC protocols. It uses the data returned by the previously completed request to provide data to the player. At the same time, it determines whether the terminal's network is suitable for enabling UDP protocol transmission based on whether the QUIC request is faster than the TCP request. If it is suitable, it continues to request data using QUIC. When the terminal's network bandwidth is sufficient, i.e., the data segment transmission speed is greater than twice the data bitrate, enough playback buffer data will accumulate, providing a time and bandwidth window for opening a reliable multicast channel. At this time, the reliable multicast channel is opened, attempting to switch the transmission mode to a state dominated by multicast traffic. If a reliable multicast channel is insufficient to independently meet the requirements for smooth playback due to network limitations, when the player requests a missing data segment, it will request a replacement segment from the server through the QUIC protocol channel. When it is found that the multicast channel cannot meet the requirements for smooth playback, the agent program in the VMA Agent module will stop receiving reliable multicast from that channel and switch to the mode of requesting only through the QUIC channel.

Citation Information

Patent Citations

  • Method and system for realizing rapid routing of KAD network nodes

    CN112039775A

  • IP video live broadcast transmission method and system capable of resisting network degradation

    CN115103202A