FR3001352A1 - Method for recording and playing broadcast digital service received in scrambled form by e.g. digital TV, involves generating replacement table, transferring output stream including table, and recording stream to host equipment - Google Patents

Method for recording and playing broadcast digital service received in scrambled form by e.g. digital TV, involves generating replacement table, transferring output stream including table, and recording stream to host equipment Download PDF

Info

Publication number
FR3001352A1
FR3001352A1 FR1350624A FR1350624A FR3001352A1 FR 3001352 A1 FR3001352 A1 FR 3001352A1 FR 1350624 A FR1350624 A FR 1350624A FR 1350624 A FR1350624 A FR 1350624A FR 3001352 A1 FR3001352 A1 FR 3001352A1
Authority
FR
France
Prior art keywords
stream
recording
service
transport
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
FR1350624A
Other languages
French (fr)
Inventor
Marc Abramson
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ASTON FRANCE
Original Assignee
ASTON FRANCE
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 ASTON FRANCE filed Critical ASTON FRANCE
Priority to FR1350624A priority Critical patent/FR3001352A1/en
Publication of FR3001352A1 publication Critical patent/FR3001352A1/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/78Television signal recording using magnetic recording
    • H04N5/781Television signal recording using magnetic recording on disks or drums
    • 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/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4135Peripherals receiving signals from specially adapted client devices external recorder
    • 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/4181External card to be used in combination with the client device, e.g. for conditional access for conditional access
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/426Internal components of the client ; Characteristics thereof
    • H04N21/42661Internal components of the client ; Characteristics thereof for reading from or writing on a magnetic storage medium, e.g. hard disk drive
    • H04N21/42669Internal components of the client ; Characteristics thereof for reading from or writing on a magnetic storage medium, e.g. hard disk drive the medium being removable
    • 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/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • H04N21/4325Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • 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/4344Remultiplexing of multiplex streams, e.g. by modifying time stamps or remapping the packet identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/913Television signal processing therefor for scrambling ; for copy protection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/913Television signal processing therefor for scrambling ; for copy protection
    • H04N2005/91357Television signal processing therefor for scrambling ; for copy protection by modifying the video signal
    • H04N2005/91364Television signal processing therefor for scrambling ; for copy protection by modifying the video signal the video signal being scrambled

Abstract

The method involves extracting input transport stream from transport packets received from host equipment (1), and selecting the packets in the stream during recording phase. An identifier of table is recovered from a service listened by the equipment, and recording stream and the packets are received from an external memory medium (8). An identifier of elementary stream of the recorded service is recovered in the stream. A replacement table is generated from the identifiers. An output stream including the replacement table and recording stream is transferred to the equipment. Independent claims are also included for the following: (1) an access control module associated with host equipment for receiving an input transport stream (2) a data transport stream delivered by an access control module for reading a recording stream corresponding to a broadcasted digital service.

Description

ENREGISTREMENT D'UN SERVICE NUMERIQUE TELEDIFFUSE REÇU SOUS FORME EMBROUILLEE ET RELECTURE DU SERVICE ENREGISTRE A PARTIR DE MODULES PCMCIA DE CONTROLE D'ACCES La présente invention concerne une amélioration relative aux fonctionnalités offertes par les modules d'interface commune pour le contrôle d'accès aux programmes de télévision numérique. Un tel module d'interface commune, encore appelé module PCMCIA, est classiquement utilisé en association avec un équipement hôte (télévision numérique, ou tout autre équipement récepteur de signaux de télévision numérique tel qu'un décodeur (satellite, terrestre, câble) ou un récepteur IP, pour désembrouiller des signaux de télévision/radio numérique télédiffusés selon une norme de type MPEG2 ou de type IP qui sont reçus sous forme embrouillée (embrouillage DVB pour la norme MPEG2, ou embrouillage AES pour la norme IP) par l'équipement hôte.The present invention relates to an improvement relating to the functionalities offered by the common interface modules for the access control of the services recorded by PCMCIA access control modules. digital television programs. Such a common interface module, also called PCMCIA module, is conventionally used in association with a host equipment (digital television, or any other digital television signal receiver equipment such as a decoder (satellite, terrestrial, cable) or a receiver. IP receiver, to descramble MPEG2 or IP type television / digital radio television signals that are received in scrambled form (DVB scrambling for MPEG2 standard, or AES scrambling for IP standard) by the host equipment .

Le fonctionnement et l'interaction entre tout module PCMCIA et tout équipement équipement hôte dans lequel un module PCMCIA est inséré sont définis par les normes « Interface Commune » (EN50221) et « CI+ V1.3 ». La figure 1 illustre schématiquement les composantes principales d'un équipement hôte 1 et d'un module PCMCIA 2 pour le contrôle d'accès à certaines chaînes en direct, dans l'exemple non limitatif d'une télédiffusion selon la norme MPEG2. Sur la figure 1, ainsi que sur l'ensemble des figures annexées, les composants optionnels sont représentés par des rectangles en traits discontinus. Dans un premier temps, la procédure d'installation de l'équipement hôte 1 et son fonctionnement pour la réception d'une chaîne en l'absence du module PCMCIA 2 vont être décrits : L'équipement hôte 1, par exemple une télévision numérique, comporte classiquement un récepteur numérique constitué principalement d'un tuner 10, d'un démodulateur 11, d'un démultiplexeur 12 et d'un décodeur MPEG 13. L'ensemble de ces éléments opère sous le contrôle d'un microcontrôleur 14. Le signal télédiffusé RFIN reçu en entrée du tuner 10 est démodulé par le démodulateur 11 qui délivre par suite un flux de transport TSIN. Différentes données contenues dans ce flux sont séparées par le démultiplexeur 12, en particulier les données relatives aux signaux audio et vidéo susceptibles d'être présents dans le flux de transport TSIN, ces données étant ensuite décodées par le décodeur MPEG 13 en vue d'être jouées sur les haut-parleurs et l'écran (non représentés) intégrés ou associés à l'équipement hôte 1.The operation and interaction between any PCMCIA module and any host equipment equipment in which a PCMCIA module is inserted are defined by the "Common Interface" (EN50221) and "CI + V1.3" standards. FIG. 1 schematically illustrates the principal components of a host device 1 and a PCMCIA module 2 for controlling access to certain live channels, in the nonlimiting example of a broadcast according to the MPEG2 standard. In FIG. 1, as well as in all the appended figures, the optional components are represented by rectangles in broken lines. Firstly, the installation procedure of the host device 1 and its operation for the reception of a channel in the absence of the PCMCIA 2 module will be described: the host equipment 1, for example a digital television, conventionally comprises a digital receiver consisting mainly of a tuner 10, a demodulator 11, a demultiplexer 12 and an MPEG decoder 13. All of these elements operates under the control of a microcontroller 14. The signal RFIN television received at the input of the tuner 10 is demodulated by the demodulator 11 which consequently delivers a TSIN transport stream. Different data contained in this stream are separated by the demultiplexer 12, in particular the data relating to the audio and video signals likely to be present in the TSIN transport stream, these data then being decoded by the MPEG decoder 13 in order to be played on the speakers and the display (not shown) integrated or associated with the host equipment 1.

Dans le cas de la télévision numérique, un canal de transmission transporte plusieurs services de natures différentes, chacun étant composé d'au moins un flux élémentaire ES, ainsi que des informations qui permettent à l'équipement récepteur de connaître la nature et la composition des services présents dans le flux de transport. Ces informations sont transportées dans différentes tables. En particulier, conformément à la norme EN 300 468 V1.12.1, la norme MPEG-2 définit deux types de tables obligatoires qui doivent être transmises dans le flux de transport : - les tables de correspondance de programmes, ou tables PMT (initiales anglo-saxonnes mises pour Program Map Table), chaque table PMT étant relative à un service (chaîne télévision ou radio) présent dans le flux de transport et comprenant ainsi un descriptif des caractéristiques et composantes de ce service (par exemple vidéo, audio en français, audio en anglais, sous titrage en français...). Chaque table PMT indique également si le service associé est embrouillé ou non, au moyen d'un ou plusieurs identifiants de cryptage appelés CA_descriptors; - la table d'association de programme, ou table PAT (initiales anglo- saxonnes mises pour Program Association Table) qui associe chaque service présent dans le flux de transport à une table PMT. La norme DVB impose quant à elle l'utilisation de la table de description de service, ou table SDT (initiales anglo-saxonnes mises pour Service Description Table) qui permet de faire la correspondance entre le nom d'une chaîne (tel que connu par l'utilisateur final) et son numéro de programme (« program_number »). Comme représenté schématiquement sur la figure 2, le flux de 30 transport TSIN comporte donc une succession de paquets de transport TP de différents types, en particulier des paquets de transport TPES relatifs aux services proprement dits et des paquets de transport TPPMT, TPPAT et TPsDT relatifs aux tables PMT, à la table PAT et à la table SDT. Quel que soit le type du paquet de transport TP, ce dernier est constitué généralement de 188 octets et comporte: - un champ d'entête 3 comprenant notamment un identifiant PID permettant de reconnaître de façon unique la nature du paquet. En particulier, les normes imposent l'utilisation d'un PID égal à 0 pour la table PAT, d'un PID égal à 11 pour la table SDT, les PID correspondant aux services étant laissés au choix des opérateurs. - Un champ de données 4 qui correspond au contenu. Pour fixer les idées, on donne dans le tableau 1 ci-après un exemple de la structure des paquets de transport TP reçus lorsque le flux de transport TSIN est destiné à transmettre deux chaînes de télévision nommées chaîne 1 et chaîne 2, chaque chaîne comportant un signal vidéo et un signal audio, la chaîne 1 étant embrouillée DVB et la chaîne 2 étant diffusée en clair. Les deux chaînes comportent donc chacune deux flux élémentaires ES (l'un pour l'audio, l'autre pour la vidéo). Nature paquet PID Champ de données TPPMT Chaîne 1 PMT1 PID_ES Type ES + CA_descriptor PID1 audio PID2 vidéo TPPMT Chaine 2 PMT2 PID_ES Type ES PID3 audio PID4 vidéo TPPAT (Table PAT) 0 PID_PMT Program_number PMT1 1 PMT2 21 TPsDT (Table SDT) 11 Nom de chaîne Program_number Chaîne 1 1 Chaîne 2 21 Audio Chaîne 1 PID1 Contenu audio Vidéo Chaîne 1 PID2 Contenu vidéo Audio Chaîne 2 PID3 Contenu audio Vidéo Chaîne 2 PID4 Contenu vidéo Tableau 1 Bien entendu, il y aura généralement dans le flux plusieurs paquets d'identifiants PID1, PID2, PID3 et PID4. De même, les paquets correspondant aux tables PMT, PAT et SDT sont régulièrement transmis pour tenir compte de mises à jour possibles.In the case of digital television, a transmission channel carries several services of different nature, each consisting of at least one elementary stream ES, as well as information that enables the receiving equipment to know the nature and composition of the services present in the transport stream. This information is carried in different tables. In particular, in accordance with the standard EN 300 468 V1.12.1, the MPEG-2 standard defines two types of mandatory tables that must be transmitted in the transport stream: - the program correspondence tables, or PMT tables (English initials); saxons set for Program Map Table), each PMT table being relative to a service (television or radio channel) present in the transport stream and thus including a description of the characteristics and components of this service (for example video, audio in French, audio in English, subtitling in French ...). Each PMT table also indicates whether the associated service is scrambled or not, by means of one or more encryption identifiers called CA_descriptors; the program association table, or PAT (Program Association Table) which associates each service present in the transport stream with a PMT table. The DVB standard imposes the use of the service description table, or SDT (set in English for Service Description Table) table, which makes it possible to match the name of a string (as known by the end user) and its program number ("program_number"). As shown diagrammatically in FIG. 2, the TSIN transport stream therefore comprises a succession of TP transport packets of different types, in particular TPES transport packets relating to the services themselves, and TPPMT, TPPAT and TPsDT transport packets relating to each other. PMT tables, the PAT table, and the SDT table. Whatever the type of TP transport packet, the latter is generally composed of 188 bytes and comprises: a header field 3 including a PID identifier for uniquely recognizing the nature of the packet. In particular, the standards require the use of a PID equal to 0 for the PAT table, a PID equal to 11 for the SDT table, the PID corresponding to the services being left to the discretion of the operators. - A data field 4 which corresponds to the content. To fix ideas, Table 1 below gives an example of the structure of TP transport packets received when the TSIN transport stream is intended to transmit two television channels named channel 1 and channel 2, each channel comprising a video signal and an audio signal, the channel 1 being scrambled DVB and the channel 2 being broadcast in clear. The two channels therefore each have two elementary streams ES (one for audio, the other for video). Nature PID packet TPPMT data field String 1 PMT1 PID_ES Type ES + CA_descriptor PID1 audio PID2 video TPPMT String 2 PMT2 PID_ES Type ES PID3 audio PID4 video TPPAT (PAT Table) 0 PID_PMT Program_number PMT1 1 PMT2 21 TPsDT (SDT Table) 11 Name of channel Program_number Channel 1 1 Channel 2 21 Audio Channel 1 PID1 Audio content Video Channel 1 PID2 Video content Audio Channel 2 PID3 Audio content Video Channel 2 PID4 Video content Table 1 Of course, there will usually be several PID1 identifier packets in the stream , PID2, PID3 and PID4. Similarly, the packets corresponding to the PMT, PAT and SDT tables are regularly transmitted to take account of possible updates.

