1273395 九、發明說明: 【發明所屬之技術領域】 一種數位影音資料之記憶體存取方法及詈,、 =使=影音資料於一儲存媒盤時,所需 置、處理方法,以及所需之硬體裝置。 心配 【先前技術】 由於數位訊號處理技術的快速進步, 理方面更是蓬勃發展,而在影;== =高品質的聲音及圖像。如此,在影音資料的傳輸中灸 二曰數:=資料流需要經過組譯、柄等壓縮的過程, 數位肓料流之分割儲存,才能夠快速且安全的進行 =配S的影音資料傳送流程’都需要大量的商置 之為習知數位影音資料儲存到儲存媒體 之电路方塊不意圖。於習知的數位影音資料1GG儲存傳送 2 ’係先經過-影音組譯器1()2進行影音資料副的组 澤處理,組譯後之影音資料議,係被傳送並暫存在連接 於該影音組譯H 1G2之多工處理暫存單元刚。此時,連 接於該多工處理暫存單元104的多工處理單元106,係對 存於該多工處理暫存單元1〇4中之影音資料1〇〇進行資料 1重分。接著,多I處理單元1G6,係將分割後的該 些貧料,壓縮儲存於連接於該多工處理單元1〇6的壓縮暫 ,單元1〇8,並控制存於該壓縮暫存單元1〇8之該些影音 資料,進行儲存於一儲存媒體2〇。 5 1273395 ,蒼考第二圖’係為習知數位影音資料儲存到儲 體之育料暫存分配示意圖。如第二圖所示,數位影音資料 10^係經過-編譯及壓縮過程,將—音訊 見气 =V進行壓縮,壓縮後之該音訊資料A與該視訊資 糸f開被暫存於第-記歸請中。同時,該音= 二Trrv之至少一標頭資料係暫存到第二記憶裝 中。如此,使用者於儲存數位影音資料100到健^ 二體時才會將該標頭資料的内容加入到該音訊資料」: 視成貧料V中,以進行資料的儲存。 ”該 如上述說财,在習知的數位影音資料 立ΐ需要大量的記憶裴置來搭配使用,始可以進= =:t資料的壓縮及分割傳送儲存等流程。同:= 之%中,習知技術所用的記 八 儲存 差,無法有效的發揮完全的效y。〃以肖之效能復 【發明内容】 存取方法及襄b置本影”記憶體 =記憶管理單元進行 巧 取後透過多工處理單元傳送—护 、暫存盗中。 中,並控制該些已麼縮及分割的二立到該些資料區槐 料區塊之標頭資料依序儲存於;i二依照分割後資 -影=數置,係使用 行—組譯程序與一編碼程序。當該影音資 1273395 碼專壓縮程序過程後,你 記情管理置κ ,、透過連接於該影音處理單元之〜 料區分成複數個資料區塊,並脖音資 資料區塊之一標頭空間。j存f ’且同時估計保留該些 多工處理〜音、工0接者,藉由連接於該暫存器之〜 出觸於早兀’入至少一標頭資料到該些標頭空間’並於 號給該暫存器,用以控制該些資料區塊内ΪΪ 枓依序寫人到-儲存雜。 ^<貝 撤肉ίϋ貝審查委員能更進—步瞭解本發明特徵及技 附θ 閱/下有關本發明之詳細制與關,然而所 ^式僅^供茶考與說,並非用來對本發明加以限制^ L實施方式】 拔脚杯考第三圖,麵本發明數位影音㈣儲存到儲存 某體之電路方塊示意圖。如第三圖所示,本發明所使 衫卞處理單元302,係由-影音組譯器3()22連接一影立 =碼益組成3G24組成。該影音處理單元3()2,係透過 曰組譯器3G22取得-影音資料·,並,將該影音資料^ 進行一組譯程序。該組譯完成之影音資料300,係經由該 影音編碼器3G24以進行—編碼程序,進而將該影音資^ y〇〇 壓縮成為 MPEG (Motion Picture Experts Group)信 被處理標準。該影音資料3〇〇包含有一音訊資料A盘 訊資料V。 ^ =如上述說明中,同時,一記憶管理單元306,連接於 該影音編碼器3024,係將該經過組譯、編碼後之影音資料 3〇〇刀割成複數個資料區塊(位標示),並提供連接於該影 音編碼器3024之一暫存器3〇4中之一儲存位址,以將該些 7 1273395 二二:塊存:到該暫存器3〇4内,且同時保留 料區塊之-標頭空間(未標示)。再者, 二 ,連接於該暫存器親,係可以控制寫入至少一標t Γ二 1該„間内’並控制輪出-觸發1^號給該暫 丨一缺二控制該些資料區塊内之影音資料300依序 fbH 4〇。多工處理單元308除了可以選擇那 資狀標頭資料先存至預㈣標頭空間。 筆 勃-21第三圖’其中該記憶f理單元咖,係可藉由 之3置二广,权序’用以預先估計出該標頭空間需保留 二 該多工處理單元遞控制寫入 兮:=: 標頭空間所需的位置空間,進而使得 二、得以安全且快速的將分割後之資料區塊進行 組 邊存媒體40。其中該資料區塊大小係為2K位元 存到三圖’參考第四圖,係為本發明影音資料儲 之貧料暫存分配示意圖。本發明取得之影音 同時透過3 =由ί音組譯及編竭等壓縮處理過程,並, 大小為21(°位1理早疋裏融入於該影音資料咖,藉由 之賢料區塊進行影音資料3〇〇时割,分 义後::;:細〇係交錯排列儲存於暫存 _中也預留要放置標頭資料之標頭空間 影音資:7中係以標頭資料/影音資料/標頭資料/ 心曰貝科...等交錯方式排列。 男丁寸 302憶管理單元_,係同時配合影音處理單元 稭以利肖 MPEG(Moti〇nPictureExpertsGr〇叩) 8 1273395 =號處理標準,進行壓縮處理影音#料期,並且同時影 二貝料^00依照大小為2K位元組之資料區塊進行分割處 :如第四圖所示’該影音資料謂,係同時進行壓縮及 ^割過程丄並透過記憶管理單元咖控制管理,係將壓縮 後之影音資料300暫存於暫存器中。 —請配合第三圖、第,’參考第五圖,係為本發明記 ,管理單元分難音資料之記龍配置示意圖。其中記憶 官理單元306係控制融入該影音資料3⑽,並控制管理該 :音資料300映射到該暫存_巾,該影音資料3〇〇 = p訊資料A與視訊資料V。同時,記憶f理單元3〇6將 暫存器綱之音訊資料A與視訊資料V分割成為複 μ固貧料區塊’該資料區塊大小係為2K位元組。且,記 元3G6更管理該些資料區塊,將之區分有一標頭= 間3002與一資料區3〇〇4。 、二 …接下來說明本發明數位影音資料之雜體存取方法, =考第六®,係為本發明記Μ存取方法練示意圖, ,、步驟流程如下所述: 首先^得-影音資料s⑽,錄外接之—影音掏取 ^ ,接考,編譯該影音資料S102,係根據一影像壓縮 式及-音頻壓縮格式,即利用MPEG (Moti〇n pict; XP=S Group)信號處理標準;然後,進行分割經過 =衫曰資料,將該影音資料分割成為複數個資 4 ’再者,透過-記憶管理單元用以取得該些資料區擒 儲存灿,並依雜存她存放該歸料區塊到 子^同時,透過該記鮮理單元估計保留該些資料 払頭空間S106 ;再,透過一多工處理單元寫入至少」 9 1273395 標頭資料到該些標頭空間SI08 ;最後,透過一多工處理單 元,輸出一觸發訊號給該暫存器,用以控制該些資料區塊 内之資料依序寫入到一儲存媒體S110。 、同時,在編譯該影音資料步驟S102中,該影像壓縮格 式,係將圖形資料壓縮區分成為I、β及p三個部份之影像 框木,即利用 MPEG (Motion Picture Experts Group)作 號,理標準。且同時,在編譯該影音資料步驟中,該音^ 壓縮格式係為一 AC3壓縮格式或一 MP2壓縮格式。1273395 IX. Description of the invention: [Technical field of invention] A memory access method for digital audio and video data and a method for setting, processing, and required when making audio and video data in a storage medium Hardware device. Heart Matching [Prior Art] Due to the rapid advancement of digital signal processing technology, the rationality is flourishing, while in the shadow; == = high quality sound and image. In this way, in the transmission of audio and video data, the number of moxibustion is two: = the data stream needs to be compressed by the group translation, the handle, etc., and the digital data stream is divided and stored, so that the video and audio data transmission process can be performed quickly and safely. 'All of them require a large number of commercial units to store the digital blocks of audio and video data stored in the storage media. In the conventional digital audio and video material 1GG storage transmission 2 'the first pass-audio-audio interpreter 1 () 2 for the audio-visual data sub-group processing, the group after the translation of the audio-visual data, is transmitted and temporarily connected to the Audio and video group translation H 1G2 multiplex processing temporary storage unit just. At this time, the multiplex processing unit 106 connected to the multiplex processing temporary storage unit 104 performs the material 1 re-division on the video material 1 存 stored in the multiplex processing temporary storage unit 1〇4. Next, the multi-I processing unit 1G6 compresses and stores the divided lean materials in a compression temporary unit connected to the multiplex processing unit 1〇6, and controls the storage in the compressed temporary storage unit 1 The video data of 〇8 is stored in a storage medium 2〇. 5 1273395, the second picture of Cang Kao is a schematic diagram of the temporary storage allocation of the digital audio and video data stored in the storage. As shown in the second figure, the digital audio and video data 10^ is subjected to a compiling and compression process, and the audio information is compressed by V. The compressed audio data A and the video information are temporarily stored in the first Remember to return. At the same time, at least one header data of the tone=two Trrv is temporarily stored in the second memory device. In this way, the user will add the content of the header data to the audio data when storing the digital audio and video material 100 to the health and fitness system:: as a poor material V, to store the data. "As mentioned above, in the case of the conventional digital audio and video data, a large number of memory devices are required to be used together, and the process of compression and split transmission and storage of the ==:t data can be entered. In the same % of == The memory used in the prior art is poorly stored, and it is impossible to effectively exert the full effect y. 〃 之 之 效能 【 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 发明 ” = = = = = = = = = The multiplex processing unit transmits, protects, and temporarily steals. And controlling the header data of the two data blocks of the data area to be sequentially stored in the data block; i2, according to the division after the capital-shadow=number, using the line-group translation Program and an encoding program. After the video and audio 1273395 code compression process, you can manage the κ, and divide it into multiple data blocks through the connection to the video processing unit, and the header space of one of the neck audio data blocks. . j save f 'and at the same time estimate to retain the multiplex processing ~ tone, work 0 receiver, by connecting to the register ~ touch the early 兀 'Enter at least one header data to the header space' And the number is given to the temporary register to control the data blocks in the data block to be written to the storage. ^<Beiyue meat ϋ 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查 审查Limitation of the invention ^ L embodiment] The third cup of the cup is tested, and the digital video of the invention (4) is stored in a block diagram of a circuit for storing a certain body. As shown in the third figure, the sputum processing unit 302 of the present invention is composed of a video/audio interpreter 3 () 22 connected to a phantom = code commissive 3G24. The video processing unit 3() 2 obtains the audio-visual material through the 曰-group translator 3G22, and performs a set of translation programs on the audio-visual material. The audiovisual material 300 that has been translated by the group is subjected to an encoding process via the video encoder 3G24, and the audiovisual component is compressed into an MPEG (Motion Picture Experts Group) signal processing standard. The video material 3 includes an audio data A video data V. ^ = In the above description, at the same time, a memory management unit 306 is connected to the video encoder 3024, and the framed and encoded video data is cut into a plurality of data blocks (bit marks). And providing a storage address connected to one of the registers 3〇4 of the video encoder 3024 to store the 7 1273395 22: block into the register 3〇4 while retaining Material block - header space (not shown). Furthermore, secondly, connected to the register, the user can control to write at least one of the labels t Γ 1 1 1 并 并 并 并 并 并 并 并 并 并 并 并 并 并 并 并 并 并 并 并 并 并 并 并 并 并 并 并 并 并 并 并 并 并The video and audio data 300 in the block is sequentially fbH 4〇. The multiplex processing unit 308 can select the resource header data to be stored in the pre-(four) header space first. The second diagram of the pen--21 is in the memory unit The coffee can be set by the second and the second, and the order is used to pre-estimate that the header space needs to retain two multiplex processing units to control the write 兮:=: the required space space of the header space, and then Therefore, the segmented data block can be safely and quickly stored in the group side storage medium 40. The data block size is 2K bits and is stored in the three pictures' reference fourth picture, which is the video and audio data storage of the present invention. Schematic diagram of the temporary storage allocation of the poor material. The video and audio obtained by the present invention are simultaneously subjected to a compression process such as 3 = translation and editing by the sound sound group, and the size is 21 (° bit 1 is integrated into the video material coffee, By means of the Yinxian block, the video and audio data are cut and cut, after the meaning::;: Staggered storage in the temporary storage _ also reserved the head space to be placed in the header data audio and video: 7 in the staggered data / audio and video data / header information / heart and shellfish ... and other staggered arrangement. The man's inch 302 recalls the management unit _, and at the same time cooperates with the audio and video processing unit to use the MPEG (Moti〇nPictureExpertsGr〇叩) 8 1273395 = number processing standard to compress and process the audio and video # material period, and at the same time shadow two materials ^00 According to the data block of size 2K bytes, the segmentation is as follows: as shown in the fourth figure, the video data is compressed and processed at the same time and managed by the memory management unit. The audio-visual data 300 is temporarily stored in the temporary storage device. - Please cooperate with the third figure, the first, and the reference to the fifth figure, which is the schematic diagram of the record of the invention, and the management unit divides the hard-recorded data. Controlling the integration of the audiovisual material 3 (10), and controlling the management: the audio data 300 is mapped to the temporary storage towel, the audiovisual data 3〇〇=p information A and the video data V. At the same time, the memory unit 3〇6 will Registered audio information A and The V-segmentation of video data becomes a complex μ-solid block. The size of the data block is 2K bytes. Moreover, the 3G6 manages the data blocks and distinguishes them with a header = 3002 and a data. Section 3〇〇4, 2... Next, the method of accessing the digital audio and video data of the present invention will be described, and the sixth test is a schematic diagram of the access method of the present invention. The flow of the steps is as follows: Firstly, the audio-visual data s(10) is recorded, and the external audio-video capture is taken. The video data S102 is compiled according to an image compression and audio compression format, that is, using MPEG (Moti〇n pict; XP=S). Group) signal processing standard; then, segmentation through the 曰 曰 曰 , , , , = = = = = = = = = ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' She stores the grading block to the sub-^, and estimates the retention of the data header space S106 through the requisition unit; and then writes at least "9 1273395 header data" to the headers through a multiplex processing unit. Space SI08; finally, through a multi-tasking Unit, outputs a trigger signal to the register, for controlling the data within said plurality of data blocks are sequentially written to a storage medium S110. At the same time, in the step of compiling the video data step S102, the image compression format is to divide the graphic data into image frames of three parts: I, β and p, that is, using MPEG (Motion Picture Experts Group). Standard. At the same time, in the step of compiling the video data, the audio compression format is an AC3 compression format or an MP2 compression format.
、綜上所述,本發明一種數位影音資料之記憶體存取方 法及裝置,係將取得之影音資料,藉由利用MpEGIn summary, the present invention relates to a memory access method and apparatus for digital audio and video data, which is to obtain audio and video data by using MpEG.
Picture Experts Group)信號處理標準,以進行影音資料 的組譯,編碼等壓縮過程。同時於編碼、壓縮過程中,、藉 由^隐^里單元’用以進行影音資料的分割,係分割成數 個貧,區塊’並暫存於—暫存器中。最後透過多工處理單 讀达-標頭資料到該些資料區塊中,並控制該些已壓縮 及分割的影音資料,依照分顺資料區塊之標頭資料依序 儲存於、儲存媒體中。如此,本發明在數位影音資料壓縮 ^儲存過a巾’係可喊少大量的記憶裝置搭配使用。同 在儲存過&巾’係可以提昇所需記憶裝置的分配使用 效能,進而發揮記憶裝置完全的效力。 >、,^ ^上所述,僅為本發明最佳之一的具體實施例之 ==與ΐ式,凡合於本發明申請專利範圍之精神與其 :二:姑施例’皆應包含於本發明之範疇中,任何熟 = = ί在本發明之領域内,可輕易思及之變化或修 飾白可涵結以下本案之專利範圍。 【圖式簡單說明】 1273395 第一圖為習知數位影音資料儲存到儲存媒體之電路方塊 不意圖, 第二圖為習知數位影音資料儲存到儲存媒體之資料暫存 分配不意圖, 第三圖為本發明數位影音資料儲存到儲存媒體之電路方 塊不意圖, 第四圖為本發明影音資料儲存到儲存媒體之資料暫存分 配不意圖, 第五圖為本發明記憶管理單元分割影音資料之記憶體配 置示意圖;及 第六圖為本發明記憶體存取方法流程示意圖。 【主要元件符號說明】 習知: 100數位影音資料 102影音組譯器 103第一記憶裝置 104多工處理暫存單元 105第二記憶裝置 106多工處理單元 108壓縮暫存單元 20儲存媒體 本發明: 300影音資料 302影音處理單元 11 1273395 3022影音組譯器 3024影音編碼器組成 304暫存器 306記憶管理單元 308多工處理單元 40儲存媒體 A音訊資料 V視訊資料Picture Experts Group) is a signal processing standard for performing compression and decoding of video and audio data. At the same time, in the process of encoding and compression, the unit is used to divide the video and audio data, and is divided into a plurality of poor blocks, and temporarily stored in the temporary register. Finally, through the multiplex processing, the single-read header data is sent to the data blocks, and the compressed and divided audio and video data are controlled, and the header data of the data sharing block is sequentially stored in the storage medium. . Thus, the present invention can be used in conjunction with a large number of memory devices in the compression of digital audio and video data. The same storage & towel system can improve the distribution and use efficiency of the desired memory device, and thus fully utilize the memory device. >, ^ ^ above, is only one of the best embodiments of the present invention == and ΐ, the spirit of the scope of the patent application of the present invention and its two: two examples should include In the context of the present invention, any familiar == ί can be easily changed or modified in the field of the present invention. [Simple description of the schema] 1273395 The first figure is not intended to store the digital video and audio data stored in the storage medium. The second picture is the temporary storage allocation of the digital video and audio data stored in the storage medium. For the purpose of storing the digital audio and video data of the present invention in the storage medium, the fourth figure is not intended for the temporary storage of the audio and video data stored in the storage medium of the present invention, and the fifth figure is the memory of dividing the audio and video data by the memory management unit of the present invention. FIG. 6 is a schematic diagram of a memory access method according to the present invention. [Main component symbol description] Conventional: 100 digital audio and video material 102 audio and video analyzer 103 first memory device 104 multiplex processing temporary storage unit 105 second memory device 106 multiplex processing unit 108 compressed temporary storage unit 20 storage medium : 300 video and audio data 302 video processing unit 11 1273395 3022 audio and video transliterator 3024 video encoder composition 304 register 306 memory management unit 308 multiplex processing unit 40 storage media A audio data V video data