KR100630081B1 - Method for recording voice signal in moible cordless communication terminal - Google Patents

Method for recording voice signal in moible cordless communication terminal Download PDF

Info

Publication number
KR100630081B1
KR100630081B1 KR1019990026010A KR19990026010A KR100630081B1 KR 100630081 B1 KR100630081 B1 KR 100630081B1 KR 1019990026010 A KR1019990026010 A KR 1019990026010A KR 19990026010 A KR19990026010 A KR 19990026010A KR 100630081 B1 KR100630081 B1 KR 100630081B1
Authority
KR
South Korea
Prior art keywords
voice
rate
recording
data
packet rate
Prior art date
Application number
KR1019990026010A
Other languages
Korean (ko)
Other versions
KR20010005207A (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 KR1019990026010A priority Critical patent/KR100630081B1/en
Publication of KR20010005207A publication Critical patent/KR20010005207A/en
Application granted granted Critical
Publication of KR100630081B1 publication Critical patent/KR100630081B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/64Automatic arrangements for answering calls; Automatic arrangements for recording messages for absent subscribers; Arrangements for recording conversations
    • H04M1/65Recording arrangements for recording a message from the calling party
    • H04M1/656Recording arrangements for recording a message from the calling party for recording conversations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2203/00Aspects of automatic or semi-automatic exchanges
    • H04M2203/30Aspects of automatic or semi-automatic exchanges related to audio recordings in general
    • H04M2203/301Management of recordings

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

본 발명은 이동무선 단말기의 음성신호 녹음 방법에 있어서, 통화중상태에서 녹음모드를 선택하는 과정과, 상기 녹음모드가 선택될 시 상대방으로부터 수신되는 음성데이터의 크기에 따라 음성패킷 레이트를 가변하여 녹음하는 과정으로 이루어짐을 특징으로 한다.The present invention provides a method of recording a voice signal of a mobile wireless terminal, the method of selecting a recording mode during a call state, and when the recording mode is selected, varying the voice packet rate according to the size of the voice data received from the other party and recording. Characterized in that the process is made.

음성녹음, 음성재생Voice recording, voice playback

Description

이동무선 통신 단말기의 음성신호 녹음방법{Method for recording voice signal in moible cordless communication terminal}Method for recording voice signal in moible cordless communication terminal

도 1은 본 발명의 실시예에 따른 이동무선통신 단말기의 블럭 구성도1 is a block diagram of a mobile wireless communication terminal according to an embodiment of the present invention.

도 2는 본 발명의 실시예에 따른 음성신호를 메모 녹음하는 제어 흐름도2 is a control flowchart for recording a memo of a voice signal according to an exemplary embodiment of the present invention.

도 3은 본 발명의 실시예에 따라 녹음한 음성 데이터를 재생하는 제어 흐름도3 is a control flowchart for reproducing voice data recorded according to an embodiment of the present invention.

본 발명은 이동무선통신 단말기의 음성신호 녹음방법에 관한 것으로 특히, 상대방의 음성신호나 사용자의 음성신호를 음성패킷 데이터의 크기에 따라 고정레이트나 가변레이트로 음성을 녹음하는 음성신호 녹음방법에 관한 것이다.The present invention relates to a voice signal recording method of a mobile wireless communication terminal, and more particularly, to a voice signal recording method for recording a voice signal of a counterpart or a user's voice signal at a fixed rate or a variable rate according to the size of voice packet data. will be.

통상적으로, 디지털 이동통신 시스템은 주파수 사용효율 및 통화품질면에서 아날로그방식에 비해 많은 장점을 가지고 있다. 이와 같은 디지털 이동통신시스템은 유럽을 중심으로 한 GSM(Global System for Mobile Communication)시스템과 한국 및 미주를 중심으로 채택되고 있는 코드분할다중접속(Code Division Multiple Access: 이하 CDMA라함)시스템 등이 대표적이다. 특히 IS-95(Interim Standard-95) DS/CDMA방식은 미국 및 한국에서 표준안으로 채택됨에 따라 디지털 이동무선 통신시스템뿐만 아니라 개인휴대통신(Personal Communition System : 이하 PCS라함)에도 적용되고 있다. In general, digital mobile communication systems have many advantages over analog methods in terms of frequency usage efficiency and call quality. Such digital mobile communication systems include the Global System for Mobile Communication (GSM) system centered on Europe and the Code Division Multiple Access (CDMA) system adopted in Korea and the Americas. . In particular, the IS-95 (Interim Standard-95) DS / CDMA system is adopted as a standard in the United States and Korea, and is applied to not only digital mobile wireless communication systems but also personal communication systems (PCS).

IS-95 CDMA방식을 채택하고 있는 이동 통신 시스템에서 송신측은 보코더(Vocoder: Voice Coder and decoder)를 이용하여 음성데이터를 부호화하여 다수개의 데이터 전송율(data rate)을 갖는 프레임 포맷으로 변환하여 출력한다. 현재 CDMA IS-95에 규정된 데이터 송신계는 보코더에서 출력되는 음성데이터를 부호화하여 다수개의 데이터 전송율을 가지는 음성 프레임으로 포맷하여 변환 전송한다. 예를들면, IS-95 DS/CDMA에 채용된 송신계의 보코더는 단위시간의 음성데이터(paket)의 크기에 따라 음성 데이터의 전송율을 풀레이트(Full Rate), 1/2레이트, 1/4레이트 및 1/8레이트중 하나로 변환하여 전송한다. 이때 상기 음성데이터의 프레임 포맷은 상기 가변적인 데이터 전송율에 상관없이 항상 20ms의 길이를 갖는다. 상기 송신측의 보코더는 음성의 활동성에 따라 데이터 전송율을 선택한다. 순방향 통화채널에서 기지국은 가변적인 데이터 전송율에 따라 데이터를 반복시켜 프레임 데이터를 전송한다. In a mobile communication system adopting the IS-95 CDMA scheme, a transmitter encodes voice data using a voice coder and a voice coder and converts the voice data into a frame format having a plurality of data rates. Currently, the data transmission system defined in CDMA IS-95 encodes voice data output from a vocoder, formats it into a voice frame having a plurality of data rates, and transmits the converted data. For example, the vocoder of the transmission system employed in IS-95 DS / CDMA can transfer the rate of voice data at full rate, 1/2 rate, and 1/4 according to the size of voice data in unit time. Transmit with one of rate and 1/8 rate. In this case, the frame format of the voice data always has a length of 20 ms regardless of the variable data rate. The vocoder on the transmitting side selects a data rate according to the voice activity. In the forward call channel, the base station transmits frame data by repeating data according to a variable data rate.

이러한 디지털 이동통신시스템에 사용되는 휴대용 무선단말기는 고정된 데이터 전송율로 음성데이터를 녹음하거나 저장하도록 하는 기능은 갖고 있으나, 음성데이터(paket)의 크기에 따라 데이터 전송율을 가변적으로 녹음하거나 재생하는 기능을 갖고 있지 않았다.The portable wireless terminal used in such a digital mobile communication system has a function of recording or storing voice data at a fixed data rate, but has a function of variably recording or playing a data rate according to the size of voice data. Did not have.

따라서 본 발명의 고정된 데이터 전송률로 음성데이터를 녹음 및 재생하거나 음성데이터의 크기에 따라 데이터 전송률을 가변시켜 녹음 및 재생하는 방법을 제공함에 있다.
상기한 목적을 달성하기 위하여 본 발명은 이동무선 단말기의 음성신호 녹음 방법에 있어서, 통화중상태에서 녹음모드를 선택하는 과정과, 상기 녹음모드가 선택될 시 상대방으로부터 수신되는 음성데이터의 크기에 따라 음성패킷 레이트를 가변하여 녹음하는 과정으로 이루어짐을 특징으로 한다.
또한 본 발명은 이동무선 단말기의 음성신호 녹음 방법에 있어서, 녹음모드를 선택하는 과정과, 상기 녹음모드를 선택한 후 현재 이동무선 단말기가 통화중 상태인지 검출하는 과정과, 상기 이동무선 단말기가 통화중이 아닌 대기상태일 시 녹음할 음성패킷 레이트를 고정패킷 레이트나 가변패킷 레이트로 선택하는 과정과,상기 녹음할 음성패킷 레이트가 상기 가변패킷 레이트로 선택될 시 마이크로부터 입력되는 음성데이터의 크기에 따라 음성패킷 레이트를 가변하여 녹음하는 과정으로 이루어짐을 특징으로 한다.
Accordingly, the present invention provides a method of recording and playing back voice data at a fixed data rate or by varying the data rate according to the size of the voice data.
In order to achieve the above object, the present invention provides a method of recording a voice signal of a mobile wireless terminal, the method of selecting a recording mode in a busy state, and when the recording mode is selected according to the size of voice data received from the other party. It is characterized by consisting of a process of recording by varying the voice packet rate.
In another aspect, the present invention provides a method for recording a voice signal of a mobile wireless terminal, the method comprising: selecting a recording mode, detecting the current mobile wireless terminal after the recording mode is selected, and the mobile wireless terminal is busy. Selecting a voice packet rate to be recorded at a standby state other than a fixed packet rate or a variable packet rate, and when the voice packet rate to be recorded is selected as the variable packet rate according to the size of voice data input from a microphone It is characterized by consisting of a process of recording by varying the voice packet rate.

이하 본 발명의 바람직한 실시예를 첨부된 도면을 참조하여 상세히 설명한다. 하기 설명에서는 구체적인 특정(特定) 사항들이 나타나고 있는데, 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일뿐 이러한 특정 사항들 없이도 본 발명이 실시될 수 있음은 이 기술 분야에서 통상의 지식을 가진 자에게는 자명하다 할 것이다. 그리고 본 발명을 설명함에 있어, 관련된 공지 기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. Specific details appear in the following description, which is provided to aid a more general understanding of the present invention. It should be understood by those skilled in the art that the present invention may be practiced without these specific details. It will be self explanatory. In the following description of the present invention, if it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted.

도 1은 본 발명의 실시예에 따른 이동무선통신 단말기의 블럭 구성도이다.1 is a block diagram of a mobile wireless communication terminal according to an embodiment of the present invention.

안테나로 RF(Radio Frequency)신호가 수신되면, RF부(120)는 RF신호를 다운컨버팅하여 중간 주파수 신호(intermediate frequency: 이하 "IF신호"라함)를 BBA(Base Band Analog)회로내의 ADC(Analog to Digital Converter) 131로 입력시킨 다. 이때, BBA회로내의 ADC(131)은 아날로그신호를 디지탈 신호로 변환하여 출력하며, BBA회로내의 DAC(digital to analog converter)(130)는 디지탈 신호를 아날로그 신호로 처리하여 출력한다. 상기 DAC(130)와 ADC(131)은 예를들어 미국 "QUALCOMM사"에서 생산하고 있는 "BBA2.X(Q53120CDMA)"의 칩을 이용할 수 있다. ADC(131)에서 출력되는 디지탈 신호는 변복조기(Modulator & Demodulator)(140)으로 입력된다. 상기 변복조기(140)은 입력되는 디지탈 데이터를 복조하여 디인터리버 및 디코더(De-Interleaver & Decoder)(151)로 공급한다. 상기 디인터리버 및 디코더(151)은 수신 데이터를 디인터리빙 및 디코딩하여 에러 정정된 정보 비트들을 출력한다. 마이크로프로세서(100)는 상기 디인터리버 및 디코더(151)에 의해 에러 정정된 정보 비트를 CDMA방식을 사용할 경우 매 20ms단위로 독출하여 프레임 포맷을 검출하고 부호화 레이트 정보(Coding Rate Information)를 억세스하고, 상기 부호화 레이트 정보와 그 정보에 따른 데이터 패킷을 보코더(160)으로 전송한다. 상기 마이크로 프로세서(100), 인터리버 및 인코더(150), 디인터리버 및 디코더(151), 변복조기(140), 보코더(160), 램(110)등은 예를들어 미국 "QUALCOMM사"에서 생산하고 있는 MSM(Mobile Station Modem)칩을 사용하여 구현할 수 있다. When the RF (Radio Frequency) signal is received by the antenna, the RF unit 120 down-converts the RF signal to convert an intermediate frequency signal (hereinafter referred to as an "IF signal") into an ADC (Analog) in a base band analog (BBA) circuit. to Digital Converter). In this case, the ADC 131 in the BBA circuit converts an analog signal into a digital signal and outputs the digital signal. The digital to analog converter (DAC) 130 in the BBA circuit processes and outputs the digital signal as an analog signal. The DAC 130 and the ADC 131 may use, for example, a chip of "BBA2.X (Q53120CDMA)" manufactured by "QUALCOMM" in the United States. The digital signal output from the ADC 131 is input to the modulator & demodulator 140. The demodulator 140 demodulates input digital data and supplies the demodulated digital data to a de-interleaver & decoder 151. The deinterleaver and decoder 151 deinterleave and decode the received data to output error corrected information bits. The microprocessor 100 reads the information bits error corrected by the deinterleaver and the decoder 151 in units of 20 ms to detect the frame format and access coding rate information. The coding rate information and the data packet according to the information are transmitted to the vocoder 160. The microprocessor 100, the interleaver and the encoder 150, the deinterleaver and the decoder 151, the modulator 140, the vocoder 160, the RAM 110, etc. are produced by, for example, the US "QUALCOMM company." It can be implemented using an MSM (Mobile Station Modem) chip.

