KR20130113742A - Audio data decoding method and device - Google Patents

Audio data decoding method and device Download PDF

Info

Publication number
KR20130113742A
KR20130113742A KR1020120036172A KR20120036172A KR20130113742A KR 20130113742 A KR20130113742 A KR 20130113742A KR 1020120036172 A KR1020120036172 A KR 1020120036172A KR 20120036172 A KR20120036172 A KR 20120036172A KR 20130113742 A KR20130113742 A KR 20130113742A
Authority
KR
South Korea
Prior art keywords
audio
frame
error
audio frame
audio data
Prior art date
Application number
KR1020120036172A
Other languages
Korean (ko)
Inventor
이용준
Original Assignee
현대모비스 주식회사
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
Application filed by 현대모비스 주식회사 filed Critical 현대모비스 주식회사
Priority to KR1020120036172A priority Critical patent/KR20130113742A/en
Priority to CN201310110159.4A priority patent/CN103366781B/en
Publication of KR20130113742A publication Critical patent/KR20130113742A/en

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/0017Lossless audio signal coding; Perfect reconstruction of coded audio signal by transmission of coding error
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/005Correction of errors induced by the transmission channel, if related to the coding algorithm

Landscapes

  • Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

PURPOSE: An audio data decoding method and a device thereof are provided to stably play audio signals even when an error or a damage is generated in the audio signal. CONSTITUTION: A receiving part (600) receives an audio signal. A storing part (620) stores the information field of the frame [frame] of a normal state. A control part (610) confirms the error of the frame. The control part copies the information field of the frame of a normal state to the frame having the error. An adjusting part (640) adjusts the output of an audio according to the frequency of the error. [Reference numerals] (600) Receiving part; (610) Control part; (620) Storing part; (630) Output part; (640) Adjusting part; (AA) Audio signal; (BB) Audio output

Description

오디오 데이터 디코딩 방법 및 장치 {Audio Data Decoding Method and Device}Audio data decoding method and device

본 발명의 배경 기술은 오디오 데이터의 전송 과정에서 인코딩되어 전송된 오디오 신호를 받아 오디오를 출력하기 위해 오디오 신호를 디코딩하는 기술로서, 구체적으로는 수신된 오디오 신호를 디코딩하여 오디오로 출력하는 과정에서 오디오 프레임의 손실로 인해 발생하는 노이즈를 방지하기 위한 디코딩 방법 및 장치에 관한 것이다.
Background Art of the present invention is a technique of decoding an audio signal to receive an audio signal encoded and transmitted in the process of transmitting audio data and to output audio. Specifically, the audio signal is decoded and output as audio. The present invention relates to a decoding method and apparatus for preventing noise caused by loss of a frame.

멀티미디어 파일 포맷의 하나인 MP2(MPEG-1 LayerII 및 MPEG-2 LayerII) 오디오 규격을 사용하는 오디오 신호의 프레임은 도 1과 같은 구조로 이루어져 있으며 각 오디오 프레임에는 헤더 정보 필드와 SCF 정보 필드를 포함하고 있다.The frame of an audio signal using the MP2 (MPEG-1 LayerII and MPEG-2 LayerII) audio standard, which is one of the multimedia file formats, has a structure as shown in FIG. 1, and each audio frame includes a header information field and an SCF information field. have.

상세히 설명하면, 도 1은 MP2 오디오 규격을 사용하는 오디오 프레임의 구조를 나타낸 것으로 오디오 프레임은 크게 헤더 부분과 페이로드 부분으로 구성되어 있다. 오디오 프레임의 헤더 부분(100)은 해당 오디오 프레임에 대한 기본 정보를 저장하는 필드로 헤더 필드 옆에는 CRC 값(110)이 존재하고, 페이로드 부분에는 전송하고자 하는 오디오 데이터가 저장된다. 한편, 오디오 프레임에는 사용자의 위치 정보 등을 저장하는 SCF 정보 필드(120)와 SCF CRC 필드(130)도 포함된다.In detail, FIG. 1 illustrates the structure of an audio frame using the MP2 audio standard. The audio frame is largely composed of a header part and a payload part. The header portion 100 of the audio frame is a field for storing basic information about the audio frame. The CRC value 110 is present beside the header field, and the audio data to be transmitted is stored in the payload portion. The audio frame also includes an SCF information field 120 and an SCF CRC field 130 that store user location information.

