WO2006003539A1 - Method and circuit for buffering a stream of data - Google Patents

Method and circuit for buffering a stream of data Download PDF

Info

Publication number
WO2006003539A1
WO2006003539A1 PCT/IB2005/051982 IB2005051982W WO2006003539A1 WO 2006003539 A1 WO2006003539 A1 WO 2006003539A1 IB 2005051982 W IB2005051982 W IB 2005051982W WO 2006003539 A1 WO2006003539 A1 WO 2006003539A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
stream
buffer memory
memory
compartment
Prior art date
Application number
PCT/IB2005/051982
Other languages
French (fr)
Inventor
0Zcan Mesut
Johannes Henricus Maria Korst
Jozef Pieter Van Gassel
John Hamers
Original Assignee
Koninklijke Philips Electronics N.V.
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 Koninklijke Philips Electronics N.V. filed Critical Koninklijke Philips Electronics N.V.
Priority to JP2007518745A priority Critical patent/JP2008504641A/en
Priority to EP05748051A priority patent/EP1784708A1/en
Publication of WO2006003539A1 publication Critical patent/WO2006003539A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3215Monitoring of peripheral devices
    • G06F1/3225Monitoring of peripheral devices of memory devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • G11B2020/1062Data buffering arrangements, e.g. recording or playback buffers

Definitions

  • the invention relates to a method for buffering a first stream of audiovisual data and a second stream of audiovisual data in a buffer memory comprising at least two compartments.
  • the invention also relates to a method of buffering a stream of data in a buffer memory comprising at least two compartments.
  • the invention further relates to a circuit for buffering a first stream of audiovisual data and a second stream of audiovisual data in a buffer memory comprising at least two compartments.
  • the invention relates to a circuit for buffering a stream of data in a buffer memory comprising at least two compartments as well.
  • the invention also relates to a computer programme product comprising computer readable and executable instructions.
  • the invention further relates to a medium carrying such computer programme product.
  • the invention provides in a first aspect a method of buffering a first stream of audiovisual data and a second stream of audiovisual data in a buffer memory comprising at least two compartments, comprising the steps of : writing at least part of the first stream and the second stream interleaved in the buffer memory, such that each compartment of the memory comprises data of the first stream of audiovisual data and the second stream of audiovisual data; and retrieving the data stored in the buffer memory for retrieval for further processing.
  • a person skilled in the art would allocate a first part of the memory for storing data for buffering the first stream and a second part of the buffer memory for buffering the second stream.
  • the data of the first stream would be in a first set of compartments and the data of the second stream would be in a complementary set of compartments.
  • a memory compartment consumes considerably more energy than in an inactive state, i.e. refresh or standby (no refresh, so no data preservation).
  • the method further comprises the steps of: determining a first data rate at which the first stream is being processed after retrieval; determining a second data rate at which the second stream is being processed after retrieval; writing a first amount of data of the first stream in the buffer memory; and writing a second amount of data of the second stream in the buffer memory; such that the ratio of the first amount and the second amount equals the ratio of the first data rate and the second data rate.
  • the buffer is empty with respect to the first stream as well as the second stream. This means that in case the data of both streams is stored on a harddisk, data of both stream can be retrieved from the harddisk in one reading session. In other cases, each stream would need a separate reading session.
  • the harddisk is in a mode with less power consumption between the read sessions and it costs a considerable amount of energy to go to the active reading mode of the harddisk.
  • the compartments are emptied one by one. This may not be exactly the case when the streams have a variable bitrate for processing, but on average, only one compartment of the buffer memory will be active.
  • a second aspect of the invention provides a method of buffering a stream of data in a buffer memory comprising at least two compartments, comprising the steps of: writing the data sequentially in a buffer memory comprising at least a first compartment and a second compartment; retrieving the data from the buffer memory for further processing; and when data stored in the first compartment has been fully retrieved for further processing, switching the first compartment to a low power mode.
  • the memory is not being used as a buffer and even in the idle state, the contents of the memory have to be preserved. This means that also in the idle state, the memory has to be fed with energy to refresh the data in the DRAM memory. This is not the case when a DRAM memory is used as a buffer. The reason for this is that data does only have to be read once. After the data has been read, no energy has to be spent on a refresh operation anymore.
  • the buffer memory is a dynamic memory and the low power mode is a mode wherein the memory is not refreshed anymore. In this way, a considerable amount of extra energy can be saved compared to the state of the art.
  • the first and second aspects of the invention rely on one single inventive concept, which is the recognition that individual compartments of a (e.g.) dynamic buffer memory should be emptied as fast as possible as compared to gradually reading data from various compartments of the memory. In this way, considerable amounts of energy can be saved as an inactive memory compartment consumes less power than an active memory compartment. It will be apparent to a person skilled in the art that the embodiments of the first aspect as claimed in dependent claims can be applied to the second aspect and vice versa.
  • a third aspect of the invention provides a circuit for buffering a first stream of audiovisual data and a second stream of audiovisual data in a buffer memory comprising at least two compartments, comprising: a buffer memory comprising at least two compartments; and a central processing unit conceived to control the buffer memory to: write at least part of the first stream and the second stream interleaved in the buffer memory, such that each compartment of the memory comprises data of the first stream of audiovisual data and the second stream of audiovisual data; and retrieve the data stored in the buffer memory for retrieval for further processing.
  • a fourth aspect of the invention provides a circuit for buffering a stream of data in a buffer memory comprising at least two compartments a buffer memory comprising at least two compartments; and a central processing unit conceived to control the buffer memory to: write the data sequentially in a buffer memory comprising at least a first compartment and a second compartment; retrieve the data from the buffer memory for further processing; and when data stored in the first compartment has been fully retrieved for further processing, switch the first compartment to a low power mode.
  • a fifth aspect of the invention provides a computer programme product comprising computer readable and executable instructions to let a computer execute the method according to claim 1.
  • a sixth aspect of the invention provides a computer programme product comprising computer readable and executable instructions to let a computer execute the method according to claim 9.
  • Figure 1 shows an embodiment of the apparatus according to the invention comprising an embodiment of the circuit according to the invention and an embodiment of the medium according to the invention
  • Figure 2 shows a more detailed drawing of the buffer memory
  • Figure 3 shows a more detailed drawing of the buffer memory comprising data for two streams of data.
  • Figure 1 shows a portable audio player 100 as an embodiment of the apparatus according to the invention, comprising a harddisk drive 102 as a storage device, a rendering unit 104, user input means 106 and a circuit 110 as an embodiment of the circuit according to the invention, the circuit 110 comprising a buffer memory 114, a central processing unit 112 and a ROM memory 116 as an embodiment of the record carrier according to the invention.
  • a user can put audio data on the harddisk 102 via a PC link (not shown).
  • audio data is read from the harddisk 102, written into the buffer memory 114, read from the buffer memory 114 and processed by the rendering unit 104 for reproduction by the headphones 150.
  • the central processing unit 112 which is programmed by a computer programme stored in the ROM memory 110.
  • the central processing unit is an ASIC (Application Specific Integrated Circuit), dedicated for performing the embodiment of the method according to the invention without the need of being programmed.
  • the audio data is not directly sent from the harddisk drive 102 to the rendering unit 104 for several reasons. The most important reason is that data rates should be matched.
  • the bandwidth of data retrieval from a (small, 1 inch) harddisk is in the order of tens of megabits per second (for larger drives, it is over a hundred megabits per second), whereas the rendering unit renders audio tracks at a much lower bandwidth, which is for MP3 compressed audio usually 128 kilobits per second.
  • Another reason for buffering is reduction of power consumption of the total portable audio player 100.
  • a harddisk drive is known to consume a lot of power when the disc is kept spinning.
  • the buffer memory can be implemented in for example an SRAM or a DRAM memory. More details to this principle can be found in publication WO 2004/023279-A2, application WO IB2003/006342, application WO IB2004/000016 and application EP 03104522.2.
  • Table 1 provides data on power dissipation of 128Mb SDRAM (Synchronous Dynamic Random Access Memory) of Micron in various states that can be controlled.
  • 128Mb SDRAM Serial Dynamic Random Access Memory
  • the Standby mode the memory is empty and no data is kept.
  • the Refresh mode data read into the memory is kept.
  • the Read mode data is read from the memory.
  • the Write mode data is written to the memory.
  • the Read & Write mode data can be read from and written to the memory.
  • Phase 1 (Table 2), data is read from the harddisk drive 102 and written to a first memory bank 202. The other banks are set on standby, to minimize the power consumption while no data is stored in those banks. In Phase 1, data is also read from the first bank 202 of the buffer memory 114. In Phase 2, the process of reading data from the first bank 202 continues and data is being written to a second memory bank 204 of the buffer memory 114.
  • This embodiment yields an energy saving of 10% when using normal SDRAM and even 30% when using mobile SDRAM using the method according to the invention.
  • the method according to the invention can be used handling multiple streams as well, in an embodiment that will be described by means of Figure 3.
  • data from a first stream and a second stream are stored interleaved.
  • the four memory banks of the buffer memory 114 are filled with first data of the first stream (diagonal stripes) and second data of the second stream (vertical stripes).
  • Data handling of the two streams will be done with time division multiplexing, so while data of both streams is read from the first memory bank 202, the other memory banks can be kept in standby or refresh mode, saving energy.
  • the data rates at which both streams are being processed by the rendering unit 104 should be known.
  • both streams have a continuous data rate, this is no problem.
  • more and more compression algorithms apply variable bit rate compression, like MPEG2, MPEG4 and variable bit rate MP3 (MPEG 1, layer 3 audio compression).
  • MPEG2 MPEG 2, MPEG4 and variable bit rate MP3
  • MPEG 1 layer 3 audio compression
  • the embodiment described above is especially well suited for portable server applications.
  • the ratio between the amounts of data stored in the buffer memory 114 of each stream of data equals the ratio of bandwidth of retrieval from the buffer memory 114, which is usually equal to the bandwidth of data processing by the rendering unit 104. In this way, no further data will be retrieved from the harddisk drive 102 until the buffer memory 114 is empty (or preferably until it is nearly empty). This means that the harddisk drive 102 - preferably powered off or in standby mode when no data is read from it - is used as less as possible. This saves a considerable amount of power.
  • the memory banks are emptied one by one, so they can be switched to 'standby' one by one.
  • the memory banks can be embodied as separate ICs, but also memory ICs in which the status of the internal banks can be controlled separately can be used to embody the invention as well and are commercially available.
  • the clock frequency of the banks of the buffer memory 114 can be controlled. It is well known in the art that the power consumption of ICs increases with the clock frequency of the ICs.
  • the maximum read/write speed used by the buffer is determined by the maximum speed of the storage medium (during writing) and the rate at which the rendering unit 104 processes the data. These frequencies are lower than the processing speed of the central processing unit 112.
  • the data retrieval rate of an exemplary (1-inch) harddisk drive is 36 Mb-s "1 , which is 4,5 MB-s "1 at the transfer of one byte per clock cycle. This requires a clock speed of 4,5 MHz for parallel data transfer from the harddisk drive to the buffer.
  • the other components of the portable audio player operate at a higher clock frequency. Decreasing the operating clock frequency of the memory instead of using the (general) system clock may therefore result in a power saving as well.
  • the invention may also be embodied in a computer programme to programme a central processing unit.
  • This computer programme can be stored in a ROM IC, but also on a magnetic medium like a harddisk, an optical medium as a CD- ROM or DVD-ROM, or an opto-magnetic medium.
  • Embodiments of the invention have been described in cases where data is being retrieved from a local storage device like a harddisk drive. However, data may just as well be derived from a remote storage device, over a wired or wireless link. This is irrelevant for the scope of the invention.
  • the invention may also be embodied with less components than provided in the embodiments described here, wherein one component carries out multiple functions.
  • the invention be embodied using more elements than depicted in Figure 1, wherein functions carried out by one component in the embodiment provided are distributed over multiple components.
  • the invention relates to the following: Energy still is a precious commodity for portable consumer devices.
  • data is usually read from a mass storage device like a harddisk, buffered in a solid state memory and then rendered (processed) for reproduction over usually headphones (and a screen when applicable).
  • the invention is aimed at more efficient use of the buffer memory, which is usually divided in compartments.
  • the invention is based on the recognition that individual compartments of a (e.g.) dynamic buffer memory should be emptied as fast as possible as compared to gradually reading data from various compartments of the memory. In this way, considerable amounts of energy can be saved as an inactive memory compartment consumes less power than an active memory compartment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

