WO2009049539A1 - A call method and equipment - Google Patents

A call method and equipment Download PDF

Info

Publication number
WO2009049539A1
WO2009049539A1 PCT/CN2008/072637 CN2008072637W WO2009049539A1 WO 2009049539 A1 WO2009049539 A1 WO 2009049539A1 CN 2008072637 W CN2008072637 W CN 2008072637W WO 2009049539 A1 WO2009049539 A1 WO 2009049539A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame
rate
received
voice
speech
Prior art date
Application number
PCT/CN2008/072637
Other languages
French (fr)
Chinese (zh)
Inventor
Ming Li
Jiang GUO
Guohong Li
Original Assignee
Huawei Technologies Co., Ltd.
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 Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2009049539A1 publication Critical patent/WO2009049539A1/en

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; 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/04Speech 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 predictive techniques
    • G10L19/16Vocoder architecture
    • G10L19/167Audio streaming, i.e. formatting and decoding of an encoded audio signal representation into a data stream for transmission or storage purposes

Definitions

  • the present invention relates to the field of communications, and in particular, to a call method and apparatus. Background technique
  • voice communication can be implemented by Adaptive Multi-Rate (AMR) codec service.
  • AMR Adaptive Multi-Rate
  • the rate can be Adjust according to the situation.
  • the mobile phone adds a Codec Mode Indication (CMI) to the voice frame, and CMI is used to indicate the rate of the voice frame.
  • CMI Codec Mode Indication
  • CMR encoder mode request to the voice frame
  • CM is used to indicate the encoding rate of the peer.
  • CMI and CM can be transmitted in alternate intervals, such as CMI in the first frame, CMR in the second frame, CMI in the third frame, CMR in the fourth frame, and CMI in the second frame.
  • the default is equal to the CMI of the first frame
  • the CMI of the fourth frame is equal to the CMI of the third frame by default, that is, the rate at which the CMR is transmitted is the same as the frame rate of the CMI transmitted in the previous frame.
  • the network side After the Internet Protocol (IP), the network side transmits the received voice IP packet to the mobile phone, the CMI and the CM are encapsulated in one voice IP packet, and the voice frame between the network side and the mobile phone is adopted.
  • the CMI and the CMR are transmitted in an alternate manner. If the CMI of the voice IP packet received by the network side is different from the CMI of the voice IP packet of the previous frame when the network side sends the CMR to the mobile phone, the network side cannot send the voice frame to Mobile phones, which affect the quality of voice communication, and even interrupt voice communication.
  • An object of the embodiments of the present invention is to provide a method and apparatus for calling, which implements reliable transmission of voice and improves the quality of voice communication.
  • the embodiment of the invention provides a method for calling, the method comprising:
  • the received even speech frame stores the odd duration of the speech frame.
  • the embodiment of the invention further provides a device for talking, the device comprising:
  • a receiving unit configured to receive a voice frame
  • a determining unit configured to determine whether a rate of the even-numbered voice frames in the voice frame received by the receiving unit is consistent with a rate of the previously received voice frame
  • a storage unit configured to: when the determining unit determines that the result is inconsistent, store the received even-numbered voice frames for an odd duration of the voice frame.
  • the network side cannot transmit the voice frame, and the call method and apparatus according to the embodiment of the present invention receive an even-numbered voice frame.
  • the even-numbered speech frame received by the network side stores the odd duration of the speech frame, so that the even-numbered speech frame is stored and converted into an odd-numbered speech frame, and the network side can directly The odd voice frames are sent to the terminal, thereby realizing reliable transmission of voice and improving the quality of voice communication.
  • Embodiment 1 is a schematic flow chart of Embodiment 1 of a call method according to the present invention.
  • FIG. 2 is a schematic structural diagram of an embodiment of a device for talking in the present invention. detailed description
  • Embodiment 1 discloses a call method. Referring to FIG. 1, the method includes:
  • the frame number and rate of the received speech frame may be recorded. If the frame number of the speech frame is an even number, compare the speech frame. Whether the rate is consistent with the rate of the previous received speech frame.
  • the rate of receiving the even-numbered speech frame is determined. The rate at which the previous received voice frame was inconsistent;
  • the odd-numbered voice frame sent by the uplink is inconsistent with the previous transmitted voice frame rate, and the frame difference between the uplink-transmitted voice frame number and the corresponding downlink-received voice frame number is an even number, it is determined that the even-numbered voice frame is received.
  • the rate does not match the rate at which the previous received speech frame was received.
  • the method for determining the frame difference between the voice frame number sent by the uplink and the voice frame number received by the downlink may be:
  • Detecting the condition of the channel that is, detecting the delay of the channel
  • the frame difference between the voice frame number sent by the uplink and the voice frame number received by the downlink is determined according to the delay condition of the channel.
  • the received even speech frame stores the odd duration of the speech frame.
  • the network side cannot transmit the voice frame, which may cause the voice call to be interrupted, and the call method and apparatus disclosed in the embodiment of the present invention are used.
  • the network side detects whether the rate of receiving the even-numbered speech frame is consistent with the rate of the previous received speech frame, and detects the rate of the received speech frame. If not, the received even-numbered speech frame stores the odd duration of the speech frame. In this way, the even-numbered speech frame is stored and converted into an odd-numbered speech frame, and the network side can directly transmit the odd-numbered speech frame to the terminal, thereby realizing reliable transmission of the voice and improving the quality of the voice communication.
  • the even-numbered speech frame stores a frame length of one speech frame, and the frame length of one speech frame is twenty milliseconds, and the speech frame is delayed by twenty milliseconds, and the user who uses the voice call can hardly feel the delay. Therefore, there is no influence on the call quality, and reliable transmission of voice is realized.
  • the call method disclosed in the first embodiment can be applied to the variable rate voice communication.
  • the call method disclosed in the first embodiment is applied to the adaptive multi-rate codec of the global mobile communication system.
  • the odd length of the stored voice frame is the frame length of one voice frame.
  • the frame length of a voice frame is twenty milliseconds.
  • the call method in this embodiment includes: 1.
  • the base station receives the voice frame of the mobile phone uplink or system downlink, and reserves a buffer of twenty milliseconds in the place where the base station receives the downlink voice frame of the system, that is, reserves a frame of the voice frame; when the voice channel is established, the base station Send CMR to the system uplink, and send the rule to two frames as an example.
  • the first, third, fifth... frame time corresponds to the CMR frame time received from the mobile phone uplink, marked as odd (0) frame time
  • the sixth frame time corresponds to the CMI frame time received from the mobile phone uplink, and is marked as an even (E) frame time.
  • Two rates for example, 7.4K and 6.7K, are selected, and the transmission is performed alternately, that is, the first and second frame rates are 7.4k, the third and fourth frame rate is 6.7k, and the fifth and sixth frame rates are 7.4k.
  • the system After receiving the CMR request from the base station, the system will change the coding rate to the base station, that is, change the system direction. CMI of the downlink voice frame of the base station.
  • the base station After the base station sends a regularly changing CMR to the system, it starts monitoring the downlink received from the system.
  • the base station determines whether the voice frame CMI currently received by the system is consistent with the received voice frame CMI of the previous frame, if the frame number of the currently received voice frame is an odd number, and the currently received voice frame CMI and the previous frame If the CMIs of the received voice frames are inconsistent, the frame difference caused by the delay of the voice channel is even, and if it is consistent, the frame difference is an odd number.
  • the frame difference caused by the voice channel delay is an odd number, and vice versa. Consistent, the frame difference is even.
  • the determination is received.
  • the rate of the even speech frame is inconsistent with the rate of the previous received speech frame.
  • an even-numbered speech frame whose rate changes can be converted into an odd-numbered speech frame to ensure normal operation of the voice communication.
  • the device includes:
  • the receiving unit 201 is configured to receive a voice frame.
  • the determining unit 202 is configured to determine whether the rate of the even-numbered voice frames in the voice frame received by the receiving unit is consistent with the rate of the previously received voice frame;
  • the storage unit 203 is configured to: when the determining unit 202 determines that the result is inconsistent, store the received even-numbered speech frames for an odd duration of the speech frame.
  • the device of the call may further include:
  • a detecting unit configured to detect a channel condition
  • a frame difference unit configured to determine, according to the detection result of the detecting unit, a frame difference between the voice frame number sent by the uplink and the voice frame number corresponding to the downlink.
  • the determining unit may include:
  • a first module configured to: when an even-numbered voice frame sent in the uplink is inconsistent with a previously transmitted voice frame rate, and the frame difference determined by the frame difference unit is an odd number, determine a rate at which the even-numbered voice frame is received and the previous received The rate of the voice frames is inconsistent; or,
  • a second module configured to: when an odd voice frame sent in the uplink is inconsistent with a previously transmitted voice frame rate, and the frame difference determined by the frame difference unit is an even number, determine a rate at which an even voice frame is received and a previous reception The rate to the speech frame is inconsistent.
  • the device of the call can be applied in variable-rate voice communication, set on the network side, can be set in the base station, or can be set in the gateway, or can be used as an independent device to cooperate with the base station or the gateway to implement variable-rate voice. Reliable operation of communications.