수신기가 오디오 신호를 수신하여 디코딩하는 과정에서 송신된 데이터와 수신된 데이터 사이에 오류가 발생하였는지 여부를 판단하기 위해 오디오 프레임에 대한 유효성 검사가 진행되는데, 상기 검사는 필드에 포함된 정보를 이용하여 이루어진다.In the process of receiving and decoding an audio signal, a receiver performs a validity check on an audio frame to determine whether an error has occurred between the transmitted data and the received data. The check is performed by using information included in a field. Is done.

한편, 전파의 세기가 약해지거나 기타 다른 이유로 오디오 프레임이 훼손되어 상기 오류 검사 결과 수신된 오디오 프레임에 오류가 발생하였다고 판단될 경우에는, 해당 오디오 프레임을 버리고 나머지 오디오 프레임들에 대해서만 디코딩을 진행하여 오디오를 출력하게 된다.On the other hand, if it is determined that an error occurs in the received audio frame due to the weakening of the radio wave or other reasons, the audio frame is damaged, the audio frame is discarded and only the remaining audio frames are decoded and the audio is decoded. Will print

따라서, 종래 오디오 신호의 디코딩 방법에 따라 수신된 오디오 프레임의 오류를 검사하고 디코딩을 진행하게 되면, 오디오 프레임의 손실이 발생하게 되고 이러한 오디오 프레임의 손실로 인하여 오디오 프레임의 연속성이 깨지게 되며, 오디오 출력시 오디오 프레임의 연속성이 깨짐으로 인한 노이즈가 발생하여 사용자들이 오디오를 들음에 있어 불편함을 느끼는 문제가 있었다.Therefore, if the error of the received audio frame is checked and decoded according to the conventional audio signal decoding method, the loss of the audio frame occurs and the continuity of the audio frame is broken due to the loss of the audio frame. There is a problem that users feel uncomfortable with the audio due to noise generated due to broken continuity of audio frames.

도 2는 전술한 종래의 수신된 오디오 신호를 디코딩하는 방법을 그림으로 나타낸 것으로, 수신된 오디오 프레임의 유효성을 검사하여 검사 결과 오류가 있는 오디오 프레임 (invalid audio frame, 200)이 있는 경우에는 해당 오디오 프레임은 버리고 나머지 오디오 프레임에 대해서만 디코딩을 수행한다. 이러한 오디오 프레임의 손실로 인하여 디코딩 후 출력된 오디오에서 노이즈가 발생하게 된다.
FIG. 2 is a diagram illustrating a conventional method of decoding a received audio signal as described above. When there is an invalid audio frame 200 as a result of checking a validity of a received audio frame, FIG. Discard the frame and decode only the remaining audio frames. The loss of the audio frame causes noise in the output audio after decoding.

본 발명은 오디오 신호에 오류나 손실이 발생한 경우에도 안정적으로 오디오 신호의 재생이 가능하도록 하는 디코딩 방법 및 장치를 제공하는 데 그 목적이 있다.
An object of the present invention is to provide a decoding method and apparatus for stably reproducing an audio signal even when an error or loss occurs in the audio signal.

전술한 과제를 해결하기 위하여 본 발명은, 정상 상태의 오디오 프레임의 정보 필드를 저장한 다음 오류가 있는 오디오 프레임이 발생할 경우에 상기 정상 상태의 오디오 프레임의 정보 필드를 복사한다. 그리하여 상기 오류가 있는 오디오 프레임이 정상인 것으로 인식되게 하여 해당 오디오 프레임을 버리지 않고 디코딩이 진행되도록 함으로써 오디오 프레임의 끊김으로 인한 노이즈가 발생하지 않도록 한다.In order to solve the above problem, the present invention stores the information field of the audio frame in the normal state, and then copies the information field of the audio frame in the normal state when an errored audio frame occurs. Thus, the errored audio frame is recognized as normal so that decoding can proceed without discarding the audio frame, so that noise due to disconnection of the audio frame is not generated.