En référence de nouveau à la figure 1, au moment de l'installation de l'équipement hôte 1, ce dernier va tout d'abord poser un filtre pour extraire, via le démultiplexeur 12, les paquets de transport TPSDT et TPPAT correspondant respectivement aux tables SDT et PAT. En combinant les informations extraites de ces deux tables, il va pouvoir créer et stocker dans une mémoire intégrée 15: - une liste de chaînes, avec les noms de chaînes en provenance de la SDT, qu'il pourra proposer à l'utilisateur pour les changements de chaînes ; - des triplets associant le nom de chaque chaîne avec son numéro de programme (Program_number dans tableau 1 ci-dessus) et son identifiant dans la table PMT (PID_PMT dans tableau 1 ci-dessus). Lorsque l'utilisateur souhaite regarder et/ou écouter un service particulier associé à une chaîne, par exemple en sélectionnant ce service au moyen d'une télécommande 16, l'équipement hôte 1 reçoit le signal de commande de l'utilisateur et récupère dans la mémoire 15 le numéro de programme (Program_number) de cette chaîne et son identifiant PMT (PID_PMT). L'équipement hôte 1 peut alors poser un filtre pour extraire du flux de transport TSIN les paquets de transport TPPAT de la table PMT correspondant à cet identifiant PMT. A partir d'une analyse du contenu de ces paquets de transport, l'équipement hôte 1 peut extraire l'ensemble des identifiants liés aux flux élémentaires ES de cette chaîne (PID_ES dans tableau 1 ci-dessus). Il est alors en mesure de poser un nouveau filtre pour extraire du flux de transport TSIN les paquets de transport TPES correspondant à chacun des identifiants PID_ES liés aux flux élémentaires ES. Les signaux récupérés au niveau du démultiplexeur 12 sont ensuite décodés par le décodeur MPEG 13 pour être joués sur l'écran et les haut-parleurs intégrés ou associés à l'équipement hôte. Dans l'exemple donné précédemment, la chaîne 2 est diffusée en clair, de sorte que l'utilisateur qui aura sélectionné la chaîne 2 pourra effectivement voir les images et entendre la bande son associée. En revanche, en l'absence du module PCMCIA 2, les images et/ou le son associés à la chaîne 1 seront inintelligibles pour l'utilisateur puisque cette dernière est embrouillée DVB (présence du CA_descriptor dans la table PMT de la chaîne 1). Il convient de noter à ce niveau qu'un flux élémentaire ES compris dans un service peut être embrouillé par plusieurs systèmes de contrôle d'accès, chaque système étant identifié par un identifiant unique (CA_system_id dans la norme I5013818-1). Cette pratique, connue sous le nom anglo-saxon de Simulcrypt, permet d'avoir plusieurs offres d'abonnements pour un même service sans avoir à émettre plusieurs fois ce service. Comme indiqué précédemment, l'information relative au fait qu'un flux élémentaire ES d'un service est embrouillé est signalée par la présence d'un identifiant CA_descriptor dans la table PMT du service, cet identifiant comportant l'identifiant CA_system_id du système de contrôle d'accès utilisé pour embrouiller le flux. Si un flux élémentaire est embrouillé par plusieurs systèmes, un identifiant CA_descriptor pour chaque service de contrôle utilisé, contenant l'identifiant CA_system_id du système de contrôle d'accès, sera présent dans la table PMT du service. Bien entendu, le module PCMCIA qui doit être utilisé pour désembrouiller le flux doit supporter au moins l'un des systèmes de contrôle d'accès utilisés pour embrouiller le flux. La procédure classique d'installation du module PCMCIA 2 pour le contrôle d'accès et son fonctionnement pour permettre à un utilisateur de rendre intelligibles les images et/ou la bande son associées à un service embrouillé en DVB vont à présent être décrits: Comme représenté sur la partie droite de la figure 1, un module PCMCIA classique 2 pour le contrôle d'accès comporte un démultiplexeur 20, un module logiciel 21 de désembrouillage DBV ou AES selon que le flux de transport à traiter est un flux MPEG ou un flux IP, et un module logiciel 22 connu sous le nom de module CAS (initiales anglo-saxonnes mises pour Conditional Access Support) en relation avec le démultiplexeur 20 et le module 21 de désembrouillage. L'ensemble de ces éléments opère sous le contrôle d'un microcontrôleur 23. Le module PCMCIA 2 peut en outre comporter également un lecteur 24 de carte apte à recevoir une carte à puce avec lequel le module CAS 22 peut communiquer. Pour améliorer encore la sécurité et éviter tout piratage du flux en sortie du module PCMCIA, la spécification CI+ a modifié la spécification EN50221 en imposant que les flux élémentaires désembrouillés par un module PCMCA soient recryptés en AES ou en DES avant transmission à l'équipement hôte. Aussi, si le module PCMCIA 2 est un module CI+, il devra comporter également un module logiciel 25 de cryptage CI+ dont l'entrée est connectée en sortie du module 21 de désembrouillage. Bien entendu, dans ce cas, l'équipement hôte 1 devra également intégrer un module logiciel 17 de décryptage CI+. Enfin, le module PCMCIA comprend une mémoire de stockage 26. Le module PCMCIA classique 2, qu'il soit compatible CI ou CI+, est apte à être mis en relation avec l'équipement hôte 1, par exemple inséré dans un emplacement ou une cavité de l'équipement hôte 1 prévu à cet effet, pour échanger des flux de transport et des signaux de commande. En particulier, un bus PCMCIA bidirectionnel 5 est prévu pour permettre l'échange de signaux de commande entre les deux microcontrôleurs 14 et 23. En outre, un bus de transport est utilisé entre l'équipement hôte 1 et le module PCMCIA 2. Sur la figure, ce bus de transport est référencé 6 pour identifier le flux de transport TSIN transitant depuis la sortie du démodulateur 11 de l'équipement hôte 1 vers l'entrée du démultiplexeur 20, et ce même bus est référencé 7 pour identifier le flux de transport TSouT en retour.Referring back to FIG. 1, at the time of installation of the host device 1, the latter will first of all set up a filter to extract, via the demultiplexer 12, the TPSDT and TPPAT transport packets respectively corresponding to the SDT and PAT tables. By combining the information extracted from these two tables, he will be able to create and store in an integrated memory 15: - a list of channels, with the names of channels from the SDT, that he can propose to the user for the channel changes; - triplets associating the name of each string with its program number (Program_number in table 1 above) and its identifier in the PMT table (PID_PMT in table 1 above). When the user wishes to watch and / or listen to a particular service associated with a channel, for example by selecting this service by means of a remote control 16, the host device 1 receives the control signal from the user and retrieves from the memory 15 the program number (Program_number) of this string and its PMT identifier (PID_PMT). The host device 1 can then apply a filter to extract from the TSIN transport stream the TPPAT transport packets of the PMT table corresponding to this PMT identifier. From an analysis of the contents of these transport packets, the host device 1 can extract all the identifiers linked to the elementary streams ES of this chain (PID_ES in Table 1 above). It is then able to set a new filter to extract from the TSIN transport stream the TPES transport packets corresponding to each of the identifiers PID_ES linked to the elementary streams ES. The signals recovered at the demultiplexer 12 are then decoded by the MPEG decoder 13 to be played on the screen and the speakers integrated or associated with the host equipment. In the example given above, the channel 2 is broadcast in clear, so that the user who selected the channel 2 can actually see the images and hear the associated soundtrack. On the other hand, in the absence of the PCMCIA 2 module, the images and / or the sound associated with the string 1 will be unintelligible for the user since the latter is scrambled DVB (presence of the CA_descriptor in the PMT table of the string 1). It should be noted at this level that an elementary stream ES included in a service can be scrambled by several access control systems, each system being identified by a unique identifier (CA_system_id in the I5013818-1 standard). This practice, known as Anglo-Saxon Simulcrypt, allows to have several offers of subscriptions for the same service without having to send several times this service. As indicated above, the information relating to the fact that an elementary stream ES of a service is scrambled is indicated by the presence of a CA_descriptor identifier in the service's PMT table, this identifier including the CA_system_id identifier of the control system access used to scramble the flow. If an elementary stream is scrambled by several systems, a CA_descriptor identifier for each control service used, containing the CA_system_id identifier of the access control system, will be present in the service's PMT table. Of course, the PCMCIA module that must be used to descramble the stream must support at least one of the access control systems used to scramble the stream. The conventional procedure of installing the PCMCIA 2 module for access control and its operation to enable a user to make intelligible the images and / or the soundtrack associated with a scrambled DVB service will now be described: As shown on the right-hand part of FIG. 1, a conventional PCMCIA module 2 for access control comprises a demultiplexer 20, a software module 21 for descrambling DBV or AES according to whether the transport stream to be processed is an MPEG stream or an IP stream , and a software module 22 known as the CAS module (English initials set for Conditional Access Support) in connection with the demultiplexer 20 and the module 21 descrambling. All of these elements operate under the control of a microcontroller 23. The PCMCIA module 2 can furthermore also include a card reader 24 capable of receiving a smart card with which the CAS module 22 can communicate. To further improve security and avoid any hacking of the PCMCIA module output stream, the CI + specification has modified the EN50221 specification by requiring that the elementary streams descrambled by a PCMCA module be re-encrypted into AES or DES before transmission to the host equipment. . Also, if the PCMCIA 2 module is a CI + module, it must also include a software module 25 CI + encryption whose input is connected to the output of the module 21 descrambling. Of course, in this case, the host equipment 1 must also integrate a software module 17 decryption CI +. Finally, the PCMCIA module comprises a storage memory 26. The conventional PCMCIA module 2, whether it is CI or CI + compatible, is able to be connected to the host equipment 1, for example inserted in a slot or a cavity the host equipment 1 provided for this purpose, for exchanging transport streams and control signals. In particular, a bidirectional PCMCIA bus 5 is provided to allow the exchange of control signals between the two microcontrollers 14 and 23. In addition, a transport bus is used between the host equipment 1 and the PCMCIA module 2. On the Figure, this transport bus is referenced 6 to identify the TSIN transport stream transiting from the output of the demodulator 11 of the host equipment 1 to the input of the demultiplexer 20, and this same bus is referenced 7 to identify the transport stream TSouT in return.