Abstract

A call method and equipment are provided in the present invention. The method includes: receiving a voice frame; storing the received even voice frame in a odd period of voice frame when the rate of the received even voice frame is not identical with the rate of previous received voice frame. By using the call method and equipment disclosed in the embodiment of present invention, judge whether the rate of the received even voice frame is identical with the rate of previous received voice frame, the network side detects the rate of received voice frame, if the detected results are not identical, then storing the received even voice frame in a odd period of voice frame, thus the even voice frame is transformed to be a odd voice frame, the network side could send the voice frame to a terminal directly.

Description

一种通话方法和装置  Call method and device
本申请要求于 2007 年 10 月 12 日提交中国专利局、 申请号为 200710163580.6, 发明名称为 "一种通话方法和装置" 的中国专利申请的优先 权, 其全部内容通过引用结合在本申请中。 技术领域  The present application claims priority to Chinese Patent Application No. 200710163580.6, entitled "A Talk Method and Apparatus", filed on October 12, 2007, the entire disclosure of which is incorporated herein by reference. Technical field
本发明涉及通信领域, 特别涉及一种通话方法和装置。 背景技术  The present invention relates to the field of communications, and in particular, to a call method and apparatus. Background technique
在全球移动通信系统( Global System for Mobile communication, GSM )中, 语音通信可以采用自适应多速率 ( Adaptive Multi Rate, AMR ) 编解码业务实 现,在自适应多速率编解码的一次通话中,速率可以根据情况进行调整,例如, 手机在语音帧中加上编码器模式指示 (Codec Mode Indication, CMI ), CMI 用于指示该语音帧的速率; 手机在语音帧中加上编码器模式请求( Codec Mode Request, CMR ), CM 用于指示对端的编码速率。 为了缩小帧长度和提高传 输效率, CMI和 CM 可采用交替间隔的方式传送, 如第一帧传 CMI, 第二 帧传 CMR, 第三帧传 CMI, 第四帧传 CMR, 第二帧的 CMI默认等于第一帧 的 CMI, 第四帧的 CMI默认等于第三帧的 CMI, 也即传送 CMR这一帧的速 率与前一帧传送 CMI的帧速率一致。  In the Global System for Mobile communication (GSM), voice communication can be implemented by Adaptive Multi-Rate (AMR) codec service. In a call of adaptive multi-rate codec, the rate can be Adjust according to the situation. For example, the mobile phone adds a Codec Mode Indication (CMI) to the voice frame, and CMI is used to indicate the rate of the voice frame. The mobile phone adds an encoder mode request to the voice frame (Codec Mode) Request, CMR), CM is used to indicate the encoding rate of the peer. In order to reduce the frame length and improve the transmission efficiency, CMI and CM can be transmitted in alternate intervals, such as CMI in the first frame, CMR in the second frame, CMI in the third frame, CMR in the fourth frame, and CMI in the second frame. The default is equal to the CMI of the first frame, and the CMI of the fourth frame is equal to the CMI of the third frame by default, that is, the rate at which the CMR is transmitted is the same as the frame rate of the CMI transmitted in the previous frame.
在语音通信互联网协议(Internet Protocol, IP )化之后, 网络侧将接收到 的语音 IP包传送给手机, CMI和 CM 被封装在一个语音 IP包中, 而网络侧 与手机之间的语音帧采用交替间隔的方式传送 CMI和 CMR,如果在网络侧给 手机发送 CMR的时刻, 网络侧接收到的语音 IP包的 CMI与前一帧语音 IP包 的 CMI不同, 则网络侧无法将语音帧发送给手机, 从而影响语音通信的质量, 甚至使得语音通信中断。 发明内容  After the Internet Protocol (IP), the network side transmits the received voice IP packet to the mobile phone, the CMI and the CM are encapsulated in one voice IP packet, and the voice frame between the network side and the mobile phone is adopted. The CMI and the CMR are transmitted in an alternate manner. If the CMI of the voice IP packet received by the network side is different from the CMI of the voice IP packet of the previous frame when the network side sends the CMR to the mobile phone, the network side cannot send the voice frame to Mobile phones, which affect the quality of voice communication, and even interrupt voice communication. Summary of the invention
本发明实施例的目的在于提供一种通话方法和装置, 实现语音的可靠传 输, 提高语音通信的质量。 本发明实施例提供了一种通话方法, 该方法包括: An object of the embodiments of the present invention is to provide a method and apparatus for calling, which implements reliable transmission of voice and improves the quality of voice communication. The embodiment of the invention provides a method for calling, the method comprising:
接收语音帧;  Receiving a speech frame;
当接收到的偶数语音帧的速率与前一接收到的语音帧的速率不一致时,将 所述接收到的偶数语音帧存储语音帧的奇数时长。  When the rate of the received even speech frame does not coincide with the rate of the previously received speech frame, the received even speech frame stores the odd duration of the speech frame.
本发明实施例还提供了一种通话的装置, 该装置包括:  The embodiment of the invention further provides a device for talking, the device comprising:
接收单元, 用于接收语音帧;  a receiving unit, configured to receive a voice frame;
判断单元,用于判断所述接收单元接收到的语音帧中的偶数语音帧的速率 与前一接收到的语音帧的速率是否一致;  a determining unit, configured to determine whether a rate of the even-numbered voice frames in the voice frame received by the receiving unit is consistent with a rate of the previously received voice frame;
存储单元, 用于当所述判断单元判断结果为不一致时, 将接收到的偶数语 音帧存储语音帧的奇数时长。  And a storage unit, configured to: when the determining unit determines that the result is inconsistent, store the received even-numbered voice frames for an odd duration of the voice frame.
背景技术中,如果接收到偶数语音帧的速率与前一接收到语音帧的速率不 一致, 则网络侧无法传输该语音帧, 采用本发明实施例一种通话方法和装置, 当接收到偶数语音帧的速率与前一接收到语音帧的速率不一致时,网络侧将接 收到的偶数语音帧存储语音帧的奇数时长, 这样, 该偶数语音帧存储后转换为 奇数语音帧, 网络侧可以直接将该奇数语音帧发送给终端, 从而实现语音的可 靠传输, 提高语音通信的质量。 附图说明  In the background, if the rate of receiving the even-numbered voice frame is inconsistent with the rate of the previous received voice frame, the network side cannot transmit the voice frame, and the call method and apparatus according to the embodiment of the present invention receive an even-numbered voice frame. When the rate of the received speech frame is inconsistent with the rate of the previous received speech frame, the even-numbered speech frame received by the network side stores the odd duration of the speech frame, so that the even-numbered speech frame is stored and converted into an odd-numbered speech frame, and the network side can directly The odd voice frames are sent to the terminal, thereby realizing reliable transmission of voice and improving the quality of voice communication. DRAWINGS
图 1是本发明通话方法实施例一的流程示意图;  1 is a schematic flow chart of Embodiment 1 of a call method according to the present invention;
图 2是本发明通话的装置实施例的结构示意图。 具体实施方式  2 is a schematic structural diagram of an embodiment of a device for talking in the present invention. detailed description
实施例一揭示了一种通话方法, 参见图 1 , 该方法包括:  Embodiment 1 discloses a call method. Referring to FIG. 1, the method includes:
101、 接收语音帧;  101. Receive a voice frame.
102、判断接收到偶数语音帧的速率与前一接收到语音帧的速率是否一致; 可以记录接收到语音帧的帧号和速率, 如果该语音帧的帧号为偶数, 则比 较该语音帧的速率与前一接收到语音帧的速率是否一致。  102. Determine whether the rate of receiving the even-numbered speech frame is consistent with the rate of the previous received speech frame. The frame number and rate of the received speech frame may be recorded. If the frame number of the speech frame is an even number, compare the speech frame. Whether the rate is consistent with the rate of the previous received speech frame.
也可以通过确定上行发送的语音帧号与对应下行接收的语音帧号之间的 帧差的方式判断接收到偶数语音帧的速率与前一接收到语音帧的速率是否一 致: It is also possible to determine whether the rate of receiving the even-numbered speech frame and the rate of the previous received speech frame are one by determining the frame difference between the voice frame number sent in the uplink and the voice frame number corresponding to the downlink. To:
如果上行发送的偶数语音帧与前一发送的语音帧速率不一致,且上行发送 的语音帧号与对应下行接收的语音帧号之间的帧差为奇数,则判断接收到偶数 语音帧的速率与前一接收到语音帧的速率不一致;  If the even-numbered speech frame sent by the uplink is inconsistent with the previous transmitted speech frame rate, and the frame difference between the uplink transmitted speech frame number and the corresponding downlink received speech frame number is an odd number, the rate of receiving the even-numbered speech frame is determined. The rate at which the previous received voice frame was inconsistent;
或者, 如果上行发送的奇数语音帧与前一发送的语音帧速率不一致, 且上 行发送的语音帧号与对应下行接收的语音帧号之间的帧差为偶数,则判断接收 到偶数语音帧的速率与前一接收到语音帧的速率不一致。  Or, if the odd-numbered voice frame sent by the uplink is inconsistent with the previous transmitted voice frame rate, and the frame difference between the uplink-transmitted voice frame number and the corresponding downlink-received voice frame number is an even number, it is determined that the even-numbered voice frame is received. The rate does not match the rate at which the previous received speech frame was received.
其中,确定上行发送的语音帧号与对应下行接收的语音帧号之间的帧差的 方式可以为:  The method for determining the frame difference between the voice frame number sent by the uplink and the voice frame number received by the downlink may be:
检测通道状况, 即检测通道的延时情况;  Detecting the condition of the channel, that is, detecting the delay of the channel;
根据通道的延时情况,确定上行发送的语音帧号与对应下行接收的语音帧 号之间的帧差。  The frame difference between the voice frame number sent by the uplink and the voice frame number received by the downlink is determined according to the delay condition of the channel.
103、 如果不一致, 则将接收到的偶数语音帧存储语音帧的奇数时长。 背景技术中,如果接收到偶数语音帧的速率与前一接收到语音帧的速率不 一致, 则网络侧无法传输该语音帧, 可能导致语音通话中断, 采用本发明实施 例揭示的通话方法和装置,网络侧通过判断接收到偶数语音帧的速率与前一接 收到语音帧的速率是否一致, 对接收到语音帧的速率进行检测, 如果不一致, 则将接收到的偶数语音帧存储语音帧的奇数时长, 这样, 该偶数语音帧存储后 转换为奇数语音帧, 网络侧可以直接将该奇数语音帧发送给终端,从而实现语 音的可靠传输, 提高语音通信的质量。  103. If not, the received even speech frame stores the odd duration of the speech frame. In the background, if the rate of receiving the even-numbered voice frame is inconsistent with the rate of the previous received voice frame, the network side cannot transmit the voice frame, which may cause the voice call to be interrupted, and the call method and apparatus disclosed in the embodiment of the present invention are used. The network side detects whether the rate of receiving the even-numbered speech frame is consistent with the rate of the previous received speech frame, and detects the rate of the received speech frame. If not, the received even-numbered speech frame stores the odd duration of the speech frame. In this way, the even-numbered speech frame is stored and converted into an odd-numbered speech frame, and the network side can directly transmit the odd-numbered speech frame to the terminal, thereby realizing reliable transmission of the voice and improving the quality of the voice communication.
优选将该偶数语音帧存储一个语音帧的帧长度,以一个语音帧的帧长度为 二十毫秒为例, 将语音帧延迟二十毫秒传输,使用该次语音通话的用户几乎感 觉不到延迟, 从而对通话质量没有影响, 实现语音的可靠传输。 实施例二, 实施例一所揭示的通话方法可以应用到变速率的语音通信中, 在本实施例中,将实施例一所揭示的通话方法应用到全球移动通信系统的自适 应多速率编解码语音通信中, 存储语音帧的奇数时长为一个语音帧的帧长度, 在本实施例中一个语音帧的帧长度为二十毫秒, 本实施例通话方法包括: 1、 确定上行发送的语音帧号与对应下行接收的语音帧号之间的帧差: 基站接收手机上行或系统下行的语音帧,在基站接收系统下行语音帧的地 方预留一个二十毫秒的緩冲区, 即预留一帧语音帧的緩冲区; 当语音通道建立 后, 基站向系统上行发送 CMR, 以发送规律为两帧为单位举例说明, 第一、 三、 五…帧时刻对应从手机上行收到的 CMR帧时刻, 标记为奇数 ( 0 ) 帧时 刻, 第二、 四、 六…帧时刻对应从手机上行收到的 CMI帧时刻, 标记为偶数 ( E ) 帧时刻, 选取两个速率, 例如 7.4K和 6.7K, 依次进行交替发送, 即第 一、 二帧速率为 7.4k, 第三、 四帧速率为 6.7k, 第五、 六帧速率为 7.4k 这样, 系统在收到基站上行的 CMR请求后, 会相应改变向基站下行的编码速 率, 也即改变系统向基站下行语音帧的 CMI。 Preferably, the even-numbered speech frame stores a frame length of one speech frame, and the frame length of one speech frame is twenty milliseconds, and the speech frame is delayed by twenty milliseconds, and the user who uses the voice call can hardly feel the delay. Therefore, there is no influence on the call quality, and reliable transmission of voice is realized. The second embodiment, the call method disclosed in the first embodiment can be applied to the variable rate voice communication. In this embodiment, the call method disclosed in the first embodiment is applied to the adaptive multi-rate codec of the global mobile communication system. In the voice communication, the odd length of the stored voice frame is the frame length of one voice frame. In this embodiment, the frame length of a voice frame is twenty milliseconds. The call method in this embodiment includes: 1. determining the voice frame number sent by the uplink. The frame difference between the voice frame number corresponding to the downlink reception: The base station receives the voice frame of the mobile phone uplink or system downlink, and reserves a buffer of twenty milliseconds in the place where the base station receives the downlink voice frame of the system, that is, reserves a frame of the voice frame; when the voice channel is established, the base station Send CMR to the system uplink, and send the rule to two frames as an example. The first, third, fifth... frame time corresponds to the CMR frame time received from the mobile phone uplink, marked as odd (0) frame time, second, fourth The sixth frame time corresponds to the CMI frame time received from the mobile phone uplink, and is marked as an even (E) frame time. Two rates, for example, 7.4K and 6.7K, are selected, and the transmission is performed alternately, that is, the first and second frame rates are 7.4k, the third and fourth frame rate is 6.7k, and the fifth and sixth frame rates are 7.4k. After receiving the CMR request from the base station, the system will change the coding rate to the base station, that is, change the system direction. CMI of the downlink voice frame of the base station.
基站向系统上行发送规律变化的 CMR之后, 开始监测从系统下行收到的 After the base station sends a regularly changing CMR to the system, it starts monitoring the downlink received from the system.
CMI变化情况, 并进行相应判断: CMI changes, and make corresponding judgments:
基站判断从系统当前收到的语音帧 CMI和上一帧已经收到的语音帧 CMI 是否一致, 如果当前收到的语音帧的帧号为奇数, 且当前收到的语音帧 CMI 和上一帧已经收到的语音帧 CMI不一致, 则说明语音通道延迟造成的帧差为 偶数, 反之如果一致, 则帧差为奇数;  The base station determines whether the voice frame CMI currently received by the system is consistent with the received voice frame CMI of the previous frame, if the frame number of the currently received voice frame is an odd number, and the currently received voice frame CMI and the previous frame If the CMIs of the received voice frames are inconsistent, the frame difference caused by the delay of the voice channel is even, and if it is consistent, the frame difference is an odd number.
或者, 如果当前收到的语音帧的帧号为偶数, 且当前收到的语音帧 CMI 和上一帧已经收到的语音帧 CMI不一致, 则说明语音通道延迟造成的帧差为 奇数, 反之如果一致, 则帧差为偶数。  Or, if the frame number of the currently received voice frame is an even number, and the currently received voice frame CMI is inconsistent with the received voice frame CMI of the previous frame, the frame difference caused by the voice channel delay is an odd number, and vice versa. Consistent, the frame difference is even.
2、 判断接收到偶数语音帧的速率与前一接收到语音帧的速率是否一致: 如果基站向系统上行发送的偶数语音帧与前一发送的语音帧速率不一致, 且上行发送的语音帧号与对应接收来自系统的语音帧号之间的帧差为奇数,则 判断接收到来自偶数语音帧的速率与前一接收到语音帧的速率不一致;  2. It is determined whether the rate of receiving the even-numbered voice frames is consistent with the rate of the previous received voice frame: if the even-numbered voice frames sent by the base station to the system are inconsistent with the previously transmitted voice frame rate, and the voice frame number sent in the uplink is Corresponding to the odd number between the received speech frame numbers from the system, it is determined that the rate of receiving the received speech frames is inconsistent with the rate of the previous received speech frame;
或者,如果基站向系统上行发送的奇数语音帧与前一发送的语音帧速率不 一致,且上行发送的语音帧号与对应接收来自系统下行的语音帧号之间的帧差 为偶数, 则判断接收到偶数语音帧的速率与前一接收到语音帧的速率不一致。  Or, if the odd-numbered voice frame sent by the base station to the system is inconsistent with the previous transmitted voice frame rate, and the frame difference between the uplink-transmitted voice frame number and the corresponding received voice frame number from the system downlink is even, then the determination is received. The rate of the even speech frame is inconsistent with the rate of the previous received speech frame.
3、 如果不一致, 则将接收到的偶数语音帧存储语音帧的奇数时长: 如果接收到来自系统的偶数语音帧的速率与前一接收到语音帧的速率不 一致, 则将偶数语音帧放入緩冲区緩存, 该緩冲区用于将该偶数语音帧存储语 音帧的奇数时长, 同时基站发送相应的奇数个空帧给手机, 从而使得该偶数语 音帧转换为奇数语音帧。 3. If they are inconsistent, store the even-numbered speech frames to store the odd-numbered duration of the speech frame: If the rate of receiving the even-numbered speech frames from the system does not match the rate of the previous received speech frame, put the even-numbered speech frames into the slower a buffer buffer, the buffer is used to store the odd time frame of the voice frame, and the base station sends the corresponding odd number of empty frames to the mobile phone, thereby making the even language The audio frame is converted to an odd voice frame.
采用本发明实施例的通话方法,可以将速率变化的偶数语音帧转换为奇数 语音帧, 保证语音通信的正常进行。  With the call method of the embodiment of the present invention, an even-numbered speech frame whose rate changes can be converted into an odd-numbered speech frame to ensure normal operation of the voice communication.
本实施例还揭示了一种通话的装置, 参见图 2, 该装置包括:  This embodiment also discloses a device for talking. Referring to FIG. 2, the device includes:
接收单元 201 , 用于接收语音帧;  The receiving unit 201 is configured to receive a voice frame.
判断单元 202 , 用于判断接收单元接收到的语音帧中的偶数语音帧的速率 与前一接收到的语音帧的速率是否一致;  The determining unit 202 is configured to determine whether the rate of the even-numbered voice frames in the voice frame received by the receiving unit is consistent with the rate of the previously received voice frame;
存储单元 203, 用于当判断单元 202判断结果为不一致时, 则将接收到的 偶数语音帧存储语音帧的奇数时长。  The storage unit 203 is configured to: when the determining unit 202 determines that the result is inconsistent, store the received even-numbered speech frames for an odd duration of the speech frame.
该通话的装置还可以包括:  The device of the call may further include:
检测单元, 用于检测通道状况;  a detecting unit, configured to detect a channel condition;
帧差单元, 用于根据检测单元的检测结果, 确定上行发送的语音帧号与对 应下行接收的语音帧号之间的帧差。  And a frame difference unit, configured to determine, according to the detection result of the detecting unit, a frame difference between the voice frame number sent by the uplink and the voice frame number corresponding to the downlink.
其中判断单元可以包括:  The determining unit may include:
第一模块, 用于当上行发送的偶数语音帧与前一发送的语音帧速率不一 致, 且所述帧差单元确定的帧差为奇数时, 判断接收到偶数语音帧的速率与前 一接收到语音帧的速率不一致; 或者,  a first module, configured to: when an even-numbered voice frame sent in the uplink is inconsistent with a previously transmitted voice frame rate, and the frame difference determined by the frame difference unit is an odd number, determine a rate at which the even-numbered voice frame is received and the previous received The rate of the voice frames is inconsistent; or,
第二模块, 用于当上行发送的奇数语音帧与前一发送的语音帧速率不一 致, 且所述帧差单元确定的帧差为偶数时, 则判断接收到偶数语音帧的速率与 前一接收到语音帧的速率不一致。  a second module, configured to: when an odd voice frame sent in the uplink is inconsistent with a previously transmitted voice frame rate, and the frame difference determined by the frame difference unit is an even number, determine a rate at which an even voice frame is received and a previous reception The rate to the speech frame is inconsistent.
该通话的装置可以应用在变速率的语音通信中,设置在网络侧, 可以设置 在基站中, 也可以设置在网关中, 还可以作为独立的装置, 与基站或网关配合 使用, 实现变速率语音通信的可靠运行。  The device of the call can be applied in variable-rate voice communication, set on the network side, can be set in the base station, or can be set in the gateway, or can be used as an independent device to cooperate with the base station or the gateway to implement variable-rate voice. Reliable operation of communications.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本发明 可借助软件加必需的硬件平台的方式来实现, 当然也可以全部通过硬件来实 施。基于这样的理解, 本发明的技术方案对背景技术做出贡献的全部或者部分 可以以软件产品的形式体现出来, 该计算机软件产品可以存储在存储介质中, 如 ROM/RAM、 磁碟、 光盘等, 包括若干指令用以使得一台计算机设备(可以 是个人计算机, 服务器, 或者网络设备等)执行本发明各个实施例或者实施例 的某些部分所述的方法。 Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary hardware platform, and of course, all can be implemented by hardware. Based on such understanding, all or part of the technical solution of the present invention contributing to the background art may be embodied in the form of a software product, which may be stored in a storage medium such as a ROM/RAM, a magnetic disk, an optical disk, or the like. Including a number of instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform various embodiments or embodiments of the present invention Some of the methods described.
以上所述仅是本发明的优选实施方式, 应当指出, 对于本技术领域的普通 技术人员来说, 在不脱离本发明原理的前提下, 还可以作出若干改进和润饰, 这些改进和润饰也应视为本发明的保护范围。  The above description is only a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It is considered as the scope of protection of the present invention.