Energy still is a precious commodity for portable consumer devices. In such devices, data is usually read from a mass storage device like a harddisk, buffered in a solid state memory and then rendered (processed) for reproduction over usually headphones (and a screen when applicable). The invention is aimed at more efficient use of the buffer memory, which is usually divided in compartments. The invention is based on the recognition that individual compartments of a (e.g.) dynamic buffer memory should be emptied as fast as possible as compared to gradually reading data from various compartments of the memory. In this way, considerable amounts of energy can be saved as an inactive memory compartment consumes less power than an active memory compartment.

Description

Method and circuit for buffering a stream of data
The invention relates to a method for buffering a first stream of audiovisual data and a second stream of audiovisual data in a buffer memory comprising at least two compartments.
The invention also relates to a method of buffering a stream of data in a buffer memory comprising at least two compartments.
The invention further relates to a circuit for buffering a first stream of audiovisual data and a second stream of audiovisual data in a buffer memory comprising at least two compartments.
The invention relates to a circuit for buffering a stream of data in a buffer memory comprising at least two compartments as well.
The invention also relates to a computer programme product comprising computer readable and executable instructions.
The invention further relates to a medium carrying such computer programme product.
With the downsizing and capacity increase of memory products like harddisk drives and Flash EEPROM ICs, currently a large variety of portable music and video players are available today. Although technology has made some advantages over the recent years, energy consumption is still a major issue for such devices. Especially devices that have a harddisk drive as mass storage device consume a lot of power. Several proposals for saving power for such devices have been proposed in the past, for example in WO 2004/023279, but there is still a need for improvement.
Therefore, it is an object of the invention to provide a more efficient method of buffering data when retrieved. To achieve this object, the invention provides in a first aspect a method of buffering a first stream of audiovisual data and a second stream of audiovisual data in a buffer memory comprising at least two compartments, comprising the steps of : writing at least part of the first stream and the second stream interleaved in the buffer memory, such that each compartment of the memory comprises data of the first stream of audiovisual data and the second stream of audiovisual data; and retrieving the data stored in the buffer memory for retrieval for further processing. A person skilled in the art would allocate a first part of the memory for storing data for buffering the first stream and a second part of the buffer memory for buffering the second stream. In this case, the data of the first stream would be in a first set of compartments and the data of the second stream would be in a complementary set of compartments. This would mean that most of the memory would be active and that it is quite likely that data would have to be read from two compartments. In an active state of a compartment, i.e. read and/or write state, a memory compartment consumes considerably more energy than in an inactive state, i.e. refresh or standby (no refresh, so no data preservation).
By applying this method according to the invention, the number of compartments in active state is reduced. Because both streams of data are stored interleaved, at least in first instance only one memory compartment will be active, as data from both streams to process is located in the same memory compartment. Only this compartment has to be active; the other compartments are in an inactive state.
In an embodiment of the invention, the method further comprises the steps of: determining a first data rate at which the first stream is being processed after retrieval; determining a second data rate at which the second stream is being processed after retrieval; writing a first amount of data of the first stream in the buffer memory; and writing a second amount of data of the second stream in the buffer memory; such that the ratio of the first amount and the second amount equals the ratio of the first data rate and the second data rate. In this way, the buffer is empty with respect to the first stream as well as the second stream. This means that in case the data of both streams is stored on a harddisk, data of both stream can be retrieved from the harddisk in one reading session. In other cases, each stream would need a separate reading session. This is not efficient from an energy consumption point of view, as preferably, the harddisk is in a mode with less power consumption between the read sessions and it costs a considerable amount of energy to go to the active reading mode of the harddisk. Furthermore, when the data is stored interleaved, the compartments are emptied one by one. This may not be exactly the case when the streams have a variable bitrate for processing, but on average, only one compartment of the buffer memory will be active. A second aspect of the invention provides a method of buffering a stream of data in a buffer memory comprising at least two compartments, comprising the steps of: writing the data sequentially in a buffer memory comprising at least a first compartment and a second compartment; retrieving the data from the buffer memory for further processing; and when data stored in the first compartment has been fully retrieved for further processing, switching the first compartment to a low power mode.
When only one stream is buffered, only one compartment of the buffer memory is active. The advantage of this aspect of the invention is that it is known that data will not be used anymore, directly after it has been read. When data is read in a rather random way over the memory and it is not certain whether and/or when it will have to be read again (like for example in a PC), a compartment of which all data has been read cannot be just switched off. First, depending on the nature of the low power mode (only refresh or no refresh at all), data might be lost. Second, going from a low power state to an active state costs time. US 6141283 proposes to monitor memory banks of an SDRAM and switch them to an idle state when those banks are not being accessed. In the application disclosed by this patent publication, however, the memory is not being used as a buffer and even in the idle state, the contents of the memory have to be preserved. This means that also in the idle state, the memory has to be fed with energy to refresh the data in the DRAM memory. This is not the case when a DRAM memory is used as a buffer. The reason for this is that data does only have to be read once. After the data has been read, no energy has to be spent on a refresh operation anymore.
Therefore, in an embodiment of the second aspect of the invention, the buffer memory is a dynamic memory and the low power mode is a mode wherein the memory is not refreshed anymore. In this way, a considerable amount of extra energy can be saved compared to the state of the art.
The first and second aspects of the invention rely on one single inventive concept, which is the recognition that individual compartments of a (e.g.) dynamic buffer memory should be emptied as fast as possible as compared to gradually reading data from various compartments of the memory. In this way, considerable amounts of energy can be saved as an inactive memory compartment consumes less power than an active memory compartment. It will be apparent to a person skilled in the art that the embodiments of the first aspect as claimed in dependent claims can be applied to the second aspect and vice versa. A third aspect of the invention provides a circuit for buffering a first stream of audiovisual data and a second stream of audiovisual data in a buffer memory comprising at least two compartments, comprising: a buffer memory comprising at least two compartments; and a central processing unit conceived to control the buffer memory to: write at least part of the first stream and the second stream interleaved in the buffer memory, such that each compartment of the memory comprises data of the first stream of audiovisual data and the second stream of audiovisual data; and retrieve the data stored in the buffer memory for retrieval for further processing.
A fourth aspect of the invention provides a circuit for buffering a stream of data in a buffer memory comprising at least two compartments a buffer memory comprising at least two compartments; and a central processing unit conceived to control the buffer memory to: write the data sequentially in a buffer memory comprising at least a first compartment and a second compartment; retrieve the data from the buffer memory for further processing; and when data stored in the first compartment has been fully retrieved for further processing, switch the first compartment to a low power mode.
A fifth aspect of the invention provides a computer programme product comprising computer readable and executable instructions to let a computer execute the method according to claim 1.
A sixth aspect of the invention provides a computer programme product comprising computer readable and executable instructions to let a computer execute the method according to claim 9.
Unpublished application WO IB2004/050091 also proposes a method of reducing power consumption in - for example - portable devices.
The embodiments of the invention will be elucidated by means of Drawings. In these drawings:
Figure 1 shows an embodiment of the apparatus according to the invention comprising an embodiment of the circuit according to the invention and an embodiment of the medium according to the invention;
Figure 2 shows a more detailed drawing of the buffer memory; and Figure 3 shows a more detailed drawing of the buffer memory comprising data for two streams of data. Figure 1 shows a portable audio player 100 as an embodiment of the apparatus according to the invention, comprising a harddisk drive 102 as a storage device, a rendering unit 104, user input means 106 and a circuit 110 as an embodiment of the circuit according to the invention, the circuit 110 comprising a buffer memory 114, a central processing unit 112 and a ROM memory 116 as an embodiment of the record carrier according to the invention.
A user can put audio data on the harddisk 102 via a PC link (not shown). When a user selects an audio track to be played over headphones 150 by means of the user input means 106, audio data is read from the harddisk 102, written into the buffer memory 114, read from the buffer memory 114 and processed by the rendering unit 104 for reproduction by the headphones 150. These operations are controlled by the central processing unit 112, which is programmed by a computer programme stored in the ROM memory 110. In another embodiment of the invention, the central processing unit is an ASIC (Application Specific Integrated Circuit), dedicated for performing the embodiment of the method according to the invention without the need of being programmed.
The audio data is not directly sent from the harddisk drive 102 to the rendering unit 104 for several reasons. The most important reason is that data rates should be matched. The bandwidth of data retrieval from a (small, 1 inch) harddisk is in the order of tens of megabits per second (for larger drives, it is over a hundred megabits per second), whereas the rendering unit renders audio tracks at a much lower bandwidth, which is for MP3 compressed audio usually 128 kilobits per second. Another reason for buffering is reduction of power consumption of the total portable audio player 100. A harddisk drive is known to consume a lot of power when the disc is kept spinning. Therefore, it is advantageous to buffer data read from a harddisk drive in a memory that consumes less power and put the harddisk drive in low power mode or even shut it off. The buffer memory can be implemented in for example an SRAM or a DRAM memory. More details to this principle can be found in publication WO 2004/023279-A2, application WO IB2003/006342, application WO IB2004/000016 and application EP 03104522.2.
Even more power can be saved when the buffer memory 114 is built up from several memory banks that can be controlled separately. This is elucidated by means of Figure 2, Table 1 and Table 2. Table 1 provides data on power dissipation of 128Mb SDRAM (Synchronous Dynamic Random Access Memory) of Micron in various states that can be controlled. In the Standby mode, the memory is empty and no data is kept. In the Refresh mode, data read into the memory is kept. In the Read mode, data is read from the memory. In the Write mode, data is written to the memory. In the Read & Write mode, data can be read from and written to the memory.
State Operating Mode Power Consumption of Micron SDRAM
Mobile SDRAM Normal SDRAM
SB Standby 1.2 mW 6.6 mW
RF Refresh 6.9 mW 9.I mW
R Read 7.7 mW 10.4 mW
W Write 18.5 mW 28.7 mW
RW Read & Write 19.3 mW 30.1 mW
Table 1
Phase Time Slot Bank l Bank 2 Bank 3 Bank 4
1 0.00 - 1.34 RW SB SB SB
2 1.34 - 2.68 R W SB SB
3 2.68 - 4.03 R RF W SB
4 4.03 - 5.37 R RF RF W
5 5.37 - 33.55 R RF RF RF
6 33.55 - 67.11 SB R RF RF
7 67.11 - 100.66 SB SB R RF
8 100.66 SB SB SB R
134.22
Table 2
In Phase 1 (Table 2), data is read from the harddisk drive 102 and written to a first memory bank 202. The other banks are set on standby, to minimize the power consumption while no data is stored in those banks. In Phase 1, data is also read from the first bank 202 of the buffer memory 114. In Phase 2, the process of reading data from the first bank 202 continues and data is being written to a second memory bank 204 of the buffer memory 114.
This process continues until a third memory bank 206 and a fourth memory bank 208 have been filled. A lot of energy is saved by setting a memory bank to refresh when a memory bank has been filled and setting the memory bank to 'standby' when all data has been read for processing by the rendering unit 104.
This embodiment yields an energy saving of 10% when using normal SDRAM and even 30% when using mobile SDRAM using the method according to the invention. The method according to the invention can be used handling multiple streams as well, in an embodiment that will be described by means of Figure 3. In this embodiment, data from a first stream and a second stream are stored interleaved. The four memory banks of the buffer memory 114 are filled with first data of the first stream (diagonal stripes) and second data of the second stream (vertical stripes). Data handling of the two streams will be done with time division multiplexing, so while data of both streams is read from the first memory bank 202, the other memory banks can be kept in standby or refresh mode, saving energy.
To properly fill the four memory banks of the buffer memory 114 according to this embodiment of the invention, the data rates at which both streams are being processed by the rendering unit 104 should be known. When both streams have a continuous data rate, this is no problem. However, more and more compression algorithms apply variable bit rate compression, like MPEG2, MPEG4 and variable bit rate MP3 (MPEG 1, layer 3 audio compression). In these cases, the bit rate of the stream of audiovisual data has to be averaged. Several methods for performing this are known by the person skilled in the art, so no further details will be given in this description.
The embodiment described above is especially well suited for portable server applications.
To achieve good energy saving, the ratio between the amounts of data stored in the buffer memory 114 of each stream of data equals the ratio of bandwidth of retrieval from the buffer memory 114, which is usually equal to the bandwidth of data processing by the rendering unit 104. In this way, no further data will be retrieved from the harddisk drive 102 until the buffer memory 114 is empty (or preferably until it is nearly empty). This means that the harddisk drive 102 - preferably powered off or in standby mode when no data is read from it - is used as less as possible. This saves a considerable amount of power. When several streams are processed by the portable audio player 100, even more energy can be saved by making the ratio between the amounts of data of each stream stored in each memory bank of the buffer memory 114 equal to the ratio of bandwidth of retrieval from the buffer memory 114. In this way, the memory banks are emptied one by one, so they can be switched to 'standby' one by one. The memory banks can be embodied as separate ICs, but also memory ICs in which the status of the internal banks can be controlled separately can be used to embody the invention as well and are commercially available. When the invention is embodied using separate ICs, also the clock frequency of the banks of the buffer memory 114 can be controlled. It is well known in the art that the power consumption of ICs increases with the clock frequency of the ICs.
The maximum read/write speed used by the buffer is determined by the maximum speed of the storage medium (during writing) and the rate at which the rendering unit 104 processes the data. These frequencies are lower than the processing speed of the central processing unit 112. The data retrieval rate of an exemplary (1-inch) harddisk drive is 36 Mb-s"1, which is 4,5 MB-s"1 at the transfer of one byte per clock cycle. This requires a clock speed of 4,5 MHz for parallel data transfer from the harddisk drive to the buffer. The other components of the portable audio player, however, operate at a higher clock frequency. Decreasing the operating clock frequency of the memory instead of using the (general) system clock may therefore result in a power saving as well.
As mentioned before, the invention may also be embodied in a computer programme to programme a central processing unit. This computer programme can be stored in a ROM IC, but also on a magnetic medium like a harddisk, an optical medium as a CD- ROM or DVD-ROM, or an opto-magnetic medium. Embodiments of the invention have been described in cases where data is being retrieved from a local storage device like a harddisk drive. However, data may just as well be derived from a remote storage device, over a wired or wireless link. This is irrelevant for the scope of the invention.
Furthermore, the invention may also be embodied with less components than provided in the embodiments described here, wherein one component carries out multiple functions. Just as well may the invention be embodied using more elements than depicted in Figure 1, wherein functions carried out by one component in the embodiment provided are distributed over multiple components.
In summary, the invention relates to the following: Energy still is a precious commodity for portable consumer devices. In such devices, data is usually read from a mass storage device like a harddisk, buffered in a solid state memory and then rendered (processed) for reproduction over usually headphones (and a screen when applicable). The invention is aimed at more efficient use of the buffer memory, which is usually divided in compartments. The invention is based on the recognition that individual compartments of a (e.g.) dynamic buffer memory should be emptied as fast as possible as compared to gradually reading data from various compartments of the memory. In this way, considerable amounts of energy can be saved as an inactive memory compartment consumes less power than an active memory compartment.

Claims

CLAIMS:
1. Method of buffering a first stream of audiovisual data and a second stream of audiovisual data in a buffer memory (114) comprising at least two compartments (202, 204, 204, 206, 208), comprising the steps of : a) writing at least part of the first stream and the second stream interleaved in the buffer memory, such that each compartment of the memory comprises data of the first stream of audiovisual data and the second stream of audiovisual data; and b) retrieving the data stored in the buffer memory for retrieval for further processing.
2. Method as claimed in claim 1, wherein the data has been stored sequentially in the compartments of the buffer memory.
3. Method as claimed in claim 1 or 2, wherein the each compartment of the buffer memory can be switched off separately.
4. Method as claimed in claim 3, further comprising the step of switching off a memory bank when all data stored in said memory bank has been retrieved for further processing.
5. Method as claimed in claim 1, wherein the method further comprises the steps of: a) determining a first data rate at which the first stream is being processed after retrieval; b) determining a second data rate at which the second stream is being processed after retrieval; c) writing a first amount of data of the first stream in the buffer memory; and d) writing a second amount of data of the second stream in the buffer memory; such that the ratio of the first amount and the second amount equals the ration of the first data rate and the second data rate.
6. Method as claimed in claim 5, wherein each compartment of the buffer comprises data of the first stream and the second stream.
7. Method as claimed in claim 1, wherein the buffer memory is working at a first clock frequency that is independent from the a second clock frequency at which other circuits are working, the other circuits being comprised by an apparatus comprising the buffer memory.
8. Method as claimed in claim 7, wherein the clock frequency during presenting data same as streaming rate of stream.
9. Method of buffering a stream of data in a buffer memory (114) comprising at least two compartments (202, 204, 206, 208), comprising the steps of: a) writing the data sequentially in a buffer memory comprising at least a first compartment and a second compartment; b) retrieving the data from the buffer memory for further processing; and c) when data stored in the first compartment has been fully retrieved for further processing, switching the first compartment to a low power mode.
10. Method according to claim 9, wherein the buffer memory is a dynamic memory and the low power mode is a mode wherein the memory is not refreshed anymore.
11. Circuit (110) for buffering a first stream of audiovisual data and a second stream of audiovisual data in a buffer memory comprising at least two compartments(202, 204, 206, 208), comprising: a) a buffer memory (114) comprising at least two compartments (202, 204, 206, 208); and b) a central processing unit (112) conceived to control the buffer memory to: i) write at least part of the first stream and the second stream interleaved in the buffer memory, such that each compartment of the memory comprises data of the first stream of audiovisual data and the second stream of audiovisual data; and ii) retrieve the data stored in the buffer memory for retrieval for further processing.
12. Circuit (110) for buffering a stream of data in a buffer memory (114) comprising at least two compartments (202, 204, 206, 208) a) a buffer memory comprising at least two compartments(202, 204, 206, 208); and b) a central processing unit conceived to control the buffer memory to: i) write the data sequentially in a buffer memory comprising at least a first compartment and a second compartment; ii) retrieve the data from the buffer memory for further processing; and iii) when data stored in the first compartment has been fully retrieved for further processing, switch the first compartment to a low power mode.
13. Apparatus (100) for reproduction of audiovisual data, comprising: a) a mass storage device (102); b) a rendering unit (104) for rendering the audiovisual data; and c) the circuit according to claims 11 or 12 for buffering data transport from the mass storage device to the rendering unit.
14. Computer programme product comprising computer readable and executable instructions to let a computer execute the method according to claim 1.
15. Medium (116) carrying the computer programme product according to claim
14.
16. Computer programme product comprising computer readable and executable instructions to let a computer execute the method according to claim 9.
17. Medium (116) carrying the computer programme product according to claim 16.
PCT/IB2005/051982 2004-06-29 2005-06-15 Method and circuit for buffering a stream of data WO2006003539A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2007518745A JP2008504641A (en) 2004-06-29 2005-06-15 Method and circuit for buffering a data stream
EP05748051A EP1784708A1 (en) 2004-06-29 2005-06-15 Method and circuit for buffering a stream of data

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
EP04103031.3 2004-06-29
EP04103031 2004-06-29

