The invention relates to the domain of receivers/recorders of video programs and more specifically to the recording of data that comprise the programs on a removable peripheral device.
The video receivers/recorders still called PVR, for “Personal Video Recorder” offer the user the possibility of viewing a program broadcast in real time with a slight delay or apply a pause in viewing the program while the broadcasting continues and then start viewing again with a slight delay. This possibility enables the user to interrupt the viewing of the program without, however, losing its content in terms of viewing. This functionality is based on the recording of the program on a backup unit, at the same time as the viewing. As soon as the recording of the program has begun, and during the viewing of the latter, the user can interrupt the viewing by activating a pause command. During the pause, the recording continues. When the user begins to view the program again, by activating a play command, the program is simultaneously read and recorded on the backup unit. This function is commonly called “time-shift”. The backup unit used can be a random access memory or a mass storage. Considering the storage capacities required for recording video programs and the access time to the backup unit, the backup means used is more generally a hard disk. Recent techniques used for the memory cells of the backup units nevertheless allow rapid read and write accesses as well as sufficient capacities for recording video programs. It is now possible to record many programs on a non-volatile, rewritable, flash technology memory. Moreover, these memories have small dimensions and can be carried easily by the user from one recorder to another or from a recorder to a computer for example. The connection type is generally standardised, which makes it easy to transfer or exchange data to or from one device to another. Many removable memories take the shape of a USB key (Universal Serial Bus) that contains flash technology integrated circuits. Hence, reception and recording devices having a USB connection interface and enabling the connection of a non-volatile and removable memory have appeared on the market. In the context of a receiver/recorder of video programs, it is now possible to realize the “time-shift” function by recording a program received and by rereading it simultaneously on a flash technology USB key. The “time-shift” function of a receiver/recorder can thus be realized by means of an internal hard disk, an external hard disk or a USB key. Other functions are made accessible to the user owing to the use of a backup unit and the recording of the program during its broadcast. The user can, for example, rewind, freeze the frame, play a chosen portion of the program, fast rewind or forward to rapidly locate a portion of the program he wishes to see again. These different modes are commonly called “trick modes”.
Although the possibility of using a removable memory of the flash memory type provides an ease of use and a simplicity of implementation for the user, it has a disadvantage. The flash type memory cells have a limited number of write cycles. There is a phenomenon of wear on the flash memory cells. This represents a disadvantage as the “time-shift” function requires a systematic recording of the program viewed and carries out a large number of simultaneous read and write accesses (and therefore in writing). The systematic recording of a viewed program with a view to allow the use of the “time-shift” function gradually degrades the backup unit, which ultimately becomes inoperative.
The purpose of the invention is to overcome at least one of the disadvantages of the prior art and more specifically to prevent the recording of the broadcast and viewed program from being carried out systematically (with a view to enabling time-shift) if the memory type used for the recording can be prematurely degraded by this.
More particularly, the invention relates to a method for controlling an interface providing the connection between a suitable device for the recording and reading of data and an external memory, characterized in that the method comprises, in the device, the steps for detecting the type of external memory connected to the interface and for authorizing write access to the external memory according to the type of external memory detected and the available storage capacity on said external memory.
According to an embodiment of the invention, the detection step comprises a step for reading at least one information field in the external memory.
According to an embodiment of the invention, the at least one information element read in the external memory indicates whether the external memory is of the flash type.
According to an embodiment of the invention, the authorisation for write accesses to the external memory further depends on an identifier compared with a list of identifiers.
According to an embodiment of the invention, the authorisation for write accesses to said external memory further depends on a configurable parameter.
According to an embodiment of the invention, the authorisation for write accesses to said external memory further depends on the storage capacity of said external memory.
According to an embodiment of the invention, the write access is refused when the external memory is of the flash type.
According to an embodiment of the invention, the method further comprises a step for redirecting write accesses to an internal memory of the device.
According to an embodiment of the invention, the device is a receiver/decoder of audiovisual programs.
According to an embodiment of the invention, the detection and authorisation steps are performed at each new connection of the external memory.
According to an embodiment of the invention, the detection and authorisation steps are carried out for each change of program received and viewed by said device.
According to an embodiment of the invention, the write accesses are generated by a “time-shift” function.
The invention also relates to a device suitable for the recording and reading of data comprising interfacing means for the connection of an external memory, characterized in that the device comprises means for detecting the type of external memory connected and means for authorising write access to the external memory according to the external memory type detected and the available storage capacity (size) of the external memory.
According to an embodiment of the invention, the means for authorising access to the device are configured by write operations in a configuration field.
The invention will be better understood, and other specific features and advantages will emerge upon reading the following description, the description making reference to the annexed drawings wherein:
Generally but not restrictively, the invention relates to a method for controlling an external memory interface.
When the time-shift function is activated, the removable backup unit interface also directs the data stream from the demultiplexer 102 to the removable backup unit 2. As long as no time-shift function has been implemented (play after rewind, play after pause, play from the start of the recording), the data stream is delivered simultaneously to the external backup unit 2 and the audio/video decoder 104 via the interface 103.
As soon as a time-shift function has been used, there is an delay between the program broadcast and its viewing. The data stream sent by the interface 103 to the decoder 104 is read from the unit 2 while the recording takes place with a data stream from the demultiplexer 102.
The functional elements that constitute the decoder are controlled by the control unit 100. The control unit 100 configures the configuration registers of the different elements and further enables the execution of software applications by the receiver 1.
According to one embodiment of the invention, and when a removable backup unit 2 is connected to the receiver/decoder 1, the interface 103 detects the connection and sends a notification to the control unit 100. The control unit responds to this notification by performing a read operation of the information field (for example one or more registers) of the removable backup unit, through the interface 103.
According to one embodiment of the invention, one of the registers read enables the control unit to know the type of removable backup unit and to define, particularly, whether the memory cells are constituted from flash technology. In the case where a unit 2 of the flash memory type is detected, the control unit 100 configures the interface 103 to prohibit the write accesses so as to prevent premature wear of the memory cells of the unit 2.
According to one embodiment of the invention, it is possible to authorise the use of the unit 2, irrespective of the memory type, according to a parameter configurable by the user. The user positions this parameter by means of a user interface, such as a configuration menu displayed on a display device connected to the output interface 105. The menu enables the user to select an option to authorise the accesses when a flash type memory is detected. In the absence of this option, if a flash type memory is detected, the interface directly delivers the flow of data from the demultiplexer 102 to the decoder 104. The time-shift function is therefore inhibited as soon as a delay between the reception of a program and its viewing, giving rise to accesses on a unit 2 of the flash type, is necessary.
According to one embodiment of the invention, the reading of the memory type connected, as well as the configuration steps of the interface of the backup unit can take place at each change of program viewed (change of channel) since a change of program viewed initiates a new recording so as to enable subsequent use of the time-shift function and a possible return to a portion of the program.
Advantageously, the reading of the memory type connected, as well as the configuration steps of the interface of the backup unit can take place at each new connection of an external memory to the interface.
According to one embodiment of the invention, the authorization of accesses to the flash memory depends on the type of memory and on the storage capacity available in the external memory and depends, for example, on a threshold or a ratio configured automatically or by the user. The threshold/ratio is defined between the available storage size on the external memory and the total storage size of the external memory. If the available storage capacity is very sizeable in relation to the quantity of data stored during the use of the “time-shift” function, the accesses are authorized. The threshold can be defined automatically, for example, by the control unit of the PVR depending on the overall storage size detected of the external memory. It can be set to 50% for example, if the overall storage size of the external memory is inferior or equal to 16 Giga-bytes and can be less, such as 30% for example if the overall storage size of the external memory is more than 16 Giga-bytes. In a variant, the threshold, such as a percentage of the overall storage size of the external memory that is free for recording is set by the user through the use of a dedicated setup menu available in the user interface of the PVR. In other words, if the control unit detects, for example, that the overall storage size of the external memory is 32 Giga-bytes and that there is at least 30% of these 32 Giga-bytes free and available for recording, then the write accesses are authorized.
According to another embodiment, only a part of the external memory is usable for trick modes and read/write access related to the recording functions of the PVR and is defined as reserved for such a recording use thanks to a set-up procedure, through a set-up menu, when the external memory device is connected to the PVR device.
According to a preferred embodiment, the removable backup unit is a memory of the flash type constituted by a printed circuit carrying one or more memory circuits constituted from flash memory cells and which interconnects with the device by means of a standard interface of the USB (Universal Serial Bus) type.
The invention also relates to the external backup units that interconnect with any other type of electric and mechanical interface such as, for example, the IEEE1394, the Ethernet, the SD and microSD type memory cards and more generally any removable non-volatile memory.
Number | Date | Country | Kind |
---|---|---|---|
1152425 | Mar 2011 | FR | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP12/55160 | 3/23/2012 | WO | 00 | 12/3/2013 |