502250 A7 _______ B7 五、發明說明(/ ) 本發明之領域 ------------i I (請先閱讀背面之注意事項再填寫本頁) 本發明關於一壓縮檔案,特別關於將一型式檔案與另 一型式之壓縮檔案連結。 本發明之背景 壓縮如語音的音頻信號源之方t去,並將其數位地儲存 於一檔案中已久爲人所知。傳統上使用一編碼器,以壓縮 音效檔案。與網際網路連結之用戶可下載已編碼之壓縮檔 案,例如MP3格式之檔案,執行軟體以解碼該檔案,以聆 聽音頻信號源。MP3格式,亦即電影專家群集合(MPEG)國 際標準之層3音效檔案,在技藝中係爲熟知,供在數位媒 體上播放電影,及相關音效之壓縮及解壓縮。傳統上,使 用一解碼器以將編碼之數位音效檔案解碼。 傳統方法之一缺點爲,壓縮之音效檔案並不包含至網 際網路文件的資訊及連結,其可在音效錄放時觀看。傳統 方法需要收聽解碼音效檔案之聽眾,手動地建立至網際網 路文件之連結。 經濟部智慧財產局員工消費合作社印製 因此需要的是,在適當時間,將網際網路連結或其他 資訊嵌入壓縮之音效檔案中,使得音效檔案解碼後,音效 檔之聽眾可觀看連至例如網際網路之文件的資訊或連結。 本發明之槪述 本發明係導向一編碼器,其藉由連結文件與壓縮音效 檔,用以編碼傳輸於例如網際網路之檔案。在一實施例中 ,已編碼之傳輸文件係藉由將網際網路文件之位址,與對 應之時序資訊嵌入壓縮之檔案中。時序資訊指出,壓縮之 3 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) 502250 A7 B7______ 五、發明說明(a ) 資訊,在錄放壓縮檔案時,應於何時出現。 在較佳實施例中,編碼器在一選擇之時間點上使用在 音效檔內之時序資訊,以及嵌入之對應可顯示資訊,例如 網際網路位址或其他可顯示資訊。 本發明係以壓縮音效檔編碼非聲音資訊之方法,包含 以下步驟:接收已壓縮之音效檔案;接收至少一個非聲音資 料檔案;以及在一選擇點上,在已壓縮之音效檔案內編碼 每一非聲音資料檔案,使得每一非聲音資料檔案,可由一 解碼器在選擇之時間間隔上,與壓縮音效檔案中之聲音係 爲可再生的。 圖式簡略說明 圖1爲流程圖,說明根據本發明之一示範實施例之編 碼器演算法之步驟; 圖2爲流程圖,說明根據本發明之一示範實施例編碼 器演算法之步驟。 本發明之詳細說明 本發明一實施例中,以連結文件(亦即網際網路文件) 與壓縮音效檔案,例如”MP3”檔案,網際網路之位址及對 應之時序資訊嵌入壓縮之檔案中。時序資訊指出在此種檔 案之錄放期間,連結之文件或其它可顯示之資訊,應何時 出現。當按照本發明之方法編碼之檔案,在一了解(可偵出 )此一編碼系統之解碼器錄放時,其在解壓縮聲音資訊時, 將嵌入之資訊取出,並利用嵌入之資訊參考網際網路上之 文件。 4 本紙張尺度適用中國國家標準(CNS)A4規格(210 x 297公釐) 裝--- (請先閱讀背面之注意事項再填寫本頁) I. 經濟部智慧財產局員工消費合作社印製 502250 A7 B7 五、發明說明(;) 根據本發明,可嵌入之資料之範例如下: { 1.0;www.interview.com 10.2: www. intervideo, com/mymusic/info 1 .htm } 左方之數字指出時序資訊。在較佳實施例中,編碼器 之聲音壓縮器單元,利用此時序値將對應資訊嵌入時間之 右方瞬時中。解碼器摘取此資訊,並執行適當動作。嵌入 之資訊代表可被顯示之可顯示資訊。較佳的是,此資訊爲 一網頁鏈路,使得解碼器可在特定時間,打開對應網頁, 或網路指令。以上述所提供的範例而言,在時間1.0秒及 10.2秒時。 在另一實施例中,編碼器嵌入時序資訊及對應資料。 如上所述,資料可爲網際網路文件之位址或其他文字資訊 本發明之方法可由不同系統實施,包括電腦系統或其 他包括中央處理單元及顯示器等裝置。較佳的是,此系統 具有連接至網際網路之能力。 圖1爲一流程圖,說明根據本發明之示範實施例編碼 器方法之演算法1〇之處理步驟。 參考圖1中之示範實施例,在步驟20中,編碼程序開 始,在此步驟期間,解碼器獲得文字字母資料(例如字母 ”C”),以備嵌入。示範實施例將此資訊顯示爲文字字母資 訊,然而,任何解碼器可以顯示之資訊,均可被嵌入。步 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) (請先閱讀背面之注意事項再填寫本頁) 裝 · 丨線. 經濟部智慧財產局員工消費合作社印製 502250 A7 B7 五、發明說明() 驟30中,編碼器讀出聲音資料採樣樣本之一區段,以x-i 顯示之。在較佳實施例中,資料採樣樣本係經MP3壓縮之 音效檔案,如所顯示的。但本發明不受限於經MP3壓縮之 音效檔案,可用於一般壓縮音效檔案。步驟3〇 R時顯不一 個架構之讀取範例。一包含壓縮資料之各架構的MP3位元 串係在技藝中已熟知。多於一個聲音頻道係同樣所熟知, 例如立體聲,在每一頻道中儲存獨立的樣本。本發明方法 也可應用於嵌入在每一頻道中的不同資訊。 進行至步驟40,編碼器決定在此段中之聲音採樣之最 大値,是否超過臨界値。臨界値係以其中資料的嵌入値對 用戶而言,聲音品質退化至無法接受的地步來決定。如果 臨界値超過聲音採樣之最大値’方法便跳至步驟30。若是 臨界値未超過,在步驟5〇中,編碼器修改該區段之子集合 中最少的有意義位元(LSB’s),其中資訊之數位表示(如圖1 之字母”C”)係被編碼。較佳的是,子集合係16個採樣樣本 的區段,如步驟50所示之{從x_k到x_k+15};其中 k=mod(I_max,16)。步驟60中,決定修改之區段採樣(以 x_i—max顯示)是否超過臨界値,以”thr”顯示。若是臨界値 未被超過,則分支至步驟20。若已超過臨界値,將2加入 至超過臨界値之修改採樣之數位値。然後此方法再回到步 驟20,以編碼下一個字母。 圖2爲流程圖,說明根據本發明示範實施例之解碼器 演算法110的處理步驟。此方法將按照顯示於圖1示範實 施例的編碼方法編碼之資訊(以文字字母” C”當作示範顯示) 6 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) ' (請先閱讀背面之注意事項再填寫本頁) . · 丨線· 經濟部智慧財產局員工消費合作社印製 502250 A7 B7 五、發明說明(j) 加以解碼。在步驟120中,解碼器讀取一區段的已編碼聲 音資料採樣。進行至步驟130,決定在區段中已編碼之聲 音採樣之最大値是否超過臨界値,其中超過臨界値係指不 能再嵌入文字字母。若是已超過臨界値,回到步驟120。 若未超過臨界値,步驟140係被執行,其中解碼器讀取已 編碼區段子集合之最少有意義位元(LSB’s),其中數位資料 碼係被解碼。在步驟150中,解碼器決定,解碼之數位資 料碼,是否表示有效資訊(如圖2之”C”),其中,解碼之資 訊係發現在預期的集合中。預期的集合在此技藝中係爲熟 知,例如ASCII字母集合爲預期集合之一例,然而本發明 並不限於ASCII字母。若是解碼之資訊並非在預期的集合 中,則處理回頭進行到步驟120。若是解碼之資訊係在預 期的集合中,則步驟160係被執行,其中加入已解碼之有 效資訊(亦即步驟160之字母”C”)作爲新資訊,然後進行回 到步驟120。 當本發明經由個別說明性實施例予以特別闡述之後, 基於本揭示,各種交替,修改及適應,此等均在本發明之 精神及範圍之內。當本發明已以最實際與較佳之實施例說 明’應瞭解本發明不限於揭示之實施例,反之,應涵蓋申 請專利範圍內之不同修改及等效的安排。 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) ------;------·裝--- (請先閱讀背面之注意事項再填寫本頁) 訂·502250 A7 _______ B7 V. Description of the invention (/) Field of the invention ------------ i I (Please read the notes on the back before filling this page) The invention is about a compressed archive, especially About linking one type of file with another type of compressed file. BACKGROUND OF THE INVENTION It has long been known to compress audio signals such as speech and store them digitally in a file. An encoder has traditionally been used to compress audio files. Users connected to the Internet can download encoded compressed files, such as MP3 format files, and run software to decode the files to listen to the audio source. The MP3 format, which is the layer 3 audio file of the International Standard for Motion Picture Experts Group (MPEG), is well-known in the art for playing movies on digital media, and the compression and decompression of related audio effects. Traditionally, a decoder is used to decode the encoded digital audio file. One of the disadvantages of the traditional method is that the compressed audio file does not contain information and links to Internet documents, which can be viewed during audio recording and playback. The traditional method requires a listener who decodes the audio file and manually establishes a link to the Internet file. Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs. Therefore, it is necessary to embed the Internet link or other information into the compressed sound effect file at the appropriate time, so that after the sound effect file is decoded, the listener of the sound effect file can watch and connect to the Internet, for example. Information or links to documents on the web. Summary of the invention The present invention is directed to an encoder for encoding files transmitted over, for example, the Internet by linking files and compressed audio files. In one embodiment, the encoded transmission file is embedded in the compressed file by embedding the address of the Internet file and the corresponding timing information. The timing information indicates that 3 paper sizes of the compression are applicable to the Chinese National Standard (CNS) A4 specification (210 X 297 mm) 502250 A7 B7______ V. Description of the invention (a) When should the information appear when recording and playing compressed files? In a preferred embodiment, the encoder uses timing information in the audio file at a selected point in time and the corresponding displayable information embedded, such as an Internet address or other displayable information. The present invention is a method for encoding non-sound information with a compressed sound effect file, including the following steps: receiving a compressed sound effect file; receiving at least one non-sound data file; and encoding each of the compressed sound effect files at a selection point Non-sound data files, so that each non-sound data file can be reproduced by a decoder at a selected time interval and the sound in the compressed sound effect file. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a flowchart illustrating the steps of an encoder algorithm according to an exemplary embodiment of the present invention; FIG. 2 is a flowchart illustrating the steps of an encoder algorithm according to an exemplary embodiment of the present invention. Detailed description of the present invention In an embodiment of the present invention, a compressed file (ie, an Internet file) and a compressed audio file, such as an "MP3" file, the Internet address and corresponding timing information are embedded in the compressed file. . The timing information indicates when the linked file or other displayable information should appear during the recording and playback of such files. When a file encoded according to the method of the present invention is recorded (recognized) by a decoder of this encoding system, it extracts the embedded information when decompressing the sound information, and uses the embedded information to refer to the Internet Files on the road. 4 This paper size applies to China National Standard (CNS) A4 (210 x 297 mm) Packing --- (Please read the notes on the back before filling out this page) I. Printed by the Intellectual Property Bureau of the Ministry of Economic Affairs and Consumer Cooperatives 502250 A7 B7 V. Description of the invention (;) According to the present invention, examples of data that can be embedded are as follows: {1.0; www.interview.com 10.2: www. Intervideo, com / mymusic / info 1 .htm} The numbers on the left indicate the timing Information. In the preferred embodiment, the encoder's sound compressor unit uses this timing to embed the corresponding information in the right instant of time. The decoder extracts this information and performs the appropriate action. Embedded information represents displayable information that can be displayed. Preferably, the information is a web page link, so that the decoder can open the corresponding web page or network command at a specific time. For the example provided above, at time 1.0 seconds and 10.2 seconds. In another embodiment, the encoder embeds timing information and corresponding data. As mentioned above, the data can be the address of an Internet document or other textual information. The method of the present invention can be implemented by different systems, including computer systems or other devices including central processing units and displays. Preferably, the system is capable of connecting to the Internet. Fig. 1 is a flowchart illustrating processing steps of an algorithm 10 of an encoder method according to an exemplary embodiment of the present invention. Referring to the exemplary embodiment in FIG. 1, in step 20, the encoding process begins. During this step, the decoder obtains text alphabet data (such as the letter "C") for embedding. The exemplary embodiment displays this information as alphanumeric information, however, any information that can be displayed by the decoder can be embedded. The paper size is in accordance with the Chinese National Standard (CNS) A4 (210 X 297 mm) (Please read the precautions on the back before filling this page). Assembling · Line. Printed by the Intellectual Property Bureau of the Ministry of Economic Affairs and Consumer Cooperatives 502250 A7 B7 V. Description of the invention () In step 30, the encoder reads out a section of a sample sample of sound data and displays it as xi. In the preferred embodiment, the data sample is an MP3 compressed audio file, as shown. However, the present invention is not limited to MP3 compressed audio files, and can be used for general compressed audio files. Step 30 R shows a reading example of the architecture. An MP3 bit string containing various architectures of compressed data is well known in the art. More than one sound channel is also well known, such as stereo, with independent samples stored in each channel. The method of the invention can also be applied to different information embedded in each channel. Proceeding to step 40, the encoder determines whether the maximum value of the sound samples in this segment exceeds the critical value. The criticality is determined by the embedding of the data in such a way that the sound quality of the user is degraded to an unacceptable level. If the critical value exceeds the maximum value of the sound sample, the method goes to step 30. If the threshold is not exceeded, in step 50, the encoder modifies the least significant bits (LSB's) in the subset of the segment, in which the digital representation of the information (such as the letter "C" in Figure 1) is encoded. Preferably, the subset is a segment of 16 samples, as shown in step 50 {from x_k to x_k + 15}; where k = mod (I_max, 16). In step 60, it is determined whether the modified segment sampling (shown as x_i-max) exceeds the critical threshold, and is displayed as "thr". If the threshold is not exceeded, branch to step 20. If the critical threshold has been exceeded, add 2 to the digital threshold of the modified sample that exceeds the critical threshold. The method then returns to step 20 to encode the next letter. FIG. 2 is a flowchart illustrating processing steps of a decoder algorithm 110 according to an exemplary embodiment of the present invention. This method uses information encoded in accordance with the encoding method shown in the exemplary embodiment of FIG. 1 (with the letter "C" as an example) 6 This paper size applies the Chinese National Standard (CNS) A4 specification (210 X 297 mm) ' (Please read the precautions on the back before filling out this page). · 丨 · Printed by the Consumers' Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs 502250 A7 B7 V. Description of the invention (j) Decode it. In step 120, the decoder reads a segment of the encoded audio data samples. Proceed to step 130 to determine whether the maximum 値 of the coded sound samples in the segment exceeds the critical 値, where exceeding the critical 値 means that it is no longer possible to embed text letters. If the threshold has been exceeded, step 120 is returned. If the critical threshold is not exceeded, step 140 is performed, in which the decoder reads the least significant bits (LSB's) of the subset of the encoded section, and the digital data code is decoded. In step 150, the decoder decides whether the decoded digital data code represents valid information (such as "C" in Fig. 2), wherein the decoded information is found in the expected set. The expected set is well known in the art. For example, the ASCII letter set is an example of the expected set. However, the present invention is not limited to ASCII letters. If the decoded information is not in the expected set, the process returns to step 120. If the decoded information is in the expected set, step 160 is executed, and the decoded valid information (ie, the letter "C" of step 160) is added as the new information, and then the process returns to step 120. After the present invention has been specifically described through individual illustrative embodiments, various alternations, modifications, and adaptations based on the present disclosure are all within the spirit and scope of the present invention. When the present invention has been described with the most practical and preferred embodiments, it should be understood that the invention is not limited to the disclosed embodiments, but instead, it should cover different modifications and equivalent arrangements within the scope of the patent application. This paper size applies to China National Standard (CNS) A4 specification (210 X 297 mm) ------; ------ · installed --- (Please read the precautions on the back before filling this page) Order ·
經濟部智慧財產局員工消費合作社印製Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs