WO2012060643A1 - Key rotation in live adaptive streaming - Google Patents

Key rotation in live adaptive streaming Download PDF

Info

Publication number
WO2012060643A1
WO2012060643A1 PCT/KR2011/008329 KR2011008329W WO2012060643A1 WO 2012060643 A1 WO2012060643 A1 WO 2012060643A1 KR 2011008329 W KR2011008329 W KR 2011008329W WO 2012060643 A1 WO2012060643 A1 WO 2012060643A1
Authority
WO
WIPO (PCT)
Prior art keywords
box
key
encryption
term
segment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/KR2011/008329
Other languages
French (fr)
Inventor
Sanjeev Verma
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Samsung Electronics Co Ltd filed Critical Samsung Electronics Co Ltd
Priority to CN2011800643994A priority Critical patent/CN103299646A/en
Priority to JP2013537608A priority patent/JP2014500655A/en
Priority to KR1020137013843A priority patent/KR20130099995A/en
Priority to EP11838248.0A priority patent/EP2636217A1/en
Publication of WO2012060643A1 publication Critical patent/WO2012060643A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/088Usage controlling of secret information, e.g. techniques for restricting cryptographic keys to pre-authorized uses, different access levels, validity of crypto-period, different key- or password length, or different strong and weak cryptographic algorithms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management e.g. creating a master electronic programme guide from data received from the Internet and a Head-end or controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4623Processing of entitlement messages, e.g. ECM [Entitlement Control Message] or EMM [Entitlement Management Message]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/14Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using a plurality of keys or algorithms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2347Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving video stream encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/26613Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel for generating or managing keys in general
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4405Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video stream decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/61Network physical structure; Signal processing
    • H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
    • H04N21/6125Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/60Digital content management, e.g. content distribution
    • H04L2209/603Digital right managament [DRM]