한편, 오류가 있는 오디오 프레임의 경우 데이터 부분도 깨져 있는 것이 일반적인데, 노이즈 발생을 방지하기 위해 오류가 있는 오디오 프레임도 버리지 않고 디코딩을 할 경우에는 데이터 부분이 깨진 오디오 프레임도 디코딩되어 오디오로 출력된다. 이 때 출력되는 오디오는 정상적이지 아니하므로 깨진 오디오 프레임이 연속해서 존재할 경우에는 이를 듣는 사용자들이 큰 불편함을 느끼게 되는 문제가 발생한다. 그러므로 이러한 문제를 해결하기 위하여 깨진 오디오 프레임이 연속되는 정도를 측정하여 임계치를 초과할 경우에는 오디오의 출력을 조절하여 사용자들이 느끼는 불편을 줄이도록 한다.
On the other hand, in case of an error audio frame, the data part is also broken. In order to prevent noise, if the audio frame is decoded without being discarded, the data part is also decoded and output as audio. . At this time, the output audio is not normal, so if there are continuous broken audio frames, the user who hears them feels a great inconvenience. Therefore, in order to solve this problem, if the broken audio frames are continuously measured and the threshold is exceeded, the output of the audio is adjusted to reduce the user's inconvenience.

본 발명은 오디오 출력에서 발생하는 노이즈를 최소화하여 오디오 출력에 대한 사용자들의 거부감을 감소시키고 수신성능을 향상시키는 한편, 약전계에서도 오디오가 안정적으로 재생이 가능하도록 하여 사용자들의 만족감을 높일 수 있다.
The present invention can minimize the noise generated in the audio output to reduce the user's rejection of the audio output and improve the reception performance, while enabling the audio to be stably reproduced in the weak electric field can increase the user's satisfaction.

도 1은 MP2 오디오 규격에서 오디오 프레임의 구조를 나타내는 도면.
도 2는 종래 기술의 디코딩 과정에서 수신된 오디오 프레임의 유효성을 검사한 후 오류가 있는 오디오 프레임을 발견했을 때의 조치를 설명하기 위한 도면.
도 3은 본 발명의 일 실시예에 따른 오디오 데이터의 디코딩 방법의 전반적인 순서를 나타내는 흐름도.
도 4는 본 발명의 일 실시예에서 오디오 프레임의 유효성을 검사한 후 오류가 있는 오디오 프레임을 발견했을 때의 조치를 설명하기 위한 도면.
도 5는 본 발명에서 오류가 있는 오디오 프레임이 연속될 경우에 오디오 출력을 조절하는 실시예를 도시한 도면.
도 6은 본 발명의 일 실시예에 따른 디코딩 방법이 구현된 디코딩 장치의 블록도.
1 is a diagram showing the structure of an audio frame in the MP2 audio standard.
FIG. 2 is a diagram for explaining an action when an errored audio frame is found after validating an audio frame received in a decoding process of the prior art; FIG.
3 is a flowchart showing the overall procedure of a method of decoding audio data according to an embodiment of the present invention.
FIG. 4 is a diagram for explaining an action when an errored audio frame is found after validating an audio frame in one embodiment of the present invention; FIG.
FIG. 5 is a diagram illustrating an embodiment in which an audio output is adjusted when error audio frames continue in the present invention; FIG.
6 is a block diagram of a decoding apparatus implemented with a decoding method according to an embodiment of the present invention.

본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 것이며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하며, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 기재에 의해 정의될 뿐이다. 한편, 본 명세서에서 사용된 용어는 실시예들을 설명하기 위한 것이며 본 발명을 제한하고자 하는 것은 아니다. 본 명세서에서, 단수형은 문구에서 특별히 언급하지 않는 한 복수형도 포함한다. 명세서에서 사용되는 "포함한다(comprises)" 또는 "포함하는(comprising)"은 언급된 구성요소, 단계, 동작 및/또는 소자 이외의 하나 이상의 다른 구성요소, 단계, 동작 및/또는 소자의 존재 또는 추가를 배제하지 않는다.Advantages and features of the present invention and methods for achieving them will be apparent with reference to the embodiments described below in detail with the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below, but will be implemented in various forms, and only the present embodiments are intended to complete the disclosure of the present invention, and the general knowledge in the art to which the present invention pertains. It is provided to fully convey the scope of the invention to those skilled in the art, and the invention is defined only by the description of the claims. It is to be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. In the present specification, the singular form includes plural forms unless otherwise specified in the specification. It is noted that " comprises, " or "comprising," as used herein, means the presence or absence of one or more other components, steps, operations, and / Do not exclude the addition.

