APPARATUS FOR AUDIO DATA PROCESSING AND METHOD THEREFOR

Abstract
An apparatus for audio data processing and a method therefor are provided. The apparatus includes a processing unit and an audio decoder. The processing unit receives an audio data stream, and the audio data stream includes a first frame header that complies with a communication protocol and an audio data encoded in an audio compression format. The processing unit parses the audio data stream to split the first frame header and the audio data, generates at least one frame information according to the first frame header, and acquires a second frame header according to the frame information. Here, the second frame header complies with an international audio and video coding standard. The audio decoder is coupled to the processing unit, receives the second frame header and the audio data from the processing unit, and decompresses the audio data according to the second frame header.
Description
CROSS-REFERENCE TO RELATED APPLICATION

This application claims the priority benefit of China application serial no. 201210022676.1, filed on Jan. 20, 2012. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.


BACKGROUND OF THE INVENTION

1. Field of the Invention


The invention relates to an apparatus for data processing and a method therefor, and more particularly to an apparatus for audio data processing and a method therefor.


2. Description of Related Art


Development of science and technologies leads to the increasing demand for quality of multimedia. Accordingly, the digital audio broadcasting (DAB) standard, a digital technology standard for broadcasting audio streams, has been developed. In comparison with the conventional analog broadcasts, e.g., the analog FM radio, the DAB broadcasts are characterized by high fidelity as well as resistance to noise and co-channel interference. Further, a DAB ensemble is able to include multiple channels within one single bandwidth. Recently, new standards (e.g., the digital audio broadcasting plus (DAB+) standard) that resolve issues existing in the old standard have been widely adopted over various countries.


According to the DAB+ standard, the audio data is encoded and compressed in compliance with high efficiency advanced audio coding (HE-AAC), so as to ameliorate the reception quality and improve the quality of the broadcast audio data. As a matter of fact, normal audio decoders (e.g., an audio decoder installed in a digital television chip or a digital audio player) capable of decoding advanced audio coding (AAC) encoded streams/packets can decode the HE-AAC encoded frames/streams as long as the available data parameters are sufficient. Nevertheless, according to the DAB+ standard, the HE-AAC encoded audio data is transported in form of an audio super frame (ASF) format, and the data parameters required for decoding data streams are stored in the header of the ASF. Thereby, the audio data cannot be directly decoded and broadcast even through the audio decoder capable of decoding the AAC encoded streams/packets is applied.


SUMMARY OF THE INVENTION

The invention is directed to an apparatus for audio data processing and a method therefor. Specifically, an audio decoder may acquire the frame information required for data decoding from the unidentifiable header, so as to perform a decoding process.


In the invention, an apparatus for audio data processing and a method therefor are provided. The apparatus includes a processing unit and an audio decoder. The processing unit receives an audio data stream, and the audio data stream includes a first frame header that complies with a communication protocol and an audio data encoded in an audio compression format. The processing unit parses the audio data stream to split the first frame header and the audio data, generates at least one frame information according to the first frame header, and acquires a second frame header according to the frame information. Here, the second frame header complies with an international audio and video coding standard. The audio decoder is coupled to the processing unit, receives the second frame header and the audio data from the processing unit, and decompresses the audio data according to the second frame header.


In the invention, a method for audio data processing includes following steps. An audio data stream is received. Here, the audio data stream includes a first frame header that complies with a communication protocol and an audio data encoded in an audio compression format. The audio data stream is parsed to split the first frame header and the audio data, and at least one frame information is acquired according to the first frame header. A second frame header is generated according to the frame information. Here, the second frame header complies with an international audio and video coding standard. The audio data is decompressed according to the second frame header.


Based on the above, the invention provides an apparatus for audio data processing and a method therefor. Specifically, frame information required for decoding data may be retrieved from a frame header that complies with a communication protocol, and the frame information is then converted into a format that can be recognized by the audio decoder, such that the audio decoder is able to perform the decoding process according to the frame information and broadcast the decoded data.


