EDGE OPTIMIZED TRANSRATING SYSTEM
20240276045 ยท 2024-08-15
Inventors
Cpc classification
H04L63/0428
ELECTRICITY
H04N21/84
ELECTRICITY
H04N21/2343
ELECTRICITY
H04N21/2389
ELECTRICITY
H04N21/234363
ELECTRICITY
H04N21/222
ELECTRICITY
H04N21/2362
ELECTRICITY
H04N21/2662
ELECTRICITY
H04N21/2402
ELECTRICITY
H04N21/235
ELECTRICITY
H04N21/64738
ELECTRICITY
H04L2012/6478
ELECTRICITY
H04N21/435
ELECTRICITY
International classification
H04N21/2662
ELECTRICITY
H04N21/2343
ELECTRICITY
H04N21/235
ELECTRICITY
H04N21/2389
ELECTRICITY
H04N21/239
ELECTRICITY
H04N21/24
ELECTRICITY
H04N21/63
ELECTRICITY
H04N21/647
ELECTRICITY
H04N21/84
ELECTRICITY
H04N21/222
ELECTRICITY
H04N21/2362
ELECTRICITY
H04N21/435
ELECTRICITY
Abstract
A system and method for bandwidth management by controlling the bit rate of a signal stream in real time according to available link bandwidth. Applications include multiple-channel video data streams over a limited-bandwidth link such as a Digital Subscriber Line. A video signal is transrated at the head end to multiple streams having different bit rates, by a multirating device which sends the multiple streams over a network, along with metadata containing information about the data structure and parameters of the streams. At the network access edge, a demultirating device uses the metadata to select the stream with the highest video quality whose bit rate does not exceed the available bandwidth of the end-user's access link. This scheme provides multiple unicast signals to different end-users in place of a single multicast signal, supports multiple high-definition channels over a limited bandwidth link, and is compatible with standard encryption methods.
Claims
1. A method for broadcasting a video content to a Set Top Box (STB) at end user location, for use with a first video stream in a data format from the video source and for use with a plurality of video streams, each of the plurality of video streams is translated from the first video stream using a multirater or a transrater, and each of the plurality of video streams is encoded with a different bitrate relative to other of the plurality of video streams, the method comprising: transmitting, to the STB, the plurality of video streams; receiving, by the STB, the sent plurality of video streams; selecting, by the STB, a second video stream out of the received plurality of video streams; and using, by the STB, the selected second video stream.
2. The method according to claim 1, wherein the selecting of the second video stream comprises selecting the video stream that is associated with the highest bit rate that is lower from a maximum bit rate.
3. The method according to claim 1, wherein the transmitting is over a first network, and wherein the using comprises transmitting the selected first video stream to a second network that is different from the first network.
4. The method according to claim 1, further comprising reconstructing the first video stream from the selected second video stream by using a demultirater.
5. The method according to claim 1, wherein the selecting comprises de-multiplexing of the selected second video stream.
6. The method according to claim 5, wherein the selecting comprises statistical de-multiplexing.
7. The method according to claim 1, wherein the plurality of video streams comprises the first video stream.
8. The method according to claim 1, wherein the plurality of video streams comprises at least three distinct video streams.
9. The method according to claim 1, wherein the STB includes a single enclosure that is configured to house a receiver for the receiving and a selector for the selecting.
10. The method according to claim 9, wherein the STB comprises a router, a switch, a multiplexer, a server, or any combination thereof.
11. The method according to claim 9, further comprising forming, by a sequencer coupled to the selector, a unicast data stream that comprises the selected second video stream.
12. The method according to claim 1, further comprising buffering, using a cache, the selected second video stream.
13. The method according to claim 1, wherein the STB further comprising a software stored in a tangible data storage medium, and a processor for executing the software.
14. The method according to claim 1, wherein the transmitting is over a first network.
15. The method according to claim 14, wherein the first network is a Metropolitan Area Network (MAN) or a core network, or wherein the first network implements a core layer or an aggregation layer.
16. The method according to claim 14, wherein the first network uses a medium that is based on, comprises, or uses, an optical fiber.
17. The method according to claim 14, further comprising connecting to the first network using an Ethernet interface.
18. The method according to claim 17, wherein the Ethernet interface consists of, comprises, or is compatible with, a Gigabit Ethernet (1 GbE) that is according to, based on, or compatible with, IEEE 802.3-2008 standard.
19. The method according to claim 14, wherein the first network is an access network or implements an access layer.
20. The method according to claim 19, wherein the first network uses medium that uses, is based on, or comprises, a twisted wire pair.
21. The method according to claim 20, wherein the first network uses, is based on, or comprises, a point-to-point connection.
22. The method according to claim 21, wherein the first network uses, is based on, or comprises, Digital Subscriber Line (xDSL) technology.
23. The method according to claim 22, wherein the first network uses, is based on, or comprises, Asymmetric Digital Subscriber Line (ADSL) technology.
24. The method according to claim 23, wherein the first network uses, is based on, or comprises, ADSL2 or ADSL2+technology.
25. The method according to claim 24, wherein the ADSL2 or ADSL2+technology consists of, is based on, is compatible with, or comprises, ITU-T G.992.5 standard.
26. The method according to claim 22, further comprising a Digital Subscriber Line Access Multiplexer (DSLAM).
27. The method according to claim 1, wherein each of the plurality of video streams is carried with a respective metadata, carried as an Out-of-Band (OOB) channel or with the respective video stream.
28. The method according to claim 27, further comprising receiving the metadata and selecting or handling the selected second video stream in response to the respective second video stream metadata.
29. The method according to claim 27, wherein the metadata comprises a video quality level indicator, a consumed bandwidth, a visual noise, spurious edges, a localized motion distortion, Image Structural Similarities (SSIM) , Peak-Signal-to-Noise-Ratio (PSNR), a Group of Pictures (GOP) parameter, statistics on moving vectors, macroblock types, or density, relating to the second video stream.
30. The method according to claim 27, further comprising receiving the metadata, and wherein the selecting of the second video stream is in response the received respective metadata.
31. The method according to claim 27, wherein the metadata is indicated by a Packet Identifier (PID).
32. The method according to claim 27, wherein the metadata comprises the minimum required bandwidth for properly carrying each of the first and second video streams.
33. The method according to claim 1, further comprising measuring or estimating the maximum bit rate.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The present disclosure will be more fully understood from the following detailed description of the embodiments thereof, taken together with the drawings in which:
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
DETAILED DESCRIPTION OF THE EMBODIMENTS
[0034] According to embodiments of the present invention, bandwidth management equipment of the central office at the access edge selects per GOP or per sub GOP, based on the metadata and currently-available bandwidth, the multirated channel signal having the maximum bit rate that can be used at the current available bandwidth without violating the end-users' constraints, taking into consideration the required quality. Further the metadata using generated by the multirater, the selected multirated signal channels are sequenced together into a single video stream. As detailed herein, embodiments of the present disclosure provide effective bandwidth management without requiring decryption at the access edge.
[0035] Devices according to certain embodiments of the present invention, multiraters and/or demultiraters are stand-alone devices. According to other embodiments of the present invention, multiraters and/or demultiraters are incorporated into other devices, including, but not limited to: video servers, DSLAMS, routers, switches, and the like. According to still further embodiments of the present invention, multiraters and/or demultiraters are distributed among multiple devices, which in combination perform the various functions thereof. According to further embodiments, multiraters and demultiraters are implemented in processing devices via instructions which are executable thereby, wherein the executable instructions are stored in a manufactured computer product comprising tangible data storage media including, but not limited to: data storage devices; optical and magnetic storage media; and semiconductor memory storage devices, such as flash memory.
[0036] For clarity, a multirater and the operation thereof is generally described and illustrated herein for a single video channel. However, in embodiments of the present invention, a multirater may simultaneously handle multiple video channels; likewise, a demultirater may simultaneously handle multiple video channels.
[0037] A complete transrating system according to embodiments of the present disclosure includes both a multirater and a demultirater, which may be located in different physical locations and which may be connected to different parts of a network. In certain embodiments of the present invention, both multirater and demultirater operate simultaneously in real time for a broadcast signal. In other embodiments of the present disclosure for video-on-demand (VOD), multirating is performed off-line once for a particular video signal, and demultirating is performed on the associated multirated signals at one or more later times. Furthermore, in embodiments of the present invention, more than one demultirater may be employed to demultirate the signals from a single multirater.
[0038] Embodiments of the present disclosure are described and illustrated herein for bandwidth management in the non-limiting case of video signals at an access edge of Digital Subscriber Lines. However, it is understood that the principles of the present disclosure are applicable in more general cases to any streaming signals encoded in a format that permits different bit rates, and at network edges of any kind, without limitation.
[0039] The principles and operation of a bandwidth management method and system according to the present disclosure may be understood with reference to the drawings and the accompanying description.
[0040]
[0041] According to embodiments of the present invention, SPTS 103 is transrated into multiple signals within a single SPTS 109 by a multirater 107. The multiple signals within SPTS 109 correspond to the original video content transrated into multiple video signals with different bit rates, and having different video qualities depending on the bit rate. The expansion process and the resulting data structures thereof are discussed in detail below.
[0042] SPTS 109 is sent over a network 113 to a demultirater 115, which produces bandwidth-managed signals for the end users. Network 113 can be any suitable data network, typically a metropolitan network.
[0043] From demultirater 115, an SPTS 123 is sent to a DSLAM or equivalent device 121 through a 1GBE interface, for example, and to an end-user device 119. SPTS 123 is a sequential composite of different bit rate signals selected and combined by demultirater 115 according to available bandwidth considerations, and is delivered to end-user device 119 over copper twisted pair lines using ADSL2+ technology for device 121.
Bandwidth Management
[0044] Forwarding all video channels to a DSLAM will overwhelm the DSLAM's 1 GBE interface, so Internet Group Management Protocol (IGMP) snooping techniques are typically used to limit the channels forwarded to the DSLAM to the actual channels being viewed by the end-user. As previously noted, however, consumer trends indicate that a single end-user may require multiple simultaneous HDTV video channels. Under normal conditions, this would exceed the available bandwidth of the xDSL interface regardless of IGMP snooping techniques.
[0045] To handle this situation, the present disclosure provides managing the bandwidth demand of a channel to insure that the channel's bandwidth demand does not exceed the bandwidth resources available for the channel.
Transrating for Bandwidth Management
[0046]
[0047] Single bit rate video channel SPTS 103 is used as the source of multiple transrating operations to generate, via multirater 107, a signal 205A having a bit rate or quality 1, a signal 205B having a bit rate or quality 2, and a signal 205C having a bit rate or quality N, all of which are included in SPTS 109. Multirater 107 comprises a transrater 209 and a metadata generator 211. It is noted that the bit rate property is useful for Constant Bit Rate (CBR) streams, whereas the quality property is useful for Variable Bit Rate (VBR) streams.
[0048] In one embodiment of the present disclosure for handling real-time broadcast SPTS 103, multirater 107 is included in video server 101. In another embodiment for handling a Video on Demand (VOD) SPTS, multirater 107 is included in a VoD server (not shown). In still another embodiment, multirater 107 is a separate stand-alone device.
[0049] For employing the present invention, the principal difference between real-time broadcast and VoD is that for real-time broadcast the generating of signals 205A, 205B, and 205C and metadata 207 in SPTS 109 is also done in real-time during the broadcast of SPTS 103, whereas for VoD the generating of the signals and metadata is done off-line, and need be done only once prior to the delivery of any signals. For VOD, processed SPTS 109, in place of, or alternatively in addition to, source SPTS 103, is kept in memory or data storage for delivery to the end-user.
[0050] In embodiments of the present invention, metadata 207 provides indications and quantitative estimates indications of the influence of bit rate on the perceived subjective quality of the video signals. Metadata 207 contains information about the data structure and parameters of the video signals, and may include, but is not limited to, the following indications and measurements for each of the video signals: [0051] overall video quality level; [0052] bandwidth consumed by the signal's video stream; [0053] overall visual noise, spurious edges, localized motion distortion, and localized spatial distortion; [0054] image structural similarities (SSIM); [0055] peak signal to noise ratio (PSNR); [0056] Group of Picture (GOP) parameters; and [0057] statistics on moving vectors, macroblock types, and density.
[0058]
[0059] Any encoding scheme that offers an adjustable encoded bit rate for the encoded data output may be used with the present invention, including, but not limited to MP3 and MPBG-x. By providing a set of transrated signals having different bit rates, the present disclosure offers fast, cost-effective bandwidth management. At the access edge, a single transrated signal is selected from multiple signals 205A, 205B, 205C of SPTS 109, such that the bit rate of the selected transrated signal can be handled by the currently-available bandwidth of the xDSL interface. As the available bandwidth of the xDSL interface continually changes, corresponding selections of the signal from multiple signals 205A, 205B, 205C of SPTS 109 are continuously made to adjust the signal sent over the xDSL to the available bandwidth thereof. Because the multiple signals 205A, 205B, 205C, etc. all correspond to the same video channel and carry the same content (albeit at different levels of quality, depending on the bit rate), switching from one of the multiple signals to another does not result in any breaks or discontinuities in the video content delivered to the end-user. Use of metadata 207 insures that the transitions from one signal to another is done seamlessly and without disruption of the video content.
Using Encryption with the Transrating System
[0060] SPTS 109 may optionally undergo encryption via an encryption unit 111 before being sent over network 113. Encryption-related data to enable proper user decryption is typically sent over an Out-of-Band (OOB) channel 117. At the end-user destination, a Set Top Box (STB) 119 handles the decryption.
[0061] According to embodiments of the present disclosure which are utilized with encryption, metadata 207 is not encrypted, but is indicated by a special packet ID (PID) and is sent in clear, so that equipment in the Aggregation Layer can utilize metadata 207 without decryption in generating unicast signals, as detailed herein. In practical terms, metadata 207 carries no content information, so there is no need for encryption of metadata 207.
[0062] As suggested by
Using Statistical Multiplexing with the Transrating System
[0063] Embodiments of the present disclosure are compatible with statistical multiplexing techniques. Encoded video signals using Variable Bit Rate (VBR) usually have a large variance in instantaneous bit rate, depending on the content of the frame being encoded. This variance can be used to statistically multiplex different channels over the same connection to increase the number of channels. Statistical multiplexing, however, is usually insufficient to gain the required effective bandwidth, especially for connections carrying a low number of channels.
[0064] Bandwidth management provided by embodiments of the present disclosure can be used in conjunction with statistical multiplexing, or in place thereof. When statistical multiplexing is used in conjunction with embodiments of the present invention, the available bandwidth of the xDSL interface will depend on the parameters of the statistical multiplexing, and will be taken into account when selecting the particular signal to transmit over the xDSL from among multiple signals 205A, 205B, 205C of SPTS 109.
[0065] The advantages offered by the present disclosure include: [0066] Multirating is performed only once, at the head end. Equipment located before the access edge performs only demultirating. [0067] There is no increase in the content bandwidth sent to the DSLAM. A single channel that complies with all constraints of the end users and the available bandwidth is forwarded to the DSLAM. [0068] There is no impact on standard encryption schemes. [0069] The best possible video signal sent to the end-users, according to instantaneous constraints.
[0070]
[0071]
[0072]
[0073] Each channel is on a separate Single Program Transport Stream (SPTS) as defined in MPEG-TS. This stream usually includes a single video stream, one or more audio streams, and one or more closed caption streams. Also included is a Program Map Table (PMT) 401, which relates each of the different content streams to a unique packet ID (PID), as shown in table 401.
[0074] According to embodiments of the present disclosure as previously discussed, the head end equipment decodes video signal 103 and re-encodes it into multiple signals, employing the same coding scheme, but at a different bit rate for each of the signals. head The end equipment also creates metadata 207 that indicates the minimum required bandwidth per each GOP, and the GOP boundaries. The different bit rate video signals are multiplexed into SPTS 109, as previously described, and a new PMT 403 is generated. PMT 403 also includes the other streams unaltered (audio, closed caption, etc.), as well as metadata 207. It is noted that the different bit rate streams of SPTS 109 each have their own PID, as indicated in PMT 403.
[0075] When encryption is utilized, the encryption is done at the head end by encryption unit 111 (as also shown in
[0076] In this case, an additional new PMT 405 is generated. A content group 409 within PMT 405 includes the encrypted content streams. Also included in PMT 405 is a new stream for Entitlement Control Messages (ECM) 407, to enable authorized end-users to decrypt content. ECM 407 used by Set Top Box (STB) 119 (
[0077] As previously noted, metadata 207 is not encrypted, in order for the edge equipment to create a unicast signal for the end-user without having to perform any decryption, according to embodiments of the present invention. Metadata 207 is given a special PID, as shown.
[0078]
[0079]
[0080] The output of demultirater 115 is a unicast data stream 123 for the end-user, where unicast data stream 123 is made up of sequential segments of different bit rates for sequential Groups of Pictures which are concatenated together to form a continuous data stream 123, an exemplary portion of which is shown in
[0081]
Constant Demultirating
[0082] In an embodiment of the present invention, a demultirating process performs a predetermined constant selection of one of signals 205A, 205B, and 205C. In this embodiment, the unicast signal output from a demultirater is a stream having an encoded bit rate that does not change in time. It is noted that the demultirated output does not necessarily have a constant instantaneous bit rate, because encoding schemes featuring a selectable bit rate are typically variable bit rate schemes, where the instantaneous bit rate depends on the content. What is constant in this embodiment of the present disclosure is the encoded bit rate. As previously noted, an encoded stream may have a constant bit rate (CBR) or variable bit rate (VBR) with constant quality.
[0083] This particular embodiment of the present disclosure is useful in situations where the available bit rate is known in advance, and where the time-variation in the available bit rate does not affect the choice of the demultirated signal.
Methods for Bandwidth Management in Multi-User/Multi-Program Environments
[0084] Embodiments of the present disclosure provide methods for bandwidth management, by computing the proper bit rate to use for selecting from among signals 205A, 205B, and 205C, as shown in
[0085] For methods detailed herein, the following definitions apply: [0086] access linka physical link (such as DSL, shown as access links 307 and 309 in
[0093] According to embodiments of the present invention, the following factors are taken into account, at least some of which may be included in metadata 207 (
[0099] In general, methods according to the present disclosure iterate over at least the following in nested loops: [0100] End-user access links; and [0101] Program (channel) viewed through an access link.
[0102] Additional processing loops may be initiated by events such as: [0103] Elapsing of a predetermined time interval; and [0104] Changes in recommended bit rate.
[0105] Methods according to embodiments of the present disclosure are performed by processing devices, non-limiting examples of which include: computers, servers, routers, switches, DSLAMs, and demultiraters as disclosed herein.
[0106] The detailed methods discussed and illustrated below are examples of how the above definitions and variable quantities are used according to embodiments of the present invention, for bandwidth management. It will be appreciated by those skilled in the art that the following embodiments are non-limiting, and that variations, modifications, and combinations of the following methods are possible.
[0107]
[0108] The method of
[0109] A decision point 811 then determines whether the available bandwidth, per AccessRate, is at least as great as the summation of all requested bit rates.
[0110] If the available bandwidth can handle the requested bit rates, then NominalRate (program) is calculated for each program according to a step 815.
[0111] Otherwise, if the available bandwidth is insufficient to handle the requested bit rates, then NominalRate (program) is calculated for each program according to a step 813.
[0112]
[0113] In initialization steps 901 and 903, ReqRate (program) is set for all programs (video channels). The method of
[0114] A decision point 919 then determines whether ExcessRate is less than zero. If so, then NominalRate (program) is calculated for each program according to a step 921. Otherwise, NominalRate (program) is calculated for each program according to a step 923.
[0115]
[0116] For this method, the following additional definitions apply: [0117] Stream (i)the ith stream number among the different transrated stream rates (e.g., 205A, 205B, 205C, as shown in
[0121] A loop having an entry point 1001 is triggered for every time interval T. A loop having an entry point 1003 iterates for each end-user access link. In an initialization step 1005, a variable SumComplexity is set to zero. A loop having an entry point 1007 iterates for each program viewed through the currently-iterated access link. In a step 1009, Complexity [program] is computed according to AvgQuantizer [stream (i) ], and SumComplexity is updated. In a step 1011, the programs are ranked in order of Complexity [program], and in are initialization step 1013, a variable totalSelRate is set to zero.
[0122] At a loop entry point 1015 programs viewed through the currently-iterated access loop are iterated in order of complexity as ranked by Complexity [program].
[0123] In a step 1017, a variable expectedRate [program] is computed, and in a step 1019 a stream is selected, if possible, whose size over the time interval T is less than or equal to expectedRate [program]*T. If a stream cannot be selected according to this criterion, in a step 1021 the stream with the minimum size is selected. At the end of the loop begun at entry point 1015, totalSelRate and SumComplexity are updated.
[0124] Additional methods for multiplexing channels over an access link (such as xDSL) can be based on SSIM or PSNR values. These methods would involve generating histograms of SSIM or PSNR values over interval T, calculating the mean and standard-deviation values, and statistically computing acceptable SSIM or PSNR scores within the available streams.
Computer Product
[0125] A further embodiment of the present disclosure provides a computer product for performing a method disclosed in the present application or any variant derived therefrom.
[0126] A computer product according to this embodiment includes a set of executable commands for a computer within tangible data storage including, but not limited to: computer media, such as magnetic media and optical media; computer memory; semiconductor memory storage; flash memory storage; data storage devices and hardware components; and a computer or communications network. The terms perform, performing, etc., and run, running, when used with reference to a computer product herein denote that when the executable commands within the computer product are executed, the computer product causes the computer to perform the predefined actions.
[0127] The term computer herein denotes any data processing apparatus capable of, or configured for, executing a set of executable commands to perform a method, including, but not limited to: computers; workstations; servers; gateways; routers; multiplexers and demultiplexers; modulators and demodulators; switches; networks; processors; controllers; digital appliances; and other devices capable of processing data. Devices according to the present invention, along with the components thereof (including, but not limited to multirater 107 and demultirater 115), may be implemented in dedicated hardware, via software in general-purpose hardware, or by a combination thereof.
[0128] While the disclosure has been described with respect to a limited number of embodiments. it will be appreciated that many variations, modifications and other applications of the disclosure may be made.