본 발명은 수신된 오디오 프레임에 오류가 발생하더라도 오디오 프레임의 손실을 방지하여 노이즈가 발생하지 않도록 하는 발명이다. 오디오 프레임의 손실을 방지하기 위한 방법으로 오류가 발생한 오디오 프레임에 정상 상태의 오디오 프레임의 정보를 복사함으로써 정상 상태의 오디오 프레임으로 인식하게 하여 오디오 프레임이 버려지는 것을 방지한다. 따라서, 수신된 오디오 신호에서 정상 상태의 오디오 프레임의 정보들을 저장하고, 그 이후 오류가 발생하는 오디오 프레임에 상기 정상 상태의 오디오 프레임의 정보를 복사하여 오류가 발생한 오디오 프레임을 버리지 않고 디코딩이 진행되도록 하는 것이 본 발명의 핵심이다.The present invention prevents the loss of an audio frame even when an error occurs in the received audio frame so that noise does not occur. In order to prevent the loss of the audio frame, by copying the information of the audio frame in the normal state to the audio frame in which the error occurs, it is recognized as a normal audio frame to prevent the audio frame is discarded. Therefore, the information of the audio frame in the normal state is stored in the received audio signal, and after that, the information of the audio frame in the normal state is copied to the audio frame in which the error occurs so that decoding can proceed without discarding the audio frame in which the error occurs. It is the core of the present invention.

특히, MP2(MPEG-1 LayerII 및 MPEG-2 LayerII)의 오디오 규격을 사용하는 경우 모든 오디오 프레임은 헤더 필드와 SCF 필드를 포함하고 있고 오류의 확인은 헤더 필드와 SCF 필드의 CRC 값을 이용하여 이루어지므로, 정상 상태의 오디오 프레임의 헤더 필드와 SCF 필드를 저장한 후 오류가 있는 오디오 프레임 발견시 저장된 정상 상태의 오디오 프레임의 헤더 필드와 SCF 필드의 정보를 복사하여 모든 오디오 프레임에 대한 디코딩이 진행되도록 한다.In particular, when using the audio standards of MP2 (MPEG-1 LayerII and MPEG-2 LayerII), all audio frames include a header field and an SCF field, and errors are identified using CRC values of the header field and the SCF field. Save the header field and SCF field of the normal audio frame and copy the information of the header field and SCF field of the stored normal audio frame when decoding an errored audio frame so that decoding of all audio frames can proceed. do.

다만, 오류가 있는 오디오 프레임의 경우에는 페이로드 부분의 데이터도 깨져있는 것이 일반적이어서 이를 디코딩하여도 사용자들이 들을 수 있는 정확한 오디오가 출력되지 아니하므로, 상기 오류가 있는 오디오 프레임이 연속될 경우 사용자들이 오디오를 들음에 있어 불편함을 느끼게 된다. 이러한 불편함을 감소시키기 위하여 깨진 오디오 프레임이 연속될 경우 오디오의 출력을 단계적으로 줄여주어 사용자들의 민감도를 줄여준다.However, in the case of an error audio frame, the data of the payload part is also generally broken, so that even if decoding the audio frame, the correct audio that users can hear is not output. You may feel uncomfortable listening to audio. In order to reduce this inconvenience, if the broken audio frames are continuous, the output of the audio is gradually reduced to reduce the sensitivity of the users.

한편, MP2 규격보다 압축율이 높은 MP3(MPEG audio layer-3)의 경우에도 MP2의 포맷과 유사한 구조를 가지고 있으므로, 본 발명의 일실시예에 따른 오디오 디코딩 방법은 MP3의 규격을 갖는 오디오 신호를 디코딩하는 경우에도 적용될 수 있다.Meanwhile, even in the case of MP3 (MPEG audio layer-3) having a higher compression rate than the MP2 standard, the audio decoding method according to the embodiment of the present invention decodes an audio signal having the MP3 standard. This may also apply.

도 3는 본 발명의 전체적인 흐름을 나타내는 순서도이다.3 is a flow chart showing the overall flow of the present invention.