이때 마이크로프로세서(100)는 상기 디인터리버 및 디코더(151)에 의해 에러 정정된 정보 비트들을 매 20ms단위로 읽어 프레임 포맷을 검출하여 데이터 전송율정보(Data Rata Information)를 억세스하고, 상기 데이터 전송율 정보와 그 정보에 따른 데이터 패킷을 보코더(160)로 전송한다. 여기서 상기 마이크로 프로세서(100)가 예를들어 매 20ms마다 디인터리빙 및 디코딩된 정보비트들을 억세스하는 이유는 CDMA방식의 순방향 통화채널의 음성채널 프레임이 매 20ms마다 송신되기 때문이다. 이때 데이터 전송율 정보(하위2비트)는 송신측에서 전송되어온 패킷데이터가 어떤 비트레이트로 인코딩되었는지 보코더(160)의 내부에 위치된 보코더 디코더 패킷 레지스터(VOC_DEC_PACKET)에 기록한다. 상기 보코더(160)는 상기 보코더 디코더 패킷 레지스터(VOC_DEC_PACKET)에 기록한 데이터 전송율 정보에 따라 입력되는 데이터 패킷을 복호화하여 PCM(Pulse Code Modulation) 음성데이터 샘플로서 출력한다. At this time, the microprocessor 100 detects a frame format by reading the information bits error-corrected by the deinterleaver and the decoder 151 every 20 ms, and accesses data rate information and accesses the data rate information. The data packet according to the information is transmitted to the vocoder 160. The reason why the microprocessor 100 accesses the deinterleaved and decoded information bits every 20ms is that the voice channel frame of the CDMA forward call channel is transmitted every 20ms. At this time, the data rate information (lower 2 bits) records in which bitrate the packet data transmitted from the transmitting side is encoded in the vocoder decoder packet register VOC_DEC_PACKET located inside the vocoder 160. The vocoder 160 decodes the input data packet according to the data rate information recorded in the vocoder decoder packet register VOC_DEC_PACKET and outputs it as a PCM (Pulse Code Modulation) voice data sample.

