CN107404363B - Method, system, terminal and network side equipment for adjusting voice code rate - Google Patents

Method, system, terminal and network side equipment for adjusting voice code rate Download PDF

Info

Publication number
CN107404363B
CN107404363B CN201610334749.9A CN201610334749A CN107404363B CN 107404363 B CN107404363 B CN 107404363B CN 201610334749 A CN201610334749 A CN 201610334749A CN 107404363 B CN107404363 B CN 107404363B
Authority
CN
China
Prior art keywords
rate mode
terminal
rate
network side
data
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
CN201610334749.9A
Other languages
Chinese (zh)
Other versions
CN107404363A (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.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN201610334749.9A priority Critical patent/CN107404363B/en
Publication of CN107404363A publication Critical patent/CN107404363A/en
Application granted granted Critical
Publication of CN107404363B publication Critical patent/CN107404363B/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
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0002Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0023Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the signalling
    • H04L1/0025Transmission of mode-switching indication

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Communication Control (AREA)

Abstract

The embodiment of the invention discloses a method, a system, a terminal and network side equipment for adjusting a voice code rate. The method comprises the following steps: the network side equipment obtains the channel transmission condition of the terminal based on the uplink data of the terminal; determining a maximum rate mode of transmission supported by the terminal based on the channel transmission condition, and obtaining a first rate mode of downlink data corresponding to the terminal; comparing the maximum rate mode and the first rate mode; when the maximum rate mode is not equal to the first rate mode, adjusting the rate mode in the uplink/downlink data to be sent based on the comparison result, and sending the uplink/downlink data; to instruct the peer/local terminal to adjust the coding rate based on the rate mode in the received data.

Description

Method, system, terminal and network side equipment for adjusting voice code rate
Technical Field
The invention relates to a wireless communication technology, in particular to a method, a system, a terminal and network side equipment for adjusting a voice code rate.
Background
Multimedia communication based on an IP Multimedia Subsystem (IMS) adopts standard coding and decoding technologies such as AMR, AMR-WB, EVS and the like to process voice, each coding and decoding technology defines a plurality of speed modes, and higher speed modes can transmit more voice information and better restore original voice. However, the transmission bandwidth of voice data is affected by the network environment and coverage. In order to adapt to a time-varying wireless network environment, make up for the problem of insufficient coverage of a local area network, and ensure user experience in a voice communication process, a multimedia terminal can dynamically adjust the coding rate based on the network condition. Only receiving-end based coding rate adjustment schemes are provided in the prior art.
At present, the voice service uses AVP as a transmission configuration file, and a code rate is dynamically adjusted in a manner that a Real-time Transport Protocol (RTP) packet header carries a Code Mode Request (CMR). Specifically, the header of the RTP packet carries a CMR of 4 bits to request rate adjustment. The receiving end dynamically adjusts the code rate by counting the information of packet loss rate, delay jitter, network feedback congestion and the like of the received RTP packet as a basis, fills the speech code rate required to be sent by the opposite end in the CMR field of the RTP packet head to be sent, and after the sending end receives the RTP packet, analyzes the CMR information in the packet head and adjusts the rate according to the requirement of the receiving end.
The rate adjustment only based on the feedback of the receiving end is unidirectional, and when the network condition at the receiving end side becomes poor, the adjustment of the uplink and downlink code rates cannot be performed concurrently, that is, the sending end can only adjust the downlink code rate of the receiving end according to the rate mode fed back by the receiving end, the adjustment of the uplink code rate needs to be triggered by the feedback of the sending end, however, the sending end receives and evaluates the uplink data packet of the receiving end with a certain time delay, the time delay is determined by the evaluation period of the terminal, and the adjustment of the uplink and downlink code rates at the receiving end cannot be performed concurrently. Therefore, the unidirectional rate adjustment scheme is not suitable for rapid adjustment in the case that uplink and downlink transmissions in the network weak coverage area are affected simultaneously. Moreover, the network conditions of both parties to a call are usually inconsistent, and if rate switching is performed based on only one network condition, it is easy to cause "ping-pong" switching of the rate mode, i.e. both parties to a call frequently perform up-scaling or down-scaling of the coding rate. Therefore, rate adjustment strategies triggered based solely on one-sided network conditions are not exhaustive.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide a method, a terminal, and a base station for adjusting a speech code rate, which can solve the problem that adjustment of uplink and downlink code rates cannot be performed concurrently.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the embodiment of the invention provides a method for adjusting a voice code rate, which comprises the following steps:
the network side equipment obtains the channel transmission condition of the terminal based on the uplink data of the terminal;
determining a maximum rate mode of transmission supported by the terminal based on the channel transmission condition, and obtaining a first rate mode of downlink data corresponding to the terminal;
comparing the maximum rate mode and the first rate mode;
and when the maximum rate mode is not equal to the first rate mode, adjusting the rate mode in the uplink/downlink data to be sent based on the comparison result, and sending the uplink/downlink data to instruct the opposite terminal/local terminal to adjust the coding rate based on the rate mode in the received data.
In the foregoing solution, the adjusting the rate mode in the uplink/downlink data and sending the uplink/downlink data based on the comparison result includes: and when the maximum rate mode is smaller than the first rate mode, changing the rate mode in the downlink data into the maximum rate mode, and sending the downlink data to the terminal.
In the foregoing solution, the adjusting a rate mode in uplink/downlink data based on a comparison result and sending the uplink/downlink data includes: when the maximum rate mode is greater than the first rate mode, not adjusting the rate mode in the downlink data; sending the downlink data to the terminal;
and changing the rate mode in the uplink data into the maximum rate mode, and sending the uplink data to the opposite terminal network side equipment.
In the above scheme, the method further comprises: and when the maximum rate mode is equal to the first rate mode, directly sending the downlink data to the terminal.
The embodiment of the invention also provides a method for adjusting the voice code rate, which comprises the following steps:
a terminal receives downlink data sent by network side equipment and obtains a second rate mode in the downlink data;
judging whether the second rate mode is consistent with the rate mode of the currently sent uplink data;
and when the second rate mode is not consistent with the rate mode of the currently sent uplink data, adjusting the coding rate based on the second rate mode, and instructing the opposite terminal to adjust the coding rate.
In the above scheme, the method further comprises: and when the second rate mode is consistent with the rate mode of the currently sent uplink data, not adjusting the coding rate and not adjusting the rate mode in the uplink data.
In the foregoing solution, the instructing the peer terminal to adjust the coding rate includes: and changing the rate mode in the uplink data into the second rate mode, and sending the uplink data to the network side equipment so that the network side equipment sends the uplink data to the opposite terminal network side equipment to instruct the opposite terminal to adjust the coding rate.
An embodiment of the present invention further provides a network side device, where the network side device includes: a first communication unit and a first data processing unit; wherein the content of the first and second substances,
the first communication unit is used for obtaining uplink data of the terminal;
the first data processing unit is used for obtaining the channel transmission condition of the terminal based on the uplink data of the terminal; determining a maximum rate mode of transmission supported by the terminal based on the channel transmission condition, and obtaining a first rate mode of downlink data corresponding to the terminal; comparing the maximum rate mode and the first rate mode; when the maximum rate mode is not equal to the first rate mode, adjusting the rate mode in the uplink/downlink data to be sent based on the comparison result;
the first communication unit is further configured to send the uplink/downlink data to instruct the opposite terminal/the local terminal to adjust the coding rate based on a rate mode in the received data.
In the foregoing solution, the first data processing unit is configured to change a rate mode in downlink data to the maximum rate mode when the maximum rate mode is smaller than the first rate mode;
the first communication unit is configured to send the downlink data to the terminal.
In the foregoing solution, the first data processing unit is configured to not adjust a rate mode in downlink data when the maximum rate mode is greater than the first rate mode; changing the rate mode in the uplink data to the maximum rate mode;
the first communication unit is configured to send the downlink data to the terminal; and sending the uplink data to opposite terminal network side equipment.
In the foregoing solution, the first communication unit is further configured to directly send the downlink data to the terminal when the first data processing unit determines that the maximum rate mode is equal to the first rate mode.
An embodiment of the present invention further provides a terminal, where the terminal includes: a second communication unit and a second data processing unit; wherein the content of the first and second substances,
the second communication unit is configured to receive downlink data sent by a network side device, and send the downlink data to the second data processing unit;
the second data processing unit is configured to obtain a second rate mode in the downlink data; judging whether the second rate mode is consistent with the rate mode of the currently sent uplink data; and when the second rate mode is not consistent with the rate mode of the currently sent uplink data, adjusting the coding rate based on the second rate mode, and instructing the opposite terminal to adjust the coding rate.
In the foregoing solution, the second data processing unit is further configured to not adjust the coding rate and not adjust the rate mode in the uplink data when the second rate mode is consistent with the rate mode of the currently sent uplink data.
In the above scheme, the second data processing unit is further configured to change a rate mode in uplink data to the second rate mode;
the second communication unit is further configured to send the uplink data to the network side device, so that the network side device sends the uplink data to an opposite-end network side device, and instructs an opposite-end terminal to adjust a coding rate.
The embodiment of the invention also provides a system for adjusting the voice code rate, which comprises: network side equipment and a terminal; wherein the content of the first and second substances,
the network side equipment is used for obtaining the channel transmission condition of the terminal based on the uplink data of the terminal; determining a maximum rate mode of transmission supported by the terminal based on the channel transmission condition, and obtaining a first rate mode of downlink data corresponding to the terminal; comparing the maximum rate mode and the first rate mode; when the maximum rate mode is not equal to the first rate mode, adjusting the rate mode in the uplink/downlink data to be sent based on the comparison result, and sending the uplink/downlink data;
the terminal is used for receiving downlink data sent by the network side equipment and obtaining a second rate mode in the downlink data; and when the second rate mode is not consistent with the rate mode of the currently sent uplink data, adjusting the coding rate based on the second rate mode, and instructing the opposite terminal to adjust the coding rate.
According to the method, the terminal and the base station for adjusting the voice code rate, on one hand, network side equipment obtains the channel transmission condition of the terminal based on the uplink data of the terminal; determining a maximum rate mode of transmission supported by the terminal based on the channel transmission condition, and obtaining a first rate mode of downlink data corresponding to the terminal; comparing the maximum rate mode and the first rate mode; and when the maximum rate mode is not equal to the first rate mode, adjusting the rate mode in the uplink/downlink data to be sent based on the comparison result, and sending the uplink/downlink data to instruct the opposite terminal/local terminal to adjust the coding rate based on the rate mode in the received data. On the other hand, the terminal receives downlink data sent by the network side equipment and obtains a second rate mode in the downlink data; judging whether the second rate mode is consistent with the rate mode of the currently sent uplink data; and when the second rate mode is not consistent with the rate mode of the currently sent uplink data, adjusting the coding rate based on the second rate mode, and instructing the opposite terminal to adjust the coding rate. Therefore, by adopting the technical scheme of the embodiment of the invention, the scheme of adjusting the voice coding rate by the network side equipment and the terminal in parallel is realized, the complexity of the self-adaptive adjustment of the unidirectional code rate at the terminal side is reduced, and the method is particularly suitable for the quick adjustment of the code rate under the condition that the uplink and downlink transmission in the network weak coverage area is influenced at the same time. On the other hand, the network side equipment is adopted to assist the terminal to carry out the parallel adjustment scheme of the uplink and downlink voice code rates, the network conditions and the rate adjustment decision of the local network and the remote network are comprehensively considered to carry out the adjustment of the voice coding rate at the terminal side, the condition that the evaluation and the judgment of different terminals on the network conditions are inconsistent, the self-adaptive adjustment performance is limited, the unnecessary energy loss of the terminal is increased is avoided, and the ping-pong switching of the rate mode caused by the inconsistent evaluation on the transmission conditions by the networks at the two ends is also avoided.
Drawings
Fig. 1a and fig. 1b are schematic diagrams of an application architecture of a method for adjusting a speech code rate according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for adjusting a speech rate according to a first embodiment of the present invention;
fig. 3 is a flowchart illustrating a method for adjusting a speech rate according to a second embodiment of the present invention;
fig. 4 is a flowchart illustrating a method for adjusting a speech rate according to a third embodiment of the present invention;
fig. 5 is a flowchart illustrating a method for adjusting a speech rate according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a network device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
Fig. 1a and fig. 1b are schematic diagrams of an application architecture of a method for adjusting a speech code rate according to an embodiment of the present invention; in order to implement the scheme for adjusting the speech code rate according to the embodiment of the present invention, two terminals (certainly not limited to two terminals) are required to perform a speech service, as shown in fig. 1a, the two terminals include a local terminal 11 and an opposite terminal 12; the local terminal 11 and the opposite terminal 12 can establish communication connection through a network. For example, when the local terminal 11 is used as an execution subject, it can be understood that a user holds the local terminal 11 and performs a voice service with another terminal, and the other terminal opposite to the local terminal 11 is used as the opposite terminal 12.
In each embodiment of the present invention, the application architecture further includes a network side device corresponding to the terminal. A network-side device corresponding to the local terminal 11 as the local network-side device 13 (or may also be referred to as a network-side device); the network side device corresponding to the peer terminal 12 serves as the peer network side device 14. The local network side device 13 and the peer network side device 14 may be the same device or different devices. For example, when the local terminal 11 and the peer terminal 12 belong to the coverage of the same base station, the local network-side device 13 and the peer network-side device 14 may be the same device; when the local terminal 11 and the peer terminal 12 belong to coverage areas of different base stations, the local network side device 13 and the peer network side device 14 may be different devices.
In each embodiment of the present invention, the data sent by the local terminal 11 to the peer terminal 12 is referred to as uplink data, and includes data sent by the local terminal 11 to the local network side device 13, data sent by the local network side device 13 to the peer network side device 14, and data sent by the peer network side device 14 to the peer terminal 12. Correspondingly, the data sent by the peer terminal 12 to the local terminal 11 is called downlink data, and includes data sent by the peer terminal 12 to the peer network side device 14, data sent by the peer network side device 14 to the local network side device 13, and data sent by the local network side device 13 to the local terminal 11.
The example shown in fig. 1a and fig. 1b is only one example of a system architecture for implementing the embodiment of the present invention, and the embodiment of the present invention is not limited to the system architecture described in fig. 1a and fig. 1b, and various embodiments of the present invention are proposed based on the system architecture.
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Example one
The embodiment of the invention provides a method for adjusting a voice code rate. Fig. 2 is a flowchart illustrating a method for adjusting a speech rate according to a first embodiment of the present invention; as shown in fig. 2, the method includes:
step 201: and the network side equipment acquires the channel transmission condition of the terminal based on the uplink data of the terminal.
Here, the network side device obtains the Channel transmission Quality of the terminal based on the uplink data of the terminal, and specifically, may estimate the Channel transmission Quality of the terminal based on Channel Quality Indicator (CQI) information in the uplink data.
Step 202: determining a maximum rate mode of transmission supported by the terminal based on the channel transmission condition, and obtaining a first rate mode of downlink data corresponding to the terminal.
Here, the network side device may obtain a rate set supported by the terminal through signaling interaction in a negotiation process when the terminal initially establishes the voice session, that is, the network side device may obtain at least one rate mode supported by the terminal. In this step, the network side device may determine, based on the current channel transmission condition of the terminal and the rate set supported by the terminal, the maximum rate mode that the terminal supports transmission. The maximum rate mode is specifically a maximum CMR rate mode, and may be specifically represented by a CMR value.
In this step, the network side device may further obtain downlink data sent by the peer terminal to the terminal, where the downlink data is downlink data corresponding to the terminal; and obtaining a first rate mode in the downlink data. The downlink data may specifically be downlink RTP data. Specifically, the network side device may obtain the downlink data, extract a CMR value in a header of the downlink data packet, and determine the first rate mode of the downlink data based on the CMR value.
Step 203: and comparing the maximum rate mode with the first rate mode, when the maximum rate mode is not equal to the first rate mode, adjusting the rate mode in the uplink/downlink data to be sent based on the comparison result, and sending the uplink/downlink data to instruct the opposite terminal/the local terminal to adjust the coding rate based on the rate mode in the received data.
In this embodiment, when the maximum rate mode is not equal to the first rate mode, it indicates that the local network and the peer network do not have the same evaluation result for the maximum rate mode currently supported by the terminal (i.e., the local terminal). Based on this, as an embodiment, the adjusting the rate mode in the uplink/downlink data and transmitting the uplink/downlink data based on the comparison result includes: and when the maximum rate mode is smaller than the first rate mode, changing the rate mode in the downlink data into the maximum rate mode, and sending the downlink data to the terminal.
Specifically, when the maximum rate mode is smaller than the first rate mode, it indicates that the local network and the peer network do not have the same evaluation result on the maximum rate mode currently supported by the terminal (i.e., the local terminal). Based on this, when the network side device sends downlink data to the terminal, the rate mode in the downlink data is changed to the maximum rate mode, that is, the CMR value in the packet header of the downlink data packet is adjusted to the CMR value represented by the maximum rate mode, and the adjusted downlink data is sent to the terminal, so that the terminal adjusts the coding rate according to the CMR value in the downlink data, and modifies the CMR value in the uplink data to instruct the opposite terminal to adjust the coding rate.
As another embodiment, the adjusting the rate mode in the uplink/downlink data based on the comparison result and sending the uplink/downlink data includes: when the maximum rate mode is greater than the first rate mode, not adjusting the rate mode in the downlink data; sending the downlink data to the terminal; and changing the rate mode in the uplink data into the maximum rate mode, and sending the uplink data to the opposite terminal network side equipment.
Specifically, when the maximum rate mode is greater than the first rate mode, it indicates that the local network and the peer network do not have the same evaluation result on the maximum rate mode currently supported by the terminal (i.e., the local terminal). Based on this, when the network side device sends the downlink data to the terminal, the network side device directly sends the downlink data to the terminal without changing the rate mode in the downlink data, that is, without adjusting the CMR value in the packet header of the downlink data packet. But the network side equipment changes the rate mode in the uplink data to be sent to the opposite terminal to the maximum rate mode, that is, the network side equipment adjusts the CMR value in the packet header of the uplink data packet to the CMR value represented by the maximum rate mode, sends the adjusted uplink data to the opposite terminal network side equipment, and the opposite terminal network side equipment sends the adjusted uplink data to the opposite terminal so that the opposite terminal adjusts the coding rate according to the CMR value in the uplink data.
By adopting the technical scheme of the embodiment of the invention, the scheme of adjusting the voice coding rate by the network side equipment and the terminal in parallel is realized, the complexity of the self-adaptive adjustment of the unidirectional code rate at the terminal side is reduced, and the method is particularly suitable for the rapid adjustment of the code rate under the condition that the uplink and downlink transmission in the network weak coverage area is influenced at the same time. On the other hand, the network side equipment is adopted to assist the terminal to carry out the parallel adjustment scheme of the uplink and downlink voice code rates, the network conditions and the rate adjustment decision of the local network and the remote network are comprehensively considered to carry out the adjustment of the voice coding rate at the terminal side, the condition that the evaluation and the judgment of different terminals on the network conditions are inconsistent, the self-adaptive adjustment performance is limited, the unnecessary energy loss of the terminal is increased is avoided, and the ping-pong switching of the rate mode caused by the inconsistent evaluation on the transmission conditions by the networks at the two ends is also avoided.
Example two
The embodiment of the invention also provides a method for adjusting the voice code rate. Fig. 3 is a flowchart illustrating a method for adjusting a speech rate according to a second embodiment of the present invention; as shown in fig. 3, the method includes:
step 301: and the network side equipment acquires the channel transmission condition of the terminal based on the uplink data of the terminal.
Here, the network side device obtains the channel transmission quality of the terminal based on the uplink data of the terminal, and specifically, may estimate the channel transmission quality of the terminal based on the CQI information in the uplink data.
Step 302: determining a maximum rate mode of transmission supported by the terminal based on the channel transmission condition, and obtaining a first rate mode of downlink data corresponding to the terminal.
Here, the network side device may obtain a rate set supported by the terminal through signaling interaction in a negotiation process when the terminal initially establishes the voice session, that is, the network side device may obtain at least one rate mode supported by the terminal. In this step, the network side device may determine, based on the current channel transmission condition of the terminal and the rate set supported by the terminal, the maximum rate mode that the terminal supports transmission. The maximum rate mode is specifically a maximum CMR rate mode, and may be specifically represented by a CMR value.
In this step, the network side device may further obtain downlink data sent by the peer terminal to the terminal, where the downlink data is downlink data corresponding to the terminal; and obtaining a first rate mode in the downlink data. The downlink data may specifically be downlink RTP data. Specifically, the network side device may obtain the downlink data, extract a CMR value in a header of the downlink data packet, and determine the first rate mode of the downlink data based on the CMR value.
Step 303: comparing the maximum rate mode and the first rate mode; when the maximum rate mode is less than the first rate mode, executing step 304; when the maximum rate mode is equal to the first rate mode, performing step 305; when the maximum rate mode is greater than the first rate mode, steps 306 to 307 are performed.
Step 304: and changing the rate mode in the downlink data into the maximum rate mode, sending the downlink data to the terminal, so that the terminal adjusts the coding rate based on the rate mode in the received data, and instructing the opposite terminal to adjust the coding rate.
Step 305: and directly sending the downlink data to the terminal.
Step 306: not adjusting the rate mode in the downlink data; sending the downlink data to the terminal;
step 307: and changing the rate mode in the uplink data into the maximum rate mode, sending the uplink data to opposite-end network side equipment so that the opposite-end network side equipment sends the uplink data to an opposite-end terminal, and adjusting the coding rate by the opposite-end terminal based on the rate mode in the received data.
In this embodiment, when the maximum rate mode is not equal to the first rate mode, it indicates that the local network and the peer network do not have the same evaluation result for the maximum rate mode currently supported by the terminal (i.e., the local terminal). Based on this, when the maximum rate mode is smaller than the first rate mode, when the network side device sends downlink data to the terminal, the rate mode in the downlink data is changed to the maximum rate mode, that is, the CMR value in the packet header of the downlink data packet is adjusted to the CMR value represented by the maximum rate mode, and the adjusted downlink data is sent to the terminal, so that the terminal adjusts the encoding rate according to the CMR value in the downlink data.
When the maximum rate mode is greater than the first rate mode, not adjusting the rate mode in the downlink data; sending the downlink data to the terminal; and changing the rate mode in the uplink data into the maximum rate mode, and sending the uplink data to the opposite terminal network side equipment.
When the maximum rate mode and the first rate mode are equal, it indicates that the local network and the peer network have consistent evaluation results of the maximum rate mode currently supported by the terminal (i.e., the local terminal). That is, when the maximum rate mode is equal to the first rate mode, the downlink data is directly sent to the terminal without changing the rate mode of the downlink data.
By adopting the technical scheme of the embodiment of the invention, the scheme of adjusting the voice coding rate by the network side equipment and the terminal in parallel is realized, the complexity of the self-adaptive adjustment of the unidirectional code rate at the terminal side is reduced, and the method is particularly suitable for the rapid adjustment of the code rate under the condition that the uplink and downlink transmission in the network weak coverage area is influenced at the same time. On the other hand, the network side equipment is adopted to assist the terminal to carry out the parallel adjustment scheme of the uplink and downlink voice code rates, the network conditions and the rate adjustment decision of the local network and the remote network are comprehensively considered to carry out the adjustment of the voice coding rate at the terminal side, the condition that the evaluation and the judgment of different terminals on the network conditions are inconsistent, the self-adaptive adjustment performance is limited, the unnecessary energy loss of the terminal is increased is avoided, and the ping-pong switching of the rate mode caused by the inconsistent evaluation on the transmission conditions by the networks at the two ends is also avoided.
EXAMPLE III
The embodiment of the invention also provides a method for adjusting the voice code rate, which is applied to the terminal. Fig. 4 is a flowchart illustrating a method for adjusting a speech rate according to a third embodiment of the present invention; as shown in fig. 4, the method includes:
step 401: and the terminal receives downlink data sent by the network side equipment and acquires a second rate mode in the downlink data.
Step 402: and judging whether the second rate mode is consistent with the rate mode of the currently sent uplink data, and when the second rate mode is inconsistent with the rate mode of the currently sent uplink data, adjusting the coding rate based on the second rate mode and indicating the opposite terminal to adjust the coding rate.
In this embodiment, the terminal negotiates a supported rate mode when an initial voice session is established; and sending uplink data to the network side device based on the supported rate mode, wherein the sent uplink data is used as the currently sent uplink data in the step 402. The uplink data may specifically be uplink RTP data.
In step 401, the terminal receives downlink data sent by a network side device, obtains a second rate mode in the downlink data, that is, the terminal parses the downlink data, obtains a CMR value in a packet header of the downlink data packet, and determines the second rate mode based on the CMR value.
In this embodiment, the terminal determines whether a second rate mode carried in the downlink data is consistent with a rate mode of currently sent uplink data; and when the second rate mode is inconsistent with the rate mode of the currently sent uplink data, adjusting the coding rate according to the rate represented by the second rate mode.
As another embodiment, when the second rate mode is consistent with the rate mode of the currently transmitted uplink data, the encoding rate is not adjusted, and the rate mode in the uplink data is not adjusted.
In this embodiment, the instructing the peer terminal to adjust the coding rate includes: and changing the rate mode in the uplink data into the second rate mode, and sending the uplink data to the network side equipment so that the network side equipment sends the uplink data to the opposite terminal network side equipment to instruct the opposite terminal to adjust the coding rate.
By adopting the technical scheme of the embodiment of the invention, the scheme of adjusting the voice coding rate by the network side equipment and the terminal in parallel is realized, the complexity of the self-adaptive adjustment of the unidirectional code rate at the terminal side is reduced, and the method is particularly suitable for the rapid adjustment of the code rate under the condition that the uplink and downlink transmission in the network weak coverage area is influenced at the same time. On the other hand, the network side equipment is adopted to assist the terminal to carry out the parallel adjustment scheme of the uplink and downlink voice code rates, the network conditions and the rate adjustment decision of the local network and the remote network are comprehensively considered to carry out the adjustment of the voice coding rate at the terminal side, the condition that the evaluation and the judgment of different terminals on the network conditions are inconsistent, the self-adaptive adjustment performance is limited, the unnecessary energy loss of the terminal is increased is avoided, and the ping-pong switching of the rate mode caused by the inconsistent evaluation on the transmission conditions by the networks at the two ends is also avoided.
Example four
The embodiment of the invention also provides a method for adjusting the voice code rate, which is applied to the terminal. Fig. 5 is a flowchart illustrating a method for adjusting a speech rate according to a fourth embodiment of the present invention; as shown in fig. 5, the method includes:
step 501: and the terminal receives downlink data sent by the network side equipment and acquires a second rate mode in the downlink data.
In this embodiment, the terminal negotiates a supported rate mode when an initial voice session is established; and sending uplink data to the network side device based on the supported rate mode, wherein the sent uplink data is used as the currently sent uplink data in the step 402.
In this embodiment, the terminal receives downlink data sent by a network side device, obtains a second rate mode in the downlink data, that is, the terminal parses the downlink data, obtains a CMR value in a packet header of the downlink data packet, and determines the second rate mode based on the CMR value.
Step 502: judging whether the second rate mode is consistent with the rate mode of the currently sent uplink data; when the second rate mode is consistent with the rate mode of the currently sent uplink data, executing step 503; and executing step 504 to step 505 when the second rate mode is not consistent with the rate mode of the currently transmitted uplink data.
Step 503: the coding rate is not adjusted and the rate pattern in the uplink data is not adjusted.
Step 504: and adjusting the coding rate based on the second rate mode, and changing the rate mode in the uplink data into the second rate mode.
Step 505: and sending the uplink data to the network side equipment so that the network side equipment sends the uplink data to the opposite terminal network side equipment and instructs the opposite terminal to adjust the coding rate.
In this embodiment, the terminal determines whether a second rate mode carried in the downlink data is consistent with a rate mode of currently sent uplink data; when the second rate mode is inconsistent with the rate mode of the currently sent uplink data, adjusting the coding rate according to the rate represented by the second rate mode; and in the uplink data sent by the terminal, adjusting the rate mode of the uplink data to be a second rate mode, namely adjusting the CMR value in the packet header of the uplink data packet to be the CMR value corresponding to the second rate mode, and sending the uplink data after the rate mode adjustment is finished.
By adopting the technical scheme of the embodiment of the invention, the scheme of adjusting the voice coding rate by the network side equipment and the terminal in parallel is realized, the complexity of the self-adaptive adjustment of the unidirectional code rate at the terminal side is reduced, and the method is particularly suitable for the rapid adjustment of the code rate under the condition that the uplink and downlink transmission in the network weak coverage area is influenced at the same time. On the other hand, the network side equipment is adopted to assist the terminal to carry out the parallel adjustment scheme of the uplink and downlink voice code rates, the network conditions and the rate adjustment decision of the local network and the remote network are comprehensively considered to carry out the adjustment of the voice coding rate at the terminal side, the condition that the evaluation and the judgment of different terminals on the network conditions are inconsistent, the self-adaptive adjustment performance is limited, the unnecessary energy loss of the terminal is increased is avoided, and the ping-pong switching of the rate mode caused by the inconsistent evaluation on the transmission conditions by the networks at the two ends is also avoided.
EXAMPLE five
The embodiment of the invention also provides a method for adjusting the voice code rate, which comprises the following steps:
the method comprises the following steps that 1, network side equipment obtains the channel transmission condition of a terminal based on uplink data of the terminal; determining a maximum rate mode of transmission supported by the terminal based on the channel transmission condition, and obtaining a first rate mode of downlink data corresponding to the terminal.
2: the network side equipment compares the maximum rate mode with the first rate mode; and when the maximum rate mode is not equal to the first rate mode, adjusting the rate mode in the uplink/downlink data to be sent based on the comparison result, and sending the uplink/downlink data.
3: and the terminal receives downlink data sent by the network side equipment and acquires a second rate mode in the downlink data.
4: and when the second rate mode is not consistent with the rate mode of the currently sent uplink data, adjusting the coding rate based on the second rate mode, and instructing the opposite terminal to adjust the coding rate.
The present embodiment is an embodiment in which a terminal interacts with a network side device, and specific implementation processes of each step may refer to the descriptions in the first to fourth embodiments, which are not described herein again.
By adopting the technical scheme of the embodiment of the invention, the scheme of adjusting the voice coding rate by the network side equipment and the terminal in parallel is realized, the complexity of the self-adaptive adjustment of the unidirectional code rate at the terminal side is reduced, and the method is particularly suitable for the rapid adjustment of the code rate under the condition that the uplink and downlink transmission in the network weak coverage area is influenced at the same time. On the other hand, the network side equipment is adopted to assist the terminal to carry out the parallel adjustment scheme of the uplink and downlink voice code rates, the network conditions and the rate adjustment decision of the local network and the remote network are comprehensively considered to carry out the adjustment of the voice coding rate at the terminal side, the condition that the evaluation and the judgment of different terminals on the network conditions are inconsistent, the self-adaptive adjustment performance is limited, the unnecessary energy loss of the terminal is increased is avoided, and the ping-pong switching of the rate mode caused by the inconsistent evaluation on the transmission conditions by the networks at the two ends is also avoided.
In each embodiment of the invention, the receiving end uses a CMR field of 4 bits (bit) to indicate a rate mode index value, so as to limit the maximum sending rate of the sending end and achieve the purpose of adaptively adjusting the voice rate according to the network condition. For the voice packet using AMR coding and decoding, the value range of CMR is 0-7, which represents 8 rate modes; if the voice packet of AMR-WB coding and decoding is used, the value range of CMR is 0-8, which represents 9 rate modes. The CMR has the following two transmission schemes.
1. The real-time transport protocol (RTP) data packet header carries a 4-bit CMR rate adjustment request. The receiving end dynamically adjusts the code rate by counting the information of packet loss rate, delay jitter, network feedback congestion and the like of the received RTP packet as a basis, fills the speech code rate required to be sent by the opposite end in the CMR field of the RTP packet head to be sent, and after the sending end receives the RTP packet, analyzes the CMR information in the packet head and adjusts the rate according to the requirement of the receiving end.
2. And carrying a CMR rate adjustment request with 4 bits by an RTCP-APP data packet. The receiving end fills in the CMR field in the RTCP-APP data packet according to the principle similar to the RTP transmission CMR, and the scheme is different from the scheme, the scheme is based on the real-time transport control protocol (RTCP) transmission CMR, and the voice data transceiving ends all need to use an audio and video configuration file (AVFP) supporting feedback.
GSMA official document IR.92 stipulates that voice service must support audio and video configuration file AVP, and AVPF is optional. Therefore, at present, the voice service uses AVP as a transmission configuration file, and the code rate is dynamically adjusted by carrying CMR at the RTP packet header.
Based on this, in the embodiments of the present invention, the transmitted uplink/downlink data may be RTP data, but is not limited to the RTP data, and may also be RTCP-APP data, etc.
The following describes a method for adjusting a speech rate according to an embodiment of the present invention with reference to a specific embodiment.
EXAMPLE six
1. When an initial session is established, the terminal carries three rates of AMR-WB 6.6kpbs, 12.65kpbs and 23.85kpbs in negotiation signaling, and the terminal finally determines to establish a voice call at the highest supported rate of AMR-WB 23.85kpbs.
2. The network side equipment acquires the session establishment negotiation signaling, and learns that the rate modes supported by both parties of the session (the terminal and the opposite terminal) are AMR-WB 6.6kpbs, 12.65kpbs and 23.85 kpbs.
3. The terminal transmits uplink data, and the transmitted uplink data may be a transmission/reception report, CQI, and the like of the terminal. And the local network side equipment evaluates the current channel condition and the supportable maximum rate mode according to the uplink data sent by the terminal.
4. The local network side equipment evaluates that the currently supportable maximum rate mode is AMR-WB 12.65kpbs, the downlink CMR received by the local network side equipment indicates that the rate mode is AMR-WB23.85kpbs, and the local network side equipment sets the CMR value of the packet header to be the AMR-WB 12.65kpbs rate mode index value in a downlink RTP packet forwarded to the terminal.
5. After receiving a downlink RTP packet, a terminal analyzes the downlink RTP packet to obtain a CMR value in the downlink RTP packet; and judging that the rate mode (AMR-WB 12.65kpbs) indicated by the CMR index value in the downlink RTP packet is inconsistent with the current uplink rate mode (AMR-WB 23.85 kpbs). And the terminal changes the uplink coding rate to be AMR-WB 12.65kpbs according to the CMR instruction, fills the corresponding index value into the CMR field of the uplink RTP packet header, sends the RTP packet to the local network side equipment, sends the RTP packet to the opposite terminal network side equipment by the local network side equipment, and sends the opposite terminal network side equipment to the opposite terminal so as to instruct the opposite terminal to adjust the sending rate to be AMR-WB 12.65 kpbs.
EXAMPLE seven
1. The terminal carries out voice call with the opposite terminal in the AMR-WB 12.65kpbs rate mode currently.
2. When the session is established, the network side equipment (the local network side equipment and the opposite terminal side equipment) acquires rate modes supported by both parties of the session (the terminal and the opposite terminal) as AMR-WB 6.6kpbs, 12.65kpbs and 23.85 kpbs.
3. The terminal transmits uplink data, and the transmitted uplink data may be a transmission/reception report, CQI, and the like of the terminal. And the local network side equipment evaluates the current channel condition and the supportable maximum rate mode according to the uplink data uploaded by the terminal.
4. The local network side equipment evaluates that the currently supportable maximum rate mode is AMR-WB23.85kpbs, and the downlink CMR received by the local network side equipment indicates that the rate mode is AMR-WB 12.65kpbs, the local network side equipment does not change the downlink CMR value, and sets the CMR value in the received uplink RTP packet to be the AMR-WB23.85kpbs rate mode index value.
5. The opposite terminal network side equipment receives the downlink CMR indication sent by the local network side equipment and uses the AMR-WB23.85kpbs rate mode, and the opposite terminal network side equipment modifies the downlink CMR value to the AMR-WB23.85kpbs rate mode according to the downlink CMR configuration strategy sent by the local network side equipment.
6. The opposite terminal network side equipment evaluates that the currently supportable maximum rate mode is AMR-WB 6.6kpbs, and sets the CMR value of the downlink RTP packet forwarded to the opposite terminal to be the AMR-WB 6.6kpbs rate mode index value.
7. The opposite terminal network side equipment evaluates that the currently supportable maximum rate mode is AMR-WB 12.65kpbs, and sets CMR of a downlink RTP packet forwarded to the opposite terminal to be an AMR-WB 12.65kpbs rate mode index value.
8. The opposite terminal network side equipment evaluates that the current supportable maximum rate mode is also AMR-WB23.85kpbs, the opposite terminal network side equipment does not change the CMR of the downlink RTP packet, directly forwards the downlink CMR to the opposite terminal, after the opposite terminal receives the downlink CMR indication, the sending rate is changed to be AMR-WB23.85kpbs, and the CMR in the uplink RTP is set to be AMR-WB 23.85kpbs.
Example eight
The embodiment of the invention also provides network side equipment. Fig. 6 is a schematic structural diagram of a network device according to an embodiment of the present invention; as shown in fig. 6, the network-side device includes: a first communication unit 61 and a first data processing unit 62; wherein the content of the first and second substances,
the first communication unit 61 is configured to obtain uplink data of a terminal;
the first data processing unit 62 is configured to obtain a channel transmission condition of the terminal based on uplink data of the terminal; determining a maximum rate mode of transmission supported by the terminal based on the channel transmission condition, and obtaining a first rate mode of downlink data corresponding to the terminal; comparing the maximum rate mode and the first rate mode; when the maximum rate mode is not equal to the first rate mode, adjusting the rate mode in the uplink/downlink data to be sent based on the comparison result;
the first communication unit 61 is further configured to send the uplink/downlink data to instruct the opposite terminal/the local terminal to adjust the coding rate based on the rate mode in the received data.
Here, the first data processing unit 62 obtains the channel transmission quality of the terminal based on the uplink data of the terminal, and specifically, may estimate the channel transmission quality of the terminal based on the CQI information in the uplink data.
In this embodiment, the first data processing unit 62 may obtain a rate set supported by the terminal through signaling interaction in a negotiation process when the terminal initially establishes the voice session, that is, the network side device may obtain at least one rate mode supported by the terminal. In this embodiment, the first data processing unit 62 may determine the maximum rate mode that the terminal supports transmission based on the current channel transmission condition of the terminal and the set of rates supported by the terminal. The maximum rate mode is specifically a maximum CMR rate mode, and may be specifically represented by a CMR value.
In this embodiment, the first communication unit 61 may further obtain downlink data sent by the peer terminal to the terminal, where the downlink data is downlink data corresponding to the terminal; and obtaining a first rate mode in the downlink data. The downlink data may specifically be downlink RTP data. Specifically, the first communication unit 61 may obtain the downlink data, and the first data processing unit 62 extracts a CMR value in a header of the downlink data packet, and determines the first rate mode of the downlink data based on the CMR value.
Specifically, as an embodiment, the first data processing unit 62 is configured to, when the maximum rate mode is smaller than the first rate mode, change a rate mode in the downlink data to the maximum rate mode;
the first communication unit 61 is configured to send the downlink data to the terminal, so that the terminal adjusts the coding rate based on the rate mode in the received data, and instructs the opposite terminal to adjust the coding rate.
Specifically, when the maximum rate mode is smaller than the first rate mode, it indicates that the local network and the peer network do not have the same evaluation result on the maximum rate mode currently supported by the terminal (i.e., the local terminal). Based on this, when the first communication unit 61 sends downlink data to the terminal, the first communication unit 61 changes the rate mode in the downlink data to the maximum rate mode, that is, adjusts the CMR value in the header of the downlink data packet to the CMR value represented by the maximum rate mode, and the first communication unit 61 sends the adjusted downlink data to the terminal, so that the terminal adjusts the coding rate according to the CMR value in the downlink data, and modifies the CMR value in the uplink data, so as to instruct the opposite terminal to adjust the coding rate.
As another embodiment, the first data processing unit 62 is configured to not adjust the rate mode in the downlink data when the maximum rate mode is greater than the first rate mode; changing the rate mode in the uplink data to the maximum rate mode;
the first communication unit 61 is configured to send the downlink data to the terminal; and sending the uplink data to opposite terminal network side equipment to indicate the opposite terminal to adjust the coding rate.
Specifically, when the maximum rate mode is greater than the first rate mode, it indicates that the local network and the peer network do not have the same evaluation result on the maximum rate mode currently supported by the terminal (i.e., the local terminal). Based on this, when the first communication unit 61 sends the downlink data to the terminal, the first data processing unit 62 does not change the rate mode in the downlink data, that is, does not adjust the CMR value in the header of the downlink data packet, and the first communication unit 61 directly sends the downlink data to the terminal. However, the first data processing unit 62 changes the rate mode in the uplink data to be sent to the peer end terminal to the maximum rate mode, that is, the first data processing unit 62 adjusts the CMR value in the packet header of the uplink data packet to the CMR value represented by the maximum rate mode, and the first communication unit 61 sends the adjusted uplink data to the peer end network side device, and the peer end network side device sends the adjusted uplink data to the peer end terminal, so that the peer end terminal adjusts the encoding rate according to the CMR value in the uplink data.
In this embodiment, the first communication unit 61 is further configured to directly send the downlink data to the terminal when the first data processing unit 62 determines that the maximum rate mode is equal to the first rate mode.
It should be understood by those skilled in the art that the functions of each processing unit in the network-side device according to the embodiment of the present invention may be understood by referring to the related description of the foregoing method for adjusting the speech rate, and each processing unit in the network-side device according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that executes the functions described in the embodiment of the present invention on an intelligent terminal.
In the embodiment of the present invention, the network side device may be implemented by a base station or other network side entity devices in practical application. The first data Processing Unit 62 in the network side device may be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), a Micro Control Unit (MCU), or a Programmable Gate Array (FPGA) in the network side device in practical application; the first communication unit 61 in the network side device can be implemented by a communication module (including a basic communication suite, an operating system, a communication module, a standardized interface, a protocol, etc.) and a transceiver antenna in practical application.
Example nine
The embodiment of the invention also provides the terminal. Fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention; as shown in fig. 7, the terminal includes: a second communication unit 71 and a second data processing unit 72; wherein the content of the first and second substances,
the second communication unit 71 is configured to receive downlink data sent by a network side device, and send the downlink data to the second data processing unit 72;
the second data processing unit 72 is configured to obtain a second rate mode in the downlink data; judging whether the second rate mode is consistent with the rate mode of the currently sent uplink data; and when the second rate mode is not consistent with the rate mode of the currently sent uplink data, adjusting the coding rate based on the second rate mode, and instructing the opposite terminal to adjust the coding rate.
In this embodiment, the second communication unit 71 negotiates a supported rate mode when an initial voice session is established; and sending uplink data to the network side device based on the supported rate mode, where the sent uplink data is the currently sent uplink data in this embodiment.
In this embodiment, the second communication unit 71 receives downlink data sent by a network side device, and the second data processing unit 72 obtains the second rate mode in the downlink data, that is, the second data processing unit 72 analyzes the downlink data, obtains the CMR value in the packet header of the downlink data packet, and determines the second rate mode based on the CMR value.
In this embodiment, the second data processing unit 72 determines whether a second rate mode carried in the downlink data is consistent with a rate mode of currently sent uplink data; and when the second rate mode is inconsistent with the rate mode of the currently sent uplink data, adjusting the coding rate according to the rate represented by the second rate mode.
In an embodiment, the second data processing unit 72 is further configured to change a rate mode in uplink data to the second rate mode;
the second communication unit 71 is further configured to send the uplink data to the network side device, so that the network side device sends the uplink data to an opposite-end network side device, and instructs the opposite-end terminal to adjust the coding rate.
As an embodiment, the second data processing unit 72 is further configured to not adjust the coding rate and not adjust the rate mode in the uplink data when the second rate mode is consistent with the rate mode of the currently sent uplink data.
It should be understood by those skilled in the art that, the functions of each processing unit in the terminal according to the embodiment of the present invention may be understood by referring to the related description of the foregoing method for adjusting the speech rate, and each processing unit in the terminal according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that performs the functions described in the embodiment of the present invention on an intelligent terminal.
In the embodiment of the present invention, the second data Processing Unit 72 in the terminal may be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), a Micro Control Unit (MCU), or a Programmable Gate Array (FPGA) in the terminal in practical application; the second communication unit 71 in the terminal can be implemented by a communication module (including a basic communication suite, an operating system, a communication module, a standardized interface, a protocol, etc.) and a transceiving antenna in practical application.
Example ten
The embodiment of the invention also provides a system for adjusting the voice code rate; the system comprises: local network side equipment and a local terminal; wherein the content of the first and second substances,
the local network side equipment is used for acquiring the channel transmission condition of the terminal based on the uplink data of the terminal; determining a maximum rate mode of transmission supported by the terminal based on the channel transmission condition, and obtaining a first rate mode of downlink data corresponding to the terminal; comparing the maximum rate mode and the first rate mode; when the maximum rate mode is smaller than the first rate mode, changing the rate mode in the downlink data into the maximum rate mode, and sending the downlink data to the terminal;
the local terminal is used for receiving downlink data sent by the local network side equipment and obtaining a second rate mode in the downlink data; judging whether the second rate mode is consistent with the rate mode of the currently sent uplink data; and when the second rate mode is not consistent with the rate mode of the currently sent uplink data, adjusting the coding rate based on the second rate mode, and instructing the opposite terminal to adjust the coding rate.
As an embodiment, the local network-side device is further configured to directly send the downlink data to the terminal when the maximum rate mode and the first rate mode are equal.
As an implementation manner, the system further includes a peer network side device;
the local network side device is further configured to not adjust a rate mode in downlink data when the maximum rate mode is greater than the first rate mode; sending the downlink data to the terminal; and the uplink data sending module is further configured to change a rate mode in the uplink data to the maximum rate mode, and send the uplink data to the peer network side device.
As an embodiment, the local device is further configured to not adjust the coding rate and not adjust the rate mode in the uplink data when the second rate mode is consistent with the rate mode of the currently sent uplink data.
As an implementation manner, the local device is further configured to change a rate mode in uplink data to the second rate mode, and send the uplink data to the network side device, so that the network side device sends the uplink data to an opposite-end network side device, and instructs the opposite-end terminal to adjust the coding rate.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (9)

1. A method for adjusting a speech rate, the method comprising:
a terminal receives downlink data sent by network side equipment and obtains a second rate mode in the downlink data;
judging whether the second rate mode is consistent with the rate mode of the currently sent uplink data;
when the second rate mode is inconsistent with the rate mode of the currently sent uplink data, adjusting the coding rate based on the second rate mode, and instructing the opposite terminal to adjust the coding rate;
the instructing the opposite terminal to adjust the coding rate includes: and changing the rate mode in the uplink data into the second rate mode, and sending the uplink data to the network side equipment so that the network side equipment sends the uplink data to the opposite terminal network side equipment to instruct the opposite terminal to adjust the coding rate.
2. The method of claim 1, further comprising: and when the second rate mode is consistent with the rate mode of the currently sent uplink data, not adjusting the coding rate and not adjusting the rate mode in the uplink data.
3. A terminal, characterized in that the terminal comprises: a second communication unit and a second data processing unit; wherein the content of the first and second substances,
the second communication unit is configured to receive downlink data sent by a network side device, and send the downlink data to the second data processing unit;
the second data processing unit is configured to obtain a second rate mode in the downlink data; judging whether the second rate mode is consistent with the rate mode of the currently sent uplink data; when the second rate mode is inconsistent with the rate mode of the currently sent uplink data, adjusting the coding rate based on the second rate mode, and instructing the opposite terminal to adjust the coding rate;
the second data processing unit is further configured to change a rate mode in uplink data to the second rate mode;
the second communication unit is further configured to send the uplink data to the network side device, so that the network side device sends the uplink data to an opposite-end network side device, and instructs an opposite-end terminal to adjust a coding rate.
4. The terminal of claim 3, wherein the second data processing unit is further configured to not adjust the coding rate and not adjust the rate mode in the uplink data when the second rate mode is consistent with the rate mode of the currently transmitted uplink data.
5. A system for adjusting a speech rate, the system comprising: network side equipment and a terminal; wherein the content of the first and second substances,
the network side equipment is used for obtaining the channel transmission condition of the terminal based on the uplink data of the terminal; determining a maximum rate mode of transmission supported by the terminal based on the channel transmission condition, and obtaining a first rate mode of downlink data corresponding to the terminal; comparing the maximum rate mode and the first rate mode; when the maximum rate mode is not equal to the first rate mode, adjusting the rate mode in the uplink/downlink data to be sent based on the comparison result, and sending the uplink/downlink data;
the terminal is used for receiving downlink data sent by the network side equipment and obtaining a second rate mode in the downlink data; when the second rate mode is inconsistent with the rate mode of the currently sent uplink data, adjusting the coding rate based on the second rate mode, and instructing the opposite terminal to adjust the coding rate; specifically, the method is configured to change a rate mode in uplink data to the second rate mode, and send the uplink data to the network side device, so that the network side device sends the uplink data to an opposite-end network side device, and instructs an opposite-end terminal to adjust a coding rate.
6. The system of claim 5, wherein the terminal is further configured to not adjust the coding rate and not adjust the rate mode in the uplink data when the second rate mode is consistent with the rate mode of the currently transmitted uplink data.
7. The system according to claim 5, wherein the network side device is further configured to, when the maximum rate mode is smaller than the first rate mode, change a rate mode in the downlink data to the maximum rate mode, and send the downlink data to the terminal.
8. The system of claim 5, wherein the network-side device is further configured to not adjust the rate mode in the downlink data when the maximum rate mode is greater than the first rate mode; sending the downlink data to the terminal; and changing the rate mode in the uplink data into the maximum rate mode, and sending the uplink data to the opposite terminal network side equipment.
9. The system according to claim 5, wherein the network side device is further configured to directly send the downlink data to the terminal when the maximum rate mode and the first rate mode are equal.
CN201610334749.9A 2016-05-18 2016-05-18 Method, system, terminal and network side equipment for adjusting voice code rate Active CN107404363B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610334749.9A CN107404363B (en) 2016-05-18 2016-05-18 Method, system, terminal and network side equipment for adjusting voice code rate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610334749.9A CN107404363B (en) 2016-05-18 2016-05-18 Method, system, terminal and network side equipment for adjusting voice code rate