오디오 신호를 디코딩하기 위해서, 오디오 신호를 수신하고(S300) 수신된 오디오 신호에서 오류 검사를 통해 정상 상태의 오디오 프레임을 확인하고, 상기 정상 상태의 오디오 프레임의 헤더 정보와 SCF 정보를, 도 6에 도시된 저장부(620)에, 저장한다(S310). 이후 수신된 모든 오디오 프레임에 대한 헤더 CRC와 SCF CRC를 확인하여(S320) 오디오 프레임의 오류 유무를 검사하고(S330) 검사 결과 오류가 있어 유효하지 않은 오디오 프레임이 있는 경우에는 기존에 저장해 놓은 상기 정상 상태의 오디오 프레임의 헤더 정보와 SCF 정보를 상기 오류가 있어 유효하지 않은 오디오 프레임에 복사한다(S340). 오류가 있어 유효하지 않은 오디오 프레임에 정상 상태의 오디오 프레임의 정보가 복사됨에 따라 모든 오디오 프레임을 정상으로 인식하게 함으로써 모든 프레임에 대한 디코딩 과정을 진행하게 된다(S350).In order to decode the audio signal, an audio signal is received (S300) and the audio frame in the normal state is checked through error checking on the received audio signal, and header information and SCF information of the audio frame in the normal state are shown in FIG. 6. In the illustrated storage unit 620, it is stored (S310). Thereafter, the header CRC and the SCF CRC of all the received audio frames are checked (S320) to check whether there is an error of the audio frame (S330), and if there is an invalid audio frame as a result of the check, the previously stored normal The header information and the SCF information of the audio frame in the state are copied to an invalid audio frame due to the error (S340). As the information of the audio frame in the normal state is copied to the invalid audio frame due to an error, the decoding process for all the frames is performed by allowing all audio frames to be recognized as normal (S350).

한편, 오류가 있어 유효하지 않은 오디오 프레임이 과도히 존재할 경우 정상적인 오디오 프레임으로 인식하여 디코딩을 하더라도 출력된 오디오가 정상적이지 않으므로 사용자들이 오디오를 듣는데 불편이 발생한다. 이러한 불편을 해결하기 위하여, 오류의 발생빈도를 측정하여(S360), 오류의 발생빈도가 임계치를 초과할 경우에는 오디오 출력을 조절하여(S370) 사용자들이 디코딩되어 출력된 오디오를 들음에 있어 느끼는 불편을 줄여준다.On the other hand, if there is an error and an invalid audio frame is excessively present, even if it is recognized as a normal audio frame and decoded, the output audio is not normal, which causes inconvenience to users. In order to solve this inconvenience, by measuring the frequency of occurrence of the error (S360), if the frequency of the error exceeds the threshold by adjusting the audio output (S370), users are uncomfortable in listening to the decoded audio output Reduces

도 4a, 4b 및 4c는 본 발명의 일 실시예에 따라 수신된 오디오 신호를 디코딩하는 방법을 나타낸다.4A, 4B and 4C illustrate a method of decoding a received audio signal in accordance with one embodiment of the present invention.

도 4a는 연속되지 않은 하나의 오디오 프레임이 유효하지 않은 경우의 디코딩 방법을 나타내는데, 오류가 있는 오디오 프레임(400)이 있는 경우 이미 저장된 정상 상태의 오디오 프레임의 헤더 정보(410)를 오류가 있는 오디오 프레임의 헤더 정보(420)에 복사하여 오류가 있는 오디오 프레임이 유효한 것처럼 인식하도록 함으로써 모든 오디오 프레임에 대한 디코딩이 이루어지도록 한다. 따라서 오디오 프레임이 버려지는 것이 방지되므로 오디오 프레임의 끊김으로 인한 노이즈는 발생하지 아니한다.4A shows a decoding method when one non-contiguous audio frame is not valid. If there is an error audio frame 400, the header information 410 of the normal-stored audio frame is stored in error. Copies to the header information 420 of the frame to recognize the errored audio frame as valid so that decoding of all audio frames is performed. Therefore, since the audio frame is prevented from being discarded, noise due to the interruption of the audio frame does not occur.

도 4b는 연속된 2개의 오디오 프레임에 오류가 발생한 경우의 디코딩 방법을 나타낸다. 오류가 있는 오디오 프레임이 연속해서 발생한 경우 첫 번째 오류가 있는 오디오 프레임 이전에 최초로 나타나는 정상 상태의 오디오 프레임의 헤더 정보(430)를 오류가 발생한 오디오 프레임들의 헤더 정보(440)에 복사한다. 오류가 발생한 오디오 프레임들은 유효한 오디오 프레임으로 인식되어 디코딩이 진행되고 오류가 발생한 오디오 프레임이 2개 연속하여 발생한 경우에 오디오 출력은 감소하지 아니한다.4B illustrates a decoding method when an error occurs in two consecutive audio frames. When error audio frames are continuously generated, the header information 430 of the normal audio frame first appearing before the first error audio frame is copied to the header information 440 of the error audio frames. The errored audio frames are recognized as valid audio frames and decoding is performed. When two errored audio frames occur in succession, the audio output is not reduced.