Conformément aux normes actuelles, le flux de sortie TSouT doit comporter tous les paquets initialement présents dans le flux d'entrée TSIN, à ceci près que les paquets embrouillés correspondant au service écouté par l'équipement hôte 1 ont été remplacés par des paquets désembrouillés, et éventuellement recryptés CI+. Le rôle du module PCMCIA 2 est donc de désembrouiller les paquets du ou des services écoutés, et de recopier dans le flux de sortie l'intégralité du flux d'entrée tout en remplaçant les paquets embrouillés du ou des services écoutés par des paquets désembrouillés.According to current standards, the output stream TSouT must include all the packets initially present in the TSIN input stream, except that the scrambled packets corresponding to the service listened to by the host device 1 have been replaced by descrambled packets, and possibly enciphered CI +. The role of the PCMCIA 2 module is therefore to descramble the packets of the service or services listened to, and to copy in the output stream the entire input stream while replacing the scrambled packets of the service or services listened to by descrambled packets.

Au moment de l'installation du module 2 dans l'équipement hôte 1, et à chaque fois que l'équipement hôte est mis en route, un certain nombre d'informations vont être échangées sur le bus PCMCIA 5 entre les deux équipements. En particulier : - le module PCMCIA 2 envoie à l'équipement hôte 1 la liste de tous les identifiants CA_system_id des systèmes de contrôle d'accès qu'il supporte, par un message spécifique (message CA_info conformément à la norme EN50221). Cette liste peut être stockée dans le module CAS 22 ou dans une carte à puce présente dans le lecteur 24. Une fois reçue, cette liste est stockée par l'équipement hôte 1 dans sa mémoire 15. - Dans le cas d'un module PCMCIA compatible CI+, l'équipement hôte 1 et le module PCMCIA 2 échangent en permanence les informations servant à définir les clés de cryptage CI+. En outre, dès que l'équipement hôte 1 détecte la présence du module PCMCIA 2, le flux de transport TSIN transite obligatoirement par le bus PCMCIA 6. Lorsque par suite, l'utilisateur souhaite regarder et/ou écouter un service particulier associé à une chaîne embrouillée, par exemple en sélectionnant ce service au moyen de la télécommande 16, l'équipement hôte 1 sait notamment : - récupérer l'identifiant PID_PMT de la table PMT associée à ce service ; et - déterminer que la chaîne est embrouillée selon un ou plusieurs systèmes si un ou plusieurs identifiants CA_descriptor apparaissent dans la table PMT associée ce service. L'équipement hôte 1 peut alors comparer la liste des identifiants CA_system_id des systèmes de contrôle d'accès utilisés pour l'embrouillage pour la comparer avec la liste des identifiants CA_system_id des systèmes supportés par le module 2.At the time of installation of the module 2 in the host equipment 1, and each time the host equipment is started, a certain amount of information will be exchanged on the PCMCIA bus 5 between the two devices. In particular: the PCMCIA module 2 sends to the host device 1 a list of all the CA_system_id identifiers of the access control systems that it supports, by a specific message (CA_info message according to the EN50221 standard). This list can be stored in the CAS module 22 or in a smart card present in the reader 24. Once received, this list is stored by the host device 1 in its memory 15. - In the case of a PCMCIA module CI + compatible, the host device 1 and the PCMCIA 2 module constantly exchange the information used to define the CI + encryption keys. In addition, as soon as the host device 1 detects the presence of the PCMCIA 2 module, the TSIN transport stream necessarily passes through the PCMCIA bus 6. When, consequently, the user wishes to watch and / or listen to a particular service associated with a PCMCIA bus. scrambled channel, for example by selecting this service by means of the remote control 16, the host equipment 1 knows in particular: - recover the identifier PID_PMT of the PMT table associated with this service; and - determining that the string is scrambled according to one or more systems if one or more CA_descriptor identifiers appear in the PMT table associated with this service. The host device 1 can then compare the list of CA_system_id identifiers of the access control systems used for the scrambling to compare it with the list of CA_system_id identifiers of the systems supported by the module 2.

En cas de correspondance avec au moins un système, l'équipement hôte 1 envoie au module 2, par le bus PCMCIA 5, une ou plusieurs demandes de désembrouillage d'un ou plusieurs services' sous la forme d'une ou plusieurs commandes CA_PMT commandes CA_PMT telles que définies dans la norme EN50221, chaque commande contenant le numéro de programme (Program_number) et les flux élémentaires du service qu'il faut désembrouiller. Une fois les commandes reçues, les différents numéros de programme sont extraits et stockés par le module PCMCIA 2 dans sa mémoire 26. A la réception d'une commande CA_PMT, le module PCMCIA 2 convertit cette CA_PMT en requête pour le module CAS 22 qui utilise à son tour les différentes ressources disponibles dans le module PCMCIA 2 (lecteur 24 de carte à puce si présent, démultiplexeur 20 et module 21 de désembrouillage) pour commander le désembrouillage sélectif des paquets embrouillés TPEs correspondant à la chaîne écoutée et contenus dans le flux de transport reçu TSIN. A la sortie du module PCMCIA 2, le flux de transport TSouT comporte ainsi: - sous forme inchangée, les paquets de transport TPEs correspondant à des flux élémentaires ES originellement en clair (non embrouillés), ainsi que les paquets de transport TPEs correspondant à des flux élémentaires ES originellement embrouillés mais pour lesquels soit, l'équipement hôte 1 n'a fait aucune demande de décryptage, soit, le module CAS 22 n'a pas pu trouver de droits (services de contrôle d'accès non supportés ou non souscrits). - sous forme désembrouillée (et éventuellement recryptée CI+), les paquets de transport TPEs correspondant à des flux élémentaires ES originellement embrouillés pour lesquels l'équipement hôte 1 a fait une demande de décryptage, et le module CAS 22 a pu trouver des droits. Le flux de sortie TSouT est alors fourni si nécessaire au module de 25 décryptage CI+ 17, et dans tous les cas au démultiplexeur 12 et au décodeur 13 de l'équipement hôte 1, lequel délivre finalement des signaux d'images et de son intelligibles pour l'utilisateur, associés à la chaîne sur écoute. On comprend de ce qui précède que le fonctionnement précité d'un équipement hôte en association avec un module PCMCIA de contrôle ne 30 concerne que la possibilité de jouer en clair et en temps réel le ou les programmes initialement embrouillés choisis par un utilisateur au niveau de l'équipement hôte.In case of correspondence with at least one system, the host device 1 sends to the module 2, via the PCMCIA bus 5, one or more requests for descrambling one or more services' in the form of one or more commands CA_PMT commands CA_PMT as defined in the EN50221 standard, each command containing the program number (Program_number) and the elementary streams of the service that must be descrambled. Once the commands have been received, the various program numbers are extracted and stored by the PCMCIA module 2 in its memory 26. Upon receipt of a CA_PMT command, the PCMCIA module 2 converts this CA_PMT into a request for the CAS module 22 which uses in turn the various resources available in the PCMCIA module 2 (smart card reader 24 if present, demultiplexer 20 and descrambling module 21) for controlling the selective descrambling of scrambled packets TPEs corresponding to the listened string and contained in the stream of transport received TSIN. At the output of the PCMCIA 2 module, the TSOUT transport stream thus comprises: in unchanged form, the TPE transport packets corresponding to elementary streams ES originally in the clear (not scrambled), as well as the TPE transport packets corresponding to ES elementary streams originally scrambled but for which either, the host device 1 made no decryption request, ie, the CAS module 22 could not find rights (unsupported or unsubscribed access control services ). in the descrambled form (and possibly CI +), the TPE transport packets corresponding to originally scrambled elementary streams ES for which the host equipment 1 has made a decryption request, and the CAS module 22 has been able to find rights. The TSOUT output stream is then supplied if necessary to the decoding module CI + 17, and in all cases to the demultiplexer 12 and to the decoder 13 of the host equipment 1, which finally delivers image and sound signals for the user, associated with the chain on listening. It will be understood from the foregoing that the above-mentioned operation of a host equipment in association with a control PCMCIA module only concerns the possibility of playing in clear and in real time the initially scrambled program (s) chosen by a user at the same time. the host equipment.

