An optimization method, device and terminal for IPTV multicast channel switching

By increasing the number of channels in the multicast group in the IPTV system, and directly extracting the channel transport stream from the transport stream when the target channel and the current channel are in the same multicast group, the IPTV multicast channel switching delay problem is solved, and user experience is improved. experience and reduced costs.

CN114449357BActive Publication Date: 2024-08-23HISENSE BROADBAND MULTIMEDIA TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011205154.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-02
Publication Date
2024-08-23
Estimated Expiration
2040-11-02

AI Technical Summary

Technical Problem

IPTV multicast channel switching has a long delay, affecting user experience. Existing FCC technology requires increased network interaction protocols and investment costs.

Method used

Without changing the multicast channel switching mode, increase the number of channels in a transport stream in the multicast group. If the target channel and the current channel are in the same multicast group, extract the channel transmission of the target channel directly from the transport stream. stream, reducing the number of leaving and joining multicast groups and increasing switching speed.

Benefits of technology

It reduces IPTV multicast channel switching delay, improves user experience, and reduces network interaction and investment costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114449357B
    Figure CN114449357B
Patent Text Reader

Abstract

The present application discloses an optimization method, device and terminal for IPTV multicast channel switching, the method comprising: determining the target channel to be switched according to the received channel switching instruction; judging whether the target channel and the current channel are in the same multicast group; if the target channel and the current channel are in the same multicast group, extracting the channel transmission stream corresponding to the target channel from the multiple channel transmission streams of the multicast transmission stream; playing the channel transmission stream of the target channel to complete the channel switching. The present application increases the number of channels in one transmission stream in a multicast group. When the current channel and the target channel to be switched are in the same multicast group, the channel switching time saves the time of leaving the current multicast channel and joining the new multicast channel, and directly extracts the channel transmission stream of the target channel from one transmission stream, thereby improving the switching speed within the same multicast group, reducing the IPTV multicast channel switching delay, and improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of Internet Protocol Television (IPTV), and in particular to an optimization method, device and terminal for switching IPTV multicast channels. Background Art

[0002] With the development of the digital television industry, more and more programs can be watched on television, and it is becoming increasingly difficult for users to quickly switch channels.

[0003] IPTV multicast channel switching delay is an important part of the IPTV service user experience quality indicator QOE (Quality of Experience). Channel switching delay refers to the time from the user operating the remote control to initiate a channel switching request to the time when the requested channel image appears on the TV screen. Generally speaking, the acceptable channel switching delay should be within 1 second. If the channel switching delay exceeds 2 seconds, there will be obvious lag and pause, and users are easily bored. In order to reduce bandwidth pressure, the current IPTV live broadcast service usually adopts multicast transmission, and only one channel is transmitted in a multicast group. With the increase of IPTV channels, different multicast groups will be left and joined continuously when switching channels. An IGMP (Internet Group Management Protocol) switching process refers to the time from issuing IGMP LEAVE to receiving the first multicast UDP. The channel switching delay depends on the multicast channel leaving and joining delays, as well as the waiting time of the set-top box between leaving and joining operations. In the current IPTV environment, introducing FCC (Fast Channel Change) technology is a more ideal usage.

[0004] However, the introduction of FCC technology in IPTV requires the deployment of a corresponding environment, namely, an FCC server, in the network, and the addition of a network interaction protocol, which increases the investment cost. Summary of the invention

[0005] The present application provides an optimization method, device and terminal for IPTV multicast channel switching to solve the problem that the current IPTV multicast channel switching time is long and affects the user experience.

[0006] In order to solve the above technical problems, the embodiments of the present application disclose the following technical solutions:

[0007] In a first aspect, an embodiment of the present application discloses an optimization method for IPTV multicast channel switching, the method comprising:

[0008] Determine the target channel to be switched according to the received channel switching instruction;

[0009] Determining whether the target channel and the current channel are in the same multicast group;

[0010] If the target channel and the current channel are in the same multicast group, extracting a channel transmission stream corresponding to the target channel from a plurality of channel transmission streams of the multicast transmission stream;

[0011] The channel transport stream of the target channel is played to complete the channel switching.

[0012] In a second aspect, the embodiment of the present application further discloses an optimization device for IPTV multicast channel switching, including:

[0013] A memory for storing program codes;

[0014] The processor is used to read the program code stored in the memory and execute the method described in the first aspect.