도 4c는 연속된 N개의 오디오 프레임에 오류가 발생하거나, 소정구간에서 미리 설정한 임계치 이상의 오류가 발생한 경우의 디코딩 방법을 나타낸다. 이 경우에도 도 4b의 경우와 같이 첫 번째 오류가 발생한 오디오 프레임 이전에 최초로 나타나는 정상 상태의 오디오 프레임의 헤더 정보(450)를 오류가 발생한 오디오 프레임의 헤더 정보(460)에 복사하여 정상적인 오디오 프레임으로 인식하게 한 후 모든 오디오 프레임에 대한 디코딩을 진행한다.4C illustrates a decoding method when an error occurs in consecutive N audio frames or when an error equal to or greater than a predetermined threshold occurs in a predetermined section. In this case, as shown in FIG. 4B, the header information 450 of the audio frame in the normal state first appearing before the audio frame in which the first error occurs is copied to the header information 460 of the audio frame in which the error occurs, and thus the normal audio frame. After the recognition, all audio frames are decoded.

다만 위와 같은 경우에, 오류가 있는 오디오 프레임은 오디오의 데이터 부분도 깨져 있어 디코딩하여 오디오로 출력하더라도 정확한 오디오로 출력되지 못한다. 따라서, 오류가 있는 오디오 프레임이 과도할 경우 디코딩되어 출력된 오디오를 듣는 사용자들은 불편을 느낄 수 있으므로, 오류의 발생빈도를 측정하여 소정구간에서 오류가 발생한 프레임의 개수 N이 임계치를 초과하는 경우에는 사용자들의 민감도를 충족시키기 위해 오디오 출력을 단계적으로 감소시키는데 이 부분에 대해서는 도 5에서 설명한다.In this case, however, an errored audio frame is also broken in the data portion of the audio, so that even if it is decoded and output as audio, the correct audio frame is not output. Therefore, when an error audio frame is excessive, users who listen to the decoded and output audio may feel uncomfortable. Therefore, if the number N of frames having an error exceeds a threshold by measuring the frequency of occurrence of an error, The audio output is gradually reduced in order to meet the sensitivity of users, which will be described in FIG. 5.

도 5는 오류가 발생한 오디오 프레임이 임계치를 넘어 과도하게 발생하는 경우에, 깨진 데이터 부분이 디코딩되어 출력된 오디오를 듣는 사용자들이 느끼게 되는 불편을 방지하기 위해 오디오 출력을 조절하는 방법을 나타낸다. 정상적인 오디오 프레임이 디코딩될 경우의 오디오 출력을 Current Gain(500)이라고 할 때, 최초로 연속된 N개의 오디오 프레임이 유효하지 않은 경우에 오디오 출력을 △J만큼 줄이고(510) 두 번째로 연속된 N개의 오디오 프레임이 유효하지 않은 경우에는 오디오 출력을 △K만큼 줄인다(520).FIG. 5 illustrates a method of adjusting audio outputs in order to prevent inconvenience to users who listen to the audio when the broken data portion is decoded when an errored audio frame is excessively generated beyond a threshold. When the audio output when a normal audio frame is decoded is called Current Gain (500), when the first consecutive N audio frames are invalid, the audio output is reduced by ΔJ (510) and the second consecutive N N audio frames. If the audio frame is not valid, reduce the audio output by ΔK (520).

이렇게 오류가 있어 유효하지 않은 오디오 프레임의 연속된 수가 임계치를 초과할 경우에는 오디오 출력을 단계적으로 줄여 사용자들이 깨진 오디오 데이터가 디코딩되어 출력되는 오디오를 들음으로써 느끼는 불편을 줄여줄 수 있다.In the case of such an error that a continuous number of invalid audio frames exceeds a threshold, the audio output may be gradually reduced to reduce the inconvenience that users may experience by listening to the audio from which the broken audio data is decoded and output.

전술한 설명에서, 소정구간 및 임계치는 예컨대 통상의 평균인이 듣기에 불편한 수준을 실험적으로 계측하여 설정할 수 있으며, △J와 △K 또한 통상의 평균인이 불편을 느끼지 않도록 하기 위해 조절해주어야 하는 출력의 정도를 실험적으로 계측하여 설정할 수 있다.In the above description, the predetermined interval and the threshold value can be set by experimentally measuring the level at which the average average person is uncomfortable, for example, ΔJ and ΔK, and the degree of output that must be adjusted to prevent the average average person from feeling uncomfortable. Can be measured and set experimentally.

도 6은 상기 오디오 데이터 디코딩 방법이 구현된 장치의 블록도이다.6 is a block diagram of an apparatus in which the audio data decoding method is implemented.

디코딩 장치는 수신부(600), 제어부(610), 저장부(620), 출력부(630)를 포함하는데, 수신부(600)는 송신된 오디오 신호를 수신하고, 저장부(620)는 수신된 오디오 신호에서 정상 상태의 오디오 프레임의 정보 필드를 저장하며, 제어부(610)는 수신된 오디오 프레임의 오류 유무를 확인하고 오류가 있는 오디오 프레임에 상기 정상 상태의 오디오 프레임의 정보 필드를 복사하는 기능을 하고, 출력부(630)는 디코딩된 오디오를 출력하는 역할을 한다.The decoding apparatus includes a receiver 600, a controller 610, a storage 620, and an output 630. The receiver 600 receives the transmitted audio signal, and the storage 620 receives the received audio. The information field of the audio frame in the normal state is stored in the signal, and the controller 610 checks whether an error of the received audio frame is present and copies the information field of the audio frame in the normal state to the errored audio frame. The output unit 630 outputs decoded audio.

상기 디코딩 장치는 조절부(640)를 더 포함할 수 있는데, 상기 조절부(640)는 오류가 있는 오디오 프레임이 임계치를 넘어 과도히 발생할 경우에 오디오의 출력을 조절해주는 기능을 한다.The decoding apparatus may further include an adjusting unit 640. The adjusting unit 640 adjusts the output of the audio when an erroneous audio frame excessively exceeds a threshold.

이상 첨부된 도면을 참조하여, 본 발명의 구성에 대하여 상세히 설명하였다. 이는 예시에 불과한 것으로서 본 발명의 권리가 이에 제한되는 것은 아니며, 본 발명의 권리 범위는 이하의 특허청구범위의 기재에 의하여 정하여져야 할 것이다.
The configuration of the present invention has been described in detail above with reference to the accompanying drawings. This is merely an example, and the rights of the present invention are not limited thereto, and the scope of the present invention should be defined by the following claims.

Claims (7)

수신기가 오디오 데이터를 디코딩 함에 있어서,
정상 상태의 프레임의 정보 필드를 저장하는 단계;
후속 프레임의 오류를 확인하는 단계;
오류가 있는 프레임에 상기 정상 상태의 프레임의 정보 필드를 복사하는 단계; 및
상기 오류가 있는 프레임을 정상적으로 수신한 프레임과 함께 디코딩하는 단계
를 포함하는 오디오 데이터 디코딩 방법.
In the receiver decoding audio data,
Storing an information field of a frame in a normal state;
Checking for errors in subsequent frames;
Copying the information field of the frame in the normal state to the frame in error; And
Decoding the erroneous frame together with the normally received frame
Audio data decoding method comprising a.
제1항에 있어서, 상기 정상 상태의 프레임의 정보 필드를 저장하는 단계는
수신된 프레임에 대하여 오류 검사를 수행하는 단계; 및
상기 검사 결과 최초로 정상으로 확인된 프레임의 정보 필드를 저장하는 단계를 포함하는 것
인 오디오 데이터 디코딩 방법.
The method of claim 1, wherein storing the information field of the frame in the normal state
Performing an error check on the received frame; And
Storing an information field of a frame first confirmed as normal as a result of the inspection;
Audio data decoding method.
제1항에 있어서, 상기 프레임의 정보 필드는
헤더 필드와 SCF 필드인 것
인 오디오 데이터 디코딩 방법.
The method of claim 1, wherein the information field of the frame is
As header field and SCF field
Audio data decoding method.
제1항에 있어서,
오류의 발생빈도를 측정하는 단계; 및
상기 발생빈도가 임계치보다 클 경우 오디오 출력을 조절하는 단계
를 더 포함하는 오디오 데이터 디코딩 방법.
The method of claim 1,
Measuring the frequency of occurrence of errors; And
Adjusting an audio output when the frequency of occurrence is greater than a threshold
Audio data decoding method further comprising.
제4항에 있어서, 상기 오디오 출력을 조절하는 단계는
오류의 발생빈도에 따라 단계적으로 오디오 출력을 감소시키는 것
인 오디오 데이터 디코딩 방법.
5. The method of claim 4, wherein adjusting the audio output
Reducing the audio output in stages according to the frequency of errors
Audio data decoding method.
오디오 신호를 수신하는 수신부;
정상 상태의 프레임의 정보 필드를 저장하는 저장부; 및
프레임의 오류를 확인하고 오류가 있는 프레임에 상기 정상 상태의 프레임의 정보 필드를 복사하는 제어부
를 포함하는 오디오 데이터 디코딩 장치.
A receiver for receiving an audio signal;
A storage unit which stores an information field of a frame in a normal state; And
Control unit for checking the error of the frame and copying the information field of the frame of the normal state to the frame with the error
Audio data decoding apparatus comprising a.
제6항에 있어서,
오류의 발생빈도에 따라 오디오의 출력을 조절하는 조절부
를 더 포함하는 오디오 데이터 디코딩 장치.
The method according to claim 6,
Control unit adjusts audio output according to the frequency of error occurrence
Audio data decoding apparatus further comprising.
KR1020120036172A 2012-04-06 2012-04-06 Audio data decoding method and device KR20130113742A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020120036172A KR20130113742A (en) 2012-04-06 2012-04-06 Audio data decoding method and device
CN201310110159.4A CN103366781B (en) 2012-04-06 2013-04-01 Voice data coding/decoding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020120036172A KR20130113742A (en) 2012-04-06 2012-04-06 Audio data decoding method and device

