[go: up one dir, main page]

KR102709737B1 - Apparatus for transmitting audio sigal and controlling method thereof - Google Patents

Apparatus for transmitting audio sigal and controlling method thereof Download PDF

Info

Publication number
KR102709737B1
KR102709737B1 KR1020160161486A KR20160161486A KR102709737B1 KR 102709737 B1 KR102709737 B1 KR 102709737B1 KR 1020160161486 A KR1020160161486 A KR 1020160161486A KR 20160161486 A KR20160161486 A KR 20160161486A KR 102709737 B1 KR102709737 B1 KR 102709737B1
Authority
KR
South Korea
Prior art keywords
sub
band
electronic device
bands
value
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
KR1020160161486A
Other languages
Korean (ko)
Other versions
KR20180061855A (en
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 KR1020160161486A priority Critical patent/KR102709737B1/en
Publication of KR20180061855A publication Critical patent/KR20180061855A/en
Application granted granted Critical
Publication of KR102709737B1 publication Critical patent/KR102709737B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/005Correction of errors induced by the transmission channel, if related to the coding algorithm
    • 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/02Speech 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 using spectral analysis, e.g. transform vocoders or subband vocoders

Landscapes

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

Abstract

본 발명의 일 실시 예에 따른 전자 장치는, 오디오 신호 데이터를 저장하는 메모리; 및 프로세서를 포함하고, 상기 프로세서는, 상기 오디오 신호에 해당하는 주파수 대역을 복수의 서브 밴드로 구분하고, 상기 복수의 서브 밴드 중 제1 서브 밴드를 양자화하기 위하여 상기 제1 서브 밴드에 제1 비트를 할당하고, 상기 제1 서브 밴드의 대역폭 및 상기 할당된 제1 비트에 기초하여 상기 제1 서브 밴드의 제1 헤드룸(head-room)을 결정하고, 상기 복수의 서브 밴드 중 상기 제1 서브 밴드에서는 상기 결정된 제1 헤드룸을 적용하고, 나머지 서브 밴드(remaining sub bands) 중 적어도 일부에는 상기 제1 헤드룸과 상이한 값을 갖는 제2 헤드룸을 적용하여 상기 오디오 신호를 처리하도록 설정될 수 있다. 이 외에도 명세서를 통해 파악되는 다양한 실시 예가 가능하다.According to one embodiment of the present invention, an electronic device includes: a memory for storing audio signal data; and a processor, wherein the processor may be configured to process the audio signal by dividing a frequency band corresponding to the audio signal into a plurality of sub-bands, allocating a first bit to a first sub-band to quantize a first sub-band among the plurality of sub-bands, determining a first headroom of the first sub-band based on a bandwidth of the first sub-band and the allocated first bit, applying the determined first headroom to the first sub-band among the plurality of sub-bands, and applying a second headroom having a different value from the first headroom to at least some of the remaining sub-bands. In addition to this, various embodiments are possible that can be understood through the specification.

Description

오디오 신호를 전송하는 전자 장치 및 오디오 신호를 전송하는 전자 장치의 제어 방법{APPARATUS FOR TRANSMITTING AUDIO SIGAL AND CONTROLLING METHOD THEREOF}{APPARATUS FOR TRANSMITTING AUDIO SIGAL AND CONTROLLING METHOD THEREOF}

본 발명은 오디오 신호를 전송하는 전자 장치 및 그 전자 장치를 제어 방법에 관한 것이다.The present invention relates to an electronic device for transmitting an audio signal and a method for controlling the electronic device.

아날로그 형태로 생성된 오디오 신호는 샘플링(sampling) 및 양자화(quantization) 과정을 거쳐서 디지털 형태의 신호로 변환되고, 변환된 디지털 신호는 인코딩(encoding)되어 오디오 신호를 최종적으로 소비하는 사용자에게 전송될 수 있다. 인코딩된 오디오 신호를 수신한 전자 장치는 오디오 신호를 디코딩(decoding)하고, 역양자화 및 역변환 과정을 거쳐서 사용자에게 출력할 수 있다.An audio signal generated in an analog form is converted into a digital signal through a sampling and quantization process, and the converted digital signal is encoded and can be transmitted to a user who ultimately consumes the audio signal. An electronic device that receives the encoded audio signal can decode the audio signal, perform a dequantization and inverse conversion process, and output it to the user.

전자 장치에서 오디오 신호를 인코딩하는 경우의 알고리즘(algorithm)은 오디오 신호간의 수학적 오차를 최소화하기 보다는 압축된 신호를 원본과 비교할 때 인간의 감각으로 구분하지 못하는 정도를 최대화하는데 중점을 둔다. 오디오 신호 중에서 인간에게 들리지 않는 매우 낮거나 높은 주파수 성분은 인코딩 과정에서 제거될 수 있다. 오디오 신호의 특정한 주파수 성분을 제거하는 경우 타임 도메인(time domain)에서 오디오 신호를 처리하는 것보다 주파수 도메인(frequency domain)에서 오디오 신호를 처리하는 효율적일 수 있다.When encoding audio signals in electronic devices, the algorithm focuses on maximizing the degree to which the compressed signal is indistinguishable from the original by human senses, rather than minimizing the mathematical error between audio signals. Very low or high frequency components that are inaudible to humans in the audio signal can be removed during the encoding process. Removing specific frequency components from the audio signal can be more efficient in processing the audio signal in the frequency domain than in the time domain.

디지털 형태의 오디오 신호를 인코딩하여 송신하는 경우 오디오 신호의 데이터의 양을 줄이기 위해서 압축(compress)하게 되고, 오디오 신호를 압축하는 경우 지정된 주파수 대역에서 오디오 신호의 에너지 값은 양자화되어 특정한 값으로 결정되는데, 양자화되는 과정에서 오류가 생기면 잘못된 값으로 특정되게 되고, 잘못 양자화된 오디오 신호를 수신하여 출력하는 경우 왜곡된 오디오 신호를 출력할 수 있다.When encoding and transmitting an audio signal in digital form, it is compressed to reduce the amount of data in the audio signal, and when compressing an audio signal, the energy value of the audio signal in a specified frequency band is quantized and determined to a specific value. If an error occurs during the quantization process, the energy value is determined to be an incorrect value, and if an incorrectly quantized audio signal is received and output, a distorted audio signal may be output.

특히, 오디오 신호를 수신하여 출력하는 장치는 출력할 수 있는 최대의 값이 존재 하게 되는데, 최대 값보다 높은 에너지 레벨 값을 포함하는 오디오 신호가 출력되면 오디오 신호를 출력하는 장치에 손상이 가해질 수 있다. 오디오 신호를 송신 또는 수신하는 장치는 출력할 수 있는 최대의 값을 넘기지 않기 위해, 오디오 신호의 주파수 대역 전체를 일률적으로 제어할 수 있다. 오디오 신호의 주파수 대역 전체를 일률적으로 제어하는 경우 주파수 대역 별로 포함된 에너지가 다르기 때문에 제어될 필요가 없는 에너지가 일률적으로 제거될 수 있다. 이에 따라, 오디오 신호를 출력하는 장치는 저품질(예: 저출력)의 오디오 신호를 출력하게 될 수 있다. In particular, a device that receives and outputs an audio signal has a maximum value that can be output, and if an audio signal including an energy level value higher than the maximum value is output, the device that outputs the audio signal may be damaged. The device that transmits or receives an audio signal may uniformly control the entire frequency band of the audio signal so as not to exceed the maximum value that can be output. When the entire frequency band of the audio signal is uniformly controlled, energy that does not need to be controlled can be uniformly removed because the energy included in each frequency band is different. Accordingly, the device that outputs an audio signal may output an audio signal of low quality (e.g., low output).

본 발명의 다양한 실시 예는 주파수 대역 별로 에너지 레벨 값을 분석하고, 분석된 에너지 레벨 값에 기초하여 에너지 레벨 값을 제어하는 전자 장치 및 그 전자 장치의 제어 방법을 제공한다.Various embodiments of the present invention provide an electronic device that analyzes energy level values by frequency band and controls the energy level values based on the analyzed energy level values, and a control method of the electronic device.

본 발명에 따른 전자 장치는, 오디오 신호 데이터를 저장하는 메모리; 및 프로세서를 포함하고, 상기 프로세서는, 상기 오디오 신호에 해당하는 주파수 대역을 복수의 서브 밴드로 구분하고, 상기 복수의 서브 밴드 중 제1 서브 밴드를 양자화하기 위하여 상기 제1 서브 밴드에 제1 비트를 할당하고, 상기 제1 서브 밴드의 대역폭 및 상기 할당된 제1 비트에 기초하여 상기 제1 서브 밴드의 제1 헤드룸(head-room)을 결정하고, 상기 복수의 서브 밴드 중 상기 제1 서브 밴드에서는 상기 결정된 제1 헤드룸을 적용하고, 나머지 서브 밴드(remaining sub bands) 중 적어도 일부에는 상기 제1 헤드룸과 상이한 값을 갖는 제2 헤드룸을 적용하여 상기 오디오 신호를 처리하도록 설정될 수 있다.An electronic device according to the present invention comprises: a memory for storing audio signal data; and a processor, wherein the processor is configured to process the audio signal by dividing a frequency band corresponding to the audio signal into a plurality of sub-bands, allocating a first bit to a first sub-band to quantize the first sub-band among the plurality of sub-bands, determining a first headroom of the first sub-band based on a bandwidth of the first sub-band and the allocated first bit, applying the determined first headroom to the first sub-band among the plurality of sub-bands, and applying a second headroom having a different value from the first headroom to at least some of the remaining sub-bands.

본 발명에 따른 전자 장치는, 상기 프로세서는, 상기 제1 서브 밴드의 대역폭 및 상기 할당된 제1 비트에 기초하여 상기 제1 서브 밴드의 에너지 레벨 값을 결정하고, 상기 오디오 신호를 출력할 수 있는 범위에서 상기 결정된 에너지 레벨 값 보다 높은 범위를 상기 제1 헤드룸으로 결정하도록 설정될 수 있다.An electronic device according to the present invention may be configured such that the processor determines an energy level value of the first sub-band based on a bandwidth of the first sub-band and the allocated first bit, and determines a range higher than the determined energy level value as the first headroom within a range capable of outputting the audio signal.

본 발명에 따른 전자 장치는, 상기 프로세서는, 상기 제1 서브 밴드의 대역폭 및 상기 할당된 제1 비트에 기초하여 제1 최대 에너지 문턱 값을 결정하고, 상기 제1 최대 에너지 문턱 값을 이용하여 상기 제1 서브 밴드의 상기 제1 헤드룸을 결정하도록 설정될 수 있다.An electronic device according to the present invention may be configured such that the processor determines a first maximum energy threshold based on a bandwidth of the first sub-band and the allocated first bit, and determines the first headroom of the first sub-band using the first maximum energy threshold.

본 발명에 따른 전자 장치는, 상기 프로세서는, 상기 제1 비트를 이용하여 상기 제1 최대 에너지 문턱 값을 양자화하여 제1 양자화 문턱 값을 결정하고, 상기 제1 비트를 이용하여 상기 제1 서브 밴드를 양자화하고 상기 양자화된 제1 서브 밴드로 제1 양자화 레벨 값을 결정하고, 상기 제1 에너지 레벨 값 및 상기 제1 양자화 문턱 값 중 낮은 값을 상기 제1 서브 밴드의 양자화된 레벨 값으로 결정하여 상기 제1 서브 밴드의 상기 제1 헤드룸을 결정하도록 설정될 수 있다.An electronic device according to the present invention may be configured such that the processor determines a first quantization threshold value by quantizing the first maximum energy threshold value using the first bit, quantizes the first sub-band using the first bit and determines a first quantization level value with the quantized first sub-band, and determines a lower value of the first energy level value and the first quantization threshold value as the quantized level value of the first sub-band to determine the first headroom of the first sub-band.

본 발명에 따른 전자 장치는, 상기 프로세서는, 상기 제1 서브 밴드의 최대 에너지 값에 대한 상기 제1 최대 에너지 문턱 값의 비율을 결정하고, 상기 제1 서브 밴드의 제1 에너지 레벨 값의 상기 결정된 비율의 에너지 레벨 값을 상기 제1 서브 밴드의 에너지 레벨 값으로 결정하여 상기 제1 서브 밴드의 제1 헤드룸을 결정하도록 설정될 수 있다.An electronic device according to the present invention may be configured such that the processor determines a ratio of the first maximum energy threshold value to a maximum energy value of the first sub-band, and determines an energy level value of the determined ratio of the first energy level value of the first sub-band as the energy level value of the first sub-band to determine a first headroom of the first sub-band.

본 발명에 따른 전자 장치는, 상기 프로세서는, 헤드룸이 적용된 상기 복수의 서브 밴드를 각각 양자화하고, 상기 복수의 서브 밴드 각각이 양자화된 오디오 신호를 처리하도록 설정될 수 있다.An electronic device according to the present invention may be configured such that the processor quantizes each of the plurality of sub-bands to which headroom is applied, and processes an audio signal in which each of the plurality of sub-bands is quantized.

본 발명에 따른 전자 장치는, 상기 프로세서는, 상기 복수의 서브 밴드 중 제2 서브 밴드를 양자화하기 위해 상기 제1 비트보다 적은 제2 비트를 할당하고, 상기 제2 서브 밴드의 대역 폭 및 상기 할당된 제2 비트에 기초하여 상기 제1 최대 에너지 문턱 값보다 작은 상기 제2 최대 에너지 문턱 값을 결정하도록 설정될 수 있다.An electronic device according to the present invention may be configured such that the processor allocates a second bit less than the first bit to quantize a second sub-band among the plurality of sub-bands, and determines the second maximum energy threshold value less than the first maximum energy threshold value based on a bandwidth of the second sub-band and the allocated second bit.

본 발명에 따른 전자 장치는, 상기 프로세서는, 상기 제1 서브 밴드의 대역폭 및 상기 할당된 제1 비트를 이용하여 상기 오디오 신호를 인코딩하는 방식에 따라 상기 제1 서브 밴드의 상기 제1 최대 에너지 문턱 값을 결정하도록 설정될 수 있다.An electronic device according to the present invention may be configured such that the processor determines the first maximum energy threshold of the first sub-band according to a method of encoding the audio signal using a bandwidth of the first sub-band and the allocated first bit.

본 발명에 따른 전자 장치는, 상기 메모리는, 상기 복수의 서브 밴드의 대역폭 및 상기 복수의 서브 밴드에 할당된 비트에 기초하여 결정된 최대 에너지 문턱 값을 저장하고, 상기 프로세서는, 상기 제1 서브 밴드의 상기 제1 최대 에너지 문턱 값을 결정하는 경우, 상기 메모리에 저장된 최대 에너지 문턱 값 중 상기 제1 서브 밴드의 대역폭 및 상기 할당된 제1 비트에 대응되는 값을 상기 제1 서브 밴드의 상기 제1 최대 에너지 문턱 값으로 결정하도록 설정될 수 있다.An electronic device according to the present invention may be configured such that the memory stores a maximum energy threshold value determined based on bandwidths of the plurality of sub-bands and bits allocated to the plurality of sub-bands, and the processor may be configured such that, when determining the first maximum energy threshold value of the first sub-band, a value corresponding to the bandwidth of the first sub-band and the allocated first bit among the maximum energy threshold values stored in the memory is determined as the first maximum energy threshold value of the first sub-band.

본 발명에 따른 전자 장치의 제어 방법은, 오디오 신호에 해당하는 주파수 대역을 복수의 서브 밴드로 구분하는 동작; 상기 복수의 서브 밴드 중 제1 서브 밴드를 양자화하기 위하여 상기 제1 서브 밴드에 제1 비트를 할당하는 동작; 상기 제1 서브 밴드의 대역폭 및 상기 할당된 제1 비트에 기초하여 상기 제1 서브 밴드의 제1 헤드룸을 결정하는 동작; 상기 복수의 서브 밴드 중 상기 제1 서브 밴드에서는 상기 결정된 제1 헤드룸을 적용하고, 나머지 서브 밴드 중 적어도 일부에는 상기 제1 헤드룸과 상이한 값을 갖는 제2 헤드룸을 적용하여 상기 오디오 신호를 처리 하는 동작;을 포함할 수 있다.A control method of an electronic device according to the present invention may include: an operation of dividing a frequency band corresponding to an audio signal into a plurality of subbands; an operation of allocating a first bit to a first subband among the plurality of subbands in order to quantize the first subband; an operation of determining a first headroom of the first subband based on a bandwidth of the first subband and the allocated first bit; and an operation of processing the audio signal by applying the determined first headroom to the first subband among the plurality of subbands and applying a second headroom having a different value from the first headroom to at least some of the remaining subbands.

본 발명에 따른 전자 장치의 제어 방법은, 상기 제1 서브 밴드의 상기 제1 헤드룸을 결정하는 동작;은, 상기 제1 서브 밴드의 대역폭 및 상기 할당된 제1 비트에 기초하여 상기 제1 서브 밴드의 에너지 레벨 값을 결정하는 동작; 및 상기 오디오 신호를 출력할 수 있는 범위에서 상기 결정된 에너지 레벨 값보다 높은 에너지 범위를 상기 제1 헤드룸으로 결정하는 동작;을 포함할 수 있다.A control method of an electronic device according to the present invention may include: an operation of determining the first headroom of the first sub-band; an operation of determining an energy level value of the first sub-band based on a bandwidth of the first sub-band and the allocated first bit; and an operation of determining an energy range higher than the determined energy level value as the first headroom within a range capable of outputting the audio signal.

본 발명에 따른 전자 장치의 제어 방법은, 상기 제1 서브 밴드의 상기 제1 헤드룸을 결정하는 동작;은, 상기 제1 서브 밴드의 대역폭 및 상기 할당된 제1 비트에 기초하여 제1 최대 에너지 문턱 값을 결정하는 동작; 및 상기 제1 최대 에너지 문턱 값을 이용하여 상기 제1 서브 밴드의 상기 제1 헤드룸을 결정하는 동작;을 포함할 수 있다.A control method of an electronic device according to the present invention may include: an operation of determining the first headroom of the first sub-band; an operation of determining a first maximum energy threshold based on a bandwidth of the first sub-band and the allocated first bit; and an operation of determining the first headroom of the first sub-band using the first maximum energy threshold.

본 발명에 따른 전자 장치의 제어 방법은, 상기 제1 비트를 이용하여 상기 제1 최대 에너지 문턱 값을 양자화하여 제1 양자화 문턱 값을 결정하고, 상기 제1 비트를 이용하여 상기 제1 서브 밴드를 양자화하고 상기 양자화된 제1 서브 밴드로 제1 양자화 레벨 값을 결정하는 동작;을 더 포함하고, 상기 제1 최대 에너지 문턱 값을 이용하여 상기 제1 서브 밴드의 상기 제1 헤드룸을 결정하는 동작;은, 상기 제1 에너지 레벨 값 및 상기 제1 양자화 문턱 값 중 낮은 값을 상기 제1 서브 밴드의 양자화된 레벨 값으로 결정하여 상기 제1 서브 밴드의 상기 제1 헤드룸을 결정하는 동작;을 포함할 수 있다.A control method of an electronic device according to the present invention comprises: determining a first quantization threshold value by quantizing the first maximum energy threshold value using the first bit; quantizing the first sub-band using the first bit; and using the quantized first sub-band. The method may further include an operation of determining a first quantization level value; and an operation of determining the first headroom of the first sub-band using the first maximum energy threshold value; may include an operation of determining the first headroom of the first sub-band by determining a lower value of the first energy level value and the first quantization threshold value as the quantized level value of the first sub-band.

본 발명에 따른 전자 장치의 제어 방법은, 상기 제1 서브 밴드의 상기 제1 헤드룸을 결정하는 동작;은, 상기 제1 서브 밴드의 최대 에너지 값에 대한 상기 제1 최대 에너지 문턱 값의 비율을 결정하는 동작; 및 상기 제1 에너지 레벨 값의 상기 결정된 비율의 에너지 레벨 값을 상기 제1 서브 밴드의 에너지 레벨 값으로 결정하여 상기 제1 서브 밴드의 제1 헤드룸을 결정하는 동작;을 포함할 수 있다.A control method of an electronic device according to the present invention may include: an operation of determining the first headroom of the first sub-band; an operation of determining a ratio of the first maximum energy threshold value to a maximum energy value of the first sub-band; and an operation of determining the first headroom of the first sub-band by determining an energy level value of the determined ratio of the first energy level value as an energy level value of the first sub-band.

본 발명에 따른 전자 장치의 제어 방법은, 상기 복수의 서브 밴드에 헤드룸을 적용하여 상기 오디오 신호를 처리 하는 동작;은, 상기 헤드룸이 적용된 상기 복수의 서브 밴드를 각각 양자화 하는 동작; 및 상기 복수의 서브 밴드 각각의 레벨 값이 양자화된 오디오 신호를 처리하는 동작;을 포함할 수 있다.A method for controlling an electronic device according to the present invention may include: an operation of processing an audio signal by applying headroom to the plurality of sub-bands; an operation of quantizing each of the plurality of sub-bands to which the headroom is applied; and an operation of processing an audio signal in which level values of each of the plurality of sub-bands are quantized.

본 발명에 따른 전자 장치는, 오디오 신호 데이터를 저장하는 메모리; 및 프로세서를 포함하고, 상기 프로세서는, 상기 오디오 신호에 해당하는 주파수 대역을 복수의 서브 밴드로 구분하고, 상기 복수의 서브 밴드 중 제1 서브 밴드의 대역폭에 기초하여 제1 서브 밴드의 제1 헤드룸을 결정하고, 상기 복수의 서브 밴드 중 상기 제1 서브 밴드에서는 상기 결정된 제1 헤드룸을 적용하고, 나머지 서브 밴드 중 적어도 일부에는 상기 제1 헤드룸과 상이한 값을 갖는 제2 헤드룸을 적용하여 상기 오디오 신호를 처리하도록 설정될 수 있다.An electronic device according to the present invention comprises: a memory for storing audio signal data; and a processor, wherein the processor may be configured to process the audio signal by dividing a frequency band corresponding to the audio signal into a plurality of sub-bands, determining a first headroom of a first sub-band based on a bandwidth of a first sub-band among the plurality of sub-bands, applying the determined first headroom to the first sub-band among the plurality of sub-bands, and applying a second headroom having a different value from the first headroom to at least some of the remaining sub-bands.

본 발명에 따른 전자 장치는, 상기 프로세서는, 상기 제1 서브 밴드의 대역폭에 기초하여 제1 최대 에너지 문턱 값을 결정하고, 상기 제1 최대 에너지 문턱 값을 이용하여 상기 제1 서브 밴드의 상기 제1 헤드룸을 결정하도록 설정될 수 있다.An electronic device according to the present invention may be configured such that the processor determines a first maximum energy threshold based on a bandwidth of the first sub-band, and determines the first headroom of the first sub-band using the first maximum energy threshold.

본 발명에 따른 전자 장치는, 상기 프로세서는, 상기 제1 서브 밴드의 최대 에너지 값에 대한 상기 제1 최대 에너지 문턱 값의 비율을 결정하고, 상기 제1 서브 밴드의 제1 에너지 레벨 값의 상기 결정된 비율의 에너지 레벨 값을 상기 제1 서브 밴드의 에너지 레벨 값으로 결정하여 상기 제1 서브 밴드의 제1 헤드룸을 결정하도록 설정될 수 있다.An electronic device according to the present invention may be configured such that the processor determines a ratio of the first maximum energy threshold value to a maximum energy value of the first sub-band, and determines an energy level value of the determined ratio of the first energy level value of the first sub-band as the energy level value of the first sub-band to determine a first headroom of the first sub-band.

본 발명에 따른 전자 장치는, 상기 프로세서는, 상기 제1 서브 밴드의 대역폭을 이용하여 상기 인코딩된 오디오 신호를 출력하기 위해 처리하는 방식에 따라 상기 제1 서브 밴드의 상기 제1 최대 에너지 문턱 값을 결정하도록 설정될 수 있다.An electronic device according to the present invention may be configured such that the processor determines the first maximum energy threshold value of the first sub-band according to a processing method for outputting the encoded audio signal using a bandwidth of the first sub-band.

본 발명에 따른 전자 장치는, 상기 메모리는, 상기 복수의 서브 밴드의 대역폭에 기초하여 결정된 최대 에너지 문턱 값을 저장하고, 상기 프로세서는, 상기 제1 서브 밴드의 상기 제1 최대 에너지 문턱 값을 결정하는 경우, 상기 메모리에 저장된 최대 에너지 문턱 값 중 상기 제1 서브 밴드의 대역폭에 대응되는 값을 상기 제1 서브 밴드의 상기 제1 최대 에너지 문턱 값으로 결정하도록 설정될 수 있다.An electronic device according to the present invention may be configured such that the memory stores a maximum energy threshold value determined based on bandwidths of the plurality of sub-bands, and the processor may be configured such that, when determining the first maximum energy threshold value of the first sub-band, a value corresponding to the bandwidth of the first sub-band among the maximum energy threshold values stored in the memory is determined as the first maximum energy threshold value of the first sub-band.

본 발명의 오디오 신호를 전송하는 전자 장치는 오디오 신호에 대한 주파수 대역을 복수의 서브 밴드로 분리하고, 분리된 서브 밴드 각각의 에너지 레벨 값을 분석하여 최대 에너지 문턱 값을 결정하고, 상기 최대 에너지 문턱 값를 이용하여 복수의 주파수 대역에 서로 다른 헤드룸을 적용함으로써, 오디오 신호를 출력할 때 발생하는 클리핑(clipping)을 방지하면서 오디오 신호를 압축할 때 발생할 수 있는 손실을 최소한으로 줄여 제2 전자 장치에서 출력이 크고 고품질의 오디오 신호를 출력할 수 있다.An electronic device for transmitting an audio signal of the present invention separates a frequency band for an audio signal into a plurality of sub-bands, analyzes an energy level value of each of the separated sub-bands to determine a maximum energy threshold value, and applies different headrooms to the plurality of frequency bands using the maximum energy threshold value, thereby preventing clipping that occurs when outputting an audio signal and minimizing loss that may occur when compressing an audio signal, thereby enabling a second electronic device to output a high-quality audio signal.

또한, 제1 전자 장치의 복수의 서브 밴드 별로 헤드룸을 다르게 설정하는 기능은 에너지 레벨 값의 비교 또는 비율의 곱셈이라는 복잡하지 않은 알고리즘으로 구현되어 빠른 처리가 가능하고, 소형 전자 장치에도 쉽게 적용될 수 있다.In addition, the function of setting the headroom differently for each of the multiple sub-bands of the first electronic device is implemented by a simple algorithm of comparing energy level values or multiplying ratios, which enables fast processing and can be easily applied to small electronic devices.

이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition, various effects may be provided that are directly or indirectly identified through this document.

도 1은 본 발명의 다양한 실시 예에 따른 오디오 신호 송수신 시스템을 나타낸 도면이다.
도 2는 본 발명의 다양한 실시 예에 따른 전자 장치가 오디오 신호를 인코딩할 때 발생되는 노이즈(noise)를 나타낸 그래프이다.
도 3은 본 발명의 다양한 실시 예에 따른 전자 장치의 오디오 신호의 에너지 레벨을 나타낸 그래프이다.
도 4는 본 발명의 일 실시 예에 따른 전자 장치의 구성을 나타낸 블록도이다.
도 5는 본 발명의 일 실시 예에 따른 서브 밴드의 대역폭 및 할당된 비트에 기초하여 헤드룸(head-room)을 결정하는 전자 장치의 구성을 나타낸 블록도이다.
도 6은 본 발명의 일 실시 예에 따른 서브 밴드의 대역폭 및 할당된 비트에 기초하여 헤드룸을 결정하는 전자 장치의 구성을 나타낸 블록도이다.
도 7은 본 발명의 일 실시 예에 따른 전자 장치의 서브 밴드 별로 에너지 레벨을 결정하는 것을 나타낸 그래프이다.
도 8은 본 발명의 일 실시 예에 따른 전처리 과정에서 서브 밴드의 대역폭 및 할당된 비트에 기초하여 헤드룸을 결정하는 전자 장치의 구성을 나타낸 블록도이다.
도 9은 본 발명의 일 실시 예에 따른 후처리 과정에서 서브 밴드의 대역폭에 기초하여 헤드룸을 결정하는 전자 장치의 구성을 나타낸 블록도이다.
도 10은 본 발명의 일 실시 예에 따른 오디오 신호를 인코딩하는 전자 장치를 제어하는 방법을 나타낸 흐름도이다.
도 11은 다양한 실시 예에 따른 네트워크 환경 내의 전자 장치를 나타낸다.
도 12은 본 발명의 일 실시 예에 따른 전자 장치의 블록도를 나타낸다.
FIG. 1 is a diagram illustrating an audio signal transmission and reception system according to various embodiments of the present invention.
FIG. 2 is a graph showing noise generated when an electronic device according to various embodiments of the present invention encodes an audio signal.
FIG. 3 is a graph showing the energy level of an audio signal of an electronic device according to various embodiments of the present invention.
FIG. 4 is a block diagram showing the configuration of an electronic device according to an embodiment of the present invention.
FIG. 5 is a block diagram illustrating a configuration of an electronic device that determines headroom based on the bandwidth of a sub-band and allocated bits according to one embodiment of the present invention.
FIG. 6 is a block diagram illustrating a configuration of an electronic device that determines headroom based on the bandwidth of a sub-band and allocated bits according to one embodiment of the present invention.
FIG. 7 is a graph showing determining energy levels for each sub-band of an electronic device according to an embodiment of the present invention.
FIG. 8 is a block diagram showing the configuration of an electronic device that determines headroom based on the bandwidth of a sub-band and allocated bits in a preprocessing process according to an embodiment of the present invention.
FIG. 9 is a block diagram showing the configuration of an electronic device that determines headroom based on the bandwidth of a sub-band in a post-processing process according to an embodiment of the present invention.
FIG. 10 is a flowchart illustrating a method for controlling an electronic device for encoding an audio signal according to an embodiment of the present invention.
FIG. 11 illustrates electronic devices within a network environment according to various embodiments.
FIG. 12 shows a block diagram of an electronic device according to an embodiment of the present invention.

이하, 본 발명의 다양한 실시 예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 실시 예의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다.Hereinafter, various embodiments of the present invention will be described with reference to the attached drawings. However, it should be understood that this is not intended to limit the present invention to specific embodiments, but includes various modifications, equivalents, and/or alternatives of the embodiments of the present invention. In connection with the description of the drawings, similar reference numerals may be used for similar components.

본 문서에서, "가진다", "가질 수 있다", "포함한다", 또는 "포함할 수 있다" 등의 표현은 해당 특징(예: 수치, 기능, 동작, 또는 부품 등의 구성요소)의 존재를 가리키며, 추가적인 특징의 존재를 배제하지 않는다.In this document, the expressions "have", "can have", "include", or "may include" indicate the presence of a feature (e.g., a numerical value, function, operation, or component such as a part), but do not exclude the presence of additional features.

본 문서에서, "A 또는 B", "A 또는/및 B 중 적어도 하나", 또는 "A 또는/및 B 중 하나 또는 그 이상" 등의 표현은 함께 나열된 항목들의 모든 가능한 조합을 포함할 수 있다. 예를 들면, "A 또는 B", "A 및 B 중 적어도 하나", 또는 "A 또는 B 중 적어도 하나"는,(1) 적어도 하나의 A를 포함,(2) 적어도 하나의 B를 포함, 또는(3) 적어도 하나의 A 및 적어도 하나의 B 모두를 포함하는 경우를 모두 지칭할 수 있다.In this document, the expressions "A or B", "at least one of A and/or B", or "one or more of A or/and B" can include all possible combinations of the items listed together. For example, "A or B", "at least one of A and B", or "at least one of A or B" can all refer to cases where (1) at least one A is included, (2) at least one B is included, or (3) both at least one A and at least one B are included.

본 문서에서 사용된 "제1", "제2", "첫째", 또는 "둘째" 등의 표현들은 다양한 구성요소들을, 순서 및/또는 중요도에 상관없이 수식할 수 있고, 한 구성요소를 다른 구성요소와 구분하기 위해 사용될 뿐 해당 구성요소들을 한정하지 않는다. 예를 들면, 제1 사용자 기기와 제2 사용자 기기는, 순서 또는 중요도와 무관하게, 서로 다른 사용자 기기를 나타낼 수 있다. 예를 들면, 본 문서에 기재된 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 바꾸어 명명될 수 있다.The expressions "first", "second", "first", or "second" used in this document can describe various components, regardless of order and/or importance, and are only used to distinguish one component from another, but do not limit the components. For example, a first user device and a second user device can represent different user devices, regardless of order or importance. For example, without departing from the scope of the rights set forth in this document, a first component can be named a second component, and similarly, a second component can also be renamed as a first component.

어떤 구성요소(예: 제1 구성요소)가 다른 구성요소(예: 제2 구성요소)에 "(기능적으로 또는 통신적으로) 연결되어((operatively or communicatively) coupled with/to)" 있다거나 "접속되어(connected to)" 있다고 언급된 때에는, 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로 연결되거나, 다른 구성요소(예: 제3 구성요소)를 통하여 연결될 수 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소(예: 제1 구성요소)가 다른 구성요소(예: 제2 구성요소)에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 상기 어떤 구성요소와 상기 다른 구성요소 사이에 다른 구성요소(예: 제3 구성요소)가 존재하지 않는 것으로 이해될 수 있다.When it is stated that a component (e.g., a first component) is "(operatively or communicatively) coupled with/to" or "connected to" another component (e.g., a second component), it should be understood that the component can be directly coupled to the other component, or can be connected via another component (e.g., a third component). On the other hand, when it is stated that a component (e.g., a first component) is "directly coupled to" or "directly connected to" another component (e.g., a second component), it should be understood that no other component (e.g., a third component) exists between the component and the other component.

본 문서에서 사용된 표현 "~하도록 구성된(또는 설정된)(configured to)"은 상황에 따라, 예를 들면, "~에 적합한(suitable for)", "~하는 능력을 가지는(having the capacity to)", "~하도록 설계된(designed to)", "~하도록 변경된(adapted to)", "~하도록 만들어진(made to)", 또는 "~를 할 수 있는(capable of)"과 바꾸어 사용될 수 있다. 용어 "~하도록 구성(또는 설정)된"은 하드웨어적으로 "특별히 설계된(specifically designed to)"것만을 반드시 의미하지 않을 수 있다. 대신, 어떤 상황에서, "~하도록 구성된 장치"라는 표현은, 그 장치가 다른 장치 또는 부품들과 함께 "~할 수 있는" 것을 의미할 수 있다. 예를 들면, 문구 "A, B, 및 C를 수행하도록 구성(또는 설정)된 프로세서"는 해당 동작을 수행하기 위한 전용 프로세서(예: 임베디드 프로세서), 또는 메모리 장치에 저장된 하나 이상의 소프트웨어 프로그램들을 실행함으로써, 해당 동작들을 수행할 수 있는 범용 프로세서(generic-purpose processor)(예: CPU 또는 application processor)를 의미할 수 있다.The expression "configured to" as used herein can be used interchangeably with, for example, "suitable for", "having the capacity to", "designed to", "adapted to", "made to", or "capable of". The term "configured to" does not necessarily mean only that which is "specifically designed to" in terms of hardware. Instead, in some contexts, the expression "a device configured to" can mean that the device is "capable of" doing something together with other devices or components. For example, the phrase "a processor configured (or set) to perform A, B, and C" can mean a dedicated processor (e.g., an embedded processor) to perform those operations, or a generic-purpose processor (e.g., a CPU or application processor) that can perform those operations by executing one or more software programs stored in a memory device.

본 문서에서 사용된 용어들은 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 다른 실시 예의 범위를 한정하려는 의도가 아닐 수 있다. 단수의 표현은 컨텍스트상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함할 수 있다. 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 용어들은 본 문서에 기재된 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가질 수 있다. 본 문서에 사용된 용어들 중 일반적인 사전에 정의된 용어들은 관련 기술의 컨텍스트 상 가지는 의미와 동일 또는 유사한 의미로 해석될 수 있으며, 본 문서에서 명백하게 정의되지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다. 경우에 따라서, 본 문서에서 정의된 용어일지라도 본 문서의 실시 예들을 배제하도록 해석될 수 없다.The terms used in this document are used only to describe specific embodiments and may not be intended to limit the scope of other embodiments. The singular expression may include the plural expression unless the context clearly indicates otherwise. The terms used herein, including technical or scientific terms, may have the same meaning as commonly understood by a person of ordinary skill in the art described in this document. Among the terms used in this document, terms defined in general dictionaries may be interpreted as having the same or similar meaning in the context of the related technology, and shall not be interpreted in an ideal or excessively formal meaning unless explicitly defined in this document. In some cases, even if a term is defined in this document, it cannot be interpreted to exclude the embodiments of this document.

본 문서의 다양한 실시 예들에 따른 전자 장치는, 예를 들면, 스마트폰(smartphone), 태블릿 PC(tablet personal computer), 이동 전화기(mobile phone), 영상 전화기, 전자책 리더기(e-book reader), 데스크톱 PC(desktop PC), 랩탑 PC(laptop PC), 넷북 컴퓨터(netbook computer), 워크스테이션(workstation), 서버, PDA(personal digital assistant), PMP(portable multimedia player), MP3 플레이어, 모바일 의료기기, 카메라, 또는 웨어러블 장치(wearable device) 중 적어도 하나를 포함할 수 있다. 다양한 실시 예에 따르면 웨어러블 장치는 엑세서리 형(예: 시계, 반지, 팔찌, 발찌, 목걸이, 안경, 콘택트 렌즈, 또는 머리 착용형 장치(head-mounted-device(HMD)), 직물 또는 의류 일체 형(예: 전자 의복), 신체 부착 형(예: 스킨 패드(skin pad) 또는 문신), 또는 생체 이식 형(예: implantable circuit) 중 적어도 하나를 포함할 수 있다.An electronic device according to various embodiments of the present document may include at least one of, for example, a smartphone, a tablet personal computer (PC), a mobile phone, a video phone, an e-book reader, a desktop PC, a laptop PC, a netbook computer, a workstation, a server, a personal digital assistant (PDA), a portable multimedia player (PMP), an MP3 player, a mobile medical device, a camera, or a wearable device. According to various embodiments, the wearable device may include at least one of an accessory type (e.g., a watch, a ring, a bracelet, an anklet, a necklace, glasses, a contact lens, or a head-mounted device (HMD)), a fabric or clothing-integrated type (e.g., an electronic garment), a body-attached type (e.g., a skin pad or a tattoo), or a bio-implantable type (e.g., an implantable circuit).

어떤 실시 예들에서, 전자 장치는 가전 제품(home appliance)일 수 있다. 가전 제품은, 예를 들면, 텔레비전, DVD 플레이어(Digital Video Disk player), 오디오, 냉장고, 에어컨, 청소기, 오븐, 전자레인지, 세탁기, 공기 청정기, 셋톱 박스(set-top box), 홈 오토매이션 컨트롤 패널(home automation control panel), 보안 컨트롤 패널(security control panel), TV 박스(예: 삼성 HomeSync™, 애플TV™, 또는 구글 TV™), 게임 콘솔(예: Xbox™, PlayStation™), 전자 사전, 전자 키, 캠코더, 또는 전자 액자 중 적어도 하나를 포함할 수 있다.In some embodiments, the electronic device may be a home appliance. The home appliance may include at least one of, for example, a television, a Digital Video Disk player (DVD player), an audio, a refrigerator, an air conditioner, a vacuum cleaner, an oven, a microwave oven, a washing machine, an air purifier, a set-top box, a home automation control panel, a security control panel, a TV box (e.g., Samsung HomeSync™, Apple TV™, or Google TV™), a game console (e.g., Xbox™, PlayStation™), an electronic dictionary, an electronic key, a camcorder, or an electronic picture frame.

다른 실시 예에서, 전자 장치는, 각종 의료기기(예: 각종 휴대용 의료측정기기(혈당 측정기, 심박 측정기, 혈압 측정기, 또는 체온 측정기 등), MRA(magnetic resonance angiography), MRI(magnetic resonance imaging), CT(computed tomography), 촬영기, 또는 초음파기 등), 내비게이션(navigation) 장치, 위성 항법 시스템(GNSS(Global Navigation Satellite System)), EDR(event data recorder), FDR(flight data recorder), 자동차 인포테인먼트(infotainment) 장치, 선박용 전자 장비(예: 선박용 항법 장치, 자이로 콤파스 등), 항공 전자기기(avionics), 보안 기기, 차량용 헤드 유닛(head unit), 산업용 또는 가정용 로봇, 금융 기관의 ATM(automatic teller's machine), 상점의 POS(point of sales), 또는 사물 인터넷 장치(internet of things)(예: 전구, 각종 센서, 전기 또는 가스 미터기, 스프링클러 장치, 화재경보기, 온도조절기(thermostat), 가로등, 토스터(toaster), 운동기구, 온수탱크, 히터, 보일러 등) 중 적어도 하나를 포함할 수 있다.In another embodiment, the electronic device may be any of various medical devices (e.g., various portable medical measuring devices (such as blood glucose meters, heart rate monitors, blood pressure monitors, or body temperature monitors), magnetic resonance angiography (MRA), magnetic resonance imaging (MRI), computed tomography (CT), a camera, or an ultrasound device), a navigation device, a satellite navigation system (a Global Navigation Satellite System (GNSS)), an event data recorder (EDR), a flight data recorder (FDR), an automobile infotainment device, electronic equipment for ships (e.g., a navigation device for ships, a gyro compass, etc.), avionics, a security device, a head unit for a vehicle, an industrial or household robot, an automatic teller's machine (ATM) of a financial institution, a point of sales (POS) of a store, or an internet of things device (e.g., a light bulb, various sensors, an electric or gas meter, a sprinkler device, a fire alarm, It may include at least one of the following: a thermostat, a streetlight, a toaster, exercise equipment, a hot water tank, a heater, a boiler, etc.

어떤 실시 예에 따르면, 전자 장치는 가구(furniture) 또는 건물/구조물의 일부, 전자 보드(electronic board), 전자 사인 수신 장치(electronic signature receiving device), 프로젝터(projector), 또는 각종 계측 기기(예: 수도, 전기, 가스, 또는 전파 계측 기기 등) 중 적어도 하나를 포함할 수 있다. 다양한 실시 예에서, 전자 장치는 전술한 다양한 장치들 중 하나 또는 그 이상의 조합일 수 있다. 어떤 실시 예에 따른 전자 장치는 플렉서블 전자 장치일 수 있다. 또한, 본 문서의 실시 예에 따른 전자 장치는 전술한 기기들에 한정되지 않으며, 기술 발전에 따른 새로운 전자 장치를 포함할 수 있다.According to some embodiments, the electronic device may include at least one of a piece of furniture or a part of a building/structure, an electronic board, an electronic signature receiving device, a projector, or various measuring devices (e.g., a water, electricity, gas, or radio wave measuring device, etc.). In various embodiments, the electronic device may be a combination of one or more of the various devices described above. The electronic device according to some embodiments may be a flexible electronic device. In addition, the electronic device according to the embodiments of the present document is not limited to the devices described above, and may include new electronic devices according to technological advancement.

이하, 첨부 도면을 참조하여, 다양한 실시 예에 따른 전자 장치가 설명된다. 본 문서에서, 사용자라는 용어는 전자 장치를 사용하는 사람 또는 전자 장치를 사용하는 장치(예: 인공지능 전자 장치)를 지칭할 수 있다. Hereinafter, electronic devices according to various embodiments are described with reference to the attached drawings. In this document, the term user may refer to a person using an electronic device or a device using an electronic device (e.g., an artificial intelligence electronic device).

도 1은 본 발명의 다양한 실시 예에 따른 오디오 시스템을 나타낸 도면이다.FIG. 1 is a diagram illustrating an audio system according to various embodiments of the present invention.

도 1을 참조하면, 오디오 시스템은 제1 전자 장치(10) 및 제2 전자 장치(20)를 포함할 수 있다. 제1 전자 장치(10)는 제2 전자 장치(20)로 오디오 신호를 송신하는 소스 장치(예: 스마트폰)일 수 있다. 제2 전자 장치(20)는 제1 전자 장치(10)로부터 오디오 신호를 수신하여 출력하는 출력 장치(예: 스피커 장치)일 수 있다.Referring to FIG. 1, an audio system may include a first electronic device (10) and a second electronic device (20). The first electronic device (10) may be a source device (e.g., a smartphone) that transmits an audio signal to the second electronic device (20). The second electronic device (20) may be an output device (e.g., a speaker device) that receives an audio signal from the first electronic device (10) and outputs the audio signal.

제1 전자 장치(10)는 오디오 신호를 제2 전자 장치(20)로 송신할 수 있다. 예를 들어, 제1 전자 장치(10)는 내부에 저장(예: 메모리에 저장)된 오디오 신호 데이터를 제2 전자 장치(20)로 송신할 수 있다. 다른 예를 들어, 제1 전자 장치(10)는 외부 장치로부터 오디오 신호 데이터를 수신하여 제2 전자 장치(20)로 송신할 수 있다.A first electronic device (10) can transmit an audio signal to a second electronic device (20). For example, the first electronic device (10) can transmit audio signal data stored internally (e.g., stored in a memory) to the second electronic device (20). As another example, the first electronic device (10) can receive audio signal data from an external device and transmit the audio signal data to the second electronic device (20).

일 실시 예에 따르면, 제1 전자 장치(10)는 제2 전자 장치(20)로 오디오 신호를 송신할 때, 상기 오디오 신호를 지정된 압축 방식으로 압축(compress)하여 송신할 수 있다. 예를 들어, 제1 전자 장치(10)는 손실 압축 방식에 따라 오디오 신호의 일부를 제거하고, 상기 일부가 제거된 오디오 신호를 압축하여 제2 전자 장치(20)로 송신할 수 있다. 다시 말해, 상기 압축된 오디오 신호는 일부가 손실될 수 있다. 상기 지정된 압축 방식은, 예를 들어, MP3(MPEG(moving picture experts group) layer 3), AC-3(audio coding-3), ASF(advanced streaming format) 등을 포함할 수 있다. 또한, 제1 전자 장치(10)가 제2 전자 장치(20)와 블루투스(bluetooth)로 연결되는 경우 상기 지정된 압축 방식은 SBC(subband coding), AAC(advanced audio codec), apt-X 중 어느 하나를 포함할 수 있다.According to one embodiment, when the first electronic device (10) transmits an audio signal to the second electronic device (20), the first electronic device (10) may compress the audio signal using a specified compression method and transmit the audio signal. For example, the first electronic device (10) may remove a portion of the audio signal according to a lossy compression method, compress the audio signal from which the portion has been removed, and transmit the compressed audio signal to the second electronic device (20). In other words, a portion of the compressed audio signal may be lost. The specified compression method may include, for example, MP3 (MPEG (moving picture experts group) layer 3), AC-3 (audio coding-3), ASF (advanced streaming format), etc. In addition, when the first electronic device (10) is connected to the second electronic device (20) via Bluetooth, the specified compression method may include any one of SBC (subband coding), AAC (advanced audio codec), and apt-X.

제2 전자 장치(20)는 제1 전자 장치(10)로부터 오디오 신호를 수신하여 출력할 수 있다. 예를 들어, 제2 전자 장치(20)는 압축된 오디오 신호를 수신할 수 있고, 상기 압축된 오디오 신호를 해제(decompress)하여 출력할 수 있다. 일 실시 예에 따르면 제2 전자 장치(20)는 제1 전자 장치(10)의 압축 방식에 대응되는 해제 방식으로 상기 압축된 오디오 신호를 해제할 수 있다.The second electronic device (20) can receive and output an audio signal from the first electronic device (10). For example, the second electronic device (20) can receive a compressed audio signal, decompress the compressed audio signal, and output the decompressed audio signal. According to one embodiment, the second electronic device (20) can decompress the compressed audio signal in a decompressing manner corresponding to the compression manner of the first electronic device (10).

일 실시 예에 따르면, 제2 전자 장치(20)는 오디오 신호를 후처리(post-processing)할 수 있다. 예를 들어, 제2 전자 장치(20)는 압축이 해제된 오디오 신호를 EQ(equalizer)를 통해 오디오 신호를 사용자의 기호에 맞게 이퀄라이징(equalizing)할 수 있다. 다른 예를 들어, 제2 전자 장치(20)는 압축이 해제된 오디오 신호의 고주파 영역의 신호를 복원할 수 있다. 상기 압축이 해제된 오디오 신호는, 예를 들어, 제1 전자 장치(10)에서 압축되는 과정에서 고주파 영역의 신호가 손실될 수 있다. 제2 전자 장치(20)는 상기 고주파 영역의 신호가 손실된 오디오 신호를 복원할 수 있다.According to one embodiment, the second electronic device (20) can post-process the audio signal. For example, the second electronic device (20) can equalize the decompressed audio signal to suit the user's taste through an EQ (equalizer). As another example, the second electronic device (20) can restore a high-frequency region signal of the decompressed audio signal. The decompressed audio signal may have a high-frequency region signal lost during the process of being compressed by, for example, the first electronic device (10). The second electronic device (20) can restore the audio signal from which the high-frequency region signal is lost.

일 실시 예에 따르면, 제2 전자 장치(20)는 오디오 신호를 출력할 수 있는 에너지의 최대 값(예: 피크 밸류(peak value))이 존재할 수 있다. 제2 전자 장치(20)가 상기 에너지의 최대 값보다 높은 에너지를 포함하는 오디오 신호를 출력하게 되면, 왜곡(distortion)된 오디오 신호를 출력할 수 없다. 이에 따라, 제1 전자 장치(10)는 제2 전자 장치(20)로 송신되는 오디오 신호의 에너지 레벨 값이 상기 에너지 최대값을 넘지 않도록 송신되는 오디오 신호를 조정할 수 있다.According to one embodiment, the second electronic device (20) may have a maximum value (e.g., peak value) of energy that can output an audio signal. If the second electronic device (20) outputs an audio signal that includes energy higher than the maximum value of energy, it cannot output a distorted audio signal. Accordingly, the first electronic device (10) may adjust the audio signal to be transmitted so that the energy level value of the audio signal transmitted to the second electronic device (20) does not exceed the maximum energy value.

도 2a 및 도 2b는 본 발명의 다양한 실시 예에 따른 전자 장치가 오디오 신호를 인코딩할 때 발생되는 노이즈(noise)를 나타낸 그래프이다.FIGS. 2A and 2B are graphs showing noise generated when an electronic device according to various embodiments of the present invention encodes an audio signal.

도 2a를 참조하면, 제1 전자 장치(10)는 0 ~ 24 kHz를 나타내는 -1dB 크기의 오디오 신호를 인코딩하여 송신할 수 있다. 예를 들어, 제1 전자 장치(10)는 제2 전자 장치(20)와 블루투스로 연결되고, 오디오 신호를 SBC (subband coding) 방식으로 인코딩하여 제2 전자 장치(20)로 송신할 수 있다.Referring to FIG. 2a, the first electronic device (10) can encode and transmit an audio signal having a size of -1 dB representing 0 to 24 kHz. For example, the first electronic device (10) can be connected to the second electronic device (20) via Bluetooth, and can encode an audio signal in the SBC (subband coding) method and transmit it to the second electronic device (20).

일 실시 예에 따르면, 제1 전자 장치(10)는 상기 오디오 신호에 해당하는 주파수 대역을 복수의 서브 밴드(b)로 구분할 수 있다. 예를 들어, 제1 전자 장치(10)는 상기 오디오 신호에 해당하는 주파수 대역을 4개의 서브 밴드(b1, b2, b3, b4)로 구분할 수 있다. 일 실시 예에 따르면, 제1 전자 장치(10)는 에너지 레벨 값을 양자화하기 위한 비트를 상기 서브 밴드(b1, b2, b3, b4) 별로 상이하게 할당할 수 있다. 예를 들어, 제1 전자 장치(10)는 인간의 가청 주파수 대역(예: 20 ~ 22kHz) 내에서 민감도가 높고 많은 정보를 포함하고 있는 주파수 대역(예: 2.5 ~ 5kHz)(b1)에 많은 비트를 할당할 수 있고, 민감도가 다소 낮고 적은 정보를 포함하는 주파수 대역(b2, b3, b4)에 적은 비트를 할당할 수 있다.According to one embodiment, the first electronic device (10) may divide the frequency band corresponding to the audio signal into a plurality of sub-bands (b). For example, the first electronic device (10) may divide the frequency band corresponding to the audio signal into four sub-bands (b1, b2, b3, b4). According to one embodiment, the first electronic device (10) may allocate bits for quantizing energy level values differently for each of the sub-bands (b1, b2, b3, b4). For example, the first electronic device (10) may allocate many bits to a frequency band (b1) having high sensitivity and containing a lot of information (e.g., 2.5 to 5 kHz) within the human audible frequency band (e.g., 20 to 22 kHz), and may allocate few bits to a frequency band (b2, b3, b4) having somewhat lower sensitivity and containing little information.

도 2b를 참조하면, 제1 전자 장치(10)에 의해서 오디오 신호가 인코딩되었을 때 노이즈(noise)가 발생할 수 있다. 상기 노이즈는 해당 주파수 밴드에 할당된 비트에 따라 발생된 양이 달라질 수 있다. 예를 들어, 많은 비트를 할당된 주파수 대역(b1)에서 발생된 노이즈(n1)는 작은 비트가 할당된 주파수 대역(b2, b3, b4)에서 발생한 노이즈(n2, n3, n4)보다 적을 수 있다. 이에 따라, 제1 전자 장치(10)에 의해서 인코딩된 오디오 신호는 작은 비트가 할당된 주파수 대역(b2, b3, b4)에서 양자화된 레벨 값이 증가(예: -1dB 이상)할 수 있다.Referring to FIG. 2b, when an audio signal is encoded by the first electronic device (10), noise may be generated. The amount of noise generated may vary depending on the bits allocated to the corresponding frequency band. For example, noise (n1) generated in a frequency band (b1) to which many bits are allocated may be less than noise (n2, n3, n4) generated in a frequency band (b2, b3, b4) to which few bits are allocated. Accordingly, an audio signal encoded by the first electronic device (10) may have a quantized level value increase (e.g., -1 dB or more) in a frequency band (b2, b3, b4) to which few bits are allocated.

도 3은 본 발명의 다양한 실시 예에 따른 전자 장치의 오디오 신호의 에너지 레벨을 나타낸 그래프이다.FIG. 3 is a graph showing the energy level of an audio signal of an electronic device according to various embodiments of the present invention.

도 3을 참조하면, 제2 전자 장치(20)는 다이나믹 레인지(31) 내의 에너지 레벨 값을 갖는 오디오 신호를 정상적으로 출력할 수 있다. 제2 전자 장치(20)는 오디오 신호의 에너지 레벨 값이 피크 레벨(또는, 피크 밸류)(32)보다 높은 경우나 잡음 레벨(33)보다 낮은 경우, 비정상적으로 동작(예: 왜곡(32´), 잡음(33´))할 수 있다. 이에 따라, 제2 전자 장치(20)가 수신된 오디오 신호를 안정적으로 출력할 수 있도록 헤드룸(head-room) 및 풋룸(foot-room)이 설정될 수 있다. 상기 헤드룸 및 풋룸이 적용된 오디오 신호는 동작 레벨(34)과 최소 신호 레벨(35) 사이(36)의 에너지 레벨 값으로 이루어질 수 있다.Referring to FIG. 3, the second electronic device (20) can normally output an audio signal having an energy level value within a dynamic range (31). If the energy level value of the audio signal is higher than the peak level (or peak value) (32) or lower than the noise level (33), the second electronic device (20) may operate abnormally (e.g., distortion (32´), noise (33´)). Accordingly, headroom and footroom can be set so that the second electronic device (20) can stably output the received audio signal. The audio signal to which the headroom and footroom are applied can be formed of an energy level value between the operation level (34) and the minimum signal level (35) (36).

제1 전자 장치(10)는 제2 전자 장치(20)로 클리핑 레벨(32) 이상의 에너지 레벨 값을 갖는 오디오 신호를 송신하지 않기 위해 오디오 신호에 헤드룸을 적용할 수 있다. 헤드룸은 제2 전자 장치(20)가 오디오 신호를 출력할 수 있는 범위를 고려하여 오디오 신호의 에너지의 평균 레벨 값(예: 오디오 신호의 RMS(root mean square) 값)보다 높은 범위로 결정할 수 있다. 예를 들어, 헤드룸은 오디오 신호의 에너지 레벨 값보다 높고 제2 전자 장치(20)의 피크 밸류보다 낮은 범위로 결정될 수 있다. The first electronic device (10) may apply headroom to the audio signal so as not to transmit an audio signal having an energy level value higher than a clipping level (32) to the second electronic device (20). The headroom may be determined to be a range higher than an average level value of energy of the audio signal (e.g., an RMS (root mean square) value of the audio signal) in consideration of a range in which the second electronic device (20) can output the audio signal. For example, the headroom may be determined to be a range higher than an energy level value of the audio signal and lower than a peak value of the second electronic device (20).

오디오 신호에 해당하는 주파수 대역 전체에서 동일한 헤드룸(head-room)을 적용하는 경우, 제1 전자 장치(10)는 비트가 상대적으로 작게 할당된 서브 밴드를 기초로 하여 헤드룸을 설정할 수 있다. 이에 따라, 상대적으로 많은 비트가 할당된 서브 밴드는 필요한 범위 이상으로 에너지 레벨 값이 감소되고, 제2 전자 장치(20)는 저출력(또는, 낮은 음질)의 오디오 신호를 수신할 수 있다. 본 발명의 제1 전자 장치(10)는 오디오 신호를 압축할 때 서브 밴드의 에너지 레벨 값을 확인하고 서브 밴드 별로 오디오 신호가 손실되는 양을 다르게 적용하여 필요한 범위 이상으로 에너지 레벨 값이 감소하는 것을 방지할 수 있다.When applying the same headroom to the entire frequency band corresponding to the audio signal, the first electronic device (10) can set the headroom based on a sub-band to which a relatively small number of bits are allocated. Accordingly, the energy level value of the sub-band to which a relatively large number of bits are allocated is reduced beyond a necessary range, and the second electronic device (20) can receive an audio signal with low output (or low sound quality). The first electronic device (10) of the present invention can prevent the energy level value from being reduced beyond a necessary range by checking the energy level value of the sub-band when compressing the audio signal and applying a different amount of audio signal loss for each sub-band.

도 4는 본 발명의 일 실시 예에 따른 전자 장치의 구성을 나타낸 블록도이다.FIG. 4 is a block diagram showing the configuration of an electronic device according to an embodiment of the present invention.

도 4를 참조하면, 제1 전자 장치(10)는 ADC(analog digital convertor)(100), 인코더(200) 및 송신 모듈(300)을 포함할 수 있다.Referring to FIG. 4, the first electronic device (10) may include an analog digital convertor (ADC) (100), an encoder (200), and a transmission module (300).

제1 전자 장치(100)에 입력되는 신호는 아날로그 신호 또는 디시털 신호일 수 있다. 일 실시 예에 따르면, 제1 전자 장치(100)는 상기 아날로그 신호(예: 사용자 음성)가 입력되는 경우, 상기 아날로그 신호를 ADC(100)로 송신할 수 있다. 일 실시 예에 따르면, 제1 전자 장치(100)는 상기 디지털 신호가 입력되는 경우, ADC(100)의 처리 과정을 거치지 않고 인코더(200)로 송신할 수 있다. 예를 들어, 제1 전자 장치(10)가 메모리에 저장된 디지털 음원 파일(예: MP3 파일 등)을 재생하는 경우, 상기 디지털 음원 파일의 디지털 신호는 ADC(100)의 처리 과정을 거치지 않을 수 있다.The signal input to the first electronic device (100) may be an analog signal or a digital signal. According to one embodiment, when the analog signal (e.g., user voice) is input, the first electronic device (100) may transmit the analog signal to the ADC (100). According to one embodiment, when the digital signal is input, the first electronic device (100) may transmit the digital signal to the encoder (200) without going through the processing process of the ADC (100). For example, when the first electronic device (10) plays a digital sound file (e.g., an MP3 file, etc.) stored in a memory, the digital signal of the digital sound file may not go through the processing process of the ADC (100).

ADC(100)는 입력된 아날로그 신호를 디지털 신호로 변환(convert)할 수 있다. 예를 들어, ADC(100)는 일정한 시간 간격으로 입력된 아날로그 오디오 신호의 샘플을 추출하고, 상기 추출된 샘플의 진폭을 지정된 대표 값으로 변경하고, 상기 지정된 대표 값을 디지털 코드로 변환하여 디지털 오디오 신호를 생성할 수 있다. The ADC (100) can convert an input analog signal into a digital signal. For example, the ADC (100) can extract samples of an input analog audio signal at regular time intervals, change the amplitude of the extracted sample to a designated representative value, and convert the designated representative value into a digital code to generate a digital audio signal.

인코더(200)는 상기 생성된 디지털 신호를 압축할 수 있다. 예를 들어, 인코더(200)는 지정된 압축 방식(또는, 코덱(codec))에 따라 상기 디지털 오디오 신호를 압축할 수 있다. 일 실시 예에 따르면, 인코더(200)는 상기 지정된 압축 방식에 따라 압축된 디지털 신호를 이용하여 비트스트림(bitstream)을 생성할 수 있다.The encoder (200) can compress the generated digital signal. For example, the encoder (200) can compress the digital audio signal according to a specified compression method (or codec). According to one embodiment, the encoder (200) can generate a bitstream using the digital signal compressed according to the specified compression method.

송신 모듈(300)은 상기 생성된 비트스트림을 외부 장치로 전송할 수 있다. 예를 들어, 송신 모듈(300)은 상기 외부 장치와 무선으로 연결되어 상기 비트스트림을 상기 외부 장치로 전송할 수 있다. The transmission module (300) can transmit the generated bitstream to an external device. For example, the transmission module (300) can be wirelessly connected to the external device and transmit the bitstream to the external device.

도 5는 본 발명의 일 실시 예에 따른 서브 밴드의 대역폭 및 할당된 비트에 기초하여 헤드룸(head-room)을 결정하는 전자 장치의 구성을 나타낸 블록도이다.FIG. 5 is a block diagram illustrating a configuration of an electronic device that determines headroom based on the bandwidth of a sub-band and allocated bits according to one embodiment of the present invention.

도 5를 참조하면, 인코더(200)는 주파수 스펙트럼 생성 모듈(210), 심리 음향 모델링 모듈(220), 비트 할당 모듈(230), 제1 양자화 모듈(240), 최대 에너지 문턱 값 결정 모듈(250), 제2 양자화 모듈(260), 에너지 레벨 결정 모듈(270) 및 부호화 모듈(280)을 포함할 수 있다.Referring to FIG. 5, the encoder (200) may include a frequency spectrum generation module (210), a psychoacoustic modeling module (220), a bit allocation module (230), a first quantization module (240), a maximum energy threshold value determination module (250), a second quantization module (260), an energy level determination module (270), and an encoding module (280).

주파수 스펙트럼 생성 모듈(210)은 디지털 신호로 변환된 오디오 신호를 주파수 도메인의 신호로 변환할 수 있다. 주파수 스펙트럼 생성 모듈(210)은 타임 도메인의 상기 오디오 신호를 압축 방식에 따라 주파수 도메인의 신호로 변환할 수 있다.The frequency spectrum generation module (210) can convert an audio signal converted into a digital signal into a signal in the frequency domain. The frequency spectrum generation module (210) can convert the audio signal in the time domain into a signal in the frequency domain according to a compression method.

일 실시 예에 따르면, 주파수 스펙트럼 생성 모듈(210)은 상기 주파수 도메인 신호로 변환된 오디오 신호에 해당하는 주파수 대역을 복수의 서브 밴드(b)로 구분할 수 있다. 주파수 스펙트럼 생성 모듈(210)은 상기 오디오 신호에 해당하는 주파수 대역을 압축 방식에 따라 지정된 주파수 대역폭(bw)으로 분리할 수 있다. 예를 들어, 주파수 스펙트럼 모듈(210)은 복수의 서브 밴드(b) 중 제1 서브 밴드(b1) 및 제2 서브 밴드(b2)를 제1 주파수 대역폭(bw1) 및 제2 주파수 대역폭(bw2)로 분리할 수 있다.According to one embodiment, the frequency spectrum generation module (210) can divide a frequency band corresponding to an audio signal converted into the frequency domain signal into a plurality of sub-bands (b). The frequency spectrum generation module (210) can separate the frequency band corresponding to the audio signal into a specified frequency bandwidth (bw) according to a compression method. For example, the frequency spectrum module (210) can separate a first sub-band (b1) and a second sub-band (b2) among the plurality of sub-bands (b) into a first frequency bandwidth (bw1) and a second frequency bandwidth (bw2).

일 실시 예에 따르면, 주파수 스펙트럼 생성 모듈(210)은 복수의 서브 밴드(b)의 에너지 레벨 값을 결정할 수 있다. 예를 들어, 주파수 스펙트럼 생성 모듈(210)은 상기 주파수 도메인 신호로 변환된 오디오 신호의 복수의 서브 밴드(b) 별로 대표 값을 결정하고, 상기 결정된 대표 값을 복수의 서브 밴드(b)의 에너지 레벨 값(E)으로 결정할 수 있다. 복수의 서브 밴드(b) 중 제1 서브 밴드(b1)는, 예를 들어, 제1 에너지 레벨 값(E1)으로 결정할 수 있고, 복수의 서브 밴드(b) 중 제2 서브 밴드(b2)는 제2 에너지 레벨 값(E2)으로 결정할 수 있다. 제1 에너지 레벨 값(E1)과 제2 에너지 레벨 값(E2)는 서로 상이할 수 있다. 이에 따라, 주파수 스펙트럼 생성 모듈(210)은 복수의 서브 밴드(b)를 각각의 에너지 레벨 값(E)으로 나타낸 에너지 레벨 주파수 스펙트럼을 생성할 수 있다.According to one embodiment, the frequency spectrum generation module (210) can determine energy level values of a plurality of sub-bands (b). For example, the frequency spectrum generation module (210) can determine a representative value for each of a plurality of sub-bands (b) of the audio signal converted into the frequency domain signal, and determine the determined representative value as an energy level value (E) of the plurality of sub-bands (b). For example, a first sub-band (b1) of the plurality of sub-bands (b) can be determined as a first energy level value (E1), and a second sub-band (b2) of the plurality of sub-bands (b) can be determined as a second energy level value (E2). The first energy level value (E1) and the second energy level value (E2) can be different from each other. Accordingly, the frequency spectrum generation module (210) can generate an energy level frequency spectrum in which the plurality of sub-bands (b) are represented by their respective energy level values (E).

일 실시 예에 따르면, 심리 음향 모델링 모듈(220)은 인간의 청각 특성을 고려하여 디지털 신호로 변환된 오디오 신호를 분석할 수 있다. 예를 들어, 심리 음향 모델링 모듈(220)은 ATH(absolute threshold of hearing) 및 오디오 신호의 차폐 효과를 고려하여 상기 오디오 신호에서 인간의 가청 주파수 대역, 민감도 및 포함된 정보의 양을 고려하여 주요한 주파수 대역을 분석할 수 있다. 상기 주요한 주파수 대역은, 예를 들어, 인간이 들을 수 있는 가청 주파수 대역 내의 민감도가 높고 많은 정보를 포함하고 있는 주파수 대역일 수 있다. 일 실시 예에 따르면, 심리 음향 모델링 모듈(220)은 상기 오디오 신호를 분석하기 위하여 상기 오디오 신호를 FFT(fast fourier transform)으로 타임 도메인의 상기 오디오 신호를 주파수 도메인의 신호로 변경할 수 있다. According to one embodiment, the psychoacoustic modeling module (220) can analyze an audio signal converted into a digital signal by considering human hearing characteristics. For example, the psychoacoustic modeling module (220) can analyze a major frequency band by considering the human audible frequency band, sensitivity, and amount of included information in the audio signal by considering the absolute threshold of hearing (ATH) and the shielding effect of the audio signal. The major frequency band may be, for example, a frequency band having high sensitivity and including a lot of information within the audible frequency band that a human can hear. According to one embodiment, the psychoacoustic modeling module (220) can change the audio signal in the time domain into a signal in the frequency domain by using FFT (fast Fourier transform) in order to analyze the audio signal.

일 실시 예에 따르면, 비트 할당 모듈(230)은 심리 음향 모델링 모듈(220)에서 상기 오디오 신호를 분석한 정보에 기초하여 복수의 서브 밴드(b) 각각에 비트(bit)(ba)를 할당할 수 있다. 예를 들어, 비트 할당 모듈(230)은 심리 음향 모델링 모듈(220)에 의해 분석된 상기 주요한 주파수 대역에 포함된 서브 밴드에 상기 주요한 주파수 대역에 포함되지 않은 서브 밴드보다 많은 비트를 할당할 수 잇다. 상기 주요한 주파수 대역에 포함된 제1 서브 밴드(b1)에 할당된 제1 비트(ba1)는, 예를 들어, 상기 주요한 주파수 대역에 포함되지 않은 제2 서브 밴드(b2)에 할당된 제2 비트(ba2)보다 많은 비트를 할당 받을 수 있다. 비트 할당 모듈(230)에 의해서 많은 비트가 할당된 서브 밴드는 양자화 시에 적은 비트가 할당된 서브 밴드보다 에너지 레벨 값이 정확하게 표시될 수 있다.According to one embodiment, the bit allocation module (230) may allocate bits (ba) to each of a plurality of sub-bands (b) based on information analyzed by the psychoacoustic modeling module (220) for the audio signal. For example, the bit allocation module (230) may allocate more bits to a sub-band included in the main frequency band analyzed by the psychoacoustic modeling module (220) than to a sub-band not included in the main frequency band. The first bit (ba1) allocated to the first sub-band (b1) included in the main frequency band may be allocated more bits than the second bit (ba2) allocated to the second sub-band (b2) not included in the main frequency band, for example. A sub-band to which more bits are allocated by the bit allocation module (230) may have an energy level value displayed more accurately than a sub-band to which fewer bits are allocated during quantization.

일 실시 예에 따르면, 제1 양자화 모듈(240)은 에너지 레벨 주파수 스펙트럼을 양자화할 수 있다. 제1 양자화 모듈(240)은 복수의 서브 밴드(b) 각각의 에너지 레벨 값(E)을 양자화할 수 있다. 예를 들어, 제1 양자화 모듈(240)은 복수의 서브 밴드(b) 각각의 에너지 레벨 값(E)을 지정된 크기로 결정할 수 있다. 상기 지정된 크기는, 예를 들어, 복수의 서브 밴드(b) 각각에 할당된 비트(ba)에 따라 결정될 수 있다.According to one embodiment, the first quantization module (240) can quantize an energy level frequency spectrum. The first quantization module (240) can quantize an energy level value (E) of each of the plurality of sub-bands (b). For example, the first quantization module (240) can determine the energy level value (E) of each of the plurality of sub-bands (b) as a specified size. The specified size can be determined, for example, according to bits (ba) allocated to each of the plurality of sub-bands (b).

일 실시 예에 따르면, 제1 양자화 모듈(240)은 상기 복수의 서브 밴드(b) 각각의 에너지 레벨 값(E)을 할당된 비트(ba)로 양자화 할 수 있다. 예를 들어, 제1 양자화 모듈(240)은 제1 비트(ba1)를 이용하여 제1 서브 밴드(b1)의 제1 에너지 레벨 값(E1)을 양자화하여 제1 양자화 레벨 값을 결정할 수 있다. 제1 양자화 모듈(240)은 제2 비트(ba2)를 제2 서브 밴드(b2)의 제2 에너지 레벨 값(E2)을 양자화하여 제2 양자화 레벨 값을 결정할 수 있다.According to one embodiment, the first quantization module (240) can quantize the energy level value (E) of each of the plurality of sub-bands (b) into the allocated bits (ba). For example, the first quantization module (240) can quantize the first energy level value (E1) of the first sub-band (b1) using the first bit (ba1) to determine the first quantization level value. The first quantization module (240) can quantize the second energy level value (E2) of the second sub-band (b2) using the second bit (ba2) to determine the second quantization level value.

제1 양자화 모듈(240)은 많은 비트가 할당된 서브 밴드의 에너지 레벨 값(E)을 적은 비트가 할당된 서브 밴드보다 정확하게 양자화할 수 있다. 예를 들어, 제1 서브 밴드(b1)의 상기 제1 양자화 레벨 값은 제1 서브 밴드(b1)보다 적은 비트가 할당된 제2 서브 밴드(b2)의 상기 제2 양자화 레벨 값보다 정확하게 양자화 레벨 값을 결정할 수 있다.The first quantization module (240) can quantize the energy level value (E) of a sub-band to which more bits are allocated more accurately than the energy level value (E) of a sub-band to which fewer bits are allocated. For example, the first quantization level value of the first sub-band (b1) can determine the quantization level value more accurately than the second quantization level value of the second sub-band (b2) to which fewer bits are allocated than the first sub-band (b1).

최대 에너지 문턱 값 결정 모듈(250)은 할당된 비트(ba) 및 서브 밴드의 주파수 대역폭(bw)에 기초하여 복수의 서브 밴드(b) 각각의 최대 에너지 문턱 값(E_Th)을 결정할 수 있다. 최대 에너지 문턱 값 결정 모듈(250)은 압축 방식에 따라 할당된 비트(ba) 및 서브 밴드의 주파수 대역폭(bw)를 이용하여 결정할 수 있다. 예를 들어, 최대 에너지 문턱 값 결정 모듈(250)은 아래와 같은 수학식을 이용하여 최대 에너지 문턱 값(E_Th)를 결정할 수 있다.The maximum energy threshold value determination module (250) can determine the maximum energy threshold value (E_Th) of each of the plurality of sub-bands (b) based on the allocated bits (ba) and the frequency bandwidth (bw) of the sub-bands. The maximum energy threshold value determination module (250) can determine the maximum energy threshold value (E_Th) by using the allocated bits (ba) and the frequency bandwidth (bw) of the sub-bands according to the compression method. For example, the maximum energy threshold value determination module (250) can determine the maximum energy threshold value (E_Th) by using the following mathematical equation.

여기서, c1, c2, c3, c4는 압축 방법(또는, 코덱(codec)), 비트레이트(bitrate) 등에 따라 결정된 상수일 수 있다. 최대 에너지 문턱 값 결정 모듈(250)은, 예를 들어, 제1 주파수 대역폭(bw1) 및 제1 비트(ba1)를 이용하여 제1 서브 밴드(b1)의 제1 최대 에너지 문턱 값(E_Th1)을 결정할 수 있고, 제2 주파수 대역폭(bw2) 및 제2 비트(ba2)를 이용하여 제2 서브 밴드(b2)의 제2 최대 에너지 문턱 값(E_Th2)을 결정할 수 있다. 제1 최대 에너지 문턱 값(E_Th1) 및 제2 최대 에너지 문턱 값(E_Th2)은 서로 상이할 수 있다. 다른 예를 들어, 최대 에너지 문턱 값 결정 모듈(250)은 복수의 서브 밴드(b) 각각의 최대 에너지 문턱 값(E_Th)을 지정된 값(또는, 미리 결정된 값)으로 결정할 수 있다. 상기 지정된 값은, 예를 들어, 복수의 서브 밴드(b)의 대역폭(bw) 및 복수의 서브 밴드(b)에 할당된 비트(ba)에 기초하여 결정된 최대 에너지 문턱 값(E_th)일 수 있다. 상기 지정된 값은 룩업 테이블(look-up table)로 메모리에 저장될 수 있다. 최대 에너지 문턱 값 결정 모듈(250)은 제1 주파수 대역폭(bw1) 및 제1 비트(ba1)에 대응되는 지정된 값을 제1 서브 밴드(b1)의 제1 최대 에너지 문턱 값(E_Th1)으로 결정할 수 있고, 제2 주파수 대역폭(bw2) 및 제2 비트(ba2)에 대응되는 지정된 값을 제2 서브 밴드(b2)의 제2 최대 에너지 문턱 값(E_th2)으로 결정할 수 있다.Here, c1, c2, c3, and c4 may be constants determined according to a compression method (or codec), a bitrate, etc. The maximum energy threshold value determination module (250) may determine a first maximum energy threshold value (E_Th1) of the first sub-band (b1) using, for example, a first frequency bandwidth (bw1) and a first bit (ba1), and may determine a second maximum energy threshold value (E_Th2) of the second sub-band (b2) using a second frequency bandwidth (bw2) and a second bit (ba2). The first maximum energy threshold value (E_Th1) and the second maximum energy threshold value (E_Th2) may be different from each other. As another example, the maximum energy threshold value determination module (250) may determine the maximum energy threshold value (E_Th) of each of the plurality of sub-bands (b) as a specified value (or a predetermined value). The above-mentioned specified value may be, for example, a maximum energy threshold value (E_th) determined based on a bandwidth (bw) of a plurality of sub-bands (b) and bits (ba) allocated to the plurality of sub-bands (b). The above-mentioned specified value may be stored in a memory as a look-up table. The maximum energy threshold value determination module (250) may determine a specified value corresponding to a first frequency bandwidth (bw1) and a first bit (ba1) as a first maximum energy threshold value (E_Th1) of the first sub-band (b1), and may determine a specified value corresponding to a second frequency bandwidth (bw2) and a second bit (ba2) as a second maximum energy threshold value (E_th2) of the second sub-band (b2).

다른 실시 예에 따르면, 최대 에너지 문턱 값 결정 모듈(250)은 복수의 서브 밴드(b) 전체의 최대 에너지 문턱 값(E_Th)을 동일한 값으로 결정할 수 있다. 상기 동일한 최대 에너지 문턱 값(E_Th)은, 예를 들어, 복수의 서브 밴드(b)의 에너지 레벨을 고려하여(예: 할당된 비트(ba) 및 서브 밴드의 주파수 대역폭(bw)에 기초하여) 결정될 수 있다.In another embodiment, the maximum energy threshold value determination module (250) may determine the maximum energy threshold value (E_Th) of all of the plurality of sub-bands (b) to be the same value. The same maximum energy threshold value (E_Th) may be determined, for example, by considering the energy levels of the plurality of sub-bands (b) (e.g., based on the allocated bits (ba) and the frequency bandwidth (bw) of the sub-band).

일 실시 예에 따르면, 최대 에너지 문턱 값 결정 모듈(250)은 실시간으로 입력되는 오디오 신호의 에너지 레벨 값을 분석하여 복수의 서브 밴드(b)의 최대 에너지 문턱 값(E_Th)을 결정할 수 있다. 다른 실시 예에 따르면, 최대 에너지 문턱 값 결정 모듈(250)은 지정된 값을 입력된 오디오 신호의 복수의 서브 밴드(b)의 최대 에너지 문턱 값(E_Th)로 결정할 수 있다.According to one embodiment, the maximum energy threshold value determination module (250) may analyze energy level values of an audio signal input in real time to determine the maximum energy threshold value (E_Th) of a plurality of sub-bands (b). According to another embodiment, the maximum energy threshold value determination module (250) may determine a specified value as the maximum energy threshold value (E_Th) of a plurality of sub-bands (b) of the input audio signal.

제2 양자화 모듈(260)은 복수의 서브 밴드(b) 각각의 최대 에너지 문턱 값(E_Th)을 양자화 할 수 있다. 예를 들어, 제2 양자화 모듈(260)은 제1 서브 밴드(b1)의 제1 최대 에너지 문턱 값(E_Th1)을 양자화 하여 제1 양자화 문턱 값을 결정할 수 있고, 제2 서브 밴드(b2)의 제2 최대 에너지 문턱 값(E_Th2)을 양자화 하여 제2 양자화 문턱 값을 결정할 수 있다. 제2 양자화 모듈(260)은 제1 비트(ba1) 및 제2 비트(ba2) 각각을 이용하여 제1 서브 밴드(b1) 및 제2 서브 밴드(b2)의 최대 에너지 문턱 값을 양자화할 수 있다.The second quantization module (260) can quantize the maximum energy threshold value (E_Th) of each of the plurality of sub-bands (b). For example, the second quantization module (260) can quantize the first maximum energy threshold value (E_Th1) of the first sub-band (b1) to determine the first quantization threshold value, and can quantize the second maximum energy threshold value (E_Th2) of the second sub-band (b2) to determine the second quantization threshold value. The second quantization module (260) can quantize the maximum energy threshold values of the first sub-band (b1) and the second sub-band (b2) using the first bit (ba1) and the second bit (ba2), respectively.

에너지 레벨 결정 모듈(270)은 복수의 서브 밴드(b) 각각의 양자화된 레벨 값 및 양자화된 문턱 값을 비교하여 복수의 서브 밴드(b) 각각의 에너지 레벨(또는, 양자화된 레벨)을 결정할 수 있다. 예를 들어, 에너지 레벨 결정 모듈(270)은 제1 서브 밴드(b1)의 제1 양자화 레벨 값 및 제1 양자화 문턱 값을 비교하여 작은 값을 제1 서브 밴드(b1)의 양자화된 레벨 값으로 결정할 수 있다. 에너지 레벨 결정 모듈(270)은 제2 서브 밴드(b2)의 제2 양자화 레벨 값 및 제2 양자화 문턱 값을 비교하여 작은 값을 제2 서브 밴드(b2)의 양자화된 레벨 값으로 결정할 수 있다.The energy level determination module (270) can compare the quantized level value and the quantized threshold value of each of the plurality of sub-bands (b) to determine the energy level (or quantized level) of each of the plurality of sub-bands (b). For example, the energy level determination module (270) can compare the first quantized level value and the first quantized threshold value of the first sub-band (b1) to determine a smaller value as the quantized level value of the first sub-band (b1). The energy level determination module (270) can compare the second quantized level value and the second quantized threshold value of the second sub-band (b2) to determine a smaller value as the quantized level value of the second sub-band (b2).

일 실시 예에 따르면, 에너지 레벨 결정 모듈(270)은 제2 전자 장치(20)가 오디오 신호를 출력할 수 있는 범위(예: 피크 밸류 이하)를 고려하여 상기 결정된 복수의 서브 밴드(b) 각각의 양자화된 레벨 값보다 높은 범위를 헤드룸으로 결정할 수 있다. 예를 들어, 에너지 레벨 결정 모듈(270)은 제1 서브 밴드(b1)의 양자화된 레벨 값보다 높고 제2 전자 장치(20)의 피크 밸류보다 낮은 범위를 제1 헤드룸으로 결정할 수 있고, 제2 서브 밴드(b2)의 양자화된 레벨 값보다 높고 제2 전자 장치(20)의 피크 밸류보다 낮은 범위를 제2 헤드룸으로 결정할 수 있다. 상기 제1 헤드룸 및 제2 헤드룸은 서로 상이할 수 있다. 이에 따라, 에너지 레벨 결정 모듈(270)은 복수의 서브 밴드(b) 각각의 양자화된 문턱 값을 이용하여 헤드룸을 결정할 수 있다.According to one embodiment, the energy level determination module (270) may determine a range higher than the quantized level value of each of the determined plurality of sub-bands (b) as the headroom, considering a range (e.g., below the peak value) in which the second electronic device (20) can output an audio signal. For example, the energy level determination module (270) may determine a range higher than the quantized level value of the first sub-band (b1) and lower than the peak value of the second electronic device (20) as the first headroom, and may determine a range higher than the quantized level value of the second sub-band (b2) and lower than the peak value of the second electronic device (20) as the second headroom. The first headroom and the second headroom may be different from each other. Accordingly, the energy level determination module (270) may determine the headroom using the quantized threshold value of each of the plurality of sub-bands (b).

부호화 모듈(280)은 복수의 서브 밴드(b) 각각에서 양자화된 레벨 값이 결정된 신호를 압축 방식에 따라 부호화할 수 있다. 이에 따라, 제1 전자 장치(10)는 상기 부호화된 신호를 송신 모듈(300)을 통해 제2 전자 장치(20)로 송신할 수 있다.The encoding module (280) can encode a signal whose quantized level value is determined in each of a plurality of sub-bands (b) according to a compression method. Accordingly, the first electronic device (10) can transmit the encoded signal to the second electronic device (20) through the transmission module (300).

도 6은 본 발명의 일 실시 예에 따른 전자 장치의 서브 밴드 별로 에너지 레벨을 결정하는 것을 나타낸 그래프이다.FIG. 6 is a graph showing determining energy levels for each sub-band of an electronic device according to an embodiment of the present invention.

도 6을 참조하면, 제1 전자 장치(10)는 복수의 서브 밴드(b1 ~ b10) 각각에서 최대 에너지 문턱 값(E_Th1 ~ E_Th10)을 이용하여 헤드룸을 결정할 수 있다. 일 실시 예에 따르면, 제1 전자 장치(10)는 복수의 서브 밴드(b1 ~ b10)의 에너지 레벨 값(E1 ~ E10) 및 다른 최대 에너지 문턱 값(E_Th1 ~ E_Th10)을 양자화하고, 에너지 레벨 값(E1 ~ E10) 및 다른 최대 에너지 문턱 값(E_Th1 ~ E_Th10)을 비교하여 복수의 서브 밴드(b1 ~ b10)의 양자화된 레벨 값을 결정할 수 있다. Referring to FIG. 6, the first electronic device (10) may determine headroom using maximum energy threshold values (E_Th1 to E_Th10) in each of the plurality of sub-bands (b1 to b10). According to one embodiment, the first electronic device (10) may quantize energy level values (E1 to E10) and other maximum energy threshold values (E_Th1 to E_Th10) of the plurality of sub-bands (b1 to b10), and compare the energy level values (E1 to E10) and other maximum energy threshold values (E_Th1 to E_Th10) to determine the quantized level values of the plurality of sub-bands (b1 to b10).

예를 들어, 제1 서브 밴드(b1)에서 제1 최대 에너지 문턱 값(E-Th1)(또는, 제1 양자화 문턱 값)보다 작은 제1 에너지 레벨 값(E1)(또는, 제1 양자화 레벨 값)을 제1 서브 밴드(b1)의 양자화된 레벨 값으로 결정할 수 있다. 이에 따라, 제1 전자 장치(10)는 제1 에너지 레벨 값(E1)보다 높은 에너지 범위를 제1 헤드룸으로 결정할 수 있다.For example, in the first sub-band (b1), a first energy level value (E1) (or a first quantization level value) that is lower than a first maximum energy threshold value (E-Th1) (or a first quantization threshold value) may be determined as a quantized level value of the first sub-band (b1). Accordingly, the first electronic device (10) may determine an energy range higher than the first energy level value (E1) as the first headroom.

다른 예를 들어, 제7 서브 밴드(b7)에서 제7 에너지 레벨 값(E7)(또는, 제7 양자화 레벨 값)보다 낮은 제7 최대 에너지 문턱 값(E_Th7)(또는, 제7 양자화 문턱 값)을 제7 서브 밴드(b7)의 양자화된 레벨 값으로 결정할 수 있다. 이에 따라, 제1 전자 장치(10)는 양자화된 제7 최대 에너지 문턱 값(E_Th7)보다 높은 에너지 범위를 제7 헤드룸으로 결정할 수 있다. For another example, a seventh maximum energy threshold value (E_Th7) (or seventh quantization threshold value) lower than the seventh energy level value (E7) (or seventh quantization level value) in the seventh sub-band (b7) may be determined as the quantized level value of the seventh sub-band (b7). Accordingly, the first electronic device (10) may determine an energy range higher than the quantized seventh maximum energy threshold value (E_Th7) as the seventh headroom.

본 발명의 일 실시 예에 따른 제1 전자 장치(10)는 압축 방식에 따른 복수의 서브 밴드(b)의 서로 다른 최대 에너지 문턱 값(E_Th)을 이용하여 복수의 서브 밴드(b)에 서로 다른 헤드룸을 적용할 수 있다. 이에 따라, 제1 전자 장치(10)는 오디오 신호를 압축할 때 오디오 신호의 손실을 최소화할 수 있다.According to an embodiment of the present invention, a first electronic device (10) can apply different headrooms to a plurality of sub-bands (b) by using different maximum energy threshold values (E_Th) of the plurality of sub-bands (b) according to a compression method. Accordingly, the first electronic device (10) can minimize loss of an audio signal when compressing an audio signal.

또한, 인코더(200)가 포함하는 주파수 스펙트럼 생성 모듈(210), 심리 음향 모델링 모듈(220), 비트 할당 모듈(230), 제1 양자화 모듈(240), 최대 에너지 문턱 값 결정 모듈(250), 제2 양자화 모듈(260), 에너지 레벨 결정 모듈(270) 및 부호화 모듈(280)은 이후에 기재된 도 11 및 도 12의 프로세서의 동작에 의해 구현될 수 있다. 예를 들어, 제1 전자 장치(10)는 상기 모듈의 동작을 구현하는 하나의 프로세서를 포함할 수 있다. 다른 예를 들어, 제1 전자 장치(10)는 상기 모듈의 동작을 구현하는 복수의 프로세서를 포함할 수 있다. In addition, the frequency spectrum generation module (210), the psychoacoustic modeling module (220), the bit allocation module (230), the first quantization module (240), the maximum energy threshold value determination module (250), the second quantization module (260), the energy level determination module (270), and the encoding module (280) included in the encoder (200) may be implemented by the operations of the processors of FIGS. 11 and 12 described later. For example, the first electronic device (10) may include one processor that implements the operations of the modules. For another example, the first electronic device (10) may include a plurality of processors that implement the operations of the modules.

도 7은 본 발명의 일 실시 예에 따른 서브 밴드의 대역폭 및 할당된 비트에 기초하여 헤드룸을 결정하는 전자 장치의 구성을 나타낸 블록도이다.FIG. 7 is a block diagram illustrating a configuration of an electronic device that determines headroom based on the bandwidth of a sub-band and allocated bits according to one embodiment of the present invention.

도 7을 참조하면, 인코더(700)는 주파수 스펙트럼 생성 모듈(710), 심리 음향 모델링 모듈(720), 비트 할당 모듈(730), 최대 에너지 문턱 값 결정 모듈(740), 에너지 비율 결정 모듈(750), 에너지 레벨 결정 모듈(760), 양자화 모듈(770) 및 부호화 모듈(780)을 포함할 수 있다.Referring to FIG. 7, the encoder (700) may include a frequency spectrum generation module (710), a psychoacoustic modeling module (720), a bit allocation module (730), a maximum energy threshold value determination module (740), an energy ratio determination module (750), an energy level determination module (760), a quantization module (770), and an encoding module (780).

주파수 스펙트럼 생성 모듈(710), 심리 음향 모델링 모듈(720) 및 비트 할당 모듈(730) 은 도 5의 주파수 스펙트럼 생성 모듈(210), 심리 음향 모델링 모듈(220) 및 비트 할당 모듈(230)과 유사하게 동작할 수 있다.The frequency spectrum generation module (710), the psychoacoustic modeling module (720), and the bit allocation module (730) may operate similarly to the frequency spectrum generation module (210), the psychoacoustic modeling module (220), and the bit allocation module (230) of FIG. 5.

일 실시 예에 따르면, 최대 에너지 문턱 값 결정 모듈(740)은 도 5의 최대 에너지 문턱 값 결정 모듈(250)과 유사하게 최대 에너지 문턱 값(E_Th)을 결정할 수 있다. 예를 들어, 최대 에너지 문턱 값 결정 모듈(740)은 도 5의 최대 에너지 문턱 값 결정 모듈(250)의 수학식 1을 이용하여 최대 에너지 문턱 값(E_Th)을 결정할 수 있다. 다른 예를 들어, 최대 에너지 문턱 값 결정 모듈(740)은 지정된 값을 이용하여 최대 에너지 문턱 값(E_Th)을 결정할 수 있다.According to one embodiment, the maximum energy threshold value determination module (740) may determine the maximum energy threshold value (E_Th) similarly to the maximum energy threshold value determination module (250) of FIG. 5. For example, the maximum energy threshold value determination module (740) may determine the maximum energy threshold value (E_Th) using Equation 1 of the maximum energy threshold value determination module (250) of FIG. 5. As another example, the maximum energy threshold value determination module (740) may determine the maximum energy threshold value (E_Th) using a specified value.

다른 실시 예에 따르면, 최대 에너지 문턱 값 결정 모듈(740)은 복수의 서브 밴드(b)에 동일한 값으로 최대 에너지 문턱 값(E_Th)을 결정할 수 있다.According to another embodiment, the maximum energy threshold value determination module (740) can determine the maximum energy threshold value (E_Th) as the same value for multiple sub-bands (b).

일 실시 예에 따르면, 최대 에너지 문턱 값 결정 모듈(740)은 실시간으로 입력되는 오디오 신호의 에너지 레벨 값을 분석하여 복수의 서브 밴드(b)의 최대 에너지 문턱 값(E_Th)을 결정할 수 있다. 다른 실시 예에 따르면, 최대 에너지 문턱 값 결정 모듈(740)은 지정된 값을 입력된 오디오 신호의 복수의 서브 밴드(b)의 최대 에너지 문턱 값(E_Th)으로 결정할 수 있다.According to one embodiment, the maximum energy threshold value determination module (740) may analyze energy level values of an audio signal input in real time to determine the maximum energy threshold value (E_Th) of a plurality of sub-bands (b). According to another embodiment, the maximum energy threshold value determination module (740) may determine a specified value as the maximum energy threshold value (E_Th) of a plurality of sub-bands (b) of the input audio signal.

에너지 비율 결정 모듈(750)은 복수의 서브 밴드(b) 각각의 에너지 레벨 값(E)을 조정할 비율(h_ratio)을 결정할 수 있다. 예를 들어, 에너지 비율 결정 모듈(750)은 아래와 같은 수학식을 이용하여 에너지 비율 값을 결정할 수 있다.The energy ratio determination module (750) can determine a ratio (h_ratio) for adjusting the energy level value (E) of each of the plurality of sub-bands (b). For example, the energy ratio determination module (750) can determine the energy ratio value using the following mathematical formula.

여기서, MAX_ENERGY는 서브 밴드에 나타낼 수 있는 최대 에너지 값일 수 있다. 에너지 비율 결정 모듈(750)은, 예를 들어, 제1 최대 에너지 문턱 값(E_Th1)을 이용하여 제1 서브 밴드(b1)의 제1 비율(h_ratio1)을 결정할 수 있고, 제2 최대 에너지 문턱 값(E_Th2)을 이용하여 제2 서브 밴드(b2)의 제2 비율(h_ratio2)을 결정할 수 있다. 제1 비율(h_ratio1) 및 제2 비율(h_ration2)는 서로 상이할 수 있다. 다른 예를 들어, 에너지 비율 결정 모듈(750)은 복수의 서브 밴드(b) 각각의 에너지 레벨 값(E)을 조정할 비율(h_ratio)을 지정된 값(또는, 미리 결정된 값)으로 결정될 수 있다. 상기 지정된 값은, 예를 들어, 최대 에너지 문턱 값 결정 모듈(740)에서 결정된 최대 에너지 문턱 값(E_Th)에 기초하여 결정된 비율(h_ratio)일 수 있다. 상기 지정된 값은 룩업 테이블로 메모리에 저장될 수 있다. 에너지 비율 결정 모듈(750)은 제1 최대 에너지 문턱 값(E_Th1)에 대응되는 지정된 값을 제1 서브 밴드(b1)의 제1 비율(h_ratio1)로 결정할 수 있고, 제2 최대 에너지 문턱 값(E_Th2)에 대응되는 지정된 값을 제2 서브 밴드(b2)의 제2 비율(h_ratio2)로 결정할 수 있다.Here, MAX_ENERGY may be the maximum energy value that can be represented in the sub-band. The energy ratio determination module (750) may determine the first ratio (h_ratio1) of the first sub-band (b1) using, for example, the first maximum energy threshold value (E_Th1), and may determine the second ratio (h_ratio2) of the second sub-band (b2) using the second maximum energy threshold value (E_Th2). The first ratio (h_ratio1) and the second ratio (h_ration2) may be different from each other. As another example, the energy ratio determination module (750) may determine the ratio (h_ratio) by which the energy level value (E) of each of the plurality of sub-bands (b) is adjusted to a designated value (or a predetermined value). The designated value may be, for example, a ratio (h_ratio) determined based on the maximum energy threshold value (E_Th) determined by the maximum energy threshold value determination module (740). The above-mentioned specified values may be stored in the memory as a lookup table. The energy ratio determination module (750) may determine the specified value corresponding to the first maximum energy threshold value (E_Th1) as the first ratio (h_ratio1) of the first sub-band (b1), and may determine the specified value corresponding to the second maximum energy threshold value (E_Th2) as the second ratio (h_ratio2) of the second sub-band (b2).

다른 실시 예에 따르면, 에너지 비율 결정 모듈(750)은 복수의 서브 밴드(b) 전체의 비율(h_ratio)을 동일한 값으로 결정할 수 있다. 예를 들어, 에너지 비율 결정 모듈(750)은 최대 에너지 문턱 값 결정 모듈(740)에 의해 복수의 서브 밴드(b) 전체에서 동일하게 결정된 최대 에너지 문턱 값(E_Th)에 기초하여 비율(h_ratio)을 결정할 수 있다.In another embodiment, the energy ratio determination module (750) may determine the ratio (h_ratio) of the entire plurality of sub-bands (b) to be the same value. For example, the energy ratio determination module (750) may determine the ratio (h_ratio) based on the maximum energy threshold value (E_Th) determined to be the same for the entire plurality of sub-bands (b) by the maximum energy threshold value determination module (740).

일 실시 예에 따르면, 에너지 비율 결정 모듈(750)은 실시간으로 복수의 서브 밴드(b)의 비율(h_ratio)을 결정할 수 있다. 예를 들어, 에너지 비율 결정 모듈(750)은 최대 에너지 문턱 값 결정 모듈(740)에 의해 실시간으로 입력되는 오디오 신호의 에너지 레벨 값을 분석하여 결정된 최대 에너지 문턱 값(E_Th)에 기초하여 비율(h_ratio)을 결정할 수 있다. 다른 실시 예에 따르면, 에너지 비율 결정 모듈(750)은 지정된 값을 입력된 오디오 신호의 복수의 서브 밴드(b)의 비율(h_ratio)로 결정할 수 있다. 예를 들어, 에너지 비율 결정 모듈(750)은 최대 에너지 문턱 값 결정 모듈(740)에 의해 지정된 값으로 결정된 최대 에너지 문턱 값(E_Th)에 기초하여 비율(h_ratio)을 결정할 수 있다.According to one embodiment, the energy ratio determination module (750) can determine the ratio (h_ratio) of the plurality of sub-bands (b) in real time. For example, the energy ratio determination module (750) can determine the ratio (h_ratio) based on the maximum energy threshold value (E_Th) determined by analyzing the energy level value of the audio signal input in real time by the maximum energy threshold value determination module (740). According to another embodiment, the energy ratio determination module (750) can determine a specified value as the ratio (h_ratio) of the plurality of sub-bands (b) of the input audio signal. For example, the energy ratio determination module (750) can determine the ratio (h_ratio) based on the maximum energy threshold value (E_Th) determined as a specified value by the maximum energy threshold value determination module (740).

에너지 레벨 결정 모듈(760)은 복수의 서브 밴드(b) 각각의 에너지 레벨 값(E)의 상기 결정된 비율의 에너지 레벨 값을 복수의 서브 밴드(b) 각각의 에너지 레벨 값(또는, 양자화될 에너지 레벨 값)으로 결정할 수 있다. 예를 들어, 에너지 레벨 결정 모듈(760)은 에너지 레벨 값(E)에 비율(h_ratio)을 곱하여 복수의 서브 밴드(b) 각각의 에너지 레벨 값(E)의 상기 결정된 비율의 에너지 레벨 값을 결정할 수 있다. 에너지 레벨 결정 모듈(760)은, 예를 들어, 제1 서브 밴드(b1)의 제1 에너지 레벨 값(E1)의 제1 비율(h_ratio1)의 에너지 레벨 값을 제1 서브 밴드(b1)의 양자화될 에너지 레벨 값으로 결정할 수 있다. 에너지 레벨 결정 모듈(760)은 제2 서브 밴드(b2)의 제2 에너지 레벨 값(E2)의 제2 비율(h_ratio2)의 에너지 레벨 값을 제2 서브 밴드(b2)의 양자화될 에너지 레벨 값으로 결정할 수 있다. The energy level determination module (760) can determine the energy level value of the determined ratio of the energy level values (E) of each of the plurality of sub-bands (b) as the energy level value (or the energy level value to be quantized) of each of the plurality of sub-bands (b). For example, the energy level determination module (760) can determine the energy level value of the determined ratio of the energy level values (E) of each of the plurality of sub-bands (b) by multiplying the energy level value (E) by the ratio (h_ratio). The energy level determination module (760) can determine, for example, the energy level value of the first ratio (h_ratio1) of the first energy level value (E1) of the first sub-band (b1) as the energy level value to be quantized of the first sub-band (b1). The energy level determination module (760) can determine the energy level value of the second ratio (h_ratio2) of the second energy level value (E2) of the second sub-band (b2) as the energy level value to be quantized of the second sub-band (b2).

에너지 레벨 결정 모듈(760)은 제2 전자 장치(20)가 오디오 신호를 출력할 수 있는 범위(예: 피크 밸류 이하)를 고려하여 상기 결정된 복수의 서브 밴드(b) 각각의 에너지 레벨 값보다 높은 범위를 헤드룸으로 결정할 수 있다. 예를 들어, 에너지 레벨 결정 모듈(760)은 제1 서브 밴드(b1)의 양자화될 에너지 레벨 값보다 높고 제2 전자 장치(20)의 피크 밸류보다 낮은 범위를 제1헤드룸으로 결정할 수 있고, 제2 서브 밴드(b2)의 양자화될 에너지 레벨 값보다 높고 제2 전자 장치(20)의 피크 밸류보다 낮은 범위를 제2 헤드룸으로 결정할 수 있다. 상기 제1 헤드룸 및 제2 헤드룸은 서로 상이할 수 있다. 이에 따라, 에너지 레벨 결정 모듈(760)은 복수의 서브 밴드(b) 각각의 최대 에너지 문턱 값(E_Th)을 이용하여 헤드룸을 결정할 수 있다.The energy level determination module (760) may determine a range higher than the energy level value of each of the determined plurality of sub-bands (b) as the headroom, considering a range (e.g., below the peak value) in which the second electronic device (20) can output an audio signal. For example, the energy level determination module (760) may determine a range higher than the energy level value to be quantized of the first sub-band (b1) and lower than the peak value of the second electronic device (20) as the first headroom, and may determine a range higher than the energy level value to be quantized of the second sub-band (b2) and lower than the peak value of the second electronic device (20) as the second headroom. The first headroom and the second headroom may be different from each other. Accordingly, the energy level determination module (760) may determine the headroom using the maximum energy threshold value (E_Th) of each of the plurality of sub-bands (b).

양자화 모듈(770)은 상기 복수의 서브 밴드(b) 각각의 상기 결정된 에너지 레벨 값(또는, 양자화될 에너지 레벨 값)을 할당된 비트(ba)로 양자화할 수 있다. 양자화 모듈(770)은 도 5의 제1 양자화 모듈(240)과 유사할 수 있다. 예를 들어, 양자화 모듈(770)은 제1 비트(ba1)를 이용하여 제1 서브 밴드(b1)의 결정된 에너지 레벨 값을 양자화하여 제1 양자화 레벨 값을 결정할 수 있다. 양자화 모듈(770)은 제2 비트(ba2)를 이용하여 제2 서브 밴드(b2)의 결정된 에너지 레벨 값을 양자화하여 제2 양자화 레벨 값을 결정할 수 있다. The quantization module (770) can quantize the determined energy level value (or energy level value to be quantized) of each of the plurality of sub-bands (b) into allocated bits (ba). The quantization module (770) can be similar to the first quantization module (240) of FIG. 5. For example, the quantization module (770) can quantize the determined energy level value of the first sub-band (b1) using the first bit (ba1) to determine the first quantization level value. The quantization module (770) can quantize the determined energy level value of the second sub-band (b2) using the second bit (ba2) to determine the second quantization level value.

부호화 모듈(780)은 복수의 서브 밴드(b) 각각에서 양자화된 레벨 값이 결정된 신호를 압축 방식에 따라 부호화할 수 있다. 이에 따라, 제1 전자 장치(10)는 상기 부호화된 신호를 송신 모듈(300)을 통해 제2 전자 장치(20)로 송신할 수 있다.The encoding module (780) can encode a signal whose quantized level value is determined in each of a plurality of sub-bands (b) according to a compression method. Accordingly, the first electronic device (10) can transmit the encoded signal to the second electronic device (20) through the transmission module (300).

본 발명의 일 실시 예에 따른 제1 전자 장치(10)는 제2 전자 장치(20)의 후처리 과정에 따른 복수의 서브 밴드(b)의 서로 다른 최대 에너지 문턱 값(E_Th)을 이용하여 비율(h_ratio)를 결정할 수 있다. 또한, 상기 결정된 비율(h_ratio)를 이용하여 복수의 서브 밴드(b)에 서로 다른 헤드룸을 적용할 수 있다. 이에 따라, 제1 전자 장치(10)는 오디오 신호를 압축할 때 오디오 신호의 손실을 최소화할 수 있다.According to an embodiment of the present invention, a first electronic device (10) can determine a ratio (h_ratio) by using different maximum energy threshold values (E_Th) of a plurality of sub-bands (b) according to a post-processing process of a second electronic device (20). In addition, different headrooms can be applied to the plurality of sub-bands (b) by using the determined ratio (h_ratio). Accordingly, the first electronic device (10) can minimize loss of an audio signal when compressing an audio signal.

도 8은 본 발명의 일 실시 예에 따른 전처리 과정에서 서브 밴드의 대역폭에 기초하여 헤드룸을 결정하는 전자 장치의 구성을 나타낸 블록도이다.FIG. 8 is a block diagram showing the configuration of an electronic device that determines headroom based on the bandwidth of a sub-band in a preprocessing process according to an embodiment of the present invention.

도 8를 참조하면, 전처리 모듈(800)은 주파수 스펙트럼 생성 모듈(810), 최대 에너지 문턱 값 결정 모듈(820), 에너지 비율 결정 모듈(830) 및 에너지 레벨 결정 모듈(840)을 포함할 수 있다.Referring to FIG. 8, the preprocessing module (800) may include a frequency spectrum generation module (810), a maximum energy threshold value determination module (820), an energy ratio determination module (830), and an energy level determination module (840).

일 실시 예에 따르면, 전처리 모듈(800)은 ADC(100)와 인코더(200) 사이에 추가적으로 연결될 수 있다. 다시 말해, 전처리 모듈(800)은 인코더(200)의 전단에 연결되어 디지털 신호를 처리할 수 있다. 다시 말해, 전처리 모듈(800)은 인코딩 되기 전의 오디오 신호를 처리할 수 있다. 전처리 모듈(800)은 입력되는 오디오 신호에 헤드룸이 적용하여, 인코더(200)로 송신할 수 있다.According to one embodiment, a preprocessing module (800) may be additionally connected between the ADC (100) and the encoder (200). In other words, the preprocessing module (800) may be connected to the front end of the encoder (200) to process a digital signal. In other words, the preprocessing module (800) may process an audio signal before encoding. The preprocessing module (800) may apply headroom to an input audio signal and transmit it to the encoder (200).

주파수 스펙트럼 생성 모듈(810)은 도 7의 주파수 스펙트럼 생성 모듈(710) 과 유사하게 동작할 수 있다.The frequency spectrum generation module (810) can operate similarly to the frequency spectrum generation module (710) of FIG. 7.

최대 에너지 문턱 값 결정 모듈(820)은 서브 밴드의 주파수 대역폭(bw)에 기초하여 복수의 서브 밴드(b) 각각의 최대 에너지 문턱 값(E_Th)을 결정할 수 있다. 최대 에너지 문턱 값 결정 모듈(820)은 압축 방식에 따라 서브 밴드의 주파수 대역폭(bw)을 이용하여 결정할 수 있다. 예를 들어, 최대 에너지 문턱 값 결정 모듈(820)은 아래와 같은 수학식을 이용하여 최대 에너지 문턱 값(E_Th)을 결정할 수 있다.The maximum energy threshold value determination module (820) can determine the maximum energy threshold value (E_Th) of each of the plurality of sub-bands (b) based on the frequency bandwidth (bw) of the sub-band. The maximum energy threshold value determination module (820) can determine the maximum energy threshold value (E_Th) by using the frequency bandwidth (bw) of the sub-band according to the compression method. For example, the maximum energy threshold value determination module (820) can determine the maximum energy threshold value (E_Th) by using the following mathematical equation.

여기서, c1, c2, c3는 제2 전자 장치(20)의 후처리 과정(예: 이퀄라이징, 고주파 영역 복원 등)에 따라 결정된 상수일 수 있다. 최대 에너지 문턱 값 결정 모듈(820)은 제2 전자 장치(20)의 후처리 과정에 대한 정보를 수신하여 상기 c1, c2, c3를 결정할 수 있다. 최대 에너지 문턱 값 결정 모듈(820)은, 예를 들어, 제1 주파수 대역폭(bw1)을 이용하여 제1 서브 밴드(b1)의 제1 최대 에너지 문턱 값(E_Th1)을 결정할 수 있고, 제2 주파수 대역폭(bw2) 및 제2 비트(ba2)를 이용하여 제2 서브 밴드(b2)의 제2 최대 에너지 문턱 값(E_Th2)을 결정할 수 있다. 제1 최대 에너지 문턱 값(E_Th1) 및 제2 최대 에너지 문턱 값(E_Th2)은 서로 상이할 수 있다. 다른 예를 들어, 최대 에너지 문턱 값 결정 모듈(820)은 복수의 서브 밴드(b) 각각의 최대 에너지 문턱 값(E_Th)을 지정된 값(또는, 미리 결정된 값)으로 결정할 수 있다. 예를 들어, 최대 에너지 문턱 값 결정 모듈(820)은 복수의 서브 밴드(b)의 대역폭(bw)에 기초하여 결정된 최대 에너지 문턱 값(E_Th)일 수 있다. 상기 지정된 값은 룩업 테이블로 메모리에 저장될 수 있다. 최대 에너지 문턱 값 결정 모듈(820)은 제1 주파수 대역폭(bw1)에 대응되는 지정된 값을 제1 서브 밴드(b1)의 제1 최대 에너지 문턱 값(E_Th1)으로 결정할 수 있고, 제2 주파수 대역폭(bw2)에 대응되는 지정된 값을 제2 서브 밴드(b2)의 제2 최대 에너지 문턱 값(E_Th2)으로 결정할 수 있다.Here, c1, c2, and c3 may be constants determined according to a post-processing process (e.g., equalizing, high-frequency domain restoration, etc.) of the second electronic device (20). The maximum energy threshold value determination module (820) may receive information about the post-processing process of the second electronic device (20) to determine c1, c2, and c3. The maximum energy threshold value determination module (820) may determine a first maximum energy threshold value (E_Th1) of the first sub-band (b1) using, for example, a first frequency bandwidth (bw1), and may determine a second maximum energy threshold value (E_Th2) of the second sub-band (b2) using a second frequency bandwidth (bw2) and a second bit (ba2). The first maximum energy threshold value (E_Th1) and the second maximum energy threshold value (E_Th2) may be different from each other. For another example, the maximum energy threshold value determination module (820) can determine the maximum energy threshold value (E_Th) of each of the plurality of sub-bands (b) as a designated value (or a predetermined value). For example, the maximum energy threshold value determination module (820) can be a maximum energy threshold value (E_Th) determined based on the bandwidth (bw) of the plurality of sub-bands (b). The designated value can be stored in the memory as a lookup table. The maximum energy threshold value determination module (820) can determine a designated value corresponding to the first frequency bandwidth (bw1) as the first maximum energy threshold value (E_Th1) of the first sub-band (b1), and can determine a designated value corresponding to the second frequency bandwidth (bw2) as the second maximum energy threshold value (E_Th2) of the second sub-band (b2).

다른 실시 예에 따르면, 최대 에너지 문턱 값 결정 모듈(820)은 복수의 서브 밴드(b) 전체의 최대 에너지 문턱 값(E_Th)을 동일한 값으로 결정할 수 있다. 상기 동일한 최대 에너지 문턱 값(E_Th)은, 예를 들어, 복수의 서브 밴드(b)의 에너지 레벨을 고려하여(예: 서브 밴드의 주파수 대역폭(bw)에 기초하여) 결정될 수 있다.In another embodiment, the maximum energy threshold value determination module (820) may determine the maximum energy threshold value (E_Th) of all of the plurality of sub-bands (b) to be the same value. The same maximum energy threshold value (E_Th) may be determined, for example, by considering the energy levels of the plurality of sub-bands (b) (e.g., based on the frequency bandwidth (bw) of the sub-band).

일 실시 예에 따르면, 최대 에너지 문턱 값 결정 모듈(820)은 실시간으로 입력되는 오디오 신호의 에너지 레벨 값을 분석하여 복수의 서브 밴드(b)의 최대 에너지 문턱 값(E_Th)을 결정할 수 있다. 다른 실시 예에 따르면, 최대 에너지 문턱 값 결정 모듈(820)은 지정된 값을 입력된 오디오 신호의 복수의 서브 밴드(b)의 최대 에너지 문턱 값(E_Th)로 결정할 수 있다.According to one embodiment, the maximum energy threshold value determination module (820) may analyze energy level values of an audio signal input in real time to determine the maximum energy threshold value (E_Th) of a plurality of sub-bands (b). According to another embodiment, the maximum energy threshold value determination module (820) may determine a specified value as the maximum energy threshold value (E_Th) of a plurality of sub-bands (b) of the input audio signal.

에너지 비율 결정 모듈(830)은 도 7의 에너지 비율 결정 모듈(750)과 유사하게 복수의 서브 밴드(b) 각각의 에너지 레벨 값(E)을 조정할 비율(h_ratio)을 결정할 수 있다. 예를 들어, 에너지 비율 결정 모듈(830)은 도 7의 에너지 비율 결정 모듈(750)의 수학식 2를 이용하여 비율(h_ratio)을 결정할 수 있다. 다른 예를 들어, 에너지 비율 결정 모듈(830)은 복수의 서브 밴드(b) 각각의 에너지 레벨 값(E)을 조정할 비율(h_ratio)을 지정된 값(또는, 미리 결정된 값)으로 결정될 수 있다.The energy ratio determination module (830) can determine a ratio (h_ratio) for adjusting the energy level value (E) of each of the plurality of sub-bands (b) similarly to the energy ratio determination module (750) of FIG. 7. For example, the energy ratio determination module (830) can determine the ratio (h_ratio) using mathematical expression 2 of the energy ratio determination module (750) of FIG. 7. As another example, the energy ratio determination module (830) can determine a ratio (h_ratio) for adjusting the energy level value (E) of each of the plurality of sub-bands (b) as a designated value (or a predetermined value).

다른 실시 예에 따르면, 에너지 비율 결정 모듈(830)은 복수의 서브 밴드(b) 전체의 비율(h_ratio)을 동일한 값으로 결정할 수 있다.According to another embodiment, the energy ratio determination module (830) can determine the ratio (h_ratio) of all of the multiple sub-bands (b) to be the same value.

일 실시 예에 따르면, 에너지 비율 결정 모듈(830)은 실시간으로 복수의 서브 밴드(b)의 비율(h_ratio)을 결정할 수 있다. 다른 실시 예에 따르면, 에너지 비율 결정 모듈(830)은 지정된 값을 입력된 오디오 신호의 복수의 서브 밴드(b)의 비율(h_ratio)로 결정할 수 있다.According to one embodiment, the energy ratio determination module (830) can determine the ratio (h_ratio) of the plurality of sub-bands (b) in real time. According to another embodiment, the energy ratio determination module (830) can determine a specified value as the ratio (h_ratio) of the plurality of sub-bands (b) of the input audio signal.

에너지 레벨 결정 모듈(840)은 복수의 서브 밴드(b) 각각의 에너지 레벨 값(E) 및 최대 에너지 문턱 값(E_Th)을 비교하여 복수의 서브 밴드(b) 각각의 에너지 레벨을 결정할 수 있다. 예를 들어, 에너지 레벨 결정 모듈(840)은 제1 서브 밴드(b1)의 제1 에너지 레벨 값 및 제1 최대 에너지 문턱 값(E_Th1)을 비교하여 작은 값을 제1 서브 밴드(b1)의 에너지 레벨 값으로 결정할 수 있다. 에너지 레벨 결정 모듈(840)은 제2 서브 밴드(b2)의 제2 에너지 레벨 값 및 제2 최대 에너지 문턱 값(E_Th2)을 비교하여 작은 값을 제2 서브 밴드(b2)의 에너지 레벨 값으로 결정할 수 있다.The energy level determination module (840) can compare the energy level value (E) and the maximum energy threshold value (E_Th) of each of the plurality of sub-bands (b) to determine the energy level of each of the plurality of sub-bands (b). For example, the energy level determination module (840) can compare the first energy level value and the first maximum energy threshold value (E_Th1) of the first sub-band (b1) to determine the smaller value as the energy level value of the first sub-band (b1). The energy level determination module (840) can compare the second energy level value and the second maximum energy threshold value (E_Th2) of the second sub-band (b2) to determine the smaller value as the energy level value of the second sub-band (b2).

일 실시 예에 따르면, 에너지 레벨 결정 모듈(840)은 제2 전자 장치(20)가 오디오 신호를 출력할 수 있는 범위(예: 피크 밸류 이하)를 고려하여 상기 결정된 복수의 서브 밴드(b) 각각의 에너지 레벨 값보다 높은 범위를 헤드룸으로 결정할 수 있다. 예를 들어, 에너지 레벨 결정 모듈(840)은 제1 서브 밴드(b1)의 에너지 레벨 값보다 높고 제2 전자 장치(20)의 피크 밸류보다 낮은 범위를 제1 헤드룸으로 결정할 수 있다. 에너지 레벨 결정 모듈(840)은 제2 서브 밴드(b2)의 에너지 레벨 값보다 높고 제2 전자 장치(20)의 피크 밸류보다 낮은 범위를 제2 헤드룸으로 결정할 수 있다. 상기 제1 헤드룸 및 상기 제2 헤드룸은 서로 상이할 수 있다. 이에 따라, 에너지 레벨 결정 모듈(840)은 복수의 서브 밴드(b) 각각의 최대 에너지 문턱 값(E_Th)을 이용하여 헤드룸을 결정할 수 있다.According to one embodiment, the energy level determination module (840) may determine a range higher than the energy level value of each of the determined plurality of sub-bands (b) as the headroom, considering a range (e.g., below the peak value) in which the second electronic device (20) can output an audio signal. For example, the energy level determination module (840) may determine a range higher than the energy level value of the first sub-band (b1) and lower than the peak value of the second electronic device (20) as the first headroom. The energy level determination module (840) may determine a range higher than the energy level value of the second sub-band (b2) and lower than the peak value of the second electronic device (20) as the second headroom. The first headroom and the second headroom may be different from each other. Accordingly, the energy level determination module (840) may determine the headroom using the maximum energy threshold value (E_Th) of each of the plurality of sub-bands (b).

전처리 모듈(800)은 상기 복수의 서브 밴드(b) 각각의 헤드룸을 결정하여 복수의 서브 밴드(b)에 적용하고, 상기 헤드룸이 적용된 오디오 신호를 인코더(200)로 송신할 수 있다. 이에 따라, 인코더(200)는 인코딩 과정에서 별도로 헤드룸을 적용할 필요가 없을 수 있다.The preprocessing module (800) can determine the headroom of each of the plurality of sub-bands (b), apply it to the plurality of sub-bands (b), and transmit the audio signal to which the headroom has been applied to the encoder (200). Accordingly, the encoder (200) may not need to separately apply the headroom during the encoding process.

본 발명의 일 실시 예에 따른 제1 전자 장치(10)는 전처리 과정에서 제2 전자 장치(20)의 후처리 과정을 고려하여 복수의 서브 밴드(b)의 서로 다른 최대 에너지 문턱 값(E_Th)을 결정하고, 상기 결정된 최대 에너지 문턱 값(E_th)를 이용하여 비율(h_ratio)를 결정할 수 있다. 또한, 제1 전자 장치(10)는 상기 결정된 비율(h_ratio)을 이용하여 복수의 서브 밴드(b)에 서로 다른 헤드룸을 적용할 수 있다. 이에 따라, 제1 전자 장치(10)는 인코딩될 오디오 신호의 손실을 최소화할 수 있다.According to an embodiment of the present invention, a first electronic device (10) may determine different maximum energy threshold values (E_Th) of a plurality of sub-bands (b) in consideration of a post-processing process of a second electronic device (20) in a pre-processing process, and may determine a ratio (h_ratio) using the determined maximum energy threshold values (E_th). In addition, the first electronic device (10) may apply different headrooms to the plurality of sub-bands (b) using the determined ratios (h_ratio). Accordingly, the first electronic device (10) may minimize loss of an audio signal to be encoded.

도 9은 본 발명의 일 실시 예에 따른 후처리 과정에서 서브 밴드의 대역폭에 기초하여 헤드룸을 결정하는 전자 장치의 구성을 나타낸 블록도이다.FIG. 9 is a block diagram showing the configuration of an electronic device that determines headroom based on the bandwidth of a sub-band in a post-processing process according to an embodiment of the present invention.

도 9를 참조하면, 후처리 모듈(900)은 주파수 스펙트럼 생성 모듈(910), 최대 에너지 문턱 값 결정 모듈(920), 에너지 비율 결정 모듈(930) 및 에너지 레벨 결정 모듈(940)을 포함할 수 있다.Referring to FIG. 9, the post-processing module (900) may include a frequency spectrum generation module (910), a maximum energy threshold value determination module (920), an energy ratio determination module (930), and an energy level determination module (940).

일 실시 예에 따르면, 후처리 모듈(900)은 제2 전자 장치(20)에 포함될 수 있다. 제2 전자 장치(20)는 제1 전자 장치(10)로부터 인코딩된 오디오 신호를 수신할 수 있다. 상시 수신된 오디오 신호는 디코더(100´)에 의해 디코딩되고, 상기 디코딩된 오디오 신호는 후처리 모듈(900)에 의해 헤드룸이 적용될 수 있다. 일 실시 예에 따르면, 후처리 모듈(900)은 상기 헤드룸이 적용된 오디오 신호를 후처리(예: 이퀄라이징, 고주파 영역 복원 등)할 수 있다. 이에 따라, 상기 헤드룸이 적용된 오디오 신호는 후처리 되어 ADC(300´)로 송신될 수 있고, ADC(300´)에 의해 아날로그 신호로 변환되어 외부로 출력될 수 있다.According to one embodiment, the post-processing module (900) may be included in the second electronic device (20). The second electronic device (20) may receive an encoded audio signal from the first electronic device (10). The audio signal received at all times is decoded by the decoder (100´), and the decoded audio signal may have headroom applied to it by the post-processing module (900). According to one embodiment, the post-processing module (900) may perform post-processing (e.g., equalizing, high-frequency domain restoration, etc.) on the audio signal to which the headroom is applied. Accordingly, the audio signal to which the headroom is applied may be post-processed and transmitted to the ADC (300´), and may be converted into an analog signal by the ADC (300´) and output to the outside.

주파수 스펙트럼 생성 모듈(910)은 도 8의 주파수 스펙트럼 생성 모듈(810)과 유사할 수 있다.The frequency spectrum generation module (910) may be similar to the frequency spectrum generation module (810) of FIG. 8.

최대 에너지 문턱 값 결정 모듈(920)은 서브 밴드의 주파수 대역폭(bw)에 기초하여 복수의 서브 밴드(b) 각각의 최대 에너지 문턱 값(E_Th)을 결정할 수 있다. 최대 에너지 문턱 값 결정 모듈(920)은 압축 방식에 따라 서브 밴드의 주파수 대역폭(bw)를 이용하여 결정할 수 있다. 예를 들어, 최대 에너지 문턱 값 결정 모듈(920)은 아래와 같은 수학식을 이용하여 최대 에너지 문턱 값(E_Th)를 결정할 수 있다.The maximum energy threshold value determination module (920) can determine the maximum energy threshold value (E_Th) of each of the plurality of sub-bands (b) based on the frequency bandwidth (bw) of the sub-band. The maximum energy threshold value determination module (920) can determine the maximum energy threshold value (E_Th) by using the frequency bandwidth (bw) of the sub-band according to the compression method. For example, the maximum energy threshold value determination module (920) can determine the maximum energy threshold value (E_Th) by using the following mathematical equation.

여기서, c1, c2, c3는 후처리 과정(예: 이퀄라이징, 고주파 영역 복원 등)에 따라 결정된 상수일 수 있다. 최대 에너지 문턱 값 결정 모듈(920)은, 예를 들어, 제1 주파수 대역폭(bw1)을 이용하여 제1 서브 밴드(b1)의 제1 최대 에너지 문턱 값(E_Th1)을 결정할 수 있고, 제2 주파수 대역폭(bw2) 및 제2 비트(ba2)를 이용하여 제2 서브 밴드(b2)의 제2 최대 에너지 문턱 값(E_Th2)을 결정할 수 있다. 제1 최대 에너지 문턱 값(E_Th1) 및 제2 최대 에너지 문턱 값(E_Th2)은 서로 상이할 수 있다. 다른 예를 들어, 최대 에너지 문턱 값 결정 모듈(920)은 복수의 서브 밴드(b) 각각의 최대 에너지 문턱 값(E_Th)을 지정된 값(또는, 미리 결정된 값)으로 결정할 수 있다.Here, c1, c2, and c3 may be constants determined according to a post-processing process (e.g., equalizing, high-frequency domain restoration, etc.). The maximum energy threshold value determination module (920) may determine a first maximum energy threshold value (E_Th1) of the first sub-band (b1) using, for example, a first frequency bandwidth (bw1), and may determine a second maximum energy threshold value (E_Th2) of the second sub-band (b2) using a second frequency bandwidth (bw2) and a second bit (ba2). The first maximum energy threshold value (E_Th1) and the second maximum energy threshold value (E_Th2) may be different from each other. As another example, the maximum energy threshold value determination module (920) may determine the maximum energy threshold value (E_Th) of each of the plurality of sub-bands (b) as a specified value (or a predetermined value).

다른 실시 예에 따르면, 최대 에너지 문턱 값 결정 모듈(920)은 복수의 서브 밴드(b) 전체의 최대 에너지 문턱 값(E_Th)을 동일한 값으로 결정할 수 있다. 상기 동일한 최대 에너지 문턱 값(E_Th)은, 예를 들어, 복수의 서브 밴드(b)의 에너지 레벨을 고려하여(예: 서브 밴드의 주파수 대역폭(bw)에 기초하여) 결정될 수 있다.In another embodiment, the maximum energy threshold value determination module (920) may determine the maximum energy threshold value (E_Th) of all the plurality of sub-bands (b) to be the same value. The same maximum energy threshold value (E_Th) may be determined, for example, by considering the energy levels of the plurality of sub-bands (b) (e.g., based on the frequency bandwidth (bw) of the sub-band).

일 실시 예에 따르면, 최대 에너지 문턱 값 결정 모듈(920)은 실시간으로 입력되는 오디오 신호의 에너지 레벨 값을 분석하여 복수의 서브 밴드(b)의 최대 에너지 문턱 값(E_Th)을 결정할 수 있다. 다른 실시 예에 따르면, 최대 에너지 문턱 값 결정 모듈(920)은 지정된 값을 입력된 오디오 신호의 복수의 서브 밴드(b)의 최대 에너지 문턱 값(E_Th)로 결정할 수 있다.According to one embodiment, the maximum energy threshold value determination module (920) may analyze energy level values of an audio signal input in real time to determine the maximum energy threshold value (E_Th) of a plurality of sub-bands (b). According to another embodiment, the maximum energy threshold value determination module (920) may determine a specified value as the maximum energy threshold value (E_Th) of a plurality of sub-bands (b) of the input audio signal.

에너지 비율 결정 모듈(930)은 복수의 서브 밴드(b) 각각의 에너지 레벨 값(E)을 조정할 비욜(h_ratio)을 결정할 수 있다. 에너지 비율 결정 모듈(930)은 도 8의 에너지 비율 결정 모듈(830)과 유사할 수 있다. 예를 들어, 에너지 비율 결정 모듈(930)은 도8의 에너지 비율 결정 모듈(830)과 동일한 아래의 수학식을 이용하여 에너지 비율 값을 결정할 수 있다.The energy ratio determination module (930) can determine a ratio (h_ratio) to adjust the energy level value (E) of each of the plurality of sub-bands (b). The energy ratio determination module (930) can be similar to the energy ratio determination module (830) of FIG. 8. For example, the energy ratio determination module (930) can determine the energy ratio value using the following mathematical formula, which is the same as the energy ratio determination module (830) of FIG. 8.

여기서, MAX_ENERGY는 서브 밴드에 포함할 수 있는 최대 에너지 값일 수 있다. 에너지 비율 결정 모듈(930)은, 예를 들어, 제1 최대 에너지 문턱 값(E_Th1)을 이용하여 제1 서브 밴드(b1)의 제1 비율(h_ratio1)을 결정할 수 있고, 제2 최대 에너지 문턱 값(E_Th2)을 이용하여 제2 서브 밴드(b2)의 제2 비율(h_ratio2)을 결정할 수 있다.Here, MAX_ENERGY may be the maximum energy value that can be included in the sub-band. The energy ratio determination module (930) may determine the first ratio (h_ratio1) of the first sub-band (b1) using, for example, the first maximum energy threshold value (E_Th1), and may determine the second ratio (h_ratio2) of the second sub-band (b2) using the second maximum energy threshold value (E_Th2).

에너지 레벨 결정 모듈(940)은 복수의 서브 밴드(b) 각각의 에너지 레벨 값(E)의 상기 결정된 비율의 에너지 레벨 값을 복수의 서브 밴드(b) 각각의 에너지 레벨 값으로 결정할 수 있다. 예를 들어, 에너지 레벨 결정 모듈(940)은 에너지 레벨 값(E)에 비율(h_ratio)을 곱하여 복수의 서브 밴드(b) 각각의 에너지 레벨 값(E)의 상기 결정된 비율의 에너지 레벨 값을 결정할 수 있다. 에너지 레벨 결정 모듈(940)은, 예를 들어, 제1 서브 밴드(b1)의 제1 에너지 레벨 값(E1)의 제1 비율(h_ratio1)의 에너지 레벨 값을 제1 서브 밴드(b1)의 에너지 레벨 값으로 결정할 수 있다. 에너지 레벨 결정 모듈(940)은 제2 서브 밴드(b)의 제2 에너지 레벨 값(E2)의 제2 비율(h_ratio2)의 에너지 레벨 값을 제2 서브 밴드(b2)의 에너지 레벨 값으로 결정할 수 있다. The energy level determination module (940) can determine the energy level value of the determined ratio of the energy level values (E) of each of the plurality of sub-bands (b) as the energy level value of each of the plurality of sub-bands (b). For example, the energy level determination module (940) can determine the energy level value of the determined ratio of the energy level values (E) of each of the plurality of sub-bands (b) by multiplying the energy level value (E) by the ratio (h_ratio). The energy level determination module (940) can determine, for example, the energy level value of the first ratio (h_ratio1) of the first energy level value (E1) of the first sub-band (b1) as the energy level value of the first sub-band (b1). The energy level determination module (940) can determine the energy level value of the second ratio (h_ratio2) of the second energy level value (E2) of the second sub-band (b) as the energy level value of the second sub-band (b2).

일 실시 예에 따르면, 에너지 레벨 결정 모듈(940)은 제2 전자 장치(20)가 오디오 신호를 출력할 수 있는 범위(예: 피크 밸류 이하)를 고려하여 상기 결정된 복수의 서브 밴드(b) 각각의 에너지 레벨 값보다 높은 범위를 헤드룸으로 결정할 수 있다. 예를 들어, 에너지 레벨 결정 모듈(940)은 제1 서브 밴드(b1)의 에너지 레벨 값보다 높고 제2 전자 장치(20)의 피크 밸류보다 낮은 범위를 제1 헤드룸으로 결정할 수 있다. 에너지 레벨 결정 모듈(940)은 제2 서브 밴드(b2)의 에너지 레벨 값보다 높고 제2 전자 장치(20)의 피크 밸류보다 낮은 범위를 제2 헤드룸으로 결정할 수 있다. 상기 제1 헤드룸 및 상기 제2 헤드룸은 서로 상이할 수 있다. 이에 따라, 에너지 레벨 결정 모듈(940)은 복수의 서브 밴드(b) 각각의 최대 에너지 문턱 값(E_Th)을 이용하여 헤드룸을 결정할 수 있다.According to one embodiment, the energy level determination module (940) may determine a range higher than the energy level value of each of the determined plurality of sub-bands (b) as the headroom, considering a range (e.g., below the peak value) in which the second electronic device (20) can output an audio signal. For example, the energy level determination module (940) may determine a range higher than the energy level value of the first sub-band (b1) and lower than the peak value of the second electronic device (20) as the first headroom. The energy level determination module (940) may determine a range higher than the energy level value of the second sub-band (b2) and lower than the peak value of the second electronic device (20) as the second headroom. The first headroom and the second headroom may be different from each other. Accordingly, the energy level determination module (940) may determine the headroom using the maximum energy threshold value (E_Th) of each of the plurality of sub-bands (b).

후처리 모듈(900)은 디코더(100´)로부터 디코딩된 오디오 신호를 수신하여 상기 복수의 서브 밴드(b) 각각의 헤드룸을 결정하여 복수의 서브 밴드(b)에 적용하고, 상기 헤드룸이 적용된 오디오 신호를 후처리할 수 있다. 후처리 모듈(900)은 상기 헤드룸이 적용된 오디오 신호를 후처리하여 상기 ADC(200´)로 송신할 수 있다. 이에 따라, 제1 전자 장치(10)에서 헤드룸을 적용할 필요가 없을 수 있다.The post-processing module (900) may receive the decoded audio signal from the decoder (100´), determine the headroom of each of the plurality of sub-bands (b), apply the headroom to the plurality of sub-bands (b), and post-process the audio signal to which the headroom has been applied. The post-processing module (900) may post-process the audio signal to which the headroom has been applied and transmit the result to the ADC (200´). Accordingly, there may be no need to apply the headroom in the first electronic device (10).

본 발명의 일 실시 예에 따른 제2 전자 장치(20)는 후처리 과정에서 복수의 서브 밴드(b)의 서로 다른 최대 에너지 문턱 값(E_Th)을 이용하여 비율(h_ratio)를 결정할 수 있다. 또한, 제2 전자 장치(20)는 상기 결정된 비율(h_ratio)를 이용하여 복수의 서브 밴드(b)에 서로 다른 헤드룸을 적용하고, 상기 헤드룸이 적용된 오디오 신호를 후처리할 수 있다. 이에 따라, 제2 전자 장치(10)는 헤드룸을 적용할 때 디코딩된 오디오 신호의 손실을 최소화할 수 있다.The second electronic device (20) according to an embodiment of the present invention can determine a ratio (h_ratio) by using different maximum energy threshold values (E_Th) of a plurality of sub-bands (b) in a post-processing process. In addition, the second electronic device (20) can apply different headrooms to the plurality of sub-bands (b) by using the determined ratio (h_ratio) and post-process an audio signal to which the headroom is applied. Accordingly, the second electronic device (10) can minimize loss of a decoded audio signal when applying the headroom.

일 실시 예에 따르면, 제2 전자 장치(20)는 디코더(100´)에서 헤드룸을 적용할 수 있다. 제2 전자 장치(20)의 오디오 신호 처리 과정은 제1 전자 장치(10)의 오디오 신호 처리 과정의 역일 수 있다. 예를 들어, 제2 전자 장치(20)는 수신된 오디오 신호를 복호화하고, 상기 복호화된 오디오 신호를 역양자화할 수 있다. 이에 따라, 제2 전자 장치(20)는 상기 오디오 신호를 역양자화하는 과정에서 도 5 내지 도 7에서 설명한 방법을 역으로 적용하면 오디오 신호의 복수의 서브 밴드 별로 에너지 레벨 값을 조정할 수 있다.According to one embodiment, the second electronic device (20) can apply headroom in the decoder (100´). The audio signal processing process of the second electronic device (20) can be the reverse of the audio signal processing process of the first electronic device (10). For example, the second electronic device (20) can decode the received audio signal and dequantize the decoded audio signal. Accordingly, the second electronic device (20) can adjust the energy level value for each of a plurality of sub-bands of the audio signal by applying the method described in FIGS. 5 to 7 in reverse during the process of dequantizing the audio signal.

도 1 내지 도 9을 참조하여 설명한 본 발명의 다양한 실시 예에 따르면, 제1 전자 장치(10) 및 제2 전자 장치(20)는 오디오 신호에 대한 주파수 대역을 복수의 서브 밴드(b)로 분리하고, 분리된 서브 밴드(b) 각각의 에너지 레벨 값(E)을 분석하여 최대 에너지 문턱 값(E_Th)을 결정하고, 상기 최대 에너지 문턱 값(E_Th)를 이용하여 복수의 주파수 대역(b)에 서로 다른 헤드룸을 적용함으로써, 오디오 신호를 출력할 때 발생하는 클리핑(clipping)을 방지하면서 오디오 신호를 압축할 때 발생할 수 있는 손실을 최소한으로 줄여 제2 전자 장치에서 출력이 크고 고품질의 오디오 신호를 출력할 수 있다.According to various embodiments of the present invention described with reference to FIGS. 1 to 9, a first electronic device (10) and a second electronic device (20) separate a frequency band for an audio signal into a plurality of sub-bands (b), analyze an energy level value (E) of each of the separated sub-bands (b) to determine a maximum energy threshold value (E_Th), and apply different headrooms to the plurality of frequency bands (b) using the maximum energy threshold value (E_Th), thereby preventing clipping that occurs when outputting an audio signal and minimizing loss that may occur when compressing an audio signal, thereby allowing the second electronic device to output a high-quality audio signal.

또한, 제1 전자 장치(10) 및 제2 전자 장치(20)의 복수의 서브 밴드(b) 별로 헤드룸을 다르게 설정하는 기능은 에너지 레벨 값의 비교 또는 비율의 곱셈이라는 복잡하지 않은 알고리즘(algorithm)으로 구현되어 빠른 처리가 가능하고, 소형 전자 장치(예: 보청기)에도 쉽게 적용될 수 있다.In addition, the function of setting the headroom differently for each of the multiple sub-bands (b) of the first electronic device (10) and the second electronic device (20) is implemented by a simple algorithm of comparing energy level values or multiplying ratios, enabling fast processing and can be easily applied to small electronic devices (e.g., hearing aids).

도 10은 본 발명의 일 실시 예에 따른 오디오 신호를 인코딩하는 전자 장치를 제어하는 방법을 나타낸 흐름도이다.FIG. 10 is a flowchart illustrating a method for controlling an electronic device for encoding an audio signal according to an embodiment of the present invention.

도 10에 도시된 흐름도는 상술한 제1 전자 장치(10)에서 처리되는 동작들로 구성될 수 있으며, 복수의 서브 밴드(b) 별로 서로 다른 헤드룸을 적용하기 위한 전자 장치(10)의 제어 방법을 나타낸다. 이에 따라, 이하에서 생략된 내용이라 하더라도 도 1 내지 도 9을 참조하여 제1 전자 장치(200)에 관하여 기술된 내용은 도 10에 도시된 흐름도에서 적용될 수 있다.The flow chart illustrated in FIG. 10 may be composed of operations processed in the first electronic device (10) described above, and represents a control method of the electronic device (10) for applying different headrooms to each of a plurality of sub-bands (b). Accordingly, even if the content is omitted below, the content described with respect to the first electronic device (200) with reference to FIGS. 1 to 9 may be applied to the flow chart illustrated in FIG. 10.

일 실시 예에 따른, 1010 동작에서, 제1 전자 장치(10)는 오디오 신호에 해당하는 주파수 대역을 복수의 서브 밴드(b)로 구분할 수 있다.In one embodiment, in operation 1010, the first electronic device (10) can divide a frequency band corresponding to an audio signal into a plurality of sub-bands (b).

일 실시 예에 따른, 1020 동작에서, 제1 전자 장치(10)는 복수의 서브 밴드(b) 각각의 에너지 레벨 값을 양자화하기 위하여 비트(ba)를 할당할 수 있다. 예를 들어, 제1 전자 장치(10)는 복수의 서브 밴드(b) 중 주요한 주파수 대역에 포함된 서브 밴드에 상기 주요한 주파수 대역에 포함되지 않은 서브 밴드보다 많은 비트(ba)를 할당할 수 있다. 상기 주요한 주파수은, 예를 들어, 심리 음향 모델에 의해 분석된 인간의 가청 주파수 대역 내의 민감도가 높고 많은 정보를 포함하고 있는 주파수 대역일 수 있다.In one embodiment, in operation 1020, the first electronic device (10) may allocate bits (ba) to quantize an energy level value of each of the plurality of sub-bands (b). For example, the first electronic device (10) may allocate more bits (ba) to a sub-band included in a major frequency band among the plurality of sub-bands (b) than to a sub-band not included in the major frequency band. The major frequency may be, for example, a frequency band having high sensitivity and containing a lot of information within a human audible frequency band analyzed by a psychoacoustic model.

일 실시 예에 따른, 1030 동작에서, 제1 전자 장치(10)는 서브 밴드의 대역폭(bw) 및 상기 할당된 비트(ba)에 기초하여 서브 밴드(s)의 헤드룸을 결정할 수 있다. 예를 들어, 제1 전자 장치(10)는 서브 밴드의 대역폭(bw) 및 상기 할당된 비트(ba)를 이용하여 최대 에너지 문턱 값(E_Th)을 결정할 수 있다. 제1 전자 장치(10)는 상기 결정된 최대 에너지 문턱 값(E_Th)을 이용하여 복수의 서브 밴드의 서로 다른 헤드룸을 결정할 수 있다.In one embodiment, in operation 1030, the first electronic device (10) can determine the headroom of the sub-band (s) based on the bandwidth (bw) of the sub-band and the allocated bits (ba). For example, the first electronic device (10) can determine the maximum energy threshold value (E_Th) by using the bandwidth (bw) of the sub-band and the allocated bits (ba). The first electronic device (10) can determine different headrooms of the plurality of sub-bands by using the determined maximum energy threshold value (E_Th).

일 실시 예에 따른, 1040 동작에서, 제1 전자 장치(10)는 상기 결정된 헤드룸을 복수의 서브 밴드(b)에 적용할 수 있다. 제1 전자 장치(10)는 상기 서로 다른 헤드룸이 복수의 서브 밴드(b) 각각에 적용된 오디오 신호를 부호화하여 제2 전자 장치(20)로 송신할 수 있다.In one embodiment, in operation 1040, the first electronic device (10) can apply the determined headroom to a plurality of sub-bands (b). The first electronic device (10) can encode an audio signal to which the different headrooms are applied to each of the plurality of sub-bands (b) and transmit the encoded audio signal to the second electronic device (20).

도 11은 다양한 실시 예에 따른 네트워크 환경 내의 전자 장치를 나타낸다.FIG. 11 illustrates electronic devices within a network environment according to various embodiments.

도 11을 참조하면, 다양한 실시 예에서의 전자 장치(1601), 제1 전자 장치(1602), 제2 전자 장치(1604) 또는 서버(1606)가 네트워크(1662) 또는 근거리 통신(1664)을 통하여 서로 연결될 수 있다. 전자 장치(1601)는 버스(1610), 프로세서(1620), 메모리(1630), 입출력 인터페이스(1650), 디스플레이(1660), 및 통신 인터페이스(1670)를 포함할 수 있다. 어떤 실시 예에서는, 전자 장치(1601)는, 구성요소들 중 적어도 하나를 생략하거나 다른 구성 요소를 추가적으로 구비할 수 있다.Referring to FIG. 11, in various embodiments, an electronic device (1601), a first electronic device (1602), a second electronic device (1604), or a server (1606) may be connected to each other via a network (1662) or short-range communication (1664). The electronic device (1601) may include a bus (1610), a processor (1620), a memory (1630), an input/output interface (1650), a display (1660), and a communication interface (1670). In some embodiments, the electronic device (1601) may omit at least one of the components or additionally include another component.

버스(1610)는, 예를 들면, 구성요소들(1620-1670)을 서로 연결하고, 구성요소들 간의 통신(예: 제어 메시지 및/또는 데이터)을 전달하는 회로를 포함할 수 있다.The bus (1610) may include circuitry for, for example, connecting the components (1620-1670) to each other and transmitting communications (e.g., control messages and/or data) between the components.

프로세서(1620)는, 중앙처리장치(Central Processing Unit (CPU)), 어플리케이션 프로세서(Application Processor (AP)), 또는 커뮤니케이션 프로세서(Communication Processor (CP)) 중 하나 또는 그 이상을 포함할 수 있다. 프로세서(1620)는, 예를 들면, 전자 장치(1601)의 적어도 하나의 다른 구성요소들의 제어 및/또는 통신에 관한 연산이나 데이터 처리를 실행할 수 있다.The processor (1620) may include one or more of a Central Processing Unit (CPU), an Application Processor (AP), or a Communication Processor (CP). The processor (1620) may, for example, perform calculations or data processing related to control and/or communication of at least one other component of the electronic device (1601).

메모리(1630)는, 휘발성 및/또는 비휘발성 메모리를 포함할 수 있다. 메모리(1630)는, 예를 들면, 전자 장치(1601)의 적어도 하나의 다른 구성요소에 관계된 명령 또는 데이터를 저장할 수 있다. 한 실시 예에 따르면, 메모리(1630)는 소프트웨어 및/또는 프로그램(1640)을 저장할 수 있다. 프로그램(1620)은, 예를 들면, 커널(1641), 미들웨어(1643), 어플리케이션 프로그래밍 인터페이스(Application Programming Interface (API))(1645), 및/또는 어플리케이션 프로그램(또는 "어플리케이션")(1647) 등을 포함할 수 있다. 커널(1641), 미들웨어(1643), 또는 API(1645)의 적어도 일부는, 운영 시스템(Operating System (OS))으로 지칭될 수 있다.The memory (1630) may include volatile and/or non-volatile memory. The memory (1630) may store, for example, instructions or data related to at least one other component of the electronic device (1601). According to one embodiment, the memory (1630) may store software and/or programs (1640). The programs (1620) may include, for example, a kernel (1641), middleware (1643), an Application Programming Interface (API) (1645), and/or an application program (or “application”) (1647). At least a portion of the kernel (1641), the middleware (1643), or the API (1645) may be referred to as an Operating System (OS).

커널(1641)은, 예를 들면, 다른 프로그램들(예: 미들웨어(1643), API(1645), 또는 어플리케이션 프로그램(1647))에 구현된 동작 또는 기능을 실행하는 데 사용되는 시스템 리소스들(예: 버스(1610), 프로세서(1620), 또는 메모리(1630) 등)을 제어 또는 관리할 수 있다. 또한, 커널(1641)은 미들웨어(1643), API(1645), 또는 어플리케이션 프로그램(1647)에서 전자 장치(1601)의 개별 구성요소에 접근함으로써, 시스템 리소스들을 제어 또는 관리할 수 있는 인터페이스를 제공할 수 있다.The kernel (1641) may control or manage system resources (e.g., a bus (1610), a processor (1620), or a memory (1630)) used to execute operations or functions implemented in other programs (e.g., a middleware (1643), an API (1645), or an application program (1647)). In addition, the kernel (1641) may provide an interface that allows the middleware (1643), the API (1645), or the application program (1647) to control or manage system resources by accessing individual components of the electronic device (1601).

미들웨어(1643)는, 예를 들면, API(1645) 또는 어플리케이션 프로그램(1647)이 커널(1641)과 통신하여 데이터를 주고받을 수 있도록 중개 역할을 수행할 수 있다. Middleware (1643) may act as an intermediary to allow, for example, an API (1645) or an application program (1647) to communicate with the kernel (1641) and exchange data.

또한, 미들웨어(1643)는 어플리케이션 프로그램(1647)으로부터 수신된 하나 이상의 작업 요청들을 우선 순위에 따라 처리할 수 있다. 예를 들면, 미들웨어(1643)는 어플리케이션 프로그램(1647) 중 적어도 하나에 전자 장치(1601)의 시스템 리소스(예: 버스(1610), 프로세서(1620), 또는 메모리(1630) 등)를 사용할 수 있는 우선 순위를 부여할 수 있다. 예컨대, 미들웨어(1643)는 상기 적어도 하나에 부여된 우선 순위에 따라 상기 하나 이상의 작업 요청들을 처리함으로써, 상기 하나 이상의 작업 요청들에 대한 스케쥴링 또는 로드 밸런싱 등을 수행할 수 있다.In addition, the middleware (1643) can process one or more work requests received from the application program (1647) according to priorities. For example, the middleware (1643) can assign a priority to at least one of the application programs (1647) to use system resources (e.g., bus (1610), processor (1620), memory (1630), etc.) of the electronic device (1601). For example, the middleware (1643) can perform scheduling or load balancing, etc. for the one or more work requests by processing the one or more work requests according to the priority assigned to the at least one of the work requests.

API(1645)는, 예를 들면, 어플리케이션(1647)이 커널(1641) 또는 미들웨어(1643)에서 제공되는 기능을 제어하기 위한 인터페이스로, 예를 들면, 파일 제어, 창 제어, 영상 처리, 또는 문자 제어 등을 위한 적어도 하나의 인터페이스 또는 함수(예: 명령어)를 포함할 수 있다.API (1645) is, for example, an interface for an application (1647) to control functions provided by the kernel (1641) or middleware (1643), and may include at least one interface or function (e.g., command) for, for example, file control, window control, image processing, or character control.

입출력 인터페이스(1650)는, 예를 들면, 사용자 또는 다른 외부 기기로부터 입력된 명령 또는 데이터를 전자 장치(1601)의 다른 구성요소(들)에 전달할 수 있는 인터페이스의 역할을 할 수 있다. 또한, 입출력 인터페이스(1650)는 전자 장치(1601)의 다른 구성요소(들)로부터 수신된 명령 또는 데이터를 사용자 또는 다른 외부 기기로 출력할 수 있다.The input/output interface (1650) may serve as an interface that can transmit, for example, a command or data input from a user or another external device to other component(s) of the electronic device (1601). In addition, the input/output interface (1650) may output a command or data received from other component(s) of the electronic device (1601) to the user or another external device.

디스플레이(1660)는, 예를 들면, 액정 디스플레이(Liquid Crystal Display (LCD)), 발광 다이오드(Light-Emitting Diode (LED)) 디스플레이, 유기 발광 다이오드(Organic LED (OLED)) 디스플레이, 또는 마이크로 전자기계 시스템(microelectromechanical systems, MEMS) 디스플레이, 또는 전자 종이(electronic paper) 디스플레이를 포함할 수 있다. 디스플레이(1660)는, 예를 들면, 사용자에게 각종 컨텐츠(예: 텍스트, 이미지, 비디오, 아이콘, 또는 심볼 등)을 표시할 수 있다. 디스플레이(1660)는, 터치 스크린을 포함할 수 있으며, 예를 들면, 전자 펜 또는 사용자의 신체의 일부를 이용한 터치, 제스처, 근접, 또는 호버링(hovering) 입력을 수신할 수 있다.The display (1660) may include, for example, a Liquid Crystal Display (LCD), a Light-Emitting Diode (LED) display, an Organic LED (OLED) display, a microelectromechanical systems (MEMS) display, or an electronic paper display. The display (1660) may display, for example, various contents (e.g., text, images, videos, icons, or symbols) to a user. The display (1660) may include a touch screen and may receive touch, gesture, proximity, or hovering inputs, for example, using an electronic pen or a part of the user's body.

통신 인터페이스(1670)는, 예를 들면, 전자 장치(1601)와 외부 장치(예: 제1 전자 장치(1602), 제2 전자 장치(1604), 또는 서버(1606)) 간의 통신을 설정할 수 있다. 예를 들면, 통신 인터페이스(1670)는 무선 통신 또는 유선 통신을 통해서 네트워크(1662)에 연결되어 외부 장치(예: 제2 전자 장치(1604) 또는 서버(1606))와 통신할 수 있다.The communication interface (1670) can establish communication between, for example, the electronic device (1601) and an external device (e.g., the first electronic device (1602), the second electronic device (1604), or the server (1606)). For example, the communication interface (1670) can be connected to a network (1662) via wireless communication or wired communication to communicate with the external device (e.g., the second electronic device (1604) or the server (1606)).

무선 통신은, 예를 들면 셀룰러 통신 프로토콜로서, 예를 들면 LTE(Long-Term Evolution), LTE-A(LTE-Advanced), CDMA(Code Division Multiple Access), WCDMA(Wideband CDMA), UMTS(Universal Mobile Telecommunications System), WiBro(Wireless Broadband), 또는 GSM(Global System for Mobile Communications) 중 적어도 하나를 사용할 수 있다. 또한 무선 통신은, 예를 들면, 근거리 통신(1664)을 포함할 수 있다. 근거리 통신(1664)는, 예를 들면, Wi-Fi(Wireless Fidelity), Bluetooth, NFC(Near Field Communication), MST(magnetic stripe transmission), 또는 GNSS 중 적어도 하나를 포함할 수 있다. The wireless communication may use, for example, at least one of a cellular communication protocol, such as LTE (Long-Term Evolution), LTE-A (LTE-Advanced), CDMA (Code Division Multiple Access), WCDMA (Wideband CDMA), UMTS (Universal Mobile Telecommunications System), WiBro (Wireless Broadband), or GSM (Global System for Mobile Communications). In addition, the wireless communication may include, for example, short-range communication (1664). The short-range communication (1664) may include, for example, at least one of Wi-Fi (Wireless Fidelity), Bluetooth, NFC (Near Field Communication), MST (magnetic stripe transmission), or GNSS.

MST는 전자기 신호를 이용하여 전송 데이터에 따라 펄스를 생성하고, 상기 펄스는 자기장 신호를 발생시킬 수 있다. 전자 장치(1601)는 상기 자기장 신호를 POS(point of sales)에 전송하고, POS는 MST 리더(MST reader)를 이용하여 상기 자기장 신호는 검출하고, 검출된 자기장 신호를 전기 신호로 변환함으로써 상기 데이터를 복원할 수 있다.MST generates a pulse according to transmission data using an electromagnetic signal, and the pulse can generate a magnetic field signal. An electronic device (1601) transmits the magnetic field signal to a point of sales (POS), and the POS detects the magnetic field signal using an MST reader, and can restore the data by converting the detected magnetic field signal into an electrical signal.

GNSS는 사용 지역 또는 대역폭 등에 따라, 예를 들면, GPS(Global Positioning System), Glonass(Global Navigation Satellite System), Beidou Navigation Satellite System(이하 "Beidou") 또는 Galileo(the European global satellite-based navigation system) 중 적어도 하나를 포함할 수 있다. 이하, 본 문서에서는, "GPS"는 "GNSS"와 혼용되어 사용(interchangeably used)될 수 있다. 유선 통신은, 예를 들면, USB(universal serial bus), HDMI(high definition multimedia interface), RS-232(recommended standard-232), 또는 POTS(plain old telephone service) 등 중 적어도 하나를 포함할 수 있다. 네트워크(1662)는 통신 네트워크(telecommunications network), 예를 들면, 컴퓨터 네트워크(computer network)(예: LAN 또는 WAN), 인터넷, 또는 전화 망(telephone network) 중 적어도 하나를 포함할 수 있다.GNSS may include at least one of, for example, GPS (Global Positioning System), Glonass (Global Navigation Satellite System), Beidou Navigation Satellite System (hereinafter "Beidou"), or Galileo (the European global satellite-based navigation system), depending on the usage area or bandwidth. Hereinafter, in this document, "GPS" may be used interchangeably with "GNSS". The wired communication may include at least one of, for example, USB (universal serial bus), HDMI (high definition multimedia interface), RS-232 (recommended standard-232), or POTS (plain old telephone service). The network (1662) may include at least one of a telecommunications network, for example, a computer network (e.g., LAN or WAN), the Internet, or a telephone network.

제1 전자 장치(1602) 및 제2 전자 장치(1604) 각각은 전자 장치(1601)와 동일한 또는 다른 종류의 장치일 수 있다. 한 실시 예에 따르면, 서버(1606)는 하나 또는 그 이상의 서버들의 그룹을 포함할 수 있다. 다양한 실시 예에 따르면, 전자 장치(1601)에서 실행되는 동작들의 전부 또는 일부는 다른 하나 또는 복수의 전자 장치(예: 제1 전자 장치(1602), 제2 전자 장치(1604), 또는 서버(1606))에서 실행될 수 있다. 한 실시 예에 따르면, 전자 장치(1601)가 어떤 기능이나 서비스를 자동으로 또는 요청에 의하여 수행해야 할 경우에, 전자 장치(1601)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 그와 연관된 적어도 일부 기능을 다른 전자 장치(예: 제1 전자 장치(1602), 제2 전자 장치(1604), 또는 서버(1606))에게 요청할 수 있다. 다른 전자 장치는 요청된 기능 또는 추가 기능을 실행하고, 그 결과를 전자 장치(1601)로 전달할 수 있다. 전자 장치(1601)는 수신된 결과를 그대로 또는 추가적으로 처리하여 요청된 기능이나 서비스를 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다.Each of the first electronic device (1602) and the second electronic device (1604) may be the same type of device as or different from the electronic device (1601). According to one embodiment, the server (1606) may include a group of one or more servers. According to various embodiments, all or part of the operations executed in the electronic device (1601) may be executed in another one or more electronic devices (e.g., the first electronic device (1602), the second electronic device (1604), or the server (1606)). According to one embodiment, when the electronic device (1601) is to perform a certain function or service automatically or upon request, the electronic device (1601) may request at least some functions associated therewith from another electronic device (e.g., the first electronic device (1602), the second electronic device (1604), or the server (1606)) instead of executing the function or service by itself or in addition. Another electronic device may execute the requested function or additional function and transmit the result to the electronic device (1601). The electronic device (1601) may process the received result as is or additionally to provide the requested function or service. For this purpose, for example, cloud computing, distributed computing, or client-server computing technology may be used.

도 12은 본 발명의 일 실시 예에 따른 전자 장치의 블록도를 나타낸다.FIG. 12 shows a block diagram of an electronic device according to an embodiment of the present invention.

도 12을 참조하면, 전자 장치(1701)는, 예를 들면, 도 16에 도시된 전자 장치(1601)의 전체 또는 일부를 포함할 수 있다. 전자 장치(1701)는 하나 이상의 프로세서(예: AP)(1710), 통신 모듈(1720), 가입자 식별 모듈(1724), 메모리(1730), 센서 모듈(1740), 입력 장치(1750), 디스플레이(1760), 인터페이스(1770), 오디오 모듈(1780), 카메라 모듈(1791), 전력 관리 모듈(1795), 배터리(1796), 인디케이터(1797), 및 모터(1798)를 포함할 수 있다. Referring to FIG. 12, the electronic device (1701) may include, for example, all or part of the electronic device (1601) illustrated in FIG. 16. The electronic device (1701) may include one or more processors (e.g., AP) (1710), a communication module (1720), a subscriber identification module (1724), a memory (1730), a sensor module (1740), an input device (1750), a display (1760), an interface (1770), an audio module (1780), a camera module (1791), a power management module (1795), a battery (1796), an indicator (1797), and a motor (1798).

프로세서(1710)는, 예를 들면, 운영 체제 또는 응용 프로그램을 구동하여 프로세서(1710)에 연결된 다수의 하드웨어 또는 소프트웨어 구성요소들을 제어할 수 있고, 각종 데이터 처리 및 연산을 수행할 수 있다. 프로세서(1710)는, 예를 들면, SoC(system on chip)로 구현될 수 있다. 한 실시 예에 따르면, 프로세서(1710)는 GPU(graphic processing unit) 및/또는 이미지 신호 프로세서(image signal processor)를 더 포함할 수 있다. 프로세서(1710)는 도 17에 도시된 구성요소들 중 적어도 일부(예: 셀룰러 모듈(1721))를 포함할 수도 있다. 프로세서(1710)는 다른 구성요소들(예: 비휘발성 메모리) 중 적어도 하나로부터 수신된 명령 또는 데이터를 휘발성 메모리에 로드(load)하여 처리하고, 다양한 데이터를 비휘발성 메모리에 저장(store)할 수 있다.The processor (1710) may control a plurality of hardware or software components connected to the processor (1710) by, for example, driving an operating system or an application program, and may perform various data processing and calculations. The processor (1710) may be implemented as, for example, a system on chip (SoC). According to one embodiment, the processor (1710) may further include a GPU (graphic processing unit) and/or an image signal processor. The processor (1710) may also include at least some of the components illustrated in FIG. 17 (e.g., a cellular module (1721)). The processor (1710) may load and process commands or data received from at least one of the other components (e.g., a nonvolatile memory) into the volatile memory, and store various data in the nonvolatile memory.

통신 모듈(1720)은, 도 16의 통신 인터페이스(1670)와 동일 또는 유사한 구성을 가질 수 있다. 통신 모듈(1720)은, 예를 들면, 셀룰러 모듈(1721), Wi-Fi 모듈(1723), 블루투스 모듈(1725), GNSS 모듈(1727)(예: GPS 모듈, Glonass 모듈, Beidou 모듈, 또는 Galileo 모듈), NFC 모듈(1728), 및 RF(radio frequency) 모듈(1729)을 포함할 수 있다.The communication module (1720) may have the same or similar configuration as the communication interface (1670) of FIG. 16. The communication module (1720) may include, for example, a cellular module (1721), a Wi-Fi module (1723), a Bluetooth module (1725), a GNSS module (1727) (e.g., a GPS module, a Glonass module, a Beidou module, or a Galileo module), an NFC module (1728), and an RF (radio frequency) module (1729).

셀룰러 모듈(1721)은, 예를 들면, 통신망을 통해서 음성 통화, 영상 통화, 문자 서비스, 또는 인터넷 서비스 등을 제공할 수 있다. 한 실시 예에 따르면, 셀룰러 모듈(1721)은 가입자 식별 모듈(예: SIM 카드)(1724)를 이용하여 통신 네트워크 내에서 전자 장치(1701)의 구별 및 인증을 수행할 수 있다. 한 실시 예에 따르면, 셀룰러 모듈(1721)은 프로세서(1710)가 제공할 수 있는 기능 중 적어도 일부 기능을 수행할 수 있다. 한 실시 예에 따르면, 셀룰러 모듈(1721)은 커뮤니케이션 프로세서(CP)를 포함할 수 있다.The cellular module (1721) may provide, for example, voice calls, video calls, text services, or Internet services through a communication network. According to one embodiment, the cellular module (1721) may perform differentiation and authentication of the electronic device (1701) within the communication network using a subscriber identification module (e.g., SIM card) (1724). According to one embodiment, the cellular module (1721) may perform at least some of the functions that the processor (1710) may provide. According to one embodiment, the cellular module (1721) may include a communication processor (CP).

Wi-Fi 모듈(1723), 블루투스 모듈(1725), GNSS 모듈(1727) 또는 NFC 모듈(1728) 각각은, 예를 들면, 해당하는 모듈을 통해서 송수신되는 데이터를 처리하기 위한 프로세서를 포함할 수 있다. 어떤 실시 예에 따르면, 셀룰러 모듈(1721), Wi-Fi 모듈(1723), 블루투스 모듈(1725), GNSS 모듈(1727), 또는 NFC 모듈(1728) 중 적어도 일부(예: 두 개 이상)는 하나의 IC(integrated chip) 또는 IC 패키지 내에 포함될 수 있다.Each of the Wi-Fi module (1723), the Bluetooth module (1725), the GNSS module (1727), or the NFC module (1728) may include, for example, a processor for processing data transmitted and received through the corresponding module. According to some embodiments, at least some (e.g., two or more) of the cellular module (1721), the Wi-Fi module (1723), the Bluetooth module (1725), the GNSS module (1727), or the NFC module (1728) may be included in a single integrated chip (IC) or IC package.

RF 모듈(1729)은, 예를 들면, 통신 신호(예: RF 신호)를 송수신할 수 있다. RF 모듈(1729)은, 예를 들면, 트랜시버(transceiver), PAM(power amp module), 주파수 필터(frequency filter), LNA(low noise amplifier), 또는 안테나 등을 포함할 수 있다. 다른 실시 예에 따르면, 셀룰러 모듈(1721), Wi-Fi 모듈(1723), 블루투스 모듈(1725), GNSS 모듈(1727), NFC 모듈(1728) 중 적어도 하나는 별개의 RF 모듈을 통하여 RF 신호를 송수신할 수 있다. The RF module (1729) may, for example, transmit and receive communication signals (e.g., RF signals). The RF module (1729) may include, for example, a transceiver, a power amp module (PAM), a frequency filter, a low noise amplifier (LNA), or an antenna. According to another embodiment, at least one of the cellular module (1721), the Wi-Fi module (1723), the Bluetooth module (1725), the GNSS module (1727), and the NFC module (1728) may transmit and receive RF signals through a separate RF module.

가입자 식별 모듈(1724)은, 예를 들면, 가입자 식별 모듈을 포함하는 카드 및/또는 내장 SIM(embedded SIM)을 포함할 수 있으며, 고유한 식별 정보(예: ICCID (integrated circuit card identifier)) 또는 가입자 정보(예: IMSI (international mobile subscriber identity))를 포함할 수 있다. The subscriber identity module (1724) may include, for example, a card including a subscriber identity module and/or an embedded SIM, and may include unique identification information (e.g., an integrated circuit card identifier (ICCID)) or subscriber information (e.g., an international mobile subscriber identity (IMSI)).

메모리(1730)(예: 메모리(1630))는, 예를 들면, 내장 메모리(1732) 또는 외장 메모리(1734)를 포함할 수 있다. 내장 메모리(1732)는, 예를 들면, 휘발성 메모리(예: DRAM(dynamic RAM), SRAM(static RAM), 또는 SDRAM(synchronous dynamic RAM) 등), 비-휘발성(non-volatile) 메모리 (예: OTPROM(one time programmable ROM), PROM(programmable ROM), EPROM(erasable and programmable ROM), EEPROM(electrically erasable and programmable ROM), 마스크(mask) ROM, 플래시(flash) ROM, 플래시 메모리(예: 낸드플래시(NAND flash) 또는 노아플래시(NOR flash) 등), 하드 드라이브, 또는 SSD(solid state drive) 중 적어도 하나를 포함할 수 있다. The memory (1730) (e.g., the memory (1630)) may include, for example, built-in memory (1732) or external memory (1734). The built-in memory (1732) may include, for example, at least one of a volatile memory (e.g., dynamic RAM (DRAM), static RAM (SRAM), or synchronous dynamic RAM (SDRAM)), a non-volatile memory (e.g., one time programmable ROM (OTPROM), a programmable ROM (PROM), an erasable and programmable ROM (EPROM), an electrically erasable and programmable ROM (EEPROM), a mask ROM, a flash ROM, a flash memory (e.g., NAND flash or NOR flash), a hard drive, or a solid state drive (SSD).

외장 메모리(1734)는 플래시 드라이브(flash drive), 예를 들면, CF(compact flash), SD(secure digital), Micro-SD, Mini-SD, xD(extreme digital), MMC(MultiMediaCard), 또는 메모리 스틱(memory stick) 등을 더 포함할 수 있다. 외장 메모리(1734)는 다양한 인터페이스를 통하여 전자 장치(1701)와 기능적으로 및/또는 물리적으로 연결될 수 있다.The external memory (1734) may further include a flash drive, for example, a compact flash (CF), a secure digital (SD), a Micro-SD, a Mini-SD, an extreme digital (xD), a MultiMediaCard (MMC), or a memory stick. The external memory (1734) may be functionally and/or physically connected to the electronic device (1701) via various interfaces.

센서 모듈(1740)은, 예를 들면, 물리량을 계측하거나 전자 장치(1701)의 작동 상태를 감지하여, 계측 또는 감지된 정보를 전기 신호로 변환할 수 있다. 센서 모듈(1740)은, 예를 들면, 제스처 센서(1740A), 자이로 센서(1740B), 기압 센서(1740C), 마그네틱 센서(1740D), 가속도 센서(1740E), 그립 센서(1740F), 근접 센서(1740G), 컬러 센서(1740H)(예: RGB 센서), 생체 센서(1740I), 온/습도 센서(1740J), 조도 센서(1740K), 또는 UV(ultra violet) 센서(1740M) 중의 적어도 하나를 포함할 수 있다. 추가적으로 또는 대체적으로, 센서 모듈(1740)은, 예를 들면, 후각 센서(E-nose sensor), EMG(electromyography) 센서, EEG(electroencephalogram) 센서, ECG(electrocardiogram) 센서, IR(infrared) 센서, 홍채 센서 및/또는 지문 센서를 포함할 수 있다. 센서 모듈(1740)은 그 안에 속한 적어도 하나 이상의 센서들을 제어하기 위한 제어 회로를 더 포함할 수 있다. 어떤 실시 예에서는, 전자 장치(1701)는 프로세서(1710)의 일부로서 또는 별도로, 센서 모듈(1740)을 제어하도록 구성된 프로세서를 더 포함하여, 프로세서(1710)가 슬립(sleep) 상태에 있는 동안, 센서 모듈(1740)을 제어할 수 있다.The sensor module (1740) may, for example, measure a physical quantity or detect an operating state of an electronic device (1701) and convert the measured or detected information into an electrical signal. The sensor module (1740) may include, for example, at least one of a gesture sensor (1740A), a gyro sensor (1740B), a pressure sensor (1740C), a magnetic sensor (1740D), an acceleration sensor (1740E), a grip sensor (1740F), a proximity sensor (1740G), a color sensor (1740H) (e.g., an RGB sensor), a biometric sensor (1740I), a temperature/humidity sensor (1740J), an illuminance sensor (1740K), or a UV (ultra violet) sensor (1740M). Additionally or alternatively, the sensor module (1740) may include, for example, an E-nose sensor, an EMG (electromyography) sensor, an EEG (electroencephalogram) sensor, an ECG (electrocardiogram) sensor, an IR (infrared) sensor, an iris sensor, and/or a fingerprint sensor. The sensor module (1740) may further include a control circuit for controlling at least one or more sensors included therein. In some embodiments, the electronic device (1701) further includes a processor configured to control the sensor module (1740), either as part of or separately from the processor (1710), such that the sensor module (1740) can be controlled while the processor (1710) is in a sleep state.

입력 장치(1750)는, 예를 들면, 터치 패널(touch panel)(1752), (디지털) 펜 센서(pen sensor)(1754), 키(key)(1756), 또는 초음파(ultrasonic) 입력 장치(1758)를 포함할 수 있다. 터치 패널(1752)은, 예를 들면, 정전식, 감압식, 적외선 방식, 또는 초음파 방식 중 적어도 하나의 방식을 사용할 수 있다. 또한, 터치 패널(1752)은 제어 회로를 더 포함할 수도 있다. 터치 패널(1752)은 택타일 레이어(tactile layer)를 더 포함하여, 사용자에게 촉각 반응을 제공할 수 있다. The input device (1750) may include, for example, a touch panel (1752), a (digital) pen sensor (1754), a key (1756), or an ultrasonic input device (1758). The touch panel (1752) may use, for example, at least one of a capacitive method, a pressure-sensitive method, an infrared method, or an ultrasonic method. In addition, the touch panel (1752) may further include a control circuit. The touch panel (1752) may further include a tactile layer to provide a tactile response to a user.

(디지털) 펜 센서(1754)는, 예를 들면, 터치 패널의 일부이거나, 별도의 인식용 시트(sheet)를 포함할 수 있다. 키(1756)는, 예를 들면, 물리적인 버튼, 광학식 키, 또는 키패드를 포함할 수 있다. 초음파 입력 장치(1758)는 마이크(예: 마이크(1788))를 통해, 입력 도구에서 발생된 초음파를 감지하여, 상기 감지된 초음파에 대응하는 데이터를 확인할 수 있다.The (digital) pen sensor (1754) may be, for example, part of a touch panel or may include a separate recognition sheet. The key (1756) may include, for example, a physical button, an optical key, or a keypad. The ultrasonic input device (1758) may detect ultrasonic waves generated from an input tool through a microphone (e.g., microphone (1788)) and determine data corresponding to the detected ultrasonic waves.

디스플레이(1760)(예: 디스플레이(1660))는 패널(1762), 홀로그램 장치(1764), 또는 프로젝터(1766)을 포함할 수 있다. 패널(1762)은, 도 16의 디스플레이(1660)과 동일 또는 유사한 구성을 포함할 수 있다. 패널(1762)은, 예를 들면, 유연하게(flexible), 투명하게(transparent), 또는 착용할 수 있게(wearable) 구현될 수 있다. 패널(1762)은 터치 패널(1752)과 하나의 모듈로 구성될 수도 있다. 홀로그램 장치(1764)는 빛의 간섭을 이용하여 입체 영상을 허공에 보여줄 수 있다. 프로젝터(1766)는 스크린에 빛을 투사하여 영상을 표시할 수 있다. 스크린은, 예를 들면, 전자 장치(1701)의 내부 또는 외부에 위치할 수 있다. 한 실시 예에 따르면, 디스플레이(1760)는 패널(1762), 홀로그램 장치(1764), 또는 프로젝터(1766)를 제어하기 위한 제어 회로를 더 포함할 수 있다.The display (1760) (e.g., the display (1660)) may include a panel (1762), a holographic device (1764), or a projector (1766). The panel (1762) may include a configuration identical to or similar to the display (1660) of FIG. 16. The panel (1762) may be implemented to be, for example, flexible, transparent, or wearable. The panel (1762) may also be configured as a single module with the touch panel (1752). The holographic device (1764) may use interference of light to display a three-dimensional image in the air. The projector (1766) may project light onto a screen to display an image. The screen may be located, for example, inside or outside the electronic device (1701). According to one embodiment, the display (1760) may further include control circuitry for controlling the panel (1762), the holographic device (1764), or the projector (1766).

인터페이스(1770)는, 예를 들면, HDMI(1772), USB(1774), 광 인터페이스(optical interface)(1776), 또는 D-sub(D-subminiature)(1778)을 포함할 수 있다. 인터페이스(1770)는, 예를 들면, 도 16에 도시된 통신 인터페이스(1670)에 포함될 수 있다. 추가적으로 또는 대체적으로, 인터페이스(1770)는, 예를 들면, MHL(mobile high-definition link) 인터페이스, SD 카드/MMC 인터페이스, 또는 IrDA(infrared data association) 규격 인터페이스를 포함할 수 있다.The interface (1770) may include, for example, HDMI (1772), USB (1774), an optical interface (1776), or D-sub (D-subminiature) (1778). The interface (1770) may be included, for example, in the communication interface (1670) illustrated in FIG. 16. Additionally or alternatively, the interface (1770) may include, for example, a mobile high-definition link (MHL) interface, an SD card/MMC interface, or an infrared data association (IrDA) standard interface.

오디오 모듈(1780)은, 예를 들면, 소리(sound)와 전기 신호를 쌍방향으로 변환시킬 수 있다. 오디오 모듈(1780)의 적어도 일부 구성요소는, 예를 들면, 도 16에 도시된 입출력 인터페이스(1650)에 포함될 수 있다. 오디오 모듈(1780)은, 예를 들면, 스피커(1782), 리시버(1784), 이어폰(1786), 또는 마이크(1788) 등을 통해 입력 또는 출력되는 소리 정보를 처리할 수 있다.The audio module (1780) can, for example, bidirectionally convert sound and electrical signals. At least some components of the audio module (1780) can be included in, for example, the input/output interface (1650) illustrated in FIG. 16. The audio module (1780) can process sound information input or output through, for example, a speaker (1782), a receiver (1784), an earphone (1786), or a microphone (1788).

카메라 모듈(1791)은, 예를 들면, 정지 영상 및 동영상을 촬영할 수 있는 장치로서, 한 실시 예에 따르면, 하나 이상의 이미지 센서(예: 전면 센서 또는 후면 센서), 렌즈, ISP(image signal processor), 또는 플래시(flash)(예: LED 또는 제논 램프(xenon lamp))를 포함할 수 있다.A camera module (1791) is, for example, a device capable of capturing still images and moving images, and according to one embodiment, may include one or more image sensors (e.g., a front sensor or a rear sensor), a lens, an image signal processor (ISP), or a flash (e.g., an LED or a xenon lamp).

전력 관리 모듈(1795)은, 예를 들면, 전자 장치(1701)의 전력을 관리할 수 있다. 한 실시 예에 따르면, 전력 관리 모듈(1795)은 PMIC(power management integrated circuit), 충전 IC(charger integrated circuit), 또는 배터리 또는 연료 게이지(battery or fuel gauge)를 포함할 수 있다. PMIC는, 유선 및/또는 무선 충전 방식을 가질 수 있다. 무선 충전 방식은, 예를 들면, 자기공명 방식, 자기유도 방식 또는 전자기파 방식 등을 포함하며, 무선 충전을 위한 부가적인 회로, 예를 들면, 코일 루프, 공진 회로, 또는 정류기 등을 더 포함할 수 있다. 배터리 게이지는, 예를 들면, 배터리(1796)의 잔량, 충전 중 전압, 전류, 또는 온도를 측정할 수 있다. 배터리(1796)은, 예를 들면, 충전식 전지(rechargeable battery) 및/또는 태양 전지(solar battery)를 포함할 수 있다. The power management module (1795) can manage power of the electronic device (1701), for example. According to one embodiment, the power management module (1795) can include a power management integrated circuit (PMIC), a charger integrated circuit (IC), or a battery or fuel gauge. The PMIC can have a wired and/or wireless charging method. The wireless charging method includes, for example, a magnetic resonance method, a magnetic induction method, or an electromagnetic wave method, and can further include an additional circuit for wireless charging, for example, a coil loop, a resonant circuit, or a rectifier. The battery gauge can measure, for example, the remaining capacity of the battery (1796), voltage, current, or temperature during charging. The battery (1796) can include, for example, a rechargeable battery and/or a solar battery.

인디케이터(1797)는 전자 장치(1701) 혹은 그 일부(예: 프로세서(1710))의 특정 상태, 예를 들면, 부팅 상태, 메시지 상태 또는 충전 상태 등을 표시할 수 있다. 모터(1798)는 전기적 신호를 기계적 진동으로 변환할 수 있고, 진동(vibration), 또는 햅틱(haptic) 효과 등을 발생시킬 수 있다. 도시되지는 않았으나, 전자 장치(1701)는 모바일 TV 지원을 위한 처리 장치(예: GPU)를 포함할 수 있다. 모바일 TV 지원을 위한 처리 장치는, 예를 들면, DMB(Digital Multimedia Broadcasting), DVB(Digital Video Broadcasting), 또는 미디어플로(MediaFLOTM) 등의 규격에 따른 미디어 데이터를 처리할 수 있다.The indicator (1797) can indicate a specific state of the electronic device (1701) or a part thereof (e.g., the processor (1710)), such as a booting state, a message state, or a charging state. The motor (1798) can convert an electrical signal into a mechanical vibration and can generate vibration, a haptic effect, or the like. Although not shown, the electronic device (1701) can include a processing unit (e.g., a GPU) for supporting mobile TV. The processing unit for supporting mobile TV can process media data according to a standard such as, for example, DMB (Digital Multimedia Broadcasting), DVB (Digital Video Broadcasting), or MediaFLO TM .

본 문서에서 기술된 구성요소들 각각은 하나 또는 그 이상의 부품(component)으로 구성될 수 있으며, 해당 구성 요소의 명칭은 전자 장치의 종류에 따라서 달라질 수 있다. 다양한 실시 예에서, 전자 장치는 본 문서에서 기술된 구성요소 중 적어도 하나를 포함하여 구성될 수 있으며, 일부 구성요소가 생략되거나 또는 추가적인 다른 구성요소를 더 포함할 수 있다. 또한, 다양한 실시 예에 따른 전자 장치의 구성 요소들 중 일부가 결합되어 하나의 개체(entity)로 구성됨으로써, 결합되기 이전의 해당 구성 요소들의 기능을 동일하게 수행할 수 있다.Each of the components described in this document may be composed of one or more parts (components), and the names of the corresponding components may vary depending on the type of the electronic device. In various embodiments, the electronic device may be composed of at least one of the components described in this document, and some of the components may be omitted or may further include other additional components. In addition, some of the components of the electronic device according to various embodiments may be combined to form a single entity, thereby performing the same functions of the corresponding components prior to being combined.

Claims (20)

전자 장치에 있어서,
오디오 신호 데이터를 저장하는 메모리; 및
프로세서를 포함하고,
상기 프로세서는,
상기 오디오 신호에 해당하는 주파수 대역을 복수의 서브 밴드로 구분하고,
상기 복수의 서브 밴드 중 제1 서브 밴드를 양자화하기 위하여 상기 제1 서브 밴드에 제1 비트를 할당하고,
상기 제1 서브 밴드의 대역폭 및 상기 할당된 제1 비트에 기초하여 상기 제1 서브 밴드의 제1 헤드룸(head-room)을 결정하고,
상기 복수의 서브 밴드 중 상기 제1 서브 밴드에서는 상기 결정된 제1 헤드룸을 적용하고, 나머지 서브 밴드(remaining sub bands) 중 적어도 일부에는 상기 제1 헤드룸과 상이한 값을 갖는 제2 헤드룸을 적용하여 상기 오디오 신호를 처리하도록 설정되고,
상기 제1 서브 밴드의 대역폭 및 상기 할당된 제1 비트에 기초하여 상기 제1 서브 밴드의 제1 에너지 레벨 값 및 제1 최대 에너지 문턱 값을 결정하고,
상기 제1 에너지 레벨 값 및 상기 제1 최대 에너지 문턱 값 중 낮은 값에 기초하여, 상기 제1 서브 밴드의 상기 제1 헤드룸을 결정하도록 설정되는, 전자 장치.
In electronic devices,
A memory for storing audio signal data; and
Contains a processor,
The above processor,
Divide the frequency band corresponding to the above audio signal into multiple sub-bands,
In order to quantize a first subband among the plurality of subbands, a first bit is allocated to the first subband,
Determine the first headroom of the first sub-band based on the bandwidth of the first sub-band and the allocated first bit,
The audio signal is set to be processed by applying the determined first headroom to the first sub-band among the plurality of sub-bands and applying a second headroom having a different value from the first headroom to at least some of the remaining sub-bands.
Determine a first energy level value and a first maximum energy threshold value of the first sub-band based on the bandwidth of the first sub-band and the allocated first bit,
An electronic device configured to determine the first headroom of the first sub-band based on a lower value of the first energy level value and the first maximum energy threshold value.
삭제delete 삭제delete 삭제delete 청구항 1에 있어서,
상기 프로세서는,
상기 제1 서브 밴드의 최대 에너지 값에 대한 상기 제1 최대 에너지 문턱 값의 비율을 결정하고,
상기 제1 서브 밴드의 제1 에너지 레벨 값의 상기 결정된 비율의 에너지 레벨 값을 상기 제1 서브 밴드의 제1 에너지 레벨 값으로 결정하여 상기 제1 서브 밴드의 제1 헤드룸을 결정하도록 설정된, 전자 장치.
In claim 1,
The above processor,
Determine the ratio of the first maximum energy threshold to the maximum energy value of the first sub-band,
An electronic device configured to determine a first headroom of the first sub-band by determining an energy level value of the determined ratio of the first energy level value of the first sub-band as the first energy level value of the first sub-band.
청구항 1에 있어서,
상기 프로세서는,
헤드룸이 적용된 상기 복수의 서브 밴드를 각각 양자화하고,
상기 복수의 서브 밴드 각각이 양자화된 오디오 신호를 처리하도록 설정되는, 전자 장치.
In claim 1,
The above processor,
Each of the above multiple sub-bands to which headroom is applied is quantized,
An electronic device, wherein each of the plurality of sub-bands is set to process a quantized audio signal.
청구항 1에 있어서,
상기 프로세서는,
상기 복수의 서브 밴드 중 제2 서브 밴드를 양자화하기 위해 상기 제1 비트보다 적은 제2 비트를 할당하고,
상기 제2 서브 밴드의 대역 폭 및 상기 할당된 제2 비트에 기초하여 상기 제1 최대 에너지 문턱 값보다 작은 제2 최대 에너지 문턱 값을 결정하도록 설정된, 전자 장치.
In claim 1,
The above processor,
To quantize a second sub-band among the plurality of sub-bands, a second bit less than the first bit is allocated,
An electronic device configured to determine a second maximum energy threshold value that is less than the first maximum energy threshold value based on the bandwidth of the second sub-band and the allocated second bit.
청구항 1에 있어서,
상기 프로세서는,
상기 제1 서브 밴드의 대역폭 및 상기 할당된 제1 비트를 이용하여 상기 오디오 신호를 인코딩하는 방식에 따라 상기 제1 서브 밴드의 상기 제1 최대 에너지 문턱 값을 결정하도록 설정된, 전자 장치.
In claim 1,
The above processor,
An electronic device configured to determine the first maximum energy threshold of the first sub-band according to a method of encoding the audio signal using the bandwidth of the first sub-band and the allocated first bit.
청구항 1에 있어서,
상기 메모리는,
상기 복수의 서브 밴드의 대역폭 및 상기 복수의 서브 밴드에 할당된 비트에 기초하여 결정된 최대 에너지 문턱 값을 저장하고,
상기 프로세서는,
상기 제1 서브 밴드의 상기 제1 최대 에너지 문턱 값을 결정하는 경우, 상기 메모리에 저장된 최대 에너지 문턱 값 중 상기 제1 서브 밴드의 대역폭 및 상기 할당된 제1 비트에 대응되는 값을 상기 제1 서브 밴드의 상기 제1 최대 에너지 문턱 값으로 결정하도록 설정된, 전자 장치.
In claim 1,
The above memory is,
Store the maximum energy threshold value determined based on the bandwidth of the plurality of sub-bands and the bits allocated to the plurality of sub-bands,
The above processor,
An electronic device, wherein when determining the first maximum energy threshold value of the first sub-band, a value corresponding to the bandwidth of the first sub-band and the allocated first bit among the maximum energy threshold values stored in the memory is determined as the first maximum energy threshold value of the first sub-band.
전자 장치의 제어 방법에 있어서,
오디오 신호에 해당하는 주파수 대역을 복수의 서브 밴드로 구분하는 동작;
상기 복수의 서브 밴드 중 제1 서브 밴드를 양자화하기 위하여 상기 제1 서브 밴드에 제1 비트를 할당하는 동작;
상기 제1 서브 밴드의 대역폭 및 상기 할당된 제1 비트에 기초하여 상기 제1 서브 밴드의 제1 헤드룸을 결정하는 동작;
상기 복수의 서브 밴드 중 상기 제1 서브 밴드에서는 상기 결정된 제1 헤드룸을 적용하고, 나머지 서브 밴드 중 적어도 일부에는 상기 제1 헤드룸과 상이한 값을 갖는 제2 헤드룸을 적용하여 상기 오디오 신호를 처리 하는 동작;
상기 제1 서브 밴드의 대역폭 및 상기 할당된 제1 비트에 기초하여 상기 제1 서브 밴드의 제1 에너지 레벨 값 및 제1 최대 에너지 문턱 값을 결정하는 동작; 및
상기 제1 에너지 레벨 값 및 상기 제1 최대 에너지 문턱 값 중 낮은 값에 기초하여 상기 제1 서브 밴드의 상기 제1 헤드룸을 결정하는 동작;을 포함하는 방법.
In a method for controlling an electronic device,
An operation of dividing a frequency band corresponding to an audio signal into multiple sub-bands;
An operation of allocating a first bit to a first subband to quantize the first subband among the plurality of subbands;
An operation of determining a first headroom of the first sub-band based on the bandwidth of the first sub-band and the allocated first bit;
An operation for processing the audio signal by applying the determined first headroom to the first sub-band among the plurality of sub-bands and applying a second headroom having a different value from the first headroom to at least some of the remaining sub-bands;
An operation of determining a first energy level value and a first maximum energy threshold value of the first sub-band based on the bandwidth of the first sub-band and the allocated first bit; and
A method comprising: determining the first headroom of the first sub-band based on a lower value of the first energy level value and the first maximum energy threshold value.
삭제delete 삭제delete 삭제delete 청구항 10에 있어서,
상기 제1 서브 밴드의 상기 제1 헤드룸을 결정하는 동작;은,
상기 제1 서브 밴드의 최대 에너지 값에 대한 상기 제1 최대 에너지 문턱 값의 비율을 결정하는 동작; 및
상기 제1 에너지 레벨 값의 상기 결정된 비율의 에너지 레벨 값을 상기 제1 서브 밴드의 제1 에너지 레벨 값으로 결정하여 상기 제1 서브 밴드의 제1 헤드룸을 결정하는 동작;을 포함하는 방법.
In claim 10,
An operation for determining the first headroom of the first sub-band;
An operation for determining a ratio of the first maximum energy threshold value to the maximum energy value of the first sub-band; and
A method comprising: determining a first headroom of the first sub-band by determining an energy level value of the determined ratio of the first energy level value as the first energy level value of the first sub-band.
청구항 10에 있어서,
상기 복수의 서브 밴드에 헤드룸을 적용하여 상기 오디오 신호를 처리 하는 동작;은,
상기 헤드룸이 적용된 상기 복수의 서브 밴드를 각각 양자화 하는 동작; 및
상기 복수의 서브 밴드 각각의 레벨 값이 양자화된 오디오 신호를 처리하는 동작;을 포함하는 방법.
In claim 10,
An operation of processing the audio signal by applying headroom to the plurality of sub-bands;
An operation of quantizing each of the plurality of sub-bands to which the headroom is applied; and
A method comprising: processing an audio signal in which the level values of each of the plurality of sub-bands are quantized.
전자 장치에 있어서,
오디오 신호 데이터를 저장하는 메모리; 및
프로세서를 포함하고,
상기 프로세서는,
상기 오디오 신호에 해당하는 주파수 대역을 복수의 서브 밴드로 구분하고,
상기 복수의 서브 밴드 중 제1 서브 밴드의 대역폭에 기초하여 제1 서브 밴드의 제1 헤드룸을 결정하고,
상기 복수의 서브 밴드 중 상기 제1 서브 밴드에서는 상기 결정된 제1 헤드룸을 적용하고, 나머지 서브 밴드 중 적어도 일부에는 상기 제1 헤드룸과 상이한 값을 갖는 제2 헤드룸을 적용하여 상기 오디오 신호를 처리하도록 설정되고,
상기 제1 서브 밴드의 대역폭에 기초하여 상기 제1 서브 밴드의 제1 에너지 레벨 값 및 제1 최대 에너지 문턱 값을 결정하고,
상기 제1 에너지 레벨 값 및 상기 제1 최대 에너지 문턱 값 중 낮은 값에 기초하여, 상기 제1 서브 밴드의 상기 제1 헤드룸을 결정하도록 설정되는, 전자 장치.
In electronic devices,
A memory for storing audio signal data; and
Contains a processor,
The above processor,
Divide the frequency band corresponding to the above audio signal into multiple sub-bands,
Determine the first headroom of the first sub-band based on the bandwidth of the first sub-band among the above multiple sub-bands,
The audio signal is set to be processed by applying the determined first headroom to the first sub-band among the plurality of sub-bands and applying a second headroom having a different value from the first headroom to at least some of the remaining sub-bands.
Determine a first energy level value and a first maximum energy threshold value of the first sub-band based on the bandwidth of the first sub-band,
An electronic device configured to determine the first headroom of the first sub-band based on a lower value of the first energy level value and the first maximum energy threshold value.
삭제delete ◈청구항 18은(는) 설정등록료 납부시 포기되었습니다.◈◈Claim 18 was abandoned upon payment of the registration fee.◈ 청구항 16에 있어서,
상기 프로세서는,
상기 제1 서브 밴드의 최대 에너지 값에 대한 상기 제1 최대 에너지 문턱 값의 비율을 결정하고,
상기 제1 서브 밴드의 제1 에너지 레벨 값의 상기 결정된 비율의 에너지 레벨 값을 상기 제1 서브 밴드의 제1 에너지 레벨 값으로 결정하여 상기 제1 서브 밴드의 제1 헤드룸을 결정하도록 설정된, 전자 장치.
In claim 16,
The above processor,
Determine the ratio of the first maximum energy threshold to the maximum energy value of the first sub-band,
An electronic device configured to determine a first headroom of the first sub-band by determining an energy level value of the determined ratio of the first energy level value of the first sub-band as the first energy level value of the first sub-band.
◈청구항 19은(는) 설정등록료 납부시 포기되었습니다.◈◈Claim 19 was abandoned upon payment of the registration fee.◈ 청구항 16에 있어서,
상기 프로세서는,
상기 제1 서브 밴드의 대역폭을 이용하여 인코딩된 오디오 신호를 출력하기 위해 처리하는 방식에 따라 상기 제1 서브 밴드의 상기 제1 최대 에너지 문턱 값을 결정하도록 설정된, 전자 장치.
In claim 16,
The above processor,
An electronic device configured to determine the first maximum energy threshold of the first sub-band according to a processing method for outputting an encoded audio signal using the bandwidth of the first sub-band.
◈청구항 20은(는) 설정등록료 납부시 포기되었습니다.◈◈Claim 20 was abandoned upon payment of the registration fee.◈ 청구항 16에 있어서,
상기 메모리는,
상기 복수의 서브 밴드의 대역폭에 기초하여 결정된 최대 에너지 문턱 값을 저장하고,
상기 프로세서는,
상기 제1 서브 밴드의 상기 제1 최대 에너지 문턱 값을 결정하는 경우, 상기 메모리에 저장된 최대 에너지 문턱 값 중 상기 제1 서브 밴드의 대역폭에 대응되는 값을 상기 제1 서브 밴드의 상기 제1 최대 에너지 문턱 값으로 결정하도록 설정된, 전자 장치.
In claim 16,
The above memory is,
Store the maximum energy threshold value determined based on the bandwidth of the above multiple sub-bands,
The above processor,
An electronic device, wherein when determining the first maximum energy threshold value of the first sub-band, a value corresponding to the bandwidth of the first sub-band among the maximum energy threshold values stored in the memory is determined as the first maximum energy threshold value of the first sub-band.
KR1020160161486A 2016-11-30 2016-11-30 Apparatus for transmitting audio sigal and controlling method thereof Active KR102709737B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160161486A KR102709737B1 (en) 2016-11-30 2016-11-30 Apparatus for transmitting audio sigal and controlling method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160161486A KR102709737B1 (en) 2016-11-30 2016-11-30 Apparatus for transmitting audio sigal and controlling method thereof

Publications (2)

Publication Number Publication Date
KR20180061855A KR20180061855A (en) 2018-06-08
KR102709737B1 true KR102709737B1 (en) 2024-09-26

Family

ID=62599987

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160161486A Active KR102709737B1 (en) 2016-11-30 2016-11-30 Apparatus for transmitting audio sigal and controlling method thereof

Country Status (1)

Country Link
KR (1) KR102709737B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102785606B1 (en) * 2020-03-03 2025-03-26 삼성전자주식회사 Apparatus and method for improving sound quality

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
PL3457400T3 (en) * 2012-12-13 2024-02-19 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Voice audio encoding device, voice audio decoding device, voice audio encoding method, and voice audio decoding method
EP2757558A1 (en) * 2013-01-18 2014-07-23 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Time domain level adjustment for audio signal decoding or encoding

Also Published As

Publication number Publication date
KR20180061855A (en) 2018-06-08

Similar Documents

Publication Publication Date Title
US20180286425A1 (en) Method and device for removing noise using neural network model
EP3379853B1 (en) Electronic device for transmitting audio data to multiple external devices
CN106465006B (en) Operation method of microphone and electronic equipment supporting the method
CN108431764B (en) Electronic device and method for controlling operation of electronic device
KR102529686B1 (en) Electronic device and method for recognizing grip state using the same
EP3593347B1 (en) Method for operating speech recognition service and electronic device supporting the same
KR102502601B1 (en) Electronic device and controlling voice signal method
US10149067B2 (en) Method for controlling function based on battery information and electronic device therefor
US20200128173A1 (en) Electronic device, and method for processing image according to camera photographing environment and scene by using same
KR20160049331A (en) sensor panel driving method and electronic device supporting the same
US10115409B2 (en) Adaptive processing of sound data
US10062405B2 (en) Electronic device and method for operating the same
KR102371920B1 (en) Method for outputting audio signal and electronic device supporting the same
KR20170017573A (en) Image Data Processing method and electronic device supporting the same
US10741191B2 (en) Voice signal processing method according to state of electronic device, and electronic device therefor
KR102638468B1 (en) Electronic apparatus and operating method thereof
KR20170103582A (en) Apparatus and method for streaming video in an electronic device
EP2961197A1 (en) Apparatus and method for preventing malfunction in an electronic device
KR20180039521A (en) Electroic device for charging battery and method of operating thereof
CN110462617A (en) Electronic device and method for authenticating biometric data through multiple cameras
KR20180108155A (en) Method and electronic device for outputting signal with adjusted wind sound
KR20170086977A (en) Method and apparatus for processing image data
US20190052240A1 (en) Method for amplifying audio signal based on its amplitude and electronic device supporting the same
KR102709737B1 (en) Apparatus for transmitting audio sigal and controlling method thereof
KR102521017B1 (en) Electronic device and method for converting call type thereof

Legal Events

Date Code Title Description
PA0109 Patent application

St.27 status event code: A-0-1-A10-A12-nap-PA0109

PG1501 Laying open of application

St.27 status event code: A-1-1-Q10-Q12-nap-PG1501

A201 Request for examination
PA0201 Request for examination

St.27 status event code: A-1-2-D10-D11-exm-PA0201

E902 Notification of reason for refusal
PE0902 Notice of grounds for rejection

St.27 status event code: A-1-2-D10-D21-exm-PE0902

E13-X000 Pre-grant limitation requested

St.27 status event code: A-2-3-E10-E13-lim-X000

P11-X000 Amendment of application requested

St.27 status event code: A-2-2-P10-P11-nap-X000

P13-X000 Application amended

St.27 status event code: A-2-2-P10-P13-nap-X000

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

St.27 status event code: A-1-2-D10-D22-exm-PE0701

PR0701 Registration of establishment

St.27 status event code: A-2-4-F10-F11-exm-PR0701

PR1002 Payment of registration fee

St.27 status event code: A-2-2-U10-U11-oth-PR1002

Fee payment year number: 1

PG1601 Publication of registration

St.27 status event code: A-4-4-Q10-Q13-nap-PG1601