[0015] In a third aspect, an embodiment of the present application further provides a terminal, comprising the device for optimizing IPTV multicast channel switching as described in the second aspect.

[0016] The present application provides an optimization method for IPTV multicast channel switching, the method comprising: determining the target channel to be switched according to the received channel switching instruction; judging whether the target channel and the current channel are in the same multicast group; if the target channel and the current channel are in the same multicast group, extracting the channel transmission stream corresponding to the target channel from the multiple channel transmission streams of the multicast transmission stream; playing the channel transmission stream of the target channel to complete the channel switching. The present application increases the number of channel transmission streams in one transmission stream within a multicast group without changing the multicast switching mode, so that one transmission stream within the multicast group contains multiple channel transmission streams. If the current channel and the target channel to be switched are in the same multicast group, the channel switching time can save the time of leaving the current multicast channel and joining the new multicast channel, and directly extract the channel transmission stream of the target channel from one transmission stream, which can reduce the frequency of leaving and joining the multicast group, thereby improving the switching speed within the same multicast group, reducing the IPTV multicast channel switching delay, and improving the user experience.

[0017] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0019] Figure 1A schematic diagram of a scenario provided by an embodiment of the present invention;

[0020] Figure 2 A flowchart of an optimization method for IPTV multicast channel switching provided in an embodiment of the present application;

[0021] Figure 3 A detailed flowchart of S310 in the IPTV multicast channel switching optimization method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0022] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.

[0023] Figure 1 A schematic diagram of a scenario provided by an embodiment of the present invention, Figure 1 The system includes a TV set 101 and a set-top box 102. The TV set 101 and the set-top box 102 can be connected by wire or wirelessly. The set-top box 102 is used to transmit network resources and wired resources to the TV set 101, so that users can browse the web or watch online TV or live broadcast programs through the TV set 101. Figure 1 The figure is only a schematic diagram of a scenario of the present invention, and the specific types and corresponding relationships of the set-top box 102 and the TV 101 in the figure are not limited to Figure 1 The specific form disclosed in .

[0024] In the existing channel switching process, when the user operates the channel number keys or the channel forward and backward switching keys on the remote control, or the user directly operates the channel switching button on the set-top box, the set-top box will convert this operation into an IGMPJoin message and send it to the access device, so as to pass it to the upper-layer device through the access device to obtain the multicast media stream of the corresponding channel. However, this method will cause the problem of channel switching delay due to complex network signaling interaction. The existing solution is to require the set-top box to send a request to the FCC server first when initiating channel switching to obtain the channel content cached on the FCC server, and then stop the FCC server service after joining the multicast group of the new channel. However, this method requires the set-top box to be modified so that it can send a request to the FCC server first, which means that a large number of set-top boxes of various types and brands must be upgraded and modified in this way, which is extremely difficult.

[0025] In order to solve the above problems, an embodiment of the present application provides an optimization method for IPTV multicast channel switching. The solution does not change the existing multicast switching mode. Each multicast group transmits a transport stream TS, and the number of channels in the transport stream TS is increased, so that the transport stream TS contains channel transport streams of multiple channels, thereby reducing the number of times of leaving and joining the multicast group, indirectly improving the switching speed within the same multicast group, thereby reducing the IPTV multicast channel switching delay and improving the user experience.

[0026] Figure 2 A flowchart of an optimization method for IPTV multicast channel switching provided by an embodiment of the present application. Figure 2 The optimization method for IPTV multicast channel switching provided in the embodiment of the present application includes:

[0027] S100: Determine a target channel to be switched according to the received channel switching instruction.

[0028] The user can trigger the channel switching command by operating the channel number keys or the forward and backward channel switching keys on the remote control, or directly operating the channel switching button on the set-top box. For example, the current channel played by the TV is CCTV1, and in the channel list stored in the TV, the next channel of CCTV1 is CCTV2. When the user clicks the "Channel +" button on the remote control, it is determined that the target channel to be switched by the user is CCTV2.

[0029] When determining the target channel, the user can first determine the target channel number to be switched according to the channel switching instruction. For example, the channel currently broadcasted by the TV is CCTV1, and its channel number is 1. When the user operates the channel number key 2 on the remote control, or clicks the "channel +" button on the remote control, the channel number of the target channel to be switched is 2. After obtaining the channel number of the target channel, the target channel and the multicast group to which the target channel belongs can be determined according to the target channel number. For example, when the channel number of the target channel is 2, it means that the channel to be switched is CCTV2.

