WO2009036704A1 - The method for resuming the time alignment flag, and the information source encoding method, device and system - Google Patents

The method for resuming the time alignment flag, and the information source encoding method, device and system Download PDF

Info

Publication number
WO2009036704A1
WO2009036704A1 PCT/CN2008/072387 CN2008072387W WO2009036704A1 WO 2009036704 A1 WO2009036704 A1 WO 2009036704A1 CN 2008072387 W CN2008072387 W CN 2008072387W WO 2009036704 A1 WO2009036704 A1 WO 2009036704A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame
mute indication
alignment flag
time alignment
mute
Prior art date
Application number
PCT/CN2008/072387
Other languages
French (fr)
Chinese (zh)
Inventor
Jiang GUO
Ming Li
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 WO2009036704A1 publication Critical patent/WO2009036704A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/70Media network packetisation

Definitions

  • the present invention relates to the field of mobile communication technologies, and in particular, to a method for recovering a time alignment flag, a method, apparatus and system for decoding a source.
  • the BSC base station controller
  • the core network is responsible for handling all multi-codec related transactions, including codec negotiation and codec conversion after negotiation failure, and completes the exchange of voice packets.
  • This solution can fully utilize the characteristics of the softswitch core network.
  • TrFO Transcoder Free Operation
  • TrFO Transcoder Free Operation
  • TC Transcoder
  • PAYLOAD indicating the data payload
  • PPP Point-to-Point Protocol
  • PPP point-to-point protocol
  • MAC Medium Access Control
  • UDP User Datagram Protocol
  • User Datagram Protocol User Datagram Protocol
  • IP Internet Protocol
  • RTP Real-time Transfer Protocol
  • RTP Real Time Transport Protocol
  • EFR Enhanced Full Rate
  • FR FR
  • HR HALF RATE
  • EFR Enhanced Full Rate
  • HR HR
  • HR HR
  • the standard source codec algorithm specified by the protocol also needs the input parameter TAF (Time Align Flag) to perform source decoding on the SID (Sience Descriptor) frame.
  • TAF Time Align Flag
  • SID Session Descriptor
  • the TAF value is not sent from the base station to the media gateway for source decoding. Without the TAF value, the voice decoding process for the mute indication frame is affected, and the MGW (MEDIA GATEWAY, media) is lowered. Gateway) The quality of the call after voice decoding. Summary of the invention
  • the mute indication frame in the voice packet performs time alignment flag recovery.
  • an embodiment of the present invention provides a method for restoring a time alignment flag, including the steps:
  • the current data frame type is a mute indication frame
  • the data frame type of one frame before the mute indication frame is a speech frame within a predetermined time period
  • the mute indication frame time alignment flag is assigned a second value.
  • the embodiment of the invention further provides a method for restoring a time alignment flag, comprising the steps of: obtaining a data frame from a real-time transport protocol voice packet;
  • the time alignment flag of the mute indication frame received within a predetermined time period is assigned a value of 0 or 1.
  • the time alignment flag of the mute indication frame received within a predetermined time period is assigned a value of 0 or 1;
  • the embodiment of the invention further provides a method for decoding a source, comprising the steps of:
  • the mute indication frame time alignment flag is assigned a value of 0,
  • the mute indication frame time alignment flag is assigned a value of 1;
  • the embodiment of the present invention further provides a media gateway applied to source decoding, comprising: a data frame reading unit, configured to: acquire a data frame from a real-time transport protocol voice packet and send the data frame; And the method is: after receiving the data frame, determining whether the current data frame type is a mute indication frame, and if yes, sending the mute indication frame to the source decoding unit, generating a determination instruction, and sending the determination instruction to the service frame Type determination unit;
  • a service frame type determining unit configured to: determine, according to the determining instruction generated by the mute indication frame determining unit, a data frame type received within a predetermined time period,
  • the data frame type of one frame before the mute indication frame is a voice frame within a predetermined time period, generating a 0-instruction instruction and sending it to the recovery time alignment flag unit,
  • a recovery time alignment flag unit configured to: assign a value of 0 to the mute indication frame time alignment flag according to the instruction 0 generated by the service frame type determining unit; or determine an instruction 1 generated by the unit according to the service frame type Setting the mute indication frame time alignment flag to 1 and sending the time alignment flag 0 or 1 to the source decoding unit;
  • a source decoding unit configured to: source the mute indication frame according to the time alignment flag Decoding.
  • An embodiment of the present invention further provides a system for applying source decoding, including:
  • the base station is configured to: encapsulate the data sent by the mobile station into a real-time transport protocol voice packet and send the data to the media gateway;
  • the media gateway is configured to: read a data frame from a real-time transport protocol voice packet, determine whether the current data frame type is a mute indication frame, and if yes, determine a data frame type received within a predetermined time period,
  • the time alignment flag of the mute indication frame is assigned a value of 0, if there is no previous mute indication frame within a predetermined time period Receiving a data frame, assigning a time alignment flag of the mute indication frame
  • Source decoding is performed on the mute indication frame according to the time alignment flag 0 or 1.
  • the embodiment of the invention has the following advantages:
  • the mute indication frame time alignment flag that is not sent to the media gateway during the process of transmitting from the mobile station to the base station is recovered, and the subsequent source decoding process can be aligned for different time alignment flags.
  • the mute indication frame is decoded, which reduces the speech damage caused by the inaccurate TAF parameter, and improves the IP-based call quality.
  • FIG. 1 is a schematic diagram of a protocol stack of a user plane of a mobile station-base station subsystem-media gateway
  • FIG. 2 is a schematic diagram of data flow from a mobile station to a media gateway through a base station subsystem
  • FIG. 3 is a flow chart of one embodiment of a method for recovering a time alignment flag of the present invention
  • FIG. 4 is a flow chart of another embodiment of a method for recovering a time alignment flag of the present invention
  • FIG. 5 is a service received by a media gateway. Timing diagram of the frame
  • FIG. 6 is a flow chart of one embodiment of a method of source decoding of the present invention.
  • Figure 7 is a block diagram of one embodiment of a source decoding gateway of the present invention.
  • Figure 8 is a block diagram of one embodiment of a system for source decoding of the present invention.
  • FIG. 9 is a block diagram of another embodiment of a system for source decoding of the present invention.
  • the service frame includes
  • the SP frame and the SID frame the SP frame is the voice frame
  • the SID frame is the mute indication frame
  • the TAF is the time alignment flag
  • the time alignment flag of the SID frame is 1 and some are 0.
  • FIG. 2 it is a schematic diagram of data flow from a mobile station to a media gateway through a base station subsystem.
  • 3GPP Three Generation Partnership Project
  • the mobile station can generate continuous SP frames and SID frames by the source codec module. , but it does not send all of these frames to the air interface, but only sends the following three types of frames:
  • the present invention discloses the following embodiments: As shown in FIG. 3, it is an embodiment of the method for restoring the time alignment flag of the present invention, including the steps:
  • the media gateway reads the data frame from the real-time transport protocol voice packet.
  • the media gateway determines whether the current data frame type in the real-time transport protocol voice packet is a mute indication frame, and if yes, proceeds to step S302, otherwise, ends the process; 5303.
  • the media gateway determines a data frame type received within a predetermined time period. If the data frame type received first in the predetermined time period is a voice frame, the process proceeds to step S304, and the data is not received within the predetermined time period.
  • the frame proceeds to step S305, and the predetermined time period in this step may be set according to the actual operation needs, or may be set according to the characteristics of the length of the voice frame and the mute indication frame data.
  • the length of the two data frames in the existing protocol is 20 milliseconds, and therefore, in the preferred embodiment, 20 milliseconds can be used as the length of the predetermined time period. This will help improve the efficiency and accuracy of judgment. Other lengths are also possible, and such variations do not go beyond the scope of the present invention.
  • the media gateway assigns the mute indication frame time alignment flag to 0;
  • the media gateway assigns the mute indication frame time alignment flag to 1.
  • the media gateway recovers the time alignment flag of the mute indication frame sent by the real-time transmission protocol from the base station subsystem.
  • the present invention provides another embodiment of a method for recovering a time alignment flag, including the steps of:
  • the BSS base station subsystem After receiving the voice frame uploaded by the mobile station, the BSS base station subsystem (the Base Station Subsystem) encapsulates the voice frame uploaded by the mobile station into an RTP voice packet.
  • the base station subsystem transmits the RTP voice packet to the media gateway.
  • the media gateway determines whether the current data frame type in the real-time transport protocol voice packet is a mute indication frame, and if yes, proceeds to step S404, otherwise, ends the process;
  • the process of determining whether to mute the frame may be:
  • the media gateway determines whether the current service frame is an SP frame or a SID frame.
  • the length of the SP frame and the SID frame of each service frame is 260 bits.
  • the effective value in the SP frame and the number of valid values in the SID frame are usually different.
  • its effective value is 260 bits; in a SID frame, its effective value is much less than 260 bits. Therefore, in the SID frame, 0 or 1 is fixed at the invalid value (different encoding methods are different, depending on the encoding method itself). Therefore, the receiving end only needs to detect whether the value at these fixed positions of the current frame is a constant value.
  • the media gateway determines a data frame type received within a predetermined time period. If the data frame type received first in the predetermined time period is a voice frame, the process proceeds to step S405, where no data is received within a predetermined time period. The frame proceeds to step S406.
  • the predetermined time period in this step can be set according to the needs of the actual operation, or can be set according to the characteristics of the length of the voice frame and the mute indication frame data. In the existing protocol, the length of the two data frames is 20 milliseconds, and therefore, in the preferred embodiment, 20 milliseconds can be used as the length of the predetermined time period. This will help improve the efficiency and accuracy of judgment. Other lengths are also possible, and such variations do not go beyond the scope of the present invention;
  • the media gateway assigns the mute indication frame time alignment flag to 0;
  • the media gateway assigns the mute indication frame time alignment flag to 1.
  • the mute indication frame time alignment flag which is not sent to the media gateway during transmission from the mobile station to the base station is restored.
  • the recovered TAF can be used by the subsequent source decoding process to decode the mute indication frame for different time alignment flags, which reduces the
  • the speech impairment caused by the inaccurate TAF parameter improves the quality of the call after IP address of the A interface.
  • step S404 in the embodiment of the present invention may be:
  • the media gateway records the data frame received every 20 milliseconds
  • the media gateway determines whether the frame type of the frame is an SP frame or a SID frame.
  • the media gateway can recover the TAF value of the SID frame that the base station has not sent from the received data.
  • the first mute indication frame with a time alignment flag of 0 after the SP 1 speech frame appears 20 ms after the speech frame.
  • the present embodiment obtains the invention of recovering the time alignment flag from the real-time transport protocol voice packet. Accordingly, the media gateway obtains its time alignment flag from the voice packet, which can be used for subsequent source decoding, and the decoding accuracy is greatly improved, and a higher quality voice quality is obtained.
  • the method may further include the following steps:
  • the media gateway records the service frame received within 20 milliseconds;
  • the media gateway determines whether the frame type of the service frame is an SP frame or a SID frame:
  • TAF time since this time is short, the number of affected frames will be small, and the quality of decoding will be affected. Very few.
  • the foregoing steps S407 and S408 can continuously repeat the detection and identification every 480 milliseconds according to the needs of the technical solution, and the advantage is that the maximum can be maximized.
  • the accuracy of the recovery time alignment flag is increased to a limit, and the number and frequency of repetitions depend on the requirements of the technical solution itself, and the variation does not exceed the protection scope of the present invention.
  • the media gateway recovers the time alignment flag of the mute indication frame that the base station has not sent from the received data.
  • the embodiment in order to simplify the step of restoring the time alignment flag, the embodiment also provides a simplified method for restoring the time alignment flag, including the steps of:
  • the media gateway reads the data frame from the real-time transport protocol voice packet
  • the media gateway determines whether the current data frame type in the real-time transport protocol voice packet is a mute indication frame, and if so, assigns a time alignment flag of the mute indication frame received within a predetermined time period to 0 or 1.
  • the embodiment of the present invention further discloses a method for simplifying source decoding, including the steps of:
  • the media gateway reads the data frame from the real-time transport protocol voice packet
  • the media gateway determines whether the current data frame type in the real-time transport protocol voice packet is a mute indication frame, and if so, assigns a time alignment flag of the mute indication frame received within a predetermined time period to 0 or 1;
  • the media gateway performs source decoding on the mute indication frame according to the time alignment flag.
  • assigning values such as: random assignment, cyclic assignment, and the change of a predetermined type of assignment does not exceed the scope of protection of the present invention, and the time is aligned after the assignment of the mute indication frame. Sign.
  • the time alignment flag assignment of the mute indication frame and the source decoding are realized in a simpler manner within the limit of the call quality.
  • the present invention provides an embodiment of a method for encapsulating speech after source decoding, including the steps of:
  • the media gateway reads the data frame from the real-time transport protocol voice packet.
  • the media gateway determines whether the current data frame type in the real-time transport protocol voice packet is a mute indication frame, and if yes, proceeds to step S603, otherwise, ends the process;
  • the media gateway determines a data frame type received within a predetermined time period. If the data frame type received first in the predetermined time period is a voice frame, the process proceeds to step S604, where no data is received within the predetermined time period. Frame, then proceeds to step S605;
  • the media gateway assigns the mute indication frame time alignment flag to 0;
  • the media gateway assigns the mute indication frame time alignment flag to 1;
  • the media gateway performs source decoding on the mute indication frame according to the restored time alignment flag.
  • the mobile station is not sent to the medium during the transmission to the base station.
  • the muting of the body gateway indicates that the frame time alignment flag is restored.
  • the source decoding can be performed on the mute indication frame in the subsequent source decoding process, which reduces the speech damage caused by the TAF parameter inaccuracy, and improves the call quality of the IP message.
  • the number of valid values of the voice frame and the mute indication frame in the RTP voice packet is greatly different, and the type of the current data frame can be determined by determining whether the value at the fixed position is constant.
  • the method for specifically determining whether the current data frame type is a mute indication frame may include the following steps:
  • the media gateway determines whether the value at the fixed position of the current frame is a constant value, and if the value at the fixed position is a constant value, the current frame is a mute indication frame.
  • the recognition of the silence indication frame is implemented according to the difference between the number of valid values of the voice frame and the mute indication frame, and further, the source decoding of the mute indication frame is implemented.
  • the predetermined time period has a length of 20 milliseconds. If the current data frame type is a mute indication frame, then:
  • the media gateway determines the type of the data frame received within 20 milliseconds,
  • the frame is considered to be a mute indication frame with a time alignment flag of 0.
  • the frame is considered to be a mute indication frame with a time alignment flag of 1.
  • the media gateway performs source decoding on the mute indication frame with the time alignment flag of 0 and 1.
  • the first occurrence of the time-aligned target after the SP 1 speech frame
  • the silence indication frame of 0 0 appears 20 ms after the speech frame.
  • the present embodiment obtains the invention of recovering the time alignment flag from the real-time transport protocol voice packet. Accordingly, the media gateway obtains its time alignment flag from the voice packet, and performs source decoding to improve the decoding accuracy and obtain higher quality voice quality.
  • the method may further include the following steps:
  • the media gateway records the service frame received within 20 milliseconds;
  • the media gateway determines, whether the frame type of the service frame is an SP frame or a SID frame.
  • the above-mentioned time alignment flag recovery using the data frame length of 20 milliseconds can maximize the accuracy of the recovery time alignment flag, and the number and frequency of repetitions depend on the requirements of the technical solution itself, and the change does not exceed the present invention.
  • the present invention provides an embodiment of a source decoding media gateway, including:
  • the data frame reading unit 701 is configured to: read a data frame from the real-time transport protocol voice packet and send the signal; the mute indication frame determining unit 702, and the data frame reading unit, the source decoding unit, and the service frame type are determined.
  • the unit is coupled to: determine whether the current data frame type in the real-time transport protocol voice packet is a mute indication frame after receiving the data frame, and if yes, send the mute indication frame to the source decoding unit 705, Generating a determination instruction and sending it to the service frame type determining unit 703;
  • the service frame type determining unit 703 is coupled to the recovery time alignment flag unit, and configured to: determine, according to the determining instruction, a data frame type received within a predetermined time period,
  • the data frame type received first in the predetermined time period is a voice frame
  • an instruction is given to 0 and sent to the recovery time alignment flag unit 704.
  • a recovery time alignment flag unit 704 coupled to the source decoding unit, for:
  • the instruction assigns the mute indication frame time alignment flag to 0, assigns the mute indication frame time alignment flag to 1 according to the instruction 1 instruction, and sends the time alignment flag 0 or 1 to the source decoding unit. 705;
  • the source decoding unit 705 is configured to: perform source decoding on the mute indication frame according to the time alignment flag.
  • the mute indication frame time alignment flag that is not sent to the media gateway during transmission from the mobile station to the base station is restored, and according to the time alignment flag, the subsequent source translation can be performed.
  • the source decoding of the mute indication frame is performed, which reduces the speech damage caused by the inaccurate TAF parameter, and improves the quality of the IP call.
  • the number of valid values of the voice frame and the mute indication frame in the RTP voice packet is greatly different.
  • the following embodiments can be obtained:
  • the mute indication frame determining unit includes: a mute indication frame determining subunit and a determining instruction transmitting subunit,
  • the mute indication frame determining subunit is configured to: determine whether a value at a fixed position of a current data frame in a real-time transport protocol voice packet is a constant value, and if yes, send the mute indication frame to a source decoding unit , generating a sending instruction and sending it to the determining instruction sending subunit;
  • the determining determines a sending subunit, configured to: generate a determining instruction according to the sending instruction, and send the determining instruction to the service frame type determining unit.
  • the recognition of the silence indication frame is implemented according to the difference between the number of valid values of the voice frame and the mute indication frame, and further, the source decoding of the mute indication frame is implemented.
  • the above method for restoring the time alignment flag of the embodiment fully utilizes the following features of the real-time transport protocol voice packet:
  • the present embodiment obtains the invention of recovering the time alignment flag from the real-time transport protocol voice packet. Accordingly, the media gateway obtains its time alignment flag from the voice packet, and performs source decoding to improve the decoding accuracy and obtain higher quality voice quality.
  • an embodiment of the present invention further provides a system for encapsulating a voice after source decoding, including:
  • the base station 802 is configured to: encapsulate the data sent by the mobile station into a real-time transport protocol voice packet and send the data packet to the media gateway;
  • the media gateway 801 is configured to: read a data frame from a real-time transport protocol voice packet, determine whether a current data frame type in the real-time transport protocol voice packet is a mute indication frame, and if yes, determine to receive the data frame within a predetermined time period.
  • Data frame type
  • the time alignment flag of the mute indication frame is assigned a value of 0, if there is no previous mute indication frame within a predetermined time period Receiving a data frame, assigning a time alignment flag of the mute indication frame to 1,
  • Source decoding is performed on the mute indication frame according to the time alignment flag 0 or 1.
  • the mute indication frame time alignment flag that is not sent to the media gateway during transmission from the mobile station to the base station is restored, and according to the time alignment flag, the subsequent source translation can be performed.
  • the source decoding of the mute indication frame is performed, which reduces the speech damage caused by the inaccurate TAF parameter, and improves the call quality of the IP message.
  • the number of valid values of the voice frame and the mute indication frame in the RTP voice packet is greatly different, and it is determined whether the value at the fixed position is constant by increasing in the media gateway.
  • the value of the mute indicates the frame determining device, and the following embodiments can be obtained:
  • the media gateway further includes: a mute indication frame determining device 901,
  • the mute indication frame determining device 901 is configured to: determine whether a value at a fixed position of a current frame in the current real-time transport protocol voice packet is a constant value, and if yes, use the frame as a mute indication frame. After the embodiment, the recognition of the mute indication frame is performed according to the difference between the number of valid values of the voice frame and the mute indication frame, and further, the source decoding of the mute indication frame is implemented.
  • the protocol specifies the respective data. The length of the frame has changed or other needs of the technical solution itself, and the length of the predetermined time period can be adjusted accordingly, and the change does not exceed the protection scope of the present invention.
  • the present invention can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is a better implementation. the way.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a A computer device (which may be a personal computer, server, or network device, etc.) performs the methods described in various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A method for time alignment flag resumption includes the steps: acquiring the data frame from the RTP voice package; if the current frame type is determined to be a silence descriptor frame, and the frame type before the silence descriptor frame is the speech frame in the predetermined time segment, then the time alignment flag of the silence descriptor frame is set to the first value; if the current frame type is determined to be the silence descriptor frame, and the data frame before the silence descriptor is not received in the predetermined time segment, then the time alignment flag of the silence descriptor frame is set to the second value. Methods for simplifying time alignment flag resumption, for simplifying information source decoding, and for information source decoding are also disclosed. A media gateway and system that apply to information source decoding are provided. Use of the invention enables resumption of the time alignment flag in RTP and applies this to information source decoding.

Description

恢复时间对齐标志的方法、 信源译码的方法、 装置和系统 本申请要求于 2007 年 09 月 17 日提交中国专利局、 申请号为 200710154115.6、 发明名称为"恢复时间对齐标志的方法、 信源译码的方法、 装置和系统"的中国专利申请的优先权,其全部内容通过引用结合在本申请中。 技术领域  Method for recovering time alignment mark, method, device and system for decoding source code The present application claims to be filed on September 17, 2007 with the Chinese Patent Office, application number 200710154115.6, and the invention name is "method of restoring time alignment mark, source" The priority of the Chinese Patent Application, the entire disclosure of which is incorporated herein by reference. Technical field
本发明涉及移动通信技术领域, 特别是涉及恢复时间对齐标志的方法、信 源译码的方法、 装置和系统。  The present invention relates to the field of mobile communication technologies, and in particular, to a method for recovering a time alignment flag, a method, apparatus and system for decoding a source.
背景技术 Background technique
在 GSM ( Global System for Mobile Communications, 全球移动通信系统 ) 的 A接口 ( A interface ) IP化( Internet Protocol , 因特网协议)后, BSC ( base station controller, 基站控制器)可以直接对压缩语音进行 IP封装并传送给核 心网。核心网负责处理所有多编解码有关的事务, 包括编解码协商以及协商失 败后的编解码转换, 并完成语音分组的交换。这种方案能够充分利用软交换核 心网的特性, 通过支持 TrFO ( Transcoder Free Operation, 免码变换操作), 能 够提升语音质量, 减少 TC ( Transcoder, 码变换器) 资源的使用, 节省 A接 口上的传输带宽, 同时也简化了 BSS ( Base Station Subsystem, 基站子系统) 的设计。  After the A-interface (Internet Protocol) of the GSM (Global System for Mobile Communications), the BSC (base station controller) can directly encapsulate the compressed voice. And transmitted to the core network. The core network is responsible for handling all multi-codec related transactions, including codec negotiation and codec conversion after negotiation failure, and completes the exchange of voice packets. This solution can fully utilize the characteristics of the softswitch core network. By supporting TrFO (Transcoder Free Operation), it can improve voice quality, reduce the use of TC (Transcoder) resources, and save on the A interface. The transmission bandwidth also simplifies the design of the BSS (Base Station Subsystem).
如图 1所示, 是移动台 基站子系统 -媒体网关的用户面的协议栈, 其中 的英文简写的全称及其含意是:  As shown in Figure 1, it is the protocol stack of the user plane of the mobile station base station subsystem-media gateway. The full name of the English abbreviation and its meaning are:
PAYLOAD, 表示数据载荷;  PAYLOAD, indicating the data payload;
PPP ( Point-to-Point Protocol ) , 点到点协议;  Point-to-Point Protocol (PPP), point-to-point protocol;
MAC ( Medium Access Control ), 媒质接入控制;  MAC ( Medium Access Control ), medium access control;
UDP ( User Datagram Protocol ), 用户数据报协议;  UDP (User Datagram Protocol), User Datagram Protocol;
IP ( Internet Protocol ), 因特网协议  IP (Internet Protocol), Internet Protocol
RTP ( Real-time Transfer Protocol ) 实时传输协议。  RTP (Real-time Transfer Protocol) Real-time transport protocol.
为了能使不同生产商生产的网络设备之间能够顺畅的互相联通,通常在这 些设备中釆用标准的 RTP ( Real Time Transport Protocol, 实时传输协议 )来封 装语音数据。例如,对于 EFR ( Enhanced Full Rate,增强型全速率 ) /FR ( FULL RATE ,全速率) /HR ( HALF RATE ,半速率)语音数据,可以釆用 3GPP TS 101 318协议来进行封装。为了使封装的语音的字节对齐,协议规定:对于 EFR 语音数据, 在净荷数据前增加了 4个字节的 1100; 对于 FR语音数据, 在净荷 数据前增加了 4个字节的 1101 ; 而对于 HR语音数据, 由于本身数据都是对齐 的, 因此就没有增加额外字节。 由于 RTP协议本身只保证实时数据的传输, 并不能为按顺序传送数据包提供可靠的传送机制,也不提供流量控制或拥塞控 制。 根据标准 RTP协议的规定, 协议规定的标准信源编解码算法中还需要输 入参数 TAF ( Time Align Flag )来对 SID ( Silence Descriptor, 静音指示)帧进 行信源译码。 有多种算法可以对 SID帧进行信源译码, 在这些不同的算法中, 对于 TAF的值等于 1的 SID帧和 TAF值等于 0的 SID帧的处理方法是各不相 同的。 In order to enable smooth communication between network devices produced by different manufacturers, standard RTP (Real Time Transport Protocol) is usually used in these devices to encapsulate voice data. For example, for EFR (Enhanced Full Rate) / FR (FULL RATE) / HR (HALF RATE) voice data, 3GPP TS can be used. The 101 318 protocol is used for encapsulation. In order to align the byte alignment of the encapsulated speech, the protocol specifies that for EFR voice data, 4 bytes of 1100 are added before the payload data; for FR voice data, 4 bytes of 1101 are added before the payload data. For HR voice data, since the data itself is aligned, no extra bytes are added. Since the RTP protocol itself only guarantees the transmission of real-time data, it does not provide a reliable transmission mechanism for transmitting packets in sequence, nor does it provide flow control or congestion control. According to the standard RTP protocol, the standard source codec algorithm specified by the protocol also needs the input parameter TAF (Time Align Flag) to perform source decoding on the SID (Sience Descriptor) frame. There are a variety of algorithms for source decoding of SID frames. Among these different algorithms, the SID frame with a TAF value equal to 1 and the SID frame with a TAF value equal to 0 are different.
但是, 根据现行的标准 RTP协议的规定, TAF值没有从基站送到进行信 源译码的媒体网关, 没有 TAF值会使得对于静音指示帧的语音解码过程受到 影响, 降低 MGW ( MEDIA GATEWAY ,媒体网关 )语音解码后的通话质量。 发明内容  However, according to the current standard RTP protocol, the TAF value is not sent from the base station to the media gateway for source decoding. Without the TAF value, the voice decoding process for the mute indication frame is affected, and the MGW (MEDIA GATEWAY, media) is lowered. Gateway) The quality of the call after voice decoding. Summary of the invention
有鉴于此,本发明一个或多个实施例的目的在于提供恢复时间对齐标志的 方法、 信源译码的方法、 装置和系统, 使得能够在 Α接口 IP化后能够对釆用 RTP协议封装的语音包中的静音指示帧进行时间对齐标志恢复。  In view of this, it is an object of one or more embodiments of the present invention to provide a method for recovering a time alignment flag, a method, an apparatus, and a system for decoding a source, which enable the RTP protocol to be encapsulated after the UI interface is IP-enabled. The mute indication frame in the voice packet performs time alignment flag recovery.
为解决上述问题, 本发明实施例提供了一种恢复时间对齐标志的方法, 包 括步骤:  To solve the above problem, an embodiment of the present invention provides a method for restoring a time alignment flag, including the steps:
从实时传输协议语音包中获取数据帧;  Obtaining a data frame from a real-time transport protocol voice packet;
如果确定当前数据帧类型是静音指示帧 ,且在预定时间段内在所述静音指 示帧之前的一帧的数据帧类型是语音帧,则将所述静音指示帧时间对齐标志赋 值为第一值, 或者,  If it is determined that the current data frame type is a mute indication frame, and the data frame type of one frame before the mute indication frame is a speech frame within a predetermined time period, assigning the mute indication frame time alignment flag to the first value, Or,
如果确定当前数据帧类型是静音指示帧 ,且在预定时间段内在所述静音指 示帧之前没有收到数据帧, 则将所述静音指示帧时间对齐标志赋为第二值。  If it is determined that the current data frame type is a mute indication frame and the data frame is not received before the mute indication frame within a predetermined time period, the mute indication frame time alignment flag is assigned a second value.
本发明实施例还提供了一种恢复时间对齐标志的方法, 包括步骤: 从实时传输协议语音包中获取数据帧;  The embodiment of the invention further provides a method for restoring a time alignment flag, comprising the steps of: obtaining a data frame from a real-time transport protocol voice packet;
如果实时传输协议语音包中当前数据帧类型为静音指示帧,将在预定时间 段内收到的所述静音指示帧的时间对齐标志赋值为 0或 1。 本发明实施例还提供了一种信源译码的方法, 包括步骤: If the current data frame type in the real-time transport protocol voice packet is a mute indication frame, the time alignment flag of the mute indication frame received within a predetermined time period is assigned a value of 0 or 1. The embodiment of the invention further provides a method for decoding a source, comprising the steps of:
从实时传输协议语音包中获取数据帧;  Obtaining a data frame from a real-time transport protocol voice packet;
如果实时传输协议语音包中当前数据帧类型为静音指示帧,将在预定时间 段内收到的所述静音指示帧的时间对齐标志赋值为 0或 1 ;  If the current data frame type in the real-time transport protocol voice packet is a mute indication frame, the time alignment flag of the mute indication frame received within a predetermined time period is assigned a value of 0 or 1;
根据所述时间对齐标志对所述静音指示帧进行信源译码。  And performing source decoding on the mute indication frame according to the time alignment flag.
本发明实施例还提供了一种信源译码的方法, 包括步骤:  The embodiment of the invention further provides a method for decoding a source, comprising the steps of:
从实时传输协议语音包中获取数据帧;  Obtaining a data frame from a real-time transport protocol voice packet;
如果当前数据帧类型是静音指示帧,且在预定时间段内在所述静音指示帧 之前的一帧的数据帧类型是语音帧,则将所述静音指示帧时间对齐标志赋值为 0,  If the current data frame type is a mute indication frame, and the data frame type of one frame before the mute indication frame is a speech frame within a predetermined time period, the mute indication frame time alignment flag is assigned a value of 0,
如果当前数据帧类型是静音指示帧,且在预定时间段内在所述静音指示帧 之前没有收到数据帧, 则将所述静音指示帧时间对齐标志赋值为 1 ;  If the current data frame type is a mute indication frame, and the data frame is not received before the mute indication frame within a predetermined time period, the mute indication frame time alignment flag is assigned a value of 1;
根据所述时间对齐标志对所述静音指示帧进行信源译码。  And performing source decoding on the mute indication frame according to the time alignment flag.
本发明的实施例还提供了一种应用于信源译码的媒体网关, 包括: 数据帧读取单元, 用于: 从实时传输协议语音包中获取数据帧并发送; 静音指示帧确定单元, 用于: 接收到所述数据帧后确定当前数据帧类型是 否为静音指示帧, 如果是, 将所述静音指示帧送到所述信源译码单元, 生成确 定指令并送到所述业务帧类型确定单元;  The embodiment of the present invention further provides a media gateway applied to source decoding, comprising: a data frame reading unit, configured to: acquire a data frame from a real-time transport protocol voice packet and send the data frame; And the method is: after receiving the data frame, determining whether the current data frame type is a mute indication frame, and if yes, sending the mute indication frame to the source decoding unit, generating a determination instruction, and sending the determination instruction to the service frame Type determination unit;
业务帧类型确定单元, 用于: 根据所述静音指示帧确定单元生成的确定指 令确定在预定时间段内收到的数据帧类型,  a service frame type determining unit, configured to: determine, according to the determining instruction generated by the mute indication frame determining unit, a data frame type received within a predetermined time period,
如果在预定时间段内在所述静音指示帧之前的一帧的数据帧类型是语音 帧, 生成赋 0指令并送到恢复时间对齐标志单元,  If the data frame type of one frame before the mute indication frame is a voice frame within a predetermined time period, generating a 0-instruction instruction and sending it to the recovery time alignment flag unit,
如果在预定时间段内在所述静音指示帧之前没有收到数据帧, 生成赋 1 指令并送到恢复时间对齐标志单元;  If the data frame is not received before the mute indication frame within the predetermined time period, generating an instruction 1 and sending it to the recovery time alignment flag unit;
恢复时间对齐标志单元, 用于: 根据所述业务帧类型确定单元生成的赋 0 指令将所述静音指示帧时间对齐标志赋值为 0; 或者, 根据所述业务帧类型确 定单元生成的赋 1指令将所述静音指示帧时间对齐标志赋值为 1 , 并将所述时 间对齐标志 0或 1送到所述信源译码单元;  a recovery time alignment flag unit, configured to: assign a value of 0 to the mute indication frame time alignment flag according to the instruction 0 generated by the service frame type determining unit; or determine an instruction 1 generated by the unit according to the service frame type Setting the mute indication frame time alignment flag to 1 and sending the time alignment flag 0 or 1 to the source decoding unit;
信源译码单元, 用于: 根据所述时间对齐标志对所述静音指示帧进行信源 译码。 a source decoding unit, configured to: source the mute indication frame according to the time alignment flag Decoding.
本发明的实施例还提供了一种应用于信源译码的系统, 包括:  An embodiment of the present invention further provides a system for applying source decoding, including:
媒体网关和基站,  Media gateway and base station,
所述基站, 用于: 将移动台发送的数据封装为实时传输协议语音包并送到 所述媒体网关;  The base station is configured to: encapsulate the data sent by the mobile station into a real-time transport protocol voice packet and send the data to the media gateway;
所述媒体网关, 用于: 从实时传输协议语音包中读取数据帧, 确定当前数 据帧类型是否为静音指示帧,如果是, 则确定在预定时间段内收到的数据帧类 型,  The media gateway is configured to: read a data frame from a real-time transport protocol voice packet, determine whether the current data frame type is a mute indication frame, and if yes, determine a data frame type received within a predetermined time period,
如果在预定时间段内在所述静音指示帧之前的一帧的数据帧类型是语音 帧, 将所述静音指示帧的时间对齐标志赋值为 0, 如果在预定时间段内在所述 静音指示帧之前没有收到数据帧, 将所述静音指示帧的时间对齐标志赋值为 If the data frame type of one frame before the mute indication frame is a speech frame within a predetermined time period, the time alignment flag of the mute indication frame is assigned a value of 0, if there is no previous mute indication frame within a predetermined time period Receiving a data frame, assigning a time alignment flag of the mute indication frame
1, 1,
根据所述时间对齐标志 0或 1对所述静音指示帧进行信源译码。  Source decoding is performed on the mute indication frame according to the time alignment flag 0 or 1.
与现有技术相比, 本发明实施例具有以下优点:  Compared with the prior art, the embodiment of the invention has the following advantages:
经过上述技术方案的处理,从移动台传输到基站的过程中没有被送到媒体 网关的静音指示帧时间对齐标志就被恢复了,可以供后续的信源译码过程针对 不同的时间对齐标志对静音指示帧进行译码, 减少了因为 TAF参数不准而引 起的语音损伤, 提高了 IP化的通话质量。  Through the processing of the foregoing technical solution, the mute indication frame time alignment flag that is not sent to the media gateway during the process of transmitting from the mobile station to the base station is recovered, and the subsequent source decoding process can be aligned for different time alignment flags. The mute indication frame is decoded, which reduces the speech damage caused by the inaccurate TAF parameter, and improves the IP-based call quality.
附图说明 DRAWINGS
图 1是移动台 -基站子系统 -媒体网关的用户面的协议栈的示意图; 图 2是从移动台经基站子系统到媒体网关的数据流向示意图;  1 is a schematic diagram of a protocol stack of a user plane of a mobile station-base station subsystem-media gateway; FIG. 2 is a schematic diagram of data flow from a mobile station to a media gateway through a base station subsystem;
图 3是本发明的恢复时间对齐标志的方法的一个实施例的流程图; 图 4是本发明的恢复时间对齐标志的方法的另一个实施例的流程图; 图 5是媒体网关收到的业务帧的时序图;  3 is a flow chart of one embodiment of a method for recovering a time alignment flag of the present invention; FIG. 4 is a flow chart of another embodiment of a method for recovering a time alignment flag of the present invention; FIG. 5 is a service received by a media gateway. Timing diagram of the frame;
图 6是本发明的信源译码的方法的一个实施例的流程图;  6 is a flow chart of one embodiment of a method of source decoding of the present invention;
图 7是本发明的信源译码的网关的一个实施例的框图;  Figure 7 is a block diagram of one embodiment of a source decoding gateway of the present invention;
图 8是本发明的信源译码的系统的一个实施例的框图;  Figure 8 is a block diagram of one embodiment of a system for source decoding of the present invention;
图 9是本发明的信源译码的系统的另一个实施例的框图。  9 is a block diagram of another embodiment of a system for source decoding of the present invention.
具体实施方式 下面结合附图对本发明实施例的具体实施方式做进一步的详细阐述。 detailed description The specific embodiments of the embodiments of the present invention are further described in detail below with reference to the accompanying drawings.
在本发明的各个实施例中以及本申请的说明书各个部分中, 业务帧包括 In various embodiments of the invention and in various portions of the specification of the present application, the service frame includes
SP帧和 SID帧, SP帧就是语音帧, SID帧就是静音指示帧, TAF就是时间对 齐标志, SID帧的时间对齐标志有的为 1 , 有的为 0。 在不同地方使用中文或 者英文简写是为了指代和表述的方便所需的。 The SP frame and the SID frame, the SP frame is the voice frame, the SID frame is the mute indication frame, the TAF is the time alignment flag, and the time alignment flag of the SID frame is 1 and some are 0. The use of Chinese or English abbreviations in different places is required for the convenience of reference and presentation.
如图 2所示,是从移动台经基站子系统到媒体网关的数据流向示意图。按 照 3GPP ( Three Generation Partnership Project, 第三代移动通讯合作项目 ) 46.031协议的规定,在上行非连续发射方式打开的情况下,移动台尽管能够由 信源编解码模块产生连续的 SP帧和 SID帧, 但是它并不是向空口发送所有的 这些帧, 而是只发送如下的三种类型的帧:  As shown in FIG. 2, it is a schematic diagram of data flow from a mobile station to a media gateway through a base station subsystem. According to the 3GPP (Three Generation Partnership Project) 46.031 protocol, in the case where the uplink discontinuous transmission mode is turned on, the mobile station can generate continuous SP frames and SID frames by the source codec module. , but it does not send all of these frames to the air interface, but only sends the following three types of frames:
1 )语音帧( all frames marked with SP=1 , 所有标识" SP = 1 "的帧, SP帧); 1) speech frame (all frames marked with SP=1, all frames with the logo "SP = 1", SP frame);
2 ) SP帧后的第一个 SID帧, 其 TAF = 0 ( the first one with SP = 0 after one or more frames with SP=1在一个或多个标识 "SP = 1"的语音帧之后第一个 "SP = 0"的静音指示帧, 其时间对齐标志 TAF=0 ); 2) The first SID frame after the SP frame, with TAF = 0 (the first one with SP = 0 after one or more frames with SP=1 after the speech frame of one or more identifiers "SP = 1" a mute indication frame of "SP = 0" with a time alignment flag TAF=0);
3 ) TAF=1的 SID帧( those marked with SP=0 and aligned with the SACCH multiframe structure as described in 45.008,标识" SP = 0"并且与 45.008协议中 的规定的慢速随路控制信道复帧结构对齐的帧, 时间对齐标志 TAF=1 的静音 指示帧),每两个时间对齐标志为 1的静音指示帧间隔 480毫秒。其中的 S ACCH 复帧的周期按照协议规定是 480毫秒。  3) SID frames with TAF=1 (the those marked with SP=0 and aligned with the SACCH multiframe structure as described in 45.008, the identifier "SP = 0" and the frame structure of the slow associated control channel specified in the 45.008 protocol Aligned frame, time-aligned flag TAF=1 mute indication frame), every two time alignment flags with a silence of 1 indicates a frame interval of 480 milliseconds. The period of the S ACCH multiframe is 480 milliseconds as specified in the protocol.
上述这三种数据经过基站子系统的实时传输协议封装后,将这三种数据封 装为实时传输协议标准规定的 RTP语音包, 语音包里包括了上述的三种数据 帧, 即上述的 TAF=1或 TAF=0的静音指示帧, 以及语音帧, 其长度都是 20 毫秒。  After the above three kinds of data are encapsulated by the real-time transmission protocol of the base station subsystem, the three types of data are encapsulated into an RTP voice packet specified by the real-time transmission protocol standard, and the voice packet includes the above three data frames, that is, the above-mentioned TAF= 1 or a silence indication frame with TAF = 0, and a voice frame, each having a length of 20 milliseconds.
基于移动台发送的数据帧的上述特点, 本发明公开了以下各个实施例: 如图 3所示,是本发明的恢复时间对齐标志的方法的一个实施例, 包括步 骤:  Based on the above features of the data frame transmitted by the mobile station, the present invention discloses the following embodiments: As shown in FIG. 3, it is an embodiment of the method for restoring the time alignment flag of the present invention, including the steps:
S301、 媒体网关从实时传输协议语音包中读取数据帧;  S301. The media gateway reads the data frame from the real-time transport protocol voice packet.
S302、媒体网关判断实时传输协议语音包中当前数据帧类型是否为静音指 示帧, 如果是, 进入步骤 S302, 否则, 结束流程; 5303、所述媒体网关判断在预定时间段内收到的数据帧类型,如果在预定 时间段内先收到的数据帧类型是语音帧, 则进入步骤 S304, 在预定时间段内 没有收到数据帧, 则进入步骤 S305, 在本步骤中的预定时间段可以根据实际 运用的需要进行设置,也可以根据语音帧和静音指示帧数据的长度的特点进行 设置。 在现有的协议中这两个数据帧的长度都是 20毫秒, 因此, 在优选的实 施例中可以以 20毫秒作为预定时间段的长度。 这样做有利于提高判断的效率 和准确率。 其他的长度也是可以的, 这种变化没有超出本发明的保护范围;S302: The media gateway determines whether the current data frame type in the real-time transport protocol voice packet is a mute indication frame, and if yes, proceeds to step S302, otherwise, ends the process; 5303. The media gateway determines a data frame type received within a predetermined time period. If the data frame type received first in the predetermined time period is a voice frame, the process proceeds to step S304, and the data is not received within the predetermined time period. The frame proceeds to step S305, and the predetermined time period in this step may be set according to the actual operation needs, or may be set according to the characteristics of the length of the voice frame and the mute indication frame data. The length of the two data frames in the existing protocol is 20 milliseconds, and therefore, in the preferred embodiment, 20 milliseconds can be used as the length of the predetermined time period. This will help improve the efficiency and accuracy of judgment. Other lengths are also possible, and such variations do not go beyond the scope of the present invention;
5304、 所述媒体网关则将所述静音指示帧时间对齐标志赋值为 0; 5304, the media gateway assigns the mute indication frame time alignment flag to 0;
5305、 所述媒体网关则将所述静音指示帧时间对齐标志赋值为 1。  S305. The media gateway assigns the mute indication frame time alignment flag to 1.
通过以上步骤,媒体网关将实时传输协议没有从基站子系统送过来的静音 指示帧的时间对齐标志进行了恢复。  Through the above steps, the media gateway recovers the time alignment flag of the mute indication frame sent by the real-time transmission protocol from the base station subsystem.
如图 4所示,公开了一种获得静音指示帧的技术方案, 本发明提供了恢复 时间对齐标志的方法的另一个实施例, 包括步骤:  As shown in FIG. 4, a technical solution for obtaining a mute indication frame is disclosed. The present invention provides another embodiment of a method for recovering a time alignment flag, including the steps of:
5401、 BSS基站子系统( Base Station Subsystem )在收到了移动台上传的 语音帧后, 将所述移动台上传的语音帧封装为 RTP语音包;  After receiving the voice frame uploaded by the mobile station, the BSS base station subsystem (the Base Station Subsystem) encapsulates the voice frame uploaded by the mobile station into an RTP voice packet.
基站子系统收到移动台发送的语音帧、 语音帧后的第一个 SID帧和 TAF = 1的 SID帧后, 对这些数据帧进行封装, 过程是: 基站子系统进行用户面帧 格式转换,将所述移动台发送的 TRAU格式的数据转换成 RTP格式的语音包; After receiving the voice frame sent by the mobile station, the first SID frame after the voice frame, and the SID frame with the TAF=1, the base station subsystem encapsulates the data frames, and the process is: the base station subsystem performs user plane frame format conversion, Converting data in the TRAU format sent by the mobile station into a voice packet in an RTP format;
5402、 基站子系统将所述 RTP语音包传送给媒体网关; S402: The base station subsystem transmits the RTP voice packet to the media gateway.
S403、媒体网关判断实时传输协议语音包中当前数据帧类型是否为静音指 示帧, 如果是, 进入步骤 S404, 否则, 结束流程;  S403. The media gateway determines whether the current data frame type in the real-time transport protocol voice packet is a mute indication frame, and if yes, proceeds to step S404, otherwise, ends the process;
其中的判断是否为静音指示帧的过程可以是:  The process of determining whether to mute the frame may be:
媒体网关判断当前的业务帧是 SP帧还是 SID帧。在 GSM标准规定的 FR 的编码算法中, 每一个业务帧的 SP帧和 SID帧的长度都是 260bits。 但是, SP 帧中的有效值和 SID帧中的有效值数量通常是不同的。 在 SP帧中, 其有效值 就是 260bits; 在 SID帧中, 其有效值则远远少于 260bits。 因此, 在 SID帧中, 在无效值的地方会固定填写 0或 1 (不同的编码方式不一样, 取决于编码方式 本身的需要)。 因此, 接收端只需要检测当前帧这些固定位置上的值是否是恒 值。 如果当前帧这些固定位置上的值恒定的为 0, 或者是恒定的为 1 (不同的 编码方式不一样, 取决于编码方式本身的需要), 可以判断这一帧是 SID帧。 相反, 如果不是恒定地为 0或者恒定地为 1 , 就可以判断这一帧是 SP帧。 与 FR编码算法类似, 用类似的方法也可以区分出在 EFR、 HR编码算法中的 SP 帧和 SID帧; The media gateway determines whether the current service frame is an SP frame or a SID frame. In the FR encoding algorithm specified by the GSM standard, the length of the SP frame and the SID frame of each service frame is 260 bits. However, the effective value in the SP frame and the number of valid values in the SID frame are usually different. In an SP frame, its effective value is 260 bits; in a SID frame, its effective value is much less than 260 bits. Therefore, in the SID frame, 0 or 1 is fixed at the invalid value (different encoding methods are different, depending on the encoding method itself). Therefore, the receiving end only needs to detect whether the value at these fixed positions of the current frame is a constant value. If the value of these fixed positions in the current frame is constant at 0, or is constant at 1 (different The encoding method is different, depending on the needs of the encoding method itself. It can be judged that this frame is a SID frame. Conversely, if it is not constantly 0 or is constantly 1 , it can be judged that this frame is an SP frame. Similar to the FR coding algorithm, SP frames and SID frames in the EFR and HR coding algorithms can be distinguished in a similar manner;
S404、所述媒体网关判断在预定时间段内收到的数据帧类型,如果在预定 时间段内先收到的数据帧类型是语音帧, 则进入步骤 S405, 在预定时间段内 没有收到数据帧, 则进入步骤 S406。 在本步骤中的预定时间段可以根据实际 运用的需要进行设置,也可以根据语音帧和静音指示帧数据的长度的特点进行 设置。 在现有的协议中这两个数据帧的长度都是 20毫秒, 因此, 在优选的实 施例中可以以 20毫秒作为预定时间段的长度。 这样做有利于提高判断的效率 和准确率。 其他的长度也是可以的, 这种变化没有超出本发明的保护范围;  S404. The media gateway determines a data frame type received within a predetermined time period. If the data frame type received first in the predetermined time period is a voice frame, the process proceeds to step S405, where no data is received within a predetermined time period. The frame proceeds to step S406. The predetermined time period in this step can be set according to the needs of the actual operation, or can be set according to the characteristics of the length of the voice frame and the mute indication frame data. In the existing protocol, the length of the two data frames is 20 milliseconds, and therefore, in the preferred embodiment, 20 milliseconds can be used as the length of the predetermined time period. This will help improve the efficiency and accuracy of judgment. Other lengths are also possible, and such variations do not go beyond the scope of the present invention;
5405、 所述媒体网关则将所述静音指示帧时间对齐标志赋值为 0;  S405, the media gateway assigns the mute indication frame time alignment flag to 0;
5406、 所述媒体网关则将所述静音指示帧时间对齐标志赋值为 1。  S406, the media gateway assigns the mute indication frame time alignment flag to 1.
经过上述实施例的处理过程,从移动台传输到基站的过程中没有被送到媒 体网关的静音指示帧时间对齐标志就被恢复了。 恢复后的 TAF可以供后续的 信源译码过程针对不同的时间对齐标志对静音指示帧进行译码, 减少了因为 Through the processing of the above embodiment, the mute indication frame time alignment flag which is not sent to the media gateway during transmission from the mobile station to the base station is restored. The recovered TAF can be used by the subsequent source decoding process to decode the mute indication frame for different time alignment flags, which reduces the
TAF参数不准而引起的语音损伤, 提高了 A接口 IP化后的通话质量。 The speech impairment caused by the inaccurate TAF parameter improves the quality of the call after IP address of the A interface.
如图 5 所示, 是媒体网关收到的业务帧的时序图, 可以看到, 按照 RTP 协议标准所规定的时间间隔,标识" SP = 1"的 SP帧与标识" SP = 0,,的第一个 SID 帧之间的时间间隔是 20毫秒, SP帧后的第一个 SID帧的 TAF = 0 ,而每个 TAF = 1的 SID帧的间隔是 480毫秒。  As shown in Figure 5, it is the timing diagram of the service frame received by the media gateway. It can be seen that the SP frame with the identifier "SP = 1" and the identifier "SP = 0," according to the time interval specified by the RTP protocol standard. The time interval between the first SID frames is 20 milliseconds, the first SID frame after the SP frame has a TAF = 0, and the interval of each SID frame with a TAF = 1 is 480 milliseconds.
基于 RTP语音包内数据分布的上述特点, 如果将所述预定时间段设为 20 毫秒, 则本发明的实施例中步骤 S404就可以是:  Based on the above-mentioned characteristics of the data distribution in the RTP voice packet, if the predetermined time period is set to 20 milliseconds, step S404 in the embodiment of the present invention may be:
S4041、 媒体网关记录每间隔 20毫秒收到的数据帧;  S4041: The media gateway records the data frame received every 20 milliseconds;
S4042、 媒体网关判断所述帧的帧类型是 SP帧还是 SID帧,  S4042: The media gateway determines whether the frame type of the frame is an SP frame or a SID frame.
如果当前 20毫秒内收到的数据帧是 SP帧, 那么认为本帧是 TAF = 0的 SID帧, 如果前 20毫秒内没有收到数据帧, 而本帧是一个 SID帧, 那么认为 本帧是 TAF = 1的 SID帧, 经过以上步骤,媒体网关可以从收到的数据中恢复 出基站没有送过来的 SID帧的 TAF值。 本实施例的上述恢复时间对齐标志的方法,充分利用了实时传输协议语音 包的下述特点: If the data frame received within the current 20 milliseconds is an SP frame, then the frame is considered to be a SID frame with TAF = 0. If the data frame is not received within the first 20 milliseconds, and the frame is a SID frame, then the frame is considered to be After the SID frame with TAF=1, the media gateway can recover the TAF value of the SID frame that the base station has not sent from the received data. The above method for restoring the time alignment flag of the embodiment fully utilizes the following features of the real-time transport protocol voice packet:
在实时传输协议语音包内, SP = 1的语音帧后第一个出现的、 时间对齐标 志 = 0的静音指示帧在语音帧后 20毫秒出现。  In the Real-Time Transport Protocol voice packet, the first mute indication frame with a time alignment flag of 0 after the SP = 1 speech frame appears 20 ms after the speech frame.
根据上述数量关系,本实施例得到了从实时传输协议语音包中恢复时间对 齐标志的发明创造。 据此, 媒体网关从语音包获得了其时间对齐标志, 可以用 来进行后续的信源译码,译码的准确率大大提高,得到了更高质量的语音质量。  According to the above quantity relationship, the present embodiment obtains the invention of recovering the time alignment flag from the real-time transport protocol voice packet. Accordingly, the media gateway obtains its time alignment flag from the voice packet, which can be used for subsequent source decoding, and the decoding accuracy is greatly improved, and a higher quality voice quality is obtained.
其中, 在上述实施例的基础上, 为了提高恢复时间对齐标志的准确率, 在 步骤 S406将所述时间对齐标志赋值为 1之后, 还可以包括步骤:  On the basis of the foregoing embodiment, in order to improve the accuracy of the recovery time alignment flag, after the time alignment flag is set to 1 in step S406, the method may further include the following steps:
S407、 媒体网关记录 20毫秒内收到的业务帧;  S407. The media gateway records the service frame received within 20 milliseconds;
S408、 媒体网关判断所述业务帧的帧类型是 SP帧还是 SID帧:  S408. The media gateway determines whether the frame type of the service frame is an SP frame or a SID frame:
如果当前 20毫秒内收到的数据帧是 SP帧, 那么认为本帧是 TAF = 0的 SID帧, 如果前 20毫秒内没有收到数据帧, 而本帧是一个 SID帧, 那么认为 本帧是 TAF = 1的 SID帧。  If the data frame received within the current 20 milliseconds is an SP frame, then the frame is considered to be a SID frame with TAF = 0. If the data frame is not received within the first 20 milliseconds, and the frame is a SID frame, then the frame is considered to be SID frame with TAF = 1.
在步骤 S4042中以及步骤 S408中, 对于帧类型的这种判断是有误差的, 这是因为:  In step S4042 and in step S408, such a judgment as to the frame type is erroneous because:
如果有以下特殊情况出现,比如当移动台开始向基站子系统发送业务帧的 时候, 经过基站子系统的 RTP封装转换后, 因为媒体网关此时只收到为数不 多的几个业务帧。 如果此时移动台按照协议的规定发送了 SP帧和紧接着所述 SP帧后的第一个 SID帧,而这个 SID帧恰好又和空口的 TAF = 1的时刻对齐, 根据本实施例提供的方法会将些此 SID帧的时间对齐标志赋值为 0,从而出现 与空口对齐时刻不一致的现象。 将本来是 TAF = 1的 SID帧误识别为 TAF = 0 的 SID帧,在后续译码过程中将本来需要使用 TAF = 1标志进行译码的 SID帧 识别为 TAF = 0的 SID帧进行译码。 但是, 由于 TAF = 1的 SID帧的出现间隔 是 480毫秒, 如果进行重复的时间对齐标志恢复, 就会建立起 TAF = 1的 SID 帧的 480毫秒的周期性关系。根据这个 480毫秒的周期关系, 可以检查出来所 述时间对齐标志恢复是否正确;  If the following special circumstances occur, such as when the mobile station starts to send a service frame to the base station subsystem, after the RTP encapsulation conversion of the base station subsystem, the media gateway receives only a few service frames at this time. If the mobile station transmits the SP frame and the first SID frame immediately after the SP frame according to the protocol, and the SID frame is exactly aligned with the time of the air interface TAF=1, according to the embodiment. The method assigns the time alignment flag of this SID frame to 0, which is inconsistent with the timing of the air interface alignment. The SID frame which is originally TAF=1 is misidentified as the SID frame with TAF=0. In the subsequent decoding process, the SID frame which is originally required to be decoded by using the TAF=1 flag is identified as the SID frame with TAF=0. . However, since the interval of occurrence of the SID frame with TAF = 1 is 480 milliseconds, if the repeated time alignment flag is restored, a periodic relationship of 480 milliseconds for the SID frame of TAF = 1 is established. According to the periodic relationship of 480 milliseconds, it can be checked whether the time alignment flag is restored correctly;
如果前 20毫秒内没有收到数据帧, 而本帧是一个 SID帧, 那么认为本帧 是 TAF = 1的 SID帧, 同理可见, 在步骤 S4042中以及步骤 S408中, 对于帧类型的这种判断是 有误差的, 这是因为: If no data frame is received within the first 20 milliseconds and the frame is a SID frame, then the frame is considered to be a SID frame with TAF = 1. Similarly, in step S4042 and in step S408, such a judgment on the frame type is erroneous because:
如果有以下特殊情况出现,比如当移动台开始向基站子系统发送业务帧的 时候, 经过基站子系统的 RTP封装转换后, 因为媒体网关此时只收到为数不 多的几个业务帧。 如果此时移动台按照协议的规定发送了 SP帧和所述 SP帧 后的某一个 SID帧, 而这个 SID帧不是在空口的 TAF = 1的时刻发送的,如果 要对该帧数据进行信源译码,其 TAF值应该等于 0。但是如果因为空口的干扰, 基站子系统恰好将该 SID帧前面最接近的一个 SP帧处理失败, 导致媒体网关 不知道所述 SID帧还有一个 SP帧。 根据前述的判断方法, 媒体网关会将这个 SID帧识别为是 TAF = 1的 SID帧, 从而造成误判断。 但是, 随着后面 480毫 秒的周期性关系的迅速建立, 很快会减少这种可能的恢复错误, 而且, 由于这 个时间很短, 受到影响的帧数会很少, 对于译码质量影响也就很少了。  If the following special circumstances occur, such as when the mobile station starts to send a service frame to the base station subsystem, after the RTP encapsulation conversion of the base station subsystem, the media gateway receives only a few service frames at this time. If the mobile station transmits the SP frame and one of the SID frames after the SP frame according to the protocol, the SID frame is not sent at the time of the air interface TAF=1, if the frame data is to be sourced. Decode, its TAF value should be equal to zero. However, if the base station subsystem fails to process the closest SP frame in front of the SID frame due to interference from the air interface, the media gateway does not know that the SID frame has an SP frame. According to the foregoing judging method, the media gateway recognizes the SID frame as a SID frame with TAF = 1, thereby causing misjudgment. However, with the rapid establishment of the periodic relationship of 480 milliseconds, this possible recovery error will be quickly reduced, and since this time is short, the number of affected frames will be small, and the quality of decoding will be affected. Very few.
其中, 在实际运用过程中, 为了减少上述方案可能存在的判断误差, 上述 的步骤 S407、 S408判断过程可以根据技术方案的需要, 不停地重复每 480毫 秒的检测识别,这样的好处在于可以最大限度地提高恢复时间对齐标志的准确 率, 其重复的次数、 频率取决于技术方案本身的要求, 这种变化没有超出本发 明的保护范围。  In the actual application process, in order to reduce the judgment error that may exist in the foregoing solution, the foregoing steps S407 and S408 can continuously repeat the detection and identification every 480 milliseconds according to the needs of the technical solution, and the advantage is that the maximum can be maximized. The accuracy of the recovery time alignment flag is increased to a limit, and the number and frequency of repetitions depend on the requirements of the technical solution itself, and the variation does not exceed the protection scope of the present invention.
经过以上步骤,媒体网关从收到的数据中恢复了基站没有送过来的静音指 示帧的时间对齐标志。  After the above steps, the media gateway recovers the time alignment flag of the mute indication frame that the base station has not sent from the received data.
在上述实施例的基础上, 为了简化恢复时间对齐标志的步骤, 实施例还提 供了一种简化的恢复时间对齐标志的方法, 包括步骤:  Based on the above embodiments, in order to simplify the step of restoring the time alignment flag, the embodiment also provides a simplified method for restoring the time alignment flag, including the steps of:
媒体网关从实时传输协议语音包中读取数据帧;  The media gateway reads the data frame from the real-time transport protocol voice packet;
媒体网关判断实时传输协议语音包中当前数据帧类型是否为静音指示帧, 如果是, 将在预定时间段内收到的所述静音指示帧的时间对齐标志赋值为 0 或 1。  The media gateway determines whether the current data frame type in the real-time transport protocol voice packet is a mute indication frame, and if so, assigns a time alignment flag of the mute indication frame received within a predetermined time period to 0 or 1.
赋值的方法可以有多种, 例如: 随机赋值, 循环赋值, 以某一个预设定的 种赋值方式的变化没有超出本发明的保护范围,都是要将所述静音指示帧赋值 后确定时间对齐标志。 这样对于后续的信源译码过程来说, 如果静音指示帧以固定的值 0 或 1 送过来,对于所述静音指示帧如果赋值与本来的标志不一致的, 就会出现译码 错误, 降低通话质量。 但是, 在通话质量允许的限度内, 用户是可以接受的。 There are a variety of methods for assigning values, such as: random assignment, cyclic assignment, and the change of a predetermined type of assignment does not exceed the scope of protection of the present invention, and the time is aligned after the assignment of the mute indication frame. Sign. Thus, for the subsequent source decoding process, if the mute indication frame is sent with a fixed value of 0 or 1, if the mute indication frame is inconsistent with the original flag, a decoding error occurs, and the call is lowered. quality. However, the user is acceptable within the limits of the call quality.
与上述简化的恢复时间对齐标志的方法相适应 ,本发明实施例还公开了一 种简化信源译码的方法, 包括步骤:  In accordance with the method for simplifying the recovery time alignment flag described above, the embodiment of the present invention further discloses a method for simplifying source decoding, including the steps of:
媒体网关从实时传输协议语音包中读取数据帧;  The media gateway reads the data frame from the real-time transport protocol voice packet;
媒体网关判断实时传输协议语音包中当前数据帧类型是否为静音指示帧, 如果是, 将在预定时间段内收到的所述静音指示帧的时间对齐标志赋值为 0 或 1 ;  The media gateway determines whether the current data frame type in the real-time transport protocol voice packet is a mute indication frame, and if so, assigns a time alignment flag of the mute indication frame received within a predetermined time period to 0 or 1;
所述媒体网关根据所述时间对齐标志对所述静音指示帧进行信源译码。 赋值的方法可以有多种, 例如: 随机赋值, 循环赋值, 以某一个预设定的 种赋值方式的变化没有超出本发明的保护范围,都是要将所述静音指示帧赋值 后确定时间对齐标志。  The media gateway performs source decoding on the mute indication frame according to the time alignment flag. There are a variety of methods for assigning values, such as: random assignment, cyclic assignment, and the change of a predetermined type of assignment does not exceed the scope of protection of the present invention, and the time is aligned after the assignment of the mute indication frame. Sign.
利用本实用例, 实现在通话质量允许的限度内, 以更简单的方案实现了对 于静音指示帧的时间对齐标志赋值并进行信源译码。  With the utility model, the time alignment flag assignment of the mute indication frame and the source decoding are realized in a simpler manner within the limit of the call quality.
如图 6所示, 为了对上述恢复时间对齐标志的静音指示帧进行信源译码, 本发明提供了封装语音后信源译码的方法的实施例, 包括步骤:  As shown in FIG. 6, in order to perform source decoding on the mute indication frame of the recovery time alignment flag, the present invention provides an embodiment of a method for encapsulating speech after source decoding, including the steps of:
S601、 媒体网关从实时传输协议语音包中读取数据帧;  S601. The media gateway reads the data frame from the real-time transport protocol voice packet.
S602、媒体网关确定实时传输协议语音包中当前数据帧类型是否为静音指 示帧, 如果是, 进入步骤 S603 , 否则, 结束流程;  S602. The media gateway determines whether the current data frame type in the real-time transport protocol voice packet is a mute indication frame, and if yes, proceeds to step S603, otherwise, ends the process;
S603、所述媒体网关确定在预定时间段内收到的数据帧类型,如果在预定 时间段内先收到的数据帧类型是语音帧, 则进入步骤 S604, 在预定时间段内 没有收到数据帧, 则进入步骤 S605;  S603. The media gateway determines a data frame type received within a predetermined time period. If the data frame type received first in the predetermined time period is a voice frame, the process proceeds to step S604, where no data is received within the predetermined time period. Frame, then proceeds to step S605;
S604、 所述媒体网关则将所述静音指示帧时间对齐标志赋值为 0;  S604, the media gateway assigns the mute indication frame time alignment flag to 0;
5605、 所述媒体网关则将所述静音指示帧时间对齐标志赋值为 1 ;  S605, the media gateway assigns the mute indication frame time alignment flag to 1;
5606、所述媒体网关根据恢复后的所述时间对齐标志对所述静音指示帧进 行信源译码。  S606. The media gateway performs source decoding on the mute indication frame according to the restored time alignment flag.
经过上述实施例的处理过程,从移动台传输到基站的过程中没有被送到媒 体网关的静音指示帧时间对齐标志就被恢复了。 并且根据所述时间对齐标志, 可以在后续的信源译码过程中对静音指示帧进行信源译码, 减少了因为 TAF 参数不准而引起的语音损伤, 提高了 IP话的通话质量。 After the processing of the above embodiment, the mobile station is not sent to the medium during the transmission to the base station. The muting of the body gateway indicates that the frame time alignment flag is restored. And according to the time alignment flag, the source decoding can be performed on the mute indication frame in the subsequent source decoding process, which reduces the speech damage caused by the TAF parameter inaccuracy, and improves the call quality of the IP message.
其中, 在上述实施例的基础上, 根据的 RTP语音包中的语音帧和静音指 示帧的有效值数量差别很大,通过判断其固定位置上的值是否恒定, 可以判断 当前数据帧的类型,具体确定当前数据帧类型是否为静音指示帧的方法可以包 括下述步骤:  On the basis of the foregoing embodiment, the number of valid values of the voice frame and the mute indication frame in the RTP voice packet is greatly different, and the type of the current data frame can be determined by determining whether the value at the fixed position is constant. The method for specifically determining whether the current data frame type is a mute indication frame may include the following steps:
所述媒体网关确定当前帧的固定位置上的值是否是恒值,如果所述固定位 置上的值是恒值, 则所述当前帧是静音指示帧。  The media gateway determines whether the value at the fixed position of the current frame is a constant value, and if the value at the fixed position is a constant value, the current frame is a mute indication frame.
经过本实施例,实现了根据语音帧和静音指示帧有效值数量的不同对于静 音指示帧的识别, 并进而实现了对所述静音指示帧的信源译码。  Through the embodiment, the recognition of the silence indication frame is implemented according to the difference between the number of valid values of the voice frame and the mute indication frame, and further, the source decoding of the mute indication frame is implemented.
其中, 在上述实施例的基础上, 基于前述有关实施例分析的 RTP语音包 内数据分布的周期性特点: 如图 5所示, 是媒体网关收到的业务帧的时序图, 可以看到, 按照 RTP协议标准所规定的时间间隔, 标识" SP = 1"的 SP帧与标 识" SP = 0,,的第一个 SID帧之间的时间间隔是 20毫秒, SP帧后的第一个 SID 帧的 TAF = 0, 而每个 TAF = 1的 SID帧的间隔是 480毫秒, 就得到了下述实 施例:  The periodic characteristics of the data distribution in the RTP voice packet analyzed based on the foregoing embodiments are as follows: As shown in FIG. 5, it is a sequence diagram of the service frame received by the media gateway, and it can be seen that According to the time interval specified by the RTP protocol standard, the time interval between the SP frame identifying "SP = 1" and the first SID frame identified by "SP = 0," is 20 milliseconds, the first SID after the SP frame. The TAF of the frame is 0, and the interval of the SID frame of each TAF = 1 is 480 milliseconds, and the following embodiment is obtained:
所述预定时间段的长度为 20毫秒, 如果当前数据帧类型为静音指示帧, 则:  The predetermined time period has a length of 20 milliseconds. If the current data frame type is a mute indication frame, then:
媒体网关判断 20毫秒内收到的所述数据帧的类型,  The media gateway determines the type of the data frame received within 20 milliseconds,
如果是 20毫秒内收到的业务帧类型是语音帧, 认为本帧是时间对齐标志 为 0的静音指示帧,  If the service frame type received within 20 milliseconds is a voice frame, the frame is considered to be a mute indication frame with a time alignment flag of 0.
如果是 20毫秒内没有收到业务帧, 认为本帧是时间对齐标志为 1的静音 指示帧;  If the service frame is not received within 20 milliseconds, the frame is considered to be a mute indication frame with a time alignment flag of 1.
所述媒体网关对所述时间对齐标志为 0和为 1的所述静音指示帧进行信源 译码。  The media gateway performs source decoding on the mute indication frame with the time alignment flag of 0 and 1.
本实施例的上述恢复时间对齐标志的方法,充分利用了实时传输协议语音 包的下述特点:  The above method for restoring the time alignment flag of the present embodiment makes full use of the following features of the real-time transport protocol voice packet:
在实时传输协议语音包内, SP = 1的语音帧后第一个出现的、 时间对齐标 志 = 0的静音指示帧在语音帧后 20毫秒出现。 In the real-time transport protocol voice packet, the first occurrence of the time-aligned target after the SP = 1 speech frame The silence indication frame of 0 = 0 appears 20 ms after the speech frame.
根据上述数量关系,本实施例得到了从实时传输协议语音包中恢复时间对 齐标志的发明创造。 据此, 媒体网关从语音包获得了其时间对齐标志, 并以此 进行信源译码, 提高了译码的准确率, 得到了更高质量的语音质量。  According to the above quantity relationship, the present embodiment obtains the invention of recovering the time alignment flag from the real-time transport protocol voice packet. Accordingly, the media gateway obtains its time alignment flag from the voice packet, and performs source decoding to improve the decoding accuracy and obtain higher quality voice quality.
其中,在上述实施例的基础上, 为了提高恢复时间对齐标志及信源译码的 准确率, 在将所述时间对齐标志赋值为 1之后, 还可以包括步骤:  In addition, on the basis of the foregoing embodiment, in order to improve the accuracy of the recovery time alignment flag and the source decoding, after the time alignment flag is set to 1, the method may further include the following steps:
5606、 媒体网关记录 20毫秒内收到的业务帧;  5606. The media gateway records the service frame received within 20 milliseconds;
5607、 媒体网关判断所述业务帧的帧类型是 SP帧还是 SID帧,  5607. The media gateway determines, whether the frame type of the service frame is an SP frame or a SID frame.
如果当前 20毫秒内收到的数据帧是 SP帧, 那么认为本帧是 TAF = 0的 SID帧,  If the data frame received within the current 20 milliseconds is an SP frame, then the frame is considered to be a SID frame with TAF = 0.
如果前 20毫秒内没有收到数据帧, 而本帧是一个 SID帧, 那么认为本帧 是 TAF = 1的 SID帧。  If no data frame is received within the first 20 milliseconds and the frame is a SID frame, then this frame is considered to be a SID frame with TAF = 1.
上述利用数据帧长度为 20毫秒进行重复的时间对齐标志恢复, 可以最大 限度地提高恢复时间对齐标志的准确率, 其重复的次数、频率取决于技术方案 本身的要求, 这种变化没有超出本发明的保护范围。  The above-mentioned time alignment flag recovery using the data frame length of 20 milliseconds can maximize the accuracy of the recovery time alignment flag, and the number and frequency of repetitions depend on the requirements of the technical solution itself, and the change does not exceed the present invention. The scope of protection.
如图 7所示, 为了对上述恢复时间对齐标志的静音指示帧进行信源译码, 本发明提供了信源译码的媒体网关的实施例, 包括:  As shown in FIG. 7, in order to perform source decoding on the mute indication frame of the recovery time alignment flag, the present invention provides an embodiment of a source decoding media gateway, including:
数据帧读取单元 701 ,用于:从实时传输协议语音包中读取数据帧并发送; 静音指示帧确定单元 702, 与所述数据帧读取单元、 信源译码单元和业务 帧类型确定单元耦合, 用于: 接收到所述数据帧后确定实时传输协议语音包中 当前数据帧类型是否为静音指示帧,如果是,将所述静音指示帧送到所述信源 译码单元 705 , 生成确定指令并送到所述业务帧类型确定单元 703;  The data frame reading unit 701 is configured to: read a data frame from the real-time transport protocol voice packet and send the signal; the mute indication frame determining unit 702, and the data frame reading unit, the source decoding unit, and the service frame type are determined. The unit is coupled to: determine whether the current data frame type in the real-time transport protocol voice packet is a mute indication frame after receiving the data frame, and if yes, send the mute indication frame to the source decoding unit 705, Generating a determination instruction and sending it to the service frame type determining unit 703;
业务帧类型确定单元 703 , 与恢复时间对齐标志单元耦合, 用于: 根据所 述确定指令确定在预定时间段内收到的数据帧类型,  The service frame type determining unit 703 is coupled to the recovery time alignment flag unit, and configured to: determine, according to the determining instruction, a data frame type received within a predetermined time period,
如果在预定时间段内先收到的数据帧类型是语音帧,生成赋 0指令并送到 恢复时间对齐标志单元 704 ,  If the data frame type received first in the predetermined time period is a voice frame, an instruction is given to 0 and sent to the recovery time alignment flag unit 704.
如果在预定时间段内没有收到数据帧,生成赋 1指令并送到恢复时间对齐 标志单元 704;  If no data frame is received within the predetermined time period, an instruction is given and sent to the recovery time alignment flag unit 704;
恢复时间对齐标志单元 704, 与所述信源译码单元耦合, 用于: 根据赋 0 指令将所述静音指示帧时间对齐标志赋值为 0, 根据赋 1指令将所述静音指示 帧时间对齐标志赋值为 1 , 并将所述时间对齐标志 0或 1送到所述信源译码单 元 705; a recovery time alignment flag unit 704, coupled to the source decoding unit, for: The instruction assigns the mute indication frame time alignment flag to 0, assigns the mute indication frame time alignment flag to 1 according to the instruction 1 instruction, and sends the time alignment flag 0 or 1 to the source decoding unit. 705;
信源译码单元 705, 用于: 根据所述时间对齐标志对所述静音指示帧进行 信源译码。  The source decoding unit 705 is configured to: perform source decoding on the mute indication frame according to the time alignment flag.
经过上述实施例的处理过程,从移动台传输到基站的过程中没有被送到媒 体网关的静音指示帧时间对齐标志就被恢复了, 并且根据所述时间对齐标志, 可以在后续的信源译码过程中对静音指示帧进行信源译码, 减少了因为 TAF 参数不准而引起的语音损伤, 提高了 IP化的通话质量。  Through the processing of the above embodiment, the mute indication frame time alignment flag that is not sent to the media gateway during transmission from the mobile station to the base station is restored, and according to the time alignment flag, the subsequent source translation can be performed. During the code process, the source decoding of the mute indication frame is performed, which reduces the speech damage caused by the inaccurate TAF parameter, and improves the quality of the IP call.
其中, 在上述实施例的基础上, 根据的 RTP语音包中的语音帧和静音指 示帧有效值数量差别很大,通过判断其固定位置上的值是否为恒值, 可以得到 下述实施例:  On the basis of the foregoing embodiment, the number of valid values of the voice frame and the mute indication frame in the RTP voice packet is greatly different. By determining whether the value at the fixed position is a constant value, the following embodiments can be obtained:
所述静音指示帧确定单元包括:静音指示帧确定子单元和确定指令发送子 单元,  The mute indication frame determining unit includes: a mute indication frame determining subunit and a determining instruction transmitting subunit,
所述静音指示帧确定子单元, 用于: 判断实时传输协议语音包中当前数据 帧的固定位置上的值是否是恒值,如果是, 则将所述静音指示帧送到信源译码 单元, 生成发送指令并送到确定指令发送子单元;  The mute indication frame determining subunit is configured to: determine whether a value at a fixed position of a current data frame in a real-time transport protocol voice packet is a constant value, and if yes, send the mute indication frame to a source decoding unit , generating a sending instruction and sending it to the determining instruction sending subunit;
所述判断确定发送子单元, 用于: 根据所述发送指令生成确定指令并送到 业务帧类型确定单元。  The determining determines a sending subunit, configured to: generate a determining instruction according to the sending instruction, and send the determining instruction to the service frame type determining unit.
经过本实施例,实现了根据语音帧和静音指示帧有效值数量的不同对于静 音指示帧的识别, 并进而实现了对所述静音指示帧的信源译码。  Through the embodiment, the recognition of the silence indication frame is implemented according to the difference between the number of valid values of the voice frame and the mute indication frame, and further, the source decoding of the mute indication frame is implemented.
其中, 在上述实施例的基础上, 基于前述有关实施例分析的 RTP语音包 内数据分布的周期性特点: 如图 5所示, 是媒体网关收到的业务帧的时序图, 可以看到, 按照 RTP协议标准所规定的时间间隔, 标识" SP = 1"的 SP帧与标 识" SP = 0,,的第一个 SID帧之间的时间间隔是 20毫秒, SP帧后的第一个 SID 帧的 TAF = 0, 而每个 TAF = 1的 SID帧的长度是 480毫秒, 可以将上述各个 实施例中的所述预定时间段的长度为 20毫秒。  The periodic characteristics of the data distribution in the RTP voice packet analyzed based on the foregoing embodiments are as follows: As shown in FIG. 5, it is a sequence diagram of the service frame received by the media gateway, and it can be seen that According to the time interval specified by the RTP protocol standard, the time interval between the SP frame identifying "SP = 1" and the first SID frame identified by "SP = 0," is 20 milliseconds, the first SID after the SP frame. The TAF of the frame is 0, and the length of the SID frame of each TAF = 1 is 480 milliseconds, and the length of the predetermined time period in each of the above embodiments may be 20 milliseconds.
本实施例的上述恢复时间对齐标志的方法,充分利用了实时传输协议语音 包的下述特点: 在实时传输协议语音包内, SP = 1的语音帧后第一个出现的、 时间对齐标 志 = 0的静音指示帧在语音帧后 20毫秒出现。 The above method for restoring the time alignment flag of the embodiment fully utilizes the following features of the real-time transport protocol voice packet: In the real-time transport protocol voice packet, the first mute indication frame with the time alignment flag = 0 appearing after the speech frame of SP = 1 appears 20 ms after the speech frame.
根据上述数量关系,本实施例得到了从实时传输协议语音包中恢复时间对 齐标志的发明创造。 据此, 媒体网关从语音包获得了其时间对齐标志, 并以此 进行信源译码, 提高了译码的准确率, 得到了更高质量的语音质量。  According to the above quantity relationship, the present embodiment obtains the invention of recovering the time alignment flag from the real-time transport protocol voice packet. Accordingly, the media gateway obtains its time alignment flag from the voice packet, and performs source decoding to improve the decoding accuracy and obtain higher quality voice quality.
如图 8所示, 为了对上述恢复时间对齐标志的静音指示帧进行信源译码, 本发明的实施例还提供了一种封装语音后信源译码的系统, 包括:  As shown in FIG. 8, in order to perform source decoding on the mute indication frame of the recovery time alignment flag, an embodiment of the present invention further provides a system for encapsulating a voice after source decoding, including:
媒体网关 801和基站 802,  Media gateway 801 and base station 802,
所述基站 802 , 用于: 将移动台发送的数据封装为实时传输协议语音包并 送到所述媒体网关;  The base station 802 is configured to: encapsulate the data sent by the mobile station into a real-time transport protocol voice packet and send the data packet to the media gateway;
所述媒体网关 801 , 用于: 从实时传输协议语音包中读取数据帧, 确定实 时传输协议语音包中当前数据帧类型是否为静音指示帧, 如果是, 则确定在预 定时间段内收到的数据帧类型,  The media gateway 801 is configured to: read a data frame from a real-time transport protocol voice packet, determine whether a current data frame type in the real-time transport protocol voice packet is a mute indication frame, and if yes, determine to receive the data frame within a predetermined time period. Data frame type,
如果在预定时间段内在所述静音指示帧之前的一帧的数据帧类型是语音 帧, 将所述静音指示帧的时间对齐标志赋值为 0, 如果在预定时间段内在所述 静音指示帧之前没有收到数据帧, 将所述静音指示帧的时间对齐标志赋值为 1,  If the data frame type of one frame before the mute indication frame is a speech frame within a predetermined time period, the time alignment flag of the mute indication frame is assigned a value of 0, if there is no previous mute indication frame within a predetermined time period Receiving a data frame, assigning a time alignment flag of the mute indication frame to 1,
根据所述时间对齐标志 0或 1对所述静音指示帧进行信源译码。  Source decoding is performed on the mute indication frame according to the time alignment flag 0 or 1.
经过上述实施例的处理过程,从移动台传输到基站的过程中没有被送到媒 体网关的静音指示帧时间对齐标志就被恢复了, 并且根据所述时间对齐标志, 可以在后续的信源译码过程中对静音指示帧进行信源译码, 减少了因为 TAF 参数不准而引起的语音损伤, 提高了 IP话的通话质量。  Through the processing of the above embodiment, the mute indication frame time alignment flag that is not sent to the media gateway during transmission from the mobile station to the base station is restored, and according to the time alignment flag, the subsequent source translation can be performed. During the code process, the source decoding of the mute indication frame is performed, which reduces the speech damage caused by the inaccurate TAF parameter, and improves the call quality of the IP message.
其中, 如图 9所示, 在上述实施例的基础上, 根据的 RTP语音包中的语 音帧和静音指示帧有效值数量差别很大,通过在媒体网关增加判断其固定位置 上的值是否恒值的静音指示帧确定设备, 可以得到下述实施例:  As shown in FIG. 9, on the basis of the foregoing embodiment, the number of valid values of the voice frame and the mute indication frame in the RTP voice packet is greatly different, and it is determined whether the value at the fixed position is constant by increasing in the media gateway. The value of the mute indicates the frame determining device, and the following embodiments can be obtained:
所述媒体网关还包括: 静音指示帧确定设备 901 ,  The media gateway further includes: a mute indication frame determining device 901,
所述静音指示帧确定设备 901 , 用于: 确定当前的所述实时传输协议语音 包中当前帧的固定位置上的值是否是恒值,如果是, 则将所述帧作为静音指示 帧。 经过本实施例,实现了根据语音帧和静音指示帧有效值数量的不同对于静 音指示帧的识别, 并进而实现了对所述静音指示帧的信源译码。 The mute indication frame determining device 901 is configured to: determine whether a value at a fixed position of a current frame in the current real-time transport protocol voice packet is a constant value, and if yes, use the frame as a mute indication frame. After the embodiment, the recognition of the mute indication frame is performed according to the difference between the number of valid values of the voice frame and the mute indication frame, and further, the source decoding of the mute indication frame is implemented.
由于按照 RTP协议标准所规定的时间间隔, 标识" SP = 1 "的 SP帧与标识 "SP = 0,,的第一个 SID帧之间的时间间隔是 20毫秒, SP帧后的第一个 SID帧 的 TAF = 0 , 而每个 TAF = 1的 SID帧的长度是 480毫秒, 可以将上述各个实 施例中的所述预定时间段的长度为 20毫秒。 当然如果协议规定的所述各个数 据帧的长度发生了变化或者技术方案本身的其他需要,所述预定时间段的长度 可以进行相应调整, 这种变化没有超出本发明的保护范围。  Due to the time interval specified by the RTP protocol standard, the time interval between the SP frame identifying "SP = 1" and the first SID frame identified by "SP = 0," is 20 milliseconds, the first after the SP frame. The TID of the SID frame is 0, and the length of the SID frame of each TAF=1 is 480 milliseconds, and the length of the predetermined time period in each of the above embodiments may be 20 milliseconds. Of course, if the protocol specifies the respective data. The length of the frame has changed or other needs of the technical solution itself, and the length of the predetermined time period can be adjusted accordingly, and the change does not exceed the protection scope of the present invention.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本发明 可借助软件加必需的通用硬件平台的方式来实现, 当然也可以通过硬件,但很 多情况下前者是更佳的实施方式。基于这样的理解, 本发明的技术方案本质上 或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机 软件产品存储在一个存储介质中, 包括若干指令用以使得一台计算机设备 (可 以是个人计算机, 服务器, 或者网络设备等)执行本发明各个实施例所述的方 法。  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 general hardware platform, and of course, can also be through hardware, but in many cases, the former is a better implementation. the way. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a A computer device (which may be a personal computer, server, or network device, etc.) performs the methods described in various embodiments of the present invention.
以上所述的本发明实施方式, 并不构成对本发明保护范围的限定。任何在 本发明的精神和原则之内所作的修改、等同替换和改进等, 均应包含在本发明 的保护范围之内。  The embodiments of the present invention described above are not intended to limit the scope of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims

权 利 要 求 Rights request
1、 一种恢复时间对齐标志的方法, 其特征在于, 包括步骤:  A method for recovering a time alignment flag, comprising the steps of:
从实时传输协议语音包中获取数据帧;  Obtaining a data frame from a real-time transport protocol voice packet;
如果确定当前数据帧类型是静音指示帧 ,且在预定时间段内在所述静音指 示帧之前的一帧的数据帧类型是语音帧,则将所述静音指示帧时间对齐标志赋 为第一值; 或者,  If it is determined that the current data frame type is a mute indication frame, and the data frame type of one frame before the mute indication frame is a speech frame within a predetermined time period, assigning the mute indication frame time alignment flag to a first value; Or,
如果确定当前数据帧类型是静音指示帧 ,且在预定时间段内在所述静音指 示帧之前没有收到数据帧, 则将所述静音指示帧时间对齐标志赋为第二值。  If it is determined that the current data frame type is a mute indication frame and the data frame is not received before the mute indication frame within a predetermined time period, the mute indication frame time alignment flag is assigned a second value.
2、 如权利要求 1所述的恢复时间对齐标志的方法, 其特征在于, 所述确 定当前数据帧类型是静音指示帧, 包括:  2. The method of recovering a time alignment flag according to claim 1, wherein the determining that the current data frame type is a mute indication frame comprises:
如果所述当前数据帧的固定位置上的值是恒值,则所述当前数据帧类型为 静音指示帧。  If the value at the fixed position of the current data frame is a constant value, the current data frame type is a mute indication frame.
3、 如权利要求 1所述的恢复时间对齐标志的方法, 其特征在于, 所述预 定时间段的长度为 20毫秒。  3. The method of recovering a time alignment flag according to claim 1, wherein the predetermined time period has a length of 20 milliseconds.
4、 如权利要求 1-3任一项所述的恢复时间对齐标志的方法, 其特征在于, 所述第一值为 0; 所述第二值为 1。  The method of recovering a time alignment flag according to any one of claims 1 to 3, wherein the first value is 0; and the second value is 1.
5、 一种恢复时间对齐标志的方法, 其特征在于, 包括:  5. A method for recovering a time alignment flag, comprising:
从实时传输协议语音包中获取数据帧;  Obtaining a data frame from a real-time transport protocol voice packet;
如果实时传输协议语音包中当前数据帧类型为静音指示帧,将在预定时间 段内收到的所述静音指示帧的时间对齐标志赋值为 0或 1。  If the current data frame type in the real-time transport protocol voice packet is a mute indication frame, the time alignment flag of the mute indication frame received within a predetermined time period is assigned a value of 0 or 1.
6、 一种信源译码的方法, 其特征在于, 包括:  6. A method of source decoding, characterized in that it comprises:
从实时传输协议语音包中获取数据帧;  Obtaining a data frame from a real-time transport protocol voice packet;
如果实时传输协议语音包中当前数据帧类型为静音指示帧,将在预定时间 段内收到的所述静音指示帧的时间对齐标志赋值为 0或 1 ;  If the current data frame type in the real-time transport protocol voice packet is a mute indication frame, the time alignment flag of the mute indication frame received within a predetermined time period is assigned a value of 0 or 1;
根据所述时间对齐标志对所述静音指示帧进行信源译码。  And performing source decoding on the mute indication frame according to the time alignment flag.
7、 一种信源译码的方法, 其特征在于, 包括:  7. A method of source decoding, characterized in that it comprises:
从实时传输协议语音包中获取数据帧;  Obtaining a data frame from a real-time transport protocol voice packet;
如果当前数据帧类型是静音指示帧,且在预定时间段内在所述静音指示帧 之前的一帧的数据帧类型是语音帧,则将所述静音指示帧时间对齐标志赋值为 0, If the current data frame type is a mute indication frame, and the data frame type of one frame before the mute indication frame is a speech frame within a predetermined time period, the mute indication frame time alignment flag is assigned 0,
如果当前数据帧类型是静音指示帧,且在预定时间段内在所述静音指示帧 之前没有收到数据帧, 则将所述静音指示帧时间对齐标志赋值为 1 ;  If the current data frame type is a mute indication frame, and the data frame is not received before the mute indication frame within a predetermined time period, the mute indication frame time alignment flag is assigned a value of 1;
根据所述时间对齐标志对所述静音指示帧进行信源译码。  And performing source decoding on the mute indication frame according to the time alignment flag.
8、 如权利要求 7所述的信源译码的方法, 其特征在于, 所述确定当前数 据帧类型是静音指示帧, 包括:  The method for decoding a source according to claim 7, wherein the determining that the current data frame type is a mute indication frame comprises:
如果所述当前数据帧的固定位置上的值是恒值,则所述当前数据帧类型为 静音指示帧。  If the value at the fixed position of the current data frame is a constant value, the current data frame type is a mute indication frame.
9、 如权利要求 7所述的信源译码的方法, 其特征在于, 所述预定时间段 的长度为 20毫秒。  9. The method of claim 7, wherein the predetermined time period has a length of 20 milliseconds.
10、 一种应用于信源译码的媒体网关, 其特征在于, 包括:  10. A media gateway applied to source decoding, characterized in that:
信源译码单元; 业务帧类型确定单元; 恢复时间对齐标志单元; 数据帧读取单元, 用于: 从实时传输协议语音包中获取数据帧并发送; 静音指示帧确定单元, 用于: 接收到所述数据帧后确定当前数据帧类型是 否为静音指示帧, 如果是, 将所述静音指示帧送到所述信源译码单元, 生成确 定指令并送到所述业务帧类型确定单元;  a source decoding unit; a service frame type determining unit; a recovery time alignment flag unit; a data frame reading unit, configured to: obtain a data frame from the real-time transport protocol voice packet and send the data frame; and the mute indication frame determining unit is configured to: receive Determining whether the current data frame type is a mute indication frame after the data frame, if yes, sending the mute indication frame to the source decoding unit, generating a determination instruction, and sending the determination instruction to the service frame type determining unit;
业务帧类型确定单元, 用于: 根据所述静音指示帧确定单元生成的确定指 令确定在预定时间段内收到的数据帧类型,  a service frame type determining unit, configured to: determine, according to the determining instruction generated by the mute indication frame determining unit, a data frame type received within a predetermined time period,
如果在预定时间段内在所述静音指示帧之前的一帧的数据帧类型是语音 帧, 生成赋 0指令并送到恢复时间对齐标志单元,  If the data frame type of one frame before the mute indication frame is a voice frame within a predetermined time period, generating a 0-instruction instruction and sending it to the recovery time alignment flag unit,
如果在预定时间段内在所述静音指示帧之前没有收到数据帧, 生成赋 1 指令并送到恢复时间对齐标志单元;  If the data frame is not received before the mute indication frame within the predetermined time period, generating an instruction 1 and sending it to the recovery time alignment flag unit;
恢复时间对齐标志单元, 用于: 根据所述业务帧类型确定单元生成的赋 0 指令将所述静音指示帧时间对齐标志赋值为 0; 或者,  a recovery time alignment flag unit, configured to: assign a value of 0 to the mute indication frame time alignment flag according to the 0-instruction generated by the service frame type determining unit; or
根据所述业务帧类型确定单元生成的赋 1 指令将所述静音指示帧时间对 齐标志赋值为 1 , 并将所述时间对齐标志 0或 1送到所述信源译码单元;  And assigning the mute indication frame time alignment flag to 1 according to the instruction 1 generated by the service frame type determining unit, and sending the time alignment flag 0 or 1 to the source decoding unit;
信源译码单元, 用于: 根据所述时间对齐标志对所述静音指示帧进行信源 译码。  And a source decoding unit, configured to: perform source decoding on the mute indication frame according to the time alignment flag.
11、 如权利要求 10所述的信源译码的媒体网关, 其特征在于, 所述静音 指示帧确定单元包括: 静音指示帧确定子单元和确定指令发送子单元, 所述静音指示帧确定子单元, 用于: 确定所述当前数据帧的固定位置上的 值是否是恒值, 如果是, 则将所述静音指示帧送到信源译码单元, 生成发送指 令并送到确定指令发送子单元; 11. The source decoding media gateway of claim 10, wherein said mute The indication frame determining unit includes: a mute indication frame determining subunit and a determining instruction transmitting subunit, the mute indicating frame determining subunit, configured to: determine whether a value at a fixed position of the current data frame is a constant value, if Sending the mute indication frame to the source decoding unit, generating a transmission instruction and sending it to the determination instruction transmission subunit;
所述确定指令发送子单元, 用于: 根据所述发送指令生成确定指令并送到 业务帧类型确定单元。  The determining instruction sending subunit is configured to: generate a determining instruction according to the sending instruction and send the determining instruction to the service frame type determining unit.
12、 一种应用于信源译码的系统, 其特征在于, 包括:  12. A system for source decoding, characterized in that it comprises:
媒体网关和基站,  Media gateway and base station,
所述基站, 用于: 将移动台发送的数据封装为实时传输协议语音包并送到 所述媒体网关;  The base station is configured to: encapsulate the data sent by the mobile station into a real-time transport protocol voice packet and send the data to the media gateway;
所述媒体网关, 用于: 从实时传输协议语音包中读取数据帧, 确定当前数 据帧类型是否为静音指示帧,如果是, 则确定在预定时间段内收到的数据帧类 型,  The media gateway is configured to: read a data frame from a real-time transport protocol voice packet, determine whether the current data frame type is a mute indication frame, and if yes, determine a data frame type received within a predetermined time period,
如果在预定时间段内在所述静音指示帧之前的一帧的数据帧类型是语音 帧, 将所述静音指示帧的时间对齐标志赋值为 0, 如果在预定时间段内在所述 静音指示帧之前没有收到数据帧, 将所述静音指示帧的时间对齐标志赋值为 1,  If the data frame type of one frame before the mute indication frame is a speech frame within a predetermined time period, the time alignment flag of the mute indication frame is assigned a value of 0, if there is no previous mute indication frame within a predetermined time period Receiving a data frame, assigning a time alignment flag of the mute indication frame to 1,
根据所述时间对齐标志 0或 1对所述静音指示帧进行信源译码。  Source decoding is performed on the mute indication frame according to the time alignment flag 0 or 1.
13、 如权利要求 12所述的信源译码系统, 其特征在于, 所述媒体网关还 包括: 静音指示帧确定设备,  The source decoding system according to claim 12, wherein the media gateway further comprises: a mute indication frame determining device,
所述静音指示帧确定设备, 用于: 确定当前的所述实时传输协议语音包中 当前帧的固定位置上的值是否是恒值, 如果是, 则将所述帧作为静音指示帧。  The mute indication frame determining device is configured to: determine whether a value at a fixed position of a current frame in the current real-time transport protocol voice packet is a constant value, and if yes, use the frame as a mute indication frame.
PCT/CN2008/072387 2007-09-17 2008-09-17 The method for resuming the time alignment flag, and the information source encoding method, device and system WO2009036704A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710154115.6A CN101394228B (en) 2007-09-17 2007-09-17 Method for restoring time alignment note, signal source decoding method, apparatus and system
CN200710154115.6 2007-09-17

Publications (1)

Publication Number Publication Date
WO2009036704A1 true WO2009036704A1 (en) 2009-03-26

Family

ID=40467530

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/072387 WO2009036704A1 (en) 2007-09-17 2008-09-17 The method for resuming the time alignment flag, and the information source encoding method, device and system

Country Status (2)

Country Link
CN (1) CN101394228B (en)
WO (1) WO2009036704A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114448957A (en) * 2022-01-28 2022-05-06 上海小度技术有限公司 Audio data transmission method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1483257A (en) * 2000-01-10 2004-03-17 �����ɷ� Method and device for supporting adaptive multi rate (AMR) data in cdma communication system
US7046990B2 (en) * 1999-12-28 2006-05-16 Telecom Italia Lab S.P.A. Method for detecting access to controlled areas and related system
US7050439B1 (en) * 1997-12-31 2006-05-23 Nokia Networks Oy Method for performing discontinuous transmission in an asynchronous transfer mode

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7050439B1 (en) * 1997-12-31 2006-05-23 Nokia Networks Oy Method for performing discontinuous transmission in an asynchronous transfer mode
US7046990B2 (en) * 1999-12-28 2006-05-16 Telecom Italia Lab S.P.A. Method for detecting access to controlled areas and related system
CN1483257A (en) * 2000-01-10 2004-03-17 �����ɷ� Method and device for supporting adaptive multi rate (AMR) data in cdma communication system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114448957A (en) * 2022-01-28 2022-05-06 上海小度技术有限公司 Audio data transmission method and device
CN114448957B (en) * 2022-01-28 2024-03-29 上海小度技术有限公司 Audio data transmission method and device

Also Published As

Publication number Publication date
CN101394228B (en) 2013-01-23
CN101394228A (en) 2009-03-25

Similar Documents

Publication Publication Date Title
JP5084842B2 (en) Improved header compression in wireless communication networks
EP1371191B1 (en) Method and apparatus for providing multiple quality of service levels in a wireless packet data services connection
JP4676534B2 (en) Traffic generation in the inactive user plane
US7706389B2 (en) Method for implementing the interaction of the IWF service data
JP5852104B2 (en) Codec deployment using in-band signals
WO2014110773A1 (en) Data packet processing method and device
WO2007128217A1 (en) Method of internet protocol(ip) message transmission, negotiated bandwidth saving capability and saving network bandwidth
WO2011153842A1 (en) Message transmission method between media gateways, media gateway and radio communication system thereof
RU2766274C2 (en) Hybrid rtp payload format
WO2009036704A1 (en) The method for resuming the time alignment flag, and the information source encoding method, device and system
KR101053809B1 (en) Method and apparatus for resynchronization of point-to-point protocol sessions for inter-pdsn handoffs
EP1724985A2 (en) Portable terminal, streaming communication system, streaming communication method, and streaming communication program
CN100542177C (en) A kind of machinery of consultation and system
WO2010097001A1 (en) Data service processing method, system and access network
CN101742560A (en) Data transmission method, data transmission device and network system
US8649371B2 (en) Gateway device, communication system, and communication method
CN101296205B (en) Method, equipment and system for implementing transparent transmission in IP network or hybrid network
WO2008086748A1 (en) A-interface-based mobile communication method,system and equipment
CN101365189B (en) Method and system implementing speech passing through in mobile network
WO2015096450A1 (en) Method, apparatus and system for obtaining media service parameter instruction
WO2009036698A1 (en) A method, a system and a device for data transmission
WO2011054321A1 (en) Method and apparatus for transmitting dual tone multiple frequency tones
US8295283B2 (en) Method, system, and device for transmitting TRAU frame over a packet network
CN117729186A (en) GNODEB-based VONR voice forwarding system, method, equipment and medium
WO2023195986A1 (en) Hybrid rohc-rtp stack for small packet applications

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: 08800882

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: 08800882

Country of ref document: EP

Kind code of ref document: A1