WO2016191989A1 - 语音编码速率调整的方法和设备 - Google Patents

语音编码速率调整的方法和设备 Download PDF

Info

Publication number
WO2016191989A1
WO2016191989A1 PCT/CN2015/080430 CN2015080430W WO2016191989A1 WO 2016191989 A1 WO2016191989 A1 WO 2016191989A1 CN 2015080430 W CN2015080430 W CN 2015080430W WO 2016191989 A1 WO2016191989 A1 WO 2016191989A1
Authority
WO
WIPO (PCT)
Prior art keywords
coding rate
voice
receiving end
rate
amr
Prior art date
Application number
PCT/CN2015/080430
Other languages
English (en)
French (fr)
Inventor
严凯
李明
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2015/080430 priority Critical patent/WO2016191989A1/zh
Priority to CN201580042898.1A priority patent/CN106576271B/zh
Publication of WO2016191989A1 publication Critical patent/WO2016191989A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/04Error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • H04W28/22Negotiating communication rate

Definitions

  • the present invention relates to a mobile communication system, and more particularly to a method and apparatus for voice coding rate adjustment.
  • TrFO Transcoder Free Operation
  • the inventor finds that if the voice coding mode adopted by the UE is the voice coding rate that the receiver UE cannot correctly decode, the receiver UE sends a message requesting the UE to adjust the voice coding rate. In some cases, the UE does not adjust the voice coding rate in time. For example, the UE fails to perform the voice coding rate adjustment. As a result, the UE cannot correctly decode the voice data sent by the UE. The problem.
  • the embodiments of the present invention provide a method and a device for adjusting a voice coding rate, which can enable a UE to perform normal voice communication with a receiver UE when the voice rate fails to adjust, and improve voice quality and user experience.
  • the first aspect provides a voice coding rate adjustment method, where the method is used in a mobile communication system, where the mobile communication system includes a base station control device, a receiving end UE, and a transmitting end UE, where the receiving end UE and the The AMR voice communication of the TrFO is performed by using the first voice coding rate between the transmitting UEs, and the method includes:
  • the base station control device receives a first voice coding rate adjustment request message sent by the receiving end UE, where the first voice coding rate adjustment request message is used to indicate that the receiving end UE requests the adjusted voice coding rate to be the second voice.
  • a coding rate the second speech coding rate being different from the first speech coding rate;
  • the base station control device sends a voice coding rate control request message to the sending end UE according to the first voice encoding rate adjustment request message, where the voice encoding rate control request message is used to request the sending end UE to adjust the a voice coding rate of voice data sent by the UE to the receiver UE;
  • the base station control device sends the voice data sent by the sending end UE to the receiving end UE to the receiving end UE by using an AMR rate converter, the AMR The rate converter is configured to adjust a voice coding rate of the voice data sent by the sending end UE to the receiving end UE to the second voice coding rate.
  • the method further includes:
  • the base station controls a device to start a timer
  • the base station control device sends the voice data sent by the sending end UE to the receiving end UE to the receiving end UE by using an AMR rate converter, including :
  • the base station control device sends the sender UE to the receiver by using the AMR rate converter. Transmitting the voice data of the UE to the receiving UE; or
  • the base station control device sends the voice data sent by the sending end UE to the receiving end UE to the receiving end UE by using the AMR rate converter.
  • the base station control device adjusts, by using the AMR rate converter, the sending end UE to send The voice data of the receiving end UE is sent to the receiving end UE, and includes:
  • the base station control device receives a second voice coding rate control response message sent by the sending end UE, where the second voice coding rate control response message is used to indicate that the sending end UE fails to adjust the voice coding rate;
  • the base station control device sends the voice data sent by the sending end UE to the receiving end UE to the receiving end UE by using the AMR rate converter.
  • the method further includes:
  • the third voice coding rate is a voice code that the receiving end UE requests to adjust through the third voice
  • the base station control device stops sending, by the AMR rate converter, the voice data sent by the sending end UE to the receiving end UE to the receiving end UE.
  • the base station control device stops sending, by using the AMR rate converter, the voice data sent by the sending end UE to the receiving end UE
  • the receiving UE is provided to:
  • the base station control device stops transmitting, by the AMR rate converter, the voice data sent by the sending end UE to the receiving end UE to the receiving end UE.
  • the base station control device stops sending, by using the AMR rate converter, the voice data sent by the sending end UE to the receiving end UE to The receiving end UE includes:
  • the base station control device sends the voice data sent by the sending end UE to the receiving end UE to the receiving end UE through a second connection channel;
  • the second connection channel is a connection channel between the receiving end UE and the base station control device, and the second connection channel does not include an AMR rate converter.
  • the base station control device when the AMR rate converter is externally placed on the base station control device, the base station control device performs AMR rate conversion. And sending the voice data that is sent by the sending end UE to the receiving end UE to the receiving end UE, where
  • the base station control device sends a notification message to the AMR rate converter, where the notification message is used to instruct the AMR rate converter to adjust a coding rate of voice data sent by the sending end UE to the receiving end UE to a location Said second speech coding rate;
  • the base station control device when the AMR rate converter is built in the base station control device, The base station control device sends the voice data sent by the sending end UE to the receiving end UE to the receiving end UE by using the AMR rate converter, including:
  • the base station control device starts an AMR rate converter to adjust a voice coding rate of the voice data sent by the sender UE to the receiver UE to the second voice coding rate;
  • the base station control device sends the voice data adjusted by the AMR rate converter to the receiving end UE.
  • a voice coding rate adjustment device where the device includes:
  • a receiving unit configured to receive, by the receiving end user equipment UE, a first voice coding rate adjustment request message, where the receiving end UE and the transmitting end UE use a first voice coding rate to perform a codeless conversion operation TrFO adaptive multiple Rate AMR voice communication, the first voice coding rate adjustment request message is used to indicate that the receiving end UE requests the adjusted speech coding rate to be a second speech coding rate, and the second speech coding rate is different from the first speech Coding rate
  • a processing unit configured to generate a voice coding rate control request message according to the first voice coding rate adjustment request message received by the receiving unit, where the voice coding rate control request message is used to request the sending end UE to adjust the a voice coding rate of voice data sent by the UE to the receiver UE;
  • a sending unit configured to send the voice coding rate control request message generated by the processing unit, to the sending end UE;
  • the sending unit is further configured to: if the sending end UE fails to adjust the voice coding rate, send the voice data sent by the sending end UE to the receiving end UE to the receiving end UE by using an AMR rate converter,
  • the AMR rate converter is configured to adjust a voice coding rate of the voice data sent by the sending end UE to the receiving end UE to the second voice coding rate.
  • the processing unit is further configured to start a timer after the receiving unit receives the first voice coding rate adjustment request message from the receiving end user equipment UE;
  • the sending unit is further configured to send, by the AMR rate converter, the sending end UE, if the timer expires, and a voice encoding rate of the sending end UE is the first voice encoding rate. Transmitting, by the receiving end UE, voice data to the receiving end UE; or The timer does not time out, and receives the first voice coding rate control response message sent by the sending end UE, where the first voice coding rate control response message is used to indicate that the sending end UE fails to adjust the voice coding rate, and then passes The AMR rate converter sends the voice data sent by the sending end UE to the receiving end UE to the receiving end UE.
  • the receiving unit is further configured to receive a second voice coding rate control response message sent by the sending end UE, where the second voice coding rate control is performed.
  • the response message is used to indicate that the sending end UE fails to adjust the voice coding rate;
  • the sending unit is further configured to send the voice data sent by the sending end UE to the receiving end UE to the receiving end UE by using the AMR rate converter.
  • the receiving unit is further configured to: receive a second voice coding rate adjustment request message sent by the receiving end UE, or Receiving a third voice coding rate control response message sent by the sending end UE, or receiving a fourth voice coding rate control response message sent by the sending end UE; wherein the third voice coding rate control response message is used by The voice coding rate indicating that the sending end UE successfully adjusts the voice data sent by the sending end UE to the receiving end UE is the second voice encoding rate; the second voice encoding rate adjustment request message is used to indicate The receiving end UE requests the adjusted speech encoding rate to be the first speech encoding rate, and the fourth speech encoding rate control response message is used to indicate that the sending end UE successfully adjusts the sending end UE to send the receiving
  • the voice coding rate of the voice data of the UE is a third voice coding rate
  • the third voice coding rate is the third language of the
  • the processing unit is further configured to notify the sending unit to stop sending, by the AMR rate converter, voice data sent by the sending end UE to the receiving end UE to the receiving end UE.
  • the processing unit is specifically configured to:
  • the rate converter sends the voice data sent by the sending end UE to the receiving end UE to the receiving end UE.
  • the sending unit is further configured to send the voice data that is sent by the sending end UE to the receiving end UE to the receiving end UE on a second connecting channel, where the second connecting channel is the receiving A connection channel between the UE and the device, and the AMR rate converter is not included in the second connection channel.
  • the processing unit is further configured to generate a notification message, where the notification message is used to instruct the AMR rate converter to adjust a coding rate of the voice data sent by the sending end UE to the receiving end UE to the second voice Coding rate
  • the sending unit is further configured to: send the notification message generated by the processing unit to the AMR rate converter, and send the voice data sent by the sending end UE to the receiving end UE to the AMR rate. converter.
  • the device further includes:
  • An AMR rate converter configured to adjust a voice coding rate of the voice data sent by the sending end UE to the receiving end UE to the second voice encoding rate
  • the sending unit is further configured to send the adjusted voice data of the AMR rate converter to the receiving end UE.
  • a third aspect provides a voice coding rate adjustment apparatus, including:
  • a communication interface configured to receive a first voice coding rate adjustment request message from the receiving end user equipment UE, where the receiving end UE and the transmitting end UE use the first voice coding rate to perform codeless Transforming the adaptive multi-rate AMR voice communication of the TrFO, the first voice coding rate adjustment request message is used to indicate that the receiving end UE requests the adjusted speech coding rate to be the second speech coding rate, and the second speech coding rate Different from the first speech coding rate;
  • a processor configured to send a voice coding rate control request message to the sending end UE according to the first voice coding rate adjustment request message received by the communication interface, where the voice coding rate control request message is used to request the
  • the transmitting end UE adjusts a voice coding rate of the voice data sent by the sending end UE to the receiving end UE;
  • the processor is further configured to: if the sending end UE fails to adjust the voice coding rate, send the voice data sent by the sending end UE to the receiving end UE to the receiving end UE by using an AMR rate converter,
  • the AMR rate converter is configured to adjust a voice coding rate of the voice data sent by the sending end UE to the receiving end UE to the second voice coding rate.
  • the processor is further configured to start a timer after the communication interface receives the first voice coding rate adjustment request message from the receiving end user equipment UE;
  • the first voice coding rate control response message is used to indicate that the sending end UE fails to adjust the voice coding rate. Transmitting, by the AMR rate converter, the voice data sent by the sending end UE to the receiving end UE to the receiving end UE.
  • the communication interface is further configured to receive a second voice coding rate control response message sent by the sending end UE, where the second voice coding rate control is performed.
  • the response message is used to indicate that the sending end UE fails to adjust the voice coding rate;
  • the processor is further configured to send, by using the AMR rate converter, voice data that is sent by the sending end UE to the receiving end UE to the receiving end UE.
  • the communication interface is further configured to: receive a second voice coding rate adjustment request message sent by the receiving end UE, or Receiving a third voice coding rate control response message sent by the sending end UE, or receiving a fourth voice coding rate control response message sent by the sending end UE; wherein the third voice coding rate control response message is used by The voice coding rate indicating that the sending end UE successfully adjusts the voice data sent by the sending end UE to the receiving end UE is the second voice encoding rate; the second voice encoding rate adjustment request message is used to indicate The receiving end UE requests the adjusted speech encoding rate to be the first speech encoding rate, and the fourth speech encoding rate control response message is used to indicate that the sending end UE successfully adjusts the sending end UE to send the receiving
  • the voice coding rate of the voice data of the UE is a third voice coding rate
  • the third voice coding rate is the third language of the
  • the processor is further configured to stop sending, by the AMR rate converter, voice data sent by the sending end UE to the receiving end UE to the receiving end UE.
  • the processor is specifically configured to:
  • the processor is further configured to send the voice data that is sent by the sending end UE to the receiving end UE to the receiving end UE on a second connecting channel, where the second connecting channel is the receiving A connection channel between the UE and the device, and the AMR rate converter is not included in the second connection channel.
  • the sixth implementation manner of the third aspect is further configured to: when the AMR rate converter is externally placed on the device:
  • the notification message is used to instruct the AMR rate converter to adjust a coding rate of the voice data sent by the sending end UE to the receiving end UE to the second voice coding rate;
  • the AMR rate converter is further included;
  • the AMR rate converter is configured to adjust a voice coding rate of the voice data sent by the sending end UE to the receiving end UE to the second voice coding rate;
  • the processor is further configured to send the adjusted voice data of the AMR rate converter to the receiving end UE.
  • the base station control device requests the sending end UE to adjust the voice coding rate according to the first voice coding rate adjustment request message sent by the receiving end UE. If the voice coding rate adjustment of the transmitting end UE fails, the base station controller passes the AMR rate.
  • the converter sends the voice data sent by the sending end UE to the receiving end UE to the receiving end UE, so that the voice data sent by the sending end UE to the receiving end UE can be adjusted by the AMR rate converter and then sent to the receiving end UE to ensure The receiving end UE can correctly decode the voice data sent by the transmitting end UE, thereby avoiding the phenomenon that the voice single channel occurs.
  • FIG. 1 is a flowchart of a method for adjusting a voice coding rate according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of a voice coding rate adjustment apparatus according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of hardware of a voice coding rate adjustment apparatus according to an embodiment of the present invention.
  • UE User equipment
  • UE may be a wireless terminal
  • the wireless terminal may be a device that provides voice and/or data connectivity to the user, a handheld device with wireless connectivity, or other processing device connected to the wireless modem.
  • the wireless terminal can communicate with one or more core networks via a Radio Access Network (RAN), which can be a mobile terminal, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal.
  • RAN Radio Access Network
  • it may be a portable, pocket, handheld, computer built-in or in-vehicle mobile device that exchanges language and/or data with the wireless access network.
  • a wireless terminal may also be called a system, for example, an Access Point, a Remote Terminal, an Access Terminal, a User Terminal, a User Agent, and the like.
  • the base station control device may be a Global System for Mobile Communications (GSM) or a Base Station Controller (BSC) in Code Division Multiple Access (CDMA) access, or may be CDMA.
  • GSM Global System for Mobile Communications
  • BSC Base Station Controller
  • CDMA Code Division Multiple Access
  • RNC radio network controller
  • a method for adjusting a speech coding rate is provided in an embodiment of the present invention.
  • the method is used in a mobile communication system, and the mobile communication system may specifically include a base station control device, a receiving UE, and The transmitting end UE, wherein the first voice coding rate is used between the receiving end UE and the transmitting end UE to perform TrFO AMR voice communication, and the method may be performed by the base station control device, as described below.
  • the receiving end UE refers to the UE located at the receiving end of the voice data
  • the transmitting end UE refers to the UE located at the transmitting end of the voice data
  • the base station control device receives a first voice coding rate adjustment request message sent by the receiving end UE.
  • the first voice coding rate adjustment request message is used to indicate that the voice coding rate requested by the receiving end UE is adjusted to be a second voice coding rate.
  • the second speech encoding rate is different from the first speech encoding rate, that is, the second speech encoding rate may be lower than the first speech encoding rate, and the second speech encoding rate may also be higher than the first speech encoding rate, for example, the first speech.
  • the coding rate may be an Adaptive Multi Rate (AMR) of 12.2 kbps (kilo bit per second) and a second speech coding rate of AMR of 7.4 kbps.
  • AMR Adaptive Multi Rate
  • AMR voice communication may be an AMR NB (narrow band), an AMR WB (wide band), and an enhanced voice service (EVS), which is not limited herein.
  • AMR voice communication can employ multiple voice coding rates, for example, 4.75 kbps, 5.15 kbps, 5.9 kbps, 10.2 kbps, and the like.
  • the base station control device sends a voice coding rate control request message to the sending end UE according to the foregoing first voice coding rate adjustment request message.
  • the voice coding rate control request message is used to request the sending end UE to adjust the voice coding rate of the voice data sent by the sending end UE to the receiving end UE.
  • the base station control device sends the voice data sent by the sending end UE to the receiving end UE to the receiving end UE by using the AMR rate converter.
  • the AMR rate converter in step 103 is used to perform conversion between various AMR speech coding rates, for example, between speech coding rates provided in step 101.
  • the AMR rate converter can be used to adjust voice data sent by the sending end UE to the receiving end UE.
  • the speech coding rate is up to the second speech coding rate; the above AMR rate converter can be implemented by software or hardware, which belongs to the prior art and will not be described again.
  • the AMR rate converter may be placed inside the base station control device, or may be externally placed in the base station control device, which is not limited herein.
  • connection channel includes an AMR rate converter. It is called the AMR rate converter connection channel; the other connection channel does not contain the AMR rate converter, which is called the non-AMR rate converter connection channel.
  • the base station control device when the AMR rate converter is externally placed in the base station control device, the base station control device sends the voice data sent by the sending end UE to the receiving end UE to the receiving end UE by using the AMR rate converter, which includes:
  • the base station control device sends a notification message to the AMR rate converter, where the notification message is used to instruct the AMR rate converter to adjust the encoding rate of the voice data sent by the sending end UE to the receiving end UE to a second voice encoding rate;
  • the base station control device sends the voice data sent by the sending end UE to the receiving end UE to the AMR rate converter.
  • step 103 when the AMR rate converter is built in the base station control device, step 103 includes:
  • the base station control device starts the AMR rate converter to adjust the voice coding rate of the voice data sent by the sender UE to the receiver UE to the second voice coding rate;
  • the 103b' base station control device transmits the adjusted voice data in step 103a' to the receiving end UE.
  • the base station control device requests the transmitting end UE to adjust the speech coding rate according to the first speech coding rate adjustment request message sent by the receiving end UE, and if the speech coding rate adjustment of the transmitting end UE fails,
  • the base station controller sends the voice data sent by the sending end UE to the receiving end UE to the receiving end UE through the AMR rate converter, so that the voice data sent by the sending end UE to the receiving end UE can be adjusted by the AMR rate converter and then sent to the base station controller.
  • the receiving end UE ensures that the receiving end UE can correctly decode the voice data sent by the transmitting end UE, thereby avoiding the phenomenon of voice single-pass.
  • the method further includes: the base station controlling the device to start a timer.
  • step 103 can be implemented in the following two manners:
  • the base station control device sends the voice code of the voice data sent by the UE to the receiver UE through the AMR rate converter.
  • Receiver UE if the timer expires and the voice coding rate of the UE is the first voice coding rate, the base station control device sends the voice code of the voice data sent by the UE to the receiver UE through the AMR rate converter.
  • Manner 2 If the timer does not expire, and the first voice coding rate control response message sent by the sending end UE is received, and the first voice coding rate control response message is used to indicate that the sending end UE fails to adjust the voice coding rate, The base station control device sends the voice data sent by the sending end UE to the receiving end UE to the receiving end UE through the AMR rate converter.
  • the base station control device in the first mode and the second mode may send the voice data sent by the sending end UE to the receiving end UE by using the AMR rate converter to the receiving end UE.
  • the AMR rate converter may be used to send the voice data sent by the sending end UE to the receiving end UE.
  • 103a and 103b in step 103 or refer to 103a. 'and 103b' are executed and will not be described here.
  • the timer timeout means that the timer time is greater than or equal to the timer duration of T milliseconds (ms), for example, 200 ms; the timer does not timeout means that the timer time is less than the above T.
  • the timer may be started after receiving the first voice coding rate adjustment request message in step 101.
  • the timer may be started when the voice coding rate control request is sent. There are no restrictions here.
  • step 103 specifically includes:
  • the base station control device sends the voice data sent by the sending end UE to the receiving end UE to the receiving end UE through the AMR rate converter.
  • the base station control device sends the voice data sent by the sending end UE to the receiving end UE to the receiving end UE by using the AMR rate converter.
  • the execution of 103b can also be performed with reference to 103a' and 103b', and will not be described again here.
  • the method further includes steps 104a and 105; or, steps 104b and 105; or, steps 104c and 105, for stopping the AMR rate converter for speech coding. Rate conversion, as described below.
  • the base station control device receives the second voice coding rate adjustment request message from the receiving end UE, where the second voice coding rate adjustment request message is used to indicate that the receiving end UE requests the adjusted speech coding rate to be the first speech coding rate.
  • the base station control device receives the third voice coding rate control response message from the transmitting end UE, where the third voice coding rate control response message is used to indicate that the sending end UE successfully adjusts the voice data of the voice data sent by the sending end UE to the receiving end UE.
  • the coding rate is the second speech coding rate.
  • the base station control device receives the fourth voice coding rate control response message sent by the sending end UE, where the fourth voice coding rate control response message is used to indicate that the sending end UE successfully adjusts the voice data of the voice data sent by the sending end UE to the receiving end UE.
  • the coding rate is a third speech coding rate
  • the third speech coding rate is a speech coding rate that the receiving UE requests to adjust through the third speech coding rate adjustment request message.
  • the base station control device stops transmitting, by using the AMR rate converter, the voice data sent by the sending end UE to the receiving end UE to the receiving end UE.
  • the base station control device may send the at least one voice coding rate control request message to the sending end UE, and request the transmitting end UE to adjust the voice encoding rate to the second voice encoding rate.
  • step 105 may specifically include:
  • the base station controls the device to stop transmitting the voice data sent by the sending end UE to the receiving end UE by using the AMR rate converter to the receiving end UE.
  • SID frame silence insertion descriptor frame
  • the base station controls the device to stop the speech coding rate conversion performed by the AMR rate converter, thereby avoiding the noise caused by the encoder switching. Steps improve voice quality.
  • the step 105 may be specifically implemented as follows:
  • the base station control device sends the voice data sent by the sending end UE to the receiving end UE to the receiving end UE through the second connection channel.
  • the first connection channel is the AMR rate converter connection channel, and includes an AMR rate converter.
  • the second connection channel is the non-AMR rate converter connection channel, and does not include an AMR rate converter, and details are not described herein again.
  • a voice rate adjustment device 200 is provided to implement the method embodiment shown in FIG. 1.
  • the device may be a base station control device, and the device 200 specifically includes: a receiving unit 201.
  • the processing unit 202 and the transmitting unit 203 are specifically as follows.
  • the receiving unit 201 is configured to receive, by the receiving end UE, a first voice coding rate adjustment request message, where the receiving end UE and the transmitting end UE perform TrFO AMR voice communication by using a first voice coding rate, where the first The voice coding rate adjustment request message is used to indicate that the receiving end UE requests the adjusted speech coding rate to be a second speech coding rate, and the second speech coding rate is different from the first speech coding rate;
  • the processing unit 202 is configured to generate a voice coding rate control request message according to the first voice coding rate adjustment request message received by the receiving unit, where the voice coding rate control request message is used to request the sending end UE to adjust the location a voice coding rate of the voice data sent by the sending end UE to the receiving end UE;
  • the sending unit 203 is configured to send a voice coding rate control request message generated by the processing unit to the sending end UE;
  • the sending unit 203 is further configured to: if the sending end UE fails to adjust the voice coding rate, send the voice data sent by the sending end UE to the receiving end UE to the receiving end UE by using an AMR rate converter.
  • the AMR rate converter is configured to adjust a voice coding rate of the voice data sent by the sending end UE to the receiving end UE to the second voice coding rate.
  • the second voice coding rate may be lower than the first voice coding rate, or may be higher than the first voice coding rate, which is not limited herein.
  • the voice coding rate adjustment apparatus provided by the implementation of the present invention, according to the first voice coding rate adjustment request message sent by the receiving end UE, requests the transmitting end UE to adjust the voice coding rate, and if the voice coding rate adjustment of the transmitting end UE fails, the AMR rate converter is adopted.
  • the voice data sent by the sending end UE to the receiving end UE is sent to the receiving end UE, so that the voice data sent by the sending end UE to the receiving end UE can be adjusted by the AMR rate converter and then sent to the receiving end UE to ensure the receiving end.
  • the UE can correctly decode the voice data sent by the transmitting end UE, thereby avoiding the phenomenon of the voice single pass phenomenon.
  • the processing unit 202 is further configured to start a timer after the receiving unit 201 receives the first voice coding rate adjustment request message from the receiving UE.
  • the sending unit 203 is further configured to:
  • the first voice coding rate control response message is used to indicate that the sending end UE fails to adjust the voice coding rate. Transmitting, by the AMR rate converter, the voice data sent by the sending end UE to the receiving end UE to the receiving end UE.
  • the startup timer may be started when the sending unit sends the voice coding rate control request, or may be started when the receiving unit receives the first voice coding rate adjustment request message, which is not limited herein.
  • a description of the timer can be found in the embodiment shown in FIG. 1.
  • the receiving unit 201 is further configured to receive a second voice coding rate control response message sent by the sending end UE, where the second voice coding rate control response message is used to indicate The sender UE fails to adjust the voice coding rate;
  • the sending unit 203 is further configured to send the voice data sent by the sending end UE to the receiving end UE to the receiving end UE by using the AMR rate converter.
  • the receiving unit 201 is further configured to:
  • the third voice coding rate control response message is used to indicate that the sending end UE successfully adjusts the voice coding rate of the voice data sent by the sending end UE to the receiving end UE to the second voice coding rate;
  • the second voice coding rate adjustment request message is used to indicate that the receiving end UE requests the adjusted voice coding rate to be the first voice coding rate;
  • the fourth voice coding rate control response message is used to indicate the sending end.
  • the UE successfully adjusts the voice coding rate of the voice data sent by the sender UE to the receiver UE as a third voice coding rate, and the third voice coding rate is the third voice coding rate adjustment request by the receiver UE.
  • the processing unit 202 is further configured to notify the sending unit 203 to stop sending, by using the AMR rate converter, voice data sent by the sending end UE to the receiving end UE to the receiving end UE.
  • processing unit 202 can be specifically configured to:
  • the sending unit is notified to stop sending, by the AMR rate converter, the voice data sent by the sending end UE to the receiving end UE to the receiving end UE.
  • the UE when the UE transmits the silence frame, the UE performs the speech coding rate conversion performed by the AMR rate converter, thereby avoiding the noise caused by the encoder switching, and further improving the voice quality.
  • the sending unit 203 is further configured to:
  • the voice data sent by the sending end UE to the receiving end UE is sent to the receiving end UE on the second connecting channel; wherein the second connecting channel is the receiving end UE and the device 200 A connection channel between the two, and the AMR rate converter is not included in the second connection channel.
  • the processing unit 202 is further configured to generate a notification message, where the notification message is used to instruct the AMR rate converter to adjust a coding rate of the voice data sent by the sending end UE to the receiving end UE to the second voice coding. rate;
  • the sending unit 203 is further configured to: send the notification message generated by the processing unit 202 to the AMR rate converter, and send the voice data sent by the sending end UE to the receiving end UE to the AMR rate converter. .
  • the device 200 further includes: an AMR rate converter 204.
  • the AMR rate converter 204 is configured to adjust a voice coding rate of the voice data sent by the sending end UE to the receiving end UE to the second voice encoding rate;
  • the sending unit 203 is further configured to send the voice data adjusted by the AMR rate converter 204 to the receiving end UE.
  • AMR rate converter can be referred to the related description in the embodiment shown in FIG. 1 , and details are not described herein again.
  • the foregoing implementation scenarios may be combined with each other, and are not limited herein.
  • another voice rate adjustment device 300 is provided in the embodiment of the present invention.
  • the device 300 can be used to perform the method embodiment shown in FIG. 1.
  • the device 300 can be specifically a base station control device, including a communication interface. 301 and processor 302.
  • the communication interface 301 is configured to receive, by the receiving end UE, a first voice coding rate adjustment request message, where the receiving end UE and the transmitting end UE perform TrFO AMR voice communication by using a first voice coding rate, where the first The voice coding rate adjustment request message is used to indicate that the receiving end UE requests the adjusted speech coding rate to be a second speech coding rate, and the second speech coding rate is different from the first speech coding rate;
  • the processor 302 is configured to send a voice coding rate control request message to the sending end UE according to the first voice coding rate adjustment request message received by the communication interface 301, where the voice coding rate control request message is used to request the
  • the transmitting end UE adjusts a voice coding rate of the voice data sent by the sending end UE to the receiving end UE;
  • the processor 302 is further configured to: if the sending end UE fails to adjust the voice coding rate, send the voice data sent by the sending end UE to the receiving end UE to the receiving end UE by using an AMR rate converter, where The AMR rate converter is configured to adjust a voice coding rate of the voice data sent by the sending end UE to the receiving end UE to the second voice coding rate.
  • the second speech encoding rate may be lower than the first speech encoding rate, and the second speech encoding rate may also be higher than the first speech encoding rate.
  • the voice coding rate adjustment apparatus provided by the implementation of the present invention, according to the first voice coding rate adjustment request message sent by the receiving end UE, requests the transmitting end UE to adjust the voice coding rate, and if the voice coding rate adjustment of the transmitting end UE fails, the AMR rate converter is adopted.
  • the voice data sent by the sending end UE to the receiving end UE is sent to the receiving end UE, so that the voice data sent by the sending end UE to the receiving end UE can be adjusted by the AMR rate converter and then sent to the receiving end UE to ensure the receiving end.
  • the UE can correctly decode the voice data sent by the UE at the transmitting end to avoid the phenomenon of voice single-pass.
  • processor 302 is further configured to:
  • the first voice coding rate control response message is used to indicate that the sending end UE fails to adjust the voice coding rate. Transmitting, by the AMR rate converter, the voice data sent by the sending end UE to the receiving end UE to the receiving end UE.
  • timer and the start timer refer to the embodiment shown in FIG. 1 , and details are not described herein.
  • the communications interface 301 is further configured to receive a second voice encoding rate control response message sent by the sending end UE, where the second voice encoding rate control response message is used to indicate The sender UE fails to adjust the voice coding rate;
  • the processor 302 is further configured to send the voice data sent by the sending end UE to the receiving end UE to the receiving end UE by using the AMR rate converter.
  • the communications interface 301 is further configured to:
  • the speech coding rate adjustment request message requests an adjusted speech coding rate
  • the processor 302 is further configured to stop sending, by the AMR rate converter, voice data sent by the sending end UE to the receiving end UE to the receiving end UE.
  • processor 302 can be specifically configured to:
  • the UE when the UE transmits the silence frame, the UE performs the speech coding rate conversion performed by the AMR rate converter, thereby avoiding the noise caused by the encoder switching, and further improving the voice quality.
  • the processor 302 is further configured to:
  • the second connection channel is a connection channel between the receiving end UE and the device 300, and the second connection channel does not include an AMR rate converter.
  • the processor 302 is further configured to:
  • the notification message is used to instruct the AMR rate converter to adjust a coding rate of the voice data sent by the sending end UE to the receiving end UE to the second voice coding rate;
  • the device 300 further includes an AMR rate converter 303;
  • the AMR rate converter 303 is configured to adjust a voice coding rate of the voice data sent by the sending end UE to the receiving end UE to the second voice encoding rate;
  • the processor 302 is further configured to send the voice data adjusted by the AMR rate converter 303 to the receiving end UE.
  • AMR rate converter 303 may be implemented by software or hardware. When implemented by software, the AMR rate converter 303 may be implemented by the processor 302. When implemented by hardware, the AMR rate converter 303 and The processor 302 is two independent devices, and details are not described herein again.
  • the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Abstract

