The multimedia recording and playing device of extendible function and method, function expand and data-updating method
The present invention relates to a kind of multimedia recording and playing device, relate in particular to a kind of multimedia recording and playing device and method that realizes function expansion and Data Update.
Multi prefix in the multimedia (multimedia) has the meaning of " many, compound " in the middle of English, and media is " medium ", the representation aids of knowledge such as the literal that can experience of our people's sense organ, sound, image just, and multimedia one prefix occurs on computers earlier, refers to the technology that computer can be combined as a whole top said representation aids.
In fact, the manifestation mode of general televisor has been a multimedia for a long time, all is operation under type mode based on the robot calculator of handling numerical data only originally.After quick progress, the price of hardware technology over past ten years glide, traditional literal no longer can attract the user, so computer hardware manufacturer just develops sound card, presentation card, computer can be possessed sound and the ability of video display; Software program the designer also yield to none, and develops to represent the multimedia show program that sound, video or animation are one, makes that pc world is more and more colorful.
In the current society of electronic technology and digital technology high speed development, all kinds of media products emerge in an endless stream.As: MP3 (MPGE Layer 3) player, AC3 player, digital speech recorder etc.Wherein, MPS is the compress technique of a kind of 56/64Kbps sound of being formulated by ISO/MPEG voice coding standard (Audio Coding Standard), use this technology general unpressed music information can be compressed to 1: 10 to 1: 12 size, and remain on the distortion rate that people's ear almost can't distinguish, make the CD-RW discsCD-RW of general 650MB can store the special edition disc more than 12, and possess the quality of CD music.
Take a broad view of these products, common characteristics are arranged: they all are to finish a certain (or some) specific function.Reason is to have used special chip in these products, as MP3 decoding chip, AC3 decoding chip, digital speech decoding chip etc.So just can find that these products have a common defective, promptly expandability is poor.When wanting to expand the digital speech sound-recording function in the MP3 player, system just must increase the digital speech code chip, and the system architecture of entire product will respective change like this.Thereby further cause the construction cycle to elongate a series of problems such as cost rising.
Above-mentioned defective can detailed the expressing by the system architecture of conventional art.At first, be a portable MP3 player as the product of desiring planned, its system architecture diagram is shown among Fig. 1 (power module that has nothing to do with the present invention, display module, Keysheet module etc. omit).In Fig. 1, MP3 decoding device 10 is installed between a central processing unit (CPU) 11 and the one voice signal coding/demoder 12.The MP3 decoding device 10 general chips that adopt special use, as the STA013 of STMicroelectronlcs, it is specifically designed to the song decoding of MP3 format and plays.
We can see in the framework of Fig. 1, reach the more function of new data though this product also has playback, because the special chip that is adopted can only be handled the MP3 data.Therefore, it can not extended function such as sound-recording function etc.When we wish to increase function such as the recording of digital audio/speech in product, during the AAC3 playback of songs, we have to increase corresponding parts such as digital audio/speech recording chip 13, and AAC decoding chip 14 grades are between central processing unit (CPU) 11 and voice signal coding/demoder 12.For this reason, the framework that system is possible will correspondingly be changed into as shown in Figure 4.So just destroy original framework, caused the product complexity to rise a series of defectives such as construction cycle elongation.That is to say the expandability extreme difference of this product.
Therefore, the present invention is directed to a series of defectives that the system architecture of conventional art brings provides a kind of function that realizes to expand multimedia recording and playing device and the method with Data Update.
In the foregoing invention background, many shortcomings that system architecture produced of conventional art.The invention provides a kind of function expansion and multimedia of Data Update of realizing and put handcuffs on playback set and method.
Another object of the present invention is providing a kind of multimedia recording and playing device of realizing that function expands, its expandability is strong, promptly when needs expand new function to product, the program that the software that only needs to realize this function is stored in system stores in the module and gets final product, and need not change the framework of system.
A further object of the present invention provides a kind of multimedia recording and playing device of realizing that function expands.The Yin Ben device adopted general Digital System Processor (as.The TMS320C5402 of Texas Instruments) but not special-purpose chip can expand various functions easily again simultaneously, thereby have higher performance.
According to above-described purpose, the invention provides a kind of multimedia recording and playing device of extendible function, this device comprises: first stores module, and it deposits the required multimedia software of multimedia recording and playing device; Second stores module, and it deposits the data of the required broadcast of multimedia recording and playing device; Communication module group, it is connected to external host, uses and realizes that first function and second that stores the expansion of module function stores the function of module Data Update; Central processing unit, the fortune of satisfying that it is used to control in the multimedia recording and playing device between the module, particularly be used for reading first store multimedia software, second in the module store in the module data and via the more new data of reading over the module transmission and the software for the treatment of extended function; Coder/decoder, it is used to receive simulating signal and is converted to digital signal, or converts digital signal to simulating signal; The signal Processing module, it connects by first interface and central processing unit, and receive multimedia software and the data that central processing unit transmits, and data are sent to coder/decoder via second interface, but this signal Processing module is the digital signal that transmits of received code/demoder also, and digital signal is sent to central processing unit.
Fig. 1 has shown the Organization Chart of traditional MP3 player system;
Fig. 2 has shown the multimedia recording and playing device system architecture diagram after traditional function expands;
Fig. 3 has shown the system architecture diagram of embodiments of the invention;
Fig. 4 has shown the storage module of depositing application software of the embodiment of the invention;
Fig. 5 has shown the operational flowchart of the audio playback method of the embodiment of the invention;
Fig. 6 has shown the operational flowchart of the way of recording of embodiments of the invention;
Fig. 7 has shown the operational flowchart of the function extending method of the embodiment of the invention; And
Fig. 8 has shown the operational flowchart of the data-updating method of the embodiment of the invention.
Quote Fig. 3, it has narrated the system architecture diagram of preferred embodiment of the present invention.The multimedia recording and playing device of the extendible function of present embodiment comprises following modules at least: the application program that can read/write stores module 300, it is used for depositing program management software and the required multimedia software of multimedia recording and playing device, for example MP3 decoding software, MS sound signal decoding software, AAC decoding software or DAB/voice recording software; The voice signal data storage module 301 that can read/write, it deposits the data of the required broadcast of multimedia recording and playing device, for example speech data, voice data or recording data; Communication module group 302, it is connected to an external host (not in the indication range of Fig. 3), and use and realize that application program stores the function that module 300 functions expand, and the function of voice signal data storage module 301 Data Update.Moreover, above-mentioned communication module group 302 can be serial end, parallel end, memory card, or any other can realize transmitting the device of data information purpose, and above-mentioned external host is any machine that stores new data more or treat the software of extended function, for example a personal host computer.
Equally in Fig. 3, embodiments of the invention also comprise central processing unit (CPU) 303, any label and model are all general, it is used to control the running between the module in the multimedia recording and playing device, is used for particularly reading that application program stores multimedia software in the module 300, the data in the voice signal data storage module 301 and via the more new data and the software for the treatment of extended function of communication module group 302 transmission.In addition, central processing unit 303 also comprises more new data and recorded audio signals data is write the function of voice signal data storage module 301, and will treat that the software of extended function writes the function that application program stores module 300; Sound signal encoding/demoder 304, it is used to receive simulating signal and is converted to digital signal, promptly above-mentioned recorded audio signals data, or convert digital signal to simulating signal; Digital signal processing (DSP) module 305, it connects by first interface and central processing unit 303, and receive multimedia software and the data that transmit by central processing unit 303, and these data are sent on sound signal encoding/demoder 304 via second interface, digital signal processing module 305 also can receive the digital signal that sound signal encoding/demoder 304 transmits, and this digital signal is sent on the central processing unit 303.In other words, digital signal processing module 305 can adopt the TMS320YC5402 general purpose signal processor of Texas Instruments, it is by its host side interface (Host Port Interface, HPI) interface or serial end interface (Serial Port Interface, SPI) will realize that by central processing unit 303 software is sent in this digital signal processing module 305, is used to realize a certain dedicated functions.And can be with interior integrated circuit sound interface (Inter ICSound Interface) or time division multiplexing (Time Division Multiplex) digital signal after mode will be handled send sound signal encoding/demoder 304 to or receive digital signal after mould/number conversions from sound signal encoding/demoder 304.
Fig. 4 has shown that the application program of embodiments of the invention after expanding stores the module content, it is except storing indispensable application program management software, also deposited MP3 decoding software, MS sound signal decoding software, AAC decoding software, DAB/voice recording software, or other application softwares.
The method of operating of embodiments of the invention can be divided into following four kinds haply: playback, recording, extended function, and new data more, its corresponding operational flowchart is shown among Fig. 5, Fig. 6, Fig. 7 and Fig. 8.
In the playback part, i.e. Fig. 5, the method for multimedia recording and playing device playback comprises the following step at least: at first, central processing unit stores from application program and reads a relevant software the module; Then, transmit the software read to the digital signal processing module, and start the digital signal processing module immediately; Thereafter, central processing unit reads voice data and transmits these data to the digital signal processing module from voice signal data storage module, so that analyzing and processing in addition; And the data after the transmission analyzing and processing are to sound signal encoding/demoder.
If system does not have to finish, then the step after the repeated priming digital signal processing module.
In the recording part, i.e. Fig. 6, the method for multimedia recording and playing device recording comprises the following step at least: at first, central processing unit stores from application program and reads a relevant software the module; Then, transmit the software read to the digital signal processing module, and start the digital signal processing module immediately; Thereafter, sound signal encoding/demoder receives the audio/speech simulating signal, and changes this simulating signal to digital signal; The digital signal processing module reads this digital signal, and is handled; And the digital signal after transmit handling is to central processing unit, and writes in the voice signal data storage module.If system does not have to finish, then the step after the repeated priming digital signal processing module.
In the extended function part, i.e. Fig. 7, the method that the multimedia recording and playing device function expands comprises the following step at least: at first, connect communication module group to the external host of the software of extended functions such as having; Then, central processing unit reads the software for the treatment of extended function via communication module group; Thereafter, with read etc. the software of extended function write application program and store in the module; And the application program management software records that stores module by application program is treated all relevant informations of the software of extended function.If do not finish, then repeat to connect communication module group step afterwards.
Upgrading data division, i.e. Fig. 7, the method for multimedia recording and playing device Data Update comprises the following step at least: at first, connect communication module group to the external host that has new data more; Then, central processing unit reads more new data via communication module group; The more new data that read write in voice signal data storage module thereafter; And the application program management software records that stores module by application program is all relevant informations of new data more.If do not finish, then repeat to connect communication module group step afterwards.
The above is preferred embodiment of the present invention only, is not in order to limit claim of the present invention; All other do not break away from the equivalence of being finished under the disclosed spirit and changes or modification, all should be included in the scope of following claim.