Publications (1)

Publication Number Publication Date
KR20130113742A true KR20130113742A (en) 2013-10-16

Family

ID=49367963

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120036172A KR20130113742A (en) 2012-04-06 2012-04-06 Audio data decoding method and device

Country Status (2)

Country Link
KR (1) KR20130113742A (en)
CN (1) CN103366781B (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI98164C (en) * 1994-01-24 1997-04-25 Nokia Mobile Phones Ltd Processing of speech coder parameters in a telecommunication system receiver
US7031926B2 (en) * 2000-10-23 2006-04-18 Nokia Corporation Spectral parameter substitution for the frame error concealment in a speech decoder

Also Published As

Publication number Publication date
CN103366781B (en) 2016-08-17
CN103366781A (en) 2013-10-23

Similar Documents

Publication Publication Date Title
KR101673131B1 (en) Audio encoder and decoder with program information or substream structure metadata
US10902542B2 (en) Detecting watermark modifications
KR20160032252A (en) Audio encoder and decoder with program loudness and boundary metadata
JP2008505586A (en) How to modify metadata that affects playback volume and dynamic range of audio information
JP2004361731A (en) Audio decoding system and audio decoding method
JP2004529526A (en) Robust checksum
JP2012113318A (en) Method for decoding digital audio data
EP2743923B1 (en) Voice processing device, voice processing method
JP5235309B2 (en) Audio playback apparatus and audio playback method
WO2007035599A2 (en) Method and system for control loop response time optimization
CN103943112B (en) The audio coder and decoder of state metadata are handled using loudness
KR20130113742A (en) Audio data decoding method and device
KR100708123B1 (en) Method and apparatus for controlling audio volume automatically
US9437203B2 (en) Error concealment for speech decoder
KR101073409B1 (en) Decoding apparatus and decoding method
US9123329B2 (en) Method and apparatus for generating sideband residual signal
CN107294655B (en) Bluetooth call signal recovery method and device, storage medium and computer equipment
US20150194157A1 (en) System, method, and computer program product for artifact reduction in high-frequency regeneration audio signals
US9354957B2 (en) Method and apparatus for concealing error in communication system
JP3603469B2 (en) Voice quality improvement device
KR20090083708A (en) Method of complementing bitstream errors, preprocessor for complementing bitstream errors, and decoding device comprising the same preprocessor
KR100921869B1 (en) Apparatus for detecting an error of sound
KR20140026790A (en) Audio output device and method capable of analog-type sound processing of digital brodacasting
JP2009008843A (en) Acoustic signal playback device and acoustic signal playback method
JP2013134301A (en) Playback system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application