상기 보코더(160)로부터 출력되는 PCM음성데이터 샘플은 PCM코덱(170)으로 입력된다. 상기 PCM코덱(170)은 상기 보코더(160)으로부터 출력되는 PCM 음성 데이터 샘플을 아날로그의 음성신호로 변환하여 출력한다. 상기 아나로그의 음성신호는 스피커(SP)에 공급되어 가청음으로 변환 출력된다. The PCM voice data sample output from the vocoder 160 is input to the PCM codec 170. The PCM codec 170 converts a PCM voice data sample output from the vocoder 160 into an analog voice signal and outputs the analog voice signal. The audio signal of the analog is supplied to the speaker SP and converted into an audible sound.

한편 마이크로폰(MIC)으로부터 입력되는 아나로그의 음성신호는 역방향 통화채널(Reverse Link Traffic Channel)의 경로상에 위치된 PCM코덱(170)에서 PCM음성샘플 데이터로 변환된 후 보코더(160)에서 적절한 데이터 전송율로 엔코딩되어 전송된다. 이러한 역방향 통화채널의 경로는 앞서 기술한 바와 반대로 실행된다. 즉, 코덱(170), 보코더(160), 인터리버 및 엔코더(150), 변복조기(140)의 변조 동작 및 DAC(130), RF부(120)의 업컨버팅을 통해 전파된다. On the other hand, the voice signal of the analog input from the microphone (MIC) is converted into PCM voice sample data in the PCM codec 170 located on the path of the reverse link traffic channel and then the appropriate data in the vocoder 160. Encoded at the rate and transmitted. The path of this reverse call channel is performed in the reverse manner as described above. That is, the signal is propagated through the modulation operation of the codec 170, the vocoder 160, the interleaver and the encoder 150, the modulator 140, and the upconverting of the DAC 130 and the RF unit 120.