Definitions

  • the present invention relates generally to computer software and digital rights management of licensed content. More specifically, it relates to content licensing schemes, networking, and portable computing devices.
  • Sample Groups in ISO-based FFs are used to apply a set of parameters or attributes to a group of samples.
  • CENC FF (adopted by MPEG DASH) allows the application of common set of encryption parameters by new Sample Group Types for a group of samples defined by SampleToGroup box.
  • current group type definitions are very restrictive and cannot be applied to support various conditional access system (CAS) mechanisms.
  • Key rotation allows for rekeying segments of the steam, for example, several times per minute for this extra protection. It would be desirable for widely used file formats to support key rotation efficiently.
  • One widely used file format is the ISO-based File Format. This format does not have an efficient mechanism for key rotation and, therefore, is not used often for live/adaptive streaming of video or data.
  • One aspect of the present invention is a method of enabling secure adaptive streaming of data in an ISO-based file format.
  • a long-term key is received through an initialization segment, the long-term key encrypted using a public key of a service provider, wherein the long-term key is used to encrypt a short-term key.
  • the media player receives a media stream, wherein samples are grouped based on crypto-periods, wherein the media stream is scrambled by short-term keys, wherein the short-term keys change frequently.
  • An encrypted short-term key is received at the media player.
  • the streaming data is rendered on the media player by using the short-term keys to decrypt the samples in the crypto-periods, thereby enabling re-keying of segments of a media stream.
  • a segment encryption box is added to a sidx container box, the encryption box having an additional URL for encryption parameters, an additional encrypted key element to carry encrypted traffic keys, and an initialization vector for each sample for random access.
  • Parameters in a track encryption box are overriden with the encryption parameters.
  • the initialization vector is in the sidx box at the beginning of a segment, and encryption signaling at the segment level and random access to individual samples are enabled.
  • a media player or computing device has a processor, a network interface, and a memory component.
  • the memory component stores an algorithm identifier for identifying an encryption algorithm, an initialization vector size value, and a long-term key identifier for locating a long-term key used for encrypting a short-term key.
  • the present invention enables implementing key rotation needed for live adaptive streaming in a broadcast environment.
  • FIG. 1 is a diagram showing crypto-periods and segment boundaries for four media samples at different qualities
  • FIG. 2 is a block diagram of a Sample Encryption Box in accordance with one embodiment
  • FIG. 3 provides an illustration of segment index box (“sidx”) in 3GP FF in accordance with another embodiment
  • FIG. 4 is a flow diagram of a process of enabling secured live adaptive streaming of data in an ISO-based file format in accordance with one embodiment of the present invention.
  • FIGS. 5A and 5B are diagrams of a computing device suitable for implementing embodiments of the present invention.
  • a method of enabling secure adaptive streaming of data in an ISO-based file format comprising: receiving a long-term key through an initialization segment, the long-term key encrypted using a public key of a service provider, wherein the long-term key is used to encrypt a short-term key; receiving a media stream, wherein samples are grouped based on a plurality of crypto-periods, wherein the media stream is scrambled by a plurality of short-term keys, wherein the short-term keys changes frequently, receiving an encrypted short-term key; and rendering the streaming data by using the plurality of short-term keys to decrypt the samples in the plurality of crypto-periods, thereby enabling re-keying of segments of a media stream.
  • the method may further comprise: storing the short-term key, an encryption algorithm identifier, and initialization vector length in a sample group type box.
  • the key rotation for the ISO-based file format media stream may be supported.
  • the method may further comprise receiving a decryption key.
  • the sample group type box may support conditional access systems.
  • the method may further comprise: storing default values in a TrackEncryptionBox.
  • the method may further comprise: signaling the long-term key through a ‘pssh’ box in a ‘moov’ container box.
  • the method may further comprise: grouping samples belonging to a crypto-period to achieve key rotation.
  • a method of creating a data stream in MPEG-TS comprising: adding a segment encryption box in a sidx container box, said encryption box having an additional URL for encryption parameters, an additional encrypted key element to carry encrypted traffic keys, and an initialization vector for each sample for random access; and overriding parameters in a track encryption box with said encryption parameters, wherein the initialization vector is in the sidx box at the beginning of a segment, and wherein encryption signaling at the segment level and random access to individual samples are enabled.
  • the sidx container box may appear at a segment level where reference is to segment index boxes at sub-segment levels and to a movie fragment box at a sub-segment level.
  • extensions to common encryption signaling format may be provided.
  • the method may further comprise providing a sample encryption box.
  • the method may further comprise: providing signaling at a segment level for random access and relative timing information.
  • a media player comprising: a processor; a network interface; and a memory component storing an algorithm identifier for identifying an encryption algorithm, an initialization vector size value, and a long-term key identifier for locating a long-term key used for encrypting a short-term key.
  • the memory component may further store a sample group type box for storing said encryption algorithm, initialization vector size value, and long-term key identifier.
  • samples of a media stream are grouped based on crypto-period to achieve key rotation.
  • Embodiments of the present invention are related to current developments in MPEG regarding ISO-based file format (FF).
  • metadata is added or provides extensions to two FFs, namely, ISO-based FF (also known as MP4 FF) and MPEG2-TS.
  • the PIFF/DECE FF technology is related to various embodiments of the present invention.
  • PIFF Protected Interoperable File Format
  • the “TrackEncryptionBox” is put at a high-level as a part of the “moov” container box and carries encryption parameters for the entire audio or video track.
  • a “Sample Encryption Box” at movie fragment (“moof”) carries encryption parameters that can override those carried in “TrackEncryptionBox” and carries initialization vector parameter for the samples in the “moof” container to allow for random access.
  • key rotation may be needed, i.e. re-keying every few seconds for extra protection.
  • the invention introduces a new Sample Group Type box in ISO-based FF to support key rotation required in adaptive streaming use cases, especially for live adaptive streaming.
  • the invention allows for a mapping from MPEG2-TS FF to ISO-based FF with the introduction of this new Sample Group Type by embedding metadata required for key rotation.
  • the present invention enables implementing key rotation needed for live adaptive streaming in a broadcast environment.
  • existing FFs either do not support key rotation or support it in an inefficient and cumbersome manner.
  • the new Sample Group type enables key rotation.
  • the definition or type can be used with all ISO-based common encryption file formats.
  • the ISO-based FF is used to illustrate various embodiments of the invention.
  • the goal of encryption signaling in a data stream is to pass encryption parameters such as encryption algorithm identifier, master key (also referred to as long-term key) identifier, initialization vector (IV), and a decryption key, to a media player so that the player can render the streamed content.
  • encryption parameters such as encryption algorithm identifier, master key (also referred to as long-term key) identifier, initialization vector (IV), and a decryption key, to a media player so that the player can render the streamed content.
  • master key also referred to as long-term key
  • IV initialization vector
  • decryption key a decryption key
  • Live streaming mechanisms use key rotation (that is, a decryption key for the content is changed several times per minute by the service provider) so that controlled access to broadcasted streamed content is provided to the subscribers in a secure and tamper-proof manner.
  • key rotation that is, a decryption key for the content is changed several times per minute by the service provider
  • DVD Digital Video Broadcast
  • DVB has defined conditional access system (CAS) standards that define methods by which a media content stream can be obfuscated and where access is provided only to authorized subscribers who have a valid decryption key.
  • the encryption parameters are typically carried in CAS systems through Entitlement Control Messages (ECMs) in MPEG2-TS.
  • ECMs Entitlement Control Messages
  • the present invention provides extensions to Common Encryption Signaling Format (CENC) (ISO-based FF) to support live adaptive streaming.
  • CENC Common Encryption Signaling Format
  • ISO-based FF Independent Binary Arithmetic Coding Format
  • an adaptive streaming mechanism is used to broadcast live content to a potentially large number of subscribers.
  • a new Sample Group Type box is defined by extending the sample group boxes for audio and video tracks by adding elements needed to carry encryption signaling parameters for live adaptive streaming. This supports various CAS systems.
  • Various embodiments of the invention address the issue of enabling encryption signaling for both ISO-based FF and MPEG2-TS FF by adding metadata at appropriate places to support live adaptive streaming use case.
  • Default values for encryption parameters: algorithm ID, IV_size, and master key ID, are in the TrackEncryptionBox (part of the “moov” box).
  • AlgorithmID an identifier of the signal encryption mechanism, e.g., AES-CBC, AES-CTR etc.
  • KeyID Key Identifier for the master key (long-term) encryption key.
  • IV_size Initialization Vector size.
  • sourceURL An out-of-band mechanism to signal other encryption parameters (specific to other encryption mechanisms); this is used mainly as a placeholder.
  • step one the media stream is scrambled by a short-term key (control word) that is changed several times per minute by the service provider.
  • the short-term key is sent in encrypted form by the service provider in the ECM (Entitlement Control Message).
  • step two the short term key is protected using a high-level authorization key (long-term key) sent to the subscriber in an Entitlement Management Message (EMM).
  • ECM Entitlement Management Message
  • a media player may be provided with several representations or qualities (different network rates, quality, and the like) of the same media stream.
  • the media player can adapt to existing network conditions (typically relating to bandwidth) by switching between these representations at segment boundaries.
  • Each representation consists of several segments that can be individually accessed through URLs provided in a manifest file (e.g., an MPD file).
  • FIG. 1 is a diagram showing crypto-periods and segment boundaries for four media samples at different qualities.
  • a representation group 102 is made up of four representations (1-4), representing different qualities of service, such as bandwidth.
  • the short-term keys change at the crypto-boundaries.
  • a crypto-boundary is defined by a short-term key and a set of encryption parameters.
  • a segment is shown by vertical lines 114, 116, 118, and so on. The segment boundaries may not match up with the crypto-boundaries, as shown in FIG. 1.
  • the present invention provides a mechanism to apply certain encryption parameters and decryption keys to a group of samples belonging to a crypto-period. This can be achieved by defining a new Sample Group Type box to associate encryption parameters to a group of samples. In other embodiments, multiple boxes would be needed, one for each media stream. A similar box would be needed for an audio track.
  • the first step in the scheme is for the subscriber to obtain a long-term key through a service-provider specific mechanism.
  • a service-provider specific mechanism For example, it may be signaled through the “pssh” box in the “moov” container box.
  • it can be an OMA DRM key.
  • This is a high-level or master key related to the subscription and can be delivered to each subscriber and is encrypted using the public key of the subscriber.
  • This long-term or master key is used by the service provider to encrypt the short-term key.
  • key rotation can be achieved by grouping samples belonging to a crypto-period.
  • the samples are assigned a set of encryption parameters through a new SampleDescriptionBox containing the sample group.
  • An opaque box may be defined allowing different service providers to provide system specific parameters. This opaque box may contain a decryption key for the crypto-period, where the decryption key is encrypted using the master key that a subscriber obtains in the first step through a “moov” box or inititialization segment.
  • a short-term key, K1 is encrypted using the master key, which is obtained from Key ID.
  • the “moov” header contains the Key ID, which identifies the master key.
  • a sample group type box (one for video and one for audio) contains the Key ID (pointer to a master key).
  • the short-term key is the key that is encrypted using the long-term key.
  • the media player first gets the master key in the Sample Group Type box. It does this using the KID. This is followed by the media player decrypting the short-term key in the same box using the master key.
  • FIG. 2 is a block diagram of a Sample Encryption Box 202. It contains a sample group definition that includes an algorithm ID 204, an IV_size 206, and a KID 208.
  • New box 202 which may be referred to in one embodiment as “CencKeyRotSampleEncryptionInformationVideoGroupEntry”, enables key rotation in ISO-based file formats. The code below illustrates one embodiment for video track.
  • key rotation is enabled for MPEG2-TS file format.
  • key rotation is done using the “sidx” box for adaptive streaming because all the packets need to be scanned to see where encryption signaling starts.
  • This additional box in front of the media segment (referred from segment index box), is used for encryption signaling and randomly accessing a sample within the segment.
  • MPEG2-TS signals encryption parameters through ECMs embedded in the transport stream.
  • ECMs Entitlement Control Messages
  • random access to a sample in the stored file is not possible in case of current MPEG2-TS packet stream. The media player needs to go sequentially through stored TS packets to find the encryption parameters associated with a random sample.
  • placement of the encryption box in the 3GP FF is important.
  • Adaptive streaming has a notion of segments, i.e. audio/video streams are segmented into fixed sized chunks (each typically a few seconds long).
  • MPEG2-TS 3GP has added an additional “sidx” box for segmentation.
  • the invention involves adding an encryption signaling element into the 3GP FF. This box enables both encryption signaling at the segment level, in addition to random access to individual samples in the segment. Random access is an important concept in adaptive streaming because it facilitates trick play. It should be possible to access any sample within the media segment.
  • FIG. 3 provides an illustration of segment index box (“sidx”) in 3GP FF.
  • the main purpose of this box is to provide signaling at segment level for random access (offset etc.) and relative timing information (note that there is no concept of absolute timing in ISO-based FF in comparison to MPEG2-TS).
  • This box appears at basically two levels: segment level where reference is to segment index boxes at sub-segment levels, and at the sub-segment level, where the reference is to a movie fragment box (“moof” box).
  • the encryption signaling box is added at the segment level box (“sidx”) in the 3GP FF.
  • the invention targets the live/adaptive streaming case, where frequent re-keying might be needed for additional protection.
  • the invention adds an additional “SegmentEncryptionBox” (“sidx” box) to the 3GP FF to carry encryption parameters at the segment level. These parameters are: AlgoirthmID (AES-CBC, AES-CTR etc.), KeyID (encryption key identifier; key delivered through a separate protocol/mechanism), and IV_Size.
  • an additional URL may be included so that additional security parameters can be retrieved by the media player.
  • an additional box is added to 3GP FF, before a media segment.
  • a segment is an adaptive streaming concept where a media stream is divided into fixed size segments to adapt to, by switching to a different rate, changing network environments, etc..
  • This additional sidx box contains the encryptions parameters that may change every few seconds. It also allows random access to a Sample within the segment.
  • the AES-CBC encryption mechanism is a commonly used mechanism in the industry to encrypt media content.
  • a first sample (block) needs an encryption parameter IV in a CBC block chain.
  • the remaining samples use the ciphertext out of the preceding samples as the IV. Therefore, in order to randomly access a sample, the media player has to do all the ciphertext calculation in the daisy chain. This can be very time consuming for a media player.
  • the invention signals all initialization vectors (IVs) through the first “sidx” box that refers to all sub-segment level “sidx” boxes. This enables a media player to randomly access any intermediate Sample.
  • Segment Index Box (“sidx” box).
  • FIG. 3 is a diagram showing a first sidx box and a segment.
  • a first sidx box 302 references a segment 304. Segment 304 is divided into sub-segments 306a, 306b, 306c...
  • the first sidx box 302 references the segment index boxes (“sidx” boxes) of the sub-segments 306a,b...contained within segment container 304.
  • the inner sidx boxes, such as box 308, references the first movie fragment of the sub-segment. Each sub-segment consists of one or more movie fragments. Each movie fragment consists of one or more samples.
  • FIG. 4 is a flow diagram of a process of enabling secured live adaptive streaming of data in an ISO-based file format in accordance with one embodiment of the present invention.
  • an initialization segment of the media stream provides the media player with a long-term key.
  • the long-term key is used to encrypt a short-term (control word) key that is used to define crypto-boundaries.
  • the media player receives the media stream having samples grouped based on crypto-periods, as described above.
  • the media stream is scrambled by multiple short-term keys, which change frequently, e.g., every 5-10 seconds. The short-term keys are decrypted using the long-term key.
  • the media player receives encrypted short-term keys in an entitlement control message (ECM).
  • ECM entitlement control message
  • the media stream is played or rendered on the media player by using the multiple short-term keys to decrypt the samples in the crypto-periods. This process as a whole enables re-keying of segments in the media stream.
  • FIGS. 5A and 5B illustrate a computing or software execution device 500 suitable for implementing specific embodiments of the present invention.
  • FIG. 5A shows one possible physical implementation of a computing system.
  • system 500 includes a display 504. It may also have a keyboard 510 that is shown on display 504 or may be a physical component that is part of the device housing. It may have various ports such as HDMI, DVI, or USB ports (not shown).
  • Computer-readable media that may be coupled to device 500 may include USB memory devices and various types of memory chips, sticks, and cards.
  • FIG. 5B is an example of a block diagram for computing system 500. Attached to system bus 520 is a variety of subsystems. Processor(s) 522 are coupled to storage devices including memory 524. Memory 524 may include random access memory (RAM) and read-only memory (ROM). As is well known in the art, ROM acts to transfer data and instructions uni-directionally to the CPU and RAM is used typically to transfer data and instructions in a bi-directional manner. Both of these types of memories may include any suitable of the computer-readable media described below. A fixed disk 526 is also coupled bi-directionally to processor 522; it provides additional data storage capacity and may also include any of the computer-readable media described below.
  • RAM random access memory
  • ROM read-only memory
  • Fixed disk 526 may be used to store programs, data and the like and is typically a secondary storage medium that is slower than primary storage. It will be appreciated that the information retained within fixed disk 526, may, in appropriate cases, be incorporated in standard fashion as virtual memory in memory 524.
  • Processor 522 is also coupled to a variety of input/output devices such as display 504 and network interface 540.
  • an input/output device may be any of: video displays, keyboards, microphones, touch-sensitive displays, tablets, styluses, voice or handwriting recognizers, biometrics readers, or other devices.
  • Processor 522 optionally may be coupled to another computer or telecommunications network using network interface 540. With such a network interface, it is contemplated that the CPU might receive information from the network, or might output information to the network in the course of performing the above-described method steps.
  • method embodiments of the present invention may execute solely upon processor 522 or may execute over a network such as the Internet in conjunction with a remote processor that shares a portion of the processing.
  • embodiments of the present invention further relate to computer storage products with a computer-readable medium that have computer code thereon for performing various computer-implemented operations.
  • the media and computer code may be those specially designed and constructed for the purposes of the present invention, or they may be of the kind well known and available to those having skill in the computer software arts.
  • Examples of computer-readable media include, but are not limited to: magnetic media such as hard disks, floppy disks, and magnetic tape; optical media such as CD-ROMs and holographic devices; magneto-optical media such as floptical disks; and hardware devices that are specially configured to store and execute program code, such as application-specific integrated circuits (ASICs), programmable logic devices (PLDs) and ROM and RAM devices.
  • Examples of computer code include machine code, such as produced by a compiler, and files containing higher-level code that are executed by a computer using an interpreter.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

Key rotation required for adaptive streaming of data is described. Metadata is added or provides extensions to two file formats, namely, ISO-based FF (also known as MP4 FF) and MPEG2-TS. A new Sample Group Type box in ISO-based FF is introduced to support key rotation required in adaptive streaming use cases, especially for live adaptive streaming. A mapping from MPEG2-TS FF to ISO-based FF is also enabled with the introduction of this new Sample Group Type by embedding metadata required for key rotation. Key rotation needed for live adaptive streaming in a broadcast environment is enabled.

Description

KEY ROTATION IN LIVE ADAPTIVE STREAMING
The present invention relates generally to computer software and digital rights management of licensed content. More specifically, it relates to content licensing schemes, networking, and portable computing devices.
Specific file formats, such as MPEG2-TS (transport stream), PIFF, DECE, and CENC file formats meet the encryption signaling requirements for certain uses, specifically, for the “download” use case, so only single key is needed. Here, a file, such as a video or music, is downloaded in its entirety first, and then played on the media device.
However, in the live adaptive streaming use case, many file formats do not provide efficient key rotation, which is often needed for extra protection in live/adaptive streaming of files, or they do not provide it at all. As is known in the art, in live/adaptive streaming, a file is steaming to a media device. The source of the file is often broadcasting the video or data to many entities, so additional protection is needed because many subscribers will be getting the file, as such, the file should not be compromised. For this reason, extra security may be needed in protecting the streaming video or data.
Some existing FFs do not have any mechanism to support key rotation required for live streaming in broadcast environments. Sample Groups in ISO-based FFs are used to apply a set of parameters or attributes to a group of samples. CENC FF (adopted by MPEG DASH) allows the application of common set of encryption parameters by new Sample Group Types for a group of samples defined by SampleToGroup box. However, current group type definitions are very restrictive and cannot be applied to support various conditional access system (CAS) mechanisms.
Key rotation allows for rekeying segments of the steam, for example, several times per minute for this extra protection. It would be desirable for widely used file formats to support key rotation efficiently. One widely used file format is the ISO-based File Format. This format does not have an efficient mechanism for key rotation and, therefore, is not used often for live/adaptive streaming of video or data.
In the live adaptive streaming use case, many file formats do not provide efficient key rotation, which is often needed for extra protection in live/adaptive streaming of files, or they do not provide it at all.
One aspect of the present invention is a method of enabling secure adaptive streaming of data in an ISO-based file format. A long-term key is received through an initialization segment, the long-term key encrypted using a public key of a service provider, wherein the long-term key is used to encrypt a short-term key. The media player receives a media stream, wherein samples are grouped based on crypto-periods, wherein the media stream is scrambled by short-term keys, wherein the short-term keys change frequently. An encrypted short-term key is received at the media player. The streaming data is rendered on the media player by using the short-term keys to decrypt the samples in the crypto-periods, thereby enabling re-keying of segments of a media stream.
In another aspect of the present invention, a method of creating a data stream in MPEG-TS is described. A segment encryption box is added to a sidx container box, the encryption box having an additional URL for encryption parameters, an additional encrypted key element to carry encrypted traffic keys, and an initialization vector for each sample for random access. Parameters in a track encryption box are overriden with the encryption parameters. The initialization vector is in the sidx box at the beginning of a segment, and encryption signaling at the segment level and random access to individual samples are enabled.
In another aspect of the present invention, a media player or computing device has a processor, a network interface, and a memory component. The memory component stores an algorithm identifier for identifying an encryption algorithm, an initialization vector size value, and a long-term key identifier for locating a long-term key used for encrypting a short-term key.
The present invention enables implementing key rotation needed for live adaptive streaming in a broadcast environment.
The invention and the advantages thereof may best be understood by reference to the following description taken in conjunction with the accompanying drawings in which:
FIG. 1 is a diagram showing crypto-periods and segment boundaries for four media samples at different qualities;
FIG. 2 is a block diagram of a Sample Encryption Box in accordance with one embodiment;
FIG. 3 provides an illustration of segment index box (“sidx”) in 3GP FF in accordance with another embodiment;
FIG. 4 FIG. 4 is a flow diagram of a process of enabling secured live adaptive streaming of data in an ISO-based file format in accordance with one embodiment of the present invention; and
FIGS. 5A and 5B are diagrams of a computing device suitable for implementing embodiments of the present invention.
In the drawings, like reference numerals are sometimes used to designate like structural elements. It should also be appreciated that the depictions in the figures are diagrammatic and not to scale.
According to an aspect of an exemplary embodiment, there is provided a method of enabling secure adaptive streaming of data in an ISO-based file format, the method comprising: receiving a long-term key through an initialization segment, the long-term key encrypted using a public key of a service provider, wherein the long-term key is used to encrypt a short-term key; receiving a media stream, wherein samples are grouped based on a plurality of crypto-periods, wherein the media stream is scrambled by a plurality of short-term keys, wherein the short-term keys changes frequently, receiving an encrypted short-term key; and rendering the streaming data by using the plurality of short-term keys to decrypt the samples in the plurality of crypto-periods, thereby enabling re-keying of segments of a media stream.
The method may further comprise: storing the short-term key, an encryption algorithm identifier, and initialization vector length in a sample group type box.
In the method, the key rotation for the ISO-based file format media stream may be supported.
The method may further comprise receiving a decryption key.
The sample group type box may support conditional access systems.
The method may further comprise: storing default values in a TrackEncryptionBox.
The method may further comprise: signaling the long-term key through a ‘pssh’ box in a ‘moov’ container box.
The method may further comprise: grouping samples belonging to a crypto-period to achieve key rotation.
According to another aspect of an exemplary embodiment of the present invention, there is provided a method of creating a data stream in MPEG-TS, the method comprising: adding a segment encryption box in a sidx container box, said encryption box having an additional URL for encryption parameters, an additional encrypted key element to carry encrypted traffic keys, and an initialization vector for each sample for random access; and overriding parameters in a track encryption box with said encryption parameters, wherein the initialization vector is in the sidx box at the beginning of a segment, and wherein encryption signaling at the segment level and random access to individual samples are enabled.
The sidx container box may appear at a segment level where reference is to segment index boxes at sub-segment levels and to a movie fragment box at a sub-segment level.
In the method, extensions to common encryption signaling format (CENC) may be provided.
The method may further comprise providing a sample encryption box.
The method may further comprise: providing signaling at a segment level for random access and relative timing information.
Accoridng to yet another aspect of an exemplary embodiment of the present invention, there is provided a media player comprising: a processor; a network interface; and a memory component storing an algorithm identifier for identifying an encryption algorithm, an initialization vector size value, and a long-term key identifier for locating a long-term key used for encrypting a short-term key.
The memory component may further store a sample group type box for storing said encryption algorithm, initialization vector size value, and long-term key identifier.
In the media player, samples of a media stream are grouped based on crypto-period to achieve key rotation.
Methods and systems for supporting key rotation required for adaptive streaming of data are described in the various figures. Embodiments of the present invention are related to current developments in MPEG regarding ISO-based file format (FF). In one embodiment metadata is added or provides extensions to two FFs, namely, ISO-based FF (also known as MP4 FF) and MPEG2-TS.
The PIFF/DECE FF technology is related to various embodiments of the present invention. PIFF (Protected Interoperable File Format) adds three additional boxes to ISO Base FF for protection signaling through UUID extensions. There are two boxes for encryption signaling: “TrackEncryptionBox” and “SampleEncryptionBox” in PIFF/DECE FF to signal encryption parameters. The “TrackEncryptionBox” is put at a high-level as a part of the “moov” container box and carries encryption parameters for the entire audio or video track. A “Sample Encryption Box” at movie fragment (“moof”) carries encryption parameters that can override those carried in “TrackEncryptionBox” and carries initialization vector parameter for the samples in the “moof” container to allow for random access. However, in the case of live or adaptive streaming, key rotation may be needed, i.e. re-keying every few seconds for extra protection.
In one embodiment, the invention introduces a new Sample Group Type box in ISO-based FF to support key rotation required in adaptive streaming use cases, especially for live adaptive streaming. In another embodiment, the invention allows for a mapping from MPEG2-TS FF to ISO-based FF with the introduction of this new Sample Group Type by embedding metadata required for key rotation.
The present invention enables implementing key rotation needed for live adaptive streaming in a broadcast environment. As mentioned, existing FFs either do not support key rotation or support it in an inefficient and cumbersome manner.
The new Sample Group type enables key rotation. The definition or type can be used with all ISO-based common encryption file formats. In the described embodiment, the ISO-based FF is used to illustrate various embodiments of the invention.
The goal of encryption signaling in a data stream is to pass encryption parameters such as encryption algorithm identifier, master key (also referred to as long-term key) identifier, initialization vector (IV), and a decryption key, to a media player so that the player can render the streamed content. In certain types of adaptive streaming, streams are divided into movie fragments, each fragment having a number of samples.
Live streaming mechanisms use key rotation (that is, a decryption key for the content is changed several times per minute by the service provider) so that controlled access to broadcasted streamed content is provided to the subscribers in a secure and tamper-proof manner. One such broadcast system is Digital Video Broadcast (DVB).
DVB has defined conditional access system (CAS) standards that define methods by which a media content stream can be obfuscated and where access is provided only to authorized subscribers who have a valid decryption key. The encryption parameters are typically carried in CAS systems through Entitlement Control Messages (ECMs) in MPEG2-TS.
The present invention provides extensions to Common Encryption Signaling Format (CENC) (ISO-based FF) to support live adaptive streaming. In this use case, an adaptive streaming mechanism is used to broadcast live content to a potentially large number of subscribers.
As noted, in various embodiments, a new Sample Group Type box is defined by extending the sample group boxes for audio and video tracks by adding elements needed to carry encryption signaling parameters for live adaptive streaming. This supports various CAS systems.
Various embodiments of the invention address the issue of enabling encryption signaling for both ISO-based FF and MPEG2-TS FF by adding metadata at appropriate places to support live adaptive streaming use case. Default values for encryption parameters: algorithm ID, IV_size, and master key ID, are in the TrackEncryptionBox (part of the “moov” box).
1. AlgorithmID: an identifier of the signal encryption mechanism, e.g., AES-CBC, AES-CTR etc.
2. KeyID: Key Identifier for the master key (long-term) encryption key.
3. IV_size: Initialization Vector size.
4. sourceURL: An out-of-band mechanism to signal other encryption parameters (specific to other encryption mechanisms); this is used mainly as a placeholder.
Currently, under the DVB standard, CAS deploys methods by which a live broadcast media stream is obfuscated and access is provided only to subscribers. This is presently achieved through a two-step encryption mechanism. In step one, the media stream is scrambled by a short-term key (control word) that is changed several times per minute by the service provider. The short-term key is sent in encrypted form by the service provider in the ECM (Entitlement Control Message). At step two the short term key is protected using a high-level authorization key (long-term key) sent to the subscriber in an Entitlement Management Message (EMM).
Similar mechanisms can be used by service providers to provide live adaptive streaming to a set of users. In adaptive streaming, a media player may be provided with several representations or qualities (different network rates, quality, and the like) of the same media stream. The media player can adapt to existing network conditions (typically relating to bandwidth) by switching between these representations at segment boundaries. Each representation consists of several segments that can be individually accessed through URLs provided in a manifest file (e.g., an MPD file).
As noted, in the live adaptive streaming case, a service provider provides an extra layer of security (as defined by various CAS standards) by changing keys several times in a minute, that is, by key rotation. This means that certain security parameters are applied to media samples over a certain time period. These time periods, referred to as crypto-periods, may not be aligned with the segment boundaries. FIG. 1 is a diagram showing crypto-periods and segment boundaries for four media samples at different qualities. A representation group 102 is made up of four representations (1-4), representing different qualities of service, such as bandwidth. A series of crypto- periods 104, 106, 108 and so on, each have crypto-boundaries at the ends of each of the periods (the periods are shown as having different weighted or shaded lines). The short-term keys change at the crypto-boundaries. A crypto-boundary is defined by a short-term key and a set of encryption parameters. A segment, however, is shown by vertical lines 114, 116, 118, and so on. The segment boundaries may not match up with the crypto-boundaries, as shown in FIG. 1. The present invention provides a mechanism to apply certain encryption parameters and decryption keys to a group of samples belonging to a crypto-period. This can be achieved by defining a new Sample Group Type box to associate encryption parameters to a group of samples. In other embodiments, multiple boxes would be needed, one for each media stream. A similar box would be needed for an audio track.
In one embodiment, the first step in the scheme is for the subscriber to obtain a long-term key through a service-provider specific mechanism. For example, it may be signaled through the “pssh” box in the “moov” container box. For instance, it can be an OMA DRM key. This is a high-level or master key related to the subscription and can be delivered to each subscriber and is encrypted using the public key of the subscriber. This long-term or master key is used by the service provider to encrypt the short-term key.
In the second step, key rotation can be achieved by grouping samples belonging to a crypto-period. The samples are assigned a set of encryption parameters through a new SampleDescriptionBox containing the sample group. An opaque box may be defined allowing different service providers to provide system specific parameters. This opaque box may contain a decryption key for the crypto-period, where the decryption key is encrypted using the master key that a subscriber obtains in the first step through a “moov” box or inititialization segment.
In the “moov” box, there is a Key ID that identifies high-level or master key. A short-term key, K1, is encrypted using the master key, which is obtained from Key ID. The “moov” header contains the Key ID, which identifies the master key. A sample group type box (one for video and one for audio) contains the Key ID (pointer to a master key). The short-term key is the key that is encrypted using the long-term key. The media player first gets the master key in the Sample Group Type box. It does this using the KID. This is followed by the media player decrypting the short-term key in the same box using the master key.
Below is the Sample Group Type box definition that contains certain encryption signaling parameters associated with the crypto-period. FIG. 2 is a block diagram of a Sample Encryption Box 202. It contains a sample group definition that includes an algorithm ID 204, an IV_size 206, and a KID 208. New box 202, which may be referred to in one embodiment as “CencKeyRotSampleEncryptionInformationVideoGroupEntry”, enables key rotation in ISO-based file formats. The code below illustrates one embodiment for video track.
aligned(8) class CencKeyRotSampleEncryptionInformationVideoGroupEntry
extends VideoSampleGroupDescriptionEntry(‘serg’)
{
unsigned int(24) AlgorithmID;
unsigned int(8) IV_size;
unsigned int(8)[16] KID;
//Identifies the Long-term or Master key
//delivered using protection system specific
//key management protocol.
unsigned int(32) KeySize;
unsigned int (8)[KeySize] encryptedKey;
//short-term key encrypted using Long-term or Master Key.
}
The code below illustrates another embodiment for an audio track.
aligned(8) class CencKeyRotSampleEncryptionInformationAudioGroupEntry
extends AudioSampleGroupDescriptionEntry(‘serg’)
{
unsigned int(24) AlgorithmID;
unsigned int(8) IV_size;
unsigned int(8)[16] KID;
//Identifies the Long-term or Master key
//delivered using protection system specific
//key management protocol.
unsigned int(32) KeySize;
unsigned int (8)[KeySize] encryptedKey;
//short-term key encrypted using Long-term or Master Key
}
In another embodiment, key rotation is enabled for MPEG2-TS file format. Here key rotation is done using the “sidx” box for adaptive streaming because all the packets need to be scanned to see where encryption signaling starts. Thus, from the sidx box, it is possible to do encryption signaling for segments. This additional box, in front of the media segment (referred from segment index box), is used for encryption signaling and randomly accessing a sample within the segment. MPEG2-TS signals encryption parameters through ECMs embedded in the transport stream. Currently MPEG2-TS uses ECMs (Entitlement Control Messages) for encryption signaling. However, random access to a sample in the stored file is not possible in case of current MPEG2-TS packet stream. The media player needs to go sequentially through stored TS packets to find the encryption parameters associated with a random sample.
In one embodiment, placement of the encryption box in the 3GP FF is important. Adaptive streaming has a notion of segments, i.e. audio/video streams are segmented into fixed sized chunks (each typically a few seconds long). As noted, MPEG2-TS 3GP has added an additional “sidx” box for segmentation. In one embodiment, the invention involves adding an encryption signaling element into the 3GP FF. This box enables both encryption signaling at the segment level, in addition to random access to individual samples in the segment. Random access is an important concept in adaptive streaming because it facilitates trick play. It should be possible to access any sample within the media segment.
FIG. 3 provides an illustration of segment index box (“sidx”) in 3GP FF. The main purpose of this box is to provide signaling at segment level for random access (offset etc.) and relative timing information (note that there is no concept of absolute timing in ISO-based FF in comparison to MPEG2-TS). This box appears at basically two levels: segment level where reference is to segment index boxes at sub-segment levels, and at the sub-segment level, where the reference is to a movie fragment box (“moof” box).
In one embodiment, the encryption signaling box is added at the segment level box (“sidx”) in the 3GP FF. In one embodiment, the invention targets the live/adaptive streaming case, where frequent re-keying might be needed for additional protection.
In one embodiment, the invention adds an additional “SegmentEncryptionBox” (“sidx” box) to the 3GP FF to carry encryption parameters at the segment level. These parameters are: AlgoirthmID (AES-CBC, AES-CTR etc.), KeyID (encryption key identifier; key delivered through a separate protocol/mechanism), and IV_Size. In one embodiment, an additional URL may be included so that additional security parameters can be retrieved by the media player.
As noted, in one embodiment, an additional box, the “sidx” box, is added to 3GP FF, before a media segment. A segment is an adaptive streaming concept where a media stream is divided into fixed size segments to adapt to, by switching to a different rate, changing network environments, etc.. This additional sidx box contains the encryptions parameters that may change every few seconds. It also allows random access to a Sample within the segment.
The AES-CBC encryption mechanism is a commonly used mechanism in the industry to encrypt media content. A first sample (block) needs an encryption parameter IV in a CBC block chain. The remaining samples use the ciphertext out of the preceding samples as the IV. Therefore, in order to randomly access a sample, the media player has to do all the ciphertext calculation in the daisy chain. This can be very time consuming for a media player. Thus, it would be preferable and more efficient to have the IV for all the samples signaled to the media player through an element or box in the FF, such as in the “sidx” box.
In one embodiment, the invention signals all initialization vectors (IVs) through the first “sidx” box that refers to all sub-segment level “sidx” boxes. This enables a media player to randomly access any intermediate Sample. The syntax of the “SegmentEncryptionBox” is shown below. Note that “reference_type” indicates whether the reference is being made to another “sidx” box(reference_type=1) or to a movie fragment box (“moof”) (reference_type=0). In this embodiment, all the IVs are put in the first “sidx” box that refers to all samples within a segment.
SegmentEncryptionBox
Aligned(8) class SegmentEncryptionBox extends FullBox(“uuid”, extended_type=0x…version0..
{
if(flags&override)
{
unsigned int(24) AlgorithmID;
unsigned int(8) IV_size;
unsigned int(8)[16] KID;
string sourceURL:
/*retrieve additional security parameters*/
}
if (reference_type==1){
unsigned int(32) reference _count
{
unsigned int (IV_size) Initialization vector}
}
}
Below is the syntax of a Segment Index Box (“sidx” box).
Figure PCTKR2011008329-appb-I000001
FIG. 3 is a diagram showing a first sidx box and a segment. A first sidx box 302 references a segment 304. Segment 304 is divided into sub-segments 306a, 306b, 306c… The first sidx box 302 references the segment index boxes (“sidx” boxes) of the sub-segments 306a,b…contained within segment container 304. The inner sidx boxes, such as box 308, references the first movie fragment of the sub-segment. Each sub-segment consists of one or more movie fragments. Each movie fragment consists of one or more samples.
FIG. 4 is a flow diagram of a process of enabling secured live adaptive streaming of data in an ISO-based file format in accordance with one embodiment of the present invention. At step 402 an initialization segment of the media stream provides the media player with a long-term key. In one embodiment, the long-term key is used to encrypt a short-term (control word) key that is used to define crypto-boundaries. At step 404 the media player receives the media stream having samples grouped based on crypto-periods, as described above. In one embodiment, the media stream is scrambled by multiple short-term keys, which change frequently, e.g., every 5-10 seconds. The short-term keys are decrypted using the long-term key. At step 406 the media player receives encrypted short-term keys in an entitlement control message (ECM). At step 408 the media stream is played or rendered on the media player by using the multiple short-term keys to decrypt the samples in the crypto-periods. This process as a whole enables re-keying of segments in the media stream.
As noted above, there are various types of computing or software execution devices and systems utilized in the in the present invention, including but not limited to license servers, TVs, and mobile devices (such as cell phones, tablets, media players, and the like). FIGS. 5A and 5B illustrate a computing or software execution device 500 suitable for implementing specific embodiments of the present invention. FIG. 5A shows one possible physical implementation of a computing system. In one embodiment, system 500 includes a display 504. It may also have a keyboard 510 that is shown on display 504 or may be a physical component that is part of the device housing. It may have various ports such as HDMI, DVI, or USB ports (not shown). Computer-readable media that may be coupled to device 500 may include USB memory devices and various types of memory chips, sticks, and cards.
FIG. 5B is an example of a block diagram for computing system 500. Attached to system bus 520 is a variety of subsystems. Processor(s) 522 are coupled to storage devices including memory 524. Memory 524 may include random access memory (RAM) and read-only memory (ROM). As is well known in the art, ROM acts to transfer data and instructions uni-directionally to the CPU and RAM is used typically to transfer data and instructions in a bi-directional manner. Both of these types of memories may include any suitable of the computer-readable media described below. A fixed disk 526 is also coupled bi-directionally to processor 522; it provides additional data storage capacity and may also include any of the computer-readable media described below. Fixed disk 526 may be used to store programs, data and the like and is typically a secondary storage medium that is slower than primary storage. It will be appreciated that the information retained within fixed disk 526, may, in appropriate cases, be incorporated in standard fashion as virtual memory in memory 524.
Processor 522 is also coupled to a variety of input/output devices such as display 504 and network interface 540. In general, an input/output device may be any of: video displays, keyboards, microphones, touch-sensitive displays, tablets, styluses, voice or handwriting recognizers, biometrics readers, or other devices. Processor 522 optionally may be coupled to another computer or telecommunications network using network interface 540. With such a network interface, it is contemplated that the CPU might receive information from the network, or might output information to the network in the course of performing the above-described method steps. Furthermore, method embodiments of the present invention may execute solely upon processor 522 or may execute over a network such as the Internet in conjunction with a remote processor that shares a portion of the processing.
In addition, embodiments of the present invention further relate to computer storage products with a computer-readable medium that have computer code thereon for performing various computer-implemented operations. The media and computer code may be those specially designed and constructed for the purposes of the present invention, or they may be of the kind well known and available to those having skill in the computer software arts. Examples of computer-readable media include, but are not limited to: magnetic media such as hard disks, floppy disks, and magnetic tape; optical media such as CD-ROMs and holographic devices; magneto-optical media such as floptical disks; and hardware devices that are specially configured to store and execute program code, such as application-specific integrated circuits (ASICs), programmable logic devices (PLDs) and ROM and RAM devices. Examples of computer code include machine code, such as produced by a compiler, and files containing higher-level code that are executed by a computer using an interpreter.
Although illustrative embodiments and applications of this invention are shown and described herein, many variations and modifications are possible which remain within the concept, scope, and spirit of the invention, and these variations would become clear to those of ordinary skill in the art after perusal of this application. Accordingly, the embodiments described are illustrative and not restrictive, and the invention is not to be limited to the details given herein, but may be modified within the scope and equivalents of the appended claims.

Claims (15)

  1. A method of enabling secure adaptive streaming of data in an ISO-based file format, the method comprising:
    receiving a long-term key through an initialization segment, the long-term key encrypted using a public key of a service provider, wherein the long-term key is used to encrypt a short-term key;
    receiving a media stream, wherein samples are grouped based on a plurality of crypto-periods, wherein the media stream is scrambled by a plurality of short-term keys, wherein the short-term keys changes frequently,
    receiving an encrypted short-term key; and
    rendering the streaming data by using the plurality of short-term keys to decrypt the samples in the plurality of crypto-periods, thereby enabling re-keying of segments of a media stream.
  2. A method as recited in claim 1 further comprising:
    storing the short-term key, an encryption algorithm identifier, and initialization vector length in a sample group type box.
  3. A method as recited in claim 1 wherein key rotation for the ISO-based file format media stream is supported.
  4. A method as recited in claim 1 further comprising receiving a decryption key.
  5. A method as recited in claim 2 wherein the sample group type box supports conditional access systems.
  6. A method as recited in claim 1 further comprising:
    storing default values in a TrackEncryptionBox.
  7. A method as recited in claim 1 further comprising:
    signaling the long-term key through a ‘pssh’ box in a ‘moov’ container box.
  8. A method as recited in claim 1 further comprising:
    grouping samples belonging to a crypto-period to achieve key rotation.
  9. A method of creating a data stream in MPEG-TS, the method comprising:
    adding a segment encryption box in a sidx container box, said encryption box having an additional URL for encryption parameters, an additional encrypted key element to carry encrypted traffic keys, and an initialization vector for each sample for random access; and
    overriding parameters in a track encryption box with said encryption parameters,
    wherein the initialization vector is in the sidx box at the beginning of a segment, and wherein encryption signaling at the segment level and random access to individual samples are enabled.
  10. A method as recited in claim 9 wherein the sidx container box appears at a segment level where reference is to segment index boxes at sub-segment levels and to a movie fragment box at a sub-segment level.
  11. A method as recited in claim 9 wherein extensions to common encryption signaling format (CENC) are provided.
  12. A method as recited in claim 9 further comprising providing a sample encryption box.
  13. A method as recited in claim 9 further comprising:
    providing signaling at a segment level for random access and relative timing information.
  14. A media player comprising:
    a processor;
    a network interface; and
    a memory component storing an algorithm identifier for identifying an encryption algorithm, an initialization vector size value, and a long-term key identifier for locating a long-term key used for encrypting a short-term key.
  15. A media player as recited in claim 14 wherein the memory component further stores a sample group type box for storing said encryption algorithm, initialization vector size value, and long-term key identifier.
PCT/KR2011/008329 2010-11-05 2011-11-03 Key rotation in live adaptive streaming Ceased WO2012060643A1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN2011800643994A CN103299646A (en) 2010-11-05 2011-11-03 Key rotation in live adaptive streaming
JP2013537608A JP2014500655A (en) 2010-11-05 2011-11-03 Key rotation in live adaptive streaming
KR1020137013843A KR20130099995A (en) 2010-11-05 2011-11-03 Key rotation in live adaptive streaming
EP11838248.0A EP2636217A1 (en) 2010-11-05 2011-11-03 Key rotation in live adaptive streaming

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US41066910P 2010-11-05 2010-11-05
US61/410,669 2010-11-05
US201161442626P 2011-02-14 2011-02-14
US61/442,626 2011-02-14

Publications (1)

Publication Number Publication Date
WO2012060643A1 true WO2012060643A1 (en) 2012-05-10

Family

ID=46019639

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2011/008329 Ceased WO2012060643A1 (en) 2010-11-05 2011-11-03 Key rotation in live adaptive streaming

Country Status (6)

Country Link
US (1) US20120114118A1 (en)
EP (1) EP2636217A1 (en)
JP (1) JP2014500655A (en)
KR (1) KR20130099995A (en)
CN (1) CN103299646A (en)
WO (1) WO2012060643A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2685737A1 (en) * 2012-07-13 2014-01-15 Broadpeak Method and device for allowing seamlessly switching from one layer to another in a conditional access system context

Families Citing this family (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9781188B2 (en) 2010-11-02 2017-10-03 Lg Electronics Inc. Method for transreceiving media content and device for transreceiving using same
US9767807B2 (en) * 2011-03-30 2017-09-19 Ack3 Bionetics Pte Limited Digital voice signature of transactions
US8751807B2 (en) 2011-06-23 2014-06-10 Azuki Systems Inc. Method and system for secure over-the-top live video delivery
GB2499539B (en) * 2011-10-27 2017-05-03 Lg Electronics Inc Method for transreceiving media content and device for transreceiving using same
US8751800B1 (en) 2011-12-12 2014-06-10 Google Inc. DRM provider interoperability
KR101633769B1 (en) * 2012-04-05 2016-06-27 후아웨이 테크놀러지 컴퍼니 리미티드 System and method for secure asynchronous event notification for adaptive streaming based on iso base media file format
US9270461B2 (en) * 2012-04-27 2016-02-23 Futurewei Technologies, Inc. System and method for efficient support for short cryptoperiods in template mode
US10075471B2 (en) 2012-06-07 2018-09-11 Amazon Technologies, Inc. Data loss prevention techniques
US9286491B2 (en) 2012-06-07 2016-03-15 Amazon Technologies, Inc. Virtual service provider zones
US9590959B2 (en) 2013-02-12 2017-03-07 Amazon Technologies, Inc. Data security service
US10084818B1 (en) 2012-06-07 2018-09-25 Amazon Technologies, Inc. Flexibly configurable data modification services
US9300464B1 (en) * 2013-02-12 2016-03-29 Amazon Technologies, Inc. Probabilistic key rotation
US9367697B1 (en) 2013-02-12 2016-06-14 Amazon Technologies, Inc. Data security with a security module
US9705674B2 (en) 2013-02-12 2017-07-11 Amazon Technologies, Inc. Federated key management
US10467422B1 (en) 2013-02-12 2019-11-05 Amazon Technologies, Inc. Automatic key rotation
EP2797334A1 (en) 2013-04-26 2014-10-29 Nagravision S.A. Method and device to embed watermark in uncompressed video data
EP2797335A1 (en) 2013-04-26 2014-10-29 Nagravision S.A. Method to watermark a compressed content encrypted by at least one content key
EP2797333A1 (en) 2013-04-26 2014-10-29 Nagravision S.A. Method for watermarking media content and system for implementing this method
US9832171B1 (en) 2013-06-13 2017-11-28 Amazon Technologies, Inc. Negotiating a session with a cryptographic domain
US20150006881A1 (en) * 2013-06-27 2015-01-01 Check Point Software Technologies Ltd. Securing an Encryption Key of a User Device While Preserving Simplified User Experience
JP6411862B2 (en) * 2013-11-15 2018-10-24 パナソニック株式会社 File generation method and file generation apparatus
US9397835B1 (en) 2014-05-21 2016-07-19 Amazon Technologies, Inc. Web of trust management in a distributed system
EP2958331A1 (en) 2014-06-17 2015-12-23 Nagravision S.A. A dynamic adaptive streaming digital media content receiver
US9438421B1 (en) 2014-06-27 2016-09-06 Amazon Technologies, Inc. Supporting a fixed transaction rate with a variably-backed logical cryptographic key
US9866392B1 (en) 2014-09-15 2018-01-09 Amazon Technologies, Inc. Distributed system web of trust provisioning
CN104394476A (en) * 2014-11-28 2015-03-04 乐视致新电子科技(天津)有限公司 Time shifting playing method and media player
CN105357206A (en) * 2015-11-19 2016-02-24 杭州铭师堂教育科技发展有限公司 Secure video transmission method
US10515194B2 (en) * 2016-08-29 2019-12-24 Electronics And Telecommunications Research Institute Key rotation scheme for DRM system in dash-based media service
US10437968B2 (en) 2016-11-28 2019-10-08 Opentv, Inc. Secure DRM-agnostic key rotation
US10536721B2 (en) * 2017-01-09 2020-01-14 Qualcomm Incorporated Restricted scheme design for video
CN109429112A (en) * 2017-08-24 2019-03-05 中兴通讯股份有限公司 Media slicing sending method, key switching method and related device and medium
EP3629576B1 (en) * 2018-09-28 2020-08-05 Axis AB Content security for a video stream
US20240056651A1 (en) * 2022-08-09 2024-02-15 Dish Network, L.L.C. Digital rights management using a gateway/set top box without a smart card
KR20240077885A (en) * 2022-11-25 2024-06-03 라인플러스 주식회사 Encryption method and system for media sent and received in streaming format between users
US12417851B2 (en) * 2023-01-23 2025-09-16 Proximie Inc. Hybrid media distribution for telehealth sessions
US12316886B2 (en) * 2023-01-23 2025-05-27 Proximie Inc. Hybrid media distribution for telehealth sessions
US12587509B2 (en) 2023-01-23 2026-03-24 Proximie Inc. Hybrid media distribution for telehealth sessions

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006033997A2 (en) * 2004-09-16 2006-03-30 General Instrument Corporation System and method for providing authorized access to digital content
US20070038873A1 (en) * 2005-08-11 2007-02-15 Microsoft Corporation Protecting digital media of various content types
US20090034715A1 (en) * 2007-07-31 2009-02-05 Arul Selvan Ramasamy Systems and methods for encrypting data
WO2009038287A1 (en) * 2007-09-18 2009-03-26 Electronics And Telecommunications Research Institute Contents protection providing method and protected contents consuming method and apparatus thereof

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040125877A1 (en) * 2000-07-17 2004-07-01 Shin-Fu Chang Method and system for indexing and content-based adaptive streaming of digital video content
DE60127681T2 (en) * 2001-10-19 2008-01-03 Sony Corp. Content protection and copy management system for a network
EP1540955A4 (en) * 2002-07-09 2007-08-01 Kaleidescape Inc CONTENT AND KEY DISTRIBUTION SYSTEM FOR DIGITAL CONTENT REPRESENTING MULTIMEDIA FLOWS
US7650421B2 (en) * 2002-12-30 2010-01-19 Microsoft Corporation Adaptable accelerated content streaming
WO2004070585A2 (en) * 2003-01-31 2004-08-19 Kaleidescape, Inc. Detecting collusion among multiple recipients of fingerprinted information
US20050213751A1 (en) * 2004-03-26 2005-09-29 Apostolopoulos John J Methods and systems for generating transcodable encrypted content
US8868772B2 (en) * 2004-04-30 2014-10-21 Echostar Technologies L.L.C. Apparatus, system, and method for adaptive-rate shifting of streaming content
JP4582411B2 (en) * 2005-08-04 2010-11-17 ソニー株式会社 Information processing apparatus and method, and program
US20080109556A1 (en) * 2006-11-07 2008-05-08 Sony Ericsson Mobile Communications Ab Adaptive insertion of content in streaming media
RU2339077C1 (en) * 2007-03-13 2008-11-20 Олег Вениаминович Сахаров Method of operating conditional access system for application in computer networks and system for its realisation
US8904191B2 (en) * 2009-01-21 2014-12-02 Microsoft Corporation Multiple content protection systems in a file
KR20100111834A (en) * 2009-04-08 2010-10-18 한국전자통신연구원 Apparatus and method for adaptive streaming of scalable contents using multicast and unicast transmission concurrently
US9014545B2 (en) * 2009-07-24 2015-04-21 Netflix, Inc. Adaptive streaming for digital content distribution
US8649659B2 (en) * 2010-10-06 2014-02-11 Motorola Mobility Llc Method and system for transitioning media output among two or more devices
US20120102184A1 (en) * 2010-10-20 2012-04-26 Sony Corporation Apparatus and method for adaptive streaming of content with user-initiated quality adjustments
US20120110628A1 (en) * 2010-10-27 2012-05-03 Candelore Brant L Storage of Adaptive Streamed Content

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006033997A2 (en) * 2004-09-16 2006-03-30 General Instrument Corporation System and method for providing authorized access to digital content
US20070038873A1 (en) * 2005-08-11 2007-02-15 Microsoft Corporation Protecting digital media of various content types
US20090034715A1 (en) * 2007-07-31 2009-02-05 Arul Selvan Ramasamy Systems and methods for encrypting data
WO2009038287A1 (en) * 2007-09-18 2009-03-26 Electronics And Telecommunications Research Institute Contents protection providing method and protected contents consuming method and apparatus thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2685737A1 (en) * 2012-07-13 2014-01-15 Broadpeak Method and device for allowing seamlessly switching from one layer to another in a conditional access system context
WO2014009450A1 (en) * 2012-07-13 2014-01-16 Broadpeak Method and device for allowing seamlessly switching from one layer to another in a conditional access system context

Also Published As

Publication number Publication date
US20120114118A1 (en) 2012-05-10
KR20130099995A (en) 2013-09-06
CN103299646A (en) 2013-09-11
JP2014500655A (en) 2014-01-09
EP2636217A1 (en) 2013-09-11

Similar Documents

Publication Publication Date Title
EP2636217A1 (en) Key rotation in live adaptive streaming
EP3561704B1 (en) Segmented media content rights management
US8130952B2 (en) Methods and apparatus for persistent control and protection of content
CN101271501B (en) Encryption and decryption method and device of digital media file
EP1062812B1 (en) Streaming media player with continuous control and protection of media content
WO2012011726A2 (en) Method and apparatus for providing drm service
US9571899B2 (en) Method for watermarking media content and system for implementing this method
US20210119783A1 (en) System and method for authenticating data while minimizing bandwidth
WO2010107279A2 (en) System and method for protecting digital media content
WO2012047064A2 (en) Drm service providing method and device
US20100100742A1 (en) Transport Stream Watermarking
CN101243687A (en) Protecting Elementary Stream Content
WO2016204473A1 (en) Method and apparatus for enabling content protection over broadcast channels
CN1416647A (en) Conditional access
KR20060044745A (en) Common Scrambling Method
WO2012108737A2 (en) Apparatus and method for transceiving content in a digital broadcast system
WO2009151277A2 (en) Encryption key distribution method in mobile broadcasting system and system for the same
CN104254004A (en) Digital rights management method and system suitable for high-bit-rate audio and video content
CN101394297B (en) DRM service implementing method, equipment and system under broadcast environment
US9294788B2 (en) Method, cryptographic system and security module for descrambling content packets of a digital transport stream
JP2010507863A (en) Content processing method, device, and program
CN101325479A (en) Method and device for scrambling control based on multiplexed subframes
JP4308493B2 (en) Apparatus for flexible and common IPMP system for distribution and protection of MPEG-2 content
WO2015199370A1 (en) Broadcast reception device, method of operating broadcast reception device, conditional access module, and method of operating conditional access module
Hwang et al. Protection of MPEG‐2 Multicast Streaming in an IP Set‐Top Box Environment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11838248

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2011838248

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2011838248

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2013537608

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20137013843

Country of ref document: KR

Kind code of ref document: A