[0030] S200: Determine whether the target channel and the current channel are in the same multicast group.

[0031] In the prior art, IPTV live programs are transmitted to user access networks through multicast mode, which not only reduces network bandwidth usage but also reduces network load while achieving single-point transmission and multi-point reception. However, currently, only one channel is transmitted in a multicast group. With the increase of IPTV channels (usually around 200), there will be around 200 multicast groups. When switching channels, the channel switching time includes leaving the original multicast channel, joining the new multicast channel, waiting for the I frame to arrive, receiving the complete I frame, and decoding and playing audio and video. Leaving and joining the multicast normally takes about 300ms, resulting in IPTV multicast channel switching delay.

[0032] Based on this, the present application increases the number of channels in a multicast group, such as placing CCTV1, CCTV2, CCTV3, CCTV4 and other channels in a multicast group. The transmission stream TS sent by the upper device to the multicast group through multicast transmission may contain channel transmission streams of multiple channels. When switching channels in a multicast group, there is no need to leave the multicast group.

[0033] Therefore, after determining the target channel to be switched, it is necessary to determine whether the target channel and the current channel are in the same multicast group. If so, step S310 is executed; if not, step S320 is executed.

[0034] S310: If the target channel and the current channel are in the same multicast group, extracting a channel transmission stream corresponding to the target channel from a plurality of channel transmission streams of the multicast transmission stream.

[0035] If the target channel and the current channel are in the same multicast group, such as CCTV1, CCTV2, CCTV3, and CCTV4 are in the same multicast group, the current channel is CCTV1, and the target channel to be switched is CCTV2, then when switching channels, there is no need to leave the multicast group where the current channel is located. The channel switching time does not need to calculate the time of leaving the original multicast channel and joining the new multicast channel. The channel transmission stream corresponding to the target channel can be directly extracted from the multicast transmission stream. The specific method of extracting the channel transmission stream corresponding to the target channel from the multicast transmission stream is as follows: Figure 3 shown.

[0036] S3101: Obtain a list of channel information of the same multicast group.

[0037] S3102: Set the audio and video type and corresponding PID of each channel in the channel information list.

[0038] When a multicast group contains multiple channels, the channel information list of the multicast group can be obtained when the machine is turned on. For example, if the multicast group contains four channels, CCTV1, CCTV2, CCTV3, and CCTV4, the private description information of each channel is set in the channel information list. The private description information includes the audio and video type and the corresponding PID, such as the audio and video type and the corresponding PID corresponding to CCTV1, and the audio and video type and the corresponding PID corresponding to CCTV2. The transmission stream corresponding to the channel can be found according to the private description information. The specific method of setting the private description information of each channel in the channel information list is shown in Table 1.

[0039] Table 1 Definition of some parameters in the channel information structure

[0040] name Type Length illustrate AudPid string(16) Audio PID Audio Type string(8) Audio Type VidPid string(16) Video PID Video Type string(8) Video Type

[0041] S3103: One multicast transmission stream includes channel transmission streams of multiple channels.

[0042] S3104: Obtain the audio and video type and corresponding PID of the target channel.

[0043] S3105: Extract the channel transport stream of the target channel according to the audio and video type of the target channel and the corresponding PID.

[0044] In the current network environment, the general bandwidth is also 50Mbps. Under normal circumstances, 2M for standard definition and 4M for high definition are sufficient to ensure viewing quality. Excluding various broadband losses, according to 75% bandwidth utilization, a transport stream TS under 50Mbps bandwidth can contain 4-6 sets of channels. In the future, with the introduction of 5G and the increase in bandwidth, the number of channels contained in a multicast transport stream TS can continue to increase.

[0045] Since a multicast group contains multiple channels, the transmission stream TS in the multicast group contains multiple channel transmission streams. When extracting the channel transmission stream of the target channel from the multicast transmission stream, the private description information of the target channel in the channel information list can be obtained, including the audio and video type and corresponding PID of the target channel. According to the audio and video type and corresponding PID of the target channel, the audio and video transmission stream of the target channel can be extracted from the multicast transmission stream TS. For example, if a multicast group contains four channels, CCTV1, CCTV2, CCTV3, and CCTV4, the current channel is CCTV1, and the target channel to be switched is CCTV2, the audio and video type and corresponding PID of CCTV2 are obtained from the channel information list of the multicast group, and the audio and video transmission stream of CCTV2 is extracted from the multicast transmission stream TS according to the audio and video type and corresponding PID of CCTV2.

