TWI430644B - Audio data transmission method and audio processing system thereof - Google Patents

Audio data transmission method and audio processing system thereof Download PDF

Info

Publication number
TWI430644B
TWI430644B TW99114956A TW99114956A TWI430644B TW I430644 B TWI430644 B TW I430644B TW 99114956 A TW99114956 A TW 99114956A TW 99114956 A TW99114956 A TW 99114956A TW I430644 B TWI430644 B TW I430644B
Authority
TW
Taiwan
Prior art keywords
audio data
data
audio
encrypted
length
Prior art date
Application number
TW99114956A
Other languages
Chinese (zh)
Other versions
TW201143340A (en
Inventor
Shu Yeh Chiu
Tsung Li Yeh
Chia Yu Hung
Jung Wen Kuo
Original Assignee
Realtek Semiconductor Corp
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
Priority claimed from US12/471,495 external-priority patent/US20090254743A1/en
Application filed by Realtek Semiconductor Corp filed Critical Realtek Semiconductor Corp
Publication of TW201143340A publication Critical patent/TW201143340A/en
Application granted granted Critical
Publication of TWI430644B publication Critical patent/TWI430644B/en

Links

Landscapes

  • Storage Device Security (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

音訊資料傳輸方法及其音訊處理系統Audio data transmission method and audio processing system thereof

本發明係關於音訊資料傳輸,尤指一種對音訊資料進行加密,再透過高傳真音訊連結傳輸加密後的音訊資料之方法及其裝置。The present invention relates to audio data transmission, and more particularly to a method and apparatus for encrypting audio data and transmitting the encrypted audio data through a high-fidelity audio link.

愈來愈多消費者都把電腦移到客廳或起居室,以便在日常生活中、從家裡的各個角落,透過多聲道音響系統或大螢幕電視機,享受數位音樂或電影。如此的舉動,代表使用者將連接更高階的喇叭到他們的電腦上,所以如果電腦的音效子系統(無論是整合式或外接式)無法達到相同的等級,就可能會影響整體數位媒體播放品質。此外,許多消費者也開始要求在電腦上同時播放兩個音訊資料流,例如在書房播放交響樂的同時,也要在客廳播放電影,如此的期望是以往的音效解決方案無法達到的境界。由Intel所製訂的高傳真音訊規格(High Definition Audio,HD Audio)比過去的音訊規格更先進,可以支援高達8個192kHz/32位元音質的聲道,而傳統的AC97規格至多僅能支援6個48kHz/20位元的聲道。因此,透過導入新的高傳真音效規格,將來人們對更高品質的音響效果,即可得到滿足。More and more consumers are moving their computers to the living room or living room to enjoy digital music or movies in their daily lives, from all corners of the home, through multi-channel audio systems or large-screen TVs. Such a move would mean that the user would connect a higher-order speaker to their computer, so if the computer's sound subsystem (whether integrated or external) could not reach the same level, it could affect the overall digital media playback quality. . In addition, many consumers are also beginning to demand the simultaneous playback of two streams of audio data on a computer, such as playing a symphony in a study room, as well as playing a movie in the living room. This expectation is a realm that previous sound solutions could not achieve. The High Definition Audio (HD Audio) developed by Intel is more advanced than the previous audio specifications and can support up to eight 192 kHz/32-bit audio channels. The traditional AC97 specification can only support up to 6 A 48kHz/20 bit channel. Therefore, by introducing new high-fidelity audio specifications, people will be able to satisfy higher-quality sound effects in the future.

然而,不論是使用目前普遍使用的AC97音訊規格或是如前所述新發展出來的高傳真音訊規格,現存的電腦系統或是音響系統均仍是以如PCM(pulse code modulation)等能夠直接解碼播放的資料格式來儲存以及傳輸音訊資料。以這種方式來儲存及傳輸音訊資料,將會使得音訊資料於儲存或傳輸的過程中受到不法使用者(亦即俗稱的駭客)的竊取,如此,則將導致個人隱私及智慧財產權的保護無法周全。However, whether using the currently used AC97 audio specifications or the newly developed high-fidelity audio specifications as described above, existing computer systems or audio systems are still capable of direct decoding such as PCM (pulse code modulation). The data format being played to store and transmit audio data. The storage and transmission of audio data in this way will cause the audio data to be stolen by unscrupulous users (also known as hackers) during storage or transmission. As a result, personal privacy and intellectual property rights will be protected. Unable to be comprehensive.

本發明之目的之一在於在電腦系統或音響系統中,於儲存或是傳輸音訊資料的過程中,利用加密技術對音訊資料進行加密,以確保即使音訊資料受到不法使用者的竊取,亦因資料已經經過加密而無法得知其實際內容。One of the objects of the present invention is to use an encryption technique to encrypt audio data in a computer system or an audio system during storage or transmission of audio data to ensure that even if the audio data is stolen by unscrupulous users, It has been encrypted and cannot be known about its actual content.

依據本發明之實施例,其揭露一種音訊處理系統。該音訊處理系統包含有:一主機系統以及一音效裝置。該主機系統係用來接收一音訊資料,依照一加密標準與該音訊資料的一格式對該音訊資料進行加密以產生一加密後音訊資料。該音效裝置係透過一連結規格耦接於該主機系統,用來透過該連結規格接收經過該主機系統所產生之該加密後音訊資料,並對該加密後音訊號進行一解密處理,其中該主機系統所產生之該加密後音訊資料的一資料長度係取決於該音訊資料之該格式。In accordance with an embodiment of the present invention, an audio processing system is disclosed. The audio processing system includes: a host system and an audio device. The host system is configured to receive an audio data, and encrypt the audio data according to an encryption standard and a format of the audio data to generate an encrypted audio material. The audio device is coupled to the host system through a connection specification for receiving the encrypted audio data generated by the host system through the connection specification, and decrypting the encrypted audio signal, wherein the audio device is decrypted. The length of a data of the encrypted audio material generated by the system depends on the format of the audio material.

依據本發明之實施例,其另揭露一種音訊資料傳輸方法。該音訊資料傳輸方法包含有:依照一加密方法與一音訊資料的一格式,對該音訊資料進行一加密處理;透過一連結規格將經過上述該加密後音訊資料傳送至一音效裝置;以及利用該音效裝置對經過上述該加密後音訊資料進行一解密處理,其中該加密後音訊資料的一資料長度係取決於該音訊資料之該格式。According to an embodiment of the present invention, an audio data transmission method is further disclosed. The method for transmitting audio data includes: encrypting the audio data according to an encryption method and a format of an audio data; transmitting the encrypted audio data to an audio device through a connection specification; and utilizing the audio information The audio device performs a decryption process on the encrypted audio data, wherein a length of the data of the encrypted audio data depends on the format of the audio data.

請參照第1圖,第1圖係顯示依據本發明一實施例之加密音訊資料傳輸裝置100的示意圖。於本實施例中,係以一常見的個人電腦系統(例如一桌上型電腦或是一筆記型電腦)為例來進行說明,但是熟習此項技術者應可理解,本發明所述之技術並不限於應用在個人電腦系統上,其他任何有受到不法使用者入侵之虞(例如因為連接到網路系統的關係)的音訊系統,均屬於本發明之技術所欲保護的領域。於第1圖中,加密音訊資料傳輸裝置100係包含有一主機系統110,於本實施例中,主機系統110係由個人電腦的主要運算機制所構成,於硬體部份,一般包含有一中央處理單元(central processing unit,CPU) 112,一耦接於CPU 112、負責與一記憶體116及其他存取速度較快的元件溝通的北橋晶片114,一耦接於北橋晶片114、負責與主機系統110之其他週邊裝置溝通的南橋晶片118,以及其他未顯示於第1圖中之各種常見的元件;而於軟體部份,則通常包含有上層的應用程式(application) 122以及下層的驅動程式(driver) 124,其中常見之應用程式122的例子有如多媒體處理及播放程式、或是其他會對音訊資料進行處理之程式,而驅動程式124則是用來進行軟硬體之間之溝通。主機系統110係自一音訊資料源130接收一音訊資料,利用應用程式122中之加密功能對該音訊資料進行加密(encryption),再將加密過後之音訊資料透過一音訊連結150傳送至一音訊編解碼晶片(audio CODEC) 140,再由音訊編解碼晶片140對之進行解密(decryption),以利後續之聲音播放。Please refer to FIG. 1. FIG. 1 is a schematic diagram showing an encrypted audio data transmission apparatus 100 according to an embodiment of the present invention. In this embodiment, a common personal computer system (for example, a desktop computer or a notebook computer) is taken as an example, but those skilled in the art should understand that the technology described in the present invention. It is not limited to applications on personal computer systems, and any other audio system that has been compromised by unscrupulous users (e.g., because of the connection to a network system) is within the field to be protected by the technology of the present invention. In the first embodiment, the encrypted audio data transmission device 100 includes a host system 110. In this embodiment, the host system 110 is composed of a main computing mechanism of a personal computer, and generally includes a central processing unit in the hardware portion. A central processing unit (CPU) 112, coupled to the CPU 112, is responsible for communicating with a memory 116 and other components with faster access speeds, and is coupled to the north bridge chip 114, responsible for the host system. The south bridge wafer 118 communicated with other peripheral devices of 110, and other common components not shown in FIG. 1; and the software portion usually includes the upper application 122 and the lower driver ( Drivers 124, examples of common applications 122 are multimedia processing and playback programs, or other programs that process audio data, and driver 124 is used for communication between software and hardware. The host system 110 receives an audio data from an audio data source 130, encrypts the audio data by using an encryption function in the application 122, and transmits the encrypted audio data to an audio link through an audio link 150. The audio CODEC 140 is decrypted by the audio codec chip 140 for subsequent sound playback.

於本實施例中,音訊資料源140係為一DVD光碟儲存裝置,包括次世代DVD規格如HD-DVD或藍光DVD(Blu-ray disc),其中係儲存了包含影像及聲音資訊的多媒體資料,然而本發明並不以此為限,任何儲存有或傳送有音訊資料的裝置或訊號來源,均屬於音訊資料源140之應用。為了配合本發明之實施,音訊編解碼晶片140係具備有針對主機系統110對音訊資料之加密操作進行解密的能力,而此一解密功能142可以用硬體、軟體或是同時應用軟硬體的方式實現,係為熟習此項技術的人能夠完成者。至於用來連接主機系統110(於本實施例中,南橋晶片118的部份)及音訊編解碼晶片140之音訊連結150,則以具有高傳輸頻寬之HDA連結(HDA link)為佳,以配合加密後之音訊資料之傳輸,但是熟習此項技術者亦應理解,本發明並不以此為限,其他傳統或是創新的音訊連結技術,亦可使用於此。In this embodiment, the audio data source 140 is a DVD optical disc storage device, including a next-generation DVD specification such as an HD-DVD or a Blu-ray disc, in which a multimedia material containing image and sound information is stored. However, the present invention is not limited thereto, and any device or signal source storing or transmitting audio data belongs to the application of the audio data source 140. In order to cooperate with the implementation of the present invention, the audio codec chip 140 is provided with the ability to decrypt the encryption operation of the audio data by the host system 110, and the decryption function 142 can be implemented by hardware, software or both hardware and software. The way to achieve this is for those who are familiar with the technology to complete. As for the audio link 150 for connecting the host system 110 (in the present embodiment, the portion of the south bridge chip 118) and the audio codec chip 140, it is preferable to use a HDA link (HDA link) having a high transmission bandwidth. In conjunction with the transmission of the encrypted audio data, those skilled in the art should understand that the present invention is not limited thereto, and other conventional or innovative audio linking technologies can also be used.

於一第一實施例中,主機系統110係使用一加密方法來加密該音樂資料。舉例來說,所使用的該加密方法可為先進加密標準(Advanced Encryption Standard,AES)。但先進加密標準僅為本發明用來說明的一個範例,並非用來限制本發明的範圍,其他加密方法亦可應用在本發明上來進行加密。請參照第2圖所示之表格。於高傳真音訊規格中,其能夠以44.1kHz、88.2kHz、176.4kHz、48kHz、96kHz、或192kHz等取樣頻率來進行取樣,並包含有2個頻道(channel)、4個頻道、6個頻道、8個頻道乃至於更多頻道之音訊資料,其中,對每個不同組態的組合而言,資料可經由具有相對應資料位元長度的訊框(frame)來傳送。本實施例的加密流程,係依據欲處理的音訊資料格式(例如:取樣頻率、位元數、聲道數等)將上述各種具有不同取樣頻率、不同頻道數之音訊資料,均加密成為具有768位元之加密後音訊資料。換言之,在此實施例中,不論欲加密之音訊資料的格式為何,額定資料長度(nominal data length)均為一固定之位元數(也就是768位元)。若是該音訊資料加密前之資料長度較上述的額定位元數(768位元)來得少(即大多數情形),則於加密時會先以一垃圾資料(garbage data)來填塞(padding)該訊框以使其資料長度達到額定資料長度,之後始將該音訊資料連同填塞之垃圾資料,依照AES128之加密標準轉換成六筆128位元(總共768位元)之加密資料。In a first embodiment, host system 110 encrypts the music material using an encryption method. For example, the encryption method used may be Advanced Encryption Standard (AES). However, the advanced encryption standard is only an example for illustrating the present invention, and is not intended to limit the scope of the present invention. Other encryption methods may also be applied to the present invention for encryption. Please refer to the table shown in Figure 2. In the high-fidelity audio specification, it can sample at a sampling frequency of 44.1 kHz, 88.2 kHz, 176.4 kHz, 48 kHz, 96 kHz, or 192 kHz, and includes 2 channels, 4 channels, 6 channels, 8 channels or even more channels of audio data, wherein for each different configuration combination, the data can be transmitted via a frame having a corresponding data bit length. The encryption process in this embodiment encrypts the audio information having different sampling frequencies and different channel numbers into 768 according to the audio data format to be processed (for example, sampling frequency, number of bits, number of channels, etc.). Encrypted audio data of the bit. In other words, in this embodiment, regardless of the format of the audio material to be encrypted, the nominal data length is a fixed number of bits (ie, 768 bits). If the length of the data before the encryption of the audio data is less than the above-mentioned amount of positioning digits (768 bits) (ie, most cases), the encryption data is first padded with a garbage data. The frame is such that the length of the data reaches the rated data length, and then the audio data is converted into six 128-bit (768-bit total) encrypted data according to the encryption standard of AES128.

須注意的是,在高傳真音訊的架構下,訊框的傳送頻率為48KHz,因此,必須針對取樣率44.1kHz的音訊資料進行額外處理。於本實施例中所採取的處理方式,係使用於高傳真音訊規格書(High Definition Audio Specification,Revision 1.0,April 15,2004,Intel Corporation)第5.4節(第83-86頁)所描述者,即於進行取樣率44.1kHz的音訊資料之傳送時,會於每160個訊框中以“12-11-11-12-11-11-12-11-11-12-11-11-11-(重覆)”的方式插入節拍(cadence)來傳送,其中“-”表示不送資料,也就是說,每160個訊框內會有147個訊框有音訊資料,而有13個訊框沒有音訊資料。同理,取樣率88.2kHz、176.4kHz的音訊資料亦可運用相同原理來處理。上述針對取樣率44.1kHz的音訊資料所進行之處理,係屬熟習此項技術之人於了解上開規格書之揭露內容後即可輕易實施者,故其詳細運作方式將不在此贅述。It should be noted that in the architecture of high-fidelity audio, the transmission frequency of the frame is 48KHz, so additional processing must be performed for the audio data with a sampling rate of 44.1 kHz. The processing method adopted in this embodiment is as described in Section 5.4 (pages 83-86) of the High Definition Audio Specification, Revision 1.0, April 15, 2004, Intel Corporation. That is, when transmitting the audio data with a sampling rate of 44.1 kHz, it will be "12-11-11-12-11-11-12-11-11-12-11-11-11- in every 160 frames. (Repeat) mode is inserted into the cadence to transmit, where "-" means no data is sent, that is, there are 147 frames in each of the 160 frames with audio data, and there are 13 frames. No audio information. Similarly, audio data with a sampling rate of 88.2 kHz and 176.4 kHz can be processed using the same principle. The above-mentioned processing of the audio data of the sampling rate of 44.1 kHz is easily performed by those who are familiar with the technology after understanding the disclosure contents of the specification, so the detailed operation mode will not be described here.

請參照第3圖,第3圖係顯示當所欲傳輸之音訊資料的格式為48kHz/2ch/24bits時,也就是說,當音訊資料具有取樣率48kHz、2聲道以及每一聲道之每次取樣為24位元的資料長度,第1圖中之加密音訊資料傳輸裝置100對音訊資料進行垃圾資料填塞及進行加密之示意圖。由於額定資料長度為768位元,但是音訊資料只會使用到48位元(24位元×2聲道×1)的資料長度,因此便會以垃圾資料來填塞所剩餘的720位元以使其資料長度達到額定資料長度(亦即768位元),接著,再將上述768位元之資料加密以產生六筆128位元之加密資料,並將之儲存在一記憶裝置中,以待後續透過HDA連結150傳送至音訊編解碼晶片140。同樣地,第4、5、6圖中則分別顯示當所欲傳輸之音訊資料的格式為48kHz/8ch/24bits、192kHz/2ch/24bits、192kHz/8ch/24bits時,第1圖中之加密音訊資料傳輸裝置100對音訊資料進行垃圾資料填塞及進行加密之示意圖。Please refer to Figure 3, which shows when the format of the audio data to be transmitted is 48kHz/2ch/24bits, that is, when the audio data has a sampling rate of 48kHz, 2 channels and each channel. The sub-sampling is a 24-bit data length, and the encrypted audio data transmission device 100 in FIG. 1 is a schematic diagram of stuffing and encrypting the audio data. Since the rated data length is 768 bits, the audio data will only use the data length of 48 bits (24 bits × 2 channels × 1), so the remaining 720 bits will be filled with garbage data to make The length of the data reaches the rated data length (ie 768 bits), and then the above 768-bit data is encrypted to generate six 128-bit encrypted data, which are stored in a memory device for subsequent The audio codec chip 140 is transmitted through the HDA link 150. Similarly, in Figures 4, 5, and 6, the encrypted audio in Figure 1 is displayed when the format of the audio data to be transmitted is 48 kHz/8ch/24bits, 192kHz/2ch/24bits, 192kHz/8ch/24bits, respectively. The data transmission device 100 performs a method of stuffing and encrypting the audio data.

對上述的第一實施例來說,不論欲加密之音訊資料的格式為何,額定資料長度均為一固定之位元數(也就是768位元)。因此,不論音訊資料於加密前有多少位元數,都會使用垃圾資料填塞來確保接下來的加密程序(例如AES128)所處理的資料長度均等於一額定資料長度,也就是768位元。於是,每個AES128加密程序皆可得到六筆128位元之加密資料。然而,具有768位元數的加密後資料會在主機系統110與音訊編解碼晶片140間的音訊連結150中占用大量的頻寬,並迫使系統增加多餘的編解碼次數。為了增進頻寬的使用效率以及減少系統的編解碼次數,本發明另提供了一第二實施例,其係依據該音訊資料的格式而由複數個候選資料長度中選出一額定資料長度來對該音訊資料進行加密,其中音訊資料的格式包含有取樣頻率、位元數、聲道數中至少其一。關於此第二實施例的細節說明加下。For the first embodiment described above, the nominal data length is a fixed number of bits (that is, 768 bits) regardless of the format of the audio material to be encrypted. Therefore, no matter how many bytes of audio data before encryption, the junk data padding is used to ensure that the length of the data processed by the next encryption program (such as AES128) is equal to a nominal data length, which is 768 bits. Thus, each AES128 encryption program can obtain six 128-bit encrypted data. However, the encrypted data having 768 bits will occupy a large amount of bandwidth in the audio link 150 between the host system 110 and the audio codec chip 140 and force the system to add redundant codecs. In order to improve the use efficiency of the bandwidth and reduce the number of codecs of the system, the present invention further provides a second embodiment, which selects a nominal data length from a plurality of candidate data lengths according to the format of the audio data. The audio data is encrypted, wherein the format of the audio data includes at least one of a sampling frequency, a number of bits, and a number of channels. A detailed description of this second embodiment is added.

第7圖為顯示對應AES128加密規格的複數個候選資料長度的一表格,其包含有128位元(1×128位元),256位元(2×128位元),384位元(3×128位元),512位元(4×128位元),640位元(5×128位元),728位元(6×128位元)。在此第二實施例中,加密程序自候選資料長度中,選出不小於並最接近音訊資料之位元數的一候選資料長度,並依據所選取的候選資料長度來加密音訊資料。因此,加密程序依據音訊資料的格式,應用不同的位元數(128,256,384,512,640,728)來對具有不同取樣頻率與不同頻道數的音訊資料進行加密。同樣地,若是音訊資料於加密前的資料長度較所選取的額定候選資料長度來得少(即大多數情形),則於加密時會先以一垃圾資料來填塞至訊框中以使其資料長度達到所選取的額定候選資料長度。對於熟習此項技藝者而言,應可在閱讀上述段落後輕易了解填塞垃圾資料的運作方式,故相關細節於此便不再一一贅述。而後,音訊資料連同填塞之垃報資料便依照AES128之加密標準而轉換成複數筆128位元之加密資料,具體來說,AES128加密標準於所選取的額定候選資料長度為128位元時會產生一筆128位元的加密資料、於所選取的額定候選資料長度為256位元時會產生兩筆128位元的加密資料、於所選取的額定候選資料長度為384位元時會產生三筆128位元的加密資料、於所選取的額定候選資料長度為512位元時會產生四筆128位元的加密資料、於所選取的額定候選資料長度為640位元時會產生五筆128位元的加密資料以及於所選取的額定候選資料長度為768位元時會產生六筆128位元的加密資料。Figure 7 is a table showing the length of a plurality of candidate data corresponding to the AES128 encryption specification, which includes 128 bits (1 × 128 bits), 256 bits (2 × 128 bits), and 384 bits (3 × 128 bits), 512 bits (4 x 128 bits), 640 bits (5 x 128 bits), 728 bits (6 x 128 bits). In this second embodiment, the encryption program selects a candidate data length that is not less than and closest to the number of bits of the audio data from the candidate data length, and encrypts the audio data according to the selected candidate data length. Therefore, the encryption program encrypts the audio data having different sampling frequencies and different channel numbers according to the format of the audio data by using different bit numbers (128, 256, 384, 512, 640, 728). Similarly, if the length of the data before encryption is less than the length of the selected candidate data (ie, most cases), the data will be padded with a junk data to make the data length. The selected rated candidate data length is reached. For those skilled in the art, it should be easy to understand how the stuffing of junk data works after reading the above paragraphs, so the details will not be repeated here. Then, the audio data together with the padding data is converted into a plurality of 128-bit encrypted data according to the AES128 encryption standard. Specifically, the AES128 encryption standard is generated when the selected candidate data length is 128 bits. A 128-bit encrypted data will generate two 128-bit encrypted data when the selected candidate data length is 256 bits. When the selected rated candidate data length is 384 bits, three pens will be generated. The encrypted data of the bit will generate four 128-bit encrypted data when the selected rated candidate data length is 512 bits, and five 128-bits will be generated when the selected rated candidate data length is 640 bits. The encrypted data and the selected nominal candidate data length of 768 bits will generate six 128-bit encrypted data.

請參照第8圖,第8圖係顯示當所欲傳輸之音訊資料的格式為48kHz/2ch/24bits時,也就是說,當音訊資料具有取樣率48kHz、2聲道以及每一聲道之每次取樣為24位元的資料長度,第1圖中之加密音訊資料傳輸裝置100依據第二實施例對音訊資料進行垃圾資料填塞及進行加密之示意圖。因為音訊資料的位元數為48(24位元×2聲道×1),所選取的候選資料長度,依據一實施態樣為最接近音訊資料的位元數,即為128位元。由於所選取的候選資料長度為128位元,但是音訊資料只會使用到48位元的資料長度,因此便會以垃圾資料來填塞所剩餘的80位元以使其資料長度達到額定資料長度(亦即128位元),接著,再將上述128位元之資料加密以產生一筆128位元之加密資料,並將其儲存在一記憶裝置中,以待後續透過HDA連結150傳送至音訊編解碼晶片140。同樣地,第9、10、11圖中則分別顯示當所欲傳輸之音訊資料的格式為48kHz/8ch/24bits、192kHz/2ch/24bits、192kHz/8ch/24bits時,第1圖中之加密音訊資料傳輸裝置100依據第二實施例對音訊資料進行垃圾資料填塞及進行加密之示意圖。Please refer to Figure 8. Figure 8 shows when the format of the audio data to be transmitted is 48kHz/2ch/24bits, that is, when the audio data has a sampling rate of 48kHz, 2 channels and each channel. The sub-sampling is a 24-bit data length, and the encrypted audio data transmission device 100 in FIG. 1 is a schematic diagram of filling and encrypting the audio data according to the second embodiment. Since the number of bits of the audio data is 48 (24 bits x 2 channels x 1), the length of the selected candidate data is 128 bits in accordance with an implementation aspect of the number of bits closest to the audio data. Since the selected candidate data length is 128 bits, the audio data will only use the data length of 48 bits, so the remaining 80 bits will be filled with the garbage data to make the data length reach the rated data length ( That is, 128 bits), and then encrypt the 128-bit data to generate a 128-bit encrypted data, and store it in a memory device for later transmission to the audio codec through the HDA link 150. Wafer 140. Similarly, in Figures 9, 10, and 11, the encrypted audio in Figure 1 is displayed when the format of the audio data to be transmitted is 48 kHz/8ch/24bits, 192kHz/2ch/24bits, 192kHz/8ch/24bits, respectively. The data transmission device 100 performs a method of stuffing and encrypting the audio data according to the second embodiment.

概括來說,在此第二實施例中,額定資料長度為一可變之資料長度,並非總是等於768位元,而是取決於音訊資料的格式,或者,可由使用者自行設定。因此,填塞入音訊資料的垃圾資料是可彈性調整的,主要取決於所選用的候選資料長度。相較於之前所述的第一實施例,此第二實施例可更加有效率地減少所填塞的垃圾資料,進而減少音訊編解碼晶片140在解碼程序的負擔並增進HDA連結的頻寬使用效率以提高總體的資料吞吐量,而整體的系統耗電量也可大幅減少。此外,主機系統110的直接記憶體存取(Direct Memory Access,DMA)緩衝區的使用效率也可大為提高。另外,由於額定資料長度不是一固定值,所傳送之音訊資料的加密效果以及安全性也因而進一步地提高了。而且,因為音訊資料格式係非固定的,所以傳輸過程中並不需要針對取樣率44.1KHz、88.2KHz和176.4KHz之原始訊號插入額外的節拍,故可減輕主機系統110與音訊編解碼晶片140的負載,如此一來,便可更進一步地降低整體耗電量。In summary, in this second embodiment, the nominal data length is a variable data length, which is not always equal to 768 bits, but depends on the format of the audio material, or can be set by the user. Therefore, the junk data stuffed into the audio data is elastically adjustable, mainly depending on the length of the candidate data selected. Compared with the first embodiment described above, the second embodiment can more effectively reduce the stuffed junk data, thereby reducing the burden on the decoding process of the audio codec chip 140 and improving the bandwidth usage efficiency of the HDA link. In order to improve the overall data throughput, the overall system power consumption can also be greatly reduced. In addition, the efficiency of the direct memory access (DMA) buffer of the host system 110 can be greatly improved. In addition, since the rated data length is not a fixed value, the encryption effect and security of the transmitted audio data are further improved. Moreover, since the audio data format is not fixed, it is not necessary to insert additional beats for the original signals of the sampling rates of 44.1 kHz, 88.2 kHz, and 176.4 kHz during the transmission process, so that the host system 110 and the audio codec chip 140 can be lightened. The load, in this way, can further reduce the overall power consumption.

上述關於本發明於進行加密時所使用的AES加密標準,其詳細運作方式係為熟習AES加密技術之人於了解本發明之揭露內容之後,即可輕易實施者,故將不在此一一贅述。而熟習加密技術者亦應理解,本發明之加密音訊資料傳輸裝置100及其所使用之加密方法,並不僅限於使用AES加密標準來實現,其他任何能夠達到音訊資料之儲存及傳輸時之資訊安全目的的加密方式,均可應用於本發明之中。又雖然本發明並不以使用HDA連結為限,但是由於在進行AES128或是其他加密標準進行音訊資料之加密時,會引進大量的非音訊資料(如上述用來填塞的垃圾資料)以提升加密的安全性,故用來傳輸資料的連結自然以具有高傳輸頻寬的HDA連結或是其他序列連結(serial link)為佳。再者,主機系統110自音訊資料源130所接收下來的音訊資料,其資料格式可以是具有其他標準化(standardized)或是自行制訂(proprietary)的加密規格,此時主機系統110中的軟體部份(即應用程式122及驅動程式124)只要具有對此屬於音訊資料源之加密規格進行解密,再將解密後之音訊資料以本發明為儲存及/或傳輸之用所設計之加密規格(如AES128)進行加密,仍無礙於本發明之實施。The detailed operation mode of the above-mentioned AES encryption standard used in the encryption of the present invention is that the person familiar with the AES encryption technology can easily implement the disclosure of the present invention, and thus will not be described herein. Those skilled in the art of cryptography should also understand that the encrypted audio data transmission device 100 of the present invention and the encryption method used therein are not limited to use the AES encryption standard, and any other information security for storing and transmitting audio data. The purpose of the encryption method can be applied to the present invention. Moreover, although the present invention is not limited to the use of HDA links, a large amount of non-audio data (such as the junk material used for padding) is introduced to enhance encryption when audio data is encrypted by AES128 or other encryption standards. Security, so the link used to transmit data is naturally HDA links with high transmission bandwidth or other serial links. Moreover, the audio data received by the host system 110 from the audio data source 130 may have other standardized or proprietary encryption specifications, and the software component of the host system 110 at this time. (ie, application 122 and driver 124) as long as it has an encryption specification for decrypting the encryption specification belonging to the audio data source, and then designing the decrypted audio data for storage and/or transmission according to the present invention (eg, AES128) Encryption still does not hinder the implementation of the present invention.

綜上所述,本發明利用軟體來進行加密以保護音訊資料,以避免在儲存及/或傳送過程被不法使用者所竊取,而當用來處理並播放聲音之音效裝置,如音訊編解碼晶片140接收到加密後的音訊資料之後,便可利用解密的技術來還原得到原始的音訊資料,藉此方法達到保護的效果。In summary, the present invention utilizes software for encryption to protect audio data to avoid being stolen by unscrupulous users during storage and/or transmission, and as a sound effect device for processing and playing sound, such as an audio codec chip. After receiving the encrypted audio data, the 140 can use the decryption technology to restore the original audio data, thereby achieving the protection effect.

以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。The above are only the preferred embodiments of the present invention, and all changes and modifications made to the scope of the present invention should be within the scope of the present invention.

以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。The above are only the preferred embodiments of the present invention, and all changes and modifications made to the scope of the present invention should be within the scope of the present invention.

100...加密音訊資料傳輸裝置100. . . Encrypted audio data transmission device

110...主機系統110. . . Host system

112...中央處理單元112. . . Central processing unit

114...北橋晶片114. . . North Bridge Chip

116...記憶體116. . . Memory

118...南橋晶片118. . . South Bridge Chip

122...應用程式122. . . application

124...驅動程式124. . . Driver

140...音訊解碼晶片140. . . Audio decoding chip

142...解密功能142. . . Decryption function

第1圖為本發明一實施例之加密音訊資料傳輸裝置的示意圖。FIG. 1 is a schematic diagram of an encrypted audio data transmission apparatus according to an embodiment of the present invention.

第2圖為高傳真音效架構下之音樂資料的示意圖。Figure 2 is a schematic diagram of the music material under the high-fidelity sound architecture.

第3圖為第1圖中之加密音訊資料傳輸裝置依據第一實施例對具有格式為48kHz/2ch/24bits之欲傳輸音訊資料進行垃圾資料填塞及進行加密的示意圖。FIG. 3 is a schematic diagram of the encrypted audio data transmission apparatus in FIG. 1 for filling and encrypting the junk data to be transmitted with the format of 48 kHz/2ch/24 bits according to the first embodiment.

第4圖為第1圖中之加密音訊資料傳輸裝置依據第一實施例對具有格式為48kHz/8ch/24bits之欲傳輸音訊資料進行垃圾資料填塞及進行加密的示意圖。FIG. 4 is a schematic diagram of the encrypted audio data transmission apparatus in FIG. 1 for filling and encrypting the garbage data to be transmitted with the format of 48 kHz/8ch/24 bits according to the first embodiment.

第5圖為第1圖中之加密音訊資料傳輸裝置依據第一實施例對具有格式為192kHz/2ch/24bits之欲傳輸音訊資料進行垃圾資料填塞及進行加密的示意圖。FIG. 5 is a schematic diagram of the encrypted audio data transmission apparatus in FIG. 1 for filling and encrypting the junk data to be transmitted with the format of 192 kHz/2ch/24 bits according to the first embodiment.

第6圖為第1圖中之加密音訊資料傳輸裝置依據第一實施例對具有格式為192kHz/8ch/24bits之欲傳輸音訊資料進行垃圾資料填塞及進行加密的示意圖。FIG. 6 is a schematic diagram of the encrypted audio data transmission device in FIG. 1 for filling and encrypting the junk data to be transmitted with the format of 192 kHz/8 ch/24 bits according to the first embodiment.

第7圖為包含複數個候選資料長度之表格的示意圖。Figure 7 is a schematic diagram of a table containing a plurality of candidate data lengths.

第8圖為第1圖中之加密音訊資料傳輸裝置依據第二實施例對具有格式為48kHz/2ch/24bits之欲傳輸音訊資料進行垃圾資料填塞及進行加密的示意圖。FIG. 8 is a schematic diagram of the encrypted audio data transmission apparatus in FIG. 1 for filling and encrypting the garbage data to be transmitted with the format of 48 kHz/2ch/24 bits according to the second embodiment.

第9圖為第1圖中之加密音訊資料傳輸裝置依據第二實施例對具有格式為48kHz/8ch/24bits之欲傳輸音訊資料進行垃圾資料填塞及進行加密的示意圖。FIG. 9 is a schematic diagram of the encrypted audio data transmission device in FIG. 1 for filling and encrypting the junk data to be transmitted with the format of 48 kHz/8 ch/24 bits in accordance with the second embodiment.

第10圖為第1圖中之加密音訊資料傳輸裝置依據第二實施例對具有格式為192kHz/2ch/24bits之欲傳輸音訊資料進行垃圾資料填塞及進行加密的示意圖。FIG. 10 is a schematic diagram of the encrypted audio data transmission apparatus in FIG. 1 for filling and encrypting the junk data to be transmitted with the format of 192 kHz/2ch/24 bits according to the second embodiment.

第11圖為第1圖中之加密音訊資料傳輸裝置依據第二實施例對具有格式為192kHz/8ch/24bits之欲傳輸音訊資料進行垃圾資料填塞及進行加密的示意圖。FIG. 11 is a schematic diagram of the encrypted audio data transmission apparatus in FIG. 1 for filling and encrypting the garbage data to be transmitted with the format of 192 kHz/8ch/24 bits according to the second embodiment.

100...加密音訊資料傳輸裝置100. . . Encrypted audio data transmission device

110...主機系統110. . . Host system

112...中央處理單元112. . . Central processing unit

114...北橋晶片114. . . North Bridge Chip

116...記憶體116. . . Memory

118...南橋晶片118. . . South Bridge Chip

122...應用程式122. . . application

124...驅動程式124. . . Driver

140...音訊解碼晶片140. . . Audio decoding chip

142...解密功能142. . . Decryption function

150...音訊連結150. . . Audio link

Claims (10)

一種音訊處理系統,其包含有:一主機系統,用來接收一音訊資料,並依據一加密方法與該音訊資料的一格式對該音訊資料加密以產生一加密後音訊資料;以及一音效裝置,透過一介面耦接於該主機系統,用來透過該連介面接收該加密後音訊資料,並對該加密後音訊資料進行一解密處理;其中,該主機系統所產生之該加密後音訊資料的一資料長度係取決於該音訊資料之該格式。An audio processing system includes: a host system for receiving an audio data, encrypting the audio data with a format of the audio data according to an encryption method to generate an encrypted audio material; and an audio device, The interface is coupled to the host system for receiving the encrypted audio data through the interface, and decrypting the encrypted audio data; wherein the encrypted audio data generated by the host system is The length of the data depends on the format of the audio material. 如申請專利範圍第1項所述之音訊處理系統,其中該音訊資料的該格式包含有取樣頻率、位元數、聲道數中至少其一。The audio processing system of claim 1, wherein the format of the audio data comprises at least one of a sampling frequency, a number of bits, and a number of channels. 如申請專利範圍第1項所述之音訊處理系統,其中該主機系統依據該音訊資料之該格式由複數個候選資料長度選出一資料長度,並依據該加密方法與所選取之該資料長度來對該音訊資料加密。The audio processing system of claim 1, wherein the host system selects a data length from the plurality of candidate data lengths according to the format of the audio data, and according to the encryption method and the length of the selected data. The audio data is encrypted. 如申請專利範圍第3項所述之音訊處理系統,其中該主機系統選出之該資料長度係為該些候選資料長度中最接近該音訊資料之資料長度。The audio processing system of claim 3, wherein the length of the data selected by the host system is the length of the data of the candidate data that is closest to the audio data. 如申請專利範圍第4項所述之音訊處理系統,其中該主機系統另包含有一應用程式,用來執行該加密處理。The audio processing system of claim 4, wherein the host system further comprises an application for performing the encryption process. 一種音訊資料傳輸方法,其包含有:依照一加密方法一與一音訊資料的一格式對該音訊資料進行一加密處理來產生一加密後音訊資料;依據一連結規格將該加密後音訊資料傳送至一音效裝置;以及利用該音效裝置對該加密後音訊資料進行一解密處理;其中,該加密後音訊資料的一資料長度為一可變之資料長度。An audio data transmission method includes: encrypting an audio data according to an encryption method and a format of an audio data to generate an encrypted audio data; and transmitting the encrypted audio data according to a link specification to And a sound effect device; and the decrypted audio data is decrypted by the sound effect device; wherein the data length of the encrypted audio data is a variable data length. 如申請專利範圍第6項所述之音訊資料傳輸方法,其中該加密後音訊資料之該資料長度係取決於該音訊資料之該格式。The method of transmitting audio data according to claim 6, wherein the length of the data of the encrypted audio data depends on the format of the audio data. 如申請專利範圍第7項所述之音訊資料傳輸方法,其中該音訊資料的該格式包含有取樣頻率、位元數、聲道數中至少其一。The audio data transmission method of claim 7, wherein the format of the audio data comprises at least one of a sampling frequency, a number of bits, and a number of channels. 如申請專利範圍第7項所述之音訊資料傳輸方法,其中對該音訊資料進行該加密處理的步驟包含有:依據該音訊資料之該格式由複數個候選資料長度選出一資料長度;以及依據該加密方法與所選取之該資料長度來對該音訊資料加密。The method for transmitting audio data according to claim 7, wherein the step of performing the encryption processing on the audio data comprises: selecting a data length from a plurality of candidate data lengths according to the format of the audio data; The encryption method encrypts the audio data with the length of the selected data. 如申請專利範圍第6項所述之音訊資料傳輸方法,其中該加密後音訊資料之該資料長度係取決於一使用者之設定。The method of transmitting audio data according to claim 6, wherein the length of the encrypted audio data depends on a user setting.
TW99114956A 2009-05-26 2010-05-11 Audio data transmission method and audio processing system thereof TWI430644B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US12/471,495 US20090254743A1 (en) 2006-12-21 2009-05-26 Flexable audio data transmission method for transmitting encrypted audio data, audio processing system and computer system thereof

Publications (2)

Publication Number Publication Date
TW201143340A TW201143340A (en) 2011-12-01
TWI430644B true TWI430644B (en) 2014-03-11

Family

ID=43227546

Family Applications (1)

Application Number Title Priority Date Filing Date
TW99114956A TWI430644B (en) 2009-05-26 2010-05-11 Audio data transmission method and audio processing system thereof

Country Status (2)

Country Link
CN (1) CN101902322B (en)
TW (1) TWI430644B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104269174B (en) * 2014-10-24 2018-02-09 北京音之邦文化科技有限公司 A kind of processing method and processing device of audio signal
TWI812947B (en) * 2021-05-06 2023-08-21 瑞昱半導體股份有限公司 External audio device and method for operating an external audio device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200828934A (en) * 2006-12-21 2008-07-01 Realtek Semiconductor Corp Audio data transmission method for transmitting encrypted audio data and audio processing system and computer system thereof
CN101169953B (en) * 2007-11-29 2010-06-02 四川长虹电器股份有限公司 MP3 content encryption method
CN101335615B (en) * 2008-05-30 2010-12-29 北京飞天诚信科技有限公司 Method used in key consultation of USB KEY audio ciphering and deciphering device

Also Published As

Publication number Publication date
CN101902322A (en) 2010-12-01
CN101902322B (en) 2013-09-04
TW201143340A (en) 2011-12-01

Similar Documents

Publication Publication Date Title
US20080152138A1 (en) Audio data transmission method for transmitting encrypted audio data, audio processing system and computer system thereof
US7219238B2 (en) Data transfer control device, electronic instrument, and data transfer control method
EP2568713B1 (en) Electronic device and method of transmitting content item
JP2002244929A (en) Digital copying method and digital content recording device
US20120269340A1 (en) Hierarchical encryption/decryption device and method thereof
JP2005244992A (en) Instrument and method equipped with limited receiving function and copy prevention function for encryption of broadcast data
JP2004226969A (en) Cryptographic system and method for supporting multiple modes
US7937595B1 (en) Integrated encryption/decryption functionality in a digital TV/PVR system-on-chip
JP2007306170A (en) Information processing system and method, information processor and method, and program
US20060018465A1 (en) Information-processing system, information-processing apparatus, information-processing method, and program
KR20050069924A (en) Block encoding/decoding method, circuit, and device
CN102682812A (en) Recording reproduction apparatus and recording reproduction method, recording apparatus and recording method
TWI430644B (en) Audio data transmission method and audio processing system thereof
US20070124821A1 (en) Information processing apparatus and encrypting/decrypting method
US8832845B2 (en) Apparatus, method and program
KR20050069927A (en) Block encoding method and block encoding/decoding circuit
JP2007306171A (en) Information processing system and method, information processor and method, and program
US20040133780A1 (en) AV communication control circuit for realizing copyright protection with respect to radio LAN
US20040264927A1 (en) Modular architecture to unify the playback of DVD technologies
US20090254743A1 (en) Flexable audio data transmission method for transmitting encrypted audio data, audio processing system and computer system thereof
JP5361031B2 (en) Cryptographic authentication processing method and apparatus
JP2003345660A (en) Apparatus and method for information processing, system and method for content input/output processing, and computer program
JP2004109177A (en) Content data recording medium, content data decoder, content data encryption device, method of decoding content data, and method of encrypting content data
KR20110070499A (en) Apparatus, system and method for sharing digital contents between devices
JP2003169092A (en) Encryption device and decryption device