Publications (2)

Publication Number Publication Date
CN107404363A CN107404363A (en) 2017-11-28
CN107404363B true CN107404363B (en) 2020-04-17

Family

ID=60394331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610334749.9A Active CN107404363B (en) 2016-05-18 2016-05-18 Method, system, terminal and network side equipment for adjusting voice code rate

Country Status (1)

Country Link
CN (1) CN107404363B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108521400B (en) * 2018-03-05 2020-09-22 厦门亿联网络技术股份有限公司 Codec self-adaptive method for delayed backoff
CN111654586B (en) * 2020-06-22 2021-09-03 Oppo广东移动通信有限公司 Method, device, terminal and storage medium for adjusting voice coding code rate

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212459A (en) * 2006-12-28 2008-07-02 华为技术有限公司 Method, system, and device for controlling media code rate
CN101521558A (en) * 2008-03-01 2009-09-02 华为技术有限公司 Self-adaptive multi-speed speed and phase adjusting method and device therefor
CN101997644A (en) * 2009-08-24 2011-03-30 华为技术有限公司 Speed adjusting method, system and coding scheme selection method and system thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9883446B2 (en) * 2010-12-27 2018-01-30 Google Technology Holdings LLC Method and apparatus for mobile media optimization

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212459A (en) * 2006-12-28 2008-07-02 华为技术有限公司 Method, system, and device for controlling media code rate
CN101521558A (en) * 2008-03-01 2009-09-02 华为技术有限公司 Self-adaptive multi-speed speed and phase adjusting method and device therefor
CN101997644A (en) * 2009-08-24 2011-03-30 华为技术有限公司 Speed adjusting method, system and coding scheme selection method and system thereof