[0046] S311: Play the channel transport stream of the target channel to complete the channel switching.

[0047] After extracting the channel transport stream of the target channel according to the audio and video type and the corresponding PID of the target channel, the channel transport stream can be directly transmitted to the decoder for playback without TS code stream parsing, and the channel is switched to the target channel and the channel transport stream is played, thereby completing the channel switching. If the previous channel is CCTV1, and the target channel to be switched is CCTV2, the audio and video transport stream of CCTV2 is extracted from the multicast transport stream TS according to the audio and video type and the corresponding PID of CCTV2, and the audio and video transport stream of CCTV2 is directly transmitted to the decoder for playback, thus realizing the channel switching from CCTV1 to CCTV2.

[0048] S320: If the target channel and the current channel are not located in the same multicast group, determine the multicast group where the target channel is located.

[0049] S321: The set-top box sends an Internet Management Protocol leave message to leave the multicast group where the current channel is located.

[0050] S322: The set-top box sends an Internet Management Protocol join message to join the multicast group where the target channel is located.

[0051] S323: Extracting a channel transmission stream corresponding to the target channel from the multicast transmission stream in the multicast group where the target channel is located.

[0052] S324: Play the channel transport stream of the target channel to complete the channel switching.

[0053] If the target channel and the current channel are not in the same multicast group, such as CCTV1, CCTV2, CCTV3, and CCTV4 are in the same multicast group, Jiangsu Satellite TV, Zhejiang Satellite TV, Dragon TV, and Hunan Satellite TV are in the same multicast group, the current channel is CCTV1, and the target channel to be switched is Jiangsu Satellite TV. When switching channels, the set-top box needs to send an Internet Management Protocol (IGMP) leave message to leave the multicast group where the current channel is located. After that, the set-top box needs to send an Internet Management Protocol (IGMP) join message to join the multicast group where the target channel is located.

[0054] After joining the multicast group where the target channel is located, you can obtain the channel information list of the multicast group, and obtain the audio and video type and corresponding PID of the target channel in the channel information list, such as obtaining the audio and video type and corresponding PID of Jiangsu Satellite TV; then, according to the audio and video type and corresponding PID of the target channel, extract the audio and video transmission stream of the target channel from the multicast transmission stream TS.

[0055] After obtaining the audio and video transport stream of the target channel, since there is no need to TS code stream parsing, the channel transport stream can be directly transmitted to the decoder for playback, the channel is switched to the target channel and the channel transport stream is played, thereby completing the channel switching.

[0056] The optimization method for IPTV multicast channel switching provided in the embodiment of the present application is applied to IPTV multicast, and does not change the existing multicast switching mode. It mainly increases the number of channels in a transport stream TS in a multicast group. When a channel switching instruction is received, the target channel to be switched is first determined, and then it is determined whether the target channel and the current channel are in the same multicast group; if the target channel and the current channel are in the same multicast group, when switching channels, there is no need to leave the current multicast group, and the channel transport stream corresponding to the target channel can be directly extracted from multiple channel transport streams TS of the multicast transport stream of the current multicast group, and the channel transport stream is directly transmitted to the decoder for playback, thereby completing the channel switching. That is, for channel switching within the same multicast group, the channel switching time only needs to include the time for extracting the target channel transmission stream and the time for audio and video playback, and does not need to include the time for leaving the original multicast channel, joining a new multicast channel, etc., so that the channel transmission stream of the target channel is directly extracted from one transmission stream, which improves the switching speed within the same multicast group; for channel switching within different multicast groups, the channel switching time includes the time for leaving the original multicast channel, joining a new multicast channel, extracting the target channel transmission stream and the time for audio and video playback, and because the private description information of each channel is added to the channel information list of the multicast group, such as the audio and video type and the corresponding PID, there is no need to parse the TS code stream, and it can be directly sent to the decoder for playback, thereby improving the switching speed. This application reduces the number of times of leaving and joining the multicast group through the number of channels in the multicast group, and then reduces the code stream parsing time through the private description information of each channel in the channel information list of the multicast group, greatly reducing the IPTV multicast channel switching delay and improving the user experience.

[0057] Corresponding to the above-mentioned IPTV multicast channel switching optimization method, the embodiment of the present application also provides an IPTV multicast channel switching optimization device. The structure of the IPTV multicast channel switching optimization device may include: a processor and a memory, the memory is used to store program code, that is, the software code for IPTV multicast channel switching; the processor is used to read the program code stored in the memory and execute the IPTV multicast channel switching software code, which acts on the terminal. The terminal executes the IPTV multicast channel switching optimization device described in the above embodiment according to the software code to improve the IPTV multicast channel switching speed without lag and pause, thereby improving the user experience.

[0058] When the execution instructions in the memory are executed by the processor, the optimization device for IPTV multicast channel switching can execute: when receiving the channel switching instruction, first determine the target channel to be switched, and then determine whether the target channel and the current channel are in the same multicast group; if the target channel and the current channel are in the same multicast group, when switching channels, it is not necessary to leave the current multicast group, and the channel transmission stream corresponding to the target channel can be directly extracted from the multiple channel transmission streams TS of the multicast transmission stream of the current multicast group, and the channel transmission stream is directly transmitted to the decoder for playback, thereby completing the channel switching. That is, through the number of channels in the multicast group, the number of times of leaving and joining the multicast group is reduced, and the IPTV multicast channel switching delay is greatly reduced.

[0059] Based on the above-mentioned IPTV multicast channel switching optimization device, an embodiment of the present application also provides a terminal, which includes the IPTV multicast channel switching optimization device described in the above-mentioned embodiment. When the terminal switches the multicast channel, the number of channels in the multicast group is used to reduce the number of times of leaving and joining the multicast group, shorten the IPTV multicast channel switching delay, and improve the switching speed.

[0060] It should be noted that, in this specification, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a circuit structure, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such circuit structure, article or device. In the absence of further restrictions, an element defined by the phrase "includes a ..." does not exclude the existence of other identical elements in the circuit structure, article or device including the element.

[0061] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the disclosure of the invention herein. The present application is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present application and include common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the content of the claims.

[0062] The above-described embodiments of the present application do not constitute a limitation on the protection scope of the present application.

Claims

1. An optimization method for IPTV multicast channel switching, It is characterized in that The method comprises: Obtain a channel information list, wherein the channel information list is provided with the audio and video type and the corresponding PID of each channel; According to the received channel switching instruction, determine the target channel to be switched, and obtain the audio and video type and corresponding PID of the target channel; Determining whether the target channel and the current channel are in the same multicast group, wherein the same multicast group includes one transmission stream, and the one transmission stream includes multiple channel transmission streams; If the target channel and the current channel are in the same multicast group, the channel transmission stream of the target channel is extracted according to the audio and video type and the corresponding PID of the target channel; after extracting the channel transmission stream of the target channel, the channel transmission stream of the target channel is directly transmitted to the decoder for playback without TS code stream parsing to complete the channel switching.

2. The optimization method for IPTV multicast channel switching according to claim 1, It is characterized in that Before receiving the channel switching instruction, the method includes: Get the channel information list of the same multicast group; The audio and video type and the corresponding PID of each channel are set in the channel information list.

3. The optimization method for IPTV multicast channel switching according to claim 1, It is characterized in that According to the received channel switching instruction, determining the target channel to be switched includes: After receiving the channel switching instruction, determining the target channel number to be switched; The target channel and the multicast group to which the target channel belongs are determined according to the target channel number.

4. The optimization method for IPTV multicast channel switching according to claim 1, It is characterized in that According to the IPTV bandwidth, one multicast transmission stream includes channel transmission streams of 4-6 channels.

5. The optimization method for IPTV multicast channel switching according to claim 1, It is characterized in that Also includes: If the target channel and the current channel are not located in the same multicast group, determining the multicast group where the target channel is located; The set-top box sends an Internet Management Protocol leave message to leave the multicast group where the current channel is located; The set-top box sends an Internet Management Protocol join message to join the multicast group where the target channel is located; Extracting a channel transmission stream corresponding to the target channel from the multicast transmission stream in the multicast group where the target channel is located; The channel transport stream of the target channel is played to complete the channel switching.

6. An optimization device for IPTV multicast channel switching, It is characterized in that include: A memory for storing program codes; A processor, configured to read the program code stored in the memory and execute the method according to any one of claims 1 to 5.

7. A terminal, It is characterized in that It comprises the optimization device for IPTV multicast channel switching as described in claim 6.