CDMA 방식을 채택하고 있는 이동 통신 시스템에서, 송신측은 보코더(Vocoder: Voice coder and decoder)를 이용 음성 데이터를 부호화하고, 정보량에 따라 다수개의 부호화 레이트(Coding Rate)를 갖는 프레임 포맷으로 변환하여 출력한다. 예를 들면, 음성 신호의 부호화 레이트를 풀 레이트(Full Rate 1), 1/2레이트, 1/4레이트 및 1/8레이트 중 하나로 변환하여 전송한다. 이러한 부호화 레이트 정보는 패킷의 Configuration Byte에 저장되어 있고, 2 Bit로 구성되어 있다. 이때 상기 음성 데이터의 프레임 포맷은 상기 가변적인 부호화 레이트에 무관하게 항상 20mS의 길이를 갖는다. 상기 보코더(160)는 음성의 정보량에 따라 데이터 부호화 레이트를 선택한다. CDMA 방식의 코드분할 다중접속 단말기는 순방향 통화 채널(Forward Traffic Channel)의 데이터 수신시, 음성 채널의 한 프레임 내의 컨피그레이션 바이트(Configuration Byte)를 검출하여 부호화 레이트(Coding Rate)를 검출한다. 이러한 기능을 갖는 이동 코드분할 다중접속 단말기는 상기 검출된 포맷 바이트에 포함된 부호화 레이트 정보(Coding Rate Information)에 따라 부호화된 음성 데이터(Encoded Voice Data)를 복호화 한다. 이때, 음성 데이터의 부호화 및 복호화는 코드분할 다중접속 단말기내의 보코더에 의해 실행되며, 보코더는 QCELP(QUALCOMM Codebook Excited Linear Prediction) 알고리즘에 따라 수신된 프레임 데이터 내의 데이터 패킷 정보를 PCM(Pulse Code Modulation) 코덱을 통해 음성으로 복호화한다. 상기와 같이 보코더에 의해 복호화된 음성 데이터는 PCM 코덱에 의해 아날로그 음성으로 재생된 후 스피커로 출력된다. 여기서 보코더(160)의 종류에 따라 하기 표 1과 같이 음성데이터의 패킷크기는 다르게 된다.In the mobile communication system adopting the CDMA method, the transmitter encodes voice data using a voice coder and a decoder and converts the voice data into a frame format having a plurality of coding rates according to the amount of information. . For example, the encoding rate of the speech signal is converted into one of full rate (1), 1/2 rate, 1/4 rate, and 1/8 rate and transmitted. Such coding rate information is stored in the configuration byte of the packet and is composed of 2 bits. In this case, the frame format of the speech data always has a length of 20mS regardless of the variable encoding rate. The vocoder 160 selects a data coding rate according to the amount of information of speech. The CDMA code division multiple access terminal detects a coding rate by detecting a configuration byte in one frame of a voice channel when receiving data of a forward traffic channel. A mobile code division multiple access terminal having such a function decodes encoded voice data according to coding rate information included in the detected format byte. At this time, the encoding and decoding of the voice data is performed by a vocoder in a code division multiple access terminal, and the vocoder converts the data packet information in the received frame data according to the QCELP (QUALCOMM Codebook Excited Linear Prediction) algorithm. Decode into voice via The voice data decoded by the vocoder as described above is reproduced as analog voice by the PCM codec and then output to the speaker. The packet size of the voice data is different according to the type of vocoder 160 as shown in Table 1 below.

8K 보코더            8K Vocoder 13K 보코더           13K Vocoder Full Rate  Full Rate 171 bits(22bytes) 171 bits (22 bytes) Full Rate  Full Rate 266 bits(34bytes)266 bits (34 bytes) 1/2 Rate   1/2 Rate 80 bits(10bytes)  80 bits (10 bytes) 1/2 Rate   1/2 Rate 124 bits(15bytes)124 bits (15 bytes) 1/4 Rate   1/4 Rate 40 bits(5bytes)  40 bits (5 bytes) 1/4 Rate   1/4 Rate 48 bits(6bytes)  48 bits (6 bytes) 1/8 Rate   1/8 Rate 16 bits(2bytes)  16 bits (2 bytes) 1/8 Rate   1/8 Rate 20 bits(3bytes)  20 bits (3 bytes) Blank Rate  Blank rate 0 bits(0bytes)   0 bits (0bytes) Blank Rate  Blank rate 0 bits(0bytes)   0 bits (0bytes)

그리고 메모리 111은 각종 데이터와 음성데이터를 저장하며, 전원이 오프된 상태에서도 데이터를 저장할 수 있는 Flash Memory와 같은 것이다. 램(RAM : Random Access Memory) 110은 일시적으로 데이터를 저장한다. The memory 111 stores a variety of data and voice data, and is similar to a flash memory that can store data even when the power is turned off. RAM 110 randomly stores data.

도 2는 본 발명의 실시예에 따른 음성신호를 메모 녹음하는 제어 흐름도이다.2 is a control flowchart of memo recording of a voice signal according to an exemplary embodiment of the present invention.

201 단계에서 마이크로 프로세서(100)는 녹음기능키가 입력되는지 검사하여 녹음기능키가 입력되면 202단계로 진행한다. 202단계에서 마이크로 프로세서(100)는 현재 통화중인가 검사하여 현재 통화중이 아니면 203단계로 진행한다. 상기 203단계에서 마이크로 프로세서(100)는 보코더(160)를 초기화하여 동작시킨다. 그런 후 마이크로 프로세서(100)는 가변레이트 녹음모드로 설정되어 있는가 검사하여 가변레이트(Variable Rate) 녹음모드로 설정되어 있지 않으면 205단계에서 마이크로 프로세서(100)는 고정 패킷 레이트로 녹음하게 되는데, 풀레이트(Full Rate)로 고정시켜 녹음을 한다. 그러나 상기 가변레이트 녹음모드로 설정되어 있으면 206단계로 진행하여 마이크로 프로세서(100)는 가변 패킷레이트로 녹음을 하게되며, 음성데이터의 크기에 따라 레이트를 달리하여 녹음한다. 상기 음성데이터의 크기는 음량크기(즉, 음성크기)와 음성의 빠르기에 의해 결정된다. 상기 가변레이트 녹음모드나 풀레이트 녹음모드는 사용자가 도시하지 않은 키입력부를 통해 선택하여 설정하도록 한다. 상기 녹음을 하는 동작를 보면 마이크로 프로세서(100)는 보코더 엔코더 인터럽트(VOCODER ENCODER INTERRUPT)를 발생하여 보코더(160)로 인가하면, 마이크와 코덱(170), 보코더(160)로 이어지는 음성 입력 경로가 형성한다. ENC_ISR 엔코더 인터서비스 루틴(Encoder Inter Service Routine)에서 마이크로 프로세서(100)는 코덱(170)과 보코더(160)를 거친 음성 데이터를 VOC_ENC_PACKET 레지스터로부터 읽어 들인다. 이때 VOC_ENC_PACKET 레지스터에 입력되는 데이터는 마이크를 통해 입력된 음성이 코덱(170)에 의해 Pulse Code Modulation 되고 보코더(160)를 통해 출력된 값이다. 마이크로 프로세서(100)는 VOC_ENC_PACKET 레지스터에서 읽어온 데이터의 부호화 레이트를 풀레이트로 결정한다. 부호화 레이트가 결정되었으면 마이크로 프로세서 100은 Configruration Byte에 부호화 레이트를 저장하고, 그리고 음성데이터 패킷을 램(110)에 저장한다. Confiuration Byte의 크기는 2비트로 정해져 있지만 데이터 패킷의 길이는 부호화 레이트에 따라 가변적으로 변하기 때문에 총 바이트 수는 일정하지가 않다. VOC_ENC_PACKET에 따른 프레임 포맷의 데이타 비트 맵은 하기 표 1과 같다.In operation 201, the microprocessor 100 determines whether a recording function key is input, and if the recording function key is input, the microprocessor 100 proceeds to step 202. In step 202, the microprocessor 100 checks whether the phone is currently busy and proceeds to step 203 if it is not currently busy. In operation 203, the microprocessor 100 initializes and operates the vocoder 160. Then, the microprocessor 100 checks whether the recording mode is set to the variable rate recording mode. If the microprocessor 100 is not set to the variable rate recording mode, the microprocessor 100 records at a fixed packet rate in step 205. Record at fixed (Full Rate). However, if the variable rate recording mode is set, the microprocessor 100 records at a variable packet rate and proceeds to step 206 and records at different rates according to the size of the voice data. The size of the voice data is determined by the volume size (ie, voice size) and the speed of the voice. The variable rate recording mode or the full rate recording mode may be set by the user through a key input unit (not shown). In the recording operation, when the microprocessor 100 generates a VOCODER encoder interrupt and applies it to the vocoder 160, a voice input path leading to the microphone, the codec 170, and the vocoder 160 is formed. . In the ENC_ISR Encoder Inter Service Routine, the microprocessor 100 reads voice data through the codec 170 and the vocoder 160 from the VOC_ENC_PACKET register. At this time, the data input to the VOC_ENC_PACKET register is the value that the voice input through the microphone is pulse code modulated by the codec 170 and output through the vocoder 160. The microprocessor 100 determines the encoding rate of the data read from the VOC_ENC_PACKET register as a full rate. If the encoding rate is determined, the microprocessor 100 stores the encoding rate in the configuration byte, and stores the voice data packet in the RAM 110. Although the size of the confiuration byte is set to 2 bits, the total number of bytes is not constant because the length of the data packet varies depending on the coding rate. The data bit map of the frame format according to VOC_ENC_PACKET is shown in Table 1 below.

BITSBITS 비트 이름Bit name 설 명Explanation 77 13K_PACKET FORMAT 13K_PACKET FORMAT 보코더로 입력되는 패킷 데이타의 전송율을 표시함. 1=13Kpbs 0=8KbpsIndicates the transmission rate of packet data input to the vocoder. 1 = 13Kpbs 0 = 8Kbps 66 RESERVIED RESERVIED 55 DTMF_STATUS_EN DTMF_STATUS_EN 0 : 일반적인 데이터 1 : DTMF 신호를 포함하고 있는 경우0: General data 1: Including DTMF signal 44 NOSERVED NOSERVED 33 NOSERVED NOSERVED 22 VOC_ENC_BLANK VOC_ENC_BLANK 블랭크 프레임의 표시 Display of Blank Frames 1:0 1: 0                                              VOC_ENC_RATE  VOC_ENC_RATE                                              보코더 레이트(데이타 전송율) 00=full rate 01=½ rate 10=¼ rate 11=⅛ rate Vocoder Rate (Data Transfer Rate) 00 = full rate 01 = ½ rate 10 = ¼ rate 11 = ⅛ rate

그런후 207단계에서 마이크로 프로세서(100)는 키입력에 의해 녹음종료신호가 입력되는지 검사하여 녹음종료신호가 입력되지 않으면 208단계로 진행한다. 상 기 208단계에서 마이크로 프로세서(100)는 메모리(111)의 정해진 블럭의 녹음이 종료되었는지 검사하여 정해진 블록의 녹음이 종료되지 않았으면 상기 204단계로 돌아가 계속해서 녹음동작을 수행한다. 그러나 상기 208단계에서 정해진 블록의 녹음이 종료되거나 상기 207단계에서 녹음종료신호가 입력되면 212단계로 진행하여 녹음기능의 동작을 종료시킨다. Then, in step 207, the microprocessor 100 checks whether a recording end signal is input by key input, and if the recording end signal is not input, the microprocessor 100 proceeds to step 208. In step 208, the microprocessor 100 checks whether the recording of the predetermined block of the memory 111 is finished. If the recording of the predetermined block is not finished, the microprocessor 100 returns to step 204 to continue the recording operation. However, if the recording of the block determined in step 208 is terminated or the recording end signal is input in step 207, the operation proceeds to step 212 to terminate the operation of the recording function.