Or, l'évolution technologique des modules PCMCIA de contrôle d'accès permet d'envisager l'implémentation de nouvelles fonctionnalités, telles que l'intégration d'une interface série de type USB. Avec une telle interface, on pourrait notamment relier ce module PCMCIA à un disque dur externe, par une connexion de type USB. Un tel module PCMCIA offrirait ainsi en théorie une fonction supplémentaire d'enregistrement numérique sur disque dur, et une fonction supplémentaire de relecture d'un tel enregistrement. En pratique néanmoins, l'implémentation de ces fonctionnalités d'enregistrement/relecture se heurte à différents problèmes liés au 10 fonctionnement des équipements hôtes d'une part, et aux modules PCMCIA d'autre part, tel qu'imposé par les normes actuelles. En particulier, les essais du demandeur ont permis de montrer qu'un procédé d'enregistrement qui consisterait à enregistrer sur un support de données un flux de données comportant uniquement les paquets de transport 15 TPES désembrouillés par le module PCMCIA et correspondant au service enregistré ne permettrait la relecture de ce flux de données enregistré que dans le cas où l'équipement hôte écoute, au moment de la relecture, le même service que celui qui a fait l'objet de l'enregistrement. En effet, la plupart des équipements hôtes existant aujourd'hui sur le marché ne peuvent écouter 20 qu'un seul service à la fois. Dans des cas plus rares, certains équipements hôtes savent écouter deux chaînes, une chaîne qui est jouée en direct, et une autre chaîne qui est soit jouée également en incrustation (option PIP, initiales anglo-saxonnes mises pour Picture-In-Picture), soit enregistrée dans un enregistreur intégré à l'équipement hôte. Il en résulte qu'il n'est pas prévu à 25 ce jour de pouvoir relire un enregistrement fourni par l'intermédiaire d'un module PCMCIA lorsque le service enregistré est différent du service courant (tel qu'écouté par l'équipement hôte). Une solution à ce problème doit en conséquence être trouvée. En outre, la solution doit rester compatible avec les normes actuelles qui 30 imposent que, lorsqu'un équipement hôte fournit un flux d'entrée TSIN au module PCMCIA, ce dernier doit délivrer un flux de sortie TSouT correspondant au flux d'entrée avec certains paquets TPES éventuellement remplacés dans le cas où le service courant est embrouillé. La présente invention répond à ces objectifs en proposant un procédé pour l'enregistrement d'un service numérique télédiffusé reçu sous forme embrouillée par un premier équipement hôte et pour la relecture du service enregistré, le procédé comportant : une phase d'enregistrement lors de laquelle un premier module PCMCIA de contrôle d'accès: - extrait d'un flux de transport d'entrée reçu du premier équipement hôte 10 des paquets de transport correspondant à une table PMT de correspondance de programmes associée de façon unique au service à enregistrer ; - sélectionne dans ledit flux de transport d'entrée des paquets de transport correspondant à des flux élémentaires associés de façon unique au service à enregistrer et désembrouille les paquets de transport sélectionnés ; 15 - transfère à un support de mémoire externe pour enregistrement les paquets de transport extraits et un flux d'enregistrement composé des paquets de transport désembrouillés; et une phase de relecture, sur le premier équipement hôte ou un second équipement hôte, du service enregistré, lors de laquelle le premier module 20 PCMCIA ou un second module PCMCIA de contrôle d'accès: - récupère un identifiant PID de la table PMT du service courant écouté par le premier ou second équipement hôte; - reçoit du support de mémoire externe le flux d'enregistrement et les paquets de transport extraits; 25 - récupère dans les paquets de transport extraits des identifiants PID des flux élémentaires du service enregistré ; - génère une table PMT de remplacement à partir de l'identifiant PID de la table PMT du service courant et des identifiants PID des flux élémentaires récupérés ; et 30 - transfère au premier ou deuxième équipement hôte un flux de sortie comprenant uniquement la table PMT de remplacement et le flux d'enregistrement.However, the technological evolution of the PCMCIA access control modules makes it possible to envisage the implementation of new functionalities, such as the integration of a USB type serial interface. With such an interface, it could in particular connect this PCMCIA module to an external hard drive, by a USB type connection. Such a PCMCIA module thus theoretically offers an additional function of digital recording on hard disk, and an additional function of replaying such a recording. In practice, however, the implementation of these recording / playback functionalities encounters various problems related to the operation of the host equipment on the one hand, and the PCMCIA modules on the other hand, as imposed by the current standards. In particular, the applicant's tests have shown that a recording method which consists of recording on a data medium a data stream comprising only the TPES transport packets descrambled by the PCMCIA module and corresponding to the registered service does not would allow the replay of this recorded data stream only if the host equipment listens, at the time of the replay, the same service as the one that was the subject of the recording. Indeed, most of the existing host equipment on the market can only listen to one service at a time. In rarer cases, some host devices know how to listen to two channels, a channel that is played live, and another channel that is either played as an overlay (PIP option, English initials set for Picture-In-Picture), recorded in a recorder built into the host equipment. As a result, it is not intended at this time to be able to replay a record provided via a PCMCIA module when the registered service is different from the current service (as listened to by the host equipment). . A solution to this problem must therefore be found. In addition, the solution must remain compatible with current standards which dictate that, when a host device provides a TSIN input stream to the PCMCIA module, the latter must output a TSout output stream corresponding to the input stream with certain TPES packets possibly replaced in case the current service is scrambled. The present invention fulfills these objectives by providing a method for recording a broadcast digital service received in scrambled form by a first host device and for replaying the recorded service, the method comprising: a recording phase in which a first access control PCMCIA module: - extracts from an input transport stream received from the first host device 10 transport packets corresponding to a PMT program matching table uniquely associated with the service to be recorded; - selects in said input transport stream transport packets corresponding to elementary streams uniquely associated with the service to be registered and descrambles the selected transport packets; Transferring the extracted transport packets and a recording stream composed of the descrambled transport packets to an external storage medium for recording; and a replay phase, on the first host device or a second host device, of the registered service, in which the first PCMCIA module or a second access control PCMCIA module: - retrieves a PID identifier from the PMT table of the current service listened to by the first or second host equipment; receives from the external storage medium the recording stream and the extracted transport packets; 25 - retrieves in the extracted transport packets PID identifiers of the elementary streams of the registered service; generates a replacement PMT table from the PID identifier of the PMT table of the current service and the PID identifiers of the retrieved elementary streams; and 30 - transfers to the first or second host equipment an output stream comprising only the replacement PMT table and the registration stream.

Selon d'autres caractéristiques possibles particulièrement avantageuses: - la table PMT de remplacement est générée sous forme d'un ou plusieurs paquets de transport comportant chacun un champ de données et un champ entête avec un identifiant PID associé de façon unique à la table PMT de remplacement, l'identifiant PID de son champ entête comportant l'identifiant PID de la table PMT du service courant, et le champ de données comportant les identifiants PID des flux élémentaires récupérés; - un identifiant de cryptage peut en outre être avantageusement inséré 10 dans le champ de données de la table PMT de remplacement; - un encryptage du flux d'enregistrement, par exemple selon un algorithme AES peut être réalisé avant son transfert pour enregistrement ; dans ce cas décryptage correspondant du flux d'enregistrement doit aussi être réalisé avant son transfert pour relecture ; 15 - un encryptage CI+ du flux de sortie avant son transfert au premier ou deuxième équipement hôte. L'invention a également pour objet un module de contrôle d'accès de type PCMCIA apte à être associé à un équipement hôte pour d'une part, recevoir un flux de transport d'entrée comportant des paquets de transport 20 embrouillés et d'autre part, transmettre à l'équipement hôte un premier flux de sortie correspondant au flux de transport d'entrée dans lequel certains des paquets de transport embrouillés ont été éventuellement désembrouillés, caractérisé en ce qu'il comporte, à des fins d'enregistrement d'un service numérique télédiffusé reçu sous forme embrouillée, des moyens de 25 génération d'un flux d'enregistrement, aptes à extraire du flux de transport d'entrée des paquets de transport correspondant à une table PMT de correspondance de programmes associée de façon unique au service à enregistrer, à sélectionner dans ledit flux de transport d'entrée des paquets de transport correspondant à des flux élémentaires du service à enregistrer, à 30 désembrouiller les paquets de transport sélectionnés et à délivrer le flux d'enregistrement composé des paquets de transport désembrouillés, et des moyens de transfert aptes à transférer les paquets de transport extraits et le flux d'enregistrement à un support de mémoire externe pour enregistrement; et, à des fins de relecture du flux d'enregistrement sur le premier équipement hôte ou un second équipement hôte, des moyens de génération d'un flux de sortie aptes à : - récupérer un identifiant PID de la table PMT du service courant écouté par le premier ou second équipement hôte; - recevoir du support de mémoire externe le flux d'enregistrement et les paquets de transport extraits; - récupérer dans les paquets de transport extraits les identifiants PID des flux élémentaires du service enregistré ; - générer une table PMT de remplacement à partir de l'identifiant PID de la table PMT du service courant et des identifiants PID des flux élémentaires récupérés ; et - générer un deuxième flux de sortie comprenant uniquement la table PMT de remplacement et le flux d'enregistrement, pour transfert au premier ou deuxième équipement hôte à la place du premier flux de sortie. Dans une réalisation préférée : - les moyens de génération d'un flux de sortie comporte un injecteur de gestion des flux apte à recevoir simultanément le flux d'enregistrement à relire et un flux de transport d'un module de désembrouillage du module de contrôle d'accès et à délivrer en sortie uniquement le flux d'enregistrement à relire pour transfert au premier ou deuxième équipement hôte à la place du premier flux de sortie ; et/ou - le module est apte à générer simultanément le premier flux de sortie pour la lecture en direct d'un premier service écouté par le premier équipement hôte, et un flux d'enregistrement pour l'enregistrement du premier service écouté, ou d'un autre service reçu par le premier équipement hôte ; et/ou - le module de contrôle d'accès comprend en outre des moyens de programmation de l'enregistrement du service en différé. L'invention a également pour objet un flux de transport de données délivré par un module PCMCIA de contrôle d'accès à un équipement hôte pour la relecture d'un flux d'enregistrement correspondant à un service numérique télédiffusé, caractérisé en ce qu'il comporte uniquement le flux d'enregistrement composé de paquets de transport désembrouillés correspondant à des flux élémentaires audit service, et une table PMT de remplacement générée à partir d'un identifiant PID de la table PMT du service courant écouté par l'équipement hôte avant relecture, et d'identifiants PID des flux élémentaires composant le service numérique enregistré. L'invention et les avantages qu'elle procure seront mieux compris au vu de la description suivante d'un exemple non limitatif de mise en oeuvre de l'invention, faite en référence aux figures annexées, dans lesquelles : - la figure 1, déjà décrite ci-avant, représente schématiquement l'interaction classique entre un équipement hôte et un module PCMCIA pour le contrôle d'accès en direct aux programmes télévisuels cryptés; - la figure 2, déjà décrite ci-avant, illustre schématiquement la structure classique d'un flux de transport transmis par l'équipement hôte de la figure 1 au module PCMCIA. - la figure 3 représente schématiquement l'interaction physique selon l'invention entre un équipement hôte et un module PCMCIA pour un enregistrement sur un disque dur externe et la relecture d'un service diffusé sous forme embrouillée ; - la figure 4 illustre différentes étapes susceptibles d'être mises en oeuvre selon l'invention dans le cadre d'une procédure d'enregistrement d'un service par le module de contrôle d'accès de la figure 3 ; - la figure 5 illustre différentes étapes susceptibles d'être mises en oeuvre selon l'invention dans le cadre d'une procédure de relecture d'un service enregistré par le module de contrôle d'accès de la figure 3 ; - la figure 6 illustre schématiquement un exemple de structure d'un flux de transport transmis par le module PCMCIA à l'équipement hôte de la figure 3 dans le cas d'une relecture.According to other particularly advantageous possible characteristics: the replacement PMT table is generated in the form of one or more transport packets each comprising a data field and a header field with a PID identifier uniquely associated with the PMT table of replacing the PID identifier of its header field comprising the PID identifier of the PMT table of the current service, and the data field comprising the PID identifiers of the retrieved elementary streams; an encryption identifier may further advantageously be inserted in the data field of the replacement PMT table; an encryption of the recording stream, for example according to an AES algorithm, can be carried out before its transfer for recording; in this case, the corresponding decryption of the recording stream must also be performed before it is transferred for replay; A CI + encryption of the output stream before it is transferred to the first or second host equipment. The subject of the invention is also a PCMCIA type access control module able to be associated with a host device, on the one hand, to receive an input transport stream comprising scrambled transport packets and on the other hand on the other hand, transmitting to the host equipment a first output stream corresponding to the input transport stream in which some of the scrambled transport packets have been optionally descrambled, characterized in that it includes, for recording purposes, a digital television service received in scrambled form, means for generating a recording stream, able to extract from the input transport stream transport packets corresponding to a PMT program matching table uniquely associated with service to be recorded, to select in said input transport stream transport packets corresponding to elementary streams of the service to be recorded, to Descrambling the selected transport packets and outputting the recording stream composed of the descrambled transport packets, and transfer means adapted to transfer the extracted transport packets and the recording stream to an external storage medium for recording; and, for purposes of replaying the recording stream on the first host device or a second host device, means for generating an output stream able to: - recover a PID identifier from the PMT table of the current service listened to by the first or second host equipment; receiving from the external storage medium the recording stream and the extracted transport packets; recovering in the extracted transport packets the PID identifiers of the elementary streams of the registered service; generating a replacement PMT table from the PID identifier of the PMT table of the current service and the PID identifiers of the retrieved elementary streams; and - generating a second output stream comprising only the replacement PMT table and the recording stream, for transfer to the first or second host equipment in place of the first output stream. In a preferred embodiment: the means for generating an output stream comprises a flow management injector adapted to simultaneously receive the recording stream to be replayed and a transport stream of a descrambling module of the control module. accessing and outputting only the replay record stream for transfer to the first or second host equipment in place of the first output stream; and / or the module is able to simultaneously generate the first output stream for the live playback of a first service listened to by the first host equipment, and a recording stream for recording the first service listened to, or another service received by the first host device; and / or the access control module also comprises means for programming the recording of the delayed service. The subject of the invention is also a data transport stream delivered by a PCMCIA module for controlling access to a host device for the replay of a recording stream corresponding to a digital television service, characterized in that it includes only the record flow composed of descrambled transport packets corresponding to streams elementary to said service, and a replacement PMT table generated from a PID of the PMT table of the current service listened to by the host equipment before replay , and PID identifiers of the elementary streams composing the recorded digital service. The invention and the advantages it provides will be better understood from the following description of a nonlimiting example of implementation of the invention, with reference to the appended figures, in which: FIG. described above, schematically represents the conventional interaction between a host equipment and a PCMCIA module for the control of direct access to encrypted television programs; FIG. 2, already described above, schematically illustrates the conventional structure of a transport stream transmitted by the host device of FIG. 1 to the PCMCIA module. FIG. 3 diagrammatically represents the physical interaction according to the invention between a host device and a PCMCIA module for recording on an external hard disk and replaying a service broadcast in scrambled form; FIG. 4 illustrates various steps that can be implemented according to the invention as part of a procedure for registering a service by the access control module of FIG. 3; FIG. 5 illustrates various steps that can be implemented according to the invention as part of a replay procedure of a service registered by the access control module of FIG. 3; FIG. 6 schematically illustrates an exemplary structure of a transport stream transmitted by the PCMCIA module to the host equipment of FIG. 3 in the case of a replay.

On retrouve sur la figure 3 certains éléments déjà décrits ci-avant en référence à la figure 1, en particulier : - l'équipement hôte 1, identique en tout point avec l'équipement hôte de la figure 1; - un module 2 de contrôle d'accès de type PCMCIA, compatible CI+ ou au moins CI, comprenant tous les éléments déjà décrits dans le cadre de la figure 1 ; - le bus PCMCIA 5 permettant à l'équipement hôte 1 et au module PCMCI 2 d'échanger des signaux de contrôle ; - les bus de transport 6 et 7 pour le transport des flux TSIN et TSouT- Dans le cadre de l'invention, le module PCMCIA 2 de contrôle d'accès est en outre apte à être connecté à un dispositif 8 de mémoire externe, tel qu'un disque dur externe, par l'intermédiaire d'un port de connexion géré par un contrôleur 27 et d'une liaison numérique supplémentaire, par exemple de type USB. Compte tenu des contraintes d'encombrement liées au module 2, le port de connexion peut être avantageusement prévu au niveau d'un accessoire (non représenté) qui vient coopérer avec le module 2. Le module PCMCIA 2 comporte en outre les éléments suivants : - un module logiciel 28 d'interface homme-machine ou MMI (initiales anglo-saxonnes mises pour Man-Machine Interface) ; - un module logiciel 29 pour le contrôle notamment du module CAS 22 lors de l'enregistrement ou la relecture d'un service enregistré ; - un injecteur 30 pour la gestion des flux de transport lors de la relecture d'un service enregistré ; - optionnellement, un module logiciel 31 de cryptage de type AES et son module logiciel 32 de décryptage associé. Le fonctionnement du module PCMCIA 2 pour un enregistrement d'un service choisi par l'utilisateur va à présent être décrit en référence à la figure 4. Une procédure d'enregistrement nécessite au préalable une phase 100 de sélection par l'utilisateur du service à enregistrer. Deux cas de figures sont alors à envisager. Le premier cas est celui où l'utilisateur souhaite enregistrer en direct un service, alors même qu'il regarde simultanément ce service sur l'équipement hôte, ou tout autre service diffusé parallèlement. Le deuxième cas est celui où l'utilisateur a programmé un enregistrement (enregistrement différé). Dans les deux cas, la sélection ou programmation s'effectue par l'intermédiaire d'une interface GUI utilisateur affichée sur l'écran associé à l'équipement hôte 1 sous le contrôle du module MMI 28. Au moment où l'enregistrement doit débuter (immédiatement dans le premier cas, à l'heure programmée et stockée dans les mémoires 15 et 26 associées respectivement à l'équipement hôte 1 et au module PCMCIA 2 dans le deuxième cas), le module PCMCIA 2 reçoit sur le bus 6 un flux de transport d'entrée TSIN (étape 110 sur la figure 4). Comme cela a été indiqué précédemment, ce flux de transport d'entrée TSIN comporte des paquets de transport TPES transportant des contenus de flux élémentaires ES associés à une pluralité de services numériques (dont le service à enregistrer), reçus par le premier équipement hôte 1, des paquets de transport TPpmT transportant des contenus de tables PMT de correspondance de programmes, chaque table PMT étant associée de façon unique à un service parmi la pluralité de services numériques, des paquets de transport TRDAT transportant des contenus d'une table PAT d'association de programmes, et des paquets de transport TPSDT transportant des contenus d'une table SDT de description de services, chacun desdits paquets de transport TPES, TPPMT, TRDAT, TPSDT comportant un champ entête avec un identifiant PID associé de façon unique le type du paquet. Le module PCMCIA 2 extrait alors du flux de transport d'entrée TSIN les paquets de transport TPpmT correspondant à la table PMT du service à enregistrer, et sélectionne dans le flux de transport d'entrée TSIN les paquets de transport TPES correspondant aux flux élémentaires ES du service à enregistrer (étapes 120 et 130). Ces étapes 120 et 130 ont été représentées comme réalisées en parallèle mais peuvent bien entendu être faites successivement et dans un ordre quelconque. En pratique, ces étapes sont déclenchées par une commande particulière du module 29 demandant au module CAS 22 de désembrouiller le service à enregistrer, éventuellement en plus d'un service écouté en parallèle sur l'équipement hôte 1. Cette commande particulière est similaire à une commande de type CA_PMT qui aurait été reçue par le bus PCMCIA 5 dans le cadre d'un désembrouillage classique d'une chaîne jouée en direct. Le module CAS 22 peut alors contrôler le démultiplexeur 20 pour qu'il s'intéresse aux paquets de transport TPpmT et TPES du service à enregistrer.FIG. 3 shows some of the elements already described above with reference to FIG. 1, in particular: the host equipment 1, identical at all points with the host equipment of FIG. 1; a PCMCIA access control module 2, which is CI + or at least CI compatible, comprising all the elements already described in the context of FIG. 1; the PCMCIA bus 5 allowing the host equipment 1 and the PCMCI module 2 to exchange control signals; the transport buses 6 and 7 for transporting the TSIN and TS ouT streams. In the context of the invention, the access control PCMCIA module 2 is furthermore capable of being connected to an external memory device 8, such as external hard disk, via a connection port managed by a controller 27 and an additional digital link, for example USB type. Given the congestion constraints related to the module 2, the connection port can be advantageously provided at an accessory (not shown) which cooperates with the module 2. The PCMCIA module 2 further comprises the following elements: a software module 28 for human-machine interface or MMI (English initials set for Man-Machine Interface); a software module 29 for controlling in particular the CAS module 22 during the recording or playback of a registered service; an injector 30 for the management of the transport flows during the replay of a registered service; optionally, an AES type encryption software module 31 and its associated decryption software module 32. The operation of the PCMCIA module 2 for a registration of a service chosen by the user will now be described with reference to FIG. 4. A registration procedure first requires a phase 100 of selection by the user of the service in question. save. Two scenarios are then to consider. The first case is where the user wants to record live a service, even while simultaneously watching this service on the host equipment, or any other service broadcast in parallel. The second case is where the user has programmed a recording (delayed recording). In both cases, the selection or programming is carried out via a user interface GUI displayed on the screen associated with the host equipment 1 under the control of the MMI module 28. At the moment when the recording must begin (immediately in the first case, at the programmed time and stored in the memories 15 and 26 respectively associated with the host equipment 1 and the PCMCIA module 2 in the second case), the PCMCIA 2 module receives on the bus 6 a stream TSIN input transport (step 110 in FIG. 4). As previously indicated, this TSIN input transport stream comprises TPES transport packets carrying ES elementary stream contents associated with a plurality of digital services (including the service to be recorded), received by the first host equipment 1 , transport packets TPpmT carrying contents of PMT program matching tables, each PMT table being uniquely associated with one of the plurality of digital services, transport packets TRDAT carrying contents of a PAT table program association, and TPSDT transport packets carrying contents of an SDT service description table, each of said TPES, TPPMT, TRDAT, TPSDT transport packets having a header field with a PID identifier uniquely associated with the type of the package. The PCMCIA module 2 then extracts from the TSIN input transport stream the TPpmT transport packets corresponding to the PMT table of the service to be recorded, and selects in the TSIN input transport stream the TPES transport packets corresponding to the elementary streams ES of the service to be recorded (steps 120 and 130). These steps 120 and 130 have been shown as performed in parallel but can of course be done successively and in any order. In practice, these steps are triggered by a particular command of the module 29 asking the CAS module 22 to descramble the service to be recorded, possibly in addition to a service listened in parallel on the host equipment 1. This particular command is similar to a CA_PMT type command that would have been received by the PCMCIA bus 5 as part of a conventional descrambling of a live channel. The CAS module 22 can then control the demultiplexer 20 so that it is interested in TPpmT and TPES transport packets of the service to be recorded.