Claims

权 利 要 求 Rights request
1、 一种通话方法, 其特征在于, 该方法包括:  A call method, characterized in that the method comprises:
接收语音帧;  Receiving a speech frame;
当接收到的偶数语音帧的速率与前一接收到的语音帧的速率不一致时,将 所述接收到的偶数语音帧存储语音帧的奇数时长。  When the rate of the received even speech frame does not coincide with the rate of the previously received speech frame, the received even speech frame stores the odd duration of the speech frame.
2、 根据权利要求 1所述的方法, 其特征在于, 该方法还包括: 检测通道状况;  2. The method according to claim 1, wherein the method further comprises: detecting a channel condition;
根据检测结果,确定上行发送的语音帧号与对应下行接收的语音帧号之间 的帧差。  And determining, according to the detection result, a frame difference between the voice frame number sent by the uplink and the voice frame number received by the downlink.
3、 根据权利要求 2所述的方法, 其特征在于, 所述接收到的偶数语音帧 的速率与前一接收到的语音帧的速率不一致, 包括:  The method according to claim 2, wherein the rate of the received even-numbered speech frames is different from the rate of the previously received speech frame, including:
如果上行发送的偶数语音帧与前一发送的语音帧速率不一致,且所述帧差 为奇数, 则所述接收到的偶数语音帧的速率与前一接收到语音帧的速率不一 致; 或者,  If the even-numbered speech frame sent by the uplink does not match the previous transmitted speech frame rate, and the frame difference is an odd number, the rate of the received even-numbered speech frame does not match the rate of the previous received speech frame; or
如果上行发送的奇数语音帧与前一发送的语音帧速率不一致,且所述帧差 为偶数, 则所述接收到的偶数语音帧的速率与前一接收到语音帧的速率不一 致。  If the odd-numbered speech frames sent in the uplink do not coincide with the previously transmitted speech frame rate, and the frame difference is even, the rate of the received even-numbered speech frames does not match the rate of the previous received speech frame.
4、 根据权利要求 1所述的方法, 其特征在于, 所述奇数时长为一个语音 帧的帧长度。  4. The method according to claim 1, wherein the odd duration is a frame length of a speech frame.
5、 一种通话的装置, 其特征在于, 该装置包括:  5. A device for talking, characterized in that the device comprises:
接收单元, 用于接收语音帧;  a receiving unit, configured to receive a voice frame;
判断单元,用于判断所述接收单元接收到的语音帧中的偶数语音帧的速率 与前一接收到的语音帧的速率是否一致;  a determining unit, configured to determine whether a rate of the even-numbered voice frames in the voice frame received by the receiving unit is consistent with a rate of the previously received voice frame;
存储单元, 用于当所述判断单元判断结果为不一致时, 将接收到的偶数语 音帧存储语音帧的奇数时长。  And a storage unit, configured to: when the determining unit determines that the result is inconsistent, store the received even-numbered voice frames for an odd duration of the voice frame.
6、 根据权利要求 5所述的装置, 其特征在于, 该装置还包括: 检测单元, 用于检测通道状况;  The device according to claim 5, further comprising: a detecting unit, configured to detect a channel condition;
帧差单元, 用于根据所述检测单元的检测结果, 确定上行发送的语音帧号 与对应下行接收的语音帧号之间的帧差。 And a frame difference unit, configured to determine, according to the detection result of the detecting unit, a frame difference between the uplink frame number and the corresponding downlink frame number.
7、 根据权利要求 6所述的装置, 其特征在于, 所述判断单元包括: 第一模块, 用于当上行发送的偶数语音帧与前一发送的语音帧速率不一 致, 且所述帧差单元确定的帧差为奇数时, 判断接收到偶数语音帧的速率与前 一接收到语音帧的速率不一致; 或者, The device according to claim 6, wherein the determining unit comprises: a first module, configured to: when an even-numbered speech frame sent in the uplink is inconsistent with a previously transmitted speech frame rate, and the frame difference unit When the determined frame difference is an odd number, it is judged that the rate of receiving the even-numbered speech frame is inconsistent with the rate of the previous received speech frame; or
第二模块, 用于当上行发送的奇数语音帧与前一发送的语音帧速率不一 致, 且所述帧差单元确定的帧差为偶数时, 则判断接收到偶数语音帧的速率与 前一接收到语音帧的速率不一致。  a second module, configured to: when an odd voice frame sent in the uplink is inconsistent with a previously transmitted voice frame rate, and the frame difference determined by the frame difference unit is an even number, determine a rate at which an even voice frame is received and a previous reception The rate to the speech frame is inconsistent.
8、 根据权利要求 5至 7任一项所述的装置, 其特征在于, 所述通话装置 集成在基站或者网关中。  The device according to any one of claims 5 to 7, characterized in that the call device is integrated in a base station or a gateway.
PCT/CN2008/072637 2007-10-12 2008-10-10 A call method and equipment WO2009049539A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2007101635806A CN101409597B (en) 2007-10-12 2007-10-12 Talking method and apparatus
CN200710163580.6 2007-10-12