그러나 상기 202단계에서 현재 이동무선 단말기가 통화중이면 209단계로 진행하여 마이크로 프로세서(100)는 가변패킷 레이트(Variable Rate)로 녹음을 실행하고 210단계로 진행한다. 상기 210단계에서 마이크로 프로세서(100)는 키입력에 의해 녹음종료신호가 입력되는지 검사하여 녹음종료신호가 입력되지 않으면 211단계로 진행한다. 상기 211단계에서 마이크로 프로세서(100)는 메모리(111)의 정해진 블럭의 녹음이 종료되었는지 검사하여 정해진 블록의 녹음이 종료되지 않았으면 상기 209단계로 돌아가 계속해서 녹음동작을 수행한다. 그러나 상기 210단계에서 정해진 블록의 녹음이 종료되거나 상기 211단계에서 녹음종료신호가 입력되면 212단계로 진행하여 녹음기능의 동작을 종료시킨다. 이때 녹음이 종료되면 마이크로 프로세서(100)는 녹음을 하기 위하여 마이크와 코덱(170), 보코더(160)로 이어지는 녹음 경로를 해제하고 휴지 상태로 전환한다. 즉, 코덱(170)과 보코더(160)에 인터럽트 명령을 해제한다. 여기서 통화중 녹음시는 상대방과 기지국을 매개체로 음성데이터를 주고 받을 때 CDMA 방식에서는 가변패킷 레이트방식으로 통신하기 때문에 가변패킷 녹음모드로만 녹음이 가능하다.However, if the mobile wireless terminal is currently busy in step 202, the microprocessor 100 proceeds to step 209 and performs recording at a variable packet rate and proceeds to step 210. In step 210, the microprocessor 100 checks whether a recording end signal is input by a key input. If the recording end signal is not input, the microprocessor 100 proceeds to step 211. In step 211, the microprocessor 100 checks whether the recording of the predetermined block of the memory 111 is finished. If the recording of the predetermined block is not finished, the microprocessor 100 returns to step 209 to continue recording. However, if the recording of the block determined in step 210 is terminated or the recording end signal is input in step 211, the operation proceeds to step 212 to terminate the operation of the recording function. At this time, when the recording is finished, the microprocessor 100 releases the recording path leading to the microphone, the codec 170, and the vocoder 160 to record and switches to the idle state. That is, the interrupt command is released to the codec 170 and the vocoder 160. In the case of recording during the call, when the voice data is transmitted and received through the other party and the base station, the CDMA method communicates with the variable packet rate method so that only the variable packet recording mode can be recorded.

도 3은 본 발명의 실시예에 따라 녹음한 음성 데이터를 재생하는 제어 흐름 도이다.3 is a control flow diagram for reproducing voice data recorded according to an embodiment of the present invention.