Also Published As

Publication number Publication date
CN107404363A (en) 2017-11-28

Similar Documents

Publication Publication Date Title
US9888054B2 (en) Seamless video pipeline transition between WiFi and cellular connections for real-time applications on mobile devices
US11394753B2 (en) Dynamic rate adaptation during real-time LTE communication
US9350770B2 (en) Redundant transmission channels for real-time applications on mobile devices
CN110351201B (en) Data processing method and device
EP2656579B1 (en) Signaling techniques for a multimedia-aware radio and network adaptation
KR101015178B1 (en) Method for radio resource control requested codec rate control for voip
US10638351B2 (en) Service rate adjustment method and apparatus
JP5956348B2 (en) Method for improving voice over IP capacity for user equipment utilizing variable rate vocoders
CN102349317B (en) For controlling the method for the codec mode in all internet protocol network and using the terminal of the method
US20120096130A1 (en) Method, apparatus and system for bandwidth control
KR20090071543A (en) Method and arrangement for adapting transmission of encoded media
EP2745499B1 (en) Mechanism for dynamic signaling of encoder capabilities
EP2544506A1 (en) Method, device and system for voice communication
WO2017166973A1 (en) Coding scheme configuration method and device
EP3966973B1 (en) Codec configuration adaptation based on packet loss rate
CN107404363B (en) Method, system, terminal and network side equipment for adjusting voice code rate
US20170034848A1 (en) Spatial Flow Determining Method, Base Station, and User Equipment
CN107872291A (en) A kind of method of adjustment and terminal of voice code check
WO2016197295A1 (en) Multimedia service method, processing device and communications equipment
WO2009147643A2 (en) Communication methods, a communication device, and a communication apparatus
EP4358591A1 (en) Data transmission method and related device
WO2017020661A1 (en) Code stream sending method and device
CN106161370B (en) Media coding adjusting method and terminal
Nihei et al. Study on mechanism and reduction approaches of delay spikes occurrence on mobile networks
JP2009526433A (en) Method and apparatus for improving media transmission quality using a robust representation of media frames

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