Publications (1)

Publication Number Publication Date
WO2009049539A1 true WO2009049539A1 (en) 2009-04-23

Family

ID=40567020

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/072637 WO2009049539A1 (en) 2007-10-12 2008-10-10 A call method and equipment

Country Status (2)

Country Link
CN (1) CN101409597B (en)
WO (1) WO2009049539A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102790997B (en) * 2011-05-19 2017-05-10 中兴通讯股份有限公司 Method and device for transmission of adaptive multi-rate (AMR) voice data

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549470A (en) * 2003-05-13 2004-11-24 西门子(中国)有限公司 Method for enlarging measuring window in TDMA mobile communication system
JP2007121330A (en) * 2005-10-24 2007-05-17 Dainippon Printing Co Ltd Device for embedding information into sound signal
CN1991977A (en) * 2005-12-29 2007-07-04 Ut斯达康通讯有限公司 Voice coding rate confirming method for radio communication

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549470A (en) * 2003-05-13 2004-11-24 西门子(中国)有限公司 Method for enlarging measuring window in TDMA mobile communication system
JP2007121330A (en) * 2005-10-24 2007-05-17 Dainippon Printing Co Ltd Device for embedding information into sound signal
CN1991977A (en) * 2005-12-29 2007-07-04 Ut斯达康通讯有限公司 Voice coding rate confirming method for radio communication