Publications (1)

Publication Number Publication Date
WO2006003539A1 true WO2006003539A1 (en) 2006-01-12

Family

ID=35057006

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/IB2005/051982 WO2006003539A1 (en) 2004-06-29 2005-06-15 Method and circuit for buffering a stream of data

Country Status (6)

Country Link
EP (1) EP1784708A1 (en)
JP (1) JP2008504641A (en)
KR (1) KR20070027626A (en)
CN (1) CN1977233A (en)
TW (1) TW200622574A (en)
WO (1) WO2006003539A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010532056A (en) * 2007-06-28 2010-09-30 マイクロソフト コーポレーション Digital data management using shared memory pool
JP2013242896A (en) * 2007-09-07 2013-12-05 Qualcomm Inc Power efficient batch-frame audio decoding apparatus, system, and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5799197A (en) * 1992-06-11 1998-08-25 Sharp Kabushiki Kaisha Information reproducing apparatus by which reading operation from recording medium is controlled based on amount of data in memory
US6141283A (en) * 1999-04-01 2000-10-31 Intel Corporation Method and apparatus for dynamically placing portions of a memory in a reduced power consumption state

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5799197A (en) * 1992-06-11 1998-08-25 Sharp Kabushiki Kaisha Information reproducing apparatus by which reading operation from recording medium is controlled based on amount of data in memory
US6141283A (en) * 1999-04-01 2000-10-31 Intel Corporation Method and apparatus for dynamically placing portions of a memory in a reduced power consumption state

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
TADAO YOSHIDA: "The Rewritable MiniDisc System", PROCEEDINGS OF THE IEEE, vol. 81, October 1994 (1994-10-01), pages 1492 - 1500, XP002349356 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010532056A (en) * 2007-06-28 2010-09-30 マイクロソフト コーポレーション Digital data management using shared memory pool
JP2013242896A (en) * 2007-09-07 2013-12-05 Qualcomm Inc Power efficient batch-frame audio decoding apparatus, system, and method
US8725520B2 (en) 2007-09-07 2014-05-13 Qualcomm Incorporated Power efficient batch-frame audio decoding apparatus, system and method