301 단계에서 마이크로 프로세서(100)는 도시하지 않은 키입력부를 통해 재생모드를 선택하는 키가 입력되는지 검사한다. 재생모드가 선택되면 302단계에서 마이크로 프로세서(100)는 보코더(160)를 초기화시킨다. 그런 후 상기 303단계에서 마이크로 프로세서(100)는 메모리(111)를 검색하여 가장 최근에 녹음한 Configuration Byte를 독출한다. 그런후 304단계에서 마이크로 프로세서(100)는 상기 독출한 Configuration Byte가 풀패킷 레이트인지 검사하여 풀패킷 레이트이면 305단계로 진행한다. 상기 305단계에서 마이크로 프로세서(100)는 메모리(111)로부터 풀 패킷레이트의 크기만큼의 음성데이터를 읽어들인다. 그러나 상기 읽어들인 Configuration Byte가 풀패킷 레이트가 아니면 306단계로 진행하여 마이크로 프로세서(100)는 Configuration Byte가 1/2패킷 레이트인가 검사하여 1/2패킷 레이트이면 307단계로 진행한다. 상기 307단계에서 마이크로 프로세서(100)는 메모리(111)로부터 1/2패킷 레이트의 크기만큼의 음성데이터를 읽어들인다. 그러나 상기 읽어들인 Configuration Byte가 1/2패킷 레이트가 아니면 308단계로 진행하여 마이크로 프로세서(100)는 Configuration Byte가 1/4패킷 레이트인가 검사하여 1/4패킷 레이트이면 309단계로 진행한다. 상기 309단계에서 마이크로 프로세서(100)는 메모리(111)로부터 1/4 패킷 레이트의 크기만큼의 음성데이터를 읽어들인다. 그러나 상기 읽어들인 Configuration Byte가 1/4패킷 레이트가 아니면 310단계로 진행하여 마이크로 프로세서(100)는 Configuration Byte가 1/8패킷 레이트인가 검사하여 1/8패킷 레이트이면 311단계로 진행한다. 상기 311단계에서 마이크로 프로세서(100)는 메모리(111)로부터 1/8 패킷 레이트의 크기만큼의 음성데이터를 읽어들인다. 그러나 상기 읽어들인 Configuration Byte가 1/8 패킷 레이트가 아니면 312단계로 진행한다. 상기 312단계에서 마이크로 프로세서(100)는 Configuration Byte의 패킷 레이트가 0이므로 에러이거나 잘못된 동작을 수행하여 읽어올 데이터가 없는 것으로 처리하고 313단계로 진행한다, 상기 313단계에서 녹음 내용의 재생이 완료되었는가 검사하여 재생이 완료되지 않았으면 303단계로 돌아가 전술한 동작에 의해 계속해서 재생동작을 수행하고 녹음내용재생이 완료되었으면 316단계로 진행한다. 상기 316단계에서 마이크로 프로세서(100)는 상기 음성을 재생하기 위하여 필요한 보코더 디코더 인터럽트 신호를 발생하여 보코더(160), 코덱(170)과 스피커로 이어지는 경로를 형성한다. 그리고 마이크로 프로세서(100)는 상기 메모리(111)로부터 읽어들인 음성신호를 보코더(160)로 전송하면 보코더(160)에서는 부호화 레이트에 따라 PCM 데이터로 변환하고, 이때 코덱(170)은 보코더(160)으로부터 입력되는 PCM 데이터를 음성으로 변환하여 스피커로 출력하여 메모리(111)에 저장된 음성데이터중 가장 최근에 녹음한 음성데이터를 재생한다. 이와같은 동작을 반복실행하여 315단계에서 마이크로 프로세서(100)에서는 재생모드 완료키가 선택되는가 검사하여 재생모드 완료키가 선택되지 않으면 316단계로 진행한다. 상기 316단계에서 마이크로 프로세서(100)는 메모리(111)에 녹음되어 있는 음성신호를 모두 재생이 완료되었는가 검사하여 재생이 완료되지 않았으면 303단계로 돌아가 계속해서 재새동작을 수행하고. 음성신호의 재생이 완료되었으면 317단계로 진행한다. 상기 317단계에서 마이크로 프로세서(100)는 315단계에서 재생완료키가 선택되거나 녹음내용의 재생이 완료되는 경우에 보코더(160)을 제어하여 재생기능의 동작을 종료시킨다. 이때 재생기능이 종료되면 마이크로 프로세서(100)는 재생을 하기 위하여 마이크와 코덱(170), 보코더(160)로 이어지는 재생 경로를 해제하고 휴지 상태로 전환한다. 즉, 코덱(170)과 보코더(160)에 인터럽트 명령을 해제한다. In operation 301, the microprocessor 100 checks whether a key for selecting a play mode is input through a key input unit (not shown). If the play mode is selected, the microprocessor 100 initializes the vocoder 160 in step 302. Thereafter, in step 303, the microprocessor 100 searches the memory 111 to read the most recently recorded configuration byte. Thereafter, in step 304, the microprocessor 100 checks whether the read configuration byte is a full packet rate, and proceeds to step 305 when the full packet rate is full. In step 305, the microprocessor 100 reads voice data corresponding to the full packet rate from the memory 111. However, if the read configuration byte is not the full packet rate proceeds to step 306 and the microprocessor 100 checks whether the configuration byte is a half packet rate and proceeds to step 307 if it is a half packet rate. In step 307, the microprocessor 100 reads voice data equal to 1/2 packet rate from the memory 111. However, if the read configuration byte is not 1/2 packet rate, the process proceeds to step 308. If the configuration byte is 1/4 packet rate, the microprocessor 100 checks whether the configuration byte is 1/4 packet rate, and proceeds to step 309. In operation 309, the microprocessor 100 reads voice data corresponding to a quarter packet rate from the memory 111. However, if the read configuration byte is not 1/4 packet rate, the process proceeds to step 310 and the microprocessor 100 checks whether the configuration byte is 1/8 packet rate, and proceeds to step 311 if the configuration byte is 1/8 packet rate. In step 311, the microprocessor 100 reads voice data corresponding to a size of 1/8 packet rate from the memory 111. However, if the read configuration byte is not 1/8 packet rate, the process proceeds to step 312. In step 312, since the packet rate of the configuration byte is 0, the microprocessor 100 performs an error or wrong operation to process no data to be read, and proceeds to step 313. In step 313, is the reproduction of the recording content completed? If playback is not completed, the process returns to step 303 to continue the playback operation by the above-described operation, and proceeds to step 316 if the playback of the recorded content is completed. In step 316, the microprocessor 100 generates a vocoder decoder interrupt signal necessary for reproducing the voice to form a path leading to the vocoder 160, the codec 170, and the speaker. When the microprocessor 100 transmits the voice signal read from the memory 111 to the vocoder 160, the vocoder 160 converts the PCM data according to an encoding rate, and the codec 170 performs the vocoder 160. PCM data input from the voice is converted into voice and output to the speaker to reproduce the most recently recorded voice data among the voice data stored in the memory 111. By repeating the above operation, the microprocessor 100 checks whether the playback mode completion key is selected in step 315. If the playback mode completion key is not selected, the microprocessor 100 proceeds to step 316. In step 316, the microprocessor 100 checks whether all the audio signals recorded in the memory 111 are completed. If the playback is not completed, the microprocessor 100 returns to step 303 to continue the re-operation. If the reproduction of the audio signal is completed, the process proceeds to step 317. In step 317, the microprocessor 100 controls the vocoder 160 when the playback completion key is selected in step 315 or when the playback of the recording is completed, thereby terminating the operation of the playback function. At this time, when the playback function is terminated, the microprocessor 100 releases the playback path leading to the microphone, the codec 170 and the vocoder 160, and switches to the idle state for playback. That is, the interrupt command is released to the codec 170 and the vocoder 160.

상술한 바와 같이 본 발명은 이동무선 단말기에서 음성데이터의크기에 대한정보를 가지고 있는 configuration byte와 음성데이터를 함께 메모리에 저장 녹음하여 음성데이터의 양에 따라 패킷의 크기를 다르게 저장 녹음하므로 메모리의 용량을 효율적으로 사용할 수 있다.As described above, the present invention stores and records the configuration byte and the voice data having information about the size of the voice data in a memory in the mobile wireless terminal, thereby storing and recording the packet size differently according to the amount of the voice data. Can be used efficiently.

Claims (9)