Also Published As

Publication number Publication date
CN101409597A (en) 2009-04-15
CN101409597B (en) 2011-04-13

Similar Documents

Publication Publication Date Title
CN106937073B (en) Video calling code rate adjustment method, device and mobile terminal based on VoLTE
US7680099B2 (en) Jitter buffer adjustment
JP5410601B2 (en) Delay monitoring in packet-switched networks.
RU2008142124A (en) SERVICE QUALITY CONFIGURATION FOR WIRELESS COMMUNICATION
KR101479393B1 (en) Codec deployment using in-band signals
JP5528811B2 (en) Receiver operation and implementation for efficient media handling
EP1421811A1 (en) Selecting an operational mode of a codec
EP2938053B1 (en) One-number two-machine associated call method, apparatus and application server
WO2006016848A1 (en) Interoperability for wireless user devices with different speech processing formats
CN103259945A (en) Method for achieving speech coding dynamic switching in voip conversation according to network condition
US20130295917A1 (en) Sharing Electromagnetic-Signal Measurements for Providing Feedback About Transmit-Path Signal Quality
JP2016529839A (en) How to maintain voice communication over congested communication channels
US7650160B2 (en) Determining latency associated with push-to-talk communications
KR20090078454A (en) Voip terminal and method for automatically altering codec according to quality of voice
JP4028453B2 (en) Communication terminal device
WO2009049539A1 (en) A call method and equipment
Wiethölter et al. Perceptual quality of internet telephony over IEEE 802.11 e supporting enhanced dcf and contention free bursting
JP2007036960A (en) Rtp communication terminal for dynamically switching session, call connecting system, and program
JP5397972B2 (en) Acoustic communication system, audio communication apparatus, and audio compression change method
WO2007118392A1 (en) A method and device for transmitting voice data
WO2014087764A1 (en) Terminal and communication system
CN101409598B (en) Talking method and apparatus
KR101444466B1 (en) Acknowledgment of media waveforms between telecommunications endpoints
JP2002354537A (en) Communication system
CN107154913B (en) IP telephone terminal communication method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08838856

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08838856

Country of ref document: EP

Kind code of ref document: A1