CN106576271B - Method and apparatus for speech coding rate adjustment - Google Patents

Method and apparatus for speech coding rate adjustment Download PDF

Info

Publication number
CN106576271B
CN106576271B CN201580042898.1A CN201580042898A CN106576271B CN 106576271 B CN106576271 B CN 106576271B CN 201580042898 A CN201580042898 A CN 201580042898A CN 106576271 B CN106576271 B CN 106576271B
Authority
CN
China
Prior art keywords
coding rate
sending
voice
amr
receiving end
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201580042898.1A
Other languages
Chinese (zh)
Other versions
CN106576271A (en
Inventor
严凯
李明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN106576271A publication Critical patent/CN106576271A/en
Application granted granted Critical
Publication of CN106576271B publication Critical patent/CN106576271B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Abstract

A method and apparatus for adjusting a speech coding rate, the method is used for a mobile communication system, and includes a base station control device, a receiving end UE and a sending end UE, wherein, the receiving end UE and the sending end UE adopt a first speech coding rate to perform an AMR speech communication of TrFO, including: receiving a first voice coding rate adjustment request message (101) sent by the receiving end UE, and taking the voice coding rate required to be adjusted as a second voice coding rate; according to the first voice coding rate adjustment request message, sending a voice coding rate control request message to the sending end UE (102) so as to request the sending end UE to adjust the voice coding rate of the voice data sent to the receiving end UE by the sending end UE; if the sending end UE fails to adjust the voice coding rate, the voice data sent by the sending end UE to the receiving end UE is sent to the receiving end UE through the AMR rate converter (103). The method can realize that the sending end UE carries out normal voice communication with the receiving end UE under the condition that the voice rate adjustment fails, and improves the voice quality and the user experience.

Description

Method and apparatus for speech coding rate adjustment
Technical Field
The present invention relates to mobile communication systems, and more particularly, to a method and apparatus for adjusting a speech coding rate.
Background
In order to improve the conversation feeling of users, a code free operation (TrFO) technology is introduced. If the User Equipment (UE) at the sending end and the UE at the receiving end support the same speech coding rate, no transcoding operation is performed during the process of establishing the service bearer, and the same speech coding rate is used for the speech call. Because the TrFO technology only carries out coding at the UE of the sending end, the damage to the voice signal caused by repeated coding operation in the traditional calling process is avoided, and the quality of the voice signal is obviously improved.
During the application of the TrFO technology, the inventors found that: if the speech coding mode adopted by the sending end UE is the speech coding rate which cannot be correctly decoded by the receiving end UE, the receiving end UE sends a message to request the sending end UE to adjust the speech coding rate. In some cases, the sending end UE may not adjust the speech coding rate in time, for example, the sending end UE rejects to adjust the speech coding rate, so that the receiving end UE cannot correctly decode the speech data sent by the sending end UE, thereby causing a problem of single pass of speech.
Disclosure of Invention
The embodiment of the invention provides a method and equipment for adjusting a voice coding rate, which can realize that a sending end UE performs normal voice communication with a receiving end UE under the condition that the voice rate adjustment fails, and improve the voice quality and the user experience.
In a first aspect, a method for adjusting a speech coding rate is provided, where the method is used in a mobile communication system, and the mobile communication system includes a base station control device, a receiving end UE and a sending end UE, where AMR speech communication of TrFO is performed between the receiving end UE and the sending end UE at a first speech coding rate, and the method includes:
the base station control equipment receives a first voice coding rate adjustment request message sent by the receiving end UE, wherein the first voice coding rate adjustment request message is used for indicating that the voice coding rate required to be adjusted by the receiving end UE is a second voice coding rate, and the second voice coding rate is different from the first voice 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 coding rate adjustment request message, wherein the voice coding rate control request message is used for requesting the sending end UE to adjust the voice coding rate of the voice data sent to the receiving end UE by the sending end UE;
if the sending end UE fails to adjust the voice coding rate, the base station control equipment sends the voice data sent by the sending end UE to the receiving end UE through an AMR rate converter, and the AMR rate converter is used for adjusting 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.
With reference to the first aspect, in a first implementation manner of the first aspect, after the base station control device receives a first speech coding rate adjustment request message sent by the receiving end UE, the method further includes:
the base station control equipment starts a timer;
if the sending end UE fails to adjust the speech coding rate, the base station control device sends the speech data sent by the sending end UE to the receiving end UE through an AMR rate converter, including:
if the timer is overtime and the voice coding rate of the sending end UE is the first voice coding rate, the base station control equipment sends the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter; alternatively, the first and second electrodes may be,
if the timer is not overtime and receives a first speech coding rate control response message sent by the sending end UE, wherein the first speech coding rate control response message is used for indicating that the sending end UE fails to adjust the speech coding rate, the base station control equipment sends the speech data sent by the sending end UE to the receiving end UE through the AMR rate converter.
With reference to the first aspect, in a second implementation manner of the first aspect, if the adjusting of the speech coding rate by the sending end UE fails, the adjusting, by the base station control device, of the speech data sent to the receiving end UE by the sending end UE through an AMR rate converter to be sent to the receiving end UE includes:
the base station control equipment receives a second voice coding rate control response message sent by the sending end UE, wherein the second voice coding rate control response message is used for indicating that the sending end UE fails to adjust the voice coding rate;
and the base station control equipment sends the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter.
With reference to the first aspect or any one of the foregoing implementation manners, in a third implementation manner of the first aspect, the method further includes:
the base station control equipment receives a second voice coding rate adjustment request message sent by the receiving end UE, or the base station control equipment receives a third voice coding rate control response message sent by the sending end UE, or the base station control equipment receives a fourth voice coding rate control response message sent by the sending end UE; the second speech coding rate adjustment request message is used for indicating that the speech coding rate requested to be adjusted by the receiving end UE is the first speech coding rate; the third speech coding rate control response message is used for indicating the sending end UE to successfully adjust the speech coding rate of the speech data sent to the receiving end UE by the sending end UE to the second speech coding rate; the fourth speech coding rate control response message is used for indicating the sending end UE to successfully adjust the speech coding rate of the speech data sent to the receiving end UE by the sending end UE to a third speech coding rate, where the third speech coding rate is the speech coding rate requested to be adjusted by the receiving end UE through a third speech coding rate adjustment request message;
and the base station control equipment stops sending the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter.
With reference to the third implementation manner, in a fourth implementation manner of the first aspect, the stopping, by the base station control device, sending, to the receiving end UE, the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter includes:
when the sending end UE sends a silence frame, the base station control equipment stops sending the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter.
With reference to the third or fourth implementation manner of the first aspect, in a fifth implementation manner of the first aspect, when the AMR rate converter is externally disposed to the base station control device and the AMR rate converter is located in a first connection channel between the receiving end UE and the base station control device, the base station control device stops sending, to the receiving end UE, the voice data sent from the sending end UE to the receiving end UE through the AMR rate converter, including:
the base station control equipment sends the voice data sent by the sending end UE to the receiving end UE through a second connecting 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.
With reference to the first aspect or any one of the foregoing implementation manners, in a sixth implementation manner of the first aspect, when the AMR rate converter is externally disposed on the base station control device, the base station control device sends, to the receiving end UE, the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter, including:
the base station control equipment sends a notification message to the AMR rate converter, wherein the notification message is used for indicating the AMR rate converter to adjust the coding rate of the voice data sent to the receiving end UE by the sending end UE to the second voice coding rate;
and the base station control equipment sends the voice data sent by the sending end UE to the receiving end UE to the AMR rate converter, so that the AMR rate converter sends the data subjected to the voice coding rate conversion to the receiving end UE.
With reference to the first aspect or any one of the first to the fourth implementation manners, in a seventh implementation manner of the first aspect, when the AMR rate converter is built in the base station control device, the base station control device sends, to the receiving UE, the voice data sent by the sending UE to the receiving UE through the AMR rate converter, where the sending voice data includes:
the base station control equipment starts an AMR (adaptive multi rate) converter to adjust the voice coding rate of the voice data sent to the receiving end UE by the sending end UE to the second voice coding rate;
and the base station control equipment sends the voice data regulated by the AMR rate converter to the receiving end UE.
In a second aspect, there is provided a speech coding rate adjustment device, the device comprising:
a receiving unit, configured to receive a first speech coding rate adjustment request message from a receiving end user equipment UE, where the receiving end UE and the sending end UE perform adaptive multi-rate AMR speech communication using a first speech coding rate to perform a TrFO operation without code conversion, the first speech coding rate adjustment request message is used to indicate that a speech coding rate requested to be adjusted by the receiving end UE is 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 speech coding rate control request message according to the first speech coding rate adjustment request message received by the receiving unit, where the speech coding rate control request message is used to request the sending end UE to adjust a speech coding rate of speech data sent by the sending end UE to the receiving end UE;
a sending unit, configured to send the speech coding rate control request message generated by the processing unit to the sending end UE;
the sending unit is further configured to send, if the sending end UE fails to adjust the speech coding rate, the speech data sent by the sending end UE to the receiving end UE through an AMR rate converter, where the AMR rate converter is configured to adjust the speech coding rate of the speech data sent by the sending end UE to the receiving end UE to the second speech coding rate.
With reference to the second aspect, in a first implementation manner of the second aspect, the processing unit is further configured to start a timer after the receiving unit receives a first speech coding rate adjustment request message from a receiving end user equipment UE;
the sending unit is further configured to: if the timer is overtime and the voice coding rate of the sending end UE is the first voice coding rate, sending the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter; or, if the timer is not overtime and receives a first speech coding rate control response message sent by the sending end UE, where the first speech coding rate control response message is used to indicate that the sending end UE fails to adjust the speech coding rate, sending speech data sent by the sending end UE to the receiving end UE through the AMR rate converter.
With reference to the second aspect, in a second implementation manner of the second aspect, the receiving unit is further configured to receive a second speech coding rate control response message sent by the sending end UE, where the second speech coding rate control response message is used to indicate that the sending end UE fails to adjust the speech coding rate;
the sending unit is further configured to send, to the receiving end UE, the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter.
With reference to the second aspect or any one of the foregoing implementation manners, in a third implementation manner of the second aspect, the receiving unit is further configured to: receiving 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; the third speech coding rate control response message is used for indicating the sending end UE to successfully adjust the speech coding rate of the speech data sent to the receiving end UE by the sending end UE to the second speech coding rate; the second voice coding rate adjustment request message is used for indicating that the voice coding rate requested to be adjusted by the receiving end UE is the first voice coding rate; the fourth speech coding rate control response message is used for indicating the sending end UE to successfully adjust the speech coding rate of the speech data sent to the receiving end UE by the sending end UE to a third speech coding rate, where the third speech coding rate is the speech coding rate requested to be adjusted by the receiving end UE through a third speech coding rate adjustment request message;
the processing unit is further configured to notify the sending unit to stop sending the voice data sent from the sending end UE to the receiving end UE through the AMR rate converter.
With reference to the third implementation manner of the second aspect, in a fourth implementation manner of the second aspect, the processing unit is specifically configured to:
and when the sending end UE sends a silence frame, informing the sending unit to stop sending the voice data sent to the receiving end UE by the sending end UE to the receiving end UE through the AMR rate converter.
With reference to the third or fourth implementation manner of the second aspect, in a fifth implementation manner of the second aspect, when the AMR rate converter is external to the device and the AMR rate converter is located on a first connection channel between the receiving UE and the device,
the sending unit is further configured to send the voice data sent by the sending end UE to the receiving end UE on a second connection channel; the second connection channel is a connection channel between the receiving end UE and the device, and the second connection channel does not include an AMR rate converter.
With reference to the second aspect or any one of the foregoing implementations, in a sixth implementation of the second aspect, when the AMR rate converter is external to the device,
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 the 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.
With reference to the second aspect or any one of the first to fourth implementation manners of the second aspect, in a seventh implementation manner of the second aspect, the apparatus further includes:
an AMR rate converter, configured to adjust a speech coding rate of speech data sent by the sending end UE to the receiving end UE to the second speech coding rate;
the sending unit is further configured to send the voice data adjusted by the AMR rate converter to the receiving end UE.
In a third aspect, a speech coding rate adjustment device is provided, which includes:
a communication interface, configured to receive a first speech coding rate adjustment request message from a receiving end user equipment UE, where the receiving end UE and the sending end UE perform adaptive multi-rate AMR speech communication using a first speech coding rate to perform a TrFO operation without code conversion, the first speech coding rate adjustment request message is used to indicate that a speech coding rate requested to be adjusted by the receiving end UE is a second speech coding rate, and the second speech coding rate is different from the first speech coding rate;
the processor is used for adjusting the request message according to the first voice coding rate received by the communication interface and sending a voice coding rate control request message to the sending end UE; the voice coding rate control request message is used for requesting 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 processor is further configured to send, if the sending-end UE fails to adjust the speech coding rate, the speech data sent by the sending-end UE to the receiving-end UE through an AMR rate converter, where the AMR rate converter is configured to adjust the speech coding rate of the speech data sent by the sending-end UE to the receiving-end UE to the second speech coding rate.
With reference to the third aspect, in a first implementation manner of the third aspect, the processor is further configured to start a timer after the communication interface receives a first speech coding rate adjustment request message from a receiving end user equipment UE;
if the timer is overtime and the voice coding rate of the sending end UE is the first voice coding rate, sending the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter; alternatively, the first and second electrodes may be,
and if the timer is not overtime and receives a first voice coding rate control response message sent by the sending end UE, wherein the first voice coding rate control response message is used for indicating that the sending end UE fails to adjust the voice coding rate, the voice data sent to the receiving end UE by the sending end UE is sent to the receiving end UE through the AMR rate converter.
With reference to the third aspect, in a second implementation manner of the third aspect, the communication interface is further configured to receive a second speech coding rate control response message sent by the sending end UE, where the second speech coding rate control response message is used to indicate that the sending end UE fails to adjust a speech coding rate;
the processor is further configured to send, to the receiving end UE, the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter.
With reference to the third aspect or any one of the foregoing implementation manners, in a third implementation manner of the third aspect, the communication interface is further configured to: receiving 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; the third speech coding rate control response message is used for indicating the sending end UE to successfully adjust the speech coding rate of the speech data sent to the receiving end UE by the sending end UE to the second speech coding rate; the second voice coding rate adjustment request message is used for indicating that the voice coding rate requested to be adjusted by the receiving end UE is the first voice coding rate; the fourth speech coding rate control response message is used for indicating the sending end UE to successfully adjust the speech coding rate of the speech data sent to the receiving end UE by the sending end UE to a third speech coding rate, where the third speech coding rate is the speech coding rate requested to be adjusted by the receiving end UE through a third speech coding rate adjustment request message;
the processor is further configured to stop sending the voice data sent from the sending end UE to the receiving end UE through the AMR rate converter.
With reference to the third implementation manner of the third aspect, in a fourth implementation manner of the third aspect, the processor is specifically configured to:
and when the sending end UE sends a silence frame, stopping sending the voice data sent to the receiving end UE by the sending end UE to the receiving end UE through the AMR rate converter.
With reference to the third or fourth implementation manner of the third aspect, in a fifth implementation manner of the third aspect, when the AMR rate converter is external to the device and the AMR rate converter is located on a first connection channel between the receiving UE and the device,
the processor is further configured to send the voice data sent by the sending end UE to the receiving end UE on a second connection channel; the second connection channel is a connection channel between the receiving end UE and the device, and the second connection channel does not include an AMR rate converter.
With reference to the third aspect or any one of the foregoing implementation manners, in a sixth implementation manner of the third aspect, when the AMR rate converter is external to the device, the processor is further configured to:
sending a notification message to the AMR rate converter, wherein the notification message is used for indicating the AMR rate converter to adjust the coding rate of the voice data sent to the receiving end UE by the sending end UE to the second voice coding rate;
and sending the voice data sent by the sending end UE to the receiving end UE to the AMR rate converter.
With reference to the third aspect or any one of the first to fourth implementation manners of the third aspect, in a seventh implementation manner of the third aspect, the apparatus further includes the AMR rate converter;
the AMR rate converter is used for adjusting 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 processor is further configured to send the voice data adjusted by the AMR rate converter to the receiving end UE.
According to the technical scheme, the base station control equipment 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, and if the voice coding rate adjustment of the sending end UE fails, the base station controller sends the voice data sent by the sending 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 receiving end UE, the voice data sent by the sending end UE can be correctly decoded by the receiving end UE, and the phenomenon of voice single pass is avoided.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is a flowchart of a method for adjusting a speech coding rate according to an embodiment of the present invention;
fig. 2 is a block diagram of a speech coding rate adjustment apparatus according to an embodiment of the present invention;
fig. 3 is a hardware diagram of a speech coding rate adjustment apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Various aspects are described herein in connection with a mobile station and a base station control apparatus.
A User Equipment (UE) may be a wireless terminal, which may be a device that provides voice and/or data connectivity to a user, a handheld device with wireless connectivity, or other processing device connected to a wireless modem. A wireless terminal, which may be a mobile terminal such as a mobile telephone (or "cellular" telephone) and a computer having a mobile terminal, specifically a portable, pocket, hand-held, computer-included or vehicle-mounted mobile device, may communicate with one or more core networks via a Radio Access Network (RAN), and may exchange languages and/or data with the RAN. Such as Personal Communication Service (PCS) phones, cordless phones, Session Initiation Protocol (SIP) phones, Wireless Local Loop (WLL) stations, Personal Digital Assistants (PDAs), and the like. A wireless Terminal may also be referred to as a system, for example, an Access Point (Access Point), a Remote Terminal (Remote Terminal), an Access Terminal (Access Terminal), a User Terminal (User Terminal), a User Agent (User Agent), etc.
The base station control device may be a Base Station Controller (BSC) in Global System for mobile communications (GSM) or Code Division Multiple Access (CDMA) Access, or may be a Radio Network Controller (RNC) in CDMA, and the present invention is not limited thereto.
As shown in fig. 1, a method for adjusting a speech coding rate according to an embodiment of the present invention is applied to a mobile communication system, where the mobile communication system may specifically include a base station control device, a receiving end UE and a sending end UE, where the receiving end UE and the sending end UE perform AMR speech communication of TrFO at a first speech coding rate, and the method may be performed by the base station control device, which is specifically described as follows.
It should be noted that, in each embodiment of the present invention, the receiving-end UE refers to a UE located at a receiving end of voice data, and the sending-end UE refers to a UE located at a sending end of voice data, which is not described in detail later.
101. The base station control equipment receives a first voice coding rate adjustment request message sent by receiving end UE.
The first speech coding rate adjustment request message is used to indicate that the speech coding rate requested to be adjusted by the receiving end UE is a second speech coding rate.
The second speech coding rate is different from the first speech coding rate, that is, the second speech coding rate may be lower than the first speech coding rate, and the second speech coding rate may also be higher than the first speech coding rate, for example, the first speech coding rate may be Adaptive Multi Rate (AMR) 12.2kbps (kilobit per second), and the second speech coding rate may be amrr 7.4 kbps.
It should be noted that the AMR voice communication may specifically be AMR NB (narrow band), AMR WB (wide band), Enhanced Voice Service (EVS), which is not limited herein. In addition, AMR voice communications may employ a variety of speech coding rates, e.g., 4.75kbps, 5.15kbps, 5.9kbps, 10.2kbps, and the like.
102. And the base station control equipment sends the voice coding rate control request message to the sending end UE according to the first voice coding rate adjustment request message.
The voice coding rate control request message is used for requesting 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.
103. If the sending end UE fails to adjust the voice coding rate, the base station control equipment sends the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter.
It should be noted that the AMR rate converter in step 103 is used to perform a conversion between various AMR speech coding rates, for example, the conversion between the speech coding rates provided in step 101. Specifically, the AMR rate converter may be configured to adjust a speech coding rate of speech data sent by the sending end UE to the receiving end UE to a second speech coding rate; the AMR rate converter may be implemented by software or hardware, which belongs to the prior art and is not described in detail. In addition, the AMR rate converter can be disposed inside the base station control device or can be disposed outside the base station control device, which is not limited herein.
It should be noted that, when the AMR rate converter is externally disposed on the base station control device, two different connection channels may be established between the base station control device and the receiving end UE, wherein one connection channel includes the AMR rate converter, which is called as an AMR rate converter connection channel; the other connection channel does not contain an AMR rate converter, which is called a non-AMR rate converter connection channel.
Optionally, when the AMR rate converter is externally disposed on the base station control device, in step 103, the base station control device sends the voice data sent from the sending end UE to the receiving end UE through the AMR rate converter, which specifically includes:
103a, 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 coding rate of the voice data sent from the sending end UE to the receiving end UE to a second voice coding rate;
103b, 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.
Optionally, when the AMR rate converter is built into the base station control device, step 103 comprises:
103 a' the base station control device starts an AMR rate converter to adjust the voice coding rate of the voice data sent to the receiving end UE by the sending end UE to a second voice coding rate;
103b 'the base station control device sends the voice data adjusted in step 103 a' to the receiving end UE.
The base station control equipment requests the sending end UE to adjust the voice coding rate according to a first voice coding rate adjustment request message sent by the receiving end UE, and if the voice coding rate adjustment of the sending end UE fails, the base station controller sends voice data sent by the sending 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 receiving end UE, the voice data sent by the sending end UE can be correctly decoded by the receiving end UE, and the phenomenon of voice single pass is avoided.
Optionally, in a first implementation scenario, after the base station control device in step 101 receives the speech coding rate adjustment request message sent by the receiving end UE, the method further includes: the base station control apparatus starts a timer.
Further, step 103 may be implemented in two ways:
in the first mode, if the timer is overtime and the speech coding rate of the sending end UE is the first speech coding rate, the base station control device sends the speech coding of the speech data sent from the sending end UE to the receiving end UE through the AMR rate converter.
And if the timer is not overtime and receives a first voice coding rate control response message sent by the sending end UE, and the first voice coding rate control response message is used for indicating that the sending end UE fails to adjust the voice coding rate, the base station control equipment sends the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter.
The base station control device in the first and second modes sends the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter specifically may refer to steps 103a and 103b in step 103, or may refer to steps 103a 'and 103 b', and details are not described here.
Note that the timer timeout is a timing time of the timer, which is greater than or equal to a timing duration T milliseconds (ms) of the timer, for example, 200 ms; if the timer does not time out, the timing time of the timer is less than the T. In the first implementation scenario, the timer may be started after receiving the first speech coding rate adjustment request message in step 101; the timer may also be started when the speech coding rate control request is sent in step 102, which is not limited herein.
Optionally, in a second implementation scenario, step 103 specifically includes:
the base station control equipment receives a second voice coding rate control response message sent by the sending end UE, wherein the second voice coding rate control response message is used for indicating that the sending end UE fails to adjust the voice coding rate;
and the base station control equipment sends the voice data sent by the sending 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 through the AMR rate converter, which may be specifically executed with reference to 103a and 103b in step 103, or with reference to 103a 'and 103 b', and details are not described here.
Optionally, in a third implementation scenario, after step 103, the method further includes steps 104a and 105; alternatively, steps 104b and 105; alternatively, steps 104c and 105 are used to stop the AMR transrater from performing speech transcoding, as described in detail below.
104a, the base station control device receives a second speech coding rate adjustment request message from the receiving end UE, where the second speech coding rate adjustment request message is used to indicate that the speech coding rate requested to be adjusted by the receiving end UE is the first speech coding rate.
104b, the base station control device receives a third speech coding rate control response message from the sending end UE, where the third speech coding rate control response message is used to instruct the sending end UE to successfully adjust the speech coding rate of the speech data sent by the sending end UE to the receiving end UE to the second speech coding rate.
104c, the base station control device receives a fourth speech coding rate control response message sent by the sending end UE, where the fourth speech coding rate control response message is used to instruct the sending end UE to successfully adjust a speech coding rate of speech data sent by the sending end UE to the receiving end UE to a third speech coding rate, and the third speech coding rate is a speech coding rate requested to be adjusted by the receiving end UE through the third speech coding rate adjustment request message.
105. And the base station control equipment stops sending the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter.
It should be noted that before step 104b and after step 102, it may further include: the base station control equipment sends at least one voice coding rate control request message to the sending end UE, and requests the sending end UE to adjust the voice coding rate to be a second voice coding rate.
Further, step 105 may specifically include:
when the sending end UE sends a silence frame (SID frame), the base station control device stops sending the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter.
It should be noted that, when the UE at the sending end sends a silence frame, the base station control device stops the speech coding rate conversion performed by the AMR rate converter, thereby avoiding noise caused by switching of the encoder and further improving the speech quality.
Further, when the AMR rate converter is externally disposed on the base station control device and the AMR rate converter is located on the first connection channel between the receiving end UE and the base station control device, step 105 may be implemented in the following manner:
and the base station control equipment sends the voice data sent by the sending end UE to the receiving end UE through a second connecting channel.
Wherein, the first connecting channel is the AMR speed converter connecting channel and comprises an AMR speed converter; the second connection channel is the non-AMR rate converter connection channel described above and does not include an AMR rate converter, which is not described herein again.
It should be noted that the third implementation scenario may be combined with the first implementation scenario or the second implementation scenario, and details thereof are not repeated herein.
As shown in fig. 2, a speech rate adjustment device 200 provided in an embodiment of the present invention is configured to execute the method embodiment shown in fig. 1, where the device may specifically be a base station control device, and the device 200 specifically includes: a receiving unit 201, a processing unit 202 and a transmitting unit 203, as described in detail below.
A receiving unit 201, configured to receive a first speech coding rate adjustment request message from a receiving end UE, where the receiving end UE and the sending end UE perform AMR speech communication of TrFO at a first speech coding rate, the first speech coding rate adjustment request message is used to indicate that a speech coding rate requested to be adjusted by the receiving end UE is a second speech coding rate, and the second speech coding rate is different from the first speech coding rate;
a processing unit 202, configured to generate a speech coding rate control request message according to the first speech coding rate adjustment request message received by the receiving unit, where the speech coding rate control request message is used to request the sending end UE to adjust a speech coding rate of speech data sent by the sending end UE to the receiving end UE;
a sending unit 203, configured to send the speech coding rate control request message generated by the processing unit to the sending end UE;
the sending unit 203 is further configured to send, to the receiving end UE, the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter if the sending end UE fails to adjust the voice coding rate.
The AMR rate converter is used for adjusting the voice coding rate of the voice data sent to the receiving end UE by the sending end UE to the second voice coding rate.
The second speech encoding rate may be lower than the first speech encoding rate or higher than the first speech encoding rate, which is not limited herein.
The voice coding rate adjusting device provided by the embodiment of the invention requests the sending end UE to adjust the voice coding rate according to the first voice coding rate adjusting request message sent by the receiving end UE, and if the voice coding rate adjustment of the sending end UE fails, the voice data sent to the receiving end UE by the sending end UE is sent to the receiving end UE through the AMR rate converter, so that the voice data sent to the receiving end UE by the sending end UE can be adjusted by the AMR rate converter and then sent to the receiving end UE, the voice data sent by the sending end UE can be correctly decoded by the receiving end UE, and the phenomenon of voice single-pass is avoided.
Optionally, in a first implementation scenario, the processing unit 202 is further configured to start a timer after the receiving unit 201 receives the first speech coding rate adjustment request message from the receiving end UE;
the sending unit 203 is further configured to:
if the timer is overtime and the voice coding rate of the sending end UE is the first voice coding rate, sending the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter; alternatively, the first and second electrodes may be,
and if the timer is not overtime and receives a first voice coding rate control response message sent by the sending end UE, wherein the first voice coding rate control response message is used for indicating that the sending end UE fails to adjust the voice coding rate, the voice data sent to the receiving end UE by the sending end UE is sent to the receiving end UE through the AMR rate converter.
Specifically, the start timer may be started when the sending unit sends the speech coding rate control request, or may be started when the receiving unit receives the first speech coding rate adjustment request message, which is not limited herein. In addition, the related description of the timer can be referred to the embodiment shown in fig. 1.
Optionally, in a second implementation scenario, the receiving unit 201 is further configured to receive a second speech coding rate control response message sent by the sending end UE, where the second speech coding rate control response message is used to indicate that the sending end UE fails to adjust the speech coding rate;
the sending unit 203 is further configured to send, to the receiving end UE, the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter.
Optionally, in a third implementation scenario, the receiving unit 201 is further configured to:
receiving 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;
the third speech coding rate control response message is used for indicating the sending end UE to successfully adjust the speech coding rate of the speech data sent to the receiving end UE by the sending end UE to the second speech coding rate; the second voice coding rate adjustment request message is used for indicating that the voice coding rate requested to be adjusted by the receiving end UE is the first voice coding rate; the fourth speech coding rate control response message is used for indicating the sending end UE to successfully adjust the speech coding rate of the speech data sent to the receiving end UE by the sending end UE to a third speech coding rate, where the third speech coding rate is the speech coding rate requested to be adjusted by the receiving end UE through a third speech coding rate adjustment request message;
the processing unit 202 is further configured to notify the sending unit 203 to stop sending the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter.
Further, the processing unit 202 may specifically be configured to:
and when the sending end UE sends a silence frame, informing the sending unit to stop sending the voice data sent to the receiving end UE by the sending end UE to the receiving end UE through the AMR rate converter.
It should be noted that when the sending end UE sends the silence frame, the speech coding rate conversion performed by the AMR rate converter is stopped, thereby avoiding noise caused by switching of the encoder and further improving the speech quality.
Optionally, in a fourth implementation scenario, when the AMR rate converter is externally disposed to the device 200 and the AMR rate converter is located on a first connection channel between the receiving end UE and the device 200, the sending unit 203 is further configured to:
sending the voice data sent by the sending end UE to the receiving end UE on a second connecting channel; wherein the second connection channel is a connection channel between the receiving end UE and the device 200, and the second connection channel does not include an AMR rate converter.
Alternatively, in a fifth implementation scenario, when the AMR rate converter is external to the device 200,
a processing unit 202, 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 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.
Optionally, in a sixth implementation scenario, the apparatus 200 further includes: an AMR rate converter 204.
An AMR rate converter 204, configured to adjust a speech coding rate of speech data sent by the sending end UE to the receiving end UE to the second speech coding 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.
It should be noted that, the AMR rate converter can refer to the related description in the embodiment shown in fig. 1, and is not described herein again. In addition, the above implementation scenarios may be combined with each other, and are not limited herein.
As shown in fig. 3, in another speech rate adjustment device 300 according to an embodiment of the present invention, the device 300 may be configured to execute the method embodiment shown in fig. 1, and the device 300 may specifically be a base station control device, and includes a communication interface 301 and a processor 302.
A communication interface 301, configured to receive a first speech coding rate adjustment request message from a receiving end UE, where the receiving end UE and the sending end UE perform AMR speech communication of TrFO at a first speech coding rate, the first speech coding rate adjustment request message is used to indicate that a speech coding rate requested to be adjusted by the receiving end UE is a second speech coding rate, and the second speech coding rate is different from the first speech coding rate;
a processor 302, configured to send a speech coding rate control request message to the sending-end UE according to the first speech coding rate adjustment request message received by the communication interface 301; the voice coding rate control request message is used for requesting 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 processor 302 is further configured to send, if the sending-end UE fails to adjust the speech coding rate, the speech data sent by the sending-end UE to the receiving-end UE through an AMR rate converter, where the AMR rate converter is configured to adjust the speech coding rate of the speech data sent by the sending-end UE to the receiving-end UE to the second speech coding rate.
The second speech coding rate may be lower than the first speech coding rate, and the second speech coding rate may also be higher than the first speech coding rate.
The voice coding rate adjusting device provided by the embodiment of the invention requests the sending end UE to adjust the voice coding rate according to the first voice coding rate adjusting request message sent by the receiving end UE, and if the voice coding rate adjustment of the sending end UE fails, the voice data sent to the receiving end UE by the sending end UE is sent to the receiving end UE through the AMR rate converter, so that the voice data sent to the receiving end UE by the sending end UE can be adjusted through the AMR rate converter and then sent to the receiving end UE, the voice data sent by the sending end UE can be correctly decoded by the receiving end UE, and the phenomenon of voice single pass is avoided.
Optionally, the processor 302 is further configured to:
starting a timer after the communication interface 301 receives a first speech coding rate adjustment request message from the receiving end UE;
if the timer is overtime and the voice coding rate of the sending end UE is the first voice coding rate, sending the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter; alternatively, the first and second electrodes may be,
and if the timer is not overtime and receives a first voice coding rate control response message sent by the sending end UE, wherein the first voice coding rate control response message is used for indicating that the sending end UE fails to adjust the voice coding rate, the voice data sent to the receiving end UE by the sending end UE is sent to the receiving end UE through the AMR rate converter.
For the description of the timer and the starting timer, reference may be made to the embodiment described in fig. 1, which is not described again.
Optionally, in a first implementation scenario, the communication interface 301 is further configured to receive a second speech coding rate control response message sent by the sending end UE, where the second speech coding rate control response message is used to indicate that the sending end UE fails to adjust the speech coding rate;
the processor 302 is further configured to send, to the receiving end UE, the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter.
Optionally, in a second implementation scenario, the communication interface 301 is further configured to:
receiving 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; the third speech coding rate control response message is used for indicating the sending end UE to successfully adjust the speech coding rate of the speech data sent to the receiving end UE by the sending end UE to the second speech coding rate; the second voice coding rate adjustment request message is used for indicating that the voice coding rate requested to be adjusted by the receiving end UE is the first voice coding rate; the fourth speech coding rate control response message is used for indicating the sending end UE to successfully adjust the speech coding rate of the speech data sent to the receiving end UE by the sending end UE to a third speech coding rate, where the third speech coding rate is the speech coding rate requested to be adjusted by the receiving end UE through a third speech coding rate adjustment request message;
the processor 302 is further configured to stop sending the voice data sent from the sending end UE to the receiving end UE through the AMR rate converter.
Further, the processor 302 may be specifically configured to:
and when the sending end UE sends a silence frame, stopping sending the voice data sent to the receiving end UE by the sending end UE to the receiving end UE through the AMR rate converter.
It should be noted that when the sending end UE sends the silence frame, the speech coding rate conversion performed by the AMR rate converter is stopped, thereby avoiding noise caused by switching of the encoder and further improving the speech quality.
Optionally, in a third implementation scenario, when the AMR rate converter is external to the apparatus 300 and the AMR rate converter is located on a first connection channel between the receiving UE and the apparatus 300, the processor 302 is further configured to:
sending the voice data sent by the sending end UE to the receiving end UE on a second connecting channel;
wherein 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.
Optionally, in a fourth implementation scenario, when the AMR rate converter is external to the apparatus 300, the processor 302 is further configured to:
sending a notification message to the AMR rate converter, wherein the notification message is used for indicating the AMR rate converter to adjust the coding rate of the voice data sent to the receiving end UE by the sending end UE to the second voice coding rate;
and sending the voice data sent by the sending end UE to the receiving end UE to the AMR rate converter.
Optionally, in a fifth implementation scenario, the apparatus 300 further includes an AMR rate converter 303;
an AMR rate converter 303, configured to adjust a speech coding rate of speech data sent by the sending end UE to the receiving end UE to the second speech coding rate;
the processor 302 is further configured to send the voice data adjusted by the AMR rate converter 303 to the receiving end UE.
It should be noted that the AMR rate converter 303 may be implemented by software or hardware; when implemented in software, AMR rate converter 303 may be implemented by processor 302, and when implemented in hardware, AMR rate converter 303 and processor 302 are two separate devices and will not be described herein.
In addition, the above implementation scenarios may be combined with each other, and are not described herein again.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (24)

1. A method for adjusting a speech coding rate is used for a mobile communication system, the mobile communication system comprises a base station control device, a receiving end User Equipment (UE) and a sending end UE, wherein a first speech coding rate is adopted between the receiving end UE and the sending end UE to perform adaptive multi-rate AMR speech communication of a TrFO operation without code conversion, and the method comprises the following steps:
the base station control equipment receives a first voice coding rate adjustment request message sent by the receiving end UE, wherein the first voice coding rate adjustment request message is used for indicating that the voice coding rate required to be adjusted by the receiving end UE is a second voice coding rate, and the second voice coding rate is different from the first voice 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 coding rate adjustment request message, wherein the voice coding rate control request message is used for requesting the sending end UE to adjust the voice coding rate of the voice data sent to the receiving end UE by the sending end UE;
if the sending end UE fails to adjust the voice coding rate, the base station control equipment sends the voice data sent by the sending end UE to the receiving end UE through an AMR rate converter, and the AMR rate converter is used for adjusting 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.
2. The method of claim 1, wherein after the base station control device receives the first speech coding rate adjustment request message sent by the receiving UE, the method further comprises:
the base station control equipment starts a timer;
if the sending end UE fails to adjust the speech coding rate, the base station control device sends the speech data sent by the sending end UE to the receiving end UE through an AMR rate converter, including:
if the timer is overtime and the voice coding rate of the sending end UE is the first voice coding rate, the base station control equipment sends the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter; alternatively, the first and second electrodes may be,
if the timer is not overtime and receives a first speech coding rate control response message sent by the sending end UE, wherein the first speech coding rate control response message is used for indicating that the sending end UE fails to adjust the speech coding rate, the base station control equipment sends the speech data sent by the sending end UE to the receiving end UE through the AMR rate converter.
3. The method of claim 1, wherein if the sending-end UE fails to adjust the speech coding rate, the base station control device sends the speech data sent by the sending-end UE to the receiving-end UE through an AMR rate converter, comprising:
the base station control equipment receives a second voice coding rate control response message sent by the sending end UE, wherein the second voice coding rate control response message is used for indicating that the sending end UE fails to adjust the voice coding rate;
and the base station control equipment sends the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter.
4. The method according to any one of claims 1-3, further comprising:
the base station control equipment receives a second voice coding rate adjustment request message sent by the receiving end UE, or the base station control equipment receives a third voice coding rate control response message sent by the sending end UE, or the base station control equipment receives a fourth voice coding rate control response message sent by the sending end UE; the second speech coding rate adjustment request message is used for indicating that the speech coding rate requested to be adjusted by the receiving end UE is the first speech coding rate; the third speech coding rate control response message is used for indicating the sending end UE to successfully adjust the speech coding rate of the speech data sent to the receiving end UE by the sending end UE to the second speech coding rate; the fourth speech coding rate control response message is used for indicating the sending end UE to successfully adjust the speech coding rate of the speech data sent to the receiving end UE by the sending end UE to a third speech coding rate, where the third speech coding rate is the speech coding rate requested to be adjusted by the receiving end UE through a third speech coding rate adjustment request message;
and the base station control equipment stops sending the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter.
5. The method of claim 4, wherein the base station control device stopping sending the voice data sent from the sending-end UE to the receiving-end UE through the AMR rate converter comprises:
when the sending end UE sends a silence frame, the base station control equipment stops sending the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter.
6. The method of claim 4, wherein when the AMR rate converter is externally disposed on the base station control device and the AMR rate converter is located on a first connection channel between the receiving UE and the base station control device, the base station control device stops sending the voice data sent from the sending UE to the receiving UE through the AMR rate converter, comprising:
the base station control equipment sends the voice data sent by the sending end UE to the receiving end UE through a second connecting 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.
7. The method according to any of claims 1-3, wherein when the AMR rate converter is external to the base station control device, the base station control device sends the voice data sent from the sending-end UE to the receiving-end UE through the AMR rate converter, comprising:
the base station control equipment sends a notification message to the AMR rate converter, wherein the notification message is used for indicating the AMR rate converter to adjust the coding rate of the voice data sent to the receiving end UE by the sending end UE to the second voice coding rate;
and the base station control equipment sends the voice data sent by the sending end UE to the receiving end UE to the AMR rate converter, so that the AMR rate converter sends the data subjected to the voice coding rate conversion to the receiving end UE.
8. The method according to any of claims 1-3, wherein when the AMR transrater is built in the base station control equipment, the base station control equipment transmits the voice data transmitted from the transmitting UE to the receiving UE through the AMR transrater, comprising:
the base station control equipment starts an AMR (adaptive multi rate) converter to adjust the voice coding rate of the voice data sent to the receiving end UE by the sending end UE to the second voice coding rate;
and the base station control equipment sends the voice data regulated by the AMR rate converter to the receiving end UE.
9. A speech coding rate adjustment device, characterized in that the device comprises:
a receiving unit, configured to receive a first speech coding rate adjustment request message from a receiving end user equipment UE, where the receiving end UE and the sending end UE perform adaptive multi-rate AMR speech communication using a first speech coding rate to perform a TrFO operation without code conversion, the first speech coding rate adjustment request message is used to indicate that a speech coding rate requested to be adjusted by the receiving end UE is 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 speech coding rate control request message according to the first speech coding rate adjustment request message received by the receiving unit, where the speech coding rate control request message is used to request the sending end UE to adjust a speech coding rate of speech data sent by the sending end UE to the receiving end UE;
a sending unit, configured to send the speech coding rate control request message generated by the processing unit to the sending end UE;
the sending unit is further configured to send, if the sending end UE fails to adjust the speech coding rate, the speech data sent by the sending end UE to the receiving end UE through an AMR rate converter, where the AMR rate converter is configured to adjust the speech coding rate of the speech data sent by the sending end UE to the receiving end UE to the second speech coding rate.
10. The apparatus of claim 9, wherein the processing unit is further configured to start a timer after the receiving unit receives a first speech coding rate adjustment request message from a receiving end User Equipment (UE);
the sending unit is further configured to: if the timer is overtime and the voice coding rate of the sending end UE is the first voice coding rate, sending the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter; or, if the timer is not overtime and receives a first speech coding rate control response message sent by the sending end UE, where the first speech coding rate control response message is used to indicate that the sending end UE fails to adjust the speech coding rate, sending speech data sent by the sending end UE to the receiving end UE through the AMR rate converter.
11. The apparatus of claim 9,
the receiving unit is further configured to receive a second speech coding rate control response message sent by the sending end UE, where the second speech coding rate control response message is used to indicate that the sending end UE fails to adjust the speech coding rate;
the sending unit is further configured to send, to the receiving end UE, the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter.
12. The apparatus according to any of claims 9-11, wherein the receiving unit is further configured to: receiving 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; the third speech coding rate control response message is used for indicating the sending end UE to successfully adjust the speech coding rate of the speech data sent to the receiving end UE by the sending end UE to the second speech coding rate; the second voice coding rate adjustment request message is used for indicating that the voice coding rate requested to be adjusted by the receiving end UE is the first voice coding rate; the fourth speech coding rate control response message is used for indicating the sending end UE to successfully adjust the speech coding rate of the speech data sent to the receiving end UE by the sending end UE to a third speech coding rate, where the third speech coding rate is the speech coding rate requested to be adjusted by the receiving end UE through a third speech coding rate adjustment request message;
the processing unit is further configured to notify the sending unit to stop sending the voice data sent from the sending end UE to the receiving end UE through the AMR rate converter.
13. The device according to claim 12, wherein the processing unit is specifically configured to:
and when the sending end UE sends a silence frame, informing the sending unit to stop sending the voice data sent to the receiving end UE by the sending end UE to the receiving end UE through the AMR rate converter.
14. The apparatus of claim 12 wherein when the AMR transrater is external to the apparatus and the AMR transrater is located on a first connection channel between the receiving UE and the apparatus,
the sending unit is further configured to send the voice data sent by the sending end UE to the receiving end UE on a second connection channel; the second connection channel is a connection channel between the receiving end UE and the device, and the second connection channel does not include an AMR rate converter.
15. The apparatus according to any of claims 9-11, wherein when said AMR rate converter is external to said apparatus,
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 the 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.
16. The apparatus of any of claims 9-11, further comprising:
an AMR rate converter, configured to adjust a speech coding rate of speech data sent by the sending end UE to the receiving end UE to the second speech coding rate;
the sending unit is further configured to send the voice data adjusted by the AMR rate converter to the receiving end UE.
17. A speech coding rate adjustment device, comprising:
a communication interface, configured to receive a first speech coding rate adjustment request message from a receiving end user equipment UE, where the receiving end UE and the sending end UE perform adaptive multi-rate AMR speech communication using a first speech coding rate to perform a TrFO operation without code conversion, the first speech coding rate adjustment request message is used to indicate that a speech coding rate requested to be adjusted by the receiving end UE is a second speech coding rate, and the second speech coding rate is different from the first speech coding rate;
the processor is used for adjusting the request message according to the first voice coding rate received by the communication interface and sending a voice coding rate control request message to the sending end UE; the voice coding rate control request message is used for requesting 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 processor is further configured to send, if the sending-end UE fails to adjust the speech coding rate, the speech data sent by the sending-end UE to the receiving-end UE through an AMR rate converter, where the AMR rate converter is configured to adjust the speech coding rate of the speech data sent by the sending-end UE to the receiving-end UE to the second speech coding rate.
18. The apparatus of claim 17, wherein the processor is further configured to start a timer after the communication interface receives a first speech coding rate adjustment request message from a receiving end User Equipment (UE);
if the timer is overtime and the voice coding rate of the sending end UE is the first voice coding rate, sending the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter; alternatively, the first and second electrodes may be,
and if the timer is not overtime and receives a first voice coding rate control response message sent by the sending end UE, wherein the first voice coding rate control response message is used for indicating that the sending end UE fails to adjust the voice coding rate, the voice data sent to the receiving end UE by the sending end UE is sent to the receiving end UE through the AMR rate converter.
19. The apparatus of claim 17,
the communication interface is further configured to receive a second speech coding rate control response message sent by the sending end UE, where the second speech coding rate control response message is used to indicate that the sending end UE fails to adjust the speech coding rate;
the processor is further configured to send, to the receiving end UE, the voice data sent by the sending end UE to the receiving end UE through the AMR rate converter.
20. The device of any of claims 17-19, wherein the communication interface is further configured to: receiving 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; the third speech coding rate control response message is used for indicating the sending end UE to successfully adjust the speech coding rate of the speech data sent to the receiving end UE by the sending end UE to the second speech coding rate; the second voice coding rate adjustment request message is used for indicating that the voice coding rate requested to be adjusted by the receiving end UE is the first voice coding rate; the fourth speech coding rate control response message is used for indicating the sending end UE to successfully adjust the speech coding rate of the speech data sent to the receiving end UE by the sending end UE to a third speech coding rate, where the third speech coding rate is the speech coding rate requested to be adjusted by the receiving end UE through a third speech coding rate adjustment request message;
the processor is further configured to stop sending the voice data sent from the sending end UE to the receiving end UE through the AMR rate converter.
21. The device of claim 20, wherein the processor is specifically configured to:
and when the sending end UE sends a silence frame, stopping sending the voice data sent to the receiving end UE by the sending end UE to the receiving end UE through the AMR rate converter.
22. The apparatus of claim 20 wherein when the AMR transrater is external to the apparatus and the AMR transrater is located on a first connection channel between the receiving UE and the apparatus,
the processor is further configured to send the voice data sent by the sending end UE to the receiving end UE on a second connection channel; the second connection channel is a connection channel between the receiving end UE and the device, and the second connection channel does not include an AMR rate converter.
23. The apparatus of any of claims 17-19, wherein when the AMR rate converter is external to the apparatus, the processor is further configured to:
sending a notification message to the AMR rate converter, wherein the notification message is used for indicating the AMR rate converter to adjust the coding rate of the voice data sent to the receiving end UE by the sending end UE to the second voice coding rate;
and sending the voice data sent by the sending end UE to the receiving end UE to the AMR rate converter.
24. The apparatus of any of claims 17-19, further comprising the AMR rate converter;
the AMR rate converter is used for adjusting 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 processor is further configured to send the voice data adjusted by the AMR rate converter to the receiving end UE.
CN201580042898.1A 2015-05-30 2015-05-30 Method and apparatus for speech coding rate adjustment Active CN106576271B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/080430 WO2016191989A1 (en) 2015-05-30 2015-05-30 Method and device for adjusting voice coding rate

Publications (2)

Publication Number Publication Date
CN106576271A CN106576271A (en) 2017-04-19
CN106576271B true CN106576271B (en) 2020-01-10

Family

ID=57439793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201580042898.1A Active CN106576271B (en) 2015-05-30 2015-05-30 Method and apparatus for speech coding rate adjustment

Country Status (2)

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

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109756457A (en) * 2017-11-06 2019-05-14 中国电信股份有限公司 Voice rate method of adjustment, terminal and communication system
CN110072011B (en) * 2019-04-24 2021-07-20 Oppo广东移动通信有限公司 Method for adjusting code rate and related product
CN113573233B (en) * 2021-07-23 2022-06-28 荣耀终端有限公司 Voice communication method, electronic device and readable medium

Citations (6)

* 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 (en) * 2006-12-28 2008-07-02 华为技术有限公司 Method, system, and device for controlling media code rate
CN101548320A (en) * 2006-12-05 2009-09-30 诺基亚公司 Speech coding arrangement for communication networks
CN102142930A (en) * 2010-12-28 2011-08-03 华为技术有限公司 Rate adjustment method and equipment used for TrFO voice calling switching
CN102143544A (en) * 2010-11-02 2011-08-03 华为技术有限公司 Method, equipment and system for controlling rate of voice coding
CN102667925A (en) * 2009-10-28 2012-09-12 瑞典爱立信有限公司 Codec rate adaptation for radio channel rate change

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101167523B1 (en) * 2008-01-17 2012-07-20 노키아 코포레이션 Adaptive multi-rate codec bit rate control in a wireless system

Patent Citations (6)

* 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 (en) * 2006-12-05 2009-09-30 诺基亚公司 Speech coding arrangement for communication networks
CN101212459A (en) * 2006-12-28 2008-07-02 华为技术有限公司 Method, system, and device for controlling media code rate
CN102667925A (en) * 2009-10-28 2012-09-12 瑞典爱立信有限公司 Codec rate adaptation for radio channel rate change
CN102143544A (en) * 2010-11-02 2011-08-03 华为技术有限公司 Method, equipment and system for controlling rate of voice coding
CN102142930A (en) * 2010-12-28 2011-08-03 华为技术有限公司 Rate adjustment method and equipment used for TrFO voice calling switching

Also Published As

Publication number Publication date
WO2016191989A1 (en) 2016-12-08
CN106576271A (en) 2017-04-19

Similar Documents

Publication Publication Date Title
CN109729552B (en) Voice transmission method and device
KR101540292B1 (en) Methods, apparatuses, and computer readable media for requesting a non-communication time period
JP5956348B2 (en) Method for improving voice over IP capacity for user equipment utilizing variable rate vocoders
US10973043B2 (en) Communication method, terminal device, and network device
EP1688001B1 (en) A method of reducing or compensating for delays associated with ptt and other real time interactive communication exchanges
EP1349147B1 (en) Method for changing voice coding mode, communication system, communication network and communication terminal
EP3562232A1 (en) Terminal communication method and communication device
CN107103907B (en) Mechanism for dynamic signaling of encoder capabilities
EP2635069A1 (en) Method, device, and system for controlling speech encoding rate
WO2017105751A1 (en) Sending a transcript of a voice conversation during telecommunication
CN101867978B (en) Semi-static scheduling cycle management method, user equipment, base station and communication system
CN106576271B (en) Method and apparatus for speech coding rate adjustment
WO2018001203A1 (en) Method for improving call quality, wireless network controller and core network
CN101635994B (en) Method for acquiring speech coding capacity of wireless network and realizing TrFO by core network
CN110300419B (en) Method and device for controlling UE communication mode
CN106656274B (en) Voice transmission system
US8396049B2 (en) Method and transcoder entity for tandem free operation in a telecommunication network
EP2211482B1 (en) A method for negotiating codec between a wireless network and a core network in a mobile
US9386627B1 (en) Customized call setup procedure based on predicted call quality
WO2014205821A1 (en) Method, apparatus and system for voice communication
CN104424951A (en) A method and device for realizing TFO and TrFO intercommunication conversion between different systems
CN101365186A (en) Uplink uncontinuous speec transmission method and device for A interface based on IP bearing
CN110915291A (en) Voice session establishing method, device, equipment and storage medium
KR20140081527A (en) METHOD AND APPARATUS FOR PROVIDING A VoIP SERVICE USING A MULTIFRAME IN A WIRELESS COMMUNICATION SYSTEM
CN102958010A (en) Method and system for configuring coding rate

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210429

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Device Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.