삭제delete 삭제delete 이동무선 단말기의 음성신호 녹음 방법에 있어서,In the audio signal recording method of a mobile wireless terminal, 통화중상태에서 녹음모드를 선택하는 과정과,Selecting a recording mode while in a call; 상기 녹음모드가 선택될 시 상대방으로부터 수신되는 음성데이터의 크기에 따라 음성패킷 레이트를 가변하여 녹음하는 과정으로 이루어짐을 특징으로 하는 이동무선 단말기의 음성신호 녹음방법.And recording the voice packet rate by varying the voice packet rate according to the size of voice data received from the other party when the recording mode is selected. 이동무선 단말기의 음성신호 녹음 방법에 있어서,In the audio signal recording method of a mobile wireless terminal, 녹음모드를 선택하는 과정과,Selecting the recording mode, 상기 녹음모드를 선택한 후 현재 이동무선 단말기가 통화중 상태인지 검출하는 과정과,Detecting whether the current mobile wireless terminal is in a busy state after selecting the recording mode; 상기 이동무선 단말기가 통화중이 아닌 대기상태일 시 녹음할 음성패킷 레이트를 고정패킷 레이트나 가변패킷 레이트로 선택하는 과정과,Selecting a voice packet rate to be recorded as a fixed packet rate or a variable packet rate when the mobile wireless terminal is in a standby state when not in a call; 상기 녹음할 음성패킷 레이트가 상기 가변패킷 레이트로 선택될 시 마이크로부터 입력되는 음성데이터의 크기에 따라 음성패킷 레이트를 가변하여 녹음하는 과정으로 이루어짐을 특징으로 하는 이동무선 단말기의 음성신호 녹음방법.And when the voice packet rate to be recorded is selected as the variable packet rate, changing the voice packet rate according to the size of voice data input from the microphone. 제4항에 있어서,The method of claim 4, wherein 상기 녹음할 음성패킷 레이트가 고정패킷 레이트로 선택될 시 마이크로부터 입력되는 음성신호를 고정패킷 레이트로 녹음하는 과정을 더 구비함을 특징으로 하는 이동무선 단말기의 음성신호 녹음방법.And recording the voice signal input from the microphone at a fixed packet rate when the voice packet rate to be recorded is selected as the fixed packet rate. 제4항 또는 제5항에 있어서,The method according to claim 4 or 5, 상기 녹음모드를 선택한 후 상기 이동무선 단말기가 통화중일 시 마이크로부터 입력되는 음성데이터나 상대방으로부터 수신되는 음성데이터의 크기에 따라 음성패킷 레이트를 가변하여 녹음하는 과정으로 이루어짐을 특징으로 하는 이동무선 단말기의 음성신호 녹음방법.After the recording mode is selected, the mobile wireless terminal is characterized in that the voice packet rate is changed according to the size of the voice data input from the microphone or the voice data received from the other party when the mobile wireless terminal is busy. Voice signal recording method. 삭제delete 삭제delete 제3항 또는 제4항 중 어느 한 항에 있어서,The method according to claim 3 or 4, 상기 음성 데이터의 크기는 음성의 크기 및 음성의 빠르기에 의해 결정됨을 특징으로 하는 이동무선 단말기의 음성신호 녹음방법.The voice data recording method of the mobile wireless terminal, characterized in that the size of the voice data is determined by the size of the voice and the speed of the voice.
KR1019990026010A 1999-06-30 1999-06-30 Method for recording voice signal in moible cordless communication terminal KR100630081B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990026010A KR100630081B1 (en) 1999-06-30 1999-06-30 Method for recording voice signal in moible cordless communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990026010A KR100630081B1 (en) 1999-06-30 1999-06-30 Method for recording voice signal in moible cordless communication terminal

Publications (2)

Publication Number Publication Date
KR20010005207A KR20010005207A (en) 2001-01-15
KR100630081B1 true KR100630081B1 (en) 2006-09-27

Family

ID=19598108

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990026010A KR100630081B1 (en) 1999-06-30 1999-06-30 Method for recording voice signal in moible cordless communication terminal

Country Status (1)

Country Link
KR (1) KR100630081B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980050652A (en) * 1996-12-21 1998-09-15 구자홍 Voice signal storage and playback method of computer using portable communication device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980050652A (en) * 1996-12-21 1998-09-15 구자홍 Voice signal storage and playback method of computer using portable communication device

Also Published As

Publication number Publication date
KR20010005207A (en) 2001-01-15

Similar Documents

Publication Publication Date Title
USRE40778E1 (en) Mobile radio telephone capable of recording/reproducing voice signal and method for controlling the same
US6351635B1 (en) Mobile telephone with voice data compression and recording features
US20030236674A1 (en) Methods and systems for compression of stored audio
CA2322238C (en) Improvements in or relating to digital communications apparatus
US6510208B1 (en) Telephone apparatus with audio recording function and audio recording method telephone apparatus with audio recording function
US5732356A (en) Method and an arrangement for sound reconstruction during erasures
KR100630081B1 (en) Method for recording voice signal in moible cordless communication terminal
JP2004120432A (en) Mobile communication terminal
KR100617824B1 (en) Mobile communication terminal and method for operating auto answering
KR20000044260A (en) Method for recording voice memo in mobile radio communication terminal
KR19990045553A (en) Telephone device and voice recording method
US20050101301A1 (en) Apparatus and method for storing/reproducing voice in a wireless terminal
JPH09116962A (en) Digital radio telephone set
KR20000019732A (en) Method for recoding sound at waiting mode in cdma terminal equipment
JPH08317023A (en) Digital portable telephone set
JPH0965426A (en) Speech recording method for digital automobile telephone set
JPH0998228A (en) Portable telephone set and its reception voice processing method
JPH057181A (en) Radio telephone set
JPH09135313A (en) Voice data recording/reproducing method and device for radio communication equipment
JPH11340928A (en) Digital mobile communication terminal
KR20010066405A (en) Telephone conversation recording or reproducing apparatus in portable radio telephone
JPH07170578A (en) Digital portable telephone
JPH05103074A (en) Radio communication equipment
JP2001217725A (en) Communication system and communication method
JPH0630109A (en) Radio telephone set with voice recording function

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20120830

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20130829

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20140828

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20150828

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee