CN100399293C - Method and apparatus for audio information storage broadcasting - Google Patents

Method and apparatus for audio information storage broadcasting Download PDF

Info

Publication number
CN100399293C
CN100399293C CNB2005100814195A CN200510081419A CN100399293C CN 100399293 C CN100399293 C CN 100399293C CN B2005100814195 A CNB2005100814195 A CN B2005100814195A CN 200510081419 A CN200510081419 A CN 200510081419A CN 100399293 C CN100399293 C CN 100399293C
Authority
CN
China
Prior art keywords
message
playing
flow
stores
microprocessor
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.)
Expired - Fee Related
Application number
CNB2005100814195A
Other languages
Chinese (zh)
Other versions
CN1889060A (en
Inventor
林文景
洪新智
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.)
Quanta Storage Inc
Original Assignee
Quanta Storage Inc
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 Quanta Storage Inc filed Critical Quanta Storage Inc
Priority to CNB2005100814195A priority Critical patent/CN100399293C/en
Publication of CN1889060A publication Critical patent/CN1889060A/en
Application granted granted Critical
Publication of CN100399293C publication Critical patent/CN100399293C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A method and the device for the message memory and play includes a CD-ROM to read the message, a memory device to memory the message, a microprocessor to control the message playing in the CD-ROM and the memory device and a buffer storage to store the message storage playing action cooperating with the microprocessor. The playing action includes the copying process, the compressing process, the playing process and the controlling process. It sets the playing and controlling process to use the microprocessor firstly, the copying process copies the uncompressing digital message to the memory device and uses the residue resource to operate the compressing process. So the efficient has improved greatly.

Description

Message stores method and the device of playing
Technical field
The present invention relates to method and device that a kind of message stores and plays, particularly relate in CD-ROM drive and hard disk integrating apparatus, the message of discs record is read by CD-ROM drive be stored to hard disk, the method for playing again.
Background technology
Because discs has bigger volume, the multi-disc disc carry, retrieve and put in order all very inconvenient, therefore existing disk player is integrated a hard disk, utilize the characteristic of less volume of hard disk and large storage capacity, the message of multi-disc disc can be read one by one by CD-ROM drive, after the compression again unloading to hard disk, hard disk with a 6Gbye is an example, can store 1000 first songs approximately, and is quite convenient in the use.
As shown in Figure 1, the existing disk player of integrating hard disk, mainly be to cooperate for example memory buffer 3 (BufferMemory) such as DRAM via microprocessor 2 (Microprocessor) with operation-interface 1, the message that control CD-ROM drive 4 is read disc, via audio compressors 5 (CompressionEncoder), hard disk 6 (Hard disk), message decompressor 7 (Compression Decoder) and digital-to-analog signal converter 8 (D/A Transfer), message is exported.The existing transmission of integrating the message of disk player between CD-ROM drive and hard disk of hard disk, can be divided into compression process and playing flow, shown in Fig. 2 (A), wherein compression process is to utilize the mark of microprocessor 2 control CD-ROM drives 4 with disc, being modulated into message reads and deposits in the memory buffer 3, again by audio compressors 5, MP-3 compressor reducer (Encoder) etc. for example, message with memory buffer 3, utilize microprocessor 2 computation assistances to compress, make message convert predetermined compressed format to, deposit again and be back to memory buffer 3, the digit news that will be compressed by microprocessor 2 reads in the hard disk 6 and is stored at last, to increase storage capacity.Shown in Fig. 2 (B), existing playing flow then is to utilize microprocessor 2 with compressed digital message in the hard disk 6, read out to memory buffer 3, again by message decompressor 7, for example MP-3 decompressor (Decoder) etc. with the message of memory buffer 3, cooperates microprocessor 2 computation assistances to decompress, by the analog signal of digital-to-analog signal converter 8 with digit news or conversion, output is play then.
Therefore, the existing microprocessor 2 of integrating the disk player of hard disk has been born the too much operation control and the computing of process in fact.Yet the audio compressors major part is digital signal processor (DigitalSignal Processor; DSP), or general central processing unit (CPU) is with software implementation (Implementation), thereby restriction can't reach high processing speed to some extent, needing to cause the audio compressors 5 of a large amount of treatment efficiencies or message decompressor 7 to form bottlenecks.In addition, audio compressors 5 or message decompressor 7 use same DSP or CPU hardware resource, and in order to keep the smooth and easy of playing flow, message decompressor 7 has higher right of priority, and the easier speed of audio compressors 5 that makes becomes slower.Especially general consumer electronic product, for example be applied to automobile-used, family expenses or system such as sound equipment with oneself, its hardware resource more shape lacks, for the performance of avoiding audio compressors 5 descends more, often cause the user can't change operating functions such as sheet, control forward-reverse or selected songs smoothly, cause the user to wait a period of time, could continue following a slice disc is duplicated.Therefore, the existing disk player of integrating hard disk still has problem to exist, and solution co-pending is arranged.
Summary of the invention
Purpose of the present invention is at the method and the device that are providing a kind of message storage to play, and the action that message is stored and plays is divided into a plurality of flow processs, utilizes the priority of setting operation, makes the usefulness of message storage and broadcast reach optimization.
Another purpose of the present invention is providing a kind of message to store method and the device of playing, in duplicating flow process by directly duplicating unpressed digit news to storage device, to avoid taking too much hardware resource, to promote usefulness.
Still a further object of the present invention is providing a kind of message to store method and the device of playing, and uses residual resource to carry out compression process, avoids reducing usefulness, and it is smooth and easy that maintenance is controlled.
Another object of the present invention is providing a kind of message to store method and the device of playing, and utilizing runs up duplicates flow process, reduces disc and injures damage in long compression process because of vibrating scraping of being produced.
In order to realize the purpose of aforementioned invention, message of the present invention stores method and the device of playing, comprise a CD-ROM drive and read message, one storage device stores message, one microprocessor stores playback action in order to the message between control CD-ROM drive and storage device, and a memory buffer, cooperate microprocessor to carry out the storage that message stores playback action.This message stores playback action and is divided into four flow processs such as duplicating flow process, compression process, playing flow and control flow, and set playing flow and control flow preferentially uses this microprocessor, duplicate flow process and directly duplicate unpressed digit news to storage device, and use residual resource to carry out compression process, to promote usefulness.
Description of drawings
Fig. 1 is the existing functional block diagram of integrating the disk player of hard disk.
Fig. 2 (A) is the message compression process figure of existing disk player.
Fig. 2 (B) is the message playing flow figure of existing disk player.
Fig. 3 stores the functional block diagram of playing device for message of the present invention.
Fig. 4 is the process flow diagram that duplicates of message storage playing method of the present invention.
Fig. 5 is the compression process figure of message storage playing method of the present invention.
Fig. 6 is the playing flow figure of message storage playing method of the present invention.
Fig. 7 is the control flow chart of message storage playing method of the present invention.
The reference numeral explanation
11 CD-ROM drives
12 storage devices
13 control flows
14 duplicate flow process
15 compression processes
16 playing flow
17 handle operation-interface or signal control interface
18 microprocessors
19 memory buffer
20 audio compressors
21 message decompressors
22 digital-to-analog signal converters
S1 begins to carry out message and stores or play step
S2 produces the signal step
S3 judges this operational order step
S4 judges the playing flow step
Process step is duplicated in the S5 judgement
S6 judges executable operations instruction or playing flow step
S7 judges the compression process step
S8 judges the surplus resources step
The S9 end step
The S10 execution in step
Embodiment
Relevant the present invention is for reaching above-mentioned purpose, and technological means that is adopted and effect thereof lift preferred embodiment now, and accompanying drawings are as follows.
Please refer to Fig. 3, message of the present invention stores the device of playing, and mainly the message with 12 of CD-ROM drive in the disk player 11 and storage devices stores and playback action, is divided into control flow 13, duplicates flow process 14, four flow processs such as compression process 15 and playing flow 16.Wherein receive the operation signal of handling operation-interface or 17 generations of signal control interface, cooperate memory buffer 19 via microprocessor 18, form controlling signal, utilizing control flow 13 to control the message of duplicating 14 pairs of discs of flow process respectively with controlling signal duplicates, control 15 pairs of message of compression process and compress, control the decompression of 16 pairs of compressions of playing flow message and export broadcast.
Message of the present invention stores the message storage playing method of four flow processs formation of the device of playing, and is as follows in detail respectively.As shown in Figure 4, wherein duplicate flow process 14 and control CD-ROM drive 11 by microprocessor 18 and read mark on the disc, the output numeral is not compressed message to memory buffer 19, numeral is not compressed message again and directly is copied to storage device 12, and for example hard disk etc. is stored.Because most data processing is all storer and moves, existing CD-ROM CD-ROM drive, CPU, DSP or hard disk etc. are all supported direct memory access (DMA) (Direction Memory Access; DMA) function, therefore duplicating flow process 14 can't expend too many hardware resource, the action that CD-ROM drive 11 can duplicate the most at a high speed, general CD-ROM drive 11 average velocitys can reach 30 times more than the speed, even up to 48 times or 52 times the most at a high speed, finish the action of duplicating at short notice, in order to duplicating of next disc, and the scratch that can avoid disc to be impacted in high-speed rotation damages.As shown in Figure 5, be compression process 15, utilize microprocessor 18 control storage devices 12, numeral is not compressed message read, utilize microprocessor 18 computation assistances by audio compressors 20 again, numeral is not compressed message compress to memory buffer 19, make message convert the compressed format of predetermined number to, deposit and be back to memory buffer 19, the digit news that will be compressed by microprocessor 18 reads in the storage device 12 and is stored then, to increase storage device 12 storage volumes.Compression process 15 is the flow process of separating action with aforementioned copy flow process 14 simultaneously, has the elasticity of microprocessor 18 processing and the use of dispersion hardware resource.
As shown in Figure 6, it then is playing flow 16, utilize microprocessor 18 controls with digital compression message in the storage device 12, read out to memory buffer 19, by the compression message of message decompressor 21, cooperate microprocessor 18 computation assistances again, digital compression message is decompressed memory buffer 19, by digital-to-analog signal converter 22 numeral is not compressed that message converts analog signal to then or directly with digital form, output is play.In addition, microprocessor 18 also may command storage device 12 does not compress message with numeral, reads out to memory buffer 19, without message decompressor 21 directly by digital-to-analog signal converter 22, numeral is not compressed that message converts analog signal to or directly with digital form, output is play.
Please continue ginseng Fig. 7, control flow 13 determines the priority of each flow process with user's the demand and the situation of other flow processing data with the controlling signal of hardware or software.The step of control flow 13 is, at first beginning to carry out message at step S1 stores or plays, at step S2, produce a signal by microprocessor 18, enter step S3 and judge whether this signal is an operational order, as this signal is that operational order is then carried out to step S10 immediately, just enter step S4 as this signal is non-for operational order, carry out the judgement of playing flow, as be that the signal of playing flow is then carried out to step S10 immediately, non-as this controlling signal is the signal of playing flow, just enter step S5 and duplicate the judgement of flow process, as for the signal that duplicates flow process then to step S6, judge whether in executable operations instruction or playing flow, instruct or playing flow in executable operations as non-, then carry out to step S10 immediately and duplicate flow process,, then judge to step S8 whether microprocessor 18 has surplus resources as in executable operations instruction or playing flow, carry out to step S10 immediately if any surplus resources and to duplicate flow process, otherwise as no surplus resources immediately to the operation of step S9 end signal.Duplicate in the judgement of flow process at step S5, non-as signal for duplicating flow process, then enter step S7 and carry out the judgement of compression process, when judgement is the compression process signal, then judge to step S8 whether microprocessor 18 has surplus resources, carry out the compression process signal to step S10 immediately if any surplus resources, otherwise as no surplus resources immediately to the operation of step S9 end signal.
The step of the aforementioned control flow 13 of the present invention, not violate the fluency that message plays and not influence under the convenience prerequisite that the user controls, set that the user controls and the message playing flow for the highest preferentially, setting is duplicated flow process and is the low preferential surplus resources that uses microprocessor 18, and compression process then is set at the surplus resources of minimum preferential use microprocessor 18.Message therefore of the present invention stores the method for playing, by the quick directly unpressed digit news of copied disc to storage device, do not influence that the user controls and the message playing flow under, utilize surplus resources to carry out message compressed action behind the scenes, to increase the storage area.When instructing, the user plays the disc of just having put into CD-ROM drive, the method that message storage of the present invention is play also can be utilized and duplicate flow process, the unpressed message of quick copy disc is to storage device, utilize playing flow to play-over unpressed message again, utilize surplus resources to carry out compression process behind the scenes simultaneously, allow the user control and the message playing flow keeps smooth and easy, unlikely reduction usefulness stores message or plays and reach best usefulness.
In addition, message of the present invention stores method and the device of playing, and message is stored and four flow processs such as playback action is divided into control flow 13, duplicates flow process 14, compression process 15 and playing flow 16, to set priority, allow the same hardware resource of the efficient use of each flow process, in order to avoid reduce usefulness.Therefore, utilize multi-task operation system or multimicroprocessor, these four flow processs of control and treatment also can reach purpose of the present invention and effect, and not take off technology category of the present invention respectively.
The above only is that scope of the present invention is not limited to described preferred embodiment, and is all according to any change that the present invention did, and not breaking away under the spirit of the present invention, all belongs to the scope of the present patent application patent in order to convenient explanation preferred embodiment of the present invention.

Claims (19)

1. a message stores the device of playing, and comprises:
One CD-ROM drive reads message;
One storage device stores message;
One microprocessor, the message between control CD-ROM drive and storage device stores playback action; And
One memory buffer cooperates microprocessor to carry out the storage that message stores playback action;
Wherein, this message storage playback action comprises duplicates flow process, compression process, playing flow and control flow, sets playing flow and control flow and preferentially uses this microprocessor.
2. the described message of claim 1 stores the device of playing, and wherein this storage device is a hard disk.
3. the described message of claim 1 stores the device of playing, wherein this to duplicate flow process be to control CD-ROM drive output by microprocessor not compress message to memory buffer, will not compress message again and directly be copied to storage device.
4. the described message of claim 1 stores the device of playing, wherein this compression process further comprises an audio compressors, utilize microprocessor control storage device, to not compress message reads to memory buffer, utilize the microprocessor computation assistance by audio compressors again, numeral is not compressed message be compressed into predetermined compressed format, be stored to storage device.
5. the described message of claim 1 stores the device of playing, and wherein this compression process is the flow process of separating action with duplicating flow process, but can carry out simultaneously.
6. the described message of claim 1 stores the device of playing, wherein this playing flow further comprises a message decompressor, utilize microprocessor that storage device is compressed message and read out to memory buffer, cooperate the microprocessor computation assistance by the message decompressor, digital compression message is decompressed.
7. the described message of claim 1 stores the device of playing, and wherein this playing flow further comprises the digital-to-analog signal converter, numeral is not compressed message change the output broadcast.
8. the described message of claim 7 stores the device of playing, and wherein this playing flow is not compressed with numeral that message is read by microprocessor control storage device and directly play by the output of digital-to-analog signal converter.
9. the described message of claim 1 stores the device of playing, and wherein this control flow determines the preferential execution sequence of each flow process with user's the demand and the situation of other flow processing data.
10. the described message of claim 1 stores the device of playing, and wherein this microprocessor is for utilizing multi-task operation system these four flow processs of control and treatment respectively.
11. the described message of claim 1 stores the device of playing, wherein this microprocessor is multimicroprocessor these four flow processs of control and treatment respectively.
12. a message stores the method for playing, and the steps include:
Produce a signal by microprocessor;
Whether by this signal of microprocessor judges is an operational order, then carries out in this way, otherwise carries out next step;
Whether by this signal of microprocessor judges is playing flow, then carries out in this way, otherwise carries out next step;
Whether for duplicating flow process, then needing with operational order and playing flow in this way serve as preferential the execution by this signal of microprocessor judges, as otherwise the execution next step; And
Whether by this signal of microprocessor judges is compression process, need judge whether then that in this way surplus resources carries out again, then finishes as no surplus resources.
13. the described message of claim 12 stores the method for playing, wherein this playing flow is compression message to be read the output that decompresses play.
14. the described message of claim 12 stores the method for playing, wherein this playing flow is not read and directly export broadcast compressing message.
15. the described message of claim 12 stores the method for playing, wherein this to duplicate flow process be directly not duplicate compressing message.
16. the described message of claim 12 stores the method for playing, and wherein duplicates flow process as being judged as, the step of flow process is duplicated in this judgement, then further comprises the step that judges whether in executable operations instruction or playing flow, carries out with decision and duplicates flow process priority.
17. the described message of claim 16 stores the method for playing, wherein this judges whether the step in executable operations instruction or playing flow,, then carries out immediately and duplicates flow process in executable operations instruction or playing flow as non-; As in executable operations instruction or playing flow, comprise further that then one judges whether the step of surplus resources, whether carry out with decision and duplicate flow process.
18. the described message of claim 17 stores the method for playing, wherein this judges whether the step of surplus resources, carries out immediately if any surplus resources and duplicates flow process, then finishes as no surplus resources.
19. the described message of claim 12 stores the method for playing, wherein this compression process be do not influence that the user controls and the message playing flow under, utilize surplus resources to carry out the message compressed action.
CNB2005100814195A 2005-06-30 2005-06-30 Method and apparatus for audio information storage broadcasting Expired - Fee Related CN100399293C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100814195A CN100399293C (en) 2005-06-30 2005-06-30 Method and apparatus for audio information storage broadcasting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100814195A CN100399293C (en) 2005-06-30 2005-06-30 Method and apparatus for audio information storage broadcasting