Le module PCMCIA 2 désembrouille ensuite les paquets de transport TPES sélectionnés (étape 140), en pratique par une commande particulière du module CAS 22 qui demande au module 21 de désembrouillage de désembrouiller effectivement ces paquets de transport. Le flux d'enregistrement TS2ouT composé des paquets de transport désembrouillés les paquets de transport TPPMT extraits correspondant au service à enregistrer sont ensuite transférés au support de mémoire externe 8 pour enregistrement (étape 160). De manière optionnelle, mais néanmoins préférée du fait que les opérateurs requièrent en général qu'il ne soit pas possible d'enregistrer en clair un programme embrouillé, un encryptage, par exemple du type AES, du flux d'enregistrement TS2ouT est réalisé avant son transfert pour enregistrement (étape 150). Il convient de noter à ce stade que la procédure d'enregistrement telle qu'elle vient d'être décrite reste compatible avec les normes. En effet, les normes imposent que si on regarde un flux d'entrée, alors on doit avoir un flux de sortie correspondant au flux d'entrée avec certains paquets remplacés, le but étant que l'équipement hôte puisse toujours jouer un service quelconque. Ici, si un enregistrement est fait alors que l'utilisateur regarde également la télévision (soit la même chaîne que celle enregistrée, soit plus généralement une autre chaîne), on a en sortie du module PCMCIA 2 : - un premier flux de sortie transféré sur le bus 7, en tout point identique au flux de sortie TSouT décrit en relation avec la figure 1, i.e. comportant : o sous forme inchangée, les paquets de transport TPES correspondant à des flux élémentaires ES originellement en clair (non embrouillés), ainsi que les paquets de transport TPES correspondant à des flux élémentaires ES originellement embrouillés mais pour lesquels soit, l'équipement hôte 1 n'a fait aucune demande de décryptage, soit, le module CAS 22 n'a pas pu trouver de droits (services de contrôle d'accès non supportés ou non souscrits). o sous forme désembrouillée (et éventuellement recryptée CI+), les paquets de transport TPES correspondant à des flux élémentaires ES originellement embrouillés pour lesquels l'équipement hôte 1 a fait une demande de décryptage, et le module CAS 22 a pu trouver des droits. - un deuxième flux de sortie TS2ouT destiné à l'enregistrement. Lors d'un enregistrement différé (i.e. sans regarder en même temps la 5 télé), on a en sortie du module PCMCIA 2 : - un premier flux de sortie transféré sur le bus 7, en tout point identique au flux d'entrée TSIN, ce qui n'est néanmoins pas gênant car dans ce cas, l'équipement hôte n'a pas besoin de jouer un service. - un deuxième flux de sortie TS2ouT destiné à l'enregistrement. 10 Le fonctionnement du module PCMCIA 2 pour la relecture d'un service enregistré va à présent être décrit en référence à la figure 5. Il convient de noter à ce niveau que l'équipement hôte 1 sur lequel le service enregistré va être lu peut être le même que celui ayant servi à l'enregistrement, ou un autre 15 équipement. De même, le module PCMCIA 2 utilisé pour la relecture peut être le même que celui utilisé pour l'enregistrement, ou un autre module PCMCIA. Une procédure de relecture nécessite au préalable une phase 200 de sélection par l'utilisateur du service enregistré à relire. La sélection s'effectue par l'intermédiaire d'une interface GUI utilisateur affichée sur l'écran associé à 20 l'équipement hôte 1, par exemple sous le contrôle du module MMI 28. Le module PCMCIA 2 récupère dans un premier temps l'identifiant PID de la PMT du service courant écouté par l'équipement hôte 1 (étape 210). Pour ce faire, il récupère tout d'abord le numéro de programme (Program_number) du service courant tel qu'écouté par l'équipement hôte 1 (étape 211). Comme 25 mentionné précédemment, ce numéro de programme a normalement été stocké dans sa mémoire 26 au moment où le service a été sélectionné par l'utilisateur sur l'équipement hôte 1, l'équipement hôte 1 transmettant alors cette information au module via le bus PCMCIA 5. Comme le module PCMCIA 2 reçoit également le flux d'entrée TSIN (étape 212) comportant notamment la 30 table PAT d'association des programmes, il peut alors commander l'extraction de l'identifiant PID de la PMT de ce service courant en utilisant la table PAT reçue (étape 213).The PCMCIA module 2 then descrambles the selected TPES transport packets (step 140), in practice by a particular command from the CAS module 22 which requests the descrambling module 21 to effectively descramble these transport packets. The record stream TS2ouT composed of the descrambled transport packets the extracted TPPMT transport packets corresponding to the service to be recorded are then transferred to the external storage medium 8 for recording (step 160). Optionally, but nevertheless preferred because the operators generally require that it is not possible to record in plaintext a scrambled program, an encryption, for example of the AES type, the recording stream TS2ouT is performed before its transfer for recording (step 150). It should be noted at this point that the registration procedure as described above remains compatible with the standards. Indeed, the standards require that if we look at an input stream, then we must have an output flow corresponding to the input stream with some packets replaced, the goal being that the host equipment can always play any service. Here, if a recording is done while the user is also watching television (either the same channel as the one recorded, or more generally another channel), the output of the PCMCIA 2 module is: - a first output stream transferred to the bus 7, in all respects identical to the TSout output stream described in relation to FIG. 1, ie comprising: in unchanged form, the TPES transport packets corresponding to elementary streams ES originally in the clear (not scrambled), as well as the TPES transport packets corresponding to originally scrambled ES elementary streams but for which either the host device 1 made no decryption request, or the CAS module 22 could not find rights (control services unsupported or unsupported access). in the form of descrambled (and possibly re-encrypted CI +) TPES transport packets corresponding to originally scrambled elementary streams ES for which the host equipment 1 has made a decryption request, and the CAS module 22 was able to find rights. a second TS2ouT output stream intended for recording. During a delayed recording (ie without simultaneously watching the TV), the output of the PCMCIA module 2: - a first output stream transferred on the bus 7, identical in all respects to the input stream TSIN, however, this is not a problem because in this case the host equipment does not need to play a service. a second TS2ouT output stream intended for recording. The operation of the PCMCIA module 2 for the playback of a registered service will now be described with reference to FIG. 5. It should be noted here that the host equipment 1 on which the registered service is going to be read can be the same as that used for registration or other equipment. Similarly, the PCMCIA 2 module used for replay may be the same as that used for recording, or another PCMCIA module. A replay procedure requires a prior phase 200 selection by the user of the recorded service to reread. The selection is made via a user interface GUI displayed on the screen associated with the host equipment 1, for example under the control of the MMI module 28. The PCMCIA module 2 first retrieves the PID identifier of the PMT of the current service listened to by the host equipment 1 (step 210). To do this, it first retrieves the program number (Program_number) of the current service as listened to by the host equipment 1 (step 211). As previously mentioned, this program number was normally stored in its memory 26 at the time the service was selected by the user on the host equipment 1, the host equipment 1 then transmitting this information to the module via the bus. PCMCIA 5. As the PCMCIA module 2 also receives the TSIN input stream (step 212) comprising in particular the program association PAT table, it can then command the extraction of the PID identifier of the PMT of this service. current using the received PAT table (step 213).

Le module PCMCIA 2 reçoit alors du support de mémoire externe 8 le flux d'enregistrement TS2IN, qui correspond au flux d'enregistrement TS2ouT, et les paquets de transport TPPMT extraits associés au service enregistré (étape 220). Si les paquets du flux d'enregistrement ont été encryptés au moment de l'enregistrement (étape 150 de la figure 4), alors ils sont à nouveau décryptés selon l'algorithme correspondant (étape 230). L'encryptage/décryptage AES peut être défini de sorte que seul le module PCMCIA ayant servi à enregistrer le service puisse relire le service enregistré. En variante, on peut autoriser des modules PCMCIA d'un même groupe à relire des services enregistrés par n'importe lequel des modules du groupe. Le module PCMCIA 2 peut alors récupérer dans les paquets de transport TPPMT extraits qui ont été stockés dans le support de mémoire externe 8 les identifiants PID_ES des flux élémentaires ES du service enregistré (étape 240).The PCMCIA module 2 then receives from the external memory support 8 the recording stream TS2IN, which corresponds to the recording stream TS2ouT, and the extracted TPPMT transport packets associated with the registered service (step 220). If the packets of the recording stream have been encrypted at the time of recording (step 150 of FIG. 4), then they are again decrypted according to the corresponding algorithm (step 230). AES encryption / decryption can be defined so that only the PCMCIA module used to register the service can re-read the registered service. Alternatively, PCMCIA modules of the same group may be allowed to replay services registered by any of the modules in the group. The PCMCIA module 2 can then retrieve in the extracted TPPMT transport packets that have been stored in the external storage medium 8 the identifiers PID_ES of the elementary streams ES of the registered service (step 240).

Le module PCMCIA 2 génère alors une table PMTR de remplacement à partir de l'identifiant PID de la PMT du service courant et des identifiants PID des flux élémentaires récupérés (étape 250); En particulier, la table PMTR de remplacement est générée de sorte que l'identifiant PID de son champ entête 3 comporte l'identifiant PID de la 20 PMT du service courant, et que son champ de données 4 comporte les identifiants PID_ES des flux élémentaires récupérés. Enfin, le module PCMCIA 2 transfère (étape 260) au premier ou deuxième équipement hôte 1 un flux de sortie TSouT comprenant uniquement la table PMT de remplacement et le flux d'enregistrement TS2ouT- 25 La figure 6 illustre à titre d'exemple non limitatif le format une structure de flux de sortie 9 comprenant la table PMTR de remplacement et les paquets du flux d'enregistrement de sortie notés TPTS2IN- Grâce à la génération d'une table PMTR de remplacement, le module PCMCIA 2 force l'équipement hôte 1 à écouter effectivement le flux du service 30 enregistré, et ce, même s'il était en train d'écouter un autre service. L'équipement hôte 1 va donc se mettre à écouter les flux élémentaires ES définis dans cette table PMTR de remplacement, à savoir ceux correspondant au service enregistré, en lieu et place des flux élémentaire ES de la chaîne courante. Ces flux élémentaires enregistrés seront alors décodés par le décodeur MPEG 13, puis joués sur l'écran et les haut-parleurs associés à l'équipement hôte. Dans une variante préférée, un identifiant de cryptage est en outre inséré dans le champ de données de la table PMTR de remplacement, et ce, bien que le flux enregistré qui est transféré à l'équipement hôte 1 ait déjà été désembrouillé. Cette précaution est nécessaire pour pallier la différence de fonctionnement intrinsèque des équipements hôtes quant à la gestion des flux TSIN et TSouT. En effet, lorsqu'aucun module PCMCIA n'est inséré dans l'équipement hôte 1, le flux en provenance du tuner 10 et du démodulateur 11 de l'équipement hôte est envoyé directement vers le démultiplexeur 12 de l'équipement hôte. Lorsqu'un module PCMCIA pour le contrôle d'accès est inséré dans un de l'équipement hôte, le flux en provenance du tuner de l'équipement hôte doit obligatoirement être envoyé vers le module PCMCIA. Néanmoins, pour certains équipements hôtes, la gestion des flux va différer selon que la chaîne écoutée est en clair ou embrouillée. En particulier : - si la chaîne est embrouillée par un système de contrôle d'accès supporté par le module PCMCIA 2, l'équipement hôte 1 doit obligatoirement envoyer au module une commande CA_PMT pour demander le désembrouillage. Dans ce cas, l'équipement hôte coupe le flux entre la sortie du démodulateur 11 et l'entrée du démultiplexeur 12, et ne s'intéresse qu'au flux transitant par le bus de transport 7. - Si la chaîne est embrouillée par un système de contrôle d'accès non supporté par le module PCMCIA 2, ou si la chaîne n'est pas embrouillée, les normes n'imposent pas alors à l'équipement hôte 1 d'envoyer au module une commande CA_PMT. Si aucune commande n'est envoyée, certains équipements hôtes vont couper le flux transitant par le bus de transport 7, et ne s'intéresser qu'au flux entre la sortie du démodulateur 11 et l'entrée du démultiplexeur 12.The PCMCIA module 2 then generates a replacement PMTR table from the PID identifier of the current service PMT and the PID identifiers of the recovered elementary streams (step 250); In particular, the replacement PMTR table is generated so that the PID identifier of its header field 3 comprises the PID identifier of the current service PMT, and its data field 4 comprises the identifiers PID_ES of the elementary streams recovered. . Finally, the PCMCIA module 2 transfers (step 260) to the first or second host device 1 a TSout output stream comprising only the replacement PMT table and the recording stream TS2 or T-FIG. 6 illustrates by way of nonlimiting example. the format an output flow structure 9 including the replacement PMTR table and the output recording stream packets noted TPTS2IN- Thanks to the generation of a replacement PMTR table, the PCMCIA 2 module forces the host equipment 1 to actually listen to the stream of recorded service, even if he was listening to another service. The host device 1 will thus begin to listen to the ES elementary streams defined in this replacement PMTR table, namely those corresponding to the registered service, in place of the elementary streams ES of the current channel. These recorded elementary streams will then be decoded by the MPEG decoder 13, then played on the screen and the speakers associated with the host equipment. In a preferred embodiment, an encryption identifier is further inserted into the data field of the replacement PMTR table, even though the recorded stream that is transferred to the host equipment 1 has already been descrambled. This precaution is necessary to overcome the difference in intrinsic operation of the host equipment with regard to the management of TSIN and TSouT flows. Indeed, when no PCMCIA module is inserted into the host equipment 1, the stream from the tuner 10 and the demodulator 11 of the host equipment is sent directly to the demultiplexer 12 of the host equipment. When a PCMCIA module for access control is inserted in one of the host equipment, the stream coming from the tuner of the host equipment must be sent to the PCMCIA module. However, for some host equipment, the flow management will differ depending on whether the listened to is clear or scrambled. In particular: - if the string is scrambled by an access control system supported by the PCMCIA module 2, the host device 1 must send a module CA_PMT command to request descrambling. In this case, the host equipment cuts the flow between the output of the demodulator 11 and the input of the demultiplexer 12, and is only interested in the flow passing through the transport bus 7. - If the string is scrambled by a access control system not supported by the PCMCIA 2 module, or if the string is not scrambled, the standards do not then require the host device 1 to send the module a command CA_PMT. If no command is sent, some host devices will cut the flow passing through the transport bus 7, and only look at the flow between the output of the demodulator 11 and the input of the demultiplexer 12.

Il en résulte que pour ces équipements, la réception d'un flux d'enregistrement sans identifiant de cryptage va être immédiatement interprétée comme la réception d'une chaîne non embrouillée, et l'équipement hôte va cesser de s'intéresser au flux d'enregistrement.As a result, for these equipments, the reception of a recording stream without an encryption identifier will immediately be interpreted as the reception of an undisclosed string, and the host equipment will stop being interested in the stream of recording.

L'insertion d'un identifiant de cryptage dans le champ de données de la table PMTR de remplacement va garantir que l'équipement hôte utilise correctement le flux d'enregistrement. L'identifiant de cryptage sera par exemple choisi dans la liste de tous les identifiants CA_system_id des systèmes de contrôle d'accès que le module supporte. En variante, cet identifiant sera de préférence un identifiant spécifique propriétaire, pour permettre de le différencier d'un identifiant de cryptage utilisé par les systèmes de contrôle d'accès. Il convient de noter que la procédure de relecture telle qu'elle vient d'être décrite reste compatible avec les normes. En effet, lorsqu'une relecture est faite, l'équipement hôte 1 transmet un flux d'entrée TSIN, mais ce flux n'a pas besoin de se retrouver sur le bus de sortie 7 puisqu'il ne doit à ce moment précis rejouer que le service enregistré. Le flux d'entrée TSIN peut néanmoins être utilisé par le module PCMCIA 2 pour réaliser, en parallèle, un enregistrement de n'importe quel service courant. L'injecteur 30 pour la gestion des flux permet en effet, sous la commande notamment du module CAS 22, de couper tout flux TSiouT afin que seuls le flux d'enregistrement TS2ouT et la table PMTR de remplacement soient effectivement délivrés à l'équipement hôte 1 sur le bus 7. En revanche, si aucune relecture d'un service enregistré n'est en cours, l'injecteur autorise ce flux TS1ouT- Grâce au procédé d'enregistrement et de relecture selon l'invention, on permet à un utilisateur d'étendre les possibilités de son équipement hôte. Le module logiciel CAS 22 est dimensionné pour permettre le traitement simultané d'au moins deux flux (par exemple un flux pour une lecture en directe par l'équipement hôte et un flux pour un enregistrement, ou bien un flux pour une relecture et un flux pour un enregistrement).Inserting an encryption ID into the data field of the replacement PMTR will ensure that the host device is using the record stream correctly. The encryption identifier will for example be chosen from the list of all the CA_system_id identifiers of the access control systems that the module supports. As a variant, this identifier will preferably be a proprietary specific identifier, in order to differentiate it from an encryption identifier used by the access control systems. It should be noted that the replay procedure as described above remains compatible with the standards. Indeed, when a replay is made, the host device 1 transmits a TSIN input stream, but this stream does not need to end up on the output bus 7 since it must at this precise moment replay than the registered service. The TSIN input stream can nevertheless be used by the PCMCIA 2 module to perform, in parallel, a recording of any current service. The injector 30 for the flow management makes it possible, under the command in particular of the CAS module 22, to cut any TSiouT stream so that only the recording stream TS2ouT and the replacement table PMTR are actually delivered to the host equipment 1 on the bus 7. On the other hand, if no replay of a registered service is in progress, the injector authorizes this stream TS1ouT- Thanks to the recording and playback method according to the invention, a user is allowed to to extend the possibilities of its host equipment. The CAS software module 22 is sized to allow the simultaneous processing of at least two streams (for example a stream for a live read by the host equipment and a stream for a record, or a stream for a replay and a stream for a recording).

