WO2014143093A1 - Systems and methods for assembling and extracting command and control data - Google Patents

Systems and methods for assembling and extracting command and control data Download PDF

Info

Publication number
WO2014143093A1
WO2014143093A1 PCT/US2013/039806 US2013039806W WO2014143093A1 WO 2014143093 A1 WO2014143093 A1 WO 2014143093A1 US 2013039806 W US2013039806 W US 2013039806W WO 2014143093 A1 WO2014143093 A1 WO 2014143093A1
Authority
WO
WIPO (PCT)
Prior art keywords
command
control data
data
buffer
flag
Prior art date
Application number
PCT/US2013/039806
Other languages
French (fr)
Inventor
William Michael Beals
Nicolas Fischer
Benjamin Brain ELLIS
Gregory Duval
Original Assignee
Echostar Technologies L.L.C.
Nagra Vision Sa
Nagrastar Llc
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 Echostar Technologies L.L.C., Nagra Vision Sa, Nagrastar Llc filed Critical Echostar Technologies L.L.C.
Priority to EP13877992.1A priority Critical patent/EP2974331B1/en
Priority to CN201380074223.6A priority patent/CN105409227B/en
Publication of WO2014143093A1 publication Critical patent/WO2014143093A1/en

Links

Classifications

    • 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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/418External card to be used in combination with the client device, e.g. for conditional access
    • H04N21/4184External card to be used in combination with the client device, e.g. for conditional access providing storage capabilities, e.g. memory stick
    • 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/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4343Extraction or processing of packetized elementary streams [PES]
    • 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
    • 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

Definitions

  • Multiplexed video streams sent between a set-top box and a smart card are typically comprised of a plurality of audio visual (“A/V”) packets (the "A/V packets").
  • A/V packets audio visual packets
  • a stream of A/V packets that includes A/V data is typically transmitted separately from a stream of packets of command and control (“C&C") data (the "C&C packets").
  • the A/V data within a stream of A/V packets typically includes the scrambled content to be provided to a consumer for display.
  • the C&C data within a stream of C&C packets typically includes various information, e.g., information necessary to descramble the audio visual content.
  • the C&C packets typically may include an Entitlement Control Message ("ECM").
  • ECM typically includes keys that may be used to decrypt the audio-visual content.
  • the C&C packets typically may also include an Entitlement Management Message (“EMM").
  • EMM typically provides general information about the subscriber, e.g. including the status of a subscription.
  • Various standards exist for transmitting different streams within an encapsulated container format e.g., a transport stream compliant with the MPEG-TS format (i.e., the ISO/IEC 13818-1 , ITU-T Recommendation H.222.0).
  • MPEG-TS format i.e., the ISO/IEC 13818-1 , ITU-T Recommendation H.222.0.
  • Embodiments of the present disclosure relate to the extraction and assembly of C&C data from packet headers.
  • a C&C packet may be divided into multiple segments. These segments may be associated with a flag identifying the C&C data as first portion, middle portion, last portion, or null byte.
  • the C&C segment and its associated flag may then be inserted into a packet header.
  • the packet and packet header may be transmitted to a receiver.
  • the receiver may extract the header from the packet and identify a first portion flag associated with a C&C header.
  • the C&C data associated with a first portion flag is stored in a buffer.
  • the receiver may then identify the middle portions and last portion flags and store the associated C&C data in a buffer.
  • the C&C data is flagged as complete and ready for execution.
  • the assembled C&C data may then be processed and used to decrypt encrypted A/V packets.
  • the C&C portions may be used to communicate C&C data from a set-top-box to a smart card and vice versa.
  • Embodiments of the present disclosure segment the C&C data and insert the C&C portions into one or more A/V packet headers. By utilizing space in the A V packet headers to carry C&C portions, there is a guaranteed transmission channel for command and/or control data regardless of how much A/V data is being sent.
  • FIGURE 1 illustrates an embodiment of a communications system.
  • FIGURE 2 illustrates an implementation of audio visual descrambling in a set-top box.
  • FIGURE 3 illustrates another implementation of audio visual descrambling in a set-top box.
  • FIGURE 4a illustrates an embodiment of command and control data assembly and extraction.
  • FIGURE 4b illustrates an embodiment of command and control data assembly and extraction.
  • FIGURE 5 illustrates a method for extracting command and control data.
  • FIGURE 6 depicts an embodiment of a method for breaking command and control data into individual portions.
  • FIGURE 7 depicts an embodiment of a method for reconstructing command and control data.
  • FIGURE 8 depicts yet another embodiment of a method for reconstructing command and control data.
  • FIGURE 9 depicts an exemplary set-top box for assembling and extracting command and control data.
  • FIGURE 10 is an embodiment of a secure processing device that may be employed with the systems or to perform the methods disclosed herein.
  • FIGURE 11 depicts an embodiment of a computing environment for implementing the various embodiments described herein.
  • the present disclosure describes a method for communicating command and control (“C&C") data from a set-top box to a smart card and vice versa.
  • Embodiments of the present disclosure segment the C&C data and insert the C&C portions into one or more A/V packet headers.
  • all of the packets in a data transmission may include the C&C portions.
  • Certain transmission protocols require every A/V packet to have an A/V packet header.
  • space in the A/V packet headers to carry C&C portions there is a guaranteed transmission channel for C&C regardless of how much A/V data is being sent. As such, regardless of how saturated the communications channel is, the C&C may be utilized to provide command and/or control information without interruption of the A/V data.
  • C&C information may include descrambling information (e.g., descrambling keys and/or control words), settings information (e.g., device operation settings), and or other type of command or control data that may be utilized by a device or application to perform a task, adjust a configuration or setting, etc.
  • descrambling information e.g., descrambling keys and/or control words
  • settings information e.g., device operation settings
  • command or control data e.g., device operation settings
  • the A/V packet header includes two fields for C&C.
  • the first field may be a flag that indicates a "First portion,” a "Middle portion,” a "Last portion,” or a "Null portion.” Because there are four possible values for this flag, it can optimally be encoded and carried in two bits.
  • the second field is a data byte which contains one (1 ) byte of C&C data, if the flag field is First portion, Middle portion, or Last portion. If the flag field is Null Byte, then the C&C data byte is ignored (although still present in the A/V packet header).
  • the entity e.g., device, hardware, software application, etc.
  • extracting the C&C portions can understand whether all C&C portions have been extracted or whether more are still being provided.
  • the extracted C&C portions may then be stored.
  • the flag field indicates Last portion, there are no more C&C portions comprising the C&C data, so the buffered C&C portions can be concatenated and processed.
  • FIGURE 1 illustrates a communications system that utilizes header based command and control technology.
  • the communications system includes a head-end device 102 that receives content from content providers 104 and distributes the content across a communication network 106 to various recipient devices 108.
  • the recipient devices can access the content and display it to a user.
  • a recipient device 108 can be any device capable of receiving and decoding a data transmission stream over communication network 106.
  • Such devices include, but are not limited to, mobile phones, smart phones, personal digital assistants (PDAs), satellite or cable set-top boxes, desktop computers, laptop computers, tablet computers, televisions, radios, or any other device known to the art.
  • the head-end 102 may be the distribution point of a cable television provider (e.g., a cable head-end), the distribution of point of a satellite television provider (e.g., a satellite uplink), or a server broadcasting content over the Internet.
  • a cable television provider e.g., a cable head-end
  • the distribution of point of a satellite television provider e.g., a satellite uplink
  • a server broadcasting content over the Internet e.g., a server broadcasting content over the Internet.
  • the head-end 102 may be any type of device, or a collection of devices (as the case may be), that are capable of receiving, encrypting, and broadcasting, or otherwise transmitting, content over a network.
  • the content broadcast over communications system 100 may be generated by the head-end device 102.
  • the head- end device may receive content from one or more content providers 104.
  • the head-end device 102 is in electrical communication with one or more content providers 104.
  • a content provider may be a cable, terrestrial, or satellite television station that transmits content to the head-end device 102 over a wired (e.g., cable, fiber optic, Internet connection, etc.) or wireless connection (e.g., via radio, microwave, satellite communications, etc.).
  • the content may reside in a datastore that is in electrical communication with the head-end 102. While FIGURE 1 depicts the content providers 104 as being separate entities from the head-end 102, in other embodiments, the content providers 104 and head-end device 102 may be a single entity.
  • the head-end 102 is tasked with distributing the content over a network 106 to various recipient devices 108.
  • the network 106 may be the Internet, a cable network, a fiber optic network, a satellite communications network, a terrestrial broadcasting network (e.g., networks communicating over radio or microwave transmission mediums), a cellular data network, a wide area network (WAN), a local area network (LAN), a cellular data network, a plain old telephone service (POTS) network, or any other type of communication network capable of streaming and/or broadcasting data transmissions between various devices.
  • WAN wide area network
  • LAN local area network
  • POTS plain old telephone service
  • the head-end 102 will broadcast the content in a data transmission stream over the communications network rather than sending content to a particular device. Because the content is being broadcast over the communication network 106, the transmission can be received by any number of devices capable of interacting with the communication network 106. In order to prevent un-authorized users from accessing the broadcasted data transmission stream, the head-end 102 typically encrypts or re-encrypts (as the case may be) the data transmission stream before it is broadcast over the communication network 106. Although not illustrated in FIGURE 1, the communication network may also be used to perform two-way communication between the head-end 102 and the recipient devices 108.
  • a System on Chip (SoC) 210 on a recipient device is communicatively coupled, for example in transmission lines 206 and 208, to a removable security element such as smart card 204.
  • the scrambled audio visual (A/V) content 212 and ECM packet(s) 214 are received by the SoC 210 in the set-top box from a network input 102 (satellite, cable, broadband internet, or other source).
  • the ECM packet(s) 206 is/are separated and sent to a smart card 204.
  • the smart card 204 may include a secure processor 220 to perform secure processing in addition to computing or extracting an A/V descrambling key.
  • the A/V descrambling key may be a network control word ("NCW").
  • NCW indicates a global value for a given A/V stream at a given moment in time.
  • the NCW may change every few seconds or minutes.
  • the smart card 204 returns the NCW 208 to the SoC 210.
  • the SoC 210 uses the NCW 208 to descramble 216 the A/V stream 212.
  • the clear A/V 218 can then be decompressed by decoder 222 and transmitted to a display device such as a TV or monitor, 202 as a clear A/V baseband stream 224.
  • FIG. 3 An improved architecture is shown in Figure 3.
  • one or more scrambled A/V streams 302 and ECM stream(s) 304 are routed from the SoC 306 to the smart card 308.
  • the smart card 308 performs secure processing and extracts or computes the NCW 330.
  • a scrambled A V stream 302 is first descrambled 314 in the smart card 308, e.g., using a network descrambling algorithm and the NCW 330.
  • the result is an A/V stream 316 in the clear (e.g., not encrypted), although still compressed.
  • the smart card 308 may generate a random Local Control Word and uses this value to re-scramble 318 the A/V using a local scrambling algorithm.
  • the re-scrambled A/V 320 and the LCW may be returned to the SoC 306.
  • the SoC 306 may then use the Local Control Word to descramble 322 the locally (e.g., uniquely) encrypted A V 320.
  • the descrambled A/V stream 324 can then be decoded by a decoder 326 and transmitted to a display, such as but not limited to, a TV 328 as a clear A/V baseband stream 332.
  • the smart card 308 and the SoC 306 may communicate via a Super Packet Transport Stream.
  • a Super Packet Transport Stream comprises an extension of a standard MPEG transport stream.
  • a Super Packet may have a fixed length of 212 bytes.
  • C&C data may comprise part of an overall Super Packet Transport Stream shared between a smart card and a SoC.
  • C&C data typically includes descrambling and settings information, such as ECMs and EMMs.
  • the command and control data is communicated in a command and control packet.
  • the command and control packet may be segmented and inserted as header information to be sent from the SoC to the smart card.
  • FIGURE 4a depicts assembly of a Super Packet Transport Stream with command and control data in the headers.
  • the SoC receives A/V information from a head-end as a sequence of A/V Packets 404-410.
  • the A/V information may be comprised of an MPEG Transport Stream ("TS") comprised of TS Packets.
  • TS MPEG Transport Stream
  • the SoC may also receive command and control data from the headend.
  • the command and control data from the head-end may be carried in MPEG TS packets.
  • the SoC itself may locally generate command and control data.
  • Command and control data regardless of source, is formatted into a command and control packet 402.
  • the command and control packet may be divided into multiple command and control segments 414-420.
  • Each command and control segment 414-420 contains a portion of the information in the command and control packet 402.
  • each segment of the command and control packet is a fixed portion of a packet structure, such as an audio/visual packet (e.g., A/V Packets 404-408).
  • the command and control segment is one byte.
  • other segment sizes are contemplated within the scope of the present disclosure.
  • Each command and control segment 414-420 is accompanied by a command and control flag.
  • the command and control flag can be one of four values: "First portion,” 'Middle portion,” 'Last portion,” or "Null Byte.”
  • the First portion, Middle portion, and Last portion Flags are all associated with a header that contains valid command and control data.
  • a Null Byte flag is associated with a header that may include extraneous or false (e.g., dummy or stuffing) command and control data and may be ignored.
  • the command and control flags identify the boundaries of the command and control packets.
  • the command and control segments 414-420 may be inserted along with the command and control flag into the headers of the A/V packets of the Super Packet Transport Stream.
  • the command and control First portion header 426 may be inserted into the header of A/V Packet 1 404
  • the command and control Middle portion header 428 may be inserted into the header of A/V Packet 2 406
  • the command and control Middle portion header 430 may be inserted into the header of A/V Packet N-l 408
  • the command and control Last portion header 432 may be inserted into the header of A/V Packet N 410.
  • This assembled Super Packet Transport Stream may then be exchanged between the SoC and the smart card.
  • FIGURE 4b depicts re-assembly of command and control data from the Super Packet Transport Stream.
  • the receiver may extract the command and control data 426-432 and reassemble the command and control packet.
  • the receiver may then save the command and control data 438, such as the ECM and the EMM, to the command and control buffer. This information may be stored until new command and control data - and therefore, new command and control data, is received. Reassembly of the command and control packet will be discussed in further detail in FIGURE 5.
  • the smart card when the smart card sends Super Packet Transport Streams back to the SoC, the smart card may assemble command and control data in the headers as described with reference to FIGURE 4a.
  • the smart card inserts command and control data, such as a local control word, into the command and control data and sends the Super Packet Transport Stream to the SoC.
  • the SoC reassembles the command and control data as shown in Figure 4b, and as described in further detail in FIGURE 5 below.
  • FIGURE 5 depicts an exemplary method 500 for reassembling a command and control packet from command and control data.
  • the method 500 is discussed as performed by the smart card. However, performance at other devices, such as the set-top box or another removable security element, is contemplated within the scope of the present disclosure. For example, when a SoC receives a Super Packet Transport Stream back from the smart card, a SoC may reassemble the command and control packet using method 500 discussed below.
  • Method 500 commences at monitor operation 502.
  • the smart card may receive Super Packet Transport Streams in an idle state.
  • the smart card monitors the headers of the Super Packet Transport Streams, looking at the C&C flag value.
  • the smart card remains in monitor operation 502, until a C&C flag value is detected.
  • the smart card proceeds to determine operation 506.
  • the smart card determines whether the flag is a First portion flag. For purposes of this description, determining the identity of a flag may comprise processing the command and control ID flag associated with a header. If the flag is not a First portion flag, the smart card ignores the byte at operation 508. In an embodiment, upon ignoring the byte at operation 508, the smart card may acknowledge that the byte may have been flagged in error. Once the byte has been ignored, flow returns to monitor operation 502.
  • command and control data is stored in the buffer at the smart card.
  • the smart card recognizes that new command and control data is being transmitted.
  • the smart card flushes the buffer to clear the old command and control data while at the same time creating space for the new command and control data.
  • flushing the buffer may comprise filling the buffer with all zeros and setting the byte count to zero. Flow then proceeds to save operation 512.
  • the smart card stores the command and control data in the First portion command and control header to the buffer. At this point the smart card transitions to an assemble state and continues to monitor incoming headers at monitor operation 514. The smart card continues to monitor incoming headers of the Super Packet Transport Stream until another flagged byte is received at receive operation 516. Flow then proceeds to operation 518.
  • the smart card determines whether the received byte is a First portion flag. If the received byte is a First portion flag, flow proceeds to operation 520. If the received byte is not a First portion flag, flow proceeds to operation 524.
  • the smart card flushes the buffer.
  • the buffer is currently storing the command and control data associated with the flagged "First portion" header saved at operation 512.
  • the smart card may assume that the original First portion header was flagged in error and flushes the buffer of the command and control data associated with it.
  • the smart card stores the new First portion header command and control data to the buffer. Flow then proceeds back to monitor operation 514.
  • the smart card determines whether the flag is a Middle portion flag. Upon determining that the flag is a Middle portion flag, flow proceeds to operation 526. Upon determining that the flag is not a Middle portion flag, flow proceeds to operation 528.
  • the smart card saves the command and control data associated with the Middle portion flag to the buffer.
  • saving to the buffer may comprise appending the command and control data associated with a previous Middle portion flag(s) to the already stored command and control data associated with the First portion flag.
  • the smart card determines whether the flag is a Null Byte flag. As described above, the Null Byte flag is associated with a header that does not include any, or at least any viable, command and control data. If a Null Byte flag is identified at operation 528, the smart card ignores the data and continues to monitor the Super Packet Transport Stream at operation 514. If the flag is not a Null Byte flag, flow proceeds to operation 530.
  • the smart card determines whether the flag is a Last portion flag. If the flag is not a Last portion flag then it is a flag that does not indicate command and control data. As such, the smart card ignores it and returns to monitor operation 514.
  • the smart card saves the command and control data associated with the Last portion flag to buffer at operation 532. Once the command and control data is saved, flow proceeds to operation 534. [0044] At operation 534, the smart card marks the saved command and control data in the buffer as ready to process. In embodiments, processing the command and control data may comprise executing the command. Once the command and control data has been marked, flow returns to monitor operation 502,
  • FIGURE 6 depicts an embodiment of a method 600 for breaking command and control data into individual portions that may be sent using out of band communications with audio/visual data or other types of data.
  • Flow begins at operation 602 where a first portion of command and control data is received by a device performing the method 600.
  • a device may be a set- top-box, a video processing device, a general computing device, or any other type of device capable of receiving and/or generating command and control data and sending command and control data using out of band communications.
  • the command and control data may be received from an external source.
  • the command and control data may be received in an EMM or ECM that is part of broadcast transmission.
  • the command and control data may be generated by the device performing the method 600.
  • the device performing the method 600 may generate command and control data to send to another device, such as a secure processor, a SoC, and/or a smart card.
  • flow continues to operation 604 where the command and control data is broken multiple individual portions.
  • the size of each portion may depend upon a particular communications protocol, a specific packet size of a header, the type of other data being transmitted (e.g., audio and/or visual data), or any other requirement.
  • the command and control data may be broken into byte sized portions.
  • command and control data may be broken into larger portions consisting of multiple bytes or into smaller portions consisting of one or more bits.
  • size and number of individual portions of command and control data created at operation 604 may vary without departing from the spirit of this disclosure.
  • the individual portions are sent utilizing out of band communication along with the other type of data being transmitted.
  • the portions may be sent as part of one or more headers associated with audio and/or visual data.
  • the portions sent at operation 606 may be sent with an indicator used to indicate a portion's position in a completed reconstruction of the command and control data. In one embodiment, four types of indicators may be used.
  • only one portion may be identified by the "First portion” flag and "Last Portion” flag for all of the portions that constitute the broken up command and control data; however, one or multiple portions may be identified using the "Middle Portion” flag.
  • the portions may be identified using a sequential identifier that corresponds to the order of the portions to be used to reconstruct the command and control data.
  • an additional U 2013/039806 indicator may be used to relay the total number of portions that comprise the command and control data.
  • command and control data created at operation 604 are sent at operation 606, flow continues to operation 608 where the next command and control data is received and/or generated by the device performing the method 600. Flow continues back to operation 604 and the method 600 is repeated until there is no additional command and control data.
  • FIGURE 7 depicts an embodiment of a method 700 for reconstructing command and control data sent in out of band communication.
  • multiple portions of command and control data may be sent in out of band communication, e.g., as part of a header for audio and/or visual data or as another component of audio/visual data transmission.
  • a smart card, a secure processor, a SoC, or any other type of processing device may perform the method 700.
  • Flow begins at operation 702 where a first portion of command and control data is received.
  • the first portion is identified by an indicator, such as a "First portion" indicator; however, other types of indicators may be used without departing from the scope of this disclosure.
  • the first portion of command and control data may be determined by examining a buffer and determining that no other command and control data resides in the buffer.
  • the a portion of command and control data may be determined as being the first portion without the use of an indicator while remaining within the scope of the present disclosure.
  • a next portion of command and control data is any command and control data following the first portion of command in control data.
  • the next portion of command and control data may be indicated by any type of indicator other that the "First portion" indicator, such as, for example, a "Middle Portion" or "Last Portion" indicator.
  • other indicators such as a sequential identifier, may be used to identify the next portion of command and control data.
  • the next portion of command and control data may not be accompanied by an indicator.
  • next portion of command and control data Upon receiving the next portion of command and control data, flow continues to operation 708 where a determination is made as to whether the next portion of command and control data is the last portion of the command and control data. In one embodiment, the determination may be based upon receiving a "Last Portion" flag or indicator along with the next portion of command and control data received at operation 706. In another embodiment, the next command and control data may be identified as the last portion by another indicator, or by making a determination based on the number of portions of command and control data previously received.
  • a determination that the next received portion of command and control data is the last portion of command and control data by determining the amount of data received in each portion of command and control data and comparing the total amount of data received to a known size of data.
  • next portion of command and control data is not the last portion of data
  • FIGURE 8 depicts yet another embodiment of a method 800 for reconstructing command and control data sent in out of band communication.
  • multiple portions of command and control data may be sent in out of band communication, e.g., as part of a header for audio and/or visual data or as another component of audio/visual data transmission.
  • a smart card, a secure processor, a SoC, or any other type of processing device may perform the method 800.
  • Flow begins at operation 802 where a first portion of command and control data is received.
  • the first portion is identified by an indicator, such as a "First portion" indicator; however, other types of indicators may be used without departing from the scope of this disclosure.
  • the first portion of command and control data may be determined by examining a buffer and determining that no other command and control data resides in the buffer.
  • the a portion of command and control data may be determined as being the first portion without the use of an indicator while remaining within the scope of the present disclosure.
  • a determination is made as to whether the portion of command and control data received at operation 802 is the first portion of command and control data.
  • the various exemplary methods described with respect to FIGURE 7 may be employed at operation 804 to determine whether the received portion is the first portion of command and control data. If the received portion is the first portion, flow branches YES to operation 806 where a buffer for storing the command and control data is flushed and the received portion of command and control data is stored in the buffer. Flow then returns to operation 802 and another portion of command and control data is received.
  • the various exemplary methods described with respect to FIGURE 7 may be employed at operation 808 to determine whether the received portion is the last portion of command and control data. If the received portion is not the last portion of command and control data, flow branches NO to operation 810 where the portion is stored in the buffer and flow returns to operation 802.
  • the portion received is the last portion of command and control data
  • the command and control data may be reconstructed as it is each individual portion is received and placed into the buffer.
  • the reconstructed command and control data is then provided and/or operated upon by pulling the data out of the command and control buffer.
  • the additional processing may be required to reconstruct the command and control data. For example, reordering of the individual portions stored in the buffer may be performed at operation 812, additional information may be added to the individual portions stored in the buffer, or other types of processing may be performed at operation 812 to reconstruct command and control data.
  • any method of reconstructing portions of data into a completed data set may be employed at operation 812 without departing from the scope of the present disclosure.
  • FIGURE 9 depicts an exemplary set-top box 900 for assembling and extracting command and control data and described with reference to FIGURE 4, FIGURE 5, FIGURE 6, FIGURE 7, and FIGURE 8. While FIGURE 9 is illustrated with various components that are explained therein, some other components are known to the art and do not need explanation.
  • Set-top box 900 includes Control electronics unit (not pictured) that may contain one or more central-processing-units (CPUs) or processors. The CPUs may be housed on a SoC, such as SoC 902. In this embodiment, control electronics unit contains a single CPU that is operatively connected to the shared bus.
  • CPUs central-processing-units
  • SoC 902. SoC 902.
  • SoC 902. SoC 902.
  • control electronics unit contains a single CPU that is operatively connected to the shared bus.
  • CPU may be used, among other things, for logical operations for set- top box functions including, but not limited to, channel selection, recording control, EPG display and control and system maintenance.
  • CPU may be integrated with memory or other discrete electronics components.
  • CPU may be used to perform the systems and methods disclosed herein.
  • Control electronics unit may contain one or more volatile memory components. Volatile memory components may include, but are not limited to, one or more SDRAM memory chips. Similarly, control electronics unit may also contain one or more non-volatile memory components. Non-volatile memory may include one or more memory chips, including, but not limited to, ROM, SRAM, SDRAM and Flash. One skilled in the art will recognize that volatile memory and nonvolatile memory may be integrated within other electronics components. One skilled in the art will also recognize that other memory components may be included within set-top box 900 and control electronics unit. One skilled in the art will recognize that memory, may be used for many purposes, including, but not limited to, storing EPG data and storing data for use by CPU.
  • the Volatile memory components and/or one or more non-volatile memory components may be used to store the executable instructions to perform the method 500.
  • the Volatile memory components may be used to store the extracted command and control header segments as described with respect to FIGURE 5.
  • a set-top box 900 may be connected to one or more peripheral electronic devices through peripheral interface. These peripheral devices may include a smart card 936.
  • the smart card 936 may extract command and control data from a header of a Super Packet in a Super Packet Transport Stream. In such embodiments, the smart card 936 performs the method 500 disclosed herein.
  • Incoming data 904 9 9from transport inputs, such as head-end described with respect to FIGURE 1, are routed to the Transport Demodulator 9608, a smart card 936, or both.
  • the smart card may identify at PID Filters 912, 914, and 916 whether a packet identifier (PID) associated with a packet indicates that the packet contains A/V information intended for the smart card 936.
  • PID packet identifier
  • the PID filters 912, 914, and 916 support up to 32 PIDs per transport input.
  • the PID Filters 912, 914, and 916 are aggregated into a pool of 256 PIDs for all transport inputs. Packets with such PIDS are sent to super packet mux where the A V packets are multiplexed together into a Super Packet Transport Stream. DMA inputs may also be added to the Super Packet Transport Stream.
  • Packet Extension and stuffing packets may also be added to create the Super Packet Transport Stream.
  • the Packet Extension may include additional data for stream identification, stream type, command and control field, and encryption flags.
  • Stuffing Packets are inserted into the stream in order to maintain a constant bit rate.
  • Command and control 924 information may also be added to the Super Packet Transport Stream. As shown in FIGURE 4, the command and control data may be segmented and inserted into one or more headers for a Super Packet Transport Stream.
  • the Super Packet Transport Stream is sent to a smart card 636 for Network Decryption. After the Network Decryption, PIDs of interest are re-encrypted using Local Link Encryption and then muxed with regenerated stuffing packets into a single Super Packet Transport Stream for return to SoC 902.
  • the command and control data sent by the SoC 902 in the Super Packet Transport Stream headers is removed as discussed in FIGURE 5.
  • the command and control data is replaced, in the return Super Packet Transport Stream by command and control data to be sent to the SoC 902.
  • the return command and control data may include a local control word as discussed with reference to FIGURE 3.
  • the return command and control data exists and is processed for all packets, including stuffing packets and A/V packets.
  • the smart card 936 may also remove and add packets to the Super Packet Transport Stream as it passes through the smart card 936.
  • the SoC 902 will perform the reverse operations described previously.
  • the command and control data is extracted 628, the Stuffing Packets are removed 926, the A/V content is locally decrypted 630 and the multiplexed stream is broken back into separate MPEG2 Transport Streams that are delivered to the Transport Demux 910.
  • the Transport Demux 910 also utilizes PIDs from the original transport streams 904, 906, and 908 that may not have been delivered to the smart card 936.
  • Valid (non-null) command and control data in the Super Packet header is separated from the Super Packet header and delivered to memory.
  • Bulk data that is not MPEG transport formatted 934 is also removed and delivered to memory.
  • FIGURE 10 is an embodiment of a secure processing device 1000 that may be employed with the systems or to perform the methods disclosed herein.
  • the secure processing device may be a smart card.
  • the secure processing device may be part of a device performing the methods described herein.
  • the secure processing device 1000 may be a removable component of a device performing the method described herein.
  • secure processing device 1000 includes one or more processing units 1002.
  • one or more components of the methods described herein are performed by the one or more processing units 1002.
  • the one or more processing units 1002 may be used to reassemble command and control data as described herein.
  • Secure processing device 1000 may also include memory 1004.
  • Memory 1004 includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, or any other tangible medium which is used to store information and which is accessed by secure processing device 1000 and one or more processing units 1002.
  • Memory 1004 may store executable instructions to perform the methods disclosed herein.
  • memory 1004 may include instructions to decrypt network encrypted content (NEC) 1006.
  • NEC network encrypted content
  • LEC locally encrypted content
  • Secure processing device 1000 may also contain communications connection(s) 1010 that allow the device to communicate with other devices.
  • Communication connection(s) 1010 is an example of communication media.
  • Communication media may embody a modulated data signal, such as a carrier wave or other transport mechanism and includes any information delivery media, which may embody computer readable instructions, data structures, program modules, or other data in a modulated data signal.
  • modulated data signal means a signal that has one or more of its characteristics set or changed in such a manner as to encode information or a message in the data signal.
  • communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as an acoustic, RF, infrared, and other wireless media.
  • network encrypted content such may be received over communications connection(s) 1010.
  • Locally encrypted content may be transmitted over communications connection(s) 1010.
  • the instructions to perform the Transport I/O methods described herein may be received via communications connection(s) 1010.
  • a head-end may update secure processing device 1000 with instructions to perform the methods disclosed herein.
  • the instructions may be stored in memory 1004.
  • Communications connection(s) 1010 thereby allows a head-end to update smart cards deployed in the field with instructions to perform the methods herein.
  • Communications connections also provide the secure processing device 1000 with the ability to receive network encrypted content from a device and return locally encrypted content to the device.
  • an embodiment of a computing environment for implementing the various embodiments described herein includes a computer system, such as computer system 1100. Any and all components of the described embodiments (such as the DVR, the content storage server, a laptop, mobile device, personal computer, a smart phone, a secure processing device, etc.).
  • computer system 1100 comprises at least one processing unit or processor 1104 and system memory 1106.
  • the most basic configuration of the computer system 1100 is illustrated in FIG. 11 by dashed line 1102.
  • one or more components of the described system are loaded into system memory 1106 and executed by the processing unit 1104 from system memory 1106.
  • system memory 1106 may be volatile (such as RAM), non-volatile (such as ROM, flash memory, etc.), or some combination of the two.
  • computer system 1100 may also have additional features/functionality.
  • computer system 1100 may include additional storage media 1108, such as removable and/or non-removable storage, including, but not limited to, magnetic or optical disks or tape or solid state storage.
  • additional storage media 1108 such as removable and/or non-removable storage, including, but not limited to, magnetic or optical disks or tape or solid state storage.
  • software or executable code and any data used for the described system is permanently stored in storage media 1108.
  • Storage media 1108 includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules, or other data.
  • System memory 1106 and storage media 1108 are examples of computer storage media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage, other magnetic storage devices, solid state storage or any other tangible medium which is used to store the desired information and which is accessed by computer system 1100 and processor 1104. Any such computer storage media may be part of computer system 1100.
  • system memory 1106 and/or storage media 1108 may store data used to perform the methods or form the system(s) disclosed herein.
  • system memory 1106 may store information such as the command and control data 1114 and logic 1116 to perform the methods of breaking and reassembling command and control data described herein.
  • Computer system 1100 may also contain communications connection(s) 1110 that allow the device to communicate with other devices.
  • Communication connection(s) 1110 is an example of communication media.
  • Communication media may embody a modulated data signal, such as a carrier wave or other transport mechanism and includes any information delivery media, which may embody computer readable instructions, data structures, program modules, or other data in a modulated data signal.
  • modulated data signal means a signal that has one or more of its characteristics set or changed in such a manner as to encode information or a message in the data signal.
  • communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as an acoustic, RF, infrared, and other wireless media.
  • content and metadata may be transmitted over communications connection(s) 1110.
  • computer system 1100 also includes input and output connections 1112, and interfaces and peripheral devices, such as a graphical user interface.
  • Input device(s) are also referred to as user interface selection devices and include, but are not limited to, a keyboard, a mouse, a pen, a voice input device, a touch input device, etc.
  • Output device(s) are also referred to as displays and include, but are not limited to, cathode ray tube displays, plasma screen displays, liquid crystal screen displays, speakers, printers, etc. These devices, either individually or in combination, connected to input and output connections 1112 are used to display the information as described herein. All these devices are well 9806 known in the art and need not be discussed at length here.
  • the input and output connections 1112 may be used to communicate with a removable secure processor, such as, but not limited to, a smart card or a removable secure device.
  • computer system 1100 may include a secure processor 1118 and secure memory 1120 that may be used to perform some of the methods disclosed herein.
  • the secure processor 1118 and secure memory 1120 of the computer system 1100 may comprise a secure area 1122 that is not generally accessible by the other components of computer system 1100 or by other processes executing on the computer system 1100.
  • secure memory may store instructions to reassemble command and control data as described herein.. Such instructions may be executed by the secure processor 1118.
  • the components described herein comprise such modules or instructions executable by computer system 1100 that may be stored on computer storage medium and other tangible mediums and transmitted in communication media.
  • Computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules, or other data. Combinations of any of the above should also be included within the scope of readable media.
  • computer system 1100 is part of a network that stores data in remote storage media for use by the computer system 1100.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Storage Device Security (AREA)

Abstract

The present disclosure relates to systems and methods for assembling and extracting command and control data. In embodiments of the present disclosure, the command and control data is segmented and inserted into multiple packet headers. The header packets are identified by flags such as "First portion," "Middle portion," "Last portion," or "Null Byte." When a receiver extracts the command and control data from the headers, it tracks the flags associated with the headers. The command and control data is saved to buffer in association with its associated flag. The receiver uses the flags to determine when all command and control data headers have been received. The command and control data is then reconstructed and used to decrypt audio visual content.

Description

SYSTEMS AND METHODS FOR ASSEMBLING AND EXTRACTING COMMAND AND CONTROL DATA
This application is being filed on 07 May 2013, as a PCT International Patent application and claims priority to U.S. Patent Application Serial No. 13/799,774 filed on 13 March 2013, the disclosure of which is incorporated herein by reference in its entirety.
BACKGROUND
[0001] Oftentimes, video systems rely on communication between a set-top box and a smart card by means of multiplexed video streams. Multiplexed video streams sent between a set-top box and a smart card are typically comprised of a plurality of audio visual ("A/V") packets (the "A/V packets"). Traditionally, a stream of A/V packets that includes A/V data is typically transmitted separately from a stream of packets of command and control ("C&C") data (the "C&C packets"). The A/V data within a stream of A/V packets typically includes the scrambled content to be provided to a consumer for display. The C&C data within a stream of C&C packets typically includes various information, e.g., information necessary to descramble the audio visual content. For example, the C&C packets typically may include an Entitlement Control Message ("ECM"). An ECM typically includes keys that may be used to decrypt the audio-visual content. As another example, the C&C packets typically may also include an Entitlement Management Message ("EMM"). An EMM typically provides general information about the subscriber, e.g. including the status of a subscription. Various standards exist for transmitting different streams within an encapsulated container format, e.g., a transport stream compliant with the MPEG-TS format (i.e., the ISO/IEC 13818-1 , ITU-T Recommendation H.222.0). These standard transmission formats maintain the separation inherent between the different types of streams they encapsulate.
SUMMARY
[0002] Embodiments of the present disclosure relate to the extraction and assembly of C&C data from packet headers. Specifically, a C&C packet may be divided into multiple segments. These segments may be associated with a flag identifying the C&C data as first portion, middle portion, last portion, or null byte. The C&C segment and its associated flag may then be inserted into a packet header. The packet and packet header may be transmitted to a receiver. The receiver may extract the header from the packet and identify a first portion flag associated with a C&C header. The C&C data associated with a first portion flag is stored in a buffer. The receiver may then identify the middle portions and last portion flags and store the associated C&C data in a buffer. Upon identifying the last portion flag, the C&C data is flagged as complete and ready for execution. The assembled C&C data may then be processed and used to decrypt encrypted A/V packets.
[0003] In embodiments, the C&C portions may be used to communicate C&C data from a set-top-box to a smart card and vice versa. Embodiments of the present disclosure segment the C&C data and insert the C&C portions into one or more A/V packet headers. By utilizing space in the A V packet headers to carry C&C portions, there is a guaranteed transmission channel for command and/or control data regardless of how much A/V data is being sent.
BRIEF DESCRIPTION OF THE DRAWINGS
[0004] FIGURE 1 illustrates an embodiment of a communications system.
[0005] FIGURE 2 illustrates an implementation of audio visual descrambling in a set-top box.
[0006] FIGURE 3 illustrates another implementation of audio visual descrambling in a set-top box.
[0007] FIGURE 4a illustrates an embodiment of command and control data assembly and extraction. [0008] FIGURE 4b illustrates an embodiment of command and control data assembly and extraction.
[0009] FIGURE 5 illustrates a method for extracting command and control data. [00010] FIGURE 6 depicts an embodiment of a method for breaking command and control data into individual portions.
[0010] FIGURE 7 depicts an embodiment of a method for reconstructing command and control data. [0011] FIGURE 8 depicts yet another embodiment of a method for reconstructing command and control data.
[0012] FIGURE 9 depicts an exemplary set-top box for assembling and extracting command and control data.
[0013] FIGURE 10 is an embodiment of a secure processing device that may be employed with the systems or to perform the methods disclosed herein.
[0014] FIGURE 11 depicts an embodiment of a computing environment for implementing the various embodiments described herein.
DETAILED DESCRIPTION
[0015] The present disclosure describes a method for communicating command and control ("C&C") data from a set-top box to a smart card and vice versa. Embodiments of the present disclosure segment the C&C data and insert the C&C portions into one or more A/V packet headers. In embodiments, all of the packets in a data transmission may include the C&C portions. Certain transmission protocols require every A/V packet to have an A/V packet header. By utilizing space in the A/V packet headers to carry C&C portions, there is a guaranteed transmission channel for C&C regardless of how much A/V data is being sent. As such, regardless of how saturated the communications channel is, the C&C may be utilized to provide command and/or control information without interruption of the A/V data. Furthermore, in embodiments, the C&C data can be transmitted with low latency and it will not impede the flow of A/V packets. In embodiments, C&C information may include descrambling information (e.g., descrambling keys and/or control words), settings information (e.g., device operation settings), and or other type of command or control data that may be utilized by a device or application to perform a task, adjust a configuration or setting, etc.
[0016] In an embodiment, the A/V packet header includes two fields for C&C. The first field may be a flag that indicates a "First portion," a "Middle portion," a "Last portion," or a "Null portion." Because there are four possible values for this flag, it can optimally be encoded and carried in two bits. The second field is a data byte which contains one (1 ) byte of C&C data, if the flag field is First portion, Middle portion, or Last portion. If the flag field is Null Byte, then the C&C data byte is ignored (although still present in the A/V packet header). By examining the flag field, the entity (e.g., device, hardware, software application, etc.) extracting the C&C portions can understand whether all C&C portions have been extracted or whether more are still being provided. The extracted C&C portions may then be stored. When the flag field indicates Last portion, there are no more C&C portions comprising the C&C data, so the buffered C&C portions can be concatenated and processed.
[0017] FIGURE 1 illustrates a communications system that utilizes header based command and control technology. The communications system includes a head-end device 102 that receives content from content providers 104 and distributes the content across a communication network 106 to various recipient devices 108. The recipient devices can access the content and display it to a user. A recipient device 108 can be any device capable of receiving and decoding a data transmission stream over communication network 106. Such devices include, but are not limited to, mobile phones, smart phones, personal digital assistants (PDAs), satellite or cable set-top boxes, desktop computers, laptop computers, tablet computers, televisions, radios, or any other device known to the art.
[0018] In embodiments, the head-end 102 may be the distribution point of a cable television provider (e.g., a cable head-end), the distribution of point of a satellite television provider (e.g., a satellite uplink), or a server broadcasting content over the Internet. One of skill in the art will appreciate that the head-end 102 may be any type of device, or a collection of devices (as the case may be), that are capable of receiving, encrypting, and broadcasting, or otherwise transmitting, content over a network.
[0019] In one embodiment, the content broadcast over communications system 100 may be generated by the head-end device 102. In other embodiments, the head- end device may receive content from one or more content providers 104. In such embodiments, the head-end device 102 is in electrical communication with one or more content providers 104. For example, a content provider may be a cable, terrestrial, or satellite television station that transmits content to the head-end device 102 over a wired (e.g., cable, fiber optic, Internet connection, etc.) or wireless connection (e.g., via radio, microwave, satellite communications, etc.). In other embodiments, the content may reside in a datastore that is in electrical communication with the head-end 102. While FIGURE 1 depicts the content providers 104 as being separate entities from the head-end 102, in other embodiments, the content providers 104 and head-end device 102 may be a single entity.
[0020] The head-end 102 is tasked with distributing the content over a network 106 to various recipient devices 108. In embodiments, the network 106 may be the Internet, a cable network, a fiber optic network, a satellite communications network, a terrestrial broadcasting network (e.g., networks communicating over radio or microwave transmission mediums), a cellular data network, a wide area network (WAN), a local area network (LAN), a cellular data network, a plain old telephone service (POTS) network, or any other type of communication network capable of streaming and/or broadcasting data transmissions between various devices. One of skill in the art will appreciate that the systems and methods disclosed herein can be practiced regardless of the type of communication network used to transmit data between devices. In many cases, the head-end 102 will broadcast the content in a data transmission stream over the communications network rather than sending content to a particular device. Because the content is being broadcast over the communication network 106, the transmission can be received by any number of devices capable of interacting with the communication network 106. In order to prevent un-authorized users from accessing the broadcasted data transmission stream, the head-end 102 typically encrypts or re-encrypts (as the case may be) the data transmission stream before it is broadcast over the communication network 106. Although not illustrated in FIGURE 1, the communication network may also be used to perform two-way communication between the head-end 102 and the recipient devices 108.
[0021] As shown in further detail with regard to FIGURE 2, a System on Chip (SoC) 210 on a recipient device, such as a set-top box, is communicatively coupled, for example in transmission lines 206 and 208, to a removable security element such as smart card 204. The scrambled audio visual (A/V) content 212 and ECM packet(s) 214 are received by the SoC 210 in the set-top box from a network input 102 (satellite, cable, broadband internet, or other source). The ECM packet(s) 206 is/are separated and sent to a smart card 204. The smart card 204 may include a secure processor 220 to perform secure processing in addition to computing or extracting an A/V descrambling key. In embodiments, for example, in a DVB environment, the A/V descrambling key may be a network control word ("NCW"). The NCW indicates a global value for a given A/V stream at a given moment in time. The NCW may change every few seconds or minutes. The smart card 204 returns the NCW 208 to the SoC 210. The SoC 210 uses the NCW 208 to descramble 216 the A/V stream 212. The clear A/V 218 can then be decompressed by decoder 222 and transmitted to a display device such as a TV or monitor, 202 as a clear A/V baseband stream 224. While embodiments described herein have described operation in a DVB environment, one of skill in the art will appreciate that other environments used for broadcasting or otherwise transmitting secure content may be employed without departing from the scope of the present disclosure. [0022] In such architecture, there are growing concerns about the security. For example, typical content transmission environments present there are common problems. First, the descrambler is embedded in the SoC, which is not a replaceable element in the set-top box. As the speed of computers increases, brute force attacks on the NCW may become feasible. In addition, advances in cryptographic analysis reveal weaknesses in scrambling algorithms that were previously considered secure. Because the descrambler is embedded in the SoC, updating a descrambler to respond to these issues is often a costly procedure, and, in many cases requires the purchase of new hardware. Second, there is growing concern about piracy due to control word sharing (CWS) attacks in broadcast networks. By sharing the NCW over the Internet or other networks, a pirate can decrypt a full-bandwidth network- quality A/V Stream. In doing so, it is not necessary to share the A/V stream over the a networks, such as the Internet. Piracy may be accomplished by sharing a descrambling key, such as a NCW, which typically is comprises a very small amount of data that is easily transmittable over networks. In the architecture of Figure 2, the descrambling key, e.g., a NCW, is inherently more vulnerable to such attacks because it is exported from the smart card.
[0023] An improved architecture is shown in Figure 3. In this figure, one or more scrambled A/V streams 302 and ECM stream(s) 304 are routed from the SoC 306 to the smart card 308. The smart card 308 performs secure processing and extracts or computes the NCW 330. A scrambled A V stream 302 is first descrambled 314 in the smart card 308, e.g., using a network descrambling algorithm and the NCW 330. The result is an A/V stream 316 in the clear (e.g., not encrypted), although still compressed. The smart card 308 may generate a random Local Control Word and uses this value to re-scramble 318 the A/V using a local scrambling algorithm. The re-scrambled A/V 320 and the LCW may be returned to the SoC 306. The SoC 306 may then use the Local Control Word to descramble 322 the locally (e.g., uniquely) encrypted A V 320. The descrambled A/V stream 324 can then be decoded by a decoder 326 and transmitted to a display, such as but not limited to, a TV 328 as a clear A/V baseband stream 332.
[0024] In the architecture depicted with regard to FIGURE 3, the smart card 308 and the SoC 306 may communicate via a Super Packet Transport Stream. In an embodiment, a Super Packet Transport Stream comprises an extension of a standard MPEG transport stream. In further embodiments, a Super Packet may have a fixed length of 212 bytes.
[0025] In embodiments described below, C&C data may comprise part of an overall Super Packet Transport Stream shared between a smart card and a SoC. As discussed above, C&C data typically includes descrambling and settings information, such as ECMs and EMMs. The command and control data is communicated in a command and control packet. As will be discussed further below, the command and control packet may be segmented and inserted as header information to be sent from the SoC to the smart card.
[0026] FIGURE 4a depicts assembly of a Super Packet Transport Stream with command and control data in the headers. The SoC receives A/V information from a head-end as a sequence of A/V Packets 404-410. In embodiments, the A/V information may be comprised of an MPEG Transport Stream ("TS") comprised of TS Packets. The SoC may also receive command and control data from the headend. In embodiments, the command and control data from the head-end may be carried in MPEG TS packets. Furthermore, the SoC itself may locally generate command and control data. Command and control data, regardless of source, is formatted into a command and control packet 402. [0027] As is shown in FIGURE 4a, the command and control packet may be divided into multiple command and control segments 414-420. Each command and control segment 414-420 contains a portion of the information in the command and control packet 402. In embodiments of the present disclosure, each segment of the command and control packet is a fixed portion of a packet structure, such as an audio/visual packet (e.g., A/V Packets 404-408). For example, in one embodiment, the command and control segment is one byte. However, other segment sizes are contemplated within the scope of the present disclosure.
[0028] Each command and control segment 414-420 is accompanied by a command and control flag. In embodiments, the command and control flag can be one of four values: "First portion," 'Middle portion," 'Last portion," or "Null Byte." The First portion, Middle portion, and Last portion Flags are all associated with a header that contains valid command and control data. A Null Byte flag is associated with a header that may include extraneous or false (e.g., dummy or stuffing) command and control data and may be ignored. As can be appreciated, the command and control flags identify the boundaries of the command and control packets.
[0029] In an embodiment, the command and control segments 414-420 may be inserted along with the command and control flag into the headers of the A/V packets of the Super Packet Transport Stream. As is shown in FIGURE 4a, the command and control First portion header 426 may be inserted into the header of A/V Packet 1 404, the command and control Middle portion header 428 may be inserted into the header of A/V Packet 2 406, the command and control Middle portion header 430 may be inserted into the header of A/V Packet N-l 408, and the command and control Last portion header 432 may be inserted into the header of A/V Packet N 410. This assembled Super Packet Transport Stream may then be exchanged between the SoC and the smart card.
[0030] FIGURE 4b depicts re-assembly of command and control data from the Super Packet Transport Stream. In an embodiment, upon receipt of the Super Packet Transport Stream, the receiver may extract the command and control data 426-432 and reassemble the command and control packet. The receiver may then save the command and control data 438, such as the ECM and the EMM, to the command and control buffer. This information may be stored until new command and control data - and therefore, new command and control data, is received. Reassembly of the command and control packet will be discussed in further detail in FIGURE 5.
[0031] Further to this embodiment, when the smart card sends Super Packet Transport Streams back to the SoC, the smart card may assemble command and control data in the headers as described with reference to FIGURE 4a. The smart card inserts command and control data, such as a local control word, into the command and control data and sends the Super Packet Transport Stream to the SoC. The SoC reassembles the command and control data as shown in Figure 4b, and as described in further detail in FIGURE 5 below.
[0032] FIGURE 5 depicts an exemplary method 500 for reassembling a command and control packet from command and control data. The method 500 is discussed as performed by the smart card. However, performance at other devices, such as the set-top box or another removable security element, is contemplated within the scope of the present disclosure. For example, when a SoC receives a Super Packet Transport Stream back from the smart card, a SoC may reassemble the command and control packet using method 500 discussed below. [0033] Method 500 commences at monitor operation 502. At monitor operation 502, the smart card may receive Super Packet Transport Streams in an idle state. The smart card monitors the headers of the Super Packet Transport Streams, looking at the C&C flag value. The smart card remains in monitor operation 502, until a C&C flag value is detected. When a C&C flag is detected at detect operation 504, the smart card proceeds to determine operation 506.
[0034] At determine operation 506, the smart card determines whether the flag is a First portion flag. For purposes of this description, determining the identity of a flag may comprise processing the command and control ID flag associated with a header. If the flag is not a First portion flag, the smart card ignores the byte at operation 508. In an embodiment, upon ignoring the byte at operation 508, the smart card may acknowledge that the byte may have been flagged in error. Once the byte has been ignored, flow returns to monitor operation 502.
[0035] If the flag is a First portion flag, flow proceeds to flush buffer operation 510. In embodiments described by the present disclosure, command and control data is stored in the buffer at the smart card. When the First portion flag is received, the smart card recognizes that new command and control data is being transmitted. The smart card flushes the buffer to clear the old command and control data while at the same time creating space for the new command and control data. In embodiments, flushing the buffer may comprise filling the buffer with all zeros and setting the byte count to zero. Flow then proceeds to save operation 512.
[0036] At save operation 512, the smart card stores the command and control data in the First portion command and control header to the buffer. At this point the smart card transitions to an assemble state and continues to monitor incoming headers at monitor operation 514. The smart card continues to monitor incoming headers of the Super Packet Transport Stream until another flagged byte is received at receive operation 516. Flow then proceeds to operation 518.
[0037] At determine operation 518, the smart card determines whether the received byte is a First portion flag. If the received byte is a First portion flag, flow proceeds to operation 520. If the received byte is not a First portion flag, flow proceeds to operation 524.
[0038] At operation 520, the smart card flushes the buffer. At this time, the buffer is currently storing the command and control data associated with the flagged "First portion" header saved at operation 512. In an embodiment, as a second First portion flag has been received before a Last portion flag, the smart card may assume that the original First portion header was flagged in error and flushes the buffer of the command and control data associated with it. At operation 522, the smart card stores the new First portion header command and control data to the buffer. Flow then proceeds back to monitor operation 514. [0039] At operation 524, the smart card determines whether the flag is a Middle portion flag. Upon determining that the flag is a Middle portion flag, flow proceeds to operation 526. Upon determining that the flag is not a Middle portion flag, flow proceeds to operation 528.
[0040] At operation 526, the smart card saves the command and control data associated with the Middle portion flag to the buffer. In embodiments, saving to the buffer may comprise appending the command and control data associated with a previous Middle portion flag(s) to the already stored command and control data associated with the First portion flag. Once the command and control data is saved to the buffer, flow proceeds back to monitor operation 514. [0041] At operation 528, the smart card determines whether the flag is a Null Byte flag. As described above, the Null Byte flag is associated with a header that does not include any, or at least any viable, command and control data. If a Null Byte flag is identified at operation 528, the smart card ignores the data and continues to monitor the Super Packet Transport Stream at operation 514. If the flag is not a Null Byte flag, flow proceeds to operation 530.
[0042] At operation 530, the smart card determines whether the flag is a Last portion flag. If the flag is not a Last portion flag then it is a flag that does not indicate command and control data. As such, the smart card ignores it and returns to monitor operation 514.
[0043] If the flag is a Last portion flag, the smart card saves the command and control data associated with the Last portion flag to buffer at operation 532. Once the command and control data is saved, flow proceeds to operation 534. [0044] At operation 534, the smart card marks the saved command and control data in the buffer as ready to process. In embodiments, processing the command and control data may comprise executing the command. Once the command and control data has been marked, flow returns to monitor operation 502,
[0045] FIGURE 6 depicts an embodiment of a method 600 for breaking command and control data into individual portions that may be sent using out of band communications with audio/visual data or other types of data. Flow begins at operation 602 where a first portion of command and control data is received by a device performing the method 600. In embodiments, such a device may be a set- top-box, a video processing device, a general computing device, or any other type of device capable of receiving and/or generating command and control data and sending command and control data using out of band communications. In one embodiment, the command and control data may be received from an external source. For example, the command and control data may be received in an EMM or ECM that is part of broadcast transmission. In other embodiments, the command and control data may be generated by the device performing the method 600. For example, the device performing the method 600 may generate command and control data to send to another device, such as a secure processor, a SoC, and/or a smart card. [0046] After receiving and/or generating command and control, flow continues to operation 604 where the command and control data is broken multiple individual portions. In embodiments, the size of each portion may depend upon a particular communications protocol, a specific packet size of a header, the type of other data being transmitted (e.g., audio and/or visual data), or any other requirement. In one embodiment, the command and control data may be broken into byte sized portions. In other embodiments, the command and control data may be broken into larger portions consisting of multiple bytes or into smaller portions consisting of one or more bits. One of skill in the art will appreciate that the size and number of individual portions of command and control data created at operation 604 may vary without departing from the spirit of this disclosure.
[0047] Flow continues to operation 606 where the individual portions of data created in operation 604 are sent to another device, such as a secure processor, a smart card, a SoC, or any other type of computing device. In embodiments, the individual portions are sent utilizing out of band communication along with the other type of data being transmitted. For example, the portions may be sent as part of one or more headers associated with audio and/or visual data. In embodiments, the portions sent at operation 606 may be sent with an indicator used to indicate a portion's position in a completed reconstruction of the command and control data. In one embodiment, four types of indicators may be used. A "First portion" flag indicating a first portion of command and control data, a "Middle Portion" flag indicating that the portion is a middle portion of a command and control flag, a "Last Portion" flag indicating the last portion of command and control data, and a "Null Portion" flag indicating that no command and control data is present. In such embodiments, only one portion may be identified by the "First portion" flag and "Last Portion" flag for all of the portions that constitute the broken up command and control data; however, one or multiple portions may be identified using the "Middle Portion" flag. In another embodiment, the portions may be identified using a sequential identifier that corresponds to the order of the portions to be used to reconstruct the command and control data. In such embodiments, an additional U 2013/039806 indicator may be used to relay the total number of portions that comprise the command and control data.
[0048] After the portions of command and control data created at operation 604 are sent at operation 606, flow continues to operation 608 where the next command and control data is received and/or generated by the device performing the method 600. Flow continues back to operation 604 and the method 600 is repeated until there is no additional command and control data.
[0049] FIGURE 7 depicts an embodiment of a method 700 for reconstructing command and control data sent in out of band communication. For example, multiple portions of command and control data may be sent in out of band communication, e.g., as part of a header for audio and/or visual data or as another component of audio/visual data transmission. In embodiments, a smart card, a secure processor, a SoC, or any other type of processing device may perform the method 700. Flow begins at operation 702 where a first portion of command and control data is received. In embodiment, the first portion is identified by an indicator, such as a "First portion" indicator; however, other types of indicators may be used without departing from the scope of this disclosure. In another embodiment, the first portion of command and control data may be determined by examining a buffer and determining that no other command and control data resides in the buffer. As such, one of skill in the art will appreciate that the a portion of command and control data may be determined as being the first portion without the use of an indicator while remaining within the scope of the present disclosure.
[0050] Flow continues to operation 704 where, upon receiving a first portion of command and control data, a buffer is flushed to clear out any data remaining in the buffer. Having flushed the buffer, the first portion of command and control data is then stored in the buffer. Flow continues to operation 706 where a next portion of command and control data is received. In embodiments, a next portion of command and control data is any command and control data following the first portion of command in control data. In one embodiment, the next portion of command and control data may be indicated by any type of indicator other that the "First portion" indicator, such as, for example, a "Middle Portion" or "Last Portion" indicator. In other embodiments, other indicators, such as a sequential identifier, may be used to identify the next portion of command and control data. In yet another alternate embodiment, the next portion of command and control data may not be accompanied by an indicator.
[0051] Upon receiving the next portion of command and control data, flow continues to operation 708 where a determination is made as to whether the next portion of command and control data is the last portion of the command and control data. In one embodiment, the determination may be based upon receiving a "Last Portion" flag or indicator along with the next portion of command and control data received at operation 706. In another embodiment, the next command and control data may be identified as the last portion by another indicator, or by making a determination based on the number of portions of command and control data previously received. For example, if the command and control data has a known size, a determination that the next received portion of command and control data is the last portion of command and control data by determining the amount of data received in each portion of command and control data and comparing the total amount of data received to a known size of data.
[0052] If the next portion of command and control data is not the last portion of data, flow branches NO to operation 712 and the next portion of command and control data received at operation 706 is stored in the buffer. Flow then returns to operation 706 where the next portion of command and control data is received and continues in a loop until the last portion of command and control data is received.
[0053] When a determination is made that the last portion of command and control data is received at operation 708 flow branches YES to operation 710 where the last portion of command and control data is placed in the buffer and the command and control data is reconstructed. In one embodiment, the command and control data may be reconstructed as it is each individual portion is received and placed into the buffer. The reconstructed command and control data is then provided and/or operated upon by pulling the data out of the command and control buffer. In another embodiment, the additional processing may be required to reconstruct the command and control data. For example, reordering of the individual portions stored in the buffer may be performed at operation 710, additional information may be added to the individual portions stored in the buffer, or other types of processing may be performed at operation 710 to reconstruct command and control data. One of skill in the art will appreciate that any method of reconstructing portions of data into a completed data set may be employed at operation 710 without departing from the scope of the present disclosure.
[0054] FIGURE 8 depicts yet another embodiment of a method 800 for reconstructing command and control data sent in out of band communication. For example, multiple portions of command and control data may be sent in out of band communication, e.g., as part of a header for audio and/or visual data or as another component of audio/visual data transmission. In embodiments, a smart card, a secure processor, a SoC, or any other type of processing device may perform the method 800. Flow begins at operation 802 where a first portion of command and control data is received. In embodiment, the first portion is identified by an indicator, such as a "First portion" indicator; however, other types of indicators may be used without departing from the scope of this disclosure. In another embodiment, the first portion of command and control data may be determined by examining a buffer and determining that no other command and control data resides in the buffer. As such, one of skill in the art will appreciate that the a portion of command and control data may be determined as being the first portion without the use of an indicator while remaining within the scope of the present disclosure.
[0055] Flow continues to operation 804 where a determination is made as to whether the portion of command and control data received at operation 802 is the first portion of command and control data. For example, the various exemplary methods described with respect to FIGURE 7 may be employed at operation 804 to determine whether the received portion is the first portion of command and control data. If the received portion is the first portion, flow branches YES to operation 806 where a buffer for storing the command and control data is flushed and the received portion of command and control data is stored in the buffer. Flow then returns to operation 802 and another portion of command and control data is received.
[0056] If the portion received is not the first portion of command and control data, flow branches NO from operation 804 to operation 808 and a determination is made as to whether the received portion is the last portion of command and control data. The various exemplary methods described with respect to FIGURE 7 may be employed at operation 808 to determine whether the received portion is the last portion of command and control data. If the received portion is not the last portion of command and control data, flow branches NO to operation 810 where the portion is stored in the buffer and flow returns to operation 802.
[0057] If the portion received is the last portion of command and control data, flow branches YES from operation 808 to operation 812 where the last portion of command and control data is placed in the buffer and the command and control data is reconstructed. In one embodiment, the command and control data may be reconstructed as it is each individual portion is received and placed into the buffer. The reconstructed command and control data is then provided and/or operated upon by pulling the data out of the command and control buffer. In another embodiment, the additional processing may be required to reconstruct the command and control data. For example, reordering of the individual portions stored in the buffer may be performed at operation 812, additional information may be added to the individual portions stored in the buffer, or other types of processing may be performed at operation 812 to reconstruct command and control data. One of skill in the art will appreciate that any method of reconstructing portions of data into a completed data set may be employed at operation 812 without departing from the scope of the present disclosure.
[0058] FIGURE 9 depicts an exemplary set-top box 900 for assembling and extracting command and control data and described with reference to FIGURE 4, FIGURE 5, FIGURE 6, FIGURE 7, and FIGURE 8. While FIGURE 9 is illustrated with various components that are explained therein, some other components are known to the art and do not need explanation. [0059] Set-top box 900 includes Control electronics unit (not pictured) that may contain one or more central-processing-units (CPUs) or processors. The CPUs may be housed on a SoC, such as SoC 902. In this embodiment, control electronics unit contains a single CPU that is operatively connected to the shared bus. In this embodiment, CPU may be used, among other things, for logical operations for set- top box functions including, but not limited to, channel selection, recording control, EPG display and control and system maintenance. One skilled in the art will recognize that the CPU may be integrated with memory or other discrete electronics components. In embodiments, CPU may be used to perform the systems and methods disclosed herein.
[0060] Control electronics unit may contain one or more volatile memory components. Volatile memory components may include, but are not limited to, one or more SDRAM memory chips. Similarly, control electronics unit may also contain one or more non-volatile memory components. Non-volatile memory may include one or more memory chips, including, but not limited to, ROM, SRAM, SDRAM and Flash. One skilled in the art will recognize that volatile memory and nonvolatile memory may be integrated within other electronics components. One skilled in the art will also recognize that other memory components may be included within set-top box 900 and control electronics unit. One skilled in the art will recognize that memory, may be used for many purposes, including, but not limited to, storing EPG data and storing data for use by CPU. In embodiments, the Volatile memory components and/or one or more non-volatile memory components may be used to store the executable instructions to perform the method 500. In addition, the Volatile memory components may be used to store the extracted command and control header segments as described with respect to FIGURE 5.
[0061] A set-top box 900 may be connected to one or more peripheral electronic devices through peripheral interface. These peripheral devices may include a smart card 936. In embodiments, the smart card 936 may extract command and control data from a header of a Super Packet in a Super Packet Transport Stream. In such embodiments, the smart card 936 performs the method 500 disclosed herein. [0062] Incoming data 904 9 9from transport inputs, such as head-end described with respect to FIGURE 1, are routed to the Transport Demodulator 9608, a smart card 936, or both. The smart card may identify at PID Filters 912, 914, and 916 whether a packet identifier (PID) associated with a packet indicates that the packet contains A/V information intended for the smart card 936. In one embodiment, the PID filters 912, 914, and 916 support up to 32 PIDs per transport input. In other embodiments, the PID Filters 912, 914, and 916 are aggregated into a pool of 256 PIDs for all transport inputs. Packets with such PIDS are sent to super packet mux where the A V packets are multiplexed together into a Super Packet Transport Stream. DMA inputs may also be added to the Super Packet Transport Stream.
[0063] Packet Extension and stuffing packets may also be added to create the Super Packet Transport Stream. The Packet Extension may include additional data for stream identification, stream type, command and control field, and encryption flags. Stuffing Packets are inserted into the stream in order to maintain a constant bit rate. Command and control 924 information may also be added to the Super Packet Transport Stream. As shown in FIGURE 4, the command and control data may be segmented and inserted into one or more headers for a Super Packet Transport Stream.
[0064] The Super Packet Transport Stream is sent to a smart card 636 for Network Decryption. After the Network Decryption, PIDs of interest are re-encrypted using Local Link Encryption and then muxed with regenerated stuffing packets into a single Super Packet Transport Stream for return to SoC 902. The command and control data sent by the SoC 902 in the Super Packet Transport Stream headers is removed as discussed in FIGURE 5. The command and control data is replaced, in the return Super Packet Transport Stream by command and control data to be sent to the SoC 902. In embodiments, the return command and control data may include a local control word as discussed with reference to FIGURE 3. The return command and control data exists and is processed for all packets, including stuffing packets and A/V packets. The smart card 936 may also remove and add packets to the Super Packet Transport Stream as it passes through the smart card 936. [0065] When the Super Packet Transport Stream is returned from the smart card 936, the SoC 902 will perform the reverse operations described previously. The command and control data is extracted 628, the Stuffing Packets are removed 926, the A/V content is locally decrypted 630 and the multiplexed stream is broken back into separate MPEG2 Transport Streams that are delivered to the Transport Demux 910. The Transport Demux 910 also utilizes PIDs from the original transport streams 904, 906, and 908 that may not have been delivered to the smart card 936. Valid (non-null) command and control data in the Super Packet header is separated from the Super Packet header and delivered to memory. Bulk data that is not MPEG transport formatted 934 is also removed and delivered to memory.
[0066] FIGURE 10 is an embodiment of a secure processing device 1000 that may be employed with the systems or to perform the methods disclosed herein. In embodiments, the secure processing device may be a smart card. However, one of skill in the art will appreciate that any other type of secure device may be employed with the systems and methods disclosed herein. In embodiments, the secure processing device may be part of a device performing the methods described herein. In another embodiment, the secure processing device 1000 may be a removable component of a device performing the method described herein.
[0067] In embodiments, secure processing device 1000 includes one or more processing units 1002. In some embodiments, one or more components of the methods described herein are performed by the one or more processing units 1002. For example, the one or more processing units 1002 may be used to reassemble command and control data as described herein.
[0068] Secure processing device 1000 may also include memory 1004. Memory 1004 includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, or any other tangible medium which is used to store information and which is accessed by secure processing device 1000 and one or more processing units 1002. Memory 1004 may store executable instructions to perform the methods disclosed herein. For example, memory 1004 may include instructions to decrypt network encrypted content (NEC) 1006. Memory may also store the instructions to encrypt clear content to create locally encrypted content (LEC) 1008.
[0069] Secure processing device 1000 may also contain communications connection(s) 1010 that allow the device to communicate with other devices. Communication connection(s) 1010 is an example of communication media. Communication media may embody a modulated data signal, such as a carrier wave or other transport mechanism and includes any information delivery media, which may embody computer readable instructions, data structures, program modules, or other data in a modulated data signal. The term "modulated data signal" means a signal that has one or more of its characteristics set or changed in such a manner as to encode information or a message in the data signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as an acoustic, RF, infrared, and other wireless media. In embodiments, network encrypted content such may be received over communications connection(s) 1010. Locally encrypted content may be transmitted over communications connection(s) 1010. In still further embodiments, the instructions to perform the Transport I/O methods described herein may be received via communications connection(s) 1010. For example, a head-end may update secure processing device 1000 with instructions to perform the methods disclosed herein. The instructions may be stored in memory 1004. Communications connection(s) 1010 thereby allows a head-end to update smart cards deployed in the field with instructions to perform the methods herein. Communications connections also provide the secure processing device 1000 with the ability to receive network encrypted content from a device and return locally encrypted content to the device.
[0070] Although the embodiment of the secure processing device 1000 is illustrated as having memory 1004 that includes instructions to perform the methods disclosed herein, in alternate embodiments, the instructions to perform the methods disclosed herein may be performed by an application specific integrated circuit (ASIC) that is part of the secure processing device 1000. [0071] With reference to FIGURE 11, an embodiment of a computing environment for implementing the various embodiments described herein includes a computer system, such as computer system 1100. Any and all components of the described embodiments (such as the DVR, the content storage server, a laptop, mobile device, personal computer, a smart phone, a secure processing device, etc.). may execute as or on a client computer system, a server computer system, a combination of client and server computer systems, a handheld device, and other possible computing environments or systems described herein. As such, a basic computer system applicable to all these environments is described hereinafter. [0072] In its most basic configuration, computer system 1100 comprises at least one processing unit or processor 1104 and system memory 1106. The most basic configuration of the computer system 1100 is illustrated in FIG. 11 by dashed line 1102. In some embodiments, one or more components of the described system are loaded into system memory 1106 and executed by the processing unit 1104 from system memory 1106. Depending on the exact configuration and type of computer system 1100, system memory 1106 may be volatile (such as RAM), non-volatile (such as ROM, flash memory, etc.), or some combination of the two.
[0073] Additionally, computer system 1100 may also have additional features/functionality. For example, computer system 1100 may include additional storage media 1108, such as removable and/or non-removable storage, including, but not limited to, magnetic or optical disks or tape or solid state storage. In some embodiments, software or executable code and any data used for the described system is permanently stored in storage media 1108. Storage media 1108 includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules, or other data.
[0074] System memory 1106 and storage media 1108 are examples of computer storage media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage, other magnetic storage devices, solid state storage or any other tangible medium which is used to store the desired information and which is accessed by computer system 1100 and processor 1104. Any such computer storage media may be part of computer system 1100. In some embodiments, system memory 1106 and/or storage media 1108 may store data used to perform the methods or form the system(s) disclosed herein. In other embodiments, system memory 1106 may store information such as the command and control data 1114 and logic 1116 to perform the methods of breaking and reassembling command and control data described herein. [0075] Computer system 1100 may also contain communications connection(s) 1110 that allow the device to communicate with other devices. Communication connection(s) 1110 is an example of communication media. Communication media may embody a modulated data signal, such as a carrier wave or other transport mechanism and includes any information delivery media, which may embody computer readable instructions, data structures, program modules, or other data in a modulated data signal. The term "modulated data signal" means a signal that has one or more of its characteristics set or changed in such a manner as to encode information or a message in the data signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as an acoustic, RF, infrared, and other wireless media. In an embodiment, content and metadata may be transmitted over communications connection(s) 1110.
[0076] In some embodiments, computer system 1100 also includes input and output connections 1112, and interfaces and peripheral devices, such as a graphical user interface. Input device(s) are also referred to as user interface selection devices and include, but are not limited to, a keyboard, a mouse, a pen, a voice input device, a touch input device, etc. Output device(s) are also referred to as displays and include, but are not limited to, cathode ray tube displays, plasma screen displays, liquid crystal screen displays, speakers, printers, etc. These devices, either individually or in combination, connected to input and output connections 1112 are used to display the information as described herein. All these devices are well 9806 known in the art and need not be discussed at length here. In further embodiments, the input and output connections 1112 may be used to communicate with a removable secure processor, such as, but not limited to, a smart card or a removable secure device. [0077] In further embodiments, computer system 1100 may include a secure processor 1118 and secure memory 1120 that may be used to perform some of the methods disclosed herein. In embodiments, the secure processor 1118 and secure memory 1120 of the computer system 1100 may comprise a secure area 1122 that is not generally accessible by the other components of computer system 1100 or by other processes executing on the computer system 1100. In embodiments, secure memory may store instructions to reassemble command and control data as described herein.. Such instructions may be executed by the secure processor 1118.
[0078] In some embodiments, the components described herein comprise such modules or instructions executable by computer system 1100 that may be stored on computer storage medium and other tangible mediums and transmitted in communication media. Computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules, or other data. Combinations of any of the above should also be included within the scope of readable media. In some embodiments, computer system 1100 is part of a network that stores data in remote storage media for use by the computer system 1100.
[0079] This disclosure described some embodiments of the present invention with reference to the accompanying drawings, in which only some of the possible embodiments were shown. Other aspects may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments were provided so that this disclosure was thorough and complete and fully conveyed the scope of the possible embodiments to those skilled in the art. [0080] Although specific embodiments were described herein, the scope of the invention is not limited to those specific embodiments. One skilled in the art will recognize other embodiments or improvements that are within the scope and spirit of the present invention. Therefore, the specific structure, acts, or media are disclosed only as illustrative embodiments. The scope of the invention is defined by the following claims and any equivalents therein.

Claims

CLAIMS What is claimed is:
1. A method for reassembling command and control data, the method comprising: receiving a portion of command and control data, wherein the portion of the command control data is a fixed part of a packet structure; determining whether the portion of command and control data is a first portion of command and control data; and when the portion of command and control data is the first portion of command and control data, flushing a buffer and storing the first portion of command and control data in the buffer.
2. The method of claim 1 , wherein the determination of whether the portion of command and control data is the first portion of command and control data is based upon a first portion flag associated with the portion of command and control data
3. The method of claim 1 , further comprising: receiving a next portion of command and control data; and determining whether the next portion of command and control data is a last portion of data.
4. The method of claim 3, further comprising when the next portion of command and control data is not the last portion of data, storing the next portion of command and control data in the buffer.
5. The method of claim 4, wherein the determination is made that the next portion of command and control data is not the last portion of command and control data based upon the presence of a middle portion flag.
6. The method of claim 3, further comprising when the next portion of command and control data is the last portion of command and control data, reassembling the command and control data.
7. The method of claim 6, further comprising executing the command and control data.
8. The method of claim 6, wherein the determination is made that the next portion of command and control data is not the last portion of command and control data based upon the presence of a middle portion flag.
9. The method of claim 1 , further comprising when the portion of command and control data is not the first portion of command and control data, determining whether the portion of command and control data is the last portion of command and control data.
10. The method of claim 9, further comprising when the portion of command and control data is not the last portion of command and control data, storing the portion of command and control data in the buffer.
1 1. The method of claim 9, further comprising when the portion of command and control data is the last portion of command and control data, reassembling the command and control data.
12. A computer storage medium encoding computer executable instruction that, when executed by at least one processor, perform a method for reassembling command and control data, the method comprising: receiving a portion of command and control data, wherein the portion of command and control data is a fixed part of a packet structure; determining whether the portion of command and control data is a first portion of command and control data, wherein the determination is based upon a first portion flag associated with the portion of command and control data; and when the portion of command and control data is the first portion of command and control data, flushing a buffer and storing the first portion of command and control data in the buffer.
13. The computer storage medium of claim 12, wherein the method further comprises: receiving a next portion of command and control data; and determining whether the next portion of command and control data is a last portion of data.
14. The computer storage medium of claim 13, wherein the method further comprises when the next portion of command and control data is not the last portion of data, storing the next portion of command and control data in the buffer.
15. The computer storage medium of claim 13, further comprising when the next portion of command and control data is the last portion of command and control data, reassembling the command and control data.
16. The computer storage medium of claim 12, the method further comprising when the portion of command and control data is not the first portion of command and control data, determining whether the portion of command and control data is the last portion of command and control data.
17. The computer storage medium of claim 16, further comprising when the portion of command and control data is not the last portion of command and control data, storing the portion of command and control data in the buffer.
18. The computer storage medium of claim 16, further comprising when the portion of command and control data is the last portion of command and control data, reassembling the command and control data.
19. A secure device performing a method comprising: receiving a portion of command and control data; determining whether the portion of command and control data is a first portion of command and control data, wherein the determination is based upon a first portion flag associated with the portion of command and control data; when the portion of command and control data is the first portion of command and control data, flushing a buffer and storing the first portion of command and control data in the buffer receiving a next portion of command and control data; determining whether the next portion of command and control data is a last portion of data, wherein the determination is based upon a last portion flag associated with the next portion of command and control data; when the next portion of command and control data is not the last portion of data, storing the next portion of command and control data in the buffer; and when the next portion of command and control data is the last portion of command and control data, reassembling the command and control data.
20. The secure device of claim 19, wherein the secure device is a smart card.
PCT/US2013/039806 2013-03-13 2013-05-07 Systems and methods for assembling and extracting command and control data WO2014143093A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP13877992.1A EP2974331B1 (en) 2013-03-13 2013-05-07 Systems and methods for assembling and extracting command and control data
CN201380074223.6A CN105409227B (en) 2013-03-13 2013-05-07 For collecting and extracting order and control the system and method for data

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US13/799,774 2013-03-13
US13/799,774 US9485533B2 (en) 2013-03-13 2013-03-13 Systems and methods for assembling and extracting command and control data

Publications (1)

Publication Number Publication Date
WO2014143093A1 true WO2014143093A1 (en) 2014-09-18

Family

ID=51534932

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2013/039806 WO2014143093A1 (en) 2013-03-13 2013-05-07 Systems and methods for assembling and extracting command and control data

Country Status (5)

Country Link
US (1) US9485533B2 (en)
EP (1) EP2974331B1 (en)
CN (1) CN105409227B (en)
TW (1) TWI595778B (en)
WO (1) WO2014143093A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9958934B1 (en) 2006-05-01 2018-05-01 Jeffrey D. Mullen Home and portable augmented reality and virtual reality video game consoles
US9647997B2 (en) 2013-03-13 2017-05-09 Nagrastar, Llc USB interface for performing transport I/O
US9888283B2 (en) 2013-03-13 2018-02-06 Nagrastar Llc Systems and methods for performing transport I/O
US9912771B2 (en) * 2014-04-14 2018-03-06 Arris Enterprises Llc Real time key collection in device provisioning
USD864968S1 (en) 2015-04-30 2019-10-29 Echostar Technologies L.L.C. Smart card interface
US10440035B2 (en) 2015-12-01 2019-10-08 Cisco Technology, Inc. Identifying malicious communication channels in network traffic by generating data based on adaptive sampling
US10264005B2 (en) 2017-01-11 2019-04-16 Cisco Technology, Inc. Identifying malicious network traffic based on collaborative sampling

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050005287A1 (en) * 2002-10-04 2005-01-06 Claussen Paul J. Networked multimedia overlay system
US20070143784A1 (en) * 1997-06-11 2007-06-21 Tatsuya Kubota Data multiplexing device, program distribution system, program transmission system, pay broadcast system, program transmission method, conditional access system, and data reception device
US20080163290A1 (en) * 2006-12-08 2008-07-03 Marko Paul D System for insertion of locally cached information into a received broadcast stream
US20090086657A1 (en) * 2007-10-01 2009-04-02 Comsys Communication & Signal Processing Ltd. Hybrid automatic repeat request buffer flushing mechanism
US20110119487A1 (en) * 2009-11-13 2011-05-19 Velocite Systems, LLC System and method for encryption rekeying

Family Cites Families (52)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4696034A (en) 1984-10-12 1987-09-22 Signal Security Technologies High security pay television system
MY125706A (en) 1994-08-19 2006-08-30 Thomson Consumer Electronics High speed signal processing smart card
DE69623170T2 (en) 1995-04-27 2003-05-15 Hitachi Ltd Method and device for receiving and / or reproducing digital signals
US6035037A (en) 1995-08-04 2000-03-07 Thomson Electronic Consumers, Inc. System for processing a video signal via series-connected high speed signal processing smart cards
US5852290A (en) 1995-08-04 1998-12-22 Thomson Consumer Electronics, Inc. Smart-card based access control system with improved security
DE69630012T2 (en) 1995-10-31 2004-06-03 Koninklijke Philips Electronics N.V. DELAYED ACCESS
US5742680A (en) 1995-11-13 1998-04-21 E Star, Inc. Set top box for receiving and decryption and descrambling a plurality of satellite television signals
DE69806821T2 (en) 1997-12-10 2003-01-16 Thomson Licensing Sa METHOD FOR PROTECTING IMAGE / SOUND DATA THROUGH AN NRSS INTERFACE
US6292490B1 (en) 1998-01-14 2001-09-18 Skystream Corporation Receipts and dispatch timing of transport packets in a video program bearing stream remultiplexer
US6697489B1 (en) 1999-03-30 2004-02-24 Sony Corporation Method and apparatus for securing control words
IT1308484B1 (en) 1999-05-13 2001-12-17 Cselt Centro Studi Lab Telecom EQUIPMENT FOR THE RE-MULTIPLATION OF AUDIO-VISUAL NUMBERED FLOWS
US7062584B1 (en) 1999-07-15 2006-06-13 Thomson Licensing Method and apparatus for supporting two different types of integrated circuit cards with a single connector
EP1094633B1 (en) 1999-10-18 2003-08-27 Irdeto Access B.V. Method for distributing keys among a number of secure devices, method for communicating with a number of secure devices, security system, and set of secure devices
EP1188315A2 (en) 1999-12-22 2002-03-20 Koninklijke Philips Electronics N.V. Conditional access system
US6779115B1 (en) 2000-02-18 2004-08-17 Digital5, Inc. Portable device using a smart card to receive and decrypt digital data
US7904939B2 (en) * 2000-06-21 2011-03-08 At&T Intellectual Property I, L. P. Methods, systems, and products for automated control of devices
US7577846B2 (en) 2000-10-04 2009-08-18 Nagravision Sa Mechanism of matching between a receiver and a security module
US7065213B2 (en) 2001-06-29 2006-06-20 Scientific-Atlanta, Inc. In a subscriber network receiving digital packets and transmitting digital packets below a predetermined maximum bit rate
US6925180B2 (en) 2001-09-27 2005-08-02 Sony Corporation PC card recorder
US7453897B2 (en) 2001-10-03 2008-11-18 Global Ip Solutions, Inc. Network media playout
US7765567B2 (en) * 2002-01-02 2010-07-27 Sony Corporation Content replacement by PID mapping
US7184093B2 (en) 2002-05-20 2007-02-27 Thomson Licensing Video image formatting technique
US7469420B2 (en) 2002-05-21 2008-12-23 Thomson Licensing Key transport tamper protection
US7315622B2 (en) 2002-06-27 2008-01-01 Nxp B.V. Robust method for achieving audio/video synchronization in MPEG decoders in personal video recording applications
US7724907B2 (en) 2002-11-05 2010-05-25 Sony Corporation Mechanism for protecting the transfer of digital content
US20040181811A1 (en) 2003-03-13 2004-09-16 Rakib Selim Shlomo Thin DOCSIS in-band management for interactive HFC service delivery
US20040260823A1 (en) 2003-06-17 2004-12-23 General Instrument Corporation Simultaneously transporting multiple MPEG-2 transport streams
CN100568870C (en) 2003-08-03 2009-12-09 清华大学 A kind of general serial data double-way transfer interface system
EP1695553A1 (en) 2003-12-10 2006-08-30 Koninklijke Philips Electronics N.V. Conditional access video signal distribution
US7647641B2 (en) 2003-12-23 2010-01-12 Viacess Method and system for conditional access applied to protection of content
US8443415B2 (en) 2004-01-29 2013-05-14 Ngna, Llc System and method of supporting transport and playback of signals
US8543723B2 (en) 2004-07-27 2013-09-24 Sony Corporation Home network system with transmission error recovery
JP4882269B2 (en) * 2005-04-22 2012-02-22 ソニー株式会社 Multiplexing device, multiplexing method, program, and recording medium
US7649949B2 (en) 2005-07-28 2010-01-19 Sony Corporation Multipurpose television module
JP2007150855A (en) 2005-11-29 2007-06-14 Toshiba Corp Receiving system
US8756626B2 (en) 2005-12-22 2014-06-17 Broadcom Corporation Method and apparatus for using the host-pod interface of a digital television or other digital audio/video receiver for new services
US7859856B2 (en) 2006-02-17 2010-12-28 Lanning Eric J Tap board
US8887212B2 (en) 2006-03-21 2014-11-11 Robin Dua Extended connectivity point-of-deployment apparatus and concomitant method thereof
WO2007132165A1 (en) * 2006-05-04 2007-11-22 Nds Limited Scrambled digital data item
US8130705B2 (en) * 2006-09-15 2012-03-06 Qualcomm Incorporated Method and apparatus for service capability modification
JP2008172391A (en) 2007-01-10 2008-07-24 Mitsubishi Electric Corp Multi-stream distribution device and multi-descrambling device
US20090069049A1 (en) 2007-09-12 2009-03-12 Devicefidelity, Inc. Interfacing transaction cards with host devices
US20090144456A1 (en) 2007-11-30 2009-06-04 Alexander David Gelf Interface Device for Securely Extending Computer Functionality
US9332217B2 (en) 2008-12-29 2016-05-03 Centurylink Intellectual Property Llc Method and apparatus for communicating data via a cable card
GB0823702D0 (en) 2008-12-31 2009-02-04 St Microelectronics Res & Dev Processing packet streams
US8385542B2 (en) 2009-04-27 2013-02-26 Nagrastar L.L.C. Methods and apparatus for securing communications between a decryption device and a television receiver
US8381260B2 (en) 2009-07-08 2013-02-19 Echostar Technologies L.L.C. Separate addressing of a media content receiver and an installed removable circuit device
EP2373019A1 (en) 2010-03-29 2011-10-05 Nagravision S.A. Secure descrambling of an audio / video data stream
US9648657B2 (en) * 2011-04-01 2017-05-09 Interdigital Patent Holdings, Inc. Method and apparatus for controlling connectivity to a network
US9451313B2 (en) 2011-06-29 2016-09-20 Harman International Industries, Incorporated Network media adapter
US8645691B2 (en) 2012-01-13 2014-02-04 Combined Conditional Access Development And Support, Llc System and method for securing data while minimizing bandwidth
US9888283B2 (en) 2013-03-13 2018-02-06 Nagrastar Llc Systems and methods for performing transport I/O

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070143784A1 (en) * 1997-06-11 2007-06-21 Tatsuya Kubota Data multiplexing device, program distribution system, program transmission system, pay broadcast system, program transmission method, conditional access system, and data reception device
US20050005287A1 (en) * 2002-10-04 2005-01-06 Claussen Paul J. Networked multimedia overlay system
US20080163290A1 (en) * 2006-12-08 2008-07-03 Marko Paul D System for insertion of locally cached information into a received broadcast stream
US20090086657A1 (en) * 2007-10-01 2009-04-02 Comsys Communication & Signal Processing Ltd. Hybrid automatic repeat request buffer flushing mechanism
US20110119487A1 (en) * 2009-11-13 2011-05-19 Velocite Systems, LLC System and method for encryption rekeying

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2974331A4 *

Also Published As

Publication number Publication date
US20140282808A1 (en) 2014-09-18
EP2974331A1 (en) 2016-01-20
EP2974331A4 (en) 2016-10-05
CN105409227A (en) 2016-03-16
CN105409227B (en) 2018-12-11
TW201436553A (en) 2014-09-16
EP2974331B1 (en) 2021-08-25
TWI595778B (en) 2017-08-11
US9485533B2 (en) 2016-11-01

Similar Documents

Publication Publication Date Title
US10382816B2 (en) Systems and methods for performing transport I/O
US9485533B2 (en) Systems and methods for assembling and extracting command and control data
EP2627095B1 (en) Device and method for partial encryption
US8213602B2 (en) Method and system for encrypting and decrypting a transport stream using multiple algorithms
US9647997B2 (en) USB interface for performing transport I/O
US20060015750A1 (en) Storage of encrypted digital signals
US9160721B2 (en) Information processing apparatus and information processing method
JP6793364B2 (en) Content decoding device, content decoding method, receiving device and program
US20230252110A1 (en) Efficient media stream encryption providing full content protection
EP3002950B1 (en) Usb interface for performing transport i/o
JP6009946B2 (en) Information processing apparatus, content transfer method, and program

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201380074223.6

Country of ref document: CN

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

Ref document number: 13877992

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2013877992

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE