Patent ID: 8369413

Claim:
A transport stream processing system capable of recording and playing back a transport stream carrying a plurality of transport stream packets, wherein each transport stream packet comprises a packet identifier value, comprising: a first memory unit for storing a plurality of sets of control words, wherein each set of control words corresponds to an index number and a designated identifier value; a packet identifier filter for receiving a transport stream packet, acquiring a set of control words from the first memory unit according to the packet identifier value of the received transport stream packet, and configuring an indicator to indicate that the received transport stream packet is provided for a recording operation or a playback operation, wherein the designated identifier value corresponding to the acquired set of control words matches the packet identifier value of the received transport stream packet; a second memory unit for storing a plurality of data structures, wherein each data structure corresponds to the index number and the plurality of data structures comprises a first plurality of data structure for the recording operation and a second plurality of data structure for the playback operation, and each data structure is retrieved in response to a corresponding set of control words with the same index number; and a processor coupled to the second memory unit and the packet identifier filter, for determining whether the recording operation or the playback operation is performed for the received transport stream packet according to the indicator, retrieving a data structure from the second memory unit according to the index number corresponding to the acquired set of control words and performing the operation for the received transport stream packet according to the determination result, the acquired set of control words and the retrieved data structure.