Also Published As

Publication number Publication date
CN1977233A (en) 2007-06-06
KR20070027626A (en) 2007-03-09
EP1784708A1 (en) 2007-05-16
JP2008504641A (en) 2008-02-14
TW200622574A (en) 2006-07-01

Similar Documents

Publication Publication Date Title
US7234026B2 (en) Media player with instant play capability
US6987635B2 (en) Magnetic disk drive which accesses host RAM
CN102089822A (en) Device for adjusting traveling speed of tape medium, method for adjusting traveling speed, and program for adjusting traveling speed
WO2007081526A1 (en) Portable media device with improved video acceleration capabilities
CN1882998B (en) Replaying device and method for replaying media stream from storage media
US7283443B2 (en) Power saving method for portable streaming devices
EP1584090B1 (en) Energy efficient disk scheduling for mobile applications: adaptively extending the disk standby time
WO2006003539A1 (en) Method and circuit for buffering a stream of data
JP2004087052A (en) Video and sound recording and reproducing device, and method for controlling the same
US9378750B2 (en) Apparatus and method of reproducing audio data using low power
JP2008269745A (en) Reproducing device, program, and reproducing method
Go et al. Adaptive disk power management for portable media players
KR20050010594A (en) Method and System for Retrieving Data
US7334103B2 (en) Methods and apparatus for improving the breathing of disk scheduling algorithms
JP2008112521A (en) Information processor and program for its power-saving operation
WO2007072287A2 (en) Method of controlling disk accesses between a hard-disk drive and a number of stream buffers
JP2001126392A (en) Recording and reproducing device
Song et al. Reducing disk power consumption in portable media players
KR101142413B1 (en) Prefetching method for reducing disk energy consumption in video playback
JP2010123221A (en) Video recording apparatus and refresh method of volatile memory
Korst et al. Saving energy in portable multimedia storage

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KM KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NG NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SM SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

WWE Wipo information: entry into national phase

Ref document number: 2005748051

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2007518745

Country of ref document: JP

Ref document number: 1020067027403

Country of ref document: KR

WWE Wipo information: entry into national phase

Ref document number: 200580022083.3

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

WWW Wipo information: withdrawn in national office

Ref document number: DE

WWE Wipo information: entry into national phase

Ref document number: 361/CHENP/2007

Country of ref document: IN

WWP Wipo information: published in national office

Ref document number: 1020067027403

Country of ref document: KR

WWP Wipo information: published in national office

Ref document number: 2005748051

Country of ref document: EP

WWW Wipo information: withdrawn in national office

Ref document number: 2005748051

Country of ref document: EP