De préférence, trois voire quatre flux peuvent être gérés en simultané, pour prendre en compte notamment des options d'enregistrement ou de PIP intégrées à l'équipement hôte.5Preferably, three or even four streams can be managed simultaneously, to take into account including recording options or PIP integrated into the host equipment.

Claims (12)

REVENDICATIONS1. Procédé pour l'enregistrement d'un service numérique télédiffusé reçu sous forme embrouillée par un premier équipement hôte (1) et pour la relecture du service enregistré, le procédé comportant : une phase d'enregistrement lors de laquelle un premier module PCMCIA (2) de contrôle d'accès: - extrait (120) d'un flux de transport d'entrée (TSIN) reçu du premier équipement hôte (1) des paquets de transport (TPPMT) correspondant à une table PMT de correspondance de programmes associée de façon unique au service à enregistrer ; - sélectionne (130) dans ledit flux de transport d'entrée (TSIN) des paquets de transport (TPES) correspondant à des flux élémentaires (ES) associés de façon unique au service à enregistrer et désembrouille (140) les paquets de transport sélectionnés ; - transfère (160) à un support de mémoire externe (8) pour enregistrement les paquets de transport (TPPMT) extraits et un flux d'enregistrement (TS2ouT) composé des paquets de transport désembrouillés; et une phase de relecture, sur le premier équipement hôte (1) ou un second équipement hôte, du service enregistré, lors de laquelle le premier module PCMCIA (2) ou un second module PCMCIA de contrôle d'accès: - récupère (210) un identifiant PID de la table PMT du service courant écouté par le premier ou second équipement hôte (1) ; - reçoit (220) du support de mémoire externe (8) le flux d'enregistrement (TS2IN) et les paquets de transport (TPPMT) extraits; - récupère (240) dans les paquets de transport (TPPMT) extraits des identifiants PID des flux élémentaires du service enregistré ; - génère (250) une table PMT de remplacement à partir de l'identifiant PID de la table PMT du service courant et des identifiants PID des flux élémentaires récupérés ; et- transfère (260) au premier ou deuxième équipement hôte (1) un flux de sortie (TSouT) comprenant uniquement la table PMT de remplacement et le flux d'enregistrement (TSoouT)-REVENDICATIONS1. A method for recording a broadcast digital service received in scrambled form by a first host device (1) and for playback of the recorded service, the method comprising: a recording phase in which a first PCMCIA module (2) access control: - extract (120) of an input transport stream (TSIN) received from the first host (1) of the transport packets (TPPMT) corresponding to a PMT program matching table correspondingly unique to the service to be registered; - selects (130) in said input transport stream (TSIN) transport packets (TPES) corresponding to elementary streams (ES) uniquely associated with the service to be recorded and descrambled (140) the selected transport packets; - transfers (160) to an external storage medium (8) for recording the extracted transport packets (TPPMT) and a recording stream (TS2ouT) composed of the descrambled transport packets; and a replay phase, on the first host device (1) or a second host device, of the registered service, in which the first PCMCIA module (2) or a second access control PCMCIA module: - retrieves (210) a PID identifier of the PMT table of the current service listened to by the first or second host equipment (1); - receives (220) the external storage medium (8) the recording stream (TS2IN) and the extracted transport packets (TPPMT); retrieves (240) in the transport packets (TPPMT) extracted from the PID identifiers of the elementary streams of the registered service; generates (250) a replacement PMT table from the PID identifier of the PMT table of the current service and the PID identifiers of the recovered elementary streams; and- transfers (260) to the first or second host equipment (1) an output stream (TSouT) comprising only the replacement PMT table and the record stream (TSoouT) - 2. Procédé selon la revendication 1, caractérisé en ce que la table PMT de remplacement est générée sous forme d'un ou plusieurs paquets de transport comportant chacun un champ de données (4) et un champ entête (3) avec un identifiant PID associé de façon unique à la table PMT de remplacement, l'identifiant PID de son champ entête (3) comportant l'identifiant PID de la table PMT du service courant, et le champ de données (4) comportant les identifiants PID des flux élémentaires récupérés.2. Method according to claim 1, characterized in that the replacement PMT table is generated in the form of one or more transport packets each comprising a data field (4) and a header field (3) with an associated PID identifier. uniquely at the replacement PMT table, the PID identifier of its header field (3) including the PID identifier of the PMT table of the current service, and the data field (4) comprising the PID identifiers of the elementary streams recovered. . 3. Procédé selon la revendication 2, caractérisé en ce qu'un identifiant de cryptage est en outre inséré dans le champ de données de la table PMT de remplacement.3. Method according to claim 2, characterized in that an encryption identifier is further inserted in the data field of the replacement PMT table. 4. Procédé selon l'une quelconque des revendications 1 à 3, caractérisé en ce qu'il comporte en outre une étape d'encryptage (150) du flux d'enregistrement (TS2ouT) avant son transfert pour enregistrement, et une étape de décryptage (230) dudit flux d'enregistrement avant son transfert pour relecture.4. Method according to any one of claims 1 to 3, characterized in that it further comprises a step of encrypting (150) the recording stream (TS2ouT) before transfer for recording, and a decryption step (230) of said recording stream before being transferred for replay. 5. Procédé selon la revendication 4, caractérisé en ce que l'encryptage (150) et le décryptage (230) sont réalisés selon un algorithme AES.5. Method according to claim 4, characterized in that the encryption (150) and decryption (230) are performed according to an AES algorithm. 6. Procédé selon l'une quelconque des revendications précédentes, caractérisé en ce qu'il comporte en outre une étape d'encryptage CI+ du flux de sortie (TSouT) avant son transfert au premier ou deuxième équipement hôte (1).6. Method according to any one of the preceding claims, characterized in that it further comprises a step of encryption CI + output stream (TSouT) before its transfer to the first or second host equipment (1). 7. Procédé selon l'une quelconque des revendications précédentes, caractérisé en ce que le flux de transport d'entrée (TSIN) reçu est au format MPEG ou IP, dans lequel les services sont embrouillés selon une norme de type DVB, respectivement AES.7. Method according to any one of the preceding claims, characterized in that the input transport stream (TSIN) received is in the MPEG or IP format, in which the services are scrambled according to a standard DVB type, respectively AES. 8. Module (2) de contrôle d'accès de type PCMCIA apte à être associé à un équipement hôte (1) pour d'une part, recevoir un flux de transport d'entrée (TSIN) comportant des paquets de transport embrouillés et d'autre part, transmettre à l'équipement hôte (1) un premier flux de sortie (TSouT) correspondant au flux de transport d'entrée (TSIN) dans lequel certains des paquets de transport embrouillés ont été éventuellement désembrouillés, caractérisé en ce qu'il comporte, à des fins d'enregistrement d'un service numérique télédiffusé reçu sous forme embrouillée, des moyens (20, 21, 22, 23, 29, 31) de génération d'un flux d'enregistrement (TS2ou-r), aptes à extraire du flux de transport d'entrée (TSIN) des paquets de transport (TPPMT) correspondant à une table PMT de correspondance de programmes associée de façon unique au service à enregistrer, à sélectionner dans ledit flux de transport d'entrée (TSIN) des paquets de transport (TPES) correspondant à des flux élémentaires (ES) du service à enregistrer, à désembrouiller les paquets de transport sélectionnés et à délivrer le flux d'enregistrement (TS2ou-r) composé des paquets de transport désembrouillés, et des moyens (23, 27) de transfert aptes à transférer les paquets de transport (TPPMT) extraits et le flux d'enregistrement (TS2ouT) à un support de mémoire externe (8) pour enregistrement; et, à des fins de relecture du flux d'enregistrement (TS2ou-r) sur le premier équipement hôte (1) ou un second équipement hôte, des moyens (22, 23, 27, 29, 30) de génération d'un flux de sortie (TSouT) aptes à : - récupérer un identifiant PID de la table PMT du service courant écouté par le premier ou second équipement hôte (1) ; - recevoir du support de mémoire externe (8) le flux d'enregistrement (TS2IN) et les paquets de transport (TPPMT) extraits; - récupérer dans les paquets de transport (TPPMT) extraits les identifiants PID des flux élémentaires du service enregistré ;- générer une table PMT de remplacement à partir de l'identifiant PID de la table PMT du service courant et des identifiants PID des flux élémentaires récupérés ; et - générer un deuxième flux de sortie (TSouT) comprenant uniquement la table PMT de remplacement et le flux d'enregistrement (TS2IN), pour transfert au premier ou deuxième équipement hôte (1) à la place du premier flux de sortie.8. PCMCIA access control module (2) adapted to be associated with a host device (1), on the one hand, to receive an input transport stream (TSIN) comprising scrambled transport packets and on the other hand, transmitting to the host equipment (1) a first output stream (TSOUT) corresponding to the input transport stream (TSIN) in which some of the scrambled transport packets were optionally descrambled, characterized in that it includes, for the purpose of recording a digital television service received in scrambled form, means (20, 21, 22, 23, 29, 31) for generating a recording stream (TS2ou-r), adapted to extract from the transport transport input (TSIN) transport packet (TPPMT) corresponding to a PMT program matching table uniquely associated with the service to be recorded, to be selected in said input transport stream (TSIN) ) corresponding transport packets (TPES) to elementary streams (ES) of the service to be recorded, to descramble the selected transport packets and to deliver the recording stream (TS2ou-r) composed of the descrambled transport packets, and transfer means (23, 27) capable of forwarding the extracted transport packets (TPPMT) and the recording stream (TS2ouT) to an external storage medium (8) for recording; and, for replaying the recording stream (TS2ou-r) on the first host equipment (1) or a second host equipment, means (22, 23, 27, 29, 30) for generating a stream output device (TSouT) capable of: recovering a PID identifier from the PMT table of the current service listened to by the first or second host device (1); - Receive from the external storage medium (8) the recording stream (TS2IN) and the extracted transport packets (TPPMT); retrieving the PID identifiers of the recorded service elementary streams in the transport packets (TPPMT); generating a replacement PMT table from the PID identifier of the current service PMT table and the PID identifiers of the recovered elementary streams; ; and - generating a second output stream (TSOUT) comprising only the replacement PMT table and the recording stream (TS2IN), for transfer to the first or second host equipment (1) in place of the first output stream. 9. Module (2) de contrôle d'accès selon la revendication 8, caractérisé en ce que les moyens (22, 23, 27, 29, 30) de génération d'un flux de sortie comporte un injecteur (30) de gestion des flux apte à recevoir simultanément le flux d'enregistrement à relire (TS2IN) et un flux de transport (TS1ouT) d'un module de désembrouillage (21) du module (2) de contrôle d'accès et à délivrer en sortie uniquement le flux d'enregistrement à relire (TS2IN) pour transfert au premier ou deuxième équipement hôte (1) à la place du premier flux de sortie.Access control module (2) according to claim 8, characterized in that the means (22, 23, 27, 29, 30) for generating an output flow comprise an injector (30) for managing the stream adapted to simultaneously receive the replay recording stream (TS2IN) and a transport stream (TS1ouT) of a descrambling module (21) of the access control module (2) and to output only the stream recording replay (TS2IN) for transfer to the first or second host equipment (1) in place of the first output stream. 10.Module (2) de contrôle d'accès selon l'une quelconque des revendications 8 ou 9, caractérisé en ce qu'il est apte à générer simultanément le premier flux de sortie (TS2ouT) pour la lecture en direct d'un premier service écouté par le premier équipement hôte, et un flux d'enregistrement (TS2ouT) pour l'enregistrement du premier service écouté, ou d'un second service reçu par le premier équipement hôte (1).10.Module (2) access control according to any one of claims 8 or 9, characterized in that it is able to simultaneously generate the first output stream (TS2ouT) for the live playback of a first service listened to by the first host device, and a record stream (TS2ouT) for recording the first service listened to, or a second service received by the first host device (1). 11.Module (2) de contrôle d'accès selon l'une quelconque des revendications 8 à 10, caractérisé en ce qu'il comprend en outre des moyens (28) de programmation de l'enregistrement du service en différé.11.Module (2) for access control according to any one of claims 8 to 10, characterized in that it further comprises means (28) for programming the recording of the service delayed. 12. Flux de transport de données (9) délivré par un module PCMCIA (2) de contrôle d'accès à un équipement hôte (1) pour la relecture d'un flux d'enregistrement correspondant à un service numérique télédiffusé, caractérisé en ce qu'il comporte uniquement le flux d'enregistrement (TS2ouT) composé de paquets de transport désembrouillés (TPTS2IN)correspondant à des flux élémentaires (ES) audit service, et une table PMT (TPPMT R) de remplacement générée à partir d'un identifiant PID de la table PMT du service courant écouté par l'équipement hôte (1) avant relecture, et d'identifiants PID des flux élémentaires composant le service numérique enregistré.12. Data transport stream (9) delivered by a host equipment access control module (PCMCIA) (2) for playback of a recording stream corresponding to a digital broadcast service, characterized in that it comprises only the record stream (TS2ouT) composed of descrambled transport packets (TPTS2IN) corresponding to elementary streams (ES) to said service, and a replacement PMT table (TPPMT R) generated from an identifier PID of the PMT table of the current service listened to by the host equipment (1) before replay, and of PID identifiers of the elementary streams composing the registered digital service.
FR1350624A 2013-01-24 2013-01-24 Method for recording and playing broadcast digital service received in scrambled form by e.g. digital TV, involves generating replacement table, transferring output stream including table, and recording stream to host equipment Withdrawn FR3001352A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
FR1350624A FR3001352A1 (en) 2013-01-24 2013-01-24 Method for recording and playing broadcast digital service received in scrambled form by e.g. digital TV, involves generating replacement table, transferring output stream including table, and recording stream to host equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
FR1350624A FR3001352A1 (en) 2013-01-24 2013-01-24 Method for recording and playing broadcast digital service received in scrambled form by e.g. digital TV, involves generating replacement table, transferring output stream including table, and recording stream to host equipment