Publications (2)

Publication Number Publication Date
CN1889060A CN1889060A (en) 2007-01-03
CN100399293C true CN100399293C (en) 2008-07-02

Family

ID=37578339

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100814195A Expired - Fee Related CN100399293C (en) 2005-06-30 2005-06-30 Method and apparatus for audio information storage broadcasting

Country Status (1)

Country Link
CN (1) CN100399293C (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5832438A (en) * 1995-02-08 1998-11-03 Sun Micro Systems, Inc. Apparatus and method for audio computing
CN1295331A (en) * 1999-10-13 2001-05-16 索尼株式会社 Recording and recovery device and method, terminal device, sending and receiving method, and storage medium
CN2439088Y (en) * 2000-08-07 2001-07-11 孙京宇 Reproducing apparatus for phonotape
JP2001312878A (en) * 2000-03-25 2001-11-09 Robert Bosch Gmbh Device for reproducing multimedia data file in memory with car radio
CN1536570A (en) * 2003-04-10 2004-10-13 建兴电子科技股份有限公司 Laser video CD playback machine and its control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5832438A (en) * 1995-02-08 1998-11-03 Sun Micro Systems, Inc. Apparatus and method for audio computing
CN1295331A (en) * 1999-10-13 2001-05-16 索尼株式会社 Recording and recovery device and method, terminal device, sending and receiving method, and storage medium
JP2001312878A (en) * 2000-03-25 2001-11-09 Robert Bosch Gmbh Device for reproducing multimedia data file in memory with car radio
CN2439088Y (en) * 2000-08-07 2001-07-11 孙京宇 Reproducing apparatus for phonotape
CN1536570A (en) * 2003-04-10 2004-10-13 建兴电子科技股份有限公司 Laser video CD playback machine and its control method

Also Published As

Publication number Publication date
CN1889060A (en) 2007-01-03

Similar Documents

Publication Publication Date Title
US5303326A (en) Broadcast digital sound processing system
KR100631527B1 (en) Operating software upgrade apparatus and method for embedded system
JPH0863332A (en) Digital signal manager for dynamic selection of compression/compression release of hardware or software and for provision of common data exchange form
JP2013533504A (en) Method and system for decoding audio data with selective output control
JP2009157272A (en) Audio playback device
CN100470657C (en) Recording and reproducing apparatus
CN100399293C (en) Method and apparatus for audio information storage broadcasting
EP1575289A2 (en) Audio/Video recording/reproducing system using an audio/video codec having a video decoder therin
CN1668099A (en) A/V recording and reproducing system
TWI275973B (en) Method and apparatus for recording and reproducing an audio signal
CN101740075B (en) Audio signal playback apparatus, method, and program
JP2004335013A (en) Data storage device and data storage method
CN1153459C (en) Digital CD recording and hard disk monitoring system
CN1818899A (en) Data searching method of MPEG player
CN2577401Y (en) CD playing unit
KR100566285B1 (en) MP3 Decoding device and MP3 play device using MP3 Decoding device
US20030226119A1 (en) Integrated circuit design of a standard access interface for playing compressed music
JP3019351U (en) External storage device for computer
CN1904863A (en) Method for data processing by establishing arithmetic path in computer peripheral device
JP3036837U (en) Storage medium reproducing device in computer game device
JP4912632B2 (en) In-vehicle device
JP4325781B2 (en) Crypto device
JP2004086439A (en) Data recording/reproducing device, and data read/write control method to its hard disk drive
CN2657095Y (en) Digital sound file playback device
CN201084142Y (en) A connector with digital or simulation audio-visual media storage and PCI_E interface

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080702

Termination date: 20150630

EXPY Termination of patent right or utility model