一种语音编码速率调整的方法和设备,该方法用于移动通信系统,包括基站控制设备、接收端UE和发送端UE,其中,接收端UE与所述发送端UE之间采用第一语音编码速率进行TrFO的AMR语音通信,包括:接收所述接收端UE发送的第一语音编码速率调整请求消息(101),以请求调整的语音编码速率为第二语音编码速率;根据第一语音编码速率调整请求消息,发送语音编码速率控制请求消息给发送端UE(102),以请求发送端UE调整发送端UE发送给接收端UE的语音数据的语音编码速率;若发送端UE调整语音编码速率失败,则通过AMR速率转换器将发送端UE发送给接收端UE的语音数据发送给接收端UE(103)。该方法能够实现发送端UE在调整语音速率失败的情况下与接收端UE进行正常语音通信,提升语音质量以及用户感受。

Description

语音编码速率调整的方法和设备 技术领域
本发明涉及移动通信系统,尤其涉及一种语音编码速率调整的方法和设备。
背景技术
为了提升用户的通话感受,引入了一种免码变换操作(Transcoder Free Operation,TrFO)技术。如果发送端用户设备(user equipment,UE)和接收端UE支持相同的语音编码速率,则在建立业务承载的过程中不进行码变换操作,使用相同的语音编码速率进行语音通话。由于TrFO技术中只在发送端UE进行编码,避免了传统呼叫过程中因重复编码操作对语音信号造成的损害,显著提高了语音信号的质量。
在TrFO技术的应用过程中,发明人发现:若发送端UE采用的语音编码方式是接收端UE无法正确解码的语音编码速率,则接收端UE会发送消息请求发送端UE调整语音编码速率。在某些情况下,会出现发送端UE不及时调整语音编码速率,例如,发送端UE拒绝进行语音编码速率调整,导致接收端UE无法正确解码发送端UE发送的语音数据,从而造成语音单通的问题。
发明内容
本发明实施例提供一种语音编码速率调整的方法和设备,能够实现发送端UE在调整语音速率失败的情况下与接收端UE进行正常语音通信,提升语音质量以及用户感受。
第一方面,提供了一种语音编码速率调整方法,所述方法用于移动通信系统,所述移动通信系统包括基站控制设备、接收端UE和发送端UE,其中,所述接收端UE与所述发送端UE之间采用第一语音编码速率进行TrFO的AMR语音通信,所述方法包括:
所述基站控制设备接收所述接收端UE发送的第一语音编码速率调整请求消息,所述第一语音编码速率调整请求消息用于指示所述接收端UE请求调整的语音编码速率为第二语音编码速率,所述第二语音编码速率不同于所述第一语音编码速率;
所述基站控制设备根据所述第一语音编码速率调整请求消息,发送语音编码速率控制请求消息给所述发送端UE,所述语音编码速率控制请求消息用于请求所述发送端UE调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率;
若所述发送端UE调整语音编码速率失败,则所述基站控制设备通过AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE,所述AMR速率转换器用于调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率至所述第二语音编码速率。
结合第一方面,在第一方面的第一种实现方式中,所述基站控制设备接收所述接收端UE发送的第一语音编码速率调整请求消息之后,所述方法还包括:
所述基站控制设备启动定时器;
所述若所述发送端UE调整语音编码速率失败,则所述基站控制设备通过AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE,包括:
若所述定时器超时,且所述发送端UE的语音编码速率为所述第一语音编码速率,则所述基站控制设备通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE;或者,
若所述定时器未超时,且接收到所述发送端UE发送的第一语音编码速率控制响应消息,所述第一语音编码速率控制响应消息用于指示所述发送端UE调整语音编码速率失败,则所述基站控制设备通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
结合第一方面,在第一方面的第二种实现方式中,所述若所述发送端UE调整语音编码速率失败,则所述基站控制设备通过AMR速率转换器调整所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE,包括:
所述基站控制设备接收所述发送端UE发送的第二语音编码速率控制响应消息,所述第二语音编码速率控制响应消息用于指示所述发送端UE调整语音编码速率失败;
所述基站控制设备通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
结合第一方面或者上述任一种实现方式,在第一方面的第三种实现方式中,所述方法还包括:
所述基站控制设备接收所述接收端UE发送的第二语音编码速率调整请求消息,或者,所述基站控制设备接收所述发送端UE发送的第三语音编码速率控制响应消息,或者,所述基站控制设备接收所述发送端UE发送的第四语音编码速率控制响应消息;其中,所述第二语音编码速率调整请求消息用于指示所述接收端UE请求调整的语音编码速率为所述第一语音编码速率;所述第三语音编码速率控制响应消息用于指示所述发送端UE成功调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率为所述第二语音编码速率;所述第四语音编码速率控制响应消息用于指示所述发送端UE成功调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率为第三语音编码速率,所述第三语音编码速率为所述接收端UE通过第三语音编码速率调整请求消息请求调整的语音编码速率;
所述基站控制设备停止通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
结合上述第三种实现方式,在第一方面的第四种实现方式中,所述基站控制设备停止通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE,包括:
当所述发送端UE发送静默帧时,所述基站控制设备停止通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
结合第一方面的第三或第四种实现方式,在第一方面的第五种实现方式中,当所述AMR速率转换器外置于所述基站控制设备,且所述AMR速率转换器位于所述接收端UE与所述基站控制设备的第一连接通道上时,所述基站控制设备停止通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE,包括:
所述基站控制设备将所述发送端UE发送给所述接收端UE的语音数据通过第二连接通道发送给所述接收端UE;
其中,所述第二连接通道为所述接收端UE与所述基站控制设备之间的连接通道,且所述第二连接通道上不包含AMR速率转换器。
结合第一方面或者上述任一种实现方式,在第一方面的第六种实现方式中,当所述AMR速率转换器外置于所述基站控制设备时,所述基站控制设备通过AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE,包括:
所述基站控制设备发送通知消息给所述AMR速率转换器,所述通知消息用于指示所述AMR速率转换器调整所述发送端UE送给所述接收端UE的语音数据的编码速率至所述第二语音编码速率;
所述基站控制设备将所述发送端UE发送给所述接收端UE的语音数据发送给所述AMR速率转换器,以使得所述AMR速率转换器将语音编码速率转换后的数据发送给所述接收端UE。
结合第一方面或者上述第一种至第四种中任一种实现方式,在第一方面的第七种实现方式中,当所述AMR速率转换器内置于所述基站控制设备时,所述基站控制设备通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE,包括:
所述基站控制设备启动AMR速率转换器调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率至所述第二语音编码速率;
所述基站控制设备将所述AMR速率转换器调整后的语音数据发送给所述接收端UE。
第二方面,提供了一种语音编码速率调整设备,所述设备包括:
接收单元,用于从接收端用户设备UE接收第一语音编码速率调整请求消息,其中,所述接收端UE与发送端UE之间采用第一语音编码速率进行免码变换操作TrFO的自适应多速率AMR语音通信,所述第一语音编码速率调整请求消息用于指示所述接收端UE请求调整的语音编码速率为第二语音编码速率,所述第二语音编码速率不同于所述第一语音编码速率;
处理单元,用于根据所述接收单元接收的所述第一语音编码速率调整请求消息,生成语音编码速率控制请求消息,所述语音编码速率控制请求消息用于请求所述发送端UE调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率;
发送单元,用于发送所述处理单元生成的语音编码速率控制请求消息发送给所述发送端UE;
所述发送单元还用于,若所述发送端UE调整语音编码速率失败,则通过AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE,所述AMR速率转换器用于调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率至所述第二语音编码速率。
结合第二方面,在第二方面的第一种实现方式中,所述处理单元,还用于在所述接收单元从接收端用户设备UE接收第一语音编码速率调整请求消息之后启动定时器;
所述发送单元,还用于:若所述定时器超时,且所述发送端UE的语音编码速率为所述第一语音编码速率,则通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE;或者,若所述定 时器未超时,且接收到所述发送端UE发送的第一语音编码速率控制响应消息,所述第一语音编码速率控制响应消息用于指示所述发送端UE调整语音编码速率失败,则通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
结合第二方面,在第二方面的第二种实现方式中,所述接收单元,还用于接收所述发送端UE发送的第二语音编码速率控制响应消息,所述第二语音编码速率控制响应消息用于指示所述发送端UE调整语音编码速率失败;
所述发送单元,还用于通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
结合第二方面或者上述任一种实现方式,在第二方面的第三种实现方式中,所述接收单元还用于:接收所述接收端UE发送的第二语音编码速率调整请求消息,或者,接收所述发送端UE发送的第三语音编码速率控制响应消息,或者,接收所述发送端UE发送的第四语音编码速率控制响应消息;其中,所述第三语音编码速率控制响应消息用于指示所述发送端UE成功调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率为所述第二语音编码速率;所述第二语音编码速率调整请求消息用于指示所述接收端UE请求调整的语音编码速率为所述第一语音编码速率;所述第四语音编码速率控制响应消息用于指示所述发送端UE成功调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率为第三语音编码速率,所述第三语音编码速率为所述接收端UE通过第三语音编码速率调整请求消息请求调整的语音编码速率;
所述处理单元,还用于通知所述发送单元停止通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
结合上述第二方面的第三种实现方式,在第二方面的第四种实现方式中,所述处理单元具体用于:
当所述发送端UE发送静默帧时,通知所述发送单元停止通过所述AMR 速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
结合第二方面的第三或第四种实现方式,在第二方面的第五种实现方式中,当所述AMR速率转换器外置于所述设备,且所述AMR速率转换器位于所述接收端UE与所述设备的第一连接通道上时,
所述发送单元,还用于将所述发送端UE发送给所述接收端UE的语音数据在第二连接通道上发送给所述接收端UE;其中,所述第二连接通道为所述接收端UE与所述设备之间的连接通道,且所述第二连接通道上不包含AMR速率转换器。
结合第二方面或者上述任一种实现方式,在第二方面的第六种实现方式中,当所述AMR速率转换器外置于所述设备时,
所述处理单元,还用于生成通知消息,所述通知消息用于指示所述AMR速率转换器调整所述发送端UE送给所述接收端UE的语音数据的编码速率至所述第二语音编码速率;
所述发送单元,还用于将所述处理单元生成的所述通知消息给所述AMR速率转换器,并将所述发送端UE发送给所述接收端UE的语音数据发送给所述AMR速率转换器。
结合第二方面或者上述第一种至第四种中任一种实现方式,在第二方面的第七种实现方式中,所述设备还包括:
AMR速率转换器,用于将所述发送端UE发送给所述接收端UE的语音数据的语音编码速率调整至所述第二语音编码速率;
所述发送单元,还用于将所述AMR速率转换器调整后的语音数据发送给所述接收端UE。
第三方面,提供了一种语音编码速率调整设备,其特征在于,包括:
通信接口,用于从接收端用户设备UE接收第一语音编码速率调整请求消息,其中,所述接收端UE与发送端UE之间采用第一语音编码速率进行免码 变换操作TrFO的自适应多速率AMR语音通信,所述第一语音编码速率调整请求消息用于指示所述接收端UE请求调整的语音编码速率为第二语音编码速率,所述第二语音编码速率不同于所述第一语音编码速率;
处理器,用于根据所述通信接口接收的所述第一语音编码速率调整请求消息,发送语音编码速率控制请求消息给所述发送端UE;所述语音编码速率控制请求消息用于请求所述发送端UE调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率;
所述处理器,还用于若所述发送端UE调整语音编码速率失败,则通过AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE,所述AMR速率转换器用于调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率至所述第二语音编码速率。
结合第三方面,在第三方面的第一种实现方式中,所述处理器,还用于在所述通信接口从接收端用户设备UE接收第一语音编码速率调整请求消息之后启动定时器;
若所述定时器超时,且所述发送端UE的语音编码速率为所述第一语音编码速率,则通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE;或者,
若所述定时器未超时,且接收到所述发送端UE发送的第一语音编码速率控制响应消息,所述第一语音编码速率控制响应消息用于指示所述发送端UE调整语音编码速率失败,则通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
结合第三方面,在第三方面的第二种实现方式中,所述通信接口,还用于接收所述发送端UE发送的第二语音编码速率控制响应消息,所述第二语音编码速率控制响应消息用于指示所述发送端UE调整语音编码速率失败;
所述处理器,还用于通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
结合第三方面或者上述任一种实现方式,在第三方面的第三种实现方式中,所述通信接口还用于:接收所述接收端UE发送的第二语音编码速率调整请求消息,或者,接收所述发送端UE发送的第三语音编码速率控制响应消息,或者,接收所述发送端UE发送的第四语音编码速率控制响应消息;其中,所述第三语音编码速率控制响应消息用于指示所述发送端UE成功调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率为所述第二语音编码速率;所述第二语音编码速率调整请求消息用于指示所述接收端UE请求调整的语音编码速率为所述第一语音编码速率;所述第四语音编码速率控制响应消息用于指示所述发送端UE成功调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率为第三语音编码速率,所述第三语音编码速率为所述接收端UE通过第三语音编码速率调整请求消息请求调整的语音编码速率;
所述处理器,还用于停止通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
结合上述第三方面的第三种实现方式,在第三方面的第四种实现方式中,所述处理器具体用于:
当所述发送端UE发送静默帧时,停止通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
结合第三方面的第三或第四种实现方式,在第三方面的第五种实现方式中,当所述AMR速率转换器外置于所述设备,且所述AMR速率转换器位于所述接收端UE与所述设备的第一连接通道上时,
所述处理器,还用于将所述发送端UE发送给所述接收端UE的语音数据在第二连接通道上发送给所述接收端UE;其中,所述第二连接通道为所述接收端UE与所述设备之间的连接通道,且所述第二连接通道上不包含AMR速率转换器。
结合第三方面或者上述任一种实现方式,在第三方面的第六种实现方式 中,当所述AMR速率转换器外置于所述设备时,所述处理器还用于:
发送通知消息给所述AMR速率转换器,所述通知消息用于指示所述AMR速率转换器调整所述发送端UE送给所述接收端UE的语音数据的编码速率至所述第二语音编码速率;
将所述发送端UE发送给所述接收端UE的语音数据发送给所述AMR速率转换器。
结合第三方面或者上述第一种至第四种中任一种实现方式,在第三方面的第七种实现方式中,还包括所述AMR速率转换器;
所述AMR速率转换器,用于将所述发送端UE发送给所述接收端UE的语音数据的语音编码速率调整至所述第二语音编码速率;
所述处理器,还用于将所述AMR速率转换器调整后的语音数据发送给所述接收端UE。
由上述技术方案可知,基站控制设备根据接收端UE发送的第一语音编码速率调整请求消息,请求发送端UE调整语音编码速率,若发送端UE语音编码速率调整失败,则基站控制器通过AMR速率转换器将发送端UE发送给接收端UE的语音数据发送给接收端UE,以使得发送端UE发送给接收端UE的语音数据能够经AMR速率转换器调整后再发送给接收端UE,以保证接收端UE能够正确解码发送端UE发送的语音数据,进而避免出现语音单通的现象。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图进行简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例提供的一种语音编码速率调整的方法流程图;
图2为本发明实施例提供的一种语音编码速率调整设备的结构框图;
图3为本发明实施例提供的一种语音编码速率调整设备的硬件示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本文中结合移动台和基站控制设备来描述各种方面。
用户设备(user equipment,UE),可以是无线终端,无线终端可以是指向用户提供语音和/或数据连通性的设备,具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备。无线终端可以经无线接入网(Radio Access Network,RAN)与一个或多个核心网进行通信,无线终端可以是移动终端,如移动电话(或称为“蜂窝”电话)和具有移动终端的计算机,具体可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据。例如,个人通信业务(Personal Communication Service,PCS)电话、无绳电话、会话发起协议(SIP)话机、无线本地环路(WLL,Wireless Local Loop)站、个人数字助理(PDA,Personal Digital Assistant)等设备。无线终端也可以称为系统,例如,接入点(Access Point)、远程终端(Remote Terminal)、接入终端(Access Terminal)、用户终端(User Terminal)、用户代理(User Agent)等。
基站控制设备可以是全球移动通信系统(Global System for Mobile Communications,GSM)或码分多址(Code Division Multiple Access,CDMA)接入中的基站控制器(base station controller,BSC),也可以是CDMA中的无线网络控制器(Radio Network Controller,RNC),本发明并不限定。
如图1所示,本发明实施例提供的一种语音编码速率调整的方法,该方法用于移动通信系统,移动通信系统具体可以包括基站控制设备、接收端UE和 发送端UE,其中,接收端UE与发送端UE之间采用第一语音编码速率进行TrFO的AMR语音通信,该方法可以由基站控制设备执行,具体如下所述。
需要说明的是,在本发明各实施例中,接收端UE指的是位于语音数据的接收端的UE,发送端UE指的是位于语音数据发送端的UE,后续不再赘述。
101、基站控制设备接收接收端UE发送的第一语音编码速率调整请求消息。
其中,上述第一语音编码速率调整请求消息用于指示上述接收端UE请求调整的语音编码速率为第二语音编码速率。
其中,第二语音编码速率不同于第一语音编码速率,即第二语音编码速率可以低于第一语音编码速率,第二语音编码速率也可以高于第一语音编码速率,例如,第一语音编码速率可以为自适应多速率(Adaptive Multirate,AMR)12.2kbps(kilo bit per second,千比特/秒),第二语音编码速率为AMR7.4kbps。
需要说明的是,上述AMR语音通信具体可以是AMR NB(narrow band,窄带),AMR WB(wide band,宽带),增强语音业务(enhanced voice services,EVS),此处不予限制。此外,AMR语音通信可以采用多种语音编码速率,例如,4.75kbps,5.15kbps,5.9kbps,10.2kbps等。
102、基站控制设备根据上述第一语音编码速率调整请求消息,发送语音编码速率控制请求消息给发送端UE。
其中,语音编码速率控制请求消息用于请求发送端UE调整发送端UE发送给接收端UE的语音数据的语音编码速率。
103、若发送端UE调整语音编码速率失败,则基站控制设备通过AMR速率转换器将发送端UE发送给接收端UE的语音数据发送给接收端UE。
需要说明的是,步骤103中的AMR速率转换器用于进行各种AMR语音编码速率之间的转换,例如,步骤101中提供的语音编码速率之间的转换。具体地,AMR速率转换器可以用于调整发送端UE发送给接收端UE的语音数据 的语音编码速率至第二语音编码速率;上述AMR速率转换器可以通过软件或硬件来实现,属于现有技术,不再赘述。此外,AMR速率转换器可以置于该基站控制设备内部,也可以外置于该基站控制设备,此处不予限制。
需要指出的是,当AMR速率转换器外置于该基站控制设备时,该基站控制设备与接收端UE之间可以建立两条不同的连接通道,其中,一条连接通道上包含有AMR速率转换器,称之为AMR速率转换器连接通道;另一条连接通道上不包含有AMR速率转换器,称之为非AMR速率转换器连接通道。
可选地,当AMR速率转换器外置于该基站控制设备时,步骤103中基站控制设备通过AMR速率转换器将发送端UE发送给接收端UE的语音数据发送给接收端UE,具体包括:
103a、基站控制设备发送通知消息给AMR速率转换器,该通知消息用于指示AMR速率转换器调整上述发送端UE送给接收端UE的语音数据的编码速率至第二语音编码速率;
103b、基站控制设备将上述发送端UE发送给接收端UE的语音数据发送给AMR速率转换器。
可选地,当AMR速率转换器内置于该基站控制设备时,步骤103包括:
103a’基站控制设备启动AMR速率转换器调整上述发送端UE发送给接收端UE的语音数据的语音编码速率至第二语音编码速率;
103b’基站控制设备将步骤103a’中调整后的语音数据发送给接收端UE。
本发明实施提供的语音编码速率调整的方法,基站控制设备根据接收端UE发送的第一语音编码速率调整请求消息,请求发送端UE调整语音编码速率,若发送端UE语音编码速率调整失败,则基站控制器通过AMR速率转换器将发送端UE发送给接收端UE的语音数据发送给接收端UE,以使得发送端UE发送给接收端UE的语音数据能够经AMR速率转换器调整后再发送给接收端UE,以保证接收端UE能够正确解码发送端UE发送的语音数据,进而避免出现语音单通的现象。
可选地,在第一种实施场景下,在步骤101中的基站控制设备接收所述接收端UE发送的语音编码速率调整请求消息之后,上述方法还包括:基站控制设备启动定时器。
进一步地,步骤103具体可以采用如下两种方式来实现:
方式一、若上述定时器超时,且发送端UE的语音编码速率为第一语音编码速率,则基站控制设备通过AMR速率转换器将发送端UE发送给接收端UE的语音数据的语音编码发送给接收端UE。
方式二、若上述定时器未超时,且接收到发送端UE发送的第一语音编码速率控制响应消息,且该第一语音编码速率控制响应消息用于指示发送端UE调整语音编码速率失败,则基站控制设备通过AMR速率转换器将发送端UE发送给接收端UE的语音数据发送给接收端UE。
其中,方式一和方式二中的基站控制设备通过AMR速率转换器将发送端UE发送给接收端UE的语音数据发送给接收端UE具体可以参照步骤103中的103a和103b执行,也可以参照103a’和103b’执行,此处不再赘述。
需要说明的是,定时器超时是指定时器的计时时间大于或等于定时器的定时时长T毫秒(ms),例如200ms;定时器未超时是指定时器的计时时间小于上述T。在上述第一种实施场景下,可以在步骤101中,接收到第一语音编码速率调整请求消息之后启动该定时器;也可以在步骤102中,发送语音编码速率控制请求时启动该定时器,此处不做限制。
可选地,在第二种实施场景下,步骤103具体包括:
基站控制设备接收发送端UE发送的第二语音编码速率控制响应消息,该第二语音编码速率控制响应消息用于指示发送端UE调整语音编码速率失败;
基站控制设备通过AMR速率转换器将上述发送端UE发送给接收端UE的语音数据发送给接收端UE。
其中,上述基站控制设备通过AMR速率转换器将上述发送端UE发送给接收端UE的语音数据发送给接收端UE,具体可以参照步骤103中的103a和 103b执行,也可以参照103a’和103b’执行,此处不再赘述。
可选地,在第三种实施场景下,在步骤103之后,上述方法还包括步骤104a和105;或者,步骤104b和105;或者,步骤104c和105,用于停止AMR速率转换器进行语音编码速率转换,具体如下所述。
104a、基站控制设备从接收端UE接收到第二语音编码速率调整请求消息,该第二语音编码速率调整请求消息用于指示接收端UE请求调整的语音编码速率为第一语音编码速率。
104b、基站控制设备从发送端UE接收到第三语音编码速率控制响应消息,该第三语音编码速率控制响应消息用于指示发送端UE成功调整发送端UE发送给接收端UE的语音数据的语音编码速率为第二语音编码速率。
104c、基站控制设备接收发送端UE发送的第四语音编码速率控制响应消息,该第四语音编码速率控制响应消息用于指示发送端UE成功调整发送端UE发送给接收端UE的语音数据的语音编码速率为第三语音编码速率,所述第三语音编码速率为接收端UE通过第三语音编码速率调整请求消息请求调整的语音编码速率。
105、基站控制设备停止通过AMR速率转换器将上述发送端UE发送给接收端UE的语音数据发送给接收端UE。
需要指出的是,在步骤104b之前以及步骤102之后,还可以包括:基站控制设备发送至少一次语音编码速率控制请求消息给发送端UE,请求发送端UE调整语音编码速率为第二语音编码速率。
进一步地,步骤105具体可以包括:
当发送端UE发送静默帧(silence insertion descriptor frame,SID frame)时,基站控制设备停止通过AMR速率转换器将上述发送端UE发送给接收端UE的语音数据发送给接收端UE。
需要说明的是,在发送端UE发送静默帧时,基站控制设备停止AMR速率转换器进行的语音编码速率转换,避免了由于编码器切换导致的杂音,进一 步提升了语音质量。
进一步地,当AMR速率转换器外置于基站控制设备,且AMR速率转换器位于接收端UE与基站控制设备的第一连接通道上时,步骤105具体可以采用如下方式实施:
基站控制设备将上述发送端UE发送给接收端UE的语音数据通过第二连接通道发送给接收端UE。
其中,该第一连接通道为上述AMR速率转换器连接通道,包含AMR速率转换器;该第二连接通道为上述非AMR速率转换器连接通道,不包含AMR速率转换器,此处不再赘述。
需要指出的是,上述第三种实施场景可以与第一种实施场景相结合,也可以与第二种实施场景相结合,此处不再赘述。
如图2所示,本发明实施例提供的一种语音速率调整设备200,用于执行图1所示的方法实施例,该设备具体可以是基站控制设备,该设备200具体包括:接收单元201、处理单元202和发送单元203,具体如下所述。
接收单元201,用于从接收端UE接收第一语音编码速率调整请求消息,其中,所述接收端UE与发送端UE之间采用第一语音编码速率进行TrFO的AMR语音通信,所述第一语音编码速率调整请求消息用于指示所述接收端UE请求调整的语音编码速率为第二语音编码速率,所述第二语音编码速率不同于所述第一语音编码速率;
处理单元202,用于根据所述接收单元接收的所述第一语音编码速率调整请求消息,生成语音编码速率控制请求消息,所述语音编码速率控制请求消息用于请求所述发送端UE调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率;
发送单元203,用于发送所述处理单元生成的语音编码速率控制请求消息发送给所述发送端UE;
发送单元203,还用于若所述发送端UE调整语音编码速率失败,则通过AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
其中,所述AMR速率转换器用于调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率至所述第二语音编码速率。
其中,第二语音编码速率可以低于第一语音编码速率,也可以高于第一语音编码速率,此处不予限制。
本发明实施提供的语音编码速率调整设备,根据接收端UE发送的第一语音编码速率调整请求消息,请求发送端UE调整语音编码速率,若发送端UE语音编码速率调整失败,通过AMR速率转换器将发送端UE发送给接收端UE的语音数据发送给接收端UE,以使得发送端UE发送给接收端UE的语音数据能够通过AMR速率转换器调整后再发送给接收端UE,以保证接收端UE能够正确解码发送端UE发送的语音数据,避免了语音单通现象的出现。
可选地,在第一种实施场景下,处理单元202,还用于在接收单元201从接收端UE接收第一语音编码速率调整请求消息之后启动定时器;
发送单元203,还用于:
若所述定时器超时,且所述发送端UE的语音编码速率为所述第一语音编码速率,则通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE;或者,
若所述定时器未超时,且接收到所述发送端UE发送的第一语音编码速率控制响应消息,所述第一语音编码速率控制响应消息用于指示所述发送端UE调整语音编码速率失败,则通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
具体地,启动定时器可以在发送单元发送语音编码速率控制请求时启动,也可以在接收单元接收到第一语音编码速率调整请求消息时启动,此处不予限制。此外,定时器的相关描述可以参见图1所示的实施例。
可选地,在第二种实施场景下,接收单元201,还用于接收所述发送端UE发送的第二语音编码速率控制响应消息,所述第二语音编码速率控制响应消息用于指示所述发送端UE调整语音编码速率失败;
发送单元203,还用于通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
可选地,在第三种实施场景下,接收单元201还用于:
接收所述接收端UE发送的第二语音编码速率调整请求消息,或者,接收所述发送端UE发送的第三语音编码速率控制响应消息,或者,接收所述发送端UE发送的第四语音编码速率控制响应消息;
其中,所述第三语音编码速率控制响应消息用于指示所述发送端UE成功调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率为所述第二语音编码速率;所述第二语音编码速率调整请求消息用于指示所述接收端UE请求调整的语音编码速率为所述第一语音编码速率;所述第四语音编码速率控制响应消息用于指示所述发送端UE成功调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率为第三语音编码速率,所述第三语音编码速率为所述接收端UE通过第三语音编码速率调整请求消息请求调整的语音编码速率;
处理单元202,还用于通知发送单元203停止通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
进一步地,处理单元202具体可以用于:
当所述发送端UE发送静默帧时,通知所述发送单元停止通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
需要说明的是,在发送端UE发送静默帧时,停止AMR速率转换器进行的语音编码速率转换,避免了由于编码器切换导致的杂音,进一步提升了语音质量。
可选地,在第四种实施场景下,当所述AMR速率转换器外置于所述设备200,且所述AMR速率转换器位于所述接收端UE与所述设备200的第一连接通道上时,发送单元203还用于:
将所述发送端UE发送给所述接收端UE的语音数据在第二连接通道上发送给所述接收端UE;其中,所述第二连接通道为所述接收端UE与所述设备200之间的连接通道,且所述第二连接通道上不包含AMR速率转换器。
可选地,在第五种实施场景下,当所述AMR速率转换器外置于所述设备200时,
处理单元202,还用于生成通知消息,所述通知消息用于指示所述AMR速率转换器调整所述发送端UE送给所述接收端UE的语音数据的编码速率至所述第二语音编码速率;
发送单元203,还用于将处理单元202生成的所述通知消息给所述AMR速率转换器,并将所述发送端UE发送给所述接收端UE的语音数据发送给所述AMR速率转换器。
可选地,在第六种实施场景下,设备200还包括:AMR速率转换器204。
AMR速率转换器204,用于将所述发送端UE发送给所述接收端UE的语音数据的语音编码速率调整至所述第二语音编码速率;
发送单元203,还用于将AMR速率转换器204调整后的语音数据发送给所述接收端UE。
需要说明指出的是,AMR速率转换器具体可以参见图1所示实施例中的相关描述,此处不再赘述。此外,上述各实施场景可以相互结合,此处不予限制。
如图3所示,本发明实施例提供的另一种语音速率调整设备300,该设备300可以用于执行图1所示的方法实施例,该设备300具体可以为基站控制设备,包括通信接口301和处理器302。
通信接口301,用于从接收端UE接收第一语音编码速率调整请求消息,其中,所述接收端UE与发送端UE之间采用第一语音编码速率进行TrFO的AMR语音通信,所述第一语音编码速率调整请求消息用于指示所述接收端UE请求调整的语音编码速率为第二语音编码速率,所述第二语音编码速率不同于所述第一语音编码速率;
处理器302,用于根据通信接口301接收的所述第一语音编码速率调整请求消息,发送语音编码速率控制请求消息给所述发送端UE;所述语音编码速率控制请求消息用于请求所述发送端UE调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率;
处理器302,还用于若所述发送端UE调整语音编码速率失败,则通过AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE,所述AMR速率转换器用于调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率至所述第二语音编码速率。
其中,第二语音编码速率可以低于第一语音编码速率,第二语音编码速率也可以高于第一语音编码速率。
本发明实施提供的语音编码速率调整设备,根据接收端UE发送的第一语音编码速率调整请求消息,请求发送端UE调整语音编码速率,若发送端UE语音编码速率调整失败,通过AMR速率转换器将发送端UE发送给接收端UE的语音数据发送给接收端UE,以使得发送端UE发送给接收端UE的语音数据能够通过AMR速率转换器调整后再发送给接收端UE,以保证接收端UE能够正确解码发送端UE发送的语音数据,避免出现语音单通的现象。
可选地,处理器302还用于:
在通信接口301从接收端UE接收第一语音编码速率调整请求消息之后启动定时器;
若所述定时器超时,且所述发送端UE的语音编码速率为所述第一语音编码速率,则通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE 的语音数据发送给所述接收端UE;或者,
若所述定时器未超时,且接收到所述发送端UE发送的第一语音编码速率控制响应消息,所述第一语音编码速率控制响应消息用于指示所述发送端UE调整语音编码速率失败,则通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
其中,定时器以及启动定时器的相关描述可以参见图1所述实施例,不再赘述。
可选地,在第一种实施场景下,通信接口301,还用于接收所述发送端UE发送的第二语音编码速率控制响应消息,所述第二语音编码速率控制响应消息用于指示所述发送端UE调整语音编码速率失败;
处理器302,还用于通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
可选地,在第二种实施场景下,通信接口301还用于:
接收所述接收端UE发送的第二语音编码速率调整请求消息,或者,接收所述发送端UE发送的第三语音编码速率控制响应消息,或者,接收所述发送端UE发送的第四语音编码速率控制响应消息;其中,所述第三语音编码速率控制响应消息用于指示所述发送端UE成功调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率为所述第二语音编码速率;所述第二语音编码速率调整请求消息用于指示所述接收端UE请求调整的语音编码速率为所述第一语音编码速率;所述第四语音编码速率控制响应消息用于指示所述发送端UE成功调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率为第三语音编码速率,所述第三语音编码速率为所述接收端UE通过第三语音编码速率调整请求消息请求调整的语音编码速率;
处理器302,还用于停止通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
进一步地,处理器302具体可以用于:
当所述发送端UE发送静默帧时,停止通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
需要说明的是,在发送端UE发送静默帧时,停止AMR速率转换器进行的语音编码速率转换,避免了由于编码器切换导致的杂音,进一步提升了语音质量。
可选地,在第三种实施场景下,当所述AMR速率转换器外置于所述设备300,且所述AMR速率转换器位于所述接收端UE与所述设备300的第一连接通道上时,处理器302还用于:
将所述发送端UE发送给所述接收端UE的语音数据在第二连接通道上发送给所述接收端UE;
其中,所述第二连接通道为所述接收端UE与所述设备300之间的连接通道,且所述第二连接通道上不包含AMR速率转换器。
可选地,在第四种实施场景下,当所述AMR速率转换器外置于所述设备300时,处理器302还用于:
发送通知消息给所述AMR速率转换器,所述通知消息用于指示所述AMR速率转换器调整所述发送端UE送给所述接收端UE的语音数据的编码速率至所述第二语音编码速率;
将所述发送端UE发送给所述接收端UE的语音数据发送给所述AMR速率转换器。
可选地,在第五种实施场景下,设备300还包括AMR速率转换器303;
AMR速率转换器303,用于将所述发送端UE发送给所述接收端UE的语音数据的语音编码速率调整至所述第二语音编码速率;
处理器302,还用于将AMR速率转换器303调整后的语音数据发送给所述接收端UE。
需要说明的是,上述AMR速率转换器303具体可以采用软件或硬件实现;当采用软件实现时,AMR速率转换器303可以由处理器302来实现,当采用硬件实现时,AMR速率转换器303与处理器302为两个独立的器件,此处不再赘述。
此外,上述各实施场景可以相互结合,此处不再赘述。
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims (24)

  1. 一种语音编码速率调整方法,其特征在于,所述方法用于移动通信系统,所述移动通信系统包括基站控制设备、接收端用户设备UE和发送端UE,其中,所述接收端UE与所述发送端UE之间采用第一语音编码速率进行免码变换操作TrFO的自适应多速率AMR语音通信,所述方法包括:
    所述基站控制设备接收所述接收端UE发送的第一语音编码速率调整请求消息,所述第一语音编码速率调整请求消息用于指示所述接收端UE请求调整的语音编码速率为第二语音编码速率,所述第二语音编码速率不同于所述第一语音编码速率;
    所述基站控制设备根据所述第一语音编码速率调整请求消息,发送语音编码速率控制请求消息给所述发送端UE,所述语音编码速率控制请求消息用于请求所述发送端UE调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率;
    若所述发送端UE调整语音编码速率失败,则所述基站控制设备通过AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE,所述AMR速率转换器用于调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率至所述第二语音编码速率。
  2. 根据权利要求1所述的方法,其特征在于,所述基站控制设备接收所述接收端UE发送的第一语音编码速率调整请求消息之后,所述方法还包括:
    所述基站控制设备启动定时器;
    所述若所述发送端UE调整语音编码速率失败,则所述基站控制设备通过AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE,包括:
    若所述定时器超时,且所述发送端UE的语音编码速率为所述第一语音编码速率,则所述基站控制设备通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE;或者,
    若所述定时器未超时,且接收到所述发送端UE发送的第一语音编码速率控制响应消息,所述第一语音编码速率控制响应消息用于指示所述发送端UE调整语音编码速率失败,则所述基站控制设备通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
  3. 根据权利要求1所述的方法,其特征在于,所述若所述发送端UE调整语音编码速率失败,则所述基站控制设备通过AMR速率转换器调整所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE,包括:
    所述基站控制设备接收所述发送端UE发送的第二语音编码速率控制响应消息,所述第二语音编码速率控制响应消息用于指示所述发送端UE调整语音编码速率失败;
    所述基站控制设备通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:
    所述基站控制设备接收所述接收端UE发送的第二语音编码速率调整请求消息,或者,所述基站控制设备接收所述发送端UE发送的第三语音编码速率控制响应消息,或者,所述基站控制设备接收所述发送端UE发送的第四语音编码速率控制响应消息;其中,所述第二语音编码速率调整请求消息用于指示所述接收端UE请求调整的语音编码速率为所述第一语音编码速率;所述第三语音编码速率控制响应消息用于指示所述发送端UE成功调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率为所述第二语音编码速率;所述第四语音编码速率控制响应消息用于指示所述发送端UE成功调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率为第三语音编码速率,所述第三语音编码速率为所述接收端UE通过第三语音编码速率调整请求消息请求调整的语音编码速率;
    所述基站控制设备停止通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
  5. 根据权利要求4所述的方法,其特征在于,所述基站控制设备停止通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE,包括:
    当所述发送端UE发送静默帧时,所述基站控制设备停止通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
  6. 根据权利要求4或5所述的方法,其特征在于,当所述AMR速率转换器外置于所述基站控制设备,且所述AMR速率转换器位于所述接收端UE与所述基站控制设备的第一连接通道上时,所述基站控制设备停止通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE,包括:
    所述基站控制设备将所述发送端UE发送给所述接收端UE的语音数据通过第二连接通道发送给所述接收端UE;
    其中,所述第二连接通道为所述接收端UE与所述基站控制设备之间的连接通道,且所述第二连接通道上不包含AMR速率转换器。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,当所述AMR速率转换器外置于所述基站控制设备时,所述基站控制设备通过AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE,包括:
    所述基站控制设备发送通知消息给所述AMR速率转换器,所述通知消息用于指示所述AMR速率转换器调整所述发送端UE送给所述接收端UE的语音数据的编码速率至所述第二语音编码速率;
    所述基站控制设备将所述发送端UE发送给所述接收端UE的语音数据发送给所述AMR速率转换器,以使得所述AMR速率转换器将语音编码速率转换后的数据发送给所述接收端UE。
  8. 根据权利要求1-5任一项所述的方法,其特征在于,当所述AMR速率 转换器内置于所述基站控制设备时,所述基站控制设备通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE,包括:
    所述基站控制设备启动AMR速率转换器调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率至所述第二语音编码速率;
    所述基站控制设备将所述AMR速率转换器调整后的语音数据发送给所述接收端UE。
  9. 一种语音编码速率调整设备,其特征在于,所述设备包括:
    接收单元,用于从接收端用户设备UE接收第一语音编码速率调整请求消息,其中,所述接收端UE与发送端UE之间采用第一语音编码速率进行免码变换操作TrFO的自适应多速率AMR语音通信,所述第一语音编码速率调整请求消息用于指示所述接收端UE请求调整的语音编码速率为第二语音编码速率,所述第二语音编码速率不同于所述第一语音编码速率;
    处理单元,用于根据所述接收单元接收的所述第一语音编码速率调整请求消息,生成语音编码速率控制请求消息,所述语音编码速率控制请求消息用于请求所述发送端UE调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率;
    发送单元,用于发送所述处理单元生成的语音编码速率控制请求消息发送给所述发送端UE;
    所述发送单元还用于,若所述发送端UE调整语音编码速率失败,则通过AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE,所述AMR速率转换器用于调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率至所述第二语音编码速率。
  10. 根据权利要求9所述的设备,其特征在于,所述处理单元,还用于在所述接收单元从接收端用户设备UE接收第一语音编码速率调整请求消息之后启动定时器;
    所述发送单元,还用于:若所述定时器超时,且所述发送端UE的语音编码速率为所述第一语音编码速率,则通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE;或者,若所述定时器未超时,且接收到所述发送端UE发送的第一语音编码速率控制响应消息,所述第一语音编码速率控制响应消息用于指示所述发送端UE调整语音编码速率失败,则通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
  11. 根据权利要求9所述的设备,其特征在于,
    所述接收单元,还用于接收所述发送端UE发送的第二语音编码速率控制响应消息,所述第二语音编码速率控制响应消息用于指示所述发送端UE调整语音编码速率失败;
    所述发送单元,还用于通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
  12. 根据权利要求9-11任一项所述的设备,其特征在于,所述接收单元还用于:接收所述接收端UE发送的第二语音编码速率调整请求消息,或者,接收所述发送端UE发送的第三语音编码速率控制响应消息,或者,接收所述发送端UE发送的第四语音编码速率控制响应消息;其中,所述第三语音编码速率控制响应消息用于指示所述发送端UE成功调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率为所述第二语音编码速率;所述第二语音编码速率调整请求消息用于指示所述接收端UE请求调整的语音编码速率为所述第一语音编码速率;所述第四语音编码速率控制响应消息用于指示所述发送端UE成功调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率为第三语音编码速率,所述第三语音编码速率为所述接收端UE通过第三语音编码速率调整请求消息请求调整的语音编码速率;
    所述处理单元,还用于通知所述发送单元停止通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
  13. 根据权利要求12所述的设备,其特征在于,所述处理单元具体用于:
    当所述发送端UE发送静默帧时,通知所述发送单元停止通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
  14. 根据权利要求12或13所述的设备,其特征在于,当所述AMR速率转换器外置于所述设备,且所述AMR速率转换器位于所述接收端UE与所述设备的第一连接通道上时,
    所述发送单元,还用于将所述发送端UE发送给所述接收端UE的语音数据在第二连接通道上发送给所述接收端UE;其中,所述第二连接通道为所述接收端UE与所述设备之间的连接通道,且所述第二连接通道上不包含AMR速率转换器。
  15. 根据权利要求9-14任一项所述的设备,其特征在于,当所述AMR速率转换器外置于所述设备时,
    所述处理单元,还用于生成通知消息,所述通知消息用于指示所述AMR速率转换器调整所述发送端UE送给所述接收端UE的语音数据的编码速率至所述第二语音编码速率;
    所述发送单元,还用于将所述处理单元生成的所述通知消息给所述AMR速率转换器,并将所述发送端UE发送给所述接收端UE的语音数据发送给所述AMR速率转换器。
  16. 根据权利要求9-13任一项所述的设备,其特征在于,还包括:
    AMR速率转换器,用于将所述发送端UE发送给所述接收端UE的语音数据的语音编码速率调整至所述第二语音编码速率;
    所述发送单元,还用于将所述AMR速率转换器调整后的语音数据发送给所述接收端UE。
  17. 一种语音编码速率调整设备,其特征在于,包括:
    通信接口,用于从接收端用户设备UE接收第一语音编码速率调整请求消息,其中,所述接收端UE与发送端UE之间采用第一语音编码速率进行免码变换操作TrFO的自适应多速率AMR语音通信,所述第一语音编码速率调整请求消息用于指示所述接收端UE请求调整的语音编码速率为第二语音编码速率,所述第二语音编码速率不同于所述第一语音编码速率;
    处理器,用于根据所述通信接口接收的所述第一语音编码速率调整请求消息,发送语音编码速率控制请求消息给所述发送端UE;所述语音编码速率控制请求消息用于请求所述发送端UE调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率;
    所述处理器,还用于若所述发送端UE调整语音编码速率失败,则通过AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE,所述AMR速率转换器用于调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率至所述第二语音编码速率。
  18. 根据权利要求17所述的设备,其特征在于,所述处理器,还用于在所述通信接口从接收端用户设备UE接收第一语音编码速率调整请求消息之后启动定时器;
    若所述定时器超时,且所述发送端UE的语音编码速率为所述第一语音编码速率,则通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE;或者,
    若所述定时器未超时,且接收到所述发送端UE发送的第一语音编码速率控制响应消息,所述第一语音编码速率控制响应消息用于指示所述发送端UE调整语音编码速率失败,则通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
  19. 根据权利要求17所述的设备,其特征在于,
    所述通信接口,还用于接收所述发送端UE发送的第二语音编码速率控制响应消息,所述第二语音编码速率控制响应消息用于指示所述发送端UE调整 语音编码速率失败;
    所述处理器,还用于通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
  20. 根据权利要求17-19任一项所述的设备,其特征在于,所述通信接口还用于:接收所述接收端UE发送的第二语音编码速率调整请求消息,或者,接收所述发送端UE发送的第三语音编码速率控制响应消息,或者,接收所述发送端UE发送的第四语音编码速率控制响应消息;其中,所述第三语音编码速率控制响应消息用于指示所述发送端UE成功调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率为所述第二语音编码速率;所述第二语音编码速率调整请求消息用于指示所述接收端UE请求调整的语音编码速率为所述第一语音编码速率;所述第四语音编码速率控制响应消息用于指示所述发送端UE成功调整所述发送端UE发送给所述接收端UE的语音数据的语音编码速率为第三语音编码速率,所述第三语音编码速率为所述接收端UE通过第三语音编码速率调整请求消息请求调整的语音编码速率;
    所述处理器,还用于停止通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
  21. 根据权利要求20所述的设备,其特征在于,所述处理器具体用于:
    当所述发送端UE发送静默帧时,停止通过所述AMR速率转换器将所述发送端UE发送给所述接收端UE的语音数据发送给所述接收端UE。
  22. 根据权利要求20或21所述的设备,其特征在于,当所述AMR速率转换器外置于所述设备,且所述AMR速率转换器位于所述接收端UE与所述设备的第一连接通道上时,
    所述处理器,还用于将所述发送端UE发送给所述接收端UE的语音数据在第二连接通道上发送给所述接收端UE;其中,所述第二连接通道为所述接收端UE与所述设备之间的连接通道,且所述第二连接通道上不包含AMR速率转换器。
  23. 根据权利要求17-22任一项所述的设备,其特征在于,当所述AMR速率转换器外置于所述设备时,所述处理器还用于:
    发送通知消息给所述AMR速率转换器,所述通知消息用于指示所述AMR速率转换器调整所述发送端UE送给所述接收端UE的语音数据的编码速率至所述第二语音编码速率;
    将所述发送端UE发送给所述接收端UE的语音数据发送给所述AMR速率转换器。
  24. 根据权利要求17-21任一项所述的设备,其特征在于,还包括所述AMR速率转换器;
    所述AMR速率转换器,用于将所述发送端UE发送给所述接收端UE的语音数据的语音编码速率调整至所述第二语音编码速率;
    所述处理器,还用于将所述AMR速率转换器调整后的语音数据发送给所述接收端UE。
PCT/CN2015/080430 2015-05-30 2015-05-30 语音编码速率调整的方法和设备 WO2016191989A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2015/080430 WO2016191989A1 (zh) 2015-05-30 2015-05-30 语音编码速率调整的方法和设备
CN201580042898.1A CN106576271B (zh) 2015-05-30 2015-05-30 语音编码速率调整的方法和设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/080430 WO2016191989A1 (zh) 2015-05-30 2015-05-30 语音编码速率调整的方法和设备

Publications (1)

Publication Number Publication Date
WO2016191989A1 true WO2016191989A1 (zh) 2016-12-08

Family

ID=57439793

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/080430 WO2016191989A1 (zh) 2015-05-30 2015-05-30 语音编码速率调整的方法和设备

Country Status (2)

Country Link
CN (1) CN106576271B (zh)
WO (1) WO2016191989A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110072011A (zh) * 2019-04-24 2019-07-30 Oppo广东移动通信有限公司 调整码率方法及相关产品

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109756457A (zh) * 2017-11-06 2019-05-14 中国电信股份有限公司 语音速率调整方法、终端以及通信系统
CN113573233B (zh) * 2021-07-23 2022-06-28 荣耀终端有限公司 语音通信方法、电子设备和可读介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1225773A1 (en) * 2001-01-22 2002-07-24 TELEFONAKTIEBOLAGET LM ERICSSON (publ) Tandem free Hand-over
CN101212459A (zh) * 2006-12-28 2008-07-02 华为技术有限公司 控制媒体编码速率的方法、系统和设备
WO2009090582A1 (en) * 2008-01-17 2009-07-23 Nokia Corporation Adaptive multi-rate codec bit rate control in a wireless system
CN101548320A (zh) * 2006-12-05 2009-09-30 诺基亚公司 用于通信网络的语音编码布置
CN102143544A (zh) * 2010-11-02 2011-08-03 华为技术有限公司 控制语音编码速率的方法、设备及系统
CN102142930A (zh) * 2010-12-28 2011-08-03 华为技术有限公司 应用于TrFO语音呼叫切换的速率调整方法及设备
CN102667925A (zh) * 2009-10-28 2012-09-12 瑞典爱立信有限公司 针对无线信道速率改变的编解码器速率适配

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1225773A1 (en) * 2001-01-22 2002-07-24 TELEFONAKTIEBOLAGET LM ERICSSON (publ) Tandem free Hand-over
CN101548320A (zh) * 2006-12-05 2009-09-30 诺基亚公司 用于通信网络的语音编码布置
CN101212459A (zh) * 2006-12-28 2008-07-02 华为技术有限公司 控制媒体编码速率的方法、系统和设备
WO2009090582A1 (en) * 2008-01-17 2009-07-23 Nokia Corporation Adaptive multi-rate codec bit rate control in a wireless system
CN102667925A (zh) * 2009-10-28 2012-09-12 瑞典爱立信有限公司 针对无线信道速率改变的编解码器速率适配
CN102143544A (zh) * 2010-11-02 2011-08-03 华为技术有限公司 控制语音编码速率的方法、设备及系统
CN102142930A (zh) * 2010-12-28 2011-08-03 华为技术有限公司 应用于TrFO语音呼叫切换的速率调整方法及设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110072011A (zh) * 2019-04-24 2019-07-30 Oppo广东移动通信有限公司 调整码率方法及相关产品
CN110072011B (zh) * 2019-04-24 2021-07-20 Oppo广东移动通信有限公司 调整码率方法及相关产品

Also Published As

Publication number Publication date
CN106576271A (zh) 2017-04-19
CN106576271B (zh) 2020-01-10

Similar Documents

Publication Publication Date Title
US11647428B2 (en) Communication terminal apparatus and communication method
RU2400937C2 (ru) СПОСОБ УПРАВЛЕНИЯ СКОРОСТЬЮ КОДЕКА, ЗАПРАШИВАЕМОГО УСТРОЙСТВОМ УПРАВЛЕНИЯ РЕСУРСОМ РАДИОСВЯЗИ ДЛЯ VoIP
JP5956348B2 (ja) 可変レート・ボコーダを利用するユーザ機器のためのボイスオーバip容量を改善する方法
JP6759241B2 (ja) 3gpp(登録商標)2ネットワークにおける拡張音声サービス(evs)
CN109729552B (zh) 语音传输方法和装置
US9769320B2 (en) Mechanism for dynamic signaling of encoder capabilities
KR20130045049A (ko) 무선통신 시스템에서 서로 다른 망들을 이용한 음성 호의 연속성 제공을 위한 장치 및 방법
US6978130B2 (en) Method for changing voice coding mode, communication system, communication network and communication terminal
WO2012059051A1 (zh) 控制语音编码速率的方法、设备及系统
WO2008098490A1 (fr) Méthode et appareil de modification de codecs audio
US7768923B2 (en) Packet aging in a wireless network
EP3966973B1 (en) Codec configuration adaptation based on packet loss rate
WO2016191989A1 (zh) 语音编码速率调整的方法和设备
US20180279321A1 (en) Wireless base station, wireless terminal, wireless communication system, and voice signal communication method
WO2018001203A1 (zh) 一种提高通话质量的方法、无线网络控制器以及核心网
WO2017045125A1 (zh) 语音自适应参数的调整方法、系统及相关设备
KR20150120201A (ko) 패킷 교환 이동통신 시스템의 과 부하 상황에서 통화 서비스를 허용하는 방법 및 장치
EP3556138A1 (en) Providing handover thresholds to the ran
US10172046B2 (en) Mobile communication system, base station, higher-order apparatus, gateway apparatus, communication method, and program
WO2009046594A1 (fr) Procédé de négociation de codec entre un réseau sans fil et un réseau central dans un système de télécommunication mobile
WO2012089010A1 (zh) 应用于TrFO语音呼叫切换的速率调整方法及设备
WO2019104523A1 (zh) 语音会话建立方法、装置、设备及存储介质

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

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

Country of ref document: EP

Kind code of ref document: A1