Publications (1)

Publication Number Publication Date
FR3001352A1 true FR3001352A1 (en) 2014-07-25

Family

ID=48521145

Family Applications (1)

Application Number Title Priority Date Filing Date
FR1350624A Withdrawn FR3001352A1 (en) 2013-01-24 2013-01-24 Method for recording and playing broadcast digital service received in scrambled form by e.g. digital TV, involves generating replacement table, transferring output stream including table, and recording stream to host equipment

Country Status (1)

Country Link
FR (1) FR3001352A1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030059047A1 (en) * 2001-09-27 2003-03-27 Ryuichi Iwamura PC card recorder

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030059047A1 (en) * 2001-09-27 2003-03-27 Ryuichi Iwamura PC card recorder

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"CI Plus Specification v1.3. Content Security Extensions to the Common Interface.", 14 January 2011 (2011-01-14), XP055030907, Retrieved from the Internet <URL:http://www.ci-plus.com/data/ci-plus_specification_v1.3.pdf> [retrieved on 20120625] *

Similar Documents

Publication Publication Date Title
EP1834442B1 (en) Method for transmission of digital data in a local network
EP2088764B1 (en) Method for updating and managing an application for processing audiovisual data included in a multimedia unit by means of a conditional access module
US9043827B1 (en) Method and system for providing conditional access to encrypted content
US20100158480A1 (en) Multi-stream encryption method and apparatus, and host device for multi-channel recording
EP1463309A1 (en) Data stream format processing for mobile audio/video reception
EP2027667A1 (en) Methods for broadcasting and receiving a scrambled multimedia programme, network head, terminal, receiver and security processor for these methods
FR2974475A1 (en) METHOD FOR PROTECTING RECORDED MULTIMEDIA CONTENT
EP3022940B1 (en) Method and device for protecting decryption keys of a decoder
FR2898458A1 (en) METHOD FOR THE SECURE DISTRIBUTION OF AUDIOVISUAL SEQUENCES, DECODER AND SYSTEM FOR IMPLEMENTING SAID METHOD
FR2769779A1 (en) METHOD FOR CONTROLLING ACCESS TO A HOME NETWORK AND DEVICE IMPLEMENTING THE METHOD
EP3248379B1 (en) Method for broadcasting protected multimedia contents
US20140115393A1 (en) Electronic Device And Connection Test Method
WO2004100532A1 (en) Method and device for securing transmission, recording and viewing of digital audiovisual packet flows
FR3001352A1 (en) Method for recording and playing broadcast digital service received in scrambled form by e.g. digital TV, involves generating replacement table, transferring output stream including table, and recording stream to host equipment
EP1900208B1 (en) Method for transmitting a digital data stream and control meessages associated with the data stream to mobile devices
EP2326035B1 (en) Treatment method involving a message security module for controlling access to content and associated security module
FR2846831A1 (en) Pseudo on-demand broadcast system, e.g. for video, transmitting information elements to all receivers for encrypted storage after filtering according to individual selection criteria
JP2004048268A (en) Method for reproducing limited reproduction contents, apparatus for reproducing limited reproduction contents, and program for reproducing limited reproduction contents
WO2004066627A2 (en) Method for distributing video sequences, decoder and system therefor
FR2797735A1 (en) Audio-video receiver for numerical TV includes a descrambler, which either treat the complete signal if system is in non-protective mode or only the majority of it if system in protective mode
FR2953672A1 (en) METHOD FOR DETECTING DATA BY A USER EQUIPMENT COMPRISING A TERMINAL AND A SECURITY MODULE
EP2265013A1 (en) Transmission of content to a client device comprising at least one decoding module and one security module
FR2979176A1 (en) Method for recording TV programs, involves selecting recording parts in recorders such that sum of parts is recorded by recorders corresponding to totality of parts of TV program executed by recorders
FR3015846A1 (en) COMMON INTERFACE MODULE FOR CONTROLLING ACCESS TO DIGITAL TELEVISION PROGRAMS
FR2834175A1 (en) Hard disc decoder television information stream having encryption word control navigation key extracted/decrypting control word and ciphering algorithm forming secret key/new control message/hard disc memorized.

Legal Events

Date Code Title Description
ST Notification of lapse

Effective date: 20140930