WO2015192532A1 - Method and apparatus for improving handover voice quality - Google Patents

Method and apparatus for improving handover voice quality Download PDF

Info

Publication number
WO2015192532A1
WO2015192532A1 PCT/CN2014/087719 CN2014087719W WO2015192532A1 WO 2015192532 A1 WO2015192532 A1 WO 2015192532A1 CN 2014087719 W CN2014087719 W CN 2014087719W WO 2015192532 A1 WO2015192532 A1 WO 2015192532A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame
voice
significant
handover
adaptive codebook
Prior art date
Application number
PCT/CN2014/087719
Other languages
French (fr)
Chinese (zh)
Inventor
罗小冬
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015192532A1 publication Critical patent/WO2015192532A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and apparatus for improving handover voice quality.
  • Switching is a basic function in wireless communication networks.
  • the user starts to stay in the A cell and switches to the B cell based on the wireless environment.
  • the user equipment User Equipment, UE for short
  • switches from the cell A (BTSA, Base Transceiver Station) to the cell B (BTSB).
  • BTSB Base Transceiver Station
  • CS Circuit Switched Domain
  • FIG. 1 is a schematic diagram of a handover scheme in the prior art.
  • the Base Station Controller receives the measurement information and determines the function of switching.
  • the BSC sends a handover command (Handover Command, referred to as HO CMD) to the source base station BTS.
  • HO CMD handover command
  • the source base station After receiving the handover command, the source base station sends a handover command to the MS.
  • the MS After receiving the handover command, the MS sends the HO Access to the target base station. ), the uplink access process.
  • the target base station After receiving the HO Access message of the MS, the target base station sends a HO Detect (Handover Detection Message) to the BSC, and performs an uplink synchronization process with the MS to send a physical message to the MS. After the MS and the target base station complete the uplink access and synchronization functions, The message that the handover is completed is sent to the BSC; the handover process is over.
  • HO Detect Handover Detection Message
  • the CS voice service is a basic service of the wireless communication network and a real-time service. During the call, if the voice data is not transmitted due to the switching function, the quality of the voice will be seriously affected; and due to the real-time nature of the voice, the retransmission cannot be compensated.
  • the embodiment of the invention provides a method and a device for improving the quality of handover voice, so as to at least solve the problem that the voice data cannot be transmitted during the handover process of the related technology cell.
  • the present invention provides a method for improving handover voice quality, including:
  • Non-important frames refer to non-speech frames or speech frames that do not carry voice information.
  • determining whether a non-significant frame is detected within the set time is specifically:
  • determining whether a data frame is a non-significant frame includes:
  • the adaptive codebook gain of the data frame is extracted, according to whether the adaptive codebook gain is a non-significant frame for the data frame. Make a judgment.
  • determining, according to the adaptive codebook gain, whether the data frame is a non-significant frame specifically:
  • the adaptive codebook gain is greater than a preset threshold, determining that the data frame is an important frame; wherein the important frame refers to a voice frame carrying voice information;
  • the adaptive codebook gain is less than or equal to a preset threshold, it is determined that the data frame is a non-significant frame.
  • determining whether a data frame is a non-significant frame includes:
  • the DTX When the DTX is not continuously transmitted and the data frame is a non-speech frame, it is determined that the data frame is a non-significant frame.
  • the present invention provides an apparatus for improving handover voice quality, including:
  • a command receiving module configured to receive a handover command sent by the base station controller BSC;
  • the switching module is configured to determine whether a non-significant frame is detected within the set time, and if yes, send a handover command to the mobile station MS to perform handover; if not, send a handover command to the mobile station MS after the set time ends Switching; wherein the non-important frame refers to a non-speech frame or a speech frame that does not carry voice information.
  • the switching module determines whether a non-important frame of consecutive M frames is detected within a set time.
  • the switching module determines whether a data frame is a non-significant frame, specifically:
  • the adaptive codebook gain of the data frame is extracted, according to whether the adaptive codebook gain is a non-significant frame for the frame signal. Make a judgment.
  • the switching module is configured to determine whether the data frame is a non-significant frame according to the adaptive codebook gain, specifically:
  • the adaptive codebook gain is greater than a preset threshold, determining that the frame signal is an important frame; wherein the important frame refers to a voice frame carrying voice information;
  • the adaptive codebook gain is less than or equal to a preset threshold, it is determined that the frame signal is a non-significant frame.
  • the switching module determines whether a data frame is a non-significant frame, specifically:
  • the frame signal is a non-significant frame.
  • the present invention switches at the moment when the noise signal is located, thereby improving the quality of the switched voice.
  • FIG. 1 is a schematic diagram of a handover process in the prior art
  • FIG. 2 is a schematic diagram of a handover process in an embodiment of the present invention.
  • FIG. 3 is a flowchart of a method for improving handover voice quality according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of another method for improving handover voice quality according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an apparatus for improving handover voice quality according to an embodiment of the present invention.
  • the signals used in voice services can usually be divided into two types of signals, one is a voice signal, and the other is a noise signal.
  • the noise signal is also often referred to as a comfort noise signal.
  • Voice signals are basic information in the business process.
  • the title is referred to as an important frame, specifically: an important frame refers to a voice frame carrying voice information; a comfort noise signal is a signal during a silent period during a call, and may generally be a mute signal or an environmental noise signal.
  • a non-significant frame and specifically, a non-important frame refers to a non-voice frame or a voice frame that does not carry voice information.
  • the source base station when the source base station receives the handover command, it can send a handover command to the MS, and then start to send the handover procedure.
  • 2 is a schematic diagram of an improved handover scheme. The difference from the existing handover technology is that after the source base station receives the handover command of the BSC, the source base station does not immediately perform the handover process, but adds a function, that is, checks whether the uplink user plane data is in an unimportant state, if it is detected.
  • the handover is initiated; otherwise, the handover is initiated for a certain period of time, and the time point of the handover is delayed from the portion of the voice signal to the portion of the noise signal, which greatly enhances the perception of voice during the handover, thereby improving Voice quality plays a big role in the application of CS voice.
  • the present invention is directed to this idea.
  • This patent changes the switching time to the time of the user plane data noise signal, so that the whole switching occurs mainly in the noise part, which greatly improves the voice perception of the switching.
  • an embodiment of the present invention relates to a method for improving handover voice quality, including:
  • Step S301 receiving a handover command sent by the base station controller BSC;
  • Step S302 determining whether a non-significant frame is detected within the set time, and if yes, transmitting a handover command to the mobile station MS to perform handover; if not, transmitting a handover command to the mobile station MS after the set time is over, Switch.
  • the timer T0 is set.
  • the detection process of the important frame and the non-important frame is performed; the detection is mainly performed based on the data of the user plane.
  • the state processing of the important state and the non-important state is performed. After detecting the important frame or the non-important frame, it is necessary to set the state and perform the state conversion processing.
  • M and N are integers greater than 1, which are preset values. M and N may be empirical values, or may be obtained through simulation tests, or may be obtained after several trial adjustments after the simulation test is obtained.
  • the effect of switching when in a non-essential state is that since there is a false detection in the detection, by repeatedly detecting when the multi-frame data is a non-significant frame, the accuracy can be improved, and the maximum guarantee is in the non-speech. Switch when information is available.
  • the switchover includes the following three cases:
  • an implementation scheme for improving handover voice quality by using AMR Adaptive Multi Rate
  • receiving data of an MS ie, an application in an uplink direction
  • MS ie, an application in an uplink direction
  • Step S401 the source base station receives a handover command of the BSC.
  • the BSC decides that the MS needs to switch to other cells.
  • the source base station sets a timer T0 for the state detection of the handover.
  • the setting of T0 can be considered within 1 s, and if it is too long, it also has some influence on the switching delay.
  • the significance of the timer T0 is whether the source base station detects the non-important state during the handover in the T0 time, and if it is detected, performs handover; if it is not detected, it performs handover after the T0 expires.
  • step S402 the source base station determines whether uplink DTX (discontinuous transmission) is turned on to determine a different detection and discrimination process. If the uplink DTX is off, the uplink MS always sends the SP frame (that is, the voice frame indicated by the bit on the network side. Since the voice frame may be a voice frame including a voice message, or may be a voice frame that does not include voice information, If the voice frame may be an important frame or a non-significant frame, go to step S405; if the uplink DTX is turned on, the uplink MS outputs the code according to the SP frame (speech frame) and the silence frame (SID, Silence Descriptor). If it is further determined that the SP frame or the silence frame is transmitted, the process proceeds to step S403.
  • the SP frame speech frame
  • SID Silence Descriptor
  • step S403 it is determined whether the frame is an SP frame; if yes, the process goes to step S405, and if no, the process goes to step S404.
  • the user plane on the base station side may receive the SP frame, the SID frame, and the Nodata frame (empty frame).
  • the non-important frame other non-SP frame types need to be considered.
  • For the voice frame go to S404.
  • Step S404 the received SID frame and the Nodata frame are discriminated as non-important frames.
  • the SID frame type includes SID_First (SID start frame) and SID_Update frame (SID update frame), which are classified as non-important frames; if the uplink does not receive valid data, the decoding result is Nodata frame, which is also classified as non- Important frame.
  • Step S405 when it is determined that the uplink DTX is off, or the uplink DTX is turned on, and the SP frame is received, the processing of this step is performed to extract the adaptive codebook gain of the data frame.
  • the AMR speech algorithm is used, and eight different rates need to be considered.
  • the extraction method of each rate is slightly different.
  • the adaptive codebook gain can be directly in the parameter field of the encoding. Extraction; other rate, adaptive codebook
  • the gain uses a predetermined parameter in conjunction with the fixed codebook gain, and the adaptive codebook gain needs to be further extracted by the predetermined parameter.
  • Step S406 determining whether the data frame is a non-significant frame or an important frame according to the adaptive codebook gain.
  • the adaptive codebook gain is the gain of the correlation of the speech signal.
  • the speech signal has a large correlation with the speech signal relative to the comfort noise signal, and the correlation of the noise signal is small. Therefore, the discrimination of non-significant frames can be performed by the adaptive codebook gain.
  • the adaptive codebook gain is greater than a preset threshold, the data frame is determined to be an important frame; when the adaptive codebook gain is less than or equal to a preset threshold, the data frame is determined to be a non-significant frame.
  • the preset threshold value is obtained by simulation, and can also be obtained according to experience.
  • step S407 the processing of the non-critical state and the important state is performed.
  • the non-essential state is that when a non-important frame of consecutive N frames is detected, it is in an unimportant state; likewise, if a continuous N frame important frame is detected, it is an important state. Set to important when starting a call.
  • step S408 a handover delay determination process is performed. If an unimportant state is detected within T0, a handover command is sent to the MS to switch. The purpose of this is to switch the uplink switching point as much as possible during non-speech. If no non-significant state is detected and T0 does not time out, the previous detection process continues. If no non-critical state is detected within the time T0 and has timed out, then a handover command is sent to the MS for detection.
  • Step S409 the source base station sends a handover command to the MS.
  • the MS performs a handover access procedure to the target base station, and the subsequent handover process is exactly the same as that of FIG. 1, and will not be described in detail.
  • Step S410 ending.
  • the next embodiment is an implementation scheme of switching voice quality by EFR (Enhanced Full Rate Speed Encoding), which is described by receiving data in the BSC direction, that is, the downlink direction.
  • EFR Enhanced Full Rate Speed Encoding
  • Step S501 the source base station receives a handover command of the BSC.
  • the BSC decides that the MS needs to switch to other cells.
  • the source base station sets a timer T0 for the state detection of the handover.
  • the setting of T0 can be considered within 1 s, and if it is too long, it also has some influence on the switching delay.
  • the significance of the timer T0 is whether the source base station detects the non-essential state during the handover in the T0 time. If it is detected, it will be switched; if it is not detected, it will be switched after T0 expires.
  • Step S502 the source base station determines whether the downlink DTX (Discontinuous Transmission) is turned on to determine a different detection and discrimination process. If the downlink DTX is off, the BSC always sends the SP frame, then the step is changed. S505; If the downlink DTX is turned on, go to step S503.
  • the downlink BSC performs corresponding VAD (Voice Activity Detection) discrimination according to the voice algorithm, and outputs an SP frame and a silence frame (SID frame).
  • VAD Voice Activity Detection
  • the output SP frame may also be an important frame or a non-important frame, and the SID frame is a non-significant frame.
  • Step S503 further determining whether the data frame is an SP frame; if yes, proceeding to step S505, and if no, proceeding to step S504.
  • the user plane on the base station side may receive two types of data, an SP frame and a SID frame.
  • Step S504 determining the received SID frame as a non-significant frame.
  • the non-important frame of the EFR algorithm does not include a data type such as SID_FIRST, which is mainly a SID frame.
  • Step S505 when it is determined that the downlink DTX is off, or the downlink DTX is turned on, and the SP frame is received, the processing of this step is performed, and the adaptive codebook gain of the data frame is extracted.
  • the EFR algorithm is a single rate processing that requires extraction of the adaptive codebook gain in 244 bits of the EFR.
  • Step S506 determining whether the data frame is a non-significant frame according to the adaptive codebook gain.
  • the adaptive codebook gain is the gain of the correlation of the speech signal.
  • the speech signal has a large correlation with respect to the comfort noise signal, and the correlation of the noise signal is small. Therefore, the discrimination of non-significant frames can be performed by the adaptive codebook gain.
  • setting a threshold to determine whether the frame is an important frame or a non-significant frame specifically: when the adaptive codebook gain is greater than a preset threshold, determining that the data frame is an important frame; When the adaptive codebook gain is less than or equal to a preset threshold, it is determined that the data frame is a non-significant frame.
  • the preset threshold value is obtained by simulation, and can also be obtained according to experience.
  • step S507 the processing of the non-critical state and the important state is performed.
  • the non-important state that is, the non-important frame in which consecutive N frames are detected is in a non-important state, and the simultaneous detection of consecutive N-frame important frames is an important state. Set to important when starting a call.
  • a handover delay determination process is performed. If an unimportant state is detected within T0, a handover command is sent to the MS to switch. The purpose of this is to switch the uplink switching point as much as possible during non-speech. If no non-significant state is detected and T0 is not exceeded, the previous detection process is continued. If no non-critical state is detected within T0 and has timed out, then a handover command is sent to the MS to switch.
  • Step S509 the source base station sends a handover command to the MS.
  • the MS performs a handover access procedure to the target base station, and the subsequent handover process is exactly the same as that in FIG. 1, and this step is not described in detail.
  • Step S510 ending.
  • the present invention also relates to an apparatus for improving handover voice quality by implementing the foregoing method, including:
  • a command receiving module configured to receive a handover command sent by the base station controller BSC;
  • the switching module is configured to determine whether a non-significant frame is detected within the set time, and if yes, send a handover command to the mobile station MS to perform handover; if not, send a handover command to the mobile station MS after the set time ends Switching; wherein the non-important frame refers to a non-speech frame or a speech frame that does not carry voice information.
  • the switching module determines whether a continuous M frame non-significant frame is detected within a set time.
  • the switching module determines whether a certain frame signal is a noise signal, specifically:
  • the discontinuous transmission DTX When the discontinuous transmission DTX is turned off, or the discontinuous transmission DTX is turned on, and the data frame is a voice frame, the adaptive codebook gain of the voice signal is extracted, and the frame code is judged to be an unimportant frame according to the adaptive codebook gain. .
  • the switching module determines whether the data frame is a non-important frame according to the adaptive codebook gain, specifically:
  • the adaptive codebook gain is greater than a preset threshold, determining that the data frame is an important frame; wherein the important frame refers to a voice frame carrying voice information;
  • the adaptive codebook gain is less than or equal to a preset threshold, it is determined that the data frame is a non-significant frame.
  • the switching module determines whether a data frame is a non-significant frame, specifically:
  • the DTX When the DTX is not continuously transmitted and the data frame is a non-speech frame, it is determined that the data frame is a non-significant frame.
  • the method and apparatus for improving the quality of the switched voice provided by the embodiments of the present invention have the following beneficial effects: by delaying the switching time, switching is performed at the moment when the noise signal is located, thereby improving the voice quality of the handover.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A method and apparatus for improving handover voice quality, the method comprising: receiving a handover command sent by a base station controller BSC (S301); judging within a set period of time whether or not a non-critical frame is detected; if so, sending the handover command to a mobile station MS for handover; and if not, sending the handover command to the mobile station MS for handover after the set period of time expires; wherein the non-critical frame refers to a non-voice frame or a voice frame carrying no voice information (S302). Handover is performed at the moment of a noise signal by delaying handover time, thereby improving handover voice quality.

Description

提升切换语音质量的方法及装置Method and device for improving switching voice quality 技术领域Technical field
本发明涉及通信技术领域,特别是涉及一种提升切换语音质量的方法及装置。The present invention relates to the field of communications technologies, and in particular, to a method and apparatus for improving handover voice quality.
背景技术Background technique
在无线通信网络中,切换是一个基本的功能。用户开始还是在A小区驻留,基于无线环境切换到B小区,用户设备(User Equipment,简称为UE)就会从小区A(BTSA,Base Transceiver Station)切换到小区B(BTSB)。对于全球移动通信系统(obal System For Mobile Communications,简称为GSM)无线通信系统而言,实时电路型业务(Circuit Switched Domain,简称为CS)语音业务的切换是硬切换的过程。当用户A小区切换到小区B时,由于移动台(Mobile Station,简称为MS)与小区B的同步需要一段时间,而同步过程用户的数据无法通过MS传输给GSM网络。此时用户在进行通话的数据将会弃掉。切换的过程可以参见示意图1,图1是现有技术的一种切换方案示意图。基站控制器(Base Station Controller,简称为BSC)通过接收到测量信息,决策需要进行切换的功能。BSC则向源基站BTS发送切换命令(Handover Command,简称为HO CMD),源基站收到切换命令后,向MS发送切换命令;MS收到切换命令之后,向目标基站发送HO Access(切换接入),进行上行接入过程。目标基站收到了MS的HO Access消息后,向BSC发送HO Detect(切换检测消息),并且与MS进行上行同步过程,向MS发送物理消息;当MS和目标基站完成了上行接入和同步功能后,向BSC发送切换完成的消息;切换过程就结束了。Switching is a basic function in wireless communication networks. The user starts to stay in the A cell and switches to the B cell based on the wireless environment. The user equipment (User Equipment, UE for short) switches from the cell A (BTSA, Base Transceiver Station) to the cell B (BTSB). For the wireless communication system of the Global System for Mobile Communications (GSM), the switching of the voice service of the Circuit Switched Domain (CS) is a hard handover process. When the user A cell switches to the cell B, it takes a period of time for the mobile station (Mobile Station, MS for short) to synchronize with the cell B, and the data of the synchronization process user cannot be transmitted to the GSM network through the MS. At this point, the data the user is making a call will be discarded. For the process of handover, refer to FIG. 1, which is a schematic diagram of a handover scheme in the prior art. The Base Station Controller (BSC) receives the measurement information and determines the function of switching. The BSC sends a handover command (Handover Command, referred to as HO CMD) to the source base station BTS. After receiving the handover command, the source base station sends a handover command to the MS. After receiving the handover command, the MS sends the HO Access to the target base station. ), the uplink access process. After receiving the HO Access message of the MS, the target base station sends a HO Detect (Handover Detection Message) to the BSC, and performs an uplink synchronization process with the MS to send a physical message to the MS. After the MS and the target base station complete the uplink access and synchronization functions, The message that the handover is completed is sent to the BSC; the handover process is over.
CS语音业务是无线通信网络一种基本的业务,也是一种实时的业务。在进行通话过程中,如果由于切换功能导致语音数据没有进行传输,将会严重影响语音的质量;并且由于语音的实时性,无法进行重传弥补。The CS voice service is a basic service of the wireless communication network and a real-time service. During the call, if the voice data is not transmitted due to the switching function, the quality of the voice will be seriously affected; and due to the real-time nature of the voice, the retransmission cannot be compensated.
发明内容Summary of the invention
本发明实施例提供了一种提升切换语音质量的方法及装置,以至少解决相关技术小区切换过程中导致语音数据无法传输的问题。The embodiment of the invention provides a method and a device for improving the quality of handover voice, so as to at least solve the problem that the voice data cannot be transmitted during the handover process of the related technology cell.
为解决上述技术问题,一方面,本发明提供一种提升切换语音质量的方法,包括:To solve the above technical problem, in one aspect, the present invention provides a method for improving handover voice quality, including:
接收基站控制器BSC发送的切换命令; Receiving a handover command sent by the base station controller BSC;
在设定时间内判断是否检测到非重要帧,如果是,则向移动台MS发送切换命令,进行切换;如果否,则在设定时间结束后向移动台MS发送切换命令,进行切换;其中,非重要帧是指非语音帧或没有携带语音信息的语音帧。Determining whether a non-significant frame is detected within the set time, and if so, transmitting a handover command to the mobile station MS to perform handover; if not, transmitting a handover command to the mobile station MS after the set time ends, and performing handover; Non-important frames refer to non-speech frames or speech frames that do not carry voice information.
可选地,判断在设定时间内是否检测到非重要帧,具体为:Optionally, determining whether a non-significant frame is detected within the set time is specifically:
判断在设定时间内是否检测到连续M帧的非重要帧。It is judged whether or not a non-significant frame of consecutive M frames is detected within the set time.
可选地,判断某一数据帧是否为非重要帧,具体包括:Optionally, determining whether a data frame is a non-significant frame includes:
当不连续发送DTX关闭,或不连续发送DTX打开、且该数据帧为语音帧时,提取数据帧的自适应码本增益,根据所述自适应码本增益对该数据帧是否为非重要帧进行判断。When the discontinuous transmission DTX is turned off, or the discontinuous transmission DTX is turned on, and the data frame is a voice frame, the adaptive codebook gain of the data frame is extracted, according to whether the adaptive codebook gain is a non-significant frame for the data frame. Make a judgment.
可选地,根据所述自适应码本增益对该数据帧是否为非重要帧进行判断,具体包括:Optionally, determining, according to the adaptive codebook gain, whether the data frame is a non-significant frame, specifically:
当所述自适应码本增益大于预设的门限值时,判定该数据帧为重要帧;其中,重要帧是指携带有语音信息的语音帧;When the adaptive codebook gain is greater than a preset threshold, determining that the data frame is an important frame; wherein the important frame refers to a voice frame carrying voice information;
当所述自适应码本增益小于等于预设的门限值时,判定该数据帧为非重要帧。When the adaptive codebook gain is less than or equal to a preset threshold, it is determined that the data frame is a non-significant frame.
可选地,判断某一数据帧是否为非重要帧,具体包括:Optionally, determining whether a data frame is a non-significant frame includes:
当不连续发送DTX打开、且该数据帧为非语音帧时,判定该数据帧为非重要帧。When the DTX is not continuously transmitted and the data frame is a non-speech frame, it is determined that the data frame is a non-significant frame.
另一方面,本发明提供一种提升切换语音质量的装置,包括:In another aspect, the present invention provides an apparatus for improving handover voice quality, including:
命令接收模块,设置为接收基站控制器BSC发送的切换命令;a command receiving module, configured to receive a handover command sent by the base station controller BSC;
切换模块,设置为在设定时间内判断是否检测到非重要帧,如果是,则向移动台MS发送切换命令,进行切换;如果否,则在设定时间结束后向移动台MS发送切换命令,进行切换;其中,非重要帧是指非语音帧或没有携带语音信息的语音帧。The switching module is configured to determine whether a non-significant frame is detected within the set time, and if yes, send a handover command to the mobile station MS to perform handover; if not, send a handover command to the mobile station MS after the set time ends Switching; wherein the non-important frame refers to a non-speech frame or a speech frame that does not carry voice information.
可选地,所述切换模块在设定时间内判断是否检测到连续M帧的非重要帧。Optionally, the switching module determines whether a non-important frame of consecutive M frames is detected within a set time.
可选地,所述切换模块判断某一数据帧是否为非重要帧,具体为: Optionally, the switching module determines whether a data frame is a non-significant frame, specifically:
当不连续发送DTX关闭,或不连续发送DTX打开、且该数据帧为语音帧时,提取数据帧的自适应码本增益,根据所述自适应码本增益对该帧信号是否为非重要帧进行判断。When the discontinuous transmission DTX is turned off, or the discontinuous transmission DTX is turned on, and the data frame is a voice frame, the adaptive codebook gain of the data frame is extracted, according to whether the adaptive codebook gain is a non-significant frame for the frame signal. Make a judgment.
可选地,所述切换模块根据所述自适应码本增益对该数据帧是否为非重要帧,具体为:Optionally, the switching module is configured to determine whether the data frame is a non-significant frame according to the adaptive codebook gain, specifically:
当所述自适应码本增益大于预设的门限值时,判定该帧信号为重要帧;其中,重要帧是指携带有语音信息的语音帧;When the adaptive codebook gain is greater than a preset threshold, determining that the frame signal is an important frame; wherein the important frame refers to a voice frame carrying voice information;
当所述自适应码本增益小于等于预设的门限值时,判定该帧信号为非重要帧。When the adaptive codebook gain is less than or equal to a preset threshold, it is determined that the frame signal is a non-significant frame.
可选地,所述切换模块判断某一数据帧是否为非重要帧,具体为:Optionally, the switching module determines whether a data frame is a non-significant frame, specifically:
当不连续发送DTX打开、且该帧信号非语音信号时,判定该帧信号为非重要帧。When the DTX is not continuously transmitted and the frame signal is a non-speech signal, it is determined that the frame signal is a non-significant frame.
本发明有益效果如下:The beneficial effects of the present invention are as follows:
本发明通过延迟切换时间,在噪音信号所处的时刻进行切换,进而提升切换的语音质量。By delaying the switching time, the present invention switches at the moment when the noise signal is located, thereby improving the quality of the switched voice.
附图说明DRAWINGS
图1是现有技术中切换流程示意图;1 is a schematic diagram of a handover process in the prior art;
图2是本发明实施例中切换流程示意图;2 is a schematic diagram of a handover process in an embodiment of the present invention;
图3是本发明实施例中一种提升切换语音质量的方法的流程图;3 is a flowchart of a method for improving handover voice quality according to an embodiment of the present invention;
图4是本发明实施例中再一种提升切换语音质量的方法的流程图;4 is a flowchart of another method for improving handover voice quality according to an embodiment of the present invention;
图5是本发明实施例中一种提升切换语音质量的装置的结构示意图。FIG. 5 is a schematic structural diagram of an apparatus for improving handover voice quality according to an embodiment of the present invention.
具体实施方式detailed description
以下结合附图以及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不限定本发明。The invention will be further described in detail below with reference to the drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
语音业务所使用的信号,通常可以分为两种信号,一种是语音信号,一种是噪音信号,噪音信号也常常被称为是舒适噪音信号。语音信号是业务过程中的基本信息, 在本发明中以重要帧来进行称谓,具体为:重要帧是指携带有语音信息的语音帧;舒适噪音信号则是通话过程中静默期间的信号,一般可以为静音信号或者环境噪音信号,在本发明中以非重要帧来称谓,具体为:非重要帧是指非语音帧或没有携带语音信息的语音帧。The signals used in voice services can usually be divided into two types of signals, one is a voice signal, and the other is a noise signal. The noise signal is also often referred to as a comfort noise signal. Voice signals are basic information in the business process. In the present invention, the title is referred to as an important frame, specifically: an important frame refers to a voice frame carrying voice information; a comfort noise signal is a signal during a silent period during a call, and may generally be a mute signal or an environmental noise signal. In the present invention, it is referred to as a non-significant frame, and specifically, a non-important frame refers to a non-voice frame or a voice frame that does not carry voice information.
如图1所示,对于GSM现有技术,一般是源基站收到切换命令就会可以发送切换命令给MS,进而开始发送切换过程。图2是改进后的切换方案的示意图。与现有切换技术的差别在于,当源基站收到BSC的切换命令之后,源基站没有立刻进行切换过程,而是增加了一个功能,即检查上行用户面数据是否处于非重要态,如果检测到用户面数据处于非重要态,则发起切换;否则延迟一定时间发起切换,将切换的时间点从语音信号的部分延迟到噪音信号的部分,这个会很大提升切换期间语音的感知,也就提升语音质量,对于CS语音的应用有很大作用。本发明就是针对这种思路进行展开的。本专利将切换的时间改换到用户面数据噪音信号的时刻,这样使得整个切换主要在噪音部分进行发生,大大提升了切换的语音感知度。As shown in FIG. 1 , for the GSM prior art, generally, when the source base station receives the handover command, it can send a handover command to the MS, and then start to send the handover procedure. 2 is a schematic diagram of an improved handover scheme. The difference from the existing handover technology is that after the source base station receives the handover command of the BSC, the source base station does not immediately perform the handover process, but adds a function, that is, checks whether the uplink user plane data is in an unimportant state, if it is detected. If the user plane data is in a non-important state, the handover is initiated; otherwise, the handover is initiated for a certain period of time, and the time point of the handover is delayed from the portion of the voice signal to the portion of the noise signal, which greatly enhances the perception of voice during the handover, thereby improving Voice quality plays a big role in the application of CS voice. The present invention is directed to this idea. This patent changes the switching time to the time of the user plane data noise signal, so that the whole switching occurs mainly in the noise part, which greatly improves the voice perception of the switching.
如图3所示,本发明实施例涉及一种提升切换语音质量的方法,包括:As shown in FIG. 3, an embodiment of the present invention relates to a method for improving handover voice quality, including:
步骤S301,接收基站控制器BSC发送的切换命令;Step S301, receiving a handover command sent by the base station controller BSC;
步骤S302,在设定时间内判断是否检测到非重要帧,如果是,则向移动台MS发送切换命令,进行切换;如果否,则在设定时间结束后向移动台MS发送切换命令,进行切换。Step S302, determining whether a non-significant frame is detected within the set time, and if yes, transmitting a handover command to the mobile station MS to perform handover; if not, transmitting a handover command to the mobile station MS after the set time is over, Switch.
本步骤中,首先,设置定时器T0。In this step, first, the timer T0 is set.
然后,进行重要帧和非重要帧的检测过程;检测主要是基于用户面的数据进行的。Then, the detection process of the important frame and the non-important frame is performed; the detection is mainly performed based on the data of the user plane.
其次,进行重要态和非重要态的状态处理,检测重要帧或者非重要帧之后,需要设置状态,进行状态的转换处理。在处于重要态时,如果连续M帧检测都是非重要帧,则此时转换到非重要态;当处于非重要态时,如果连续N帧检测都是重要帧,则切换到重要态。M、N为大于1的整数,是预先设置的数值,M、N可以是经验值,也可以通过仿真试验获得,也可以在仿真试验获取后,再经过若干次试验调整获得。在处于非要要态时进行切换的效果在于,由于检测存在误检,所以通过在连续检测到多帧数据为非重要帧时再进行切换,则可以提高准确性,最大程度的保证在非语音信息时切换。Secondly, the state processing of the important state and the non-important state is performed. After detecting the important frame or the non-important frame, it is necessary to set the state and perform the state conversion processing. When in the important state, if the continuous M frame detection is a non-significant frame, then the transition to the non-important state; when in the non-important state, if the continuous N frame detection is an important frame, then switch to the important state. M and N are integers greater than 1, which are preset values. M and N may be empirical values, or may be obtained through simulation tests, or may be obtained after several trial adjustments after the simulation test is obtained. The effect of switching when in a non-essential state is that since there is a false detection in the detection, by repeatedly detecting when the multi-frame data is a non-significant frame, the accuracy can be improved, and the maximum guarantee is in the non-speech. Switch when information is available.
最后,进行切换,具体包括以下三种情况: Finally, the switchover includes the following three cases:
1、定时器T0不超时、且处于非重要态下,则发起切换流程;1. When the timer T0 does not time out and is in a non-critical state, the handover process is initiated.
2、定时器T0不超时、且处于重要态下,则继续检测;2. If the timer T0 does not time out and is in an important state, the detection continues;
3、定时器T0超时,则发起切换流程。3. When the timer T0 times out, the handover process is initiated.
下面,通过具体实施例进行详细说明:Hereinafter, a detailed description will be given by way of specific embodiments:
如图4所示,一种利用AMR(Adaptive Multi Rate,自适应多速率)提升切换语音质量的实施方案,以接收MS的数据来进行描述(即上行方向的应用),包括:As shown in FIG. 4, an implementation scheme for improving handover voice quality by using AMR (Adaptive Multi Rate) is described by receiving data of an MS (ie, an application in an uplink direction), including:
步骤S401,源基站收到BSC的切换命令。此时BSC决策MS需要向其他的小区进行切换。源基站收到切换命令的消息后,设置切换的状态检测的定时器T0。T0的设置可以考虑在1s之内,如果太长对于切换延时也构成一些影响。定时器T0的意义在于,源基站在T0时间内是否检测到切换过程中的非重要态,如果检测到则进行切换;检测不到则在T0超期后进行切换。Step S401, the source base station receives a handover command of the BSC. At this time, the BSC decides that the MS needs to switch to other cells. After receiving the message of the handover command, the source base station sets a timer T0 for the state detection of the handover. The setting of T0 can be considered within 1 s, and if it is too long, it also has some influence on the switching delay. The significance of the timer T0 is whether the source base station detects the non-important state during the handover in the T0 time, and if it is detected, performs handover; if it is not detected, it performs handover after the T0 expires.
步骤S402,源基站判断上行DTX(Discontinuous Transmission,不连续发送)是否打开,以确定不同的检测判别流程。如果上行的DTX关闭,则上行的MS一直发送SP帧(即网络侧通过比特位表示的语音帧,由于语音帧可能是包括语音消息的语音帧,也可能是不包括语音信息的语音帧,因此,语音帧可能是重要帧,也可能是非重要帧),则转步骤S405;如果上行的DTX打开,则上行的MS根据SP帧(语音帧)和静音帧(SID,Silence Descriptor)的编码输出,需要进一步判断是发送SP帧或者静音帧,则转步骤S403。In step S402, the source base station determines whether uplink DTX (discontinuous transmission) is turned on to determine a different detection and discrimination process. If the uplink DTX is off, the uplink MS always sends the SP frame (that is, the voice frame indicated by the bit on the network side. Since the voice frame may be a voice frame including a voice message, or may be a voice frame that does not include voice information, If the voice frame may be an important frame or a non-significant frame, go to step S405; if the uplink DTX is turned on, the uplink MS outputs the code according to the SP frame (speech frame) and the silence frame (SID, Silence Descriptor). If it is further determined that the SP frame or the silence frame is transmitted, the process proceeds to step S403.
步骤S403,判断该帧是否为SP帧;如果是,则转步骤S405,如果否,则转步骤S404。本步骤中,如果上行DTX打开,基站侧的用户面则可能收到SP帧,SID帧,Nodata帧(空帧),进行非重要帧的判断时,需要考虑其他的非SP帧类型,如果是非语音帧,则进入S404。In step S403, it is determined whether the frame is an SP frame; if yes, the process goes to step S405, and if no, the process goes to step S404. In this step, if the uplink DTX is enabled, the user plane on the base station side may receive the SP frame, the SID frame, and the Nodata frame (empty frame). When determining the non-important frame, other non-SP frame types need to be considered. For the voice frame, go to S404.
步骤S404,将收到的SID帧和Nodata帧判别为非重要帧。SID帧类型包括SID_First(SID起始帧),SID_Update帧(SID更新帧),这个都归为非重要帧;如果上行没有收到有效数据,此时译码结果为Nodata帧,这个也归为非重要帧。Step S404, the received SID frame and the Nodata frame are discriminated as non-important frames. The SID frame type includes SID_First (SID start frame) and SID_Update frame (SID update frame), which are classified as non-important frames; if the uplink does not receive valid data, the decoding result is Nodata frame, which is also classified as non- Important frame.
步骤S405,当判定为上行DTX关闭,或上行DTX打开、且收到SP帧,进行本步骤的处理,提取数据帧的自适应码本增益。本实施例采用AMR语音算法,则需要考虑8种不同的速率,每种速率的提取方法略有不同,对于速率为AMR122k和7.95k,自适应码本增益在单独的编码的参数字段,可以直接提取;其他的速率,自适应码本 增益与固定码本增益共同使用一个预定参数,需要通过该预定参数进一步提取自适应码本增益。Step S405, when it is determined that the uplink DTX is off, or the uplink DTX is turned on, and the SP frame is received, the processing of this step is performed to extract the adaptive codebook gain of the data frame. In this embodiment, the AMR speech algorithm is used, and eight different rates need to be considered. The extraction method of each rate is slightly different. For the rates of AMR122k and 7.95k, the adaptive codebook gain can be directly in the parameter field of the encoding. Extraction; other rate, adaptive codebook The gain uses a predetermined parameter in conjunction with the fixed codebook gain, and the adaptive codebook gain needs to be further extracted by the predetermined parameter.
步骤S406,根据自适应码本增益判断该数据帧是否为非重要帧或重要帧。对于AMR语音算法而言,自适应码本增益是语音信号的相关性的增益。而语音信号相对于舒适噪音信号,语音信号的相关性很大,噪声信号的相关性很小。因此可以通过自适应码本增益进行非重要帧的判别。当自适应码本增益大于预设的门限值时,判定该数据帧为重要帧;当自适应码本增益小于等于预设的门限值时,判定该数据帧为非重要帧。其中,预设的门限值通过仿真获得,也可以根据经验获得。Step S406, determining whether the data frame is a non-significant frame or an important frame according to the adaptive codebook gain. For the AMR speech algorithm, the adaptive codebook gain is the gain of the correlation of the speech signal. The speech signal has a large correlation with the speech signal relative to the comfort noise signal, and the correlation of the noise signal is small. Therefore, the discrimination of non-significant frames can be performed by the adaptive codebook gain. When the adaptive codebook gain is greater than a preset threshold, the data frame is determined to be an important frame; when the adaptive codebook gain is less than or equal to a preset threshold, the data frame is determined to be a non-significant frame. Among them, the preset threshold value is obtained by simulation, and can also be obtained according to experience.
步骤S407,进行非重要状态和重要态的处理。在进行非重要帧的检测过程中,由于可能会出现一些误检,需要将这些误检给过滤掉。为此引入状态的概念。非重要态即当检测到连续N帧的非重要帧,则处于非重要态;同样,如果检测到连续N帧重要帧,则为重要态。开始通话时设置为重要态。In step S407, the processing of the non-critical state and the important state is performed. In the process of detecting non-significant frames, these misdetections need to be filtered out due to some false detections. To this end, the concept of state is introduced. The non-essential state is that when a non-important frame of consecutive N frames is detected, it is in an unimportant state; likewise, if a continuous N frame important frame is detected, it is an important state. Set to important when starting a call.
步骤S408,进行切换延迟判别处理。如果在T0时间内检测到非重要态,则向MS发送切换命令进行切换。这样做的目的是尽可能是的上行的切换点在非语音的时候进行切换。如果没有检测到非重要态,T0没有超时,则继续进行之前的检测过程。如果在T0时间内没有检测到非重要态,并且已经超时,则此时发送切换命令给MS,进行检测。In step S408, a handover delay determination process is performed. If an unimportant state is detected within T0, a handover command is sent to the MS to switch. The purpose of this is to switch the uplink switching point as much as possible during non-speech. If no non-significant state is detected and T0 does not time out, the previous detection process continues. If no non-critical state is detected within the time T0 and has timed out, then a handover command is sent to the MS for detection.
步骤S409,源基站向MS发送切换命令。MS向目标基站进行切换接入过程,之后的切换的过程与图1完全一样,则不再详细描述。Step S409, the source base station sends a handover command to the MS. The MS performs a handover access procedure to the target base station, and the subsequent handover process is exactly the same as that of FIG. 1, and will not be described in detail.
步骤S410,结束。Step S410, ending.
下一实施例,是通过EFR(Enhanced Full Rate Speed Encoding)增强型全速率)升切换语音质量的实施方案,以接收BSC方向的数据来描述,即下行方向。The next embodiment is an implementation scheme of switching voice quality by EFR (Enhanced Full Rate Speed Encoding), which is described by receiving data in the BSC direction, that is, the downlink direction.
步骤S501,源基站收到BSC的切换命令。此时BSC决策MS需要向其他的小区进行切换。源基站收到切换命令的消息后,设置切换的状态检测的定时器T0。T0的设置可以考虑在1s之内,如果太长对于切换延时也构成一些影响。定时器T0的意义在于,源基站在T0时间内是否检测到切换过程中的非重要态。如果检测到则进行切换;检测不到则在T0超期后进行切换。Step S501, the source base station receives a handover command of the BSC. At this time, the BSC decides that the MS needs to switch to other cells. After receiving the message of the handover command, the source base station sets a timer T0 for the state detection of the handover. The setting of T0 can be considered within 1 s, and if it is too long, it also has some influence on the switching delay. The significance of the timer T0 is whether the source base station detects the non-essential state during the handover in the T0 time. If it is detected, it will be switched; if it is not detected, it will be switched after T0 expires.
步骤S502,源基站判断下行DTX(Discontinuous Transmission)是否打开,以确定不同的检测判别流程。如果下行的DTX关闭,则BSC一直发送SP帧,则转步骤 S505;如果下行的DTX打开,则转步骤S503。下行BSC根据语音算法,进行相应的VAD(Voice Activity Detection)判别,输出SP帧和静音帧(SID帧),输出的SP帧也可能是重要帧或者非重要帧,SID帧则是非重要帧。Step S502, the source base station determines whether the downlink DTX (Discontinuous Transmission) is turned on to determine a different detection and discrimination process. If the downlink DTX is off, the BSC always sends the SP frame, then the step is changed. S505; If the downlink DTX is turned on, go to step S503. The downlink BSC performs corresponding VAD (Voice Activity Detection) discrimination according to the voice algorithm, and outputs an SP frame and a silence frame (SID frame). The output SP frame may also be an important frame or a non-important frame, and the SID frame is a non-significant frame.
步骤S503,进一步判断该数据帧是否为SP帧;如果是,则转步骤S505,如果否,则转步骤S504。本步骤中,如果下行DTX打开,基站侧的用户面则可能收到SP帧、SID帧这两种数据类型。Step S503, further determining whether the data frame is an SP frame; if yes, proceeding to step S505, and if no, proceeding to step S504. In this step, if the downlink DTX is turned on, the user plane on the base station side may receive two types of data, an SP frame and a SID frame.
步骤S504,将收到的SID帧,判定为非重要帧。EFR算法的非重要帧中,不包括SID_FIRST这样的数据类型,主要是SID帧。Step S504, determining the received SID frame as a non-significant frame. The non-important frame of the EFR algorithm does not include a data type such as SID_FIRST, which is mainly a SID frame.
步骤S505,当判定为下行DTX关闭,或下行DTX打开、且收到SP帧,进行本步骤的处理,提取该数据帧的自适应码本增益。EFR算法是相对于一个单速率的处理,需要在EFR的244比特中提取自适应码本增益。Step S505, when it is determined that the downlink DTX is off, or the downlink DTX is turned on, and the SP frame is received, the processing of this step is performed, and the adaptive codebook gain of the data frame is extracted. The EFR algorithm is a single rate processing that requires extraction of the adaptive codebook gain in 244 bits of the EFR.
步骤S506,根据自适应码本增益判断该数据帧是否为非重要帧。对于EFR的语音算法而言,自适应码本增益是语音信号的相关性的增益。而语音信号相对于舒适噪音信号而言,语音信号的相关性很大,噪声信号的相关性很小。因此,可以通过自适应码本增益进行非重要帧的判别。通过检测这个自适应码本增益的大小,设置门限进行判别是否为重要帧和非重要帧,具体为:当自适应码本增益大于预设的门限值时,判定该数据帧为重要帧;当自适应码本增益小于等于预设的门限值时,判定该数据帧为非重要帧。其中,预设的门限值通过仿真获得,也可以根据经验获得。Step S506, determining whether the data frame is a non-significant frame according to the adaptive codebook gain. For the EFR speech algorithm, the adaptive codebook gain is the gain of the correlation of the speech signal. The speech signal has a large correlation with respect to the comfort noise signal, and the correlation of the noise signal is small. Therefore, the discrimination of non-significant frames can be performed by the adaptive codebook gain. By detecting the size of the adaptive codebook gain, setting a threshold to determine whether the frame is an important frame or a non-significant frame, specifically: when the adaptive codebook gain is greater than a preset threshold, determining that the data frame is an important frame; When the adaptive codebook gain is less than or equal to a preset threshold, it is determined that the data frame is a non-significant frame. Among them, the preset threshold value is obtained by simulation, and can also be obtained according to experience.
步骤S507,进行非重要状态和重要态的处理。在进行非重要帧的检测过程中,由于可能会出现一些误检,需要将这些误检给过滤掉。为此引入状态的概念。非重要态即检测到连续N帧的非重要帧则是处于非重要态,同样检测到连续N帧重要帧即为重要态。开始通话时设置为重要态。In step S507, the processing of the non-critical state and the important state is performed. In the process of detecting non-significant frames, these misdetections need to be filtered out due to some false detections. To this end, the concept of state is introduced. The non-important state, that is, the non-important frame in which consecutive N frames are detected is in a non-important state, and the simultaneous detection of consecutive N-frame important frames is an important state. Set to important when starting a call.
步骤S508,进行切换延迟判别处理。如果在T0时间内检测到非重要态,则向MS发送切换命令进行切换。这样做的目的是尽可能是的上行的切换点在非语音的时候进行切换。如果没有检测到非重要态、且T0没有超,则继续进行之前的检测过程。如果在T0时间内没有检测到非重要态并且已经超时,则此时发送切换命令给MS,进行切换。In step S508, a handover delay determination process is performed. If an unimportant state is detected within T0, a handover command is sent to the MS to switch. The purpose of this is to switch the uplink switching point as much as possible during non-speech. If no non-significant state is detected and T0 is not exceeded, the previous detection process is continued. If no non-critical state is detected within T0 and has timed out, then a handover command is sent to the MS to switch.
步骤S509,源基站向MS发送切换命令。MS向目标基站进行切换接入过程,之后的切换的过程与图1完全一样,本步骤不再详述。 Step S509, the source base station sends a handover command to the MS. The MS performs a handover access procedure to the target base station, and the subsequent handover process is exactly the same as that in FIG. 1, and this step is not described in detail.
步骤S510,结束。Step S510, ending.
如图5所示,本发明还涉及一种实现上述方法的提升切换语音质量的装置,包括:As shown in FIG. 5, the present invention also relates to an apparatus for improving handover voice quality by implementing the foregoing method, including:
命令接收模块,设置为接收基站控制器BSC发送的切换命令;a command receiving module, configured to receive a handover command sent by the base station controller BSC;
切换模块,设置为在设定时间内判断是否检测到非重要帧,如果是,则向移动台MS发送切换命令,进行切换;如果否,则在设定时间结束后向移动台MS发送切换命令,进行切换;其中,非重要帧是指非语音帧或没有携带语音信息的语音帧。The switching module is configured to determine whether a non-significant frame is detected within the set time, and if yes, send a handover command to the mobile station MS to perform handover; if not, send a handover command to the mobile station MS after the set time ends Switching; wherein the non-important frame refers to a non-speech frame or a speech frame that does not carry voice information.
其中,切换模块在设定时间内判断是否检测到连续的M帧非重要帧。The switching module determines whether a continuous M frame non-significant frame is detected within a set time.
其中,切换模块判断某一帧信号是否为噪音信号,具体为:The switching module determines whether a certain frame signal is a noise signal, specifically:
当不连续发送DTX关闭,或不连续发送DTX打开、且该数据帧为语音帧时,提取语音信号的自适应码本增益,根据自适应码本增益对该帧信号是否为非重要帧进行判断。When the discontinuous transmission DTX is turned off, or the discontinuous transmission DTX is turned on, and the data frame is a voice frame, the adaptive codebook gain of the voice signal is extracted, and the frame code is judged to be an unimportant frame according to the adaptive codebook gain. .
其中,切换模块根据自适应码本增益对该数据帧是否为非重要帧进行判断,具体为:The switching module determines whether the data frame is a non-important frame according to the adaptive codebook gain, specifically:
当自适应码本增益大于预设的门限值时,判定该数据帧为重要帧;其中,重要帧是指携带有语音信息的语音帧;When the adaptive codebook gain is greater than a preset threshold, determining that the data frame is an important frame; wherein the important frame refers to a voice frame carrying voice information;
当自适应码本增益小于等于预设的门限值时,判定该数据帧为非重要帧。When the adaptive codebook gain is less than or equal to a preset threshold, it is determined that the data frame is a non-significant frame.
其中,切换模块判断某一数据帧是否为非重要帧,具体为:The switching module determines whether a data frame is a non-significant frame, specifically:
当不连续发送DTX打开、且该数据帧为非语音帧时,判定该数据帧为非重要帧。When the DTX is not continuously transmitted and the data frame is a non-speech frame, it is determined that the data frame is a non-significant frame.
尽管为示例目的,已经公开了本发明的优选实施例,本领域的技术人员将意识到各种改进、增加和取代也是可能的,因此,本发明的范围应当不限于上述实施例。While the preferred embodiments of the present invention have been disclosed for purposes of illustration, those skilled in the art will recognize that various modifications, additions and substitutions are possible, and the scope of the invention should not be limited to the embodiments described above.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种提升切换语音质量的方法及装置具有以下有益效果:通过延迟切换时间,在噪音信号所处的时刻进行切换,进而提升切换的语音质量。 As described above, the method and apparatus for improving the quality of the switched voice provided by the embodiments of the present invention have the following beneficial effects: by delaying the switching time, switching is performed at the moment when the noise signal is located, thereby improving the voice quality of the handover.

Claims (10)

  1. 一种提升切换语音质量的方法,包括:A method for improving the quality of switched voices, including:
    接收基站控制器BSC发送的切换命令;Receiving a handover command sent by the base station controller BSC;
    在设定时间内判断是否检测到非重要帧,如果是,则向移动台MS发送切换命令,进行切换;如果否,则在设定时间结束后向移动台MS发送切换命令,进行切换;其中,非重要帧是指非语音帧或没有携带语音信息的语音帧。Determining whether a non-significant frame is detected within the set time, and if so, transmitting a handover command to the mobile station MS to perform handover; if not, transmitting a handover command to the mobile station MS after the set time ends, and performing handover; Non-important frames refer to non-speech frames or speech frames that do not carry voice information.
  2. 如权利要求1所述的提升切换语音质量的方法,其中,判断在设定时间内是否检测到非重要帧包括:The method for improving switching voice quality according to claim 1, wherein determining whether the non-significant frame is detected within the set time comprises:
    判断在设定时间内是否检测到连续M帧的非重要帧。It is judged whether or not a non-significant frame of consecutive M frames is detected within the set time.
  3. 如权利要求1或2所述的提升切换语音质量的方法,其中,判断某一数据帧是否为非重要帧包括:The method for improving switching voice quality according to claim 1 or 2, wherein determining whether a certain data frame is a non-significant frame comprises:
    当不连续发送DTX关闭,或不连续发送DTX打开、且该数据帧为语音帧时,提取数据帧的自适应码本增益,根据所述自适应码本增益对该数据帧是否为非重要帧进行判断。When the discontinuous transmission DTX is turned off, or the discontinuous transmission DTX is turned on, and the data frame is a voice frame, the adaptive codebook gain of the data frame is extracted, according to whether the adaptive codebook gain is a non-significant frame for the data frame. Make a judgment.
  4. 如权利要求3所述的提升切换语音质量的方法,其中,根据所述自适应码本增益对该数据帧是否为非重要帧进行判断包括:The method for improving switching voice quality according to claim 3, wherein determining whether the data frame is a non-significant frame according to the adaptive codebook gain comprises:
    当所述自适应码本增益大于预设的门限值时,判定该数据帧为重要帧;其中,重要帧是指携带有语音信息的语音帧;When the adaptive codebook gain is greater than a preset threshold, determining that the data frame is an important frame; wherein the important frame refers to a voice frame carrying voice information;
    当所述自适应码本增益小于等于预设的门限值时,判定该数据帧为非重要帧。When the adaptive codebook gain is less than or equal to a preset threshold, it is determined that the data frame is a non-significant frame.
  5. 如权利要求1或2所述的提升切换语音质量的方法,其中,判断某一数据帧是否为非重要帧包括:The method for improving switching voice quality according to claim 1 or 2, wherein determining whether a certain data frame is a non-significant frame comprises:
    当不连续发送DTX打开、且该数据帧为非语音帧时,判定该数据帧为非重要帧。When the DTX is not continuously transmitted and the data frame is a non-speech frame, it is determined that the data frame is a non-significant frame.
  6. 一种提升切换语音质量的装置,包括:A device for improving switching voice quality, comprising:
    命令接收模块,设置为接收基站控制器BSC发送的切换命令; a command receiving module, configured to receive a handover command sent by the base station controller BSC;
    切换模块,设置为在设定时间内判断是否检测到非重要帧,如果是,则向移动台MS发送切换命令,进行切换;如果否,则在设定时间结束后向移动台MS发送切换命令,进行切换;其中,非重要帧是指非语音帧或没有携带语音信息的语音帧。The switching module is configured to determine whether a non-significant frame is detected within the set time, and if yes, send a handover command to the mobile station MS to perform handover; if not, send a handover command to the mobile station MS after the set time ends Switching; wherein the non-important frame refers to a non-speech frame or a speech frame that does not carry voice information.
  7. 如权利要求6所述的提升切换语音质量的装置,其中,所述切换模块在设定时间内判断是否检测到连续M帧的非重要帧。The apparatus for improving switching voice quality according to claim 6, wherein the switching module determines whether a non-important frame of consecutive M frames is detected within a set time.
  8. 如权利要求6或7所述的提升切换语音质量的装置,其中,所述切换模块判断某一数据帧是否为非重要帧包括:The apparatus for improving the quality of a switched voice according to claim 6 or 7, wherein the determining, by the switching module, whether a certain data frame is a non-significant frame comprises:
    当不连续发送DTX关闭,或不连续发送DTX打开、且该数据帧为语音帧时,提取数据帧的自适应码本增益,根据所述自适应码本增益对该帧信号是否为非重要帧进行判断。When the discontinuous transmission DTX is turned off, or the discontinuous transmission DTX is turned on, and the data frame is a voice frame, the adaptive codebook gain of the data frame is extracted, according to whether the adaptive codebook gain is a non-significant frame for the frame signal. Make a judgment.
  9. 如权利要求8所述的提升切换语音质量的装置,其中,所述切换模块根据所述自适应码本增益对该数据帧是否为非重要帧包括:The apparatus for improving handover voice quality according to claim 8, wherein the switching module includes, according to the adaptive codebook gain, whether the data frame is a non-significant frame:
    当所述自适应码本增益大于预设的门限值时,判定该帧信号为重要帧;其中,重要帧是指携带有语音信息的语音帧;When the adaptive codebook gain is greater than a preset threshold, determining that the frame signal is an important frame; wherein the important frame refers to a voice frame carrying voice information;
    当所述自适应码本增益小于等于预设的门限值时,判定该帧信号为非重要帧。When the adaptive codebook gain is less than or equal to a preset threshold, it is determined that the frame signal is a non-significant frame.
  10. 如权利要求6或7所述的提升切换语音质量的装置,其中,所述切换模块判断某一数据帧是否为非重要帧包括:The apparatus for improving the quality of a switched voice according to claim 6 or 7, wherein the determining, by the switching module, whether a certain data frame is a non-significant frame comprises:
    当不连续发送DTX打开、且该帧信号非语音信号时,判定该帧信号为非重要帧。 When the DTX is not continuously transmitted and the frame signal is a non-speech signal, it is determined that the frame signal is a non-significant frame.
PCT/CN2014/087719 2014-06-20 2014-09-28 Method and apparatus for improving handover voice quality WO2015192532A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410274165.8 2014-06-20
CN201410274165.8A CN105323803A (en) 2014-06-20 2014-06-20 Method and device for improving switch voice quality

Publications (1)

Publication Number Publication Date
WO2015192532A1 true WO2015192532A1 (en) 2015-12-23

Family

ID=54934781

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/087719 WO2015192532A1 (en) 2014-06-20 2014-09-28 Method and apparatus for improving handover voice quality

Country Status (2)

Country Link
CN (1) CN105323803A (en)
WO (1) WO2015192532A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792573A (en) * 2016-12-29 2017-05-31 哈尔滨海能达科技有限公司 Terminal, the method that handover can be realized based on digital clustering communication system
CN111212452B (en) * 2020-01-13 2022-05-17 海能达通信股份有限公司 Handover method for voice communication, communication system, terminal and storage medium
CN113438704B (en) * 2020-03-23 2023-02-03 华为技术有限公司 Switching method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1313017A (en) * 1998-06-08 2001-09-12 艾利森电话股份有限公司 System for elimination of audible effects of handover
US20070177546A1 (en) * 2006-02-01 2007-08-02 Pantech Co., Ltd. Method and apparatus for efficiently managing power-up timer for high-speed inter-radio access technology handover in mobile communication device
WO2008023204A1 (en) * 2006-08-22 2008-02-28 Nokia Siemens Networks Gmbh & Co. Kg Method of handover
CN101621851A (en) * 2009-08-12 2010-01-06 中兴通讯股份有限公司 Local exchange method and device for base station subsystem
CN102334377A (en) * 2009-02-10 2012-01-25 华为技术有限公司 Method for sending radio frames, base station and network system
CN103167565A (en) * 2011-12-13 2013-06-19 中兴通讯股份有限公司 Method, base station and system for improvement of voice perceptibility in handover process in global system for mobile communications (GSM)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103703824B (en) * 2013-03-05 2017-07-14 华为技术有限公司 The processing method and relevant apparatus of service disconnection

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1313017A (en) * 1998-06-08 2001-09-12 艾利森电话股份有限公司 System for elimination of audible effects of handover
US20070177546A1 (en) * 2006-02-01 2007-08-02 Pantech Co., Ltd. Method and apparatus for efficiently managing power-up timer for high-speed inter-radio access technology handover in mobile communication device
WO2008023204A1 (en) * 2006-08-22 2008-02-28 Nokia Siemens Networks Gmbh & Co. Kg Method of handover
CN102334377A (en) * 2009-02-10 2012-01-25 华为技术有限公司 Method for sending radio frames, base station and network system
CN101621851A (en) * 2009-08-12 2010-01-06 中兴通讯股份有限公司 Local exchange method and device for base station subsystem
CN103167565A (en) * 2011-12-13 2013-06-19 中兴通讯股份有限公司 Method, base station and system for improvement of voice perceptibility in handover process in global system for mobile communications (GSM)

Also Published As

Publication number Publication date
CN105323803A (en) 2016-02-10

Similar Documents

Publication Publication Date Title
RU2008132875A (en) METHOD AND DEVICE FOR PERFORMING THE PROCEDURE OF TEMPORARY SYNCHRONIZATION OF THE RISING COMMUNICATION LINES WHEN TRANSFERRING SERVICE IN THE MOBILE COMMUNICATION SYSTEM
WO2015092943A1 (en) Electronic devices and methods for compensating for environmental noise in text-to-speech applications
WO2015192532A1 (en) Method and apparatus for improving handover voice quality
EP3504861B1 (en) Audio transmission with compensation for speech detection period duration
US20150237185A1 (en) Cellular network communications wireless headset and mobile device
JP5816329B2 (en) Hearing apparatus and method for receiving a wireless audio stream
WO2016201767A1 (en) Voice control method and device, and computer storage medium
US9177570B2 (en) Time scaling of audio frames to adapt audio processing to communications network timing
CN108133712B (en) Method and device for processing audio data
EP2958266B1 (en) Service interruption processing method and device thereof
JP2016529839A (en) How to maintain voice communication over congested communication channels
CN109039994B (en) Method and equipment for calculating asynchronous time difference between audio and video
EP3193535B1 (en) Cell handover method in gsm system and base station device
CN103716446A (en) Method and device for improving conversation tone quality on mobile terminal
EP3298606B1 (en) Coding of multi-channel audio signals
JP2008311754A (en) Telephone apparatus with function for converting conversation speed and method for converting conversation speed
US20040242251A1 (en) Radio communication apparatus and synchronization method
CN111586245B (en) Transmission control method of mute packet, electronic device and storage medium
EP2706780A2 (en) Codec rate adjustment method, device and media gateway
CN110505658B (en) Voice rate adjusting method, terminal and VoLTE system
CN107027156B (en) Method and terminal equipment for sending voice frame
JP6897456B2 (en) Base station equipment, transmission method, program
WO2015154610A1 (en) Channel switching method and device, base station
CN111326151A (en) Apparatus, method and computer-readable medium for voice interaction
CN104219220A (en) System and method for improving VoIP communication quality

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

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

Country of ref document: EP

Kind code of ref document: A1