Other features and advantages of the invention will be further understood from the further technological features disclosed by the embodiments of the invention wherein there are shown and described embodiments of this invention, simply by way of illustration of modes best suited to carry out the invention.





BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings are included to provide further understanding, and are incorporated in and constitute a part of this specification. The drawings illustrate exemplary embodiments and, together with the description, serve to explain the principles of the disclosure.



FIG. 1 is a block view illustrating an apparatus for audio data processing according to an embodiment of the invention.



FIG. 2 is a flow chart illustrating a method for audio data processing according to an embodiment of the invention.





DESCRIPTION OF EMBODIMENTS


FIG. 1 is a block view illustrating an apparatus for audio data processing according to an embodiment of the invention. With reference to FIG. 1, an apparatus 10 for audio data processing includes a processing unit 110 and an audio decoder 120. The processing unit 110 receives an audio data stream AS. In the present embodiment, the audio data stream AS complies with the DAB+ standard and includes a first frame header in the ASF encapsulation format and an audio data encoded and compressed in the HE-AAC format. Note that the invention described herein is not limited to the above-mentioned communication protocol and encoding format.


The processing unit 110 parses the audio data stream AS to split the first frame header and the audio data AD. According to the first frame header, the processing unit 110 generates at least one frame information which includes information indispensible for decoding the HE-AAC audio data. For instance, such information may include parameters in connection with the stored audio data and the transport audio data. The processing unit 110 thereby acquires a second frame header FH2 according to said frame information.


The second frame header FH2 complies with an international audio and video coding standard. For instance, corresponding to the HE-AAC encoded audio data AD, the second frame header FH2 complies with a moving picture experts group-2 (MPEG-2) standard or a moving picture experts group-4 (MPEG-4) standard. Information required for decoding data streams is stored in the second frame header FH2 in compliance with the aforesaid international audio and video coding standard. For instance, a transport data and a storage data required for data decoding are respectively stored in the second frame header FH2 in an audio data transport stream (ADTS) format and an audio data interchange format (ADIF).


It should be mentioned that the HE-AAC format is defined in the MPEG-4 standard. Hence, even through the second frame header FH2 may be processed by the processing unit 110 to comply with the MPEG-2 standard and can then be successfully decoded by an end audio decoder (e.g., the audio decoder 120) that is capable of decoding AAC encoded frames, in the present embodiment, it is preferable to process the second frame header FH2 to comply with the MPEG-4 format with use of the processing unit 110. This embodiment should not be construed as a limitation to the invention. Note that the frame header should be in a format that can be recognized by a terminal audio decoder (e.g., the audio decoder 120).


As shown in FIG. 1, the audio decoder 120 is coupled to the processing unit 110, receives the second frame header FH2 and the audio data AD from the processing unit 110, and decompresses the audio data AD according to the second frame header FH2, so as to acquire and further broadcast the decompressed audio data DAS.


In the present embodiment, the audio decoder 120 is able to decode the AAC encoded audio data. Since the HE-AAC format is characterized by backward compatibility, the audio decoder 120 capable of decoding the AAC encoded audio data can also decode the HE-AAC encoded audio data (e.g., the audio data AD). What is more, the audio decoder 120 is not only capable of decoding the AAC encoded audio data but also able to identify the format complying with the MPEG-2 standard or the MPEG-4 standard. Accordingly, when the audio decoder 120 decodes the audio data AD, the audio decoder 120 can retrieve information required for decoding data from the second frame header FH2, decodes the audio data AD according to the retrieved information, and acquires and broadcasts the decompressed audio data DAS. Here, the retrieved information is, for instance, the transport data stored in the ADTS format or the storage data in ADIF.



