WO2006003539A1 - Method and circuit for buffering a stream of data - Google Patents
Method and circuit for buffering a stream of data Download PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims description 33
- 230000003139 buffering effect Effects 0.000 title claims description 19
- 238000009877 rendering Methods 0.000 claims description 11
- 239000007787 solid Substances 0.000 abstract description 2
- 230000008569 process Effects 0.000 description 4
- 230000006835 compression Effects 0.000 description 3
- 238000007906 compression Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000005265 energy consumption Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000000295 complement effect Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000009987 spinning Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/10527—Audio or video recording; Data buffering arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
- G06F1/3215—Monitoring of peripheral devices
- G06F1/3225—Monitoring of peripheral devices of memory devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/10527—Audio or video recording; Data buffering arrangements
- G11B2020/1062—Data 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
Description
Claims
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)
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)
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 |
-
2005
- 2005-06-15 CN CNA2005800220833A patent/CN1977233A/en active Pending
- 2005-06-15 KR KR1020067027403A patent/KR20070027626A/en not_active Application Discontinuation
- 2005-06-15 JP JP2007518745A patent/JP2008504641A/en active Pending
- 2005-06-15 EP EP05748051A patent/EP1784708A1/en not_active Withdrawn
- 2005-06-15 WO PCT/IB2005/051982 patent/WO2006003539A1/en not_active Application Discontinuation
- 2005-06-24 TW TW094121325A patent/TW200622574A/en unknown
Patent Citations (2)
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)
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)
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 |