FIG. 2 is a flow chart illustrating a method for audio data processing according to an embodiment of the invention. With reference to FIG. 2, in step S101, an audio data stream is received. Here, the audio data stream includes a first frame header that complies with a communication protocol and an audio data encoded in an audio compression format. In step S102, the audio data stream is parsed to split the first frame header and the audio data, and at least one frame information is acquired according to the first frame header. In step S103, a second frame header is generated according to the frame information. Here, the second frame header complies with an international audio and video coding standard. In step S104, the audio data is decompressed according to the second frame header. The detailed implementation of said method can be learned with reference to the descriptions in the previous embodiment shown in FIG. 1 and will not be further described hereinafter.


To sum up, the invention provides an apparatus and a method for audio data processing. When the audio decoder is capable of decoding an encoded audio data, e.g., an AAC encoded data or an HE-AAC encoded data, the processing unit can first retrieve the information required for decoding data from the header of the audio data stream in an unidentifiable format and convert the same into a format that can be recognized by the audio decoder, such that the audio decoder can retrieve the information required for decoding data from the identifiable frame header and decode the data. Here, the unidentifiable format may be an ASF format in compliance with the DAB+ standard, and the format which can be recognized by the audio decoder may be a header format complying with the MPEG-2 standard or the MPEG-4 standard.


It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the disclosed embodiments without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the invention cover modifications and variations of this invention provided they fall within the scope of the following claims and their equivalents.

Claims
  • 1. An apparatus for audio data processing, the apparatus comprising: a processing unit receiving an audio data stream, the audio data stream comprising a first frame header and an audio data, the first frame header complying with a communication protocol, the audio data being encoded in an audio compression format, the processing unit parsing the audio data stream to split the first frame header and the audio data, generating at least one frame information according to the first header, and acquiring a second frame header according to the at least one frame information, wherein the second frame header complies with an international audio and video coding standard; andan audio decoder coupled to the processing unit, the audio decoder receiving the second frame header and the audio data and decompressing the audio data according to the second frame header.
  • 2. The apparatus as recited in claim 1, wherein the communication protocol is digital audio broadcasting or digital audio broadcasting plus.
  • 3. The apparatus as recited in claim 1, wherein the communication protocol is digital audio broadcasting, and the audio compression format is high efficiency advanced audio coding.
  • 4. The apparatus as recited in claim 2, wherein the first frame header is in an audio super frame format complying with digital audio broadcasting or digital audio broadcasting plus.
  • 5. The apparatus as recited in claim 2, wherein the international audio and video coding standard is a moving picture experts group-4 standard, andthe at least one frame information comprises a transport data complying with an audio data transport stream format and a storage data complying with an audio data interchange format.
  • 6. The apparatus as recited in claim 5, wherein the second frame header complies with an advanced audio coding compression format.
  • 7. A method for audio data processing, the method comprising: receiving an audio data stream, wherein the audio data steam comprises a first frame header and an audio data, the first frame header complies with a communication protocol, and the audio data is encoded in an audio compression format;parsing the audio data stream to split the first frame header and the audio data and acquiring at least one frame information according to the first frame header;generating a second frame header according to the at least one frame information, wherein the second frame header complies with an international audio and video coding standard; anddecompressing the audio data according to the second frame header.
  • 8. The method as recited in claim 7, wherein the communication protocol is digital audio broadcasting or digital audio broadcasting plus.
  • 9. The method as recited in claim 7, wherein the communication protocol is digital audio broadcasting, and the audio compression format is high efficiency advanced audio coding.
  • 10. The method as recited in claim 9, wherein the first frame header is in an audio super frame format complying with digital audio broadcasting or digital audio broadcasting plus.
  • 11. The method as recited in claim 8, wherein the international audio and video coding standard is a moving picture experts group-4 standard; andthe at least one frame information comprises a transport data complying with an audio data transport stream format and a storage data complying with an audio data interchange format.
  • 12. The method as recited in claim 11, wherein the second frame header complies with an advanced audio coding compression format.
Priority Claims (1)
Number Date Country Kind
201210022676.1 Jan 2012 CN national