WO2017193368A1 - 用于调整编码速率的方法和装置 - Google Patents

用于调整编码速率的方法和装置 Download PDF

Info

Publication number
WO2017193368A1
WO2017193368A1 PCT/CN2016/082011 CN2016082011W WO2017193368A1 WO 2017193368 A1 WO2017193368 A1 WO 2017193368A1 CN 2016082011 W CN2016082011 W CN 2016082011W WO 2017193368 A1 WO2017193368 A1 WO 2017193368A1
Authority
WO
WIPO (PCT)
Prior art keywords
coding rate
terminal device
rate
message
adjustment
Prior art date
Application number
PCT/CN2016/082011
Other languages
English (en)
French (fr)
Inventor
刘菁
郭轶
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2016/082011 priority Critical patent/WO2017193368A1/zh
Priority to CN201680085604.8A priority patent/CN109155943B/zh
Priority to EP16901323.2A priority patent/EP3448085A4/en
Publication of WO2017193368A1 publication Critical patent/WO2017193368A1/zh
Priority to US16/188,306 priority patent/US20190116216A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/70Media network packetisation
    • 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/0014Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the source coding
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/38Flow control; Congestion control by adapting coding or compression rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W92/00Interfaces specially adapted for wireless communication networks
    • H04W92/16Interfaces between hierarchically similar devices
    • H04W92/18Interfaces between hierarchically similar devices between terminal devices

Definitions

  • Embodiments of the present invention relate to the field of communications, and more particularly, to a method and apparatus for adjusting a coding rate.
  • the data information of the voice In the process of wireless voice transmission, in order to meet the limitation of bandwidth and the requirements of distance, the data information of the voice must be compressed, that is, the voice data is encoded, and the analog signal is converted into a digital signal.
  • the requirements for voice compression coding are getting higher and higher, not only requiring a lower coding rate to increase system capacity, but also requiring higher synthesized sound quality to ensure call quality. Therefore, it is necessary to adjust the coding rate of the sender according to the current network condition, so as to provide a higher quality voice service while making full use of system resources.
  • the network device can adjust the coding rate of the terminal device according to the current network condition, such as whether the current network is congested, whether the link quality is good enough, and the like. That is to say, if the network device finds that the current network condition is relatively poor, the terminal device is notified to perform the speed reduction; if the network device finds that the current network condition is better, the terminal device is notified to perform the speed increase.
  • the sender and the receiver use the same rate for encoding and decoding. Therefore, when the receiving end receives the network congestion indication sent by the network device to which the receiving end belongs, the receiving rate is directly adjusted or the transmitting end is notified to reduce the encoding rate. Otherwise, the receiving end directly performs the encoding rate. The speed adjustment is adjusted or the sender is notified to adjust the speed of the encoding rate.
  • LTE Long Term Evolution
  • the rate adjustment of the terminal device only considers the link state of the single-sided network, and if the network congestion indication is not received, the terminal device directly adjusts the coding rate, and The link status of the communication parties will not be comprehensively considered. This will cause the adjusted coding rate of the terminal device not to be allowed by the peer end, and the coding rate is frequently raised and lowered, thereby affecting the user experience.
  • the embodiments of the present invention provide a method and apparatus for adjusting an encoding rate, which can avoid the problem that the encoding rate is frequently raised and lowered, thereby saving signaling overhead and improving user experience.
  • a method for adjusting a coding rate includes: receiving, by a first terminal device, a first uplink coding rate adjustment request message sent by a second terminal device, where the first uplink coding rate adjustment request message is used for triggering
  • the first terminal device performs an adjustment of an uplink coding rate, where the first uplink coding rate adjustment request message carries a first coding rate, and the second terminal device is a peer device that communicates with the first terminal device;
  • the terminal device determines that the first coding rate is greater than the uplink coding rate currently used by the first terminal device, the first terminal device sends a consultation message to the first network device, where the consultation message is used to trigger coding with the first network device.
  • the rate adjustment negotiation carries the first coding rate, and the first terminal device is within the coverage of the first network device.
  • the first terminal device determines the speedup request of the second terminal device according to the received first coding rate
  • the first speed adjustment of the coding rate is not immediately performed, but the first network device of the local device negotiates with the local device.
  • the rate adjustment of the coding rate needs to be performed. This avoids the problem that the coding rate is frequently raised and lowered, thereby saving signaling overhead and improving user experience.
  • the method further includes: the first terminal device receiving the response message sent by the first network device And the response message carries a reference coding rate that is allowed to be adjusted by the first network device; and the first terminal device determines, according to the response message, whether an acceleration rate adjustment of the coding rate is required.
  • the first terminal device may receive a reference coding rate sent by the first network device, and determine, according to the reference coding rate, whether an acceleration rate adjustment of the coding rate is required.
  • the first uplink coding rate adjustment request message is a real-time transmission protocol RTP that implements a control protocol RTCP message or carries an encoding mode request.
  • CMR message is a real-time transmission protocol RTP that implements a control protocol RTCP message or carries an encoding mode request.
  • the consulting message is a radio resource control RRC message or a layer 2 control message, for example, a control unit MAC of the medium access control CE message.
  • the first terminal device may determine, according to the measurement result of the first terminal device, whether to accept the first The first coding rate carried in the uplink coding rate adjustment request message determines a reference coding rate that the first terminal device allows to adjust.
  • the first terminal device accepts the first coding rate, determining the first coding rate as the reference coding rate; if the first terminal device does not accept the first coding rate, the first The maximum coding rate allowed by the terminal device is determined as the reference coding rate.
  • a second aspect provides a method for adjusting an encoding rate, including: receiving, by a first network device, a consulting message sent by a first terminal device, where the consulting message carries a request by a second terminal device that is in communication with the first terminal device a first coding rate, where the first coding rate is greater than an uplink coding rate currently used by the first terminal device, where the first terminal device is within the coverage of the first network device, and the second terminal device is a peer device that communicates with the first terminal device; the first network device determines, according to the current network state and the first coding rate, a reference coding rate that the first network device allows to adjust.
  • the first network device determines the reference coding rate that is allowed to be adjusted, considering the network state of the network and the coding rate carried in the consultation message. Therefore, the determined reference coding rate comprehensively considers the network state of the links on both sides of the local end and the opposite end for reference by the first terminal device, so as to avoid the problem that the coding rate is frequently raised and lowered, thereby saving signaling overhead. Improve the user experience.
  • the first network device determines, according to the current network state and the first coding rate, the reference coding rate that the first network device allows to adjust, including: if the first network The device determines, according to the current network status, that the first coding rate is accepted, the first network device determines the first coding rate as the reference coding rate; if the first network device determines, according to the current network state, does not accept the The first coding rate, the first network device determines the maximum allowed coding rate as the reference coding rate.
  • the first network device determines, according to the current network state and the first coding rate, that the first network device allows adjustment After the reference coding rate, the method further includes: the first network device sending a response message to the first terminal device, where the response message carries the reference coding rate.
  • the consulting message is a radio resource control RRC message or a layer 2 control message, for example, a control unit MAC of the medium access control CE message.
  • a third aspect provides a method for adjusting a coding rate, including: receiving, by a first terminal device, a first uplink coding rate adjustment request message sent by a first network device according to a current network state, the first uplink coding rate adjustment request The message is used to trigger the first terminal device to perform uplink editing.
  • the first coding rate adjustment request message carries a first coding rate
  • the first terminal device is within the coverage of the first network device; and the first terminal device determines that the first coding rate is greater than the first
  • the first terminal device sends a consultation message to the second terminal device, where the consultation message is used to trigger the negotiation of the uplink coding rate adjustment with the second terminal device, where the consultation message carries The first coding rate
  • the second terminal device is a peer device that communicates with the first terminal device.
  • the first terminal device determines the speed increase request of the first network device according to the received coding rate
  • the speed adjustment of the coding rate is not immediately performed, but the second terminal device of the communication peer is negotiated and integrated.
  • the rate adjustment of the coding rate needs to be performed. This avoids the problem that the coding rate is frequently raised and lowered, thereby saving signaling overhead and improving user experience.
  • the method further includes: the first terminal device receiving the response sent by the second terminal device
  • the message carries the reference coding rate that the second terminal device allows to adjust; the first terminal device determines, according to the response message, whether the rate adjustment of the coding rate needs to be performed.
  • the first uplink coding rate adjustment request message is a radio resource control RRC message or a layer 2 control message, for example, a media connection Control unit MAC CE message into control.
  • the consulting message is a real-time transport protocol RTP CMR message that implements a control protocol RTCP message or carries an encoding mode request.
  • a fourth aspect includes: receiving, by a first terminal device, a first coding rate sent by a first network device, where the first terminal device is within a coverage of the first network device; Receiving, by the first terminal device, a second coding rate sent by the second terminal device, where the second terminal device is a peer device that communicates with the first terminal device; the first terminal device is configured according to the first coding rate and the first The second encoding rate determines whether an acceleration rate adjustment of the encoding rate is required.
  • the first terminal device receives the first coding rate sent by the first network device, including:
  • the first uplink coding rate adjustment request message carries the first coding rate.
  • the first terminal device receives the second coding rate sent by the second terminal device, including:
  • the first terminal device receives the second uplink coding rate adjustment request message sent by the second terminal device, where the second uplink coding rate adjustment request message is used to trigger the first terminal device to perform uplink coding rate adjustment, the second uplink
  • the coding rate adjustment request message carries a second coding rate.
  • the method for adjusting the coding rate in the embodiment of the present invention considers the network state of the link between the local end and the opposite end, and receives the first coding rate and the peer chain corresponding to the state of the local link.
  • the second coding rate corresponding to the path state determines whether the rate adjustment of the coding rate needs to be performed. This can avoid the problem that the coding rate is frequently raised and lowered, thereby saving signaling overhead and improving user experience.
  • the first terminal device receives the first coding rate sent by the first network device, where the first terminal device receives the first network device, and controls the RRC message by using the radio resource. Or the first coding rate sent by the broadcast message, where the first coding rate is a maximum value of the coding rate that the first network device can accept according to the network load condition; the first terminal device is configured according to the first Determining whether an acceleration rate adjustment of the coding rate is required, the method includes: after the first terminal device receives the second coding rate sent by the second terminal device, if the first terminal device determines the If the second coding rate is greater than the uplink coding rate currently used by the first terminal device, the first terminal device compares the second coding rate with the first coding rate; if the second coding rate is less than or equal to the first At the coding rate, the first terminal device performs an acceleration adjustment of the coding rate.
  • the first terminal device determines, according to the first coding rate and the second coding rate, whether a coding rate is required.
  • the speed adjustment further includes: if the second coding rate is greater than the first coding rate, the first terminal device rejects the speed adjustment of the coding rate.
  • the first network device may preset a rate threshold, that is, a maximum coding rate, for the first terminal device according to its own network condition, such as a network load condition.
  • a rate threshold that is, a maximum coding rate
  • the second coding rate is compared with the maximum coding rate to determine whether it is necessary to perform.
  • the rate adjustment of the encoding rate can save signaling overhead and improve the experience.
  • the receiving, by the first terminal device, the second coding rate sent by the second terminal device includes: Receiving, by the first terminal device, the uplink coding rate adjustment request message sent by the second terminal device, where the uplink coding rate adjustment request message carries the second coding rate, and the first terminal device saves the second coding rate
  • the first terminal device determines, according to the first coding rate and the second coding rate, whether the rate adjustment of the coding rate needs to be performed, including: after the first terminal device receives the first coding rate sent by the first network device If the first terminal device determines that the first coding rate is greater than an uplink coding rate currently used by the first terminal device, the first terminal device compares the first coding rate with the second coding rate; If the encoding rate is less than or equal to the second encoding rate, the first terminal device performs an acceleration adjustment of the encoding rate.
  • the first terminal device determines, according to the first coding rate and the second coding rate, whether a coding rate is required.
  • the speed adjustment further includes: if the first coding rate is greater than the second coding rate, the first terminal device rejects the speed adjustment of the coding rate.
  • the first network device may save the coding rate sent by the second terminal device in the last communication process as the second coding rate.
  • the first terminal device when receiving the first coding rate sent by the first network device, once the first coding rate is found to be greater than the currently used uplink coding rate, performing the first coding rate and the saved second coding rate.
  • the comparison is performed to determine whether the speed adjustment of the coding rate needs to be performed, which can save signaling overhead and improve the experience for use.
  • the method further includes: if the first terminal device receives the first coding rate, the first terminal When receiving the first uplink coding rate adjustment request message, the device compares the first coding rate with an uplink coding rate currently used by the first terminal device; if the first coding rate is greater than that currently used by the first terminal device And the first terminal device starts the timer, and waits for the second uplink coding rate adjustment request message before the timer expires; the first terminal device is configured according to the first coding rate and the second coding rate, Determining whether an acceleration rate adjustment of the coding rate is required, including: if the first terminal device receives the second coding rate before the timer expires, the first terminal device according to the first coding rate and the second The encoding rate determines whether the rate adjustment of the encoding rate is required.
  • the first terminal device determines, according to the first coding rate and the second coding rate, whether a coding rate is required.
  • the speed adjustment also includes: if the timer expires before the first end If the terminal device does not receive the second coding rate, the first terminal device rejects the speed adjustment of the coding rate.
  • the method further includes: if the first terminal device receives the second coding rate, the first terminal When receiving the second coding rate, the device compares the second coding rate with an uplink coding rate currently used by the first terminal device; if the second coding rate is greater than an uplink coding rate currently used by the first terminal device, The first terminal device starts a timer, and waits for the first coding rate before the timer expires. The first terminal device determines, according to the first coding rate and the second coding rate, whether the coding rate needs to be increased.
  • the speed adjustment includes: if the first terminal device receives the first coding rate before the timer expires, the first terminal device determines, according to the first coding rate and the second coding rate, whether coding is needed. Speed up adjustment.
  • the first terminal device determines, according to the first coding rate and the second coding rate, whether a coding rate is required.
  • the speedup adjustment further includes: if the first terminal device does not receive the first coding rate before the timer expires, the first terminal device rejects the speedup adjustment of the coding rate.
  • the first terminal device determines, according to the first coding rate and the second coding rate, whether a coding rate is required. After the speed adjustment, the method further includes: the first terminal device performs an acceleration rate adjustment of the coding rate; or the first terminal device sends a response message to the second terminal device, where the response message carries the first terminal device permission Reference coding rate.
  • the first coding rate is carried in a radio resource control RRC message or a layer 2 control message, for example, media access control Control unit in the MAC CE message.
  • the second coding rate carries a real-time transport protocol RTP CMR message that implements a control protocol RTCP message or carries an encoding mode request. in.
  • the first terminal device optionally, if the first terminal device first receives the first coding rate sent by the first network device and determines that the first network device requests an increase in speed, After the first terminal device receives the first coding rate sent by the first network device, the first terminal is configured And sending, by the second terminal device, a consultation message, where the consultation message is used for negotiation with the second terminal device for performing coding rate adjustment;
  • the first terminal device first receives the second coding rate sent by the second terminal device and determines that the second terminal device requests the speedup, the first terminal device receives the second terminal device and sends the After the second coding rate, the first terminal device sends a consultation message to the first network device, where the consultation message is used for negotiation with the first network device for coding rate adjustment;
  • the first terminal device Receiving, by the first terminal device, the first coding rate sent by the first network device, the first terminal device receiving the first coding rate that is sent by the first network device after receiving the consultation message.
  • the first terminal device may actively request the second coding rate from the peer device (or request the first coding rate from the network device), so that Extra waits can save users time and improve the user experience.
  • an apparatus for adjusting a coding rate for performing the method of any of the first aspect or the first aspect of the first aspect.
  • the apparatus may comprise means for performing the method of any of the above-described first aspect or any of the possible implementations of the first aspect.
  • an apparatus for adjusting a coding rate for performing the method of any of the above-described second aspect or any of the possible implementations of the second aspect.
  • the apparatus may comprise means for performing the method of any of the possible implementations of the second aspect or the second aspect described above.
  • an apparatus for adjusting a coding rate for performing the method of any of the above-described third or third aspect of the possible implementation.
  • the apparatus may comprise means for performing the method of any of the possible implementations of the third or third aspect described above.
  • an apparatus for adjusting a coding rate for performing the method of any of the above-described fourth or fourth possible implementations.
  • the apparatus may comprise means for performing the method of any of the above-described fourth or fourth aspects of the fourth aspect.
  • an apparatus for adjusting a coding rate comprising: a receiver, a transmitter, a memory, a processor, and a bus system.
  • the receiver, the transmitter, the memory and the processor are connected by the bus system, the memory is for storing instructions for executing the instructions stored by the memory to control the receiver to receive signals and control the sending Send a signal, And when the processor executes the instructions stored by the memory, the executing causes the processor to perform the method of the first aspect or any of the possible implementations of the first aspect.
  • an apparatus for adjusting a coding rate comprising: a receiver, a transmitter, a memory, a processor, and a bus system.
  • the receiver, the transmitter, the memory and the processor are connected by the bus system, the memory is for storing instructions for executing the instructions stored by the memory to control the receiver to receive signals and control the sending
  • the transmitter transmits a signal, and when the processor executes the memory stored instructions, the execution causes the processor to perform the method of any of the second aspect or any of the possible implementations of the second aspect.
  • an apparatus for adjusting a coding rate comprising: a receiver, a transmitter, a memory, a processor, and a bus system.
  • the receiver, the transmitter, the memory and the processor are connected by the bus system, the memory is for storing instructions for executing the instructions stored by the memory to control the receiver to receive signals and control the sending
  • the processor transmits a signal, and when the processor executes the memory stored instructions, the execution causes the processor to perform the method of any of the possible implementations of the third aspect or the third aspect.
  • an apparatus for adjusting a coding rate comprising: a receiver, a transmitter, a memory, a processor, and a bus system.
  • the receiver, the transmitter, the memory and the processor are connected by the bus system, the memory is for storing instructions for executing the instructions stored by the memory to control the receiver to receive signals and control the sending
  • the transmitter transmits a signal, and when the processor executes the instruction stored by the memory, the execution causes the processor to perform the method of any of the possible implementations of the fourth aspect or the fourth aspect.
  • a thirteenth aspect a system for adjusting a coding rate, the system comprising the apparatus of any of the possible implementations of the fifth aspect or the fifth aspect, and any of the sixth or sixth aspect a device in a possible implementation; or
  • the system includes the apparatus of any one of the possible implementations of the sixth aspect or the sixth aspect, and the apparatus of any one of the seventh aspect or the seventh aspect; or
  • the system includes the apparatus of any of the possible implementations of the ninth aspect or the ninth aspect, and the apparatus of any of the tenth or tenth aspects of the possible implementation; or
  • the system comprises the apparatus of any one of the possible implementations of the tenth or tenth aspect, and the apparatus of any one of the eleventh or eleventh aspects.
  • a fourteenth aspect a computer readable medium for storing a computer program, the computer program comprising means for performing the first aspect or any of the possible implementations of the first aspect The instruction of the law.
  • a fifteenth aspect a computer readable medium for storing a computer program, the computer program comprising instructions for performing the method of any of the second aspect or the second aspect of the second aspect.
  • a computer readable medium for storing a computer program comprising instructions for performing the method of any of the third aspect or any of the possible implementations of the third aspect.
  • a seventeenth aspect a computer readable medium for storing a computer program, the computer program comprising instructions for performing the method of any of the fourth aspect or any of the possible implementations of the fourth aspect.
  • FIG. 1 is a schematic diagram of a communication system to which an embodiment of the present invention is applied.
  • FIG. 2 is a schematic block diagram of a method for adjusting a coding rate according to an embodiment of the present invention.
  • FIG. 3 is a schematic block diagram of another method for adjusting a coding rate according to an embodiment of the present invention.
  • FIG. 4 is a schematic block diagram of another method for adjusting an encoding rate according to an embodiment of the present invention.
  • FIG. 5 is a schematic block diagram of another method for adjusting a coding rate according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of another method for adjusting a coding rate according to an embodiment of the present invention.
  • FIG. 7 is a schematic flowchart of another method for adjusting a coding rate according to an embodiment of the present invention.
  • FIG. 8 is a schematic flowchart of another method for adjusting a coding rate according to an embodiment of the present invention.
  • FIG. 9 is a schematic flow chart of another method for adjusting a coding rate according to an embodiment of the present invention. Figure.
  • FIG. 10 is a schematic flowchart of another method for adjusting a coding rate according to an embodiment of the present invention.
  • FIG. 11 is a schematic flowchart of another method for adjusting a coding rate according to an embodiment of the present invention.
  • FIG. 12 is a schematic block diagram of an apparatus for adjusting a coding rate according to an embodiment of the present invention.
  • FIG. 13 is a schematic block diagram of another apparatus for adjusting a coding rate according to an embodiment of the present invention.
  • FIG. 14 is a schematic block diagram of another apparatus for adjusting a coding rate according to an embodiment of the present invention.
  • FIG. 15 is a schematic block diagram of another apparatus for adjusting a coding rate according to an embodiment of the present invention.
  • FIG. 16 is a schematic block diagram of another apparatus for adjusting a coding rate according to an embodiment of the present invention.
  • FIG. 17 is a schematic block diagram of another apparatus for adjusting a coding rate according to an embodiment of the present invention.
  • FIG. 18 is a schematic block diagram of another apparatus for adjusting a coding rate according to an embodiment of the present invention.
  • FIG. 19 is a schematic block diagram of another apparatus for adjusting a coding rate according to an embodiment of the present invention.
  • GSM Global System of Mobile communication
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • GPRS General Packet Radio Service
  • LTE Long Term Evolution
  • FDD Frequency Division Duplex
  • TDD Time Division Duplex
  • UMTS Universal Mobile Telecommunication System
  • WiMAX Worldwide Interoperability for Microwave Access
  • FIG. 1 shows a communication system 100 to which an embodiment of the present invention is applied.
  • the communication system 100 can include at least a network device 110 and a network device 120.
  • Both network device 110 and network device 120 may be devices that communicate with the terminal device, such as a base station or base station controller, and the like.
  • Each network device can provide communication coverage for a particular geographic area and can communicate with terminal devices located within the coverage area (cell).
  • the network device 110 and the network device 120 may be a base station (Base Transceiver Station, abbreviated as "BTS”) in a GSM system or a Code Division Multiple Access (“CDMA”) system, or may be a WCDMA system.
  • BTS Base Transceiver Station
  • CDMA Code Division Multiple Access
  • a base station (NodeB, abbreviated as “NB”), which may also be an evolved base station (Evolutional Node B, “eNB” or “eNodeB”) in the LTE system, or a cloud radio access network (Cloud Radio Access) a wireless controller in the network, referred to as "CRAN”, or the network device may be a relay station, an access point, an in-vehicle device, a wearable device, a network side device in a future 5G network, or a public land mobile network that evolves in the future ( Network devices in the Public Land Mobile Network, referred to as "PLMN".
  • PLMN Network devices in the Public Land Mobile Network
  • the wireless communication system 100 also includes at least one terminal device 130 located within the coverage of the network device 110 and at least one terminal device 140 located within the coverage of the network device 120.
  • the terminal device 130 and the terminal device 140 may be mobile or fixed.
  • the terminal device 130 and the terminal device 140 may refer to an access terminal, a user equipment (User Equipment, referred to as "UE"), a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, and a user terminal.
  • UE User Equipment
  • terminal wireless communication device, user agent or user device.
  • the access terminal may be a cellular phone, a cordless phone, a Session Initiation Protocol ("SSIP”) phone, a Wireless Local Loop (WLL) station, and a personal digital processing (Personal Digital) Assistant, referred to as "PDA"), a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, an in-vehicle device, a wearable device, a terminal device in a future 5G network, or a future evolving public land mobile A terminal device or the like in a network (Public Land Mobile Network, abbreviated as "PLMN").
  • PLMN Public Land Mobile Network
  • the terminal device within the coverage of the network device 110 can The terminal devices within the coverage of the network device 120 communicate, for example, the terminal device 130 and the terminal device 140 can perform wireless voice transmission.
  • the terminal device 140 is a peer device, and the terminal device 130 can serve as a transmitting end or a receiving end.
  • the terminal device 140 the terminal device 130 is a peer device, and the terminal device 140 can serve as a transmitting end or a receiving end.
  • FIG. 1 exemplarily shows two network devices and two terminal devices.
  • the communication system 100 may include a plurality of network devices and may include other numbers of terminal devices within the coverage of each network device. The embodiment of the invention does not limit this.
  • the wireless communication system 100 may further include other network entities, such as a network controller, a mobility management entity, and the like, and the embodiment of the present invention is not limited thereto.
  • network entities such as a network controller, a mobility management entity, and the like, and the embodiment of the present invention is not limited thereto.
  • FIG. 2 shows a method 200 for adjusting a coding rate according to an embodiment of the present invention.
  • the method 200 can be applied to the communication system 100 shown in FIG. 1, but the embodiment of the present invention is not limited thereto.
  • the first terminal device receives a first uplink coding rate adjustment request message sent by the second terminal device, where the first uplink coding rate adjustment request message is used to trigger the first terminal device to perform uplink coding rate adjustment, where the first uplink is The coding rate adjustment request message carries a first coding rate, and the second terminal device is a peer device that communicates with the first terminal device;
  • the first terminal device when the first terminal device determines that the first coding rate is greater than an uplink coding rate currently used by the first terminal device, the first terminal device sends a consultation message to the first network device, where the advisory message is used to trigger the The first network device performs the negotiation of the coding rate adjustment, and the consulting message carries the first coding rate, and the first terminal device is within the coverage of the first network device.
  • the method further includes: the first terminal device receiving the response message sent by the first network device, where the response message carries the A network device allows an adjusted reference coding rate; the first network device performs an acceleration rate adjustment of the coding rate according to the response message.
  • the first uplink coding rate adjustment request message is a real-time transport protocol RTP CMR message that implements a control protocol RTCP message or carries an encoding mode request.
  • the advisory message is a radio resource control RRC message or a media access control control unit MAC CE message.
  • the signaling of the interaction between the terminal device and the network device may be a Radio Resource Control (RRC) message or a layer 2 control message.
  • RRC Radio Resource Control
  • layer 2 refers to media access control (Media Access Control, It is abbreviated as "MAC") layer, Radio Link Control (RLC) layer and Packet Data Convergence Protocol (PDCP) layer. Therefore, the corresponding control message can be It is a Media Access Control-Control Unit (MAC CE) message, a Protocol Data Unit (PDU) controlled by the RLC, or a PDCP-controlled PDU. This embodiment of the present invention does not limit this.
  • MAC CE Media Access Control-Control Unit
  • PDU Protocol Data Unit
  • the first terminal device and the second terminal device may communicate with each other through an application layer message, where the application layer message may be a Real Time Control Protocol (RTCP) message or a carrier code.
  • RTCP Real Time Control Protocol
  • RTP CMR Real-time Transport Protocol-Codec Mode Request
  • other messages that can carry the coding rate may be used, which are not limited in this embodiment of the present invention.
  • the first terminal device may send the adjusted rate to the first network device, so that the first network device performs subsequent rate adjustment based on the value.
  • the foregoing first coding rate may be a specific recommended rate value, or may be an index value corresponding to the recommended rate value, which is not limited in this embodiment of the present invention.
  • the rate adjustment of the terminal device only considers the link state of the single-side network, and the terminal device as the receiving end triggers the adjustment of the coding rate upon receiving the speed adjustment request sent by the local end or the opposite end.
  • the terminal device does not comprehensively consider the link status of both communicating parties, which causes the coding rate to be frequently raised and lowered, thereby affecting the user experience.
  • the speed adjustment of the coding rate is not immediately performed, but the first terminal device and the local first
  • the network device negotiates and considers the network status of the link between the local end and the peer end to determine whether the rate adjustment of the coding rate needs to be performed. This avoids the problem that the coding rate is frequently raised and lowered, thereby saving signaling overhead and improving users. Experience.
  • FIG. 3 illustrates a method 300 for adjusting a coding rate according to an embodiment of the present invention.
  • the method 300 can be applied to the communication system 100 shown in FIG. 1, but the embodiment of the present invention is not limited thereto.
  • the first network device receives the consulting message sent by the first terminal device, where the consulting message carries And a first coding rate that is requested by the second terminal device that is in communication with the first terminal device, where the first coding rate is greater than an uplink coding rate currently used by the first terminal device, where the first terminal device is at the first Within the coverage of the network device, the second terminal device is a peer device that communicates with the first terminal device;
  • the first network device determines, according to the current network state and the first coding rate, a reference coding rate that the first network device allows to be adjusted.
  • the first network device determines, according to the current network state and the first coding rate, the reference coding rate that the first network device allows to adjust, including: if the first network device is according to the current network state, Determining to accept the first coding rate, the first network device determines the first coding rate as the reference coding rate; if the first network device determines to not accept the first coding rate according to the current network state, The first network device determines the maximum allowed coding rate as the reference coding rate.
  • the method further includes: the first network device The first terminal device sends a response message, and the response message carries the reference coding rate.
  • the advisory message is a radio resource control RRC message or a media access control control unit MAC CE message.
  • the signaling of the interaction between the terminal device and the network device may be a Radio Resource Control (RRC) message or a layer 2 control message.
  • layer 2 refers to a Media Access Control (MAC) layer, a Radio Link Control (RLC) layer, and a packet data convergence protocol. (Packet Data Convergence Protocol, referred to as "PDCP") layer.
  • PDCP Packet Data Convergence Protocol
  • the corresponding control message may be a Media Access Control-Control Unit (MAC CE) message, and the RLC control protocol.
  • a data unit (“Protocol Data Unit” (referred to as "PDU”) or a PDCP-controlled PDU, etc., is not limited in this embodiment of the present invention.
  • the first terminal device and the second terminal device may communicate with each other through an application layer message, where the application layer message may be a Real Time Control Protocol (RTCP) message or a carrier code.
  • RTCP Real Time Control Protocol
  • RTP CMR Real-time Transport Protocol-Codec Mode Request
  • other messages that can carry the coding rate are also not limited in this embodiment of the present invention.
  • the first network device may receive the adjusted rate sent by the first terminal device, so that the first network device performs subsequent rate adjustment based on the value.
  • the foregoing first coding rate may be a specific recommended rate value, or may be an index value corresponding to the recommended rate value, which is not limited in this embodiment of the present invention.
  • the first network device after receiving the consultation message sent by the first terminal device, determines the reference coding rate allowed to be adjusted by considering the network state of the network and the coding rate carried in the consultation message. Therefore, the first terminal device determines whether the uplink adjustment of the coding rate needs to be comprehensively considers the network state of the link between the local end and the opposite end, so that the coding rate can be prevented from being frequently raised and lowered, thereby saving signaling overhead and improving. user experience.
  • FIG. 4 illustrates a method 400 for adjusting a coding rate provided by an embodiment of the present invention.
  • the method 400 can be applied to the communication system 100 shown in FIG. 1, but the embodiment of the present invention is not limited thereto.
  • the first terminal device receives a first uplink coding rate adjustment request message that is sent by the first network device according to the current network state, where the first uplink coding rate adjustment request message is used to trigger the first terminal device to perform uplink coding rate adjustment.
  • the first coding rate adjustment request message carries a first coding rate, and the first terminal device is within the coverage of the first network device;
  • the first terminal device when the first terminal device determines that the first coding rate is greater than an uplink coding rate currently used by the first terminal device, the first terminal device sends a consultation message to the second terminal device, where the advisory message is used to trigger and The second terminal device performs the negotiation of the uplink coding rate adjustment, the consulting message carries the first coding rate, and the second terminal device is the peer device that communicates with the first terminal device.
  • the method further includes: the first terminal device receiving the response message sent by the second terminal device, where the response message carries the The second terminal device allows the adjusted reference coding rate; the first terminal device determines, according to the response message, whether an acceleration rate adjustment of the coding rate is required.
  • the first uplink coding rate adjustment request message is a radio resource control RRC message or a media access control control unit MAC CE message.
  • the advisory message is a real-time transport protocol RTP CMR message that implements a control protocol RTCP message or carries an encoding mode request.
  • the signaling of the interaction between the terminal device and the network device may be a Radio Resource Control (RRC) message or a layer 2 control message.
  • layer 2 refers to a Media Access Control (MAC) layer, a Radio Link Control (RLC) layer, and a packet data convergence protocol. (Packet Data Convergence Protocol, referred to as "PDCP") layer.
  • PDCP Packet Data Convergence Protocol
  • the corresponding control message may be a Media Access Control-Control Unit (MAC CE) message, and the RLC control protocol.
  • a data unit (“Protocol Data Unit” (referred to as "PDU”) or a PDCP-controlled PDU, etc., is not limited in this embodiment of the present invention.
  • the first terminal device and the second terminal device may communicate with each other through an application layer message, where the application layer message may be a Real Time Control Protocol (RTCP) message or a carrier code.
  • RTCP Real Time Control Protocol
  • RTP CMR Real-time Transport Protocol-Codec Mode Request
  • other messages that can carry the coding rate may be used, which are not limited in this embodiment of the present invention.
  • the speed adjustment of the coding rate is not immediately performed, but the second terminal device of the communication peer is Negotiation, comprehensively consider the network status of the link between the local end and the opposite end, and determine whether the rate adjustment of the coding rate needs to be adjusted. This can avoid the problem that the coding rate is frequently raised and lowered, thereby saving signaling overhead and improving user experience.
  • FIG. 5 shows a method 500 for adjusting an encoding rate according to an embodiment of the present invention.
  • the method 500 can be applied to the communication system 100 shown in FIG. 1, but the embodiment of the present invention is not limited thereto.
  • the first terminal device receives the first coding rate sent by the first network device, where the first terminal device is within the coverage of the first network device.
  • the first terminal device receives a second coding rate sent by the second terminal device, where the second terminal device is a peer device that communicates with the first terminal device;
  • the first terminal device determines, according to the first coding rate and the second coding rate, whether an acceleration rate adjustment of the coding rate is required.
  • the first network device may require the first terminal device to adjust the encoding rate to the first encoding rate according to the current network condition, and the second network device may request the second terminal device according to the current network condition of the second network device.
  • the encoding rate is adjusted to a second encoding rate.
  • the first terminal device can comprehensively consider the first coding rate and the second coding rate to adjust the rate of the coding rate.
  • the first terminal device may receive the first coding rate first, or may receive the second coding rate first.
  • the sequence of S510 and S520 is not limited in the embodiment of the present invention.
  • the first terminal device may send the adjusted rate to the first network device, so that the first network device performs subsequent rate adjustment based on the value.
  • the foregoing first coding rate and the second coding rate may be directly the specific recommended rate value, or may be an index value corresponding to the recommended rate value, which is not limited in this embodiment of the present invention.
  • the first terminal device receives the first coding rate requested by the first network device (or the second coding rate requested by the second terminal device), and determines that the first coding rate is greater than the current coding rate. Afterwards, the adjustment of the coding rate is not triggered immediately, but the second coding rate requested by the second terminal device (or the first coding rate requested by the first network device) is received, and the second coding rate is determined to be greater than the current After the coding rate, the reference coding rate that allows adjustment is determined by considering the first coding rate and the second coding rate.
  • the method for adjusting the coding rate in the embodiment of the present invention considers the network state of the link between the local end and the opposite end, and receives the first coding rate and the peer chain corresponding to the state of the local link.
  • the second coding rate corresponding to the path state is used for the first terminal device to perform the adjustment of the coding rate up-speed adjustment, so that the problem that the coding rate is frequently raised and lowered can be avoided, thereby saving signaling overhead and improving user experience.
  • the first terminal device receives the first coding rate sent by the first network device, where the first terminal device receives the first network device that is sent by using a radio resource control RRC message or a broadcast message.
  • a first encoding rate the first encoding rate being the first network The maximum value of the coding rate that the first network device can accept according to the network load condition;
  • the first terminal device Determining, by the first terminal device, whether the rate adjustment of the coding rate needs to be performed according to the first coding rate and the second coding rate, after the first terminal device receives the second coding rate sent by the second terminal device, If the first terminal device determines that the second coding rate is greater than the uplink coding rate currently used by the first terminal device, the first terminal device compares the second coding rate with the first coding rate; The encoding rate is less than or equal to the first encoding rate, and the first terminal device determines to perform an acceleration adjustment of the encoding rate.
  • the first terminal device determines, according to the first coding rate and the second coding rate, whether the rate adjustment of the coding rate needs to be performed, and further includes: if the second coding rate is greater than the first coding rate At the rate, the first terminal device rejects the speed adjustment of the coding rate.
  • the first network device may preset a rate threshold, that is, a maximum coding rate, for the first terminal device according to its own network condition, for example, a network load condition.
  • a rate threshold that is, a maximum coding rate
  • the first terminal device receives the second coding rate requested by the second terminal device, if the second coding rate is found to be greater than the currently used uplink coding rate, the second coding rate is compared with the maximum coding rate. . If the second coding rate is less than or equal to the maximum coding rate, the first terminal device performs an acceleration rate adjustment of the coding rate; if the second coding rate is greater than the maximum coding rate, the first terminal device rejects the coding rate. Speed up adjustment.
  • the first terminal device receives the second coding rate sent by the second terminal device, where the first terminal device receives the uplink coding rate adjustment request sent by the second terminal device during the last communication. a message, the uplink coding rate adjustment request message carries the second coding rate; the first terminal device saves the second coding rate;
  • the first terminal device determines, according to the first coding rate and the second coding rate, whether the rate adjustment of the coding rate needs to be performed, after the first terminal device receives the first coding rate sent by the first network device, If the first terminal device determines that the first coding rate is greater than the uplink coding rate currently used by the first terminal device, the first terminal device compares the first coding rate with the second coding rate; The encoding rate is less than or equal to the second encoding rate, and the first terminal device determines to perform an acceleration adjustment of the encoding rate.
  • the first terminal device determines, according to the first coding rate and the second coding rate, whether the rate adjustment of the coding rate needs to be performed, and further includes: if the first coding rate is greater than the second coding rate At the rate, the first terminal device rejects the speed adjustment of the coding rate.
  • the first network device may save the coding rate sent by the second terminal device in the last communication process as the second coding rate.
  • the first terminal device when receiving the first coding rate sent by the first terminal device, once the first coding rate is found to be greater than the currently used uplink coding rate, the first coding rate and the saved second coding rate are saved. Compare. If the first coding rate is less than or equal to the second coding rate, the first terminal device performs an acceleration rate adjustment of the coding rate; if the first coding rate is greater than the second coding rate, the first terminal device refuses to perform The acceleration rate adjustment of the coding rate.
  • the first terminal device if the first terminal device first receives the first coding rate sent by the first network device and determines that the first network device requests the speedup, the first terminal device receives the first network. After the first coding rate sent by the device, the first terminal device sends a consultation message to the second terminal device, where the consultation message is used to consult the coding rate allowed by the second terminal device;
  • the first terminal device if the first terminal device first receives the second coding rate sent by the second terminal device and determines that the second terminal device requests the speedup, the first terminal device receives the second terminal. After the second encoding rate sent by the device, the first terminal device sends a consulting message to the first network device, where the consulting message is used to consult a coding rate allowed by the first network device;
  • the first terminal device Receiving, by the first terminal device, the first coding rate sent by the first network device, the first terminal device receiving the first coding rate that is sent by the first network device after receiving the consultation message.
  • the first terminal device may actively request the second coding rate from the opposite device (or request the first network device) The encoding rate), so that no additional waiting is required, which saves user time and improves the user experience.
  • the method further includes: if the first terminal device receives the first coding rate, the first terminal device receives the first uplink coding rate adjustment request message The coding rate is compared with the uplink coding rate currently used by the first terminal device; if the first coding rate is greater than the uplink coding rate currently used by the first terminal device, the first terminal device starts the timer, and at the timing Waiting for the second uplink coding rate adjustment request message before the timer expires;
  • the first terminal device determines, according to the first coding rate and the second coding rate, whether the rate adjustment of the coding rate needs to be performed, including: if the first terminal device receives the second code before the timer expires At the rate, the first terminal device determines, according to the first coding rate and the second coding rate, whether an acceleration rate adjustment of the coding rate is required.
  • the first terminal device determines, according to the first coding rate and the second coding rate, whether the rate adjustment of the coding rate needs to be performed, and further includes: if the timer expires, the first If the terminal device does not receive the second coding rate, the first terminal device rejects the speed adjustment of the coding rate.
  • the method further includes: if the first terminal device first receives the second coding rate, the first terminal device, when receiving the second coding rate, the second coding rate and the The uplink coding rate currently used by the first terminal device is compared; if the second coding rate is greater than the uplink coding rate currently used by the first terminal device, the first terminal device starts a timer and waits before the timer expires.
  • the first coding rate if the first terminal device first receives the second coding rate, the first terminal device, when receiving the second coding rate, the second coding rate and the The uplink coding rate currently used by the first terminal device is compared; if the second coding rate is greater than the uplink coding rate currently used by the first terminal device, the first terminal device starts a timer and waits before the timer expires.
  • the first coding rate if the first terminal device first receives the second coding rate, the first terminal device, when receiving the second coding rate, the second coding rate and the The uplink coding rate currently used
  • the first terminal device determines, according to the first coding rate and the second coding rate, whether the rate adjustment of the coding rate needs to be performed, including: if the first terminal device receives the first code before the timer expires At the rate, the first terminal device determines, according to the first coding rate and the second coding rate, whether an acceleration rate adjustment of the coding rate is required.
  • the first terminal device determines, according to the first coding rate and the second coding rate, whether the rate adjustment of the coding rate needs to be performed, and further includes: if the timer expires, the first If the terminal device does not receive the first coding rate, the first terminal device rejects the speed adjustment of the coding rate.
  • the first terminal device may not actively request the required coding rate, and only when any one of the first coding rate and the second coding rate is received, the timer is started, waiting to receive another A coding rate. If the first terminal device receives another encoding rate before the timer expires, according to the received two encoding rates, it is determined whether the encoding rate acceleration is required to be adjusted; if the timer expires, the first If the terminal device does not receive another encoding rate, the former is discarded, and the encoding rate is not adjusted.
  • the method further includes: the first terminal device performs coding. Upsizing of the rate; or the first terminal device sends a response message to the second terminal device, where the response message carries a reference coding rate allowed by the first terminal device.
  • the first coding rate is carried in a control unit MAC CE message for radio resource control RRC message or media access control.
  • the second encoding rate is carried in a Real-Time Transport Protocol RTP CMR message that implements a Control Protocol RTCP message or carries an encoding mode request.
  • the signaling of the interaction between the terminal device and the network device may be a Radio Resource Control (RRC) message or a layer 2 control message.
  • layer 2 refers to a Media Access Control (MAC) layer, a Radio Link Control (RLC) layer, and a packet data convergence protocol. (Packet Data Convergence Protocol, referred to as "PDCP") layer.
  • PDCP Packet Data Convergence Protocol
  • the corresponding control message may be a Media Access Control-Control Unit (MAC CE) message, and the RLC control protocol.
  • a data unit (“Protocol Data Unit” (referred to as "PDU”) or a PDCP-controlled PDU, etc., is not limited in this embodiment of the present invention.
  • the first terminal device and the second terminal device may communicate with each other through an application layer message, where the application layer message may be a Real Time Control Protocol (RTCP) message or a carrier code.
  • RTCP Real Time Control Protocol
  • RTP CMR Real-time Transport Protocol-Codec Mode Request
  • other messages that can carry the coding rate may be used, which are not limited in this embodiment of the present invention.
  • the method for adjusting the coding rate in the embodiment of the present invention considers the network state of the link between the local end and the opposite end, and receives the first coding rate and the peer link state corresponding to the state of the local link. Corresponding second coding rate, for the first terminal device to carry out the adjustment of the coding rate up-speed adjustment, so as to avoid the problem that the coding rate is frequently raised and lowered, thereby saving signaling overhead and improving user experience.
  • the first terminal device is the transmitting end
  • the second terminal device is the receiving end
  • the first terminal device belongs to the coverage of the first network device
  • the second terminal device belongs to the coverage of the second network device.
  • FIG. 6 shows a schematic flowchart of another method 600 for adjusting an encoding rate according to an embodiment of the present invention.
  • the first network device determines to adjust the first terminal setting according to the current network state. For the encoding rate of the uplink, in particular, the first network device wishes to adjust the encoding rate of the currently used uplink of the first terminal device to the first encoding rate.
  • the first network device sends a first request message to the first terminal device, where the first request message carries the first coding rate, so that the first terminal device performs an uplink coding rate acceleration adjustment.
  • the first request message may be a radio resource control RRC message, or may be a layer 2 control message.
  • layer 2 refers to a Media Access Control (MAC) layer, a Radio Link Control (RLC) layer, and a packet data convergence protocol. (Packet Data Convergence Protocol, referred to as "PDCP") layer.
  • PDCP Packet Data Convergence Protocol
  • the corresponding control message may be a MAC CE message, a protocol data unit (Protocol Data Unit, or "PDU"), or a PDCP controlled PDU. This embodiment of the present invention does not limit this.
  • the first terminal device receives the first request message, and according to the first coding rate carried in the first request message, learns that the first network device requests an uplink rate adjustment rate adjustment, so Immediately triggering to send a second request message to the second terminal device of the communication peer end, where the second request message carries the first coding rate, so that the first terminal device and the second terminal device perform the negotiation of the encoding rate acceleration adjustment;
  • the second request message is a message of the terminal device application layer.
  • the second terminal device receives the second request message sent by the first terminal device, and learns that the first terminal requests the speedup adjustment of the coding rate, and then sends a consultation message to the second network device to which the UE belongs, the advisory message.
  • the first coding rate is carried in the RRC message, and may also be a layer 2 control message, such as a MAC CE.
  • the second network device receives the consultation message, and determines, according to the current network status, whether the first coding rate is allowed to be accepted, that is, determines a reference coding rate that is allowed to be adjusted, and the reference coding rate is the second network device.
  • the allowed encoding rate If the second network device is allowed to accept the first coding rate, the first coding rate is determined as the reference coding rate; if the second network device cannot accept the first coding rate, the second network device determines that it is allowed to accept a second encoding rate, the second encoding rate being determined as the reference encoding rate.
  • the second network device sends a third request message to the second terminal device, where the third request message carries the reference coding rate, where the third request message may be an RRC message, or may be layer 2 Control messages, such as MAC CE.
  • the second terminal device after receiving the third request message, the second terminal device sends a fourth request message carrying the reference coding rate to the first terminal device by using an application layer message.
  • the first terminal device after receiving the fourth request message sent by the second terminal device, the first terminal device comprehensively considers the reference coding rate carried in the fourth request message and the first coding rate sent by the first network device, Determine whether the speed adjustment of the coding rate is required.
  • the first terminal device sends an adjustment response message to the first network device, where the adjustment response message carries the adjusted coding rate of the first terminal device.
  • the adjustment response message may be an RRC message, or may be a layer 2 control message, such as a MAC CE.
  • the method for adjusting the coding rate in the embodiment of the present invention considers the network state of the link between the local end and the opposite end, and determines whether the coding rate needs to be raised according to the coding rate allowed by the local end and the opposite end link. Speed adjustment can avoid the problem that the coding rate is frequently raised and lowered, thereby saving signaling overhead and improving user experience.
  • FIG. 7 is a schematic flowchart of another method 700 for adjusting a coding rate according to an embodiment of the present invention.
  • the first terminal device saves the rate information carried in the application layer message sent by the second terminal device in the last communication process, and uses the rate information as the second encoding rate.
  • the first network device determines, according to the current network state, that the coding rate of the uplink of the first terminal device is adjusted. Specifically, the first network device needs to speed up the coding rate currently used by the uplink of the first terminal device. Adjust to the first encoding rate.
  • the first network device sends a first request message to the first terminal device, where the first request message carries the first coding rate, so that the first terminal device performs a reference for the encoding rate acceleration adjustment;
  • the first request message may be an RRC message, or may be a layer 2 control message, such as a MAC CE.
  • the first terminal device receives the first request message, and according to the first coding rate carried in the first request message, learns that the first network device requests an acceleration rate adjustment of the coding rate, and then the first A terminal device compares the received first coding rate with the saved second coding rate to determine whether to allow the rate adjustment of the coding rate to be allowed.
  • the first terminal device performs an acceleration adjustment of the encoding rate.
  • the first terminal device sends an adjustment response message to the first network device, where the adjustment response message carries the adjusted coding rate of the first terminal device.
  • the adjustment response message may be an RRC message, or may be a layer 2 control message, such as a MAC CE.
  • the first terminal device rejects and discards the first request. Message, do nothing.
  • the method for adjusting the coding rate in the embodiment of the present invention considers the network state of the link between the local end and the opposite end, and determines whether the coding rate is required to be accelerated according to the coding rate allowed by the local end and the opposite end link.
  • the adjustment can avoid the problem that the coding rate is frequently raised and lowered, thereby saving signaling overhead and improving the user experience.
  • FIG. 8 is a schematic flowchart of another method 800 for adjusting an encoding rate according to an embodiment of the present invention.
  • the first network device determines, according to the current network state, that the coding rate of the uplink of the first terminal device is adjusted, specifically, the coding rate of the uplink that the first network device wants to use the first terminal device.
  • the speed increase is adjusted to the first coding rate.
  • the first network device sends a first request message to the first terminal device, where the first request message carries the first coding rate, so that the first terminal device performs a reference for the encoding rate up-speed adjustment;
  • the first request message may be an RRC message, or may be a layer 2 control message, such as a MAC CE.
  • the first terminal device receives the first request message, and according to the first coding rate carried in the first request message, learns that the first network device requests the adjustment of the encoding rate acceleration rate, and then the first terminal device A timer is started, and the rate adjustment request sent by the second terminal device of the communication peer is waited before the timer expires.
  • the second network device determines, according to the current network state, that the coding rate of the downlink of the second terminal device is adjusted. Specifically, the second network device determines a coding rate that is currently used by the downlink of the second terminal device. The speed increase is adjusted to the second coding rate.
  • the second network device sends a second request message to the second terminal device, where the second request message carries the second coding rate, where the second request message may be RRC.
  • the message may also be a layer 2 control message, such as MAC CE.
  • the second terminal device learns, according to the second coding rate carried in the second request message, that the second network device requests the adjustment of the coding rate of the downlink, and then the The second terminal device sends a third request message carrying the second coding rate to the first terminal device by using an application layer message.
  • the first terminal device receives the third request message, and comprehensively considers the first coding rate and the second coding rate to determine whether an acceleration rate adjustment of the coding rate is required.
  • the first terminal device sends an adjustment response message to the first network device, where the adjustment response message carries the adjusted coding rate of the first terminal device.
  • the adjustment response message may be an RRC message, or may be a layer 2 control message, such as a MAC CE.
  • steps S807 and S808 are performed; if the timer expires before the timer expires If the first terminal device does not receive the application layer message sent by the second terminal device of the communication peer, the first terminal device rejects and discards the first request message, and does not perform any processing.
  • the method for adjusting the coding rate in the embodiment of the present invention considers the network state of the link between the local end and the opposite end, and determines whether the coding rate needs to be increased according to the coding rate allowed by the local end and the opposite end link. Speed adjustment can avoid the problem that the coding rate is frequently raised and lowered, thereby saving signaling overhead and improving user experience.
  • FIG. 9 is a schematic flowchart of another method 900 for adjusting a coding rate according to an embodiment of the present invention.
  • the second network device determines, according to the current network status, that the coding rate of the downlink of the second terminal device is adjusted. Specifically, the second network device hopes to increase the coding rate currently used by the downlink of the second terminal device. Speed adjustment to the second coding rate.
  • the second network device sends a first request message to the second terminal device, where the first request message carries the second coding rate, where the first request message may be an RRC message, or may be layer 2 Control messages, such as MAC CE.
  • the second terminal device receives the first request message, and according to the first request
  • the second coding rate carried in the message is used to learn that the second network device requests the downlink coding rate to be adjusted, and the second terminal device sends the second coding to the first terminal device of the communication peer by using the application layer message.
  • the second request message of the rate is used to learn that the second network device requests the downlink coding rate to be adjusted, and the second terminal device sends the second coding to the first terminal device of the communication peer by using the application layer message.
  • the first terminal device receives the second request message sent by the second terminal device of the communication peer end, and according to the second coding rate carried in the second request message, learns that the second terminal device requests the encoding rate to increase.
  • the acknowledgment message is sent to the first network device to which the eNB belongs.
  • the Query message carries the second coding rate.
  • the Query message may be an RRC message or a layer 2 control message, such as a MAC CE.
  • the first network device receives the advisory message, and determines whether the second encoding rate is allowed to be accepted according to the current network status. If the first network device is allowed to accept the second coding rate, determining the second coding rate as a reference coding rate that allows adjustment; if the first network device cannot accept the second coding rate, the first network device provides the same The first coding rate allowed is accepted, and the first coding rate is determined to be a reference coding rate that allows adjustment.
  • the first network device sends a third request message to the first terminal device, where the third request message carries the reference coding rate, where the third request message may be an RRC message, or may be layer 2 Control messages, such as MAC CE.
  • the first terminal device receives the third request message, and comprehensively considers the reference coding rate carried in the third request message and the second coding rate sent by the second terminal device, to determine whether a coding rate is required. Speed adjustment
  • the first terminal device sends an adjustment response message to the first network device, where the adjustment response message carries the adjusted coding rate of the first terminal device.
  • the adjustment response message may be an RRC message, or may be a layer 2 control message, such as a MAC CE.
  • the method for adjusting the coding rate in the embodiment of the present invention considers the network state of the link between the local end and the opposite end, and determines whether the coding rate needs to be increased according to the coding rate allowed by the local end and the opposite end link. Speed adjustment can avoid the problem that the coding rate is frequently raised and lowered, thereby saving signaling overhead and improving user experience.
  • FIG. 10 is a schematic flowchart of another method 1000 for adjusting a coding rate according to an embodiment of the present invention.
  • the first network device may send a maximum coding rate to the first terminal device by using a broadcast or unicast mode, where the maximum coding rate is a maximum value of the uplink coding rate allowed by the network state of the first network device.
  • the second network device determines to adjust the coding rate of the downlink of the second terminal device according to the current network state. Specifically, the second network device hopes to increase the coding rate currently used by the downlink of the second terminal device. Speed adjustment to the second coding rate.
  • the second network device sends a first request message to the second terminal device, where the first request message carries the second coding rate, where the first request message may be an RRC message or a layer 2 control messages, such as MAC CE.
  • the second terminal device receives the first request message, and according to the second coding rate carried in the first request message, learns that the second network device requests the downlink coding rate to be adjusted, and the first The second terminal device sends a second request message carrying the second coding rate to the first terminal device of the communication peer end by using the application layer message.
  • the first terminal device learns that the second terminal device requests the encoding rate to increase according to the second coding rate carried in the second request message. The adjustment is then compared with the maximum coding rate sent by the first network device to determine whether to allow the rate adjustment of the coding rate to be allowed.
  • the first terminal device performs an acceleration rate adjustment of the coding rate.
  • the first terminal device sends an adjustment response message to the first network device, where the adjustment response message carries the adjusted coding rate of the first terminal device.
  • the adjustment response message may be an RRC message, or may be a layer 2 control message, such as a MAC CE.
  • the first terminal device refuses to discard the first request message, Do any processing.
  • the method for adjusting the coding rate in the embodiment of the present invention considers the network state of the link between the local end and the opposite end, and determines whether the coding rate is required to be accelerated according to the coding rate allowed by the local end and the opposite end link.
  • the adjustment can avoid the problem that the coding rate is frequently raised and lowered, thereby saving signaling overhead and improving the user experience.
  • FIG. 11 is a schematic flowchart of another method 1100 for adjusting a coding rate according to an embodiment of the present invention.
  • the second network device determines, according to the current network state, that the coding rate of the downlink of the second terminal device is adjusted. Specifically, the second network device wants to increase the coding rate currently used by the downlink of the second terminal device. Speed adjustment to the second coding rate.
  • the second network device sends a first request message to the second terminal device, where the first request message carries the second coding rate, where the first request message may be an RRC message or a layer 2 control messages, such as MAC CE.
  • the second terminal device receives the first request message, and according to the second coding rate carried in the first request message, learns that the second network device requests the downlink coding rate to be adjusted, and then the The second terminal device sends a third request message carrying the second coding rate to the first terminal device of the communication peer end by using the application layer message.
  • the first terminal device learns that the second terminal device requests the encoding rate to increase according to the second coding rate carried in the third request message.
  • the adjustment then turns on a timer and waits for the speed adjustment request sent by the first network device before the timer expires.
  • the first network device determines, according to the current network state, that the coding rate of the uplink of the first terminal device is adjusted. Specifically, the first network device needs to increase the coding rate currently used by the uplink of the first terminal device. Speed adjustment to the first encoding rate.
  • the first network device sends a third request message to the first terminal device, where the third request message carries the first coding rate, where the third request message may be an RRC message, or may be layer 2 Control messages, such as MAC CE.
  • the first terminal device receives the third request message, and comprehensively considers the first coding rate and the second coding rate to determine whether an acceleration rate adjustment of the coding rate is required.
  • the first terminal device sends an adjustment response message to the first network device, where the adjustment response message carries the adjusted coding rate of the first terminal device, where the adjustment response message may be an RRC message, or Is the layer 2 control message, such as MAC CE.
  • the first terminal device receives the third request message sent by the associated first network device before the timer expires, steps S1107 and S1108 are performed; if the timer expires, the first terminal device If the third request message is not received, the first terminal device rejects and discards the second request message sent by the second terminal device, and does not perform any processing.
  • the method for adjusting the coding rate in the embodiment of the present invention considers the network state of the link between the local end and the opposite end, and determines whether the coding rate is required to be accelerated according to the coding rate allowed by the local end and the opposite end link.
  • the adjustment can avoid the problem that the coding rate is frequently raised and lowered, thereby saving signaling overhead and improving the user experience.
  • a method for adjusting a coding rate according to an embodiment of the present invention is described in detail above with reference to FIG. 1 to FIG. 11, and a device for adjusting a coding rate according to an embodiment of the present invention will be described in detail below with reference to FIG. 12 to FIG. .
  • FIG. 12 shows an apparatus 1200 for adjusting a coding rate according to an embodiment of the present invention.
  • the apparatus 1200 includes:
  • the receiving unit 1201 is configured to receive a first uplink coding rate adjustment request message sent by the second terminal device, where the first uplink coding rate adjustment request message is used to trigger the apparatus to perform uplink coding rate adjustment, and the first uplink coding rate adjustment is performed.
  • the request message carries a first coding rate
  • the second terminal device is a peer device that communicates with the device;
  • the sending unit 1202 is configured to: when determining that the first encoding rate is greater than an uplink coding rate currently used by the device, send a consulting message to the first network device, where the consulting message is used to trigger a coding rate adjustment with the first network device.
  • the advisory message carries the first coding rate, and the apparatus is within the coverage of the first network device.
  • the receiving unit is further configured to:
  • the apparatus further includes: a determining unit, configured to determine, according to the response message, whether an acceleration rate adjustment of the encoding rate is required.
  • the first uplink coding rate adjustment request message is a real-time transport protocol RTP CMR message that implements a control protocol RTCP message or carries an encoding mode request.
  • the advisory message is a radio resource control RRC message or a media access control control unit MAC CE message.
  • the apparatus 1200 herein is embodied in the form of a functional unit.
  • the term "unit” herein may refer to an Application Specific Integrated Circuit (ASIC), Electronic circuitry, a processor for executing one or more software or firmware programs (eg, a shared processor, a proprietary processor, or a group processor, etc.) and memory, merge logic, and/or other suitable support for the described functionality Component.
  • ASIC Application Specific Integrated Circuit
  • the device 1200 may be specifically the first terminal device in the foregoing embodiment, and the device 1200 may be configured to perform various processes corresponding to the first terminal device in the foregoing method embodiment. And/or steps, to avoid repetition, will not be repeated here.
  • FIG. 13 shows an apparatus 1300 for adjusting a coding rate according to an embodiment of the present invention.
  • the apparatus 1300 includes:
  • the receiving unit 1301 is configured to receive a consulting message sent by the first terminal device, where the consulting message carries a first coding rate requested by the second terminal device that is in communication with the first terminal device, where the first coding rate is greater than the first terminal
  • the uplink coding rate currently used by the device where the first terminal device is within the coverage of the device, and the second terminal device is a peer device that communicates with the first terminal device;
  • the determining unit 1302 is configured to determine, according to the current network state and the first coding rate, a reference coding rate that is allowed to be adjusted.
  • the determining unit is specifically configured to:
  • the maximum allowed coding rate is determined as the reference coding rate.
  • the device further includes:
  • the advisory message is a radio resource control RRC message or a media access control control unit MAC CE message.
  • the apparatus 1300 herein is embodied in the form of a functional unit.
  • the term "unit” herein may refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor for executing one or more software or firmware programs (eg, a shared processor, a proprietary processor, or a group). Processors, etc.) and memory, merge logic, and/or other suitable components that support the described functionality.
  • ASIC application specific integrated circuit
  • device 1300 may be specifically configured as the first network device in the foregoing embodiment, and the device 1300 may be used to perform various processes and/or steps corresponding to the first network device in the foregoing method embodiment. To avoid repetition, details are not described herein again.
  • FIG. 14 shows an apparatus 1400 for adjusting a coding rate according to an embodiment of the present invention.
  • the apparatus 1400 includes:
  • the receiving unit 1401 is configured to receive a first uplink coding rate adjustment request message that is sent by the first network device according to the current network state, where the first uplink coding rate adjustment request message is used to trigger the device to perform uplink coding rate adjustment, where the first The coding rate adjustment request message carries a first coding rate, and the apparatus is within the coverage of the first network device;
  • the sending unit 1402 is configured to send a consultation message to the second terminal device, where the first message rate is greater than an uplink coding rate currently used by the device, where the request message is used to trigger an uplink coding rate with the second terminal device.
  • the negotiation of the adjustment carries the first coding rate, and the second terminal device is a peer device that communicates with the device.
  • the receiving unit is further configured to:
  • the apparatus further includes: a determining unit, configured to determine, according to the response message, whether an acceleration rate adjustment of the encoding rate is required.
  • the first uplink coding rate adjustment request message is a radio resource control RRC message or a media access control control unit MAC CE message.
  • the advisory message is a real-time transport protocol RTP CMR message that implements a control protocol RTCP message or carries an encoding mode request.
  • the apparatus 1400 herein is embodied in the form of a functional unit.
  • the term "unit” herein may refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor for executing one or more software or firmware programs (eg, a shared processor, a proprietary processor, or a group). Processors, etc.) and memory, merge logic, and/or other suitable components that support the described functionality.
  • the device 1400 may be specifically the first terminal device in the foregoing embodiment, and the device 1400 may be configured to perform various processes corresponding to the first terminal device in the foregoing method embodiment. And/or steps, to avoid repetition, will not be repeated here.
  • FIG. 15 shows an apparatus 1500 for adjusting a coding rate according to an embodiment of the present invention.
  • Set 1500 includes:
  • the first receiving unit 1501 is configured to receive a first coding rate sent by the first network device, where the device is within the coverage of the first network device;
  • a second receiving unit 1502 configured to receive a second encoding rate sent by the second terminal device, where the second terminal device is a peer device that communicates with the device;
  • the determining unit 1503 is configured to determine, according to the first encoding rate and the second encoding rate, whether an acceleration rate adjustment of the encoding rate is required.
  • the first receiving unit is specifically configured to:
  • the first network device Receiving, by the first network device, the first coding rate that is sent by the RRC message or the broadcast message by using a radio resource, where the first coding rate is a coding rate that the first network device can accept according to the network load condition.
  • the determining unit is specifically configured to:
  • the second terminal device After receiving the second encoding rate sent by the second terminal device, if it is determined that the second encoding rate is greater than an uplink encoding rate currently used by the device, comparing the second encoding rate with the first encoding rate; The second encoding rate is less than or equal to the first encoding rate, and then the speed adjustment of the encoding rate is determined.
  • the determining unit is further configured to:
  • the speedup adjustment of the encoding rate is rejected.
  • the second receiving unit is specifically configured to:
  • the determining unit is specifically configured to:
  • the first network device After receiving the first coding rate sent by the first network device, if it is determined that the first coding rate is greater than an uplink coding rate currently used by the device, comparing the first coding rate with the second coding rate; The first encoding rate is less than or equal to the second encoding rate, and then the speed adjustment of the encoding rate is determined.
  • the determining unit is further configured to:
  • the rate adjustment of the coding rate is rejected.
  • the device further includes:
  • control unit configured to compare the first encoding rate with an uplink encoding rate currently used by the device when the first encoding rate is received; if the first encoding rate is greater than an uplink encoding rate currently used by the device, Opening a timer, and waiting for the second uplink coding rate adjustment request message before the timer expires;
  • the determining unit is specifically configured to:
  • the rate adjustment of the encoding rate needs to be performed according to the first encoding rate and the second encoding rate.
  • the determining unit is specifically configured to:
  • control unit is further configured to:
  • the second encoding rate is compared with an uplink encoding rate currently used by the device; if the second encoding rate is greater than an uplink encoding rate currently used by the device, the timer is started. And waiting for the first encoding rate before the timer expires;
  • the determining unit is specifically configured to:
  • the rate adjustment of the coding rate needs to be performed according to the first coding rate and the second coding rate.
  • the determining unit is specifically configured to:
  • the device further includes:
  • An adjusting unit configured to perform an acceleration rate adjustment of the encoding rate after determining, according to the first encoding rate and the second encoding rate, that an acceleration rate adjustment of the encoding rate is required;
  • a sending unit configured to send a response message to the second terminal device, where the response message carries a reference coding rate allowed by the device.
  • the first coding rate is carried in a control unit MAC CE message that is a radio resource control RRC message or media access control.
  • the second encoding rate is carried in a real-time transport protocol RTP CMR message that implements a control protocol RTCP message or carries an encoding mode request.
  • the apparatus 1500 herein is embodied in the form of a functional unit.
  • the term "unit” here May refer to an Application Specific Integrated Circuit (ASIC), an electronic circuit, a processor (eg, a shared processor, a proprietary processor, or a group processor, etc.) and a memory for executing one or more software or firmware programs. , merge logic, and/or other suitable components that support the described functionality.
  • ASIC Application Specific Integrated Circuit
  • the device 1500 may be specifically the first terminal device in the foregoing embodiment, and the device 1500 may be configured to perform various processes corresponding to the first terminal device in the foregoing method embodiment. And/or steps, to avoid repetition, will not be repeated here.
  • FIG. 16 shows an apparatus 1600 for adjusting a coding rate provided by an embodiment of the present invention.
  • the apparatus 1600 includes a receiver 1610, a processor 1620, a transmitter 1630, a memory 1640, and a bus system 1650.
  • the receiver 1610, the processor 1620, the transmitter 1630, and the memory 1640 are connected by a bus system 1650 for storing instructions, and the processor 1620 is configured to execute instructions stored by the memory 1640 to control the receiver 1610.
  • a signal is received and the transmitter 1630 is controlled to send an instruction.
  • the receiver 1610 is configured to receive a first uplink coding rate adjustment request message sent by the second terminal device, where the first uplink coding rate adjustment request message is used to trigger the device to perform uplink coding rate adjustment, where the first uplink coding is performed.
  • the rate adjustment request message carries a first coding rate
  • the second terminal device is a peer device that communicates with the device;
  • the transmitter 1630 is configured to send, to the first network device, an advisory message, when determining that the first coding rate is greater than an uplink coding rate currently used by the device, the advisory message is used to trigger a coding rate adjustment with the first network device.
  • the advisory message carries the first coding rate, and the apparatus is within the coverage of the first network device.
  • the receiver 1610 is further configured to:
  • the processor 1620 is configured to perform an acceleration adjustment of the encoding rate according to the response message.
  • the first uplink coding rate adjustment request message is a real-time transport protocol RTP CMR message that implements a control protocol RTCP message or carries an encoding mode request.
  • the advisory message is a radio resource control RRC message or a media access control control unit MAC CE message.
  • the device 1600 may be specifically the first terminal device in the foregoing embodiment, and may be used to perform various steps and/or processes corresponding to the first terminal device in the foregoing method embodiments.
  • the memory 1640 can include read only memory and random access memory and provide instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory.
  • the memory can also store information of the device type.
  • the processor 1620 can be configured to execute instructions stored in the memory, and when the processor executes the instructions, the processor can perform various steps and/or processes corresponding to the first terminal device in the above method embodiments.
  • FIG. 17 shows an apparatus 1700 for adjusting a coding rate provided by an embodiment of the present invention.
  • the apparatus 1700 includes a receiver 1710, a processor 1720, a transmitter 1730, a memory 1740, and a bus system 1750.
  • the receiver 1710, the processor 1720, the transmitter 1730 and the memory 1740 are connected by a bus system 1750 for storing instructions, and the processor 1720 is configured to execute instructions stored by the memory 1740 to control the receiver 1710.
  • a signal is received and the transmitter 1730 is controlled to send an instruction.
  • the receiver 1710 is configured to receive a consulting message sent by the first terminal device, where the consulting message carries a first coding rate requested by the second terminal device that is in communication with the first terminal device, where the first coding rate is greater than the first An uplink coding rate currently used by a terminal device, where the first terminal device is within the coverage of the device, and the second terminal device is a peer device that communicates with the first terminal device;
  • the processor 1720 is configured to determine a reference coding rate that is allowed to be adjusted according to the current network state and the first coding rate.
  • processor 1720 is specifically configured to:
  • the maximum allowed coding rate is determined as the reference coding rate.
  • the transmitter 1730 is configured to send a response message to the first terminal device after determining the reference coding rate allowed to be adjusted according to the current network state and the first coding rate, where the response message carries the reference coding rate.
  • the advisory message is a radio resource control RRC message or a media access control control unit MAC CE message.
  • the device 1700 may be specifically the first network device in the foregoing embodiment, and may be used to perform various steps and/or processes corresponding to the first network device in the foregoing method embodiments.
  • the memory 1740 can include a read only memory and a random access memory, and Provide instructions and data. A portion of the memory may also include a non-volatile random access memory.
  • the memory can also store information of the device type.
  • the processor 1720 can be configured to execute instructions stored in a memory, and when the processor executes the instructions, the processor can perform various steps and/or processes corresponding to the first network device in the above method embodiments.
  • FIG. 18 shows an apparatus 1800 for adjusting a coding rate provided by an embodiment of the present invention.
  • the apparatus 1800 includes a receiver 1810, a processor 1820, a transmitter 1830, a memory 1840, and a bus system 1850.
  • the receiver 1810, the processor 1820, the transmitter 1830, and the memory 1840 are connected by a bus system 1850 for storing instructions, and the processor 1820 is configured to execute instructions stored by the memory 1840 to control the receiver 1810.
  • a signal is received and the transmitter 1830 is controlled to send an instruction.
  • the receiver 1810 is configured to receive a first uplink coding rate adjustment request message that is sent by the first network device according to the current network state, where the first uplink coding rate adjustment request message is used to trigger the device to perform uplink coding rate adjustment, where The first coding rate adjustment request message carries a first coding rate, and the apparatus is within the coverage of the first network device;
  • the transmitter 1830 is configured to send a consultation message to the second terminal device, where the first message rate is greater than an uplink coding rate currently used by the device, where the request message is used to trigger an uplink coding rate with the second terminal device.
  • the negotiation of the adjustment carries the first coding rate, and the second terminal device is a peer device that communicates with the device.
  • the receiver 1810 is further configured to: after sending the consultation message to the second terminal device, receive a response message sent by the second terminal device, where the response message carries a reference code that the second terminal device allows to adjust rate;
  • the processor 1820 is configured to perform an acceleration adjustment of the encoding rate according to the response message.
  • the first uplink coding rate adjustment request message is a radio resource control RRC message or a media access control control unit MAC CE message.
  • the advisory message is a real-time transport protocol RTP CMR message that implements a control protocol RTCP message or carries an encoding mode request.
  • the device 1800 may be specifically the first terminal device in the foregoing embodiment, and may be used to perform various steps and/or processes corresponding to the first terminal device in the foregoing method embodiments.
  • the memory 1840 can include read only memory and random access memory and provides instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory.
  • the memory can also store information of the device type.
  • the processor 1820 can be used to perform storage The processor stores the instructions stored in the device, and when the processor executes the instructions, the processor can perform various steps and/or processes corresponding to the first terminal device in the foregoing method embodiments.
  • FIG. 19 shows an apparatus 1900 for adjusting a coding rate provided by an embodiment of the present invention.
  • the apparatus 1900 includes a receiver 1910, a processor 1920, a transmitter 1930, a memory 1940, and a bus system 1950.
  • the receiver 1910, the processor 1920, the transmitter 1930, and the memory 1940 are connected by a bus system 1950 for storing instructions for executing instructions stored by the memory 1940 to control the receiver 1910.
  • a signal is received and the transmitter 1930 is controlled to send an instruction.
  • the receiver 1910 is configured to receive a first coding rate sent by the first network device, where the device is within the coverage of the first network device;
  • the receiver 1910 is further configured to receive a second coding rate sent by the second terminal device, where the second terminal device is a peer device that communicates with the device;
  • the processor 1920 is configured to determine, according to the first encoding rate and the second encoding rate, whether an acceleration rate adjustment of the encoding rate is required.
  • the receiver 1910 is specifically configured to: receive the first coding rate that is sent by the first network device by using a radio resource control RRC message or a broadcast message, where the first coding rate is based on a network load condition of the first network device. Determining a maximum value of a coding rate that the first network device can accept;
  • the processor 1920 is specifically configured to: after receiving the second encoding rate sent by the second terminal device, if it is determined that the second encoding rate is greater than an uplink encoding rate currently used by the device, the second encoding rate and the first A coding rate is compared; if the second coding rate is less than or equal to the first coding rate, determining an up-speed adjustment of the coding rate.
  • the processor 1920 is further configured to: if the second encoding rate is greater than the first encoding rate, reject the speed adjustment of the encoding rate.
  • the receiver 1910 is configured to receive an uplink coding rate adjustment request message sent by the second terminal device, where the uplink coding rate adjustment request message carries the second coding rate, and save the second Coding rate
  • the processor 1920 is specifically configured to: after receiving the first coding rate sent by the first network device, if it is determined that the first coding rate is greater than an uplink coding rate currently used by the device, the first coding rate and the first The two encoding rates are compared; if the first encoding rate is less than or equal to the second encoding rate, then the speed adjustment of the encoding rate is determined.
  • the processor 1920 is further configured to: if the first encoding rate is greater than the second encoding rate, reject the speed adjustment of the encoding rate.
  • the processor 1920 is configured to: when the first encoding rate is received, compare the first encoding rate with an uplink encoding rate currently used by the device; if the first encoding rate is greater than the device The currently used uplink coding rate starts the timer and waits for the second uplink coding rate adjustment request message before the timer expires;
  • the processor 1920 is further configured to: if the second encoding rate is received before the timer expires, determine whether the rate adjustment of the encoding rate needs to be performed according to the first encoding rate and the second encoding rate.
  • the processor 1920 is specifically configured to: if the second encoding rate is not received before the timer expires, the speed adjustment of the encoding rate is refused.
  • the processor 1920 is configured to: when the second encoding rate is received, compare the second encoding rate with an uplink encoding rate currently used by the device; if the second encoding rate is greater than the device The currently used uplink coding rate, the timer is started, and the first coding rate is waited before the timer expires;
  • the processor 1920 is further configured to: if the first encoding rate is received before the timer expires, determine whether the rate adjustment of the encoding rate needs to be performed according to the first encoding rate and the second encoding rate.
  • the processor 1920 is specifically configured to: if the first encoding rate is not received before the timer expires, the speed adjustment of the encoding rate is refused.
  • the processor 1920 is further configured to perform an acceleration adjustment of the encoding rate after determining, according to the first encoding rate and the second encoding rate, that an acceleration rate adjustment of the encoding rate is required; or
  • the transmitter 1930 is configured to send a response message to the second terminal device, where the response message carries a reference coding rate allowed by the device.
  • the first coding rate is carried in a control unit MAC CE message that is a radio resource control RRC message or media access control.
  • the second encoding rate is carried in a real-time transport protocol RTP CMR message that implements a control protocol RTCP message or carries an encoding mode request.
  • the device 1900 may be specifically the first terminal device in the foregoing embodiment, and may be used to perform various steps and/or processes corresponding to the first terminal device in the foregoing method embodiments.
  • the memory 1940 can include read only memory and random access memory and provides instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory.
  • the memory can also store information of the device type.
  • the processor 1920 can be configured to execute instructions stored in a memory, and when the processor executes the instructions, the processor can perform various steps and/or processes corresponding to the first terminal device in the above method embodiments.
  • the processor may be a central processing unit (CPU), and the processor may also be other general purpose processors, digital signal processors (DSPs), and application specific integrated circuits (ASICs). ), Field Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • each step of the above method may be completed by an integrated logic circuit of hardware in a processor or an instruction in a form of software.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in a memory, and the processor executes instructions in the memory, in combination with hardware to perform the steps of the above method. To avoid repetition, it will not be described in detail here.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another The system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a USB flash drive, a mobile hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a disk or a CD.
  • ROM Read-Only Memory
  • RAM Random Access Memory

Landscapes

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

Abstract

本发明实施例公开了一种用于调整编码速率的方法和装置。该方法包括:第一终端设备接收第二终端设备发送的第一上行编码速率调整请求消息,该第一上行编码速率调整请求消息携带第一编码速率,该第二终端设备为与该第一终端设备进行通信的对端设备;在该第一终端设备确定该第一编码速率大于该第一终端设备当前使用的上行编码速率时,该第一终端设备向第一网络设备发送咨询消息,该咨询消息携带该第一编码速率,该第一终端设备在该第一网络设备的覆盖范围内。本发明实施例的用于调整编码速率的方法和装置,能够避免编码速率被频繁升降的问题,从而节省信令开销,提高用户体验。

Description

用于调整编码速率的方法和装置 技术领域
本发明实施例涉及通信领域,更具体地,涉及用于调整编码速率的方法和装置。
背景技术
在无线语音传输过程中,为了满足带宽的限制以及距离方面的要求,必须对语音的数据信息进行压缩,即对语音数据进行编码,将模拟信号转化为数字信号。随着移动通信的发展,对语音压缩编码的要求越来越高,不但要求编码码率较低以增加***容量,而且要求合成音质较高以保证通话质量。因此,需要根据当前网络情况,对发送方的编码速率进行调整,以便于提供更高质量的语音服务,同时充分利用***资源。
在现有技术中,网络设备可以根据当前的网络状况对终端设备的编码速率进行调整,例如当前网络是否发生拥塞、链路质量是否够好等等。也就是说,如果网络设备发现当前网络状况比较差,则通知终端设备进行降速;如果网络设备发现当前网络状况比较好,则通知终端设备进行升速。在一些***的语音业务中,例如长期演进(Long Term Evolution,简称为“LTE”)***,发送端和接收端是采用相同速率进行编解码的。因此,当接收端接收到该接收端所属网络设备发送的网络拥塞指示时,会直接进行编码速率的降速调整或者通知发送端进行编码速率的降速调整,否则,该接收端直接进行编码速率的升速调整或者通知发送端进行编码速率的升速调整。
但是,在上述现有技术中,终端设备速率调整都只考虑了单侧网络的链路状态,在没有收到网络拥塞指示的情况下,该终端设备会直接对编码速率进行升速调整,并不会综合考虑通信双方的链路状态,这样会导致该终端设备调整后的编码速率不被对端允许,编码速率被频繁地升降,从而影响用户体验。
发明内容
有鉴于此,本发明实施例提供了一种用于调整编码速率的方法和装置,能够避免编码速率被频繁升降的问题,从而节省信令开销,提高用户体验。
第一方面,提供了一种用于调整编码速率的方法,包括:第一终端设备接收第二终端设备发送的第一上行编码速率调整请求消息,该第一上行编码速率调整请求消息用于触发该第一终端设备进行上行编码速率的调整,该第一上行编码速率调整请求消息携带第一编码速率,该第二终端设备为与该第一终端设备进行通信的对端设备;在该第一终端设备确定该第一编码速率大于该第一终端设备当前使用的上行编码速率时,该第一终端设备向第一网络设备发送咨询消息,该咨询消息用于触发与该第一网络设备进行编码速率调整的协商,该咨询消息携带该第一编码速率,该第一终端设备在该第一网络设备的覆盖范围内。
这样,第一终端设备根据收到的第一编码速率确定第二终端设备的升速请求时,不会立即进行编码速率的升速调整,而是会与本端的第一网络设备进行协商,综合考虑本端和对端两侧链路的网络状态,判断是否需要进行编码速率的升速调整,这样能够避免编码速率被频繁升降的问题,从而节省信令开销,提高用户体验。
在第一方面的第一种可能的实现方式中,在该第一终端设备向第一网络设备发送咨询消息之后,该方法还包括:该第一终端设备接收该第一网络设备发送的响应消息,该响应消息携带该第一网络设备允许调整的参考编码速率;该第一终端设备根据该响应消息,判断是否需要进行编码速率的升速调整。
具体地,该第一终端设备可以接收第一网络设备发送的参考编码速率,根据该参考编码速率,判断是否需要进行编码速率的升速调整。
结合第一方面的上述可能的实现方式,在第一方面的第二种可能的实现方式中,该第一上行编码速率调整请求消息为实施控制协议RTCP消息或携带编码模式请求的实时传输协议RTP CMR消息。
结合第一方面的上述可能的实现方式,在第一方面的第三种可能的实现方式中,该咨询消息为无线资源控制RRC消息或层2控制消息,例如,媒体接入控制的控制单元MAC CE消息。
在本发明实施例的某些方面中,该第一终端设备在接收第二终端设备发送的第一上行编码速率调整请求消息之后,可以根据第一终端设备自身的测量结果,判断是否接受第一上行编码速率调整请求消息中携带的第一编码速率,确定该第一终端设备允许调整的参考编码速率。
可选地,若该第一终端设备接受该第一编码速率,则将该第一编码速率确定为该参考编码速率;若该第一终端设备不接受该第一编码速率,则将该第一终端设备允许的最大编码速率确定为该参考编码速率。
第二方面,提供了一种用于调整编码速率的方法,包括:第一网络设备接收第一终端设备发送的咨询消息,该咨询消息携带与该第一终端设备通信的第二终端设备所请求的第一编码速率,该第一编码速率大于该第一终端设备当前使用的上行编码速率,其中,该第一终端设备在该第一网络设备的覆盖范围内,该第二终端设备为与该第一终端设备进行通信的对端设备;该第一网络设备根据当前网络状态和该第一编码速率,确定该第一网络设备允许调整的参考编码速率。
这样,该第一网络设备在接收到第一终端设备发送的咨询消息后,会综合考虑自身的网络状态和该咨询消息中携带的编码速率,确定允许调整的参考编码速率。因此,确定出的参考编码速率综合考虑了本端和对端两侧链路的网络状态,以供第一终端设备进行参考,这样能够避免编码速率被频繁升降的问题,从而节省信令开销,提高用户体验。
在第二方面的第一种可能的实现方式中,该第一网络设备根据当前网络状态和该第一编码速率,确定该第一网络设备允许调整的参考编码速率,包括:若该第一网络设备根据该当前网络状态,确定接受该第一编码速率,则该第一网络设备将该第一编码速率确定为该参考编码速率;若该第一网络设备根据该当前网络状态,确定不接受该第一编码速率,则该第一网络设备将允许的最大编码速率确定为该参考编码速率。
结合第二方面的上述可能的实现方式,在第二方面的第二种可能的实现方式中,在该第一网络设备根据当前网络状态和该第一编码速率,确定该第一网络设备允许调整的参考编码速率之后,该方法还包括:该第一网络设备向该第一终端设备发送响应消息,该响应消息携带该参考编码速率。
结合第二方面的上述可能的实现方式,在第二方面的第三种可能的实现方式中,该咨询消息为无线资源控制RRC消息或层2控制消息,例如,媒体接入控制的控制单元MAC CE消息。
第三方面,提供了一种用于调整编码速率的方法,包括:第一终端设备接收第一网络设备根据当前网络状态发送的第一上行编码速率调整请求消息,该第一上行编码速率调整请求消息用于触发该第一终端设备进行上行编 码速率的调整,该第一编码速率调整请求消息携带第一编码速率,该第一终端设备在该第一网络设备的覆盖范围内;在该第一终端设备确定该第一编码速率大于该第一终端设备当前使用的上行编码速率时,该第一终端设备向该第二终端设备发送咨询消息,该咨询消息用于触发与该第二终端设备进行上行编码速率调整的协商,该咨询消息携带该第一编码速率,该第二终端设备为与该第一终端设备进行通信的对端设备。
这样,该第一终端设备根据收到的编码速率确定第一网络设备的升速请求时,不会立即进行编码速率的升速调整,而是会与通信对端第二终端设备进行协商,综合考虑本端和对端两侧链路的网络状态,判断是否需要进行编码速率的升速调整,这样能够避免编码速率被频繁升降的问题,从而节省信令开销,提高用户体验。
在第三方面的第一种可能的实现方式中,在该第一终端设备向该第二终端设备发送咨询消息之后,该方法还包括:该第一终端设备接收该第二终端设备发送的响应消息,该响应消息携带该第二终端设备允许调整的参考编码速率;该第一终端设备根据该响应消息,判断是否需要进行编码速率的升速调整。
结合第三方面的上述可能的实现方式,在第三方面的第二种可能的实现方式中,该第一上行编码速率调整请求消息为无线资源控制RRC消息或层2控制消息,例如,媒体接入控制的控制单元MAC CE消息。
结合第三方面的上述可能的实现方式,在第三方面的第三种可能的实现方式中,该咨询消息为实施控制协议RTCP消息或携带编码模式请求的实时传输协议RTP CMR消息。
第四方面,提供了一种用于调整编码速率的方法,包括:第一终端设备接收第一网络设备发送的第一编码速率,该第一终端设备在该第一网络设备的覆盖范围内;该第一终端设备接收第二终端设备发送的第二编码速率,该第二终端设备为与该第一终端设备进行通信的对端设备;该第一终端设备根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整。
可选地,该第一终端设备接收第一网络设备发送的第一编码速率,包括:
该第一终端设备接收该第一网络设备发送的第一上行编码速率调整请求消息,该第一上行编码速率调整请求消息用于触发该第一终端设备进行上 行编码速率的调整,该第一上行编码速率调整请求消息携带第一编码速率。
可选地,该第一终端设备接收第二终端设备发送的第二编码速率,包括:
该第一终端设备接收该第二终端设备发送的第二上行编码速率调整请求消息,该第二上行编码速率调整请求消息用于触发该第一终端设备进行上行编码速率的调整,该第二上行编码速率调整请求消息携带第二编码速率。
因此,本发明实施例的用于调整编码速率的方法,综合考虑了本端和对端两侧链路的网络状态,通过接收与本端链路状态对应的第一编码速率和与对端链路状态对应的第二编码速率,判断是否需要进行编码速率的升速调整,这样能够避免编码速率被频繁升降的问题,从而节省信令开销,提高用户体验。
在第四方面的第一种可能的实现方式中,该第一终端设备接收第一网络设备发送的第一编码速率,包括:该第一终端设备接收该第一网络设备通过无线资源控制RRC消息或广播消息发送的该第一编码速率,该第一编码速率为该第一网络设备根据网络负载情况确定的该第一网络设备能够接受的编码速率的最大值;该第一终端设备根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整,包括:在该第一终端设备接收第二终端设备发送的第二编码速率之后,若该第一终端设备确定该第二编码速率大于该第一终端设备当前使用的上行编码速率,则该第一终端设备将该第二编码速率与该第一编码速率进行比较;若该第二编码速率小于或者等于该第一编码速率,则该第一终端设备进行编码速率的升速调整。
结合第四方面的上述可能的实现方式,在第四方面的第二种可能的实现方式中,该第一终端设备根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整,还包括:若该第二编码速率大于该第一编码速率,则该第一终端设备拒绝进行编码速率的升速调整。
具体地,第一网络设备可以根据自身的网络状况,例如网络负载情况,预先为第一终端设备设置一个速率门限值,即最大编码速率。这样,该第一终端设备在收到第二编码速率时,一旦发现第二编码速率大于当前正在使用的编码速率时,则将该第二编码速率与最大编码速率进行比较,从而判断是否需要进行编码速率的升速调整,这样能够节省信令开销,提高用于体验。
结合第四方面的上述可能的实现方式,在第四方面的第三种可能的实现方式中,该第一终端设备接收该第二终端设备发送的第二编码速率,包括: 该第一终端设备在上一次通信时接收该第二终端设备发送的上行编码速率调整请求消息,该上行编码速率调整请求消息携带该第二编码速率;该第一终端设备保存该第二编码速率;该第一终端设备根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整,包括:在该第一终端设备接收第一网络设备发送的第一编码速率之后,若该第一终端设备确定该第一编码速率大于该第一终端设备当前使用的上行编码速率,则该第一终端设备将该第一编码速率与该第二编码速率进行比较;若该第一编码速率小于或者等于该第二编码速率,则该第一终端设备进行编码速率的升速调整。
结合第四方面的上述可能的实现方式,在第四方面的第四种可能的实现方式中,该第一终端设备根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整,还包括:若该第一编码速率大于该第二编码速率,则该第一终端设备拒绝进行编码速率的升速调整。
具体地,该第一网络设备可以保存上一次通信过程中该第二终端设备发送的编码速率,将其作为该第二编码速率。该第一终端设备在接收到第一网络设备发送的第一编码速率时,一旦发现该第一编码速率大于当前使用的上行编码速率,则将该第一编码速率与保存的第二编码速率进行比较,从而判断是否需要进行编码速率的升速调整,这样能够节省信令开销,提高用于体验。
结合第四方面的上述可能的实现方式,在第四方面的第五种可能的实现方式中,该方法还包括:若该第一终端设备先接收到该第一编码速率,则该第一终端设备在接收到该第一上行编码速率调整请求消息时将该第一编码速率与该第一终端设备当前使用的上行编码速率进行比较;若该第一编码速率大于该第一终端设备当前使用的上行编码速率,则该第一终端设备开启定时器,并在该定时器超时之前等待该第二上行编码速率调整请求消息;该第一终端设备根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整,包括:若在该定时器超时之前,该第一终端设备接收到该第二编码速率,则该第一终端设备根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整。
结合第四方面的上述可能的实现方式,在第四方面的第六种可能的实现方式中,该第一终端设备根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整,还包括:若在该定时器超时之前,该第一终 端设备未接收到该第二编码速率,则该第一终端设备拒绝进行编码速率的升速调整。
结合第四方面的上述可能的实现方式,在第四方面的第七种可能的实现方式中,该方法还包括:若该第一终端设备先接收到该第二编码速率,则该第一终端设备在接收到该第二编码速率时将该第二编码速率与该第一终端设备当前使用的上行编码速率进行比较;若该第二编码速率大于该第一终端设备当前使用的上行编码速率,则该第一终端设备开启定时器,并在该定时器超时之前等待该第一编码速率;该第一终端设备根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整,包括:若在该定时器超时之前,该第一终端设备接收到该第一编码速率,则该第一终端设备根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整。
结合第四方面的上述可能的实现方式,在第四方面的第八种可能的实现方式中,该第一终端设备根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整,还包括:若在该定时器超时之前,该第一终端设备未接收到该第一编码速率,则该第一终端设备拒绝进行编码速率的升速调整。
结合第四方面的上述可能的实现方式,在第四方面的第九种可能的实现方式中,在该第一终端设备根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整之后,该方法还包括:该第一终端设备进行编码速率的升速调整;或该第一终端设备向该第二终端设备发送响应消息,该响应消息携带该第一终端设备允许的参考编码速率。
结合第四方面的上述可能的实现方式,在第四方面的第十种可能的实现方式中,该第一编码速率携带在为无线资源控制RRC消息或层2控制消息,例如:媒体接入控制的控制单元MAC CE消息中。
结合第四方面的上述可能的实现方式,在第四方面的第十一种可能的实现方式中,该第二编码速率携带在实施控制协议RTCP消息或携带编码模式请求的实时传输协议RTP CMR消息中。
在本发明实施例的某些方面中,可选地,若该第一终端设备先接收到该第一网络设备发送的该第一编码速率并确定该第一网络设备请求升速,则在该第一终端设备接收第一网络设备发送的第一编码速率之后,该第一终端设 备向该第二终端设备发送咨询消息,该咨询消息用于与该第二终端设备进行编码速率调整的协商;
该第一终端设备接收第二终端设备发送的第二编码速率,包括:该第一终端设备接收该第二终端设备在接收到该咨询消息后发送的该第二编码速率。
可选地,若该第一终端设备先接收到该第二终端设备发送的该第二编码速率并确定该第二终端设备请求升速,则在该第一终端设备接收第二终端设备发送的第二编码速率之后,该第一终端设备向该第一网络设备发送咨询消息,该咨询消息用于与该第一网络设备进行编码速率调整的协商;
该第一终端设备接收第一网络设备发送的第一编码速率,包括:该第一终端设备接收该第一网络设备在接收到该咨询消息后发送的该第一编码速率。
具体地,该第一终端设备在接收到第一编码速率(或第二编码速率)后,可以主动向对端设备请求第二编码速率(或向所属网络设备请求第一编码速率),这样无需额外等待,能够节省用户时间,从而提高用户体验。
第五方面,提供了一种用于调整编码速率的装置,用于执行上述第一方面或第一方面的任意可能的实现方式中的方法。具体地,该装置可以包括用于执行上述第一方面或第一方面的任意可能的实现方式中的方法的单元。
第六方面,提供了一种用于调整编码速率的装置,用于执行上述第二方面或第二方面的任意可能的实现方式中的方法。具体地,该装置可以包括用于执行上述第二方面或第二方面的任意可能的实现方式中的方法的单元。
第七方面,提供了一种用于调整编码速率的装置,用于执行上述第三方面或第三方面的任意可能的实现方式中的方法。具体地,该装置可以包括用于执行上述第三方面或第三方面的任意可能的实现方式中的方法的单元。
第八方面,提供了一种用于调整编码速率的装置,用于执行上述第四方面或第四方面的任意可能的实现方式中的方法。具体地,该装置可以包括用于执行上述第四方面或第四方面的任意可能的实现方式中的方法的单元。
第九方面,提供了一种用于调整编码速率的装置,该装置包括:接收器、发送器、存储器、处理器和总线***。其中,该接收器、该发送器、该存储器和该处理器通过该总线***相连,该存储器用于存储指令,该处理器用于执行该存储器存储的指令,以控制接收器接收信号,并控制发送器发送信号, 并且当该处理器执行该存储器存储的指令时,该执行使得该处理器执行第一方面或第一方面的任意可能的实现方式中的方法。
第十方面,提供了一种用于调整编码速率的装置,该装置包括:接收器、发送器、存储器、处理器和总线***。其中,该接收器、该发送器、该存储器和该处理器通过该总线***相连,该存储器用于存储指令,该处理器用于执行该存储器存储的指令,以控制接收器接收信号,并控制发送器发送信号,并且当该处理器执行该存储器存储的指令时,该执行使得该处理器执行第二方面或第二方面的任意可能的实现方式中的方法。
第十一方面,提供了一种用于调整编码速率的装置,该装置包括:接收器、发送器、存储器、处理器和总线***。其中,该接收器、该发送器、该存储器和该处理器通过该总线***相连,该存储器用于存储指令,该处理器用于执行该存储器存储的指令,以控制接收器接收信号,并控制发送器发送信号,并且当该处理器执行该存储器存储的指令时,该执行使得该处理器执行第三方面或第三方面的任意可能的实现方式中的方法。
第十二方面,提供了一种用于调整编码速率的装置,该装置包括:接收器、发送器、存储器、处理器和总线***。其中,该接收器、该发送器、该存储器和该处理器通过该总线***相连,该存储器用于存储指令,该处理器用于执行该存储器存储的指令,以控制接收器接收信号,并控制发送器发送信号,并且当该处理器执行该存储器存储的指令时,该执行使得该处理器执行第四方面或第四方面的任意可能的实现方式中的方法。
第十三方面,提供了一种用于调整编码速率的***,该***包括上述第五方面或第五方面的任一种可能实现方式中的装置以及第六方面或第六方面中的任一种可能实现方式中的装置;或者
该***包括上述第六方面或第六方面的任一种可能实现方式中的装置以及第七方面或第七方面中的任一种可能实现方式中的装置;或者
该***包括上述第九方面或第九方面的任一种可能实现方式中的装置以及第十方面或第十方面中的任一种可能实现方式中的装置;或者
该***包括上述第十方面或第十方面的任一种可能实现方式中的装置以及第十一方面或第十一方面中的任一种可能实现方式中的装置。
第十四方面,提供了一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行第一方面或第一方面的任意可能的实现方式中的方 法的指令。
第十五方面,提供了一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行第二方面或第二方面的任意可能的实现方式中的方法的指令。
第十六方面,提供了一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行第三方面或第三方面的任意可能的实现方式中的方法的指令。
第十七方面,提供了一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行第四方面或第四方面的任意可能的实现方式中的方法的指令。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所需要使用的附图作简单地介绍,显而易见地,下面所描述的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例应用的通信***的示意图。
图2是本发明实施例提供的用于调整编码速率的方法的示意性框图。
图3是本发明实施例提供的另一用于调整编码速率的方法的示意性框图。
图4是本发明实施例提供的另一用于调整编码速率的方法的示意性框图。
图5是本发明实施例提供的另一用于调整编码速率的方法的示意性框图。
图6是本发明实施例提供的另一用于调整编码速率的方法的示意性流程图。
图7是本发明实施例提供的另一用于调整编码速率的方法的示意性流程图。
图8是本发明实施例提供的另一用于调整编码速率的方法的示意性流程图。
图9是本发明实施例提供的另一用于调整编码速率的方法的示意性流程 图。
图10是本发明实施例提供的另一用于调整编码速率的方法的示意性流程图。
图11是本发明实施例提供的另一用于调整编码速率的方法的示意性流程图。
图12是本发明实施例提供的用于调整编码速率的装置的示意性框图。
图13是本发明实施例提供的另一用于调整编码速率的装置的示意性框图。
图14是本发明实施例提供的另一用于调整编码速率的装置的示意性框图。
图15是本发明实施例提供的另一用于调整编码速率的装置的示意性框图。
图16是本发明实施例提供的另一用于调整编码速率的装置的示意性框图。
图17是本发明实施例提供的另一用于调整编码速率的装置的示意性框图。
图18是本发明实施例提供的另一用于调整编码速率的装置的示意性框图。
图19是本发明实施例提供的另一用于调整编码速率的装置的示意性框图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明的一部分实施例,而不是全部实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都应属于本发明保护的范围。
本发明实施例的技术方案可以应用于各种通信***,例如:全球移动通讯(Global System of Mobile communication,简称为“GSM”)***、码分多址(Code Division Multiple Access,简称为“CDMA”)***、宽带码分多址(Wideband Code Division Multiple Access,简称为“WCDMA”)***、通用分组无线业务(General Packet Radio Service,简称为“GPRS”)、长期演进 (Long Term Evolution,简称为“LTE”)***、LTE频分双工(Frequency Division Duplex,简称为“FDD”)***、LTE时分双工(Time Division Duplex,简称为“TDD”)、通用移动通信***(Universal Mobile Telecommunication System,简称为“UMTS”)或全球互联微波接入(Worldwide Interoperability for Microwave Access,简称为“WiMAX”)通信***或未来的5G***等。
图1示出了本发明实施例应用的通信***100。该通信***100可以至少包括网络设备110和网络设备120。网络设备110和网络设备120都可以是与终端设备通信的设备,如基站或基站控制器等。每个网络设备可以为特定的地理区域提供通信覆盖,并且可以与位于该覆盖区域(小区)内的终端设备进行通信。该网络设备110和网络设备120可以是GSM***或码分多址(Code Division Multiple Access,简称为“CDMA”)***中的基站(Base Transceiver Station,简称为“BTS”),也可以是WCDMA***中的基站(NodeB,简称为“NB”),还可以是LTE***中的演进型基站(Evolutional Node B,简称为“eNB”或“eNodeB”),或者是云无线接入网络(Cloud Radio Access Network,简称为“CRAN”)中的无线控制器,或者该网络设备可以为中继站、接入点、车载设备、可穿戴设备、未来5G网络中的网络侧设备或者未来演进的公共陆地移动网络(Public Land Mobile Network,简称为“PLMN”)中的网络设备等。
该无线通信***100还包括位于网络设备110覆盖范围内的至少一个终端设备130和位于网络设备120覆盖范围内的至少一个终端设备140。该终端设备130和终端设备140可以是移动的或固定的。该终端设备130和终端设备140可以指接入终端、用户设备(User Equipment,简称为“UE”)、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。接入终端可以是蜂窝电话、无绳电话、会话初始协议(Session Initiation Protocol,简称为“SIP”)电话、无线本地环路(Wireless Local Loop,简称为“WLL”)站、个人数字处理(Personal Digital Assistant,简称为“PDA”)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备、未来5G网络中的终端设备或者未来演进的公共陆地移动网络(Public Land Mobile Network,简称为“PLMN”)中的终端设备等。
在该无线通信***100中,网络设备110覆盖范围内的终端设备可以和 网络设备120覆盖范围内的终端设备进行通信,例如,终端设备130和终端设备140可以进行无线语音传输。对于终端设备130而言,终端设备140为对端设备,终端设备130可以作为发送端,也可以作为接收端。同理,对于终端设备140而言,终端设备130为对端设备,终端设备140可以作为发送端,也可以作为接收端。
图1示例性地示出了两个网络设备和两个终端设备,可选地,该通信***100可以包括多个网络设备并且每个网络设备的覆盖范围内可以包括其它数量的终端设备,本发明实施例对此不做限定。
可选地,该无线通信***100还可以包括网络控制器、移动管理实体等其他网络实体,本发明实施例不限于此。
图2示出了本发明实施例提供的用于调整编码速率的方法200,该方法200可以应用于图1所示的通信***100,但本发明实施例不限于此。
S210,第一终端设备接收第二终端设备发送的第一上行编码速率调整请求消息,该第一上行编码速率调整请求消息用于触发该第一终端设备进行上行编码速率的调整,该第一上行编码速率调整请求消息携带第一编码速率,该第二终端设备为与该第一终端设备进行通信的对端设备;
S220,在该第一终端设备确定该第一编码速率大于该第一终端设备当前使用的上行编码速率时,该第一终端设备向第一网络设备发送咨询消息,该咨询消息用于触发与该第一网络设备进行编码速率调整的协商,该咨询消息携带该第一编码速率,该第一终端设备在该第一网络设备的覆盖范围内。
作为一个可选实施例,在该第一终端设备向第一网络设备发送咨询消息之后,该方法还包括:该第一终端设备接收该第一网络设备发送的响应消息,该响应消息携带该第一网络设备允许调整的参考编码速率;该第一网络设备根据该响应消息,进行编码速率的升速调整。
作为一个可选实施例,该第一上行编码速率调整请求消息为实施控制协议RTCP消息或携带编码模式请求的实时传输协议RTP CMR消息。
作为一个可选实施例,该咨询消息为无线资源控制RRC消息或媒体接入控制的控制单元MAC CE消息。
具体地,上述终端设备和网络设备之间交互的信令可以是无线资源控制(Radio Resource Control,简称为“RRC”)消息,也可以是层2的控制消息。具体地,在LTE***中,层2指的是媒体访问控制(Media Access Control, 简称为“MAC”)层、无线链路控制(Radio Link Control,简称为“RLC”)层和分组数据汇聚协议(Packet Data Convergence Protocol,简称为“PDCP”)层,因此,对应的控制消息可以是媒体接入控制的控制单元(Media Access Control-Control Unit,简称为“MAC CE”)消息,RLC控制的协议数据单元(Protocol Data Unit,简称为“PDU”)或PDCP控制的PDU等等,本发明实施例对此不作限定。
此外,上述第一终端设备和第二终端设备之间可以通过应用层消息进行通信,该应用层消息可以是实施控制协议(Real Time Control Protocol,简称为“RTCP”)消息,也可以是携带编码模式请求的实时传输协议(Real-time Transport Protocol-Codec Mode Request,简称为“RTP CMR”)消息。除了上述消息之外,也可以是其他能够携带编码速率的消息,本发明实施例对此不作限定。
可选地,该第一终端设备可以将调整后的速率发送给第一网络设备,以便于该第一网络设备基于该值进行后续的速率调整。
可选地,上述第一编码速率可以直接是具体的推荐速率值,也可以是该推荐速率值对应的索引值,本发明实施例对此也不作限定。
现有技术中,终端设备的速率调整都只考虑了单侧网络的链路状态,作为接收端的终端设备一旦收到本端或者对端发送的调速请求,就会触发编码速率的调整,该终端设备并不会综合考虑通信双方的链路状态,这样会导致编码速率被频繁地升降,从而影响用户体验。
而在本发明实施例中,第一终端设备根据收到的第一编码速率确定第二终端设备的升速请求时,不会立即进行编码速率的升速调整,而是会与本端第一网络设备进行协商,综合考虑本端和对端两侧链路的网络状态,判断是否需要进行编码速率的升速调整,这样能够避免编码速率被频繁升降的问题,从而节省信令开销,提高用户体验。
应理解,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
图3示出了本发明实施例提供的用于调整编码速率的方法300,该方法300可以应用于图1所示的通信***100,但本发明实施例不限于此。
S310,第一网络设备接收第一终端设备发送的咨询消息,该咨询消息携 带与该第一终端设备通信的第二终端设备所请求的第一编码速率,该第一编码速率大于该第一终端设备当前使用的上行编码速率,其中,该第一终端设备在该第一网络设备的覆盖范围内,该第二终端设备为与该第一终端设备进行通信的对端设备;
S320,该第一网络设备根据当前网络状态和该第一编码速率,确定该第一网络设备允许调整的参考编码速率。
作为一个可选实施例,该第一网络设备根据当前网络状态和该第一编码速率,确定该第一网络设备允许调整的参考编码速率,包括:若该第一网络设备根据该当前网络状态,确定接受该第一编码速率,则该第一网络设备将该第一编码速率确定为该参考编码速率;若该第一网络设备根据该当前网络状态,确定不接受该第一编码速率,则该第一网络设备将允许的最大编码速率确定为该参考编码速率。
作为一个可选实施例,在该第一网络设备根据当前网络状态和该第一编码速率,确定该第一网络设备允许调整的参考编码速率之后,该方法还包括:该第一网络设备向该第一终端设备发送响应消息,该响应消息携带该参考编码速率。
作为一个可选实施例,该咨询消息为无线资源控制RRC消息或媒体接入控制的控制单元MAC CE消息。
具体地,上述终端设备和网络设备之间交互的信令可以是无线资源控制(Radio Resource Control,简称为“RRC”)消息,也可以是层2的控制消息。具体地,在LTE***中,层2指的是媒体访问控制(Media Access Control,简称为“MAC”)层、无线链路控制(Radio Link Control,简称为“RLC”)层和分组数据汇聚协议(Packet Data Convergence Protocol,简称为“PDCP”)层,因此,对应的控制消息可以是媒体接入控制的控制单元(Media Access Control-Control Unit,简称为“MAC CE”)消息,RLC控制的协议数据单元(Protocol Data Unit,简称为“PDU”)或PDCP控制的PDU等等,本发明实施例对此不作限定。
此外,上述第一终端设备和第二终端设备之间可以通过应用层消息进行通信,该应用层消息可以是实施控制协议(Real Time Control Protocol,简称为“RTCP”)消息,也可以是携带编码模式请求的实时传输协议(Real-time Transport Protocol-Codec Mode Request,简称为“RTP CMR”)消息。除了上 述消息之外,也可以是其他能够携带编码速率的消息,本发明实施例对此不作限定。
可选地,该第一网络设备可以接收该第一终端设备发送的调整后的速率,以便于该第一网络设备基于该值进行后续的速率调整。
可选地,上述第一编码速率可以直接是具体的推荐速率值,也可以是该推荐速率值对应的索引值,本发明实施例对此也不作限定。
在本发明实施例中,第一网络设备在接收到第一终端设备发送的咨询消息后,会综合考虑自身的网络状态和该咨询消息中携带的编码速率,确定允许调整的参考编码速率。因此,第一终端设备判决是否需要进行编码速率的上行调整是综合考虑了本端和对端两侧链路的网络状态,这样能够避免编码速率被频繁升降的问题,从而节省信令开销,提高用户体验。
应理解,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
图4示出了本发明实施例提供的用于调整编码速率的方法400,该方法400可以应用于图1所示的通信***100,但本发明实施例不限于此。
S410,第一终端设备接收第一网络设备根据当前网络状态发送的第一上行编码速率调整请求消息,该第一上行编码速率调整请求消息用于触发该第一终端设备进行上行编码速率的调整,该第一编码速率调整请求消息携带第一编码速率,该第一终端设备在该第一网络设备的覆盖范围内;
S420,在该第一终端设备确定该第一编码速率大于该第一终端设备当前使用的上行编码速率时,该第一终端设备向该第二终端设备发送咨询消息,该咨询消息用于触发与该第二终端设备进行上行编码速率调整的协商,该咨询消息携带该第一编码速率,该第二终端设备为与该第一终端设备进行通信的对端设备。
作为一个可选实施例,在该第一终端设备向该第二终端设备发送咨询消息之后,该方法还包括:该第一终端设备接收该第二终端设备发送的响应消息,该响应消息携带该第二终端设备允许调整的参考编码速率;该第一终端设备根据该响应消息,判断是否需要进行编码速率的升速调整。
作为一个可选实施例,该第一上行编码速率调整请求消息为无线资源控制RRC消息或媒体接入控制的控制单元MAC CE消息。
作为一个可选实施例,该咨询消息为实施控制协议RTCP消息或携带编码模式请求的实时传输协议RTP CMR消息。
具体地,上述终端设备和网络设备之间交互的信令可以是无线资源控制(Radio Resource Control,简称为“RRC”)消息,也可以是层2的控制消息。具体地,在LTE***中,层2指的是媒体访问控制(Media Access Control,简称为“MAC”)层、无线链路控制(Radio Link Control,简称为“RLC”)层和分组数据汇聚协议(Packet Data Convergence Protocol,简称为“PDCP”)层,因此,对应的控制消息可以是媒体接入控制的控制单元(Media Access Control-Control Unit,简称为“MAC CE”)消息,RLC控制的协议数据单元(Protocol Data Unit,简称为“PDU”)或PDCP控制的PDU等等,本发明实施例对此不作限定。
此外,上述第一终端设备和第二终端设备之间可以通过应用层消息进行通信,该应用层消息可以是实施控制协议(Real Time Control Protocol,简称为“RTCP”)消息,也可以是携带编码模式请求的实时传输协议(Real-time Transport Protocol-Codec Mode Request,简称为“RTP CMR”)消息。除了上述消息之外,也可以是其他能够携带编码速率的消息,本发明实施例对此不作限定。
在本发明实施例中,第一终端设备根据收到的编码速率确定第一网络设备的升速请求时,不会立即进行编码速率的升速调整,而是会与通信对端第二终端设备进行协商,综合考虑本端和对端两侧链路的网络状态,判断是否需要进行编码速率的升速调整,这样能够避免编码速率被频繁升降的问题,从而节省信令开销,提高用户体验。
应理解,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
图5示出了本发明实施例提供的用于调整编码速率的方法500,该方法500可以应用于图1所示的通信***100,但本发明实施例不限于此。
S510,第一终端设备接收该第一网络设备发送的第一编码速率,该第一终端设备在该第一网络设备的覆盖范围内;
S520,该第一终端设备接收第二终端设备发送的第二编码速率,该第二终端设备为与该第一终端设备进行通信的对端设备;
S530,该第一终端设备根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整。
具体地,第一网络设备可以根据自身的当前的网络状况要求第一终端设备将编码速率升速调整为第一编码速率,第二网络设备可以根据自身的当前的网络状况要求第二终端设备将编码速率升速调整为第二编码速率。只有确定该第一网络设备和第二终端设备都要进行升速调整后,该第一终端设备才可以综合考虑该第一编码速率和该第二编码速率,进行编码速率升速的调整。
应理解,该第一终端设备可以先接收第一编码速率,也可以先接收第二编码速率,本发明实施例对S510和S520的先后顺序不作任何限定。
可选地,该第一终端设备可以将调整后的速率发送给第一网络设备,以便于该第一网络设备基于该值进行后续的速率调整。
可选地,上述第一编码速率和第二编码速率可以直接是具体的推荐速率值,也可以是该推荐速率值对应的索引值,本发明实施例对此也不作限定。
在本发明实施例中,第一终端设备在接收第一网络设备所请求的第一编码速率(或第二终端设备所请求的第二编码速率),并确定该第一编码速率大于当前编码速率后,不会立刻触发编码速率的调整,而是在接收第二终端设备所请求的第二编码速率(或第一网络设备所请求的第一编码速率),并确定该第二编码速率大于当前编码速率后,综合考虑该第一编码速率和该第二编码速率,确定允许调整的参考编码速率。
因此,本发明实施例的用于调整编码速率的方法,综合考虑了本端和对端两侧链路的网络状态,通过接收与本端链路状态对应的第一编码速率和与对端链路状态对应的第二编码速率,,以供第一终端设备进行编码速率升速调整的参考,这样能够避免编码速率被频繁升降的问题,从而节省信令开销,提高用户体验。
应理解,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
作为一个可选实施例,该第一终端设备接收该第一网络设备发送的第一编码速率,包括:该第一终端设备接收该第一网络设备通过无线资源控制RRC消息或广播消息发送的该第一编码速率,该第一编码速率为该第一网络 设备根据网络负载情况确定的该第一网络设备能够接受的编码速率的最大值;
该第一终端设备根据该第一编码速率和该第二编码速率,判决是否需要进行编码速率的升速调整,包括:在该第一终端设备接收第二终端设备发送的第二编码速率之后,若该第一终端设备确定该第二编码速率大于该第一终端设备当前使用的上行编码速率,则该第一终端设备将该第二编码速率与该第一编码速率进行比较;若该第二编码速率小于或者等于该第一编码速率,则该第一终端设备确定进行编码速率的升速调整。
作为一个可选实施例,该第一终端设备根据该第一编码速率和该第二编码速率,判决是否需要进行编码速率的升速调整,还包括:若该第二编码速率大于该第一编码速率,则该第一终端设备拒绝进行编码速率的升速调整。
具体地,第一网络设备可以根据自身的网络状况,例如,网络负载情况,预先为第一终端设备设置一个速率门限值,即最大编码速率。该第一终端设备在接收到第二终端设备所请求的第二编码速率时,一旦发现该第二编码速率大于当前使用的上行编码速率,则将该第二编码速率与该最大编码速率进行比较。若该第二编码速率小于或者等于该最大编码速率,则该第一终端设备执行编码速率的升速调整;若该第二编码速率大于该最大编码速率,则该第一终端设备拒绝进行编码速率的升速调整。
作为一个可选实施例,该第一终端设备接收该第二终端设备发送的第二编码速率,包括:该第一终端设备在上一次通信时接收该第二终端设备发送的上行编码速率调整请求消息,该上行编码速率调整请求消息携带该第二编码速率;该第一终端设备保存该第二编码速率;
该第一终端设备根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整,包括:在该第一终端设备接收第一网络设备发送的第一编码速率之后,若该第一终端设备确定该第一编码速率大于该第一终端设备当前使用的上行编码速率,则该第一终端设备将该第一编码速率与该第二编码速率进行比较;若该第一编码速率小于或者等于该第二编码速率,则该第一终端设备确定进行编码速率的升速调整。
作为一个可选实施例,该第一终端设备根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整,还包括:若该第一编码速率大于该第二编码速率,则该第一终端设备拒绝进行编码速率的升速调整。
具体地,该第一网络设备可以保存上一次通信过程中该第二终端设备发送的编码速率,将其作为该第二编码速率。该第一终端设备在接收到第一终端设备发送的第一编码速率时,一旦发现该第一编码速率大于当前使用的上行编码速率时,则将该第一编码速率与保存的第二编码速率进行比较。若该第一编码速率小于或者等于该第二编码速率,则该第一终端设备执行编码速率的升速调整;若该第一编码速率大于该第二编码速率,则该第一终端设备拒绝进行编码速率的升速调整。
作为一个可选实施例,若该第一终端设备先接收到该第一网络设备发送的该第一编码速率并确定该第一网络设备请求升速,则在该第一终端设备接收第一网络设备发送的第一编码速率之后,该第一终端设备向该第二终端设备发送咨询消息,该咨询消息用于咨询该第二终端设备允许的编码速率;
该第一终端设备接收第二终端设备发送的第二编码速率,包括:该第一终端设备接收该第二终端设备在接收到该咨询消息之后发送的该第二编码速率。
作为一个可选实施例,若该第一终端设备先接收到该第二终端设备发送的该第二编码速率并确定该第二终端设备请求升速,则在该第一终端设备接收第二终端设备发送的第二编码速率之后,该第一终端设备向该第一网络设备发送咨询消息,该咨询消息用于咨询该第一网络设备允许的编码速率;
该第一终端设备接收第一网络设备发送的第一编码速率,包括:该第一终端设备接收该第一网络设备在接收到该咨询消息之后发送的该第一编码速率。
具体地,在该实施例中,该第一终端设备在接收到第一编码速率(或第二编码速率)后,可以主动向对端设备请求第二编码速率(或向所属网络设备请求第一编码速率),这样无需额外等待,能够节省用户时间,从而提高用户体验。
作为一个可选实施例,该方法还包括:若该第一终端设备先接收到该第一编码速率,则该第一终端设备在接收到该第一上行编码速率调整请求消息时将该第一编码速率与该第一终端设备当前使用的上行编码速率进行比较;若该第一编码速率大于该第一终端设备当前使用的上行编码速率,则该第一终端设备开启定时器,并在该定时器超时之前等待该第二上行编码速率调整请求消息;
该第一终端设备根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整,包括:若在该定时器超时之前,该第一终端设备接收到该第二编码速率,则该第一终端设备根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整。
作为一个可选实施例,该第一终端设备根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整,还包括:若在该定时器超时之前,该第一终端设备未接收到该第二编码速率,则该第一终端设备拒绝进行编码速率的升速调整。
作为一个可选实施例,该方法还包括:若该第一终端设备先接收到该第二编码速率,则该第一终端设备在接收到该第二编码速率时将该第二编码速率与该第一终端设备当前使用的上行编码速率进行比较;若该第二编码速率大于该第一终端设备当前使用的上行编码速率,则该第一终端设备开启定时器,并在该定时器超时之前等待该第一编码速率;
该第一终端设备根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整,包括:若在该定时器超时之前,该第一终端设备接收到该第一编码速率,则该第一终端设备根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整。
作为一个可选实施例,该第一终端设备根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整,还包括:若在该定时器超时之前,该第一终端设备未接收到该第一编码速率,则该第一终端设备拒绝进行编码速率的升速调整。
具体地,在该实施例中,该第一终端设备可以不主动去请求所需要的编码速率,只在接收到第一编码速率和第二编码速率其中任一个时,开启定时器,等待接收另一个编码速率。若在定时器超时之前,该第一终端设备接收到了另一个编码速率,则根据收到的两个编码速率,判决是否需要进行编码速率升速的调整;若在定时器超时之前,该第一终端设备未接收到另一个编码速率,则丢弃前者,不对编码速率进行升速调整。
作为一个可选实施例,在该第一终端设备根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整之后,该方法还包括:该第一终端设备进行编码速率的升速调整;或该第一终端设备向该第二终端设备发送响应消息,该响应消息携带该第一终端设备允许的参考编码速率。
作为一个可选实施例,该第一编码速率携带在为无线资源控制RRC消息或媒体接入控制的控制单元MAC CE消息中。
作为一个可选实施例,该第二编码速率携带在实施控制协议RTCP消息或携带编码模式请求的实时传输协议RTP CMR消息中。
具体地,上述终端设备和网络设备之间交互的信令可以是无线资源控制(Radio Resource Control,简称为“RRC”)消息,也可以是层2的控制消息。具体地,在LTE***中,层2指的是媒体访问控制(Media Access Control,简称为“MAC”)层、无线链路控制(Radio Link Control,简称为“RLC”)层和分组数据汇聚协议(Packet Data Convergence Protocol,简称为“PDCP”)层,因此,对应的控制消息可以是媒体接入控制的控制单元(Media Access Control-Control Unit,简称为“MAC CE”)消息,RLC控制的协议数据单元(Protocol Data Unit,简称为“PDU”)或PDCP控制的PDU等等,本发明实施例对此不作限定。
此外,上述第一终端设备和第二终端设备之间可以通过应用层消息进行通信,该应用层消息可以是实施控制协议(Real Time Control Protocol,简称为“RTCP”)消息,也可以是携带编码模式请求的实时传输协议(Real-time Transport Protocol-Codec Mode Request,简称为“RTP CMR”)消息。除了上述消息之外,也可以是其他能够携带编码速率的消息,本发明实施例对此不作限定。
本发明实施例的用于调整编码速率的方法,综合考虑了本端和对端两侧链路的网络状态,通过接收与本端链路状态对应的第一编码速率和与对端链路状态对应的第二编码速率,以供第一终端设备进行编码速率升速调整的参考,这样能够避免编码速率被频繁升降的问题,从而节省信令开销,提高用户体验。
下面结合图6至图11对本发明具体实施例的流程进行详细地描述。在图6至图11中,第一终端设备为发送端,第二终端设备为接收端,第一终端设备属于第一网络设备的覆盖范围内,第二终端设备属于第二网络设备的覆盖范围内。
图6示出了根据本发明实施例提供的另一用于调整编码速率的方法600的示意性流程图。
在S601中,第一网络设备根据当前的网络状态,确定调整第一终端设 备上行链路的编码速率,具体地,该第一网络设备希望将第一终端设备上行链路当前使用的编码速率升速调整到第一编码速率。
在S602中,该第一网络设备向该第一终端设备发送第一请求消息,该第一请求消息中携带该第一编码速率,以便于该第一终端设备进行上行链路编码速率升速调整的参考;
其中,该第一请求消息可以是无线资源控制RRC消息,也可以是层2的控制消息。具体地,在LTE***中,层2指的是媒体访问控制(Media Access Control,简称为“MAC”)层、无线链路控制(Radio Link Control,简称为“RLC”)层和分组数据汇聚协议(Packet Data Convergence Protocol,简称为“PDCP”)层,因此,对应的控制消息可以是MAC CE消息,RLC控制的协议数据单元(Protocol Data Unit,简称为“PDU”)或PDCP控制的PDU等等,本发明实施例对此不作限定。
在S603中,该第一终端设备接收该第一请求消息,并根据该第一请求消息中携带的该第一编码速率,获知第一网络设备请求上行链路的编码速率的升速调整,于是立即触发向通信对端的第二终端设备发送第二请求消息,该第二请求消息中携带该第一编码速率,以便第一终端设备与第二终端设备进行编码速率升速调整的协商;其中,该第二请求消息是终端设备应用层的消息。
在S604中,该第二终端设备接收第一终端设备发送的该第二请求消息,获知第一终端请求编码速率的升速调整,于是向自身所属的第二网络设备发送咨询消息,该咨询消息中携带该第一编码速率;其中,该咨询消息可以是RRC消息,也可以是层2的控制消息,例如MAC CE等。
在S605中,该第二网络设备接收该咨询消息,并根据当前的网络状态,确定该第一编码速率是否允许接受,即确定允许调整的参考编码速率,该参考编码速率为该第二网络设备允许的编码速率。如果第二网络设备允许接受该第一编码速率,则该第一编码速率确定为该参考编码速率;如果第二网络设备无法接受该第一编码速率,则该第二网络设备确定其允许接受的第二编码速率,将该第二编码速率确定为该参考编码速率。
在S606中,该第二网络设备向该第二终端设备发送第三请求消息,该第三请求消息中携带该参考编码速率;其中,该第三请求消息可以是RRC消息,也可以是层2的控制消息,例如MAC CE等。
在S607中,该第二终端设备接收该第三请求消息后,通过应用层消息向该第一终端设备发送携带该参考编码速率的第四请求消息。
在S608中,该第一终端设备接收第二终端设备发送的该第四请求消息后,综合考虑该第四请求消息中携带的该参考编码速率以及该第一网络设备发送的第一编码速率,判断是否需要进行编码速率的升速调整。
在S609中,该第一终端设备向该第一网络设备发送调整响应消息,该调整响应消息中携带该第一终端设备调整后的编码速率。其中,该调整响应消息可以是RRC消息,也可以是层2的控制消息,例如MAC CE等。
应理解,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
本发明实施例中用于调整编码速率的方法,综合考虑了本端和对端两侧链路的网络状态,根据本端和对端链路允许的编码速率,判断是否需要进行编码速率的升速调整,能够避免编码速率被频繁升降的问题,从而节省信令开销,提高用户体验。
图7示出了根据本发明实施例提供的另一用于调整编码速率的方法700的示意性流程图。
在S701中,第一终端设备保存在上一次通信过程中从第二终端设备发送的应用层消息中携带的速率信息,并将该速率信息作为第二编码速率。
在S702中,第一网络设备根据当前网络状态,确定调整第一终端设备上行链路的编码速率,具体地,该第一网络设备希望将第一终端设备上行链路当前使用的编码速率升速调整到第一编码速率。
在S703中,该第一网络设备向该第一终端设备发送第一请求消息,该第一请求消息中携带该第一编码速率,以便于该第一终端设备进行编码速率升速调整的参考;其中,该第一请求消息可以是RRC消息,也可以是层2的控制消息,例如MAC CE等。
在S704中,该第一终端设备接收该第一请求消息,并根据将该第一请求消息中携带的该第一编码速率,获知该第一网络设备请求编码速率的升速调整,于是该第一终端设备将收到的该第一编码速率与保存的第二编码速率进行比较,判断是否允许进行编码速率的升速调整。
在S705中,该第一终端设备进行编码速率的升速调整。
在S706中,该第一终端设备向该第一网络设备发送调整响应消息,该调整响应消息中携带该第一终端设备调整后的编码速率。其中,该调整响应消息可以是RRC消息,也可以是层2的控制消息,例如MAC CE等。
应理解,若该第一编码速率小于或等于该第二编码速率,则执行S705和S706,若该第一编码速率大于该第二编码速率,则该第一终端设备拒绝并丢弃该第一请求消息,不做任何处理。
还应理解,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
本发明实施例的用于调整编码速率的方法,综合考虑了本端和对端两侧链路的网络状态,根据本端和对端链路允许的编码速率,判断是否需要进行编码速率升速的调整,能够避免编码速率被频繁升降的问题,从而节省信令开销,提高用户体验。
图8示出了根据本发明实施例提供的另一用于调整编码速率的方法800的示意性流程图。
在S801中,第一网络设备根据当前的网络状态,确定调整第一终端设备上行链路的编码速率,具体地,该第一网络设备希望将第一终端设备当前使用的上行链路的编码速率升速调整到第一编码速率。
在S802中,该第一网络设备向第一终端设备发送第一请求消息,该第一请求消息中携带该第一编码速率,以便于该第一终端设备进行编码速率升速调整的参考;其中,该第一请求消息可以是RRC消息,也可以是层2的控制消息,例如MAC CE等。
在S803中,该第一终端设备接收该第一请求消息,并根据该第一请求消息中携带的第一编码速率,获知第一网络设备请求编码速率升速的调整,于是该第一终端设备开启一个定时器,在该定时器超时之前,等待通信对端第二终端设备发送的速率调整请求。
在S804中,该第二网络设备根据当前的网络状态,确定调整第二终端设备下行链路的编码速率,具体地,该第二网络设备确定将第二终端设备下行链路当前使用的编码速率升速调整到第二编码速率。
在S805中,该第二网络设备向该第二终端设备发送第二请求消息,该第二请求消息中携带该第二编码速率;其中,该第二请求消息可以是RRC 消息,也可以是层2的控制消息,例如MAC CE等。
在S806中,该第二终端设备接收该第二请求消息后,根据该第二请求消息中携带的第二编码速率,获知该第二网络设备请求下行链路的编码速率的调整,于是该第二终端设备通过应用层消息向该第一终端设备发送携带该第二编码速率的第三请求消息。
在S807中,该第一终端设备接收该第三请求消息,综合考虑该第一编码速率与该第二编码速率,判断是否需要进行编码速率的升速调整。
在S808中,该第一终端设备向该第一网络设备发送调整响应消息,该调整响应消息中携带该第一终端设备调整后的编码速率。其中,该调整响应消息可以是RRC消息,也可以是层2的控制消息,例如MAC CE等。
应理解,若在定时器超时之前,该第一终端设备收到通信对端第二终端设备发送的应用层消息,即上述第三请求消息,则执行步骤S807和S808;若在定时器超时之前,该第一终端设备并未收到通信对端第二终端设备发送的应用层消息,则该第一终端设备拒绝并丢弃该第一请求消息,不做任何处理。
还应理解,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
本发明实施例的用于调整编码速率的方法,综合考虑了本端和对端两侧链路的网络状态,根据本端和对端链路允许的编码速率,判断是否需要进行编码速率的升速调整,能够避免编码速率被频繁升降的问题,从而节省信令开销,提高用户体验。
图9示出了根据本发明实施例提供的另一用于调整编码速率的方法900的示意性流程图。
在S901中,第二网络设备根据当前的网络状态,确定调整第二终端设备下行链路的编码速率,具体地,该第二网络设备希望将第二终端设备下行链路当前使用的编码速率升速调整到第二编码速率。
在S902中,该第二网络设备向第二终端设备发送第一请求消息,该第一请求消息中携带该第二编码速率;其中,该第一请求消息可以是RRC消息,也可以是层2的控制消息,例如MAC CE等。
在S903中,该第二终端设备接收该第一请求消息,并根据该第一请求 消息中携带的第二编码速率,获知该第二网络设备请求下行链路的编码速率升速调整,于是该第二终端设备通过应用层消息向通信对端第一终端设备发送携带该第二编码速率的第二请求消息。
在S904中,该第一终端设备接收通信对端第二终端设备发送的该第二请求消息,根据该第二请求消息中携带的第二编码速率,获知第二终端设备请求编码速率升速的调整,于是向自身所属的第一网络设备发送咨询消息,该咨询消息中携带该第二编码速率;其中,该咨询消息可以是RRC消息,也可以是层2的控制消息,例如MAC CE等。
在S905中,该第一网络设备接收该咨询消息,并根据当前的网络状态,确定该第二编码速率是否允许接受。如果第一网络设备允许接受该第二编码速率,则将该第二编码速率确定为允许调整的参考编码速率;如果第一网络设备无法接受该第二编码速率,则该第一网络设备提供其允许接受的第一编码速率,将该第一编码速率确定为允许调整的参考编码速率。
在S906中,该第一网络设备向该第一终端设备发送第三请求消息,该第三请求消息中携带该参考编码速率;其中,该第三请求消息可以是RRC消息,也可以是层2的控制消息,例如MAC CE等。
在S907中,该第一终端设备接收该第三请求消息,并综合考虑该第三请求消息中携带的该参考编码速率以及该第二终端设备发送的第二编码速率,判断是否需要进行编码速率的升速调整;
在S908中,该第一终端设备向该第一网络设备发送调整响应消息,该调整响应消息中携带该第一终端设备调整后的编码速率。其中,该调整响应消息可以是RRC消息,也可以是层2的控制消息,例如MAC CE等。
应理解,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
本发明实施例的用于调整编码速率的方法,综合考虑了本端和对端两侧链路的网络状态,根据本端和对端链路允许的编码速率,判断是否需要进行编码速率的升速调整,能够避免编码速率被频繁升降的问题,从而节省信令开销,提高用户体验。
图10示出了根据本发明实施例提供的另一用于调整编码速率的方法1000的示意性流程图。
在S1001中,第一网络设备可以通过广播或者单播方式,向第一终端设备发送最大编码速率,该最大编码速率为该第一网络设备的网络状态允许接受的上行链路编码速率的最大值。
在S1002中,第二网络设备根据当前的网络状态,确定调整第二终端设备下行链路的编码速率,具体地,该第二网络设备希望将第二终端设备下行链路当前使用的编码速率升速调整到第二编码速率。
在S1003中,该第二网络设备向该第二终端设备发送第一请求消息,该第一请求消息中携带该第二编码速率;其中,该第一请求消息可以是RRC消息,也可以是层2的控制消息,例如MAC CE等。
在S1004中,该第二终端设备接收该第一请求消息,并根据该第一请求消息中携带的第二编码速率,获知第二网络设备请求下行链路的编码速率升速调整,于是该第二终端设备通过应用层消息向通信对端第一终端设备发送携带该第二编码速率的第二请求消息。
在S1005中,该第一终端设备接收通信对端第二终端设备发送的该第二请求消息后,根据该第二请求消息中携带的第二编码速率,获知第二终端设备请求编码速率升速的调整,于是将该第二编码速率与第一网络设备发送的该最大编码速率进行比较,判断是否允许进行编码速率的升速调整。
在S1006中,该第一终端设备进行编码速率的升速调整。
在S1007中,该第一终端设备向该第一网络设备发送调整响应消息,该调整响应消息中携带该第一终端设备调整后的编码速率。其中,该调整响应消息可以是RRC消息,也可以是层2的控制消息,例如MAC CE等。
应理解,若该第二编码速率小于或等于该最大编码速率,则执行S1006和S1007,若该第二编码速率大于该最大编码速率,则该第一终端设备拒绝丢弃该第一请求消息,不做任何处理。
还应理解,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
本发明实施例的用于调整编码速率的方法,综合考虑了本端和对端两侧链路的网络状态,根据本端和对端链路允许的编码速率,判断是否需要进行编码速率升速的调整,能够避免编码速率被频繁升降的问题,从而节省信令开销,提高用户体验。
图11示出了根据本发明实施例提供的另一用于调整编码速率的方法1100的示意性流程图。
在S1101中,第二网络设备根据当前的网络状态,确定调整第二终端设备下行链路的编码速率,具体地,该第二网络设备希望将第二终端设备下行链路当前使用的编码速率升速调整到第二编码速率。
在S1102中,该第二网络设备向该第二终端设备发送第一请求消息,该第一请求消息中携带该第二编码速率;其中,该第一请求消息可以是RRC消息,也可以是层2的控制消息,例如MAC CE等。
在S1103中,该第二终端设备接收该第一请求消息,并根据将该第一请求消息中携带的第二编码速率,获知第二网络设备请求下行链路的编码速率升速调整,于是该第二终端设备通过应用层消息向通信对端第一终端设备发送携带该第二编码速率的第三请求消息。
在S1104中,该第一终端设备接收通信对端第二终端设备发送的该第三请求消息后,根据该第三请求消息中携带的第二编码速率,获知第二终端设备请求编码速率升速的调整,于是开启一个定时器,并在该定时器超时之前等待第一网络设备发送的调速请求。
在S1105中,第一网络设备根据当前的网络状态,确定调整第一终端设备上行链路的编码速率,具体地,该第一网络设备希望将第一终端设备上行链路当前使用的编码速率升速调整到第一编码速率。
在S1106中,该第一网络设备向第一终端设备发送第三请求消息,该第三请求消息携带该第一编码速率;其中,该第三请求消息可以是RRC消息,也可以是层2的控制消息,例如MAC CE等。
在S1107中,该第一终端设备接收该第三请求消息,综合考虑该第一编码速率与该第二编码速率,判断是否需要进行编码速率的升速调整。
在S1108中,该第一终端设备向该第一网络设备发送调整响应消息,该调整响应消息中携带该第一终端设备调整后的编码速率;其中,该调整响应消息可以是RRC消息,也可以是层2的控制消息,例如MAC CE等。
应理解,若在定时器超时之前,该第一终端设备收到所属的第一网络设备发送的该第三请求消息,则执行步骤S1107和S1108;若在定时器超时之前,该第一终端设备并未收到该第三请求消息,则该第一终端设备拒绝并丢弃第二终端设备发送的第二请求消息,不做任何处理。
还应理解,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
本发明实施例的用于调整编码速率的方法,综合考虑了本端和对端两侧链路的网络状态,根据本端和对端链路允许的编码速率,判断是否需要进行编码速率升速的调整,能够避免编码速率被频繁升降的问题,从而节省信令开销,提高用户体验。
上文中结合图1至图11,详细描述了根据本发明实施例的用于调整编码速率的方法,下面将结合图12至图19,详细描述根据本发明实施例的用于调整编码速率的装置。
图12示出了本发明实施例提供的用于调整编码速率的装置1200,该装置1200包括:
接收单元1201,用于接收第二终端设备发送的第一上行编码速率调整请求消息,该第一上行编码速率调整请求消息用于触发该装置进行上行编码速率的调整,该第一上行编码速率调整请求消息携带第一编码速率,该第二终端设备为与该装置进行通信的对端设备;
发送单元1202,用于在确定该第一编码速率大于该装置当前使用的上行编码速率时,向第一网络设备发送咨询消息,该咨询消息用于触发与该第一网络设备进行编码速率调整的协商,该咨询消息携带该第一编码速率,该装置在该第一网络设备的覆盖范围内。
可选地,该接收单元还用于:
在该向第一网络设备发送咨询消息之后,接收该第一网络设备发送的响应消息,该响应消息携带该第一网络设备允许调整的参考编码速率;
该装置还包括:判断单元,用于根据该响应消息,判断是否需要进行编码速率的升速调整。
可选地,该第一上行编码速率调整请求消息为实施控制协议RTCP消息或携带编码模式请求的实时传输协议RTP CMR消息。
可选地,该咨询消息为无线资源控制RRC消息或媒体接入控制的控制单元MAC CE消息。
应理解,这里的装置1200以功能单元的形式体现。这里的术语“单元”可以指应用特有集成电路(Application Specific Integrated Circuit,ASIC)、 电子电路、用于执行一个或多个软件或固件程序的处理器(例如共享处理器、专有处理器或组处理器等)和存储器、合并逻辑电路和/或其它支持所描述的功能的合适组件。在一个可选例子中,本领域技术人员可以理解,装置1200可以具体为上述实施例中的第一终端设备,装置1200可以用于执行上述方法实施例中与该第一终端设备对应的各个流程和/或步骤,为避免重复,在此不再赘述。
图13示出了本发明实施例提供的用于调整编码速率的装置1300,该装置1300包括:
接收单元1301,用于接收第一终端设备发送的咨询消息,该咨询消息携带与该第一终端设备通信的第二终端设备所请求的第一编码速率,该第一编码速率大于该第一终端设备当前使用的上行编码速率,其中,该第一终端设备在该装置的覆盖范围内,该第二终端设备为与该第一终端设备进行通信的对端设备;
确定单元1302,用于根据当前网络状态和该第一编码速率,确定允许调整的参考编码速率。
可选地,该确定单元具体用于:
若根据该当前网络状态,确定接受该第一编码速率,则将该第一编码速率确定为该参考编码速率;
若根据该当前网络状态,确定不接受该第一编码速率,则将允许的最大编码速率确定为该参考编码速率。
可选地,该装置还包括:
发送单元,在根据当前网络状态和该第一编码速率,确定允许调整的参考编码速率之后,向该第一终端设备发送响应消息,该响应消息携带该参考编码速率。
可选地,该咨询消息为无线资源控制RRC消息或媒体接入控制的控制单元MAC CE消息。
应理解,这里的装置1300以功能单元的形式体现。这里的术语“单元”可以指应用特有集成电路(Application Specific Integrated Circuit,ASIC)、电子电路、用于执行一个或多个软件或固件程序的处理器(例如共享处理器、专有处理器或组处理器等)和存储器、合并逻辑电路和/或其它支持所描述的功能的合适组件。在一个可选例子中,本领域技术人员可以理解,装置1300 可以具体为上述实施例中的第一网络设备,装置1300可以用于执行上述方法实施例中与该第一网络设备对应的各个流程和/或步骤,为避免重复,在此不再赘述。
图14示出了本发明实施例提供的用于调整编码速率的装置1400,该装置1400包括:
接收单元1401,用于接收第一网络设备根据当前网络状态发送的第一上行编码速率调整请求消息,该第一上行编码速率调整请求消息用于触发该装置进行上行编码速率的调整,该第一编码速率调整请求消息携带第一编码速率,该装置在该第一网络设备的覆盖范围内;
发送单元1402,用于在确定该第一编码速率大于该装置当前使用的上行编码速率时,向该第二终端设备发送咨询消息,该咨询消息用于触发与该第二终端设备进行上行编码速率调整的协商,该咨询消息携带该第一编码速率,该第二终端设备为与该装置进行通信的对端设备。
可选地,该接收单元还用于:
在该向该第二终端设备发送咨询消息之后,接收该第二终端设备发送的响应消息,该响应消息携带该第二终端设备允许调整的参考编码速率;
该装置还包括:判断单元,用于根据该响应消息,判断是否需要进行编码速率的升速调整。
可选地,该第一上行编码速率调整请求消息为无线资源控制RRC消息或媒体接入控制的控制单元MAC CE消息。
可选地,该咨询消息为实施控制协议RTCP消息或携带编码模式请求的实时传输协议RTP CMR消息。
应理解,这里的装置1400以功能单元的形式体现。这里的术语“单元”可以指应用特有集成电路(Application Specific Integrated Circuit,ASIC)、电子电路、用于执行一个或多个软件或固件程序的处理器(例如共享处理器、专有处理器或组处理器等)和存储器、合并逻辑电路和/或其它支持所描述的功能的合适组件。在一个可选例子中,本领域技术人员可以理解,装置1400可以具体为上述实施例中的第一终端设备,装置1400可以用于执行上述方法实施例中与该第一终端设备对应的各个流程和/或步骤,为避免重复,在此不再赘述。
图15示出了本发明实施例提供的用于调整编码速率的装置1500,该装 置1500包括:
第一接收单元1501,用于接收第一网络设备发送的第一编码速率,其中,该装置在该第一网络设备的覆盖范围内;
第二接收单元1502,用于接收第二终端设备发送的第二编码速率,该第二终端设备为与该装置进行通信的对端设备;
判断单元1503,用于根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整。
可选地,该第一接收单元具体用于:
接收该第一网络设备通过无线资源控制RRC消息或广播消息发送的该第一编码速率,该第一编码速率为该第一网络设备根据网络负载情况确定的该第一网络设备能够接受的编码速率的最大值;
该判断单元具体用于:
在该接收第二终端设备发送的第二编码速率之后,若确定该第二编码速率大于该装置当前使用的上行编码速率,则将该第二编码速率与该第一编码速率进行比较;若该第二编码速率小于或者等于该第一编码速率,则确定进行编码速率的升速调整。
可选地,该判断单元具体还用于:
若该第二编码速率大于该第一编码速率,则拒绝进行编码速率的升速调整。
可选地,该第二接收单元具体用于:
在上一次通信时接收该第二终端设备发送的上行编码速率调整请求消息,该上行编码速率调整请求消息携带该第二编码速率;保存该第二编码速率;
该判断单元具体用于:
在该接收第一网络设备发送的第一编码速率之后,若确定该第一编码速率大于该装置当前使用的上行编码速率,则将该第一编码速率与该第二编码速率进行比较;若该第一编码速率小于或者等于该第二编码速率,则确定进行编码速率的升速调整。
可选地,该判断单元具体还用于:
若该第一编码速率大于该第二编码速率,则拒绝进行编码速率的升速调整。
可选地,该装置还包括:
控制单元,用于在先接收到该第一编码速率时,将该第一编码速率与该装置当前使用的上行编码速率进行比较;若该第一编码速率大于该装置当前使用的上行编码速率,则开启定时器,并在该定时器超时之前等待该第二上行编码速率调整请求消息;
该判断单元具体用于:
若在该定时器超时之前接收到该第二编码速率,则根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整。
可选地,该判断单元具体用于:
若在该定时器超时之前未接收到该第二编码速率,则拒绝进行编码速率的升速调整。
可选地,该控制单元还用于:
在先接收到该第二编码速率时,将该第二编码速率与该装置当前使用的上行编码速率进行比较;若该第二编码速率大于该装置当前使用的上行编码速率,则开启定时器,并在该定时器超时之前等待该第一编码速率;
该判断单元具体用于:
若在该定时器超时之前接收到该第一编码速率,则根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整。
可选地,该判断单元具体用于:
若在该定时器超时之前未接收到该第一编码速率,则拒绝进行编码速率的升速调整。
可选地,该装置还包括:
调整单元,用于在该根据该第一编码速率和该第二编码速率,确定需要进行编码速率的升速调整之后,进行编码速率的升速调整;或
发送单元,用于向该第二终端设备发送响应消息,该响应消息携带该装置允许的参考编码速率。
可选地,该第一编码速率携带在为无线资源控制RRC消息或媒体接入控制的控制单元MAC CE消息中。
可选地,该第二编码速率携带在实施控制协议RTCP消息或携带编码模式请求的实时传输协议RTP CMR消息中。
应理解,这里的装置1500以功能单元的形式体现。这里的术语“单元” 可以指应用特有集成电路(Application Specific Integrated Circuit,ASIC)、电子电路、用于执行一个或多个软件或固件程序的处理器(例如共享处理器、专有处理器或组处理器等)和存储器、合并逻辑电路和/或其它支持所描述的功能的合适组件。在一个可选例子中,本领域技术人员可以理解,装置1500可以具体为上述实施例中的第一终端设备,装置1500可以用于执行上述方法实施例中与该第一终端设备对应的各个流程和/或步骤,为避免重复,在此不再赘述。
图16示出了本发明实施例提供的用于调整编码速率的装置1600。该装置1600包括接收器1610、处理器1620、发送器1630、存储器1640和总线***1650。其中,接收器1610、处理器1620、发送器1630和存储器1640通过总线***1650相连,该存储器1640用于存储指令,该处理器1620用于执行该存储器1640存储的指令,以控制该接收器1610接收信号,并控制该发送器1630发送指令。
其中,该接收器1610用于接收第二终端设备发送的第一上行编码速率调整请求消息,该第一上行编码速率调整请求消息用于触发该装置进行上行编码速率的调整,该第一上行编码速率调整请求消息携带第一编码速率,该第二终端设备为与该装置进行通信的对端设备;
该发送器1630用于在确定该第一编码速率大于该装置当前使用的上行编码速率时,向第一网络设备发送咨询消息,该咨询消息用于触发与该第一网络设备进行编码速率调整的协商,该咨询消息携带该第一编码速率,该装置在该第一网络设备的覆盖范围内。
可选地,该接收器1610还用于:
在该向第一网络设备发送咨询消息之后,接收该第一网络设备发送的响应消息,该响应消息携带该第一网络设备允许调整的参考编码速率;
该处理器1620用于根据该响应消息,进行编码速率的升速调整。
可选地,该第一上行编码速率调整请求消息为实施控制协议RTCP消息或携带编码模式请求的实时传输协议RTP CMR消息。
可选地,该咨询消息为无线资源控制RRC消息或媒体接入控制的控制单元MAC CE消息。
应理解,装置1600可以具体为上述实施例中的第一终端设备,并且可以用于执行上述方法实施例中与第一终端设备对应的各个步骤和/或流程。可 选地,该存储器1640可以包括只读存储器和随机存取存储器,并向处理器提供指令和数据。存储器的一部分还可以包括非易失性随机存取存储器。例如,存储器还可以存储设备类型的信息。该处理器1620可以用于执行存储器中存储的指令,并且该处理器执行该指令时,该处理器可以执行上述方法实施例中与第一终端设备对应的各个步骤和/或流程。
图17示出了本发明实施例提供的用于调整编码速率的装置1700。该装置1700包括接收器1710、处理器1720、发送器1730、存储器1740和总线***1750。其中,接收器1710、处理器1720、发送器1730和存储器1740通过总线***1750相连,该存储器1740用于存储指令,该处理器1720用于执行该存储器1740存储的指令,以控制该接收器1710接收信号,并控制该发送器1730发送指令。
其中,该接收器1710用于接收第一终端设备发送的咨询消息,该咨询消息携带与该第一终端设备通信的第二终端设备所请求的第一编码速率,该第一编码速率大于该第一终端设备当前使用的上行编码速率,其中,该第一终端设备在该装置的覆盖范围内,该第二终端设备为与该第一终端设备进行通信的对端设备;
该处理器1720用于根据当前网络状态和该第一编码速率,确定允许调整的参考编码速率。
可选地,该处理器1720具体用于:
若根据该当前网络状态,确定接受该第一编码速率,则将该第一编码速率确定为该参考编码速率;
若根据该当前网络状态,确定不接受该第一编码速率,则将允许的最大编码速率确定为该参考编码速率。
可选地,该发送器1730用于在根据当前网络状态和该第一编码速率,确定允许调整的参考编码速率之后,向该第一终端设备发送响应消息,该响应消息携带该参考编码速率。
可选地,该咨询消息为无线资源控制RRC消息或媒体接入控制的控制单元MAC CE消息。
应理解,装置1700可以具体为上述实施例中的第一网络设备,并且可以用于执行上述方法实施例中与第一网络设备对应的各个步骤和/或流程。可选地,该存储器1740可以包括只读存储器和随机存取存储器,并向处理器 提供指令和数据。存储器的一部分还可以包括非易失性随机存取存储器。例如,存储器还可以存储设备类型的信息。该处理器1720可以用于执行存储器中存储的指令,并且该处理器执行该指令时,该处理器可以执行上述方法实施例中与第一网络设备对应的各个步骤和/或流程。
图18示出了本发明实施例提供的用于调整编码速率的装置1800。该装置1800包括接收器1810、处理器1820、发送器1830、存储器1840和总线***1850。其中,接收器1810、处理器1820、发送器1830和存储器1840通过总线***1850相连,该存储器1840用于存储指令,该处理器1820用于执行该存储器1840存储的指令,以控制该接收器1810接收信号,并控制该发送器1830发送指令。
其中,该接收器1810用于接收第一网络设备根据当前网络状态发送的第一上行编码速率调整请求消息,该第一上行编码速率调整请求消息用于触发该装置进行上行编码速率的调整,该第一编码速率调整请求消息携带第一编码速率,该装置在该第一网络设备的覆盖范围内;
该发送器1830用于在确定该第一编码速率大于该装置当前使用的上行编码速率时,向该第二终端设备发送咨询消息,该咨询消息用于触发与该第二终端设备进行上行编码速率调整的协商,该咨询消息携带该第一编码速率,该第二终端设备为与该装置进行通信的对端设备。
可选地,该接收器1810还用于:在该向该第二终端设备发送咨询消息之后,接收该第二终端设备发送的响应消息,该响应消息携带该第二终端设备允许调整的参考编码速率;
该处理器1820用于根据该响应消息,进行编码速率的升速调整。
可选地,该第一上行编码速率调整请求消息为无线资源控制RRC消息或媒体接入控制的控制单元MAC CE消息。
可选地,该咨询消息为实施控制协议RTCP消息或携带编码模式请求的实时传输协议RTP CMR消息。
应理解,装置1800可以具体为上述实施例中的第一终端设备,并且可以用于执行上述方法实施例中与第一终端设备对应的各个步骤和/或流程。可选地,该存储器1840可以包括只读存储器和随机存取存储器,并向处理器提供指令和数据。存储器的一部分还可以包括非易失性随机存取存储器。例如,存储器还可以存储设备类型的信息。该处理器1820可以用于执行存储 器中存储的指令,并且该处理器执行该指令时,该处理器可以执行上述方法实施例中与第一终端设备对应的各个步骤和/或流程。
图19示出了本发明实施例提供的用于调整编码速率的装置1900。该装置1900包括接收器1910、处理器1920、发送器1930、存储器1940和总线***1950。其中,接收器1910、处理器1920、发送器1930和存储器1940通过总线***1950相连,该存储器1940用于存储指令,该处理器1920用于执行该存储器1940存储的指令,以控制该接收器1910接收信号,并控制该发送器1930发送指令。
其中,该接收器1910用于接收第一网络设备发送的第一编码速率,其中,该装置在该第一网络设备的覆盖范围内;
该接收器1910还用于接收第二终端设备发送的第二编码速率,该第二终端设备为与该装置进行通信的对端设备;
该处理器1920用于根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整。
可选地,该接收器1910具体用于:接收该第一网络设备通过无线资源控制RRC消息或广播消息发送的该第一编码速率,该第一编码速率为该第一网络设备根据网络负载情况确定的该第一网络设备能够接受的编码速率的最大值;
该处理器1920具体用于:在该接收第二终端设备发送的第二编码速率之后,若确定该第二编码速率大于该装置当前使用的上行编码速率,则将该第二编码速率与该第一编码速率进行比较;若该第二编码速率小于或者等于该第一编码速率,则确定进行编码速率的升速调整。
可选地,该处理器1920具体还用于:若该第二编码速率大于该第一编码速率,则拒绝进行编码速率的升速调整。
可选地,该接收器1910具体用于:在上一次通信时接收该第二终端设备发送的上行编码速率调整请求消息,该上行编码速率调整请求消息携带该第二编码速率;保存该第二编码速率;
该处理器1920具体用于:在该接收第一网络设备发送的第一编码速率之后,若确定该第一编码速率大于该装置当前使用的上行编码速率,则将该第一编码速率与该第二编码速率进行比较;若该第一编码速率小于或者等于该第二编码速率,则确定进行编码速率的升速调整。
可选地,该处理器1920具体还用于:若该第一编码速率大于该第二编码速率,则拒绝进行编码速率的升速调整。
可选地,该处理器1920具体用于:在先接收到该第一编码速率时,将该第一编码速率与该装置当前使用的上行编码速率进行比较;若该第一编码速率大于该装置当前使用的上行编码速率,则开启定时器,并在该定时器超时之前等待该第二上行编码速率调整请求消息;
该处理器1920具体还用于:若在该定时器超时之前接收到该第二编码速率,则根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整。
可选地,该处理器1920具体用于:若在该定时器超时之前未接收到该第二编码速率,则拒绝进行编码速率的升速调整。
可选地,该处理器1920具体用于:在先接收到该第二编码速率时,将该第二编码速率与该装置当前使用的上行编码速率进行比较;若该第二编码速率大于该装置当前使用的上行编码速率,则开启定时器,并在该定时器超时之前等待该第一编码速率;
该处理器1920具体还用于:若在该定时器超时之前接收到该第一编码速率,则根据该第一编码速率和该第二编码速率,判断是否需要进行编码速率的升速调整。
可选地,该处理器1920具体用于:若在该定时器超时之前未接收到该第一编码速率,则拒绝进行编码速率的升速调整。
可选地,该处理器1920具体还用于在该根据该第一编码速率和该第二编码速率,确定需要进行编码速率的升速调整之后,进行编码速率的升速调整;或
该发送器1930用于向该第二终端设备发送响应消息,该响应消息携带该装置允许的参考编码速率。
可选地,该第一编码速率携带在为无线资源控制RRC消息或媒体接入控制的控制单元MAC CE消息中。
可选地,该第二编码速率携带在实施控制协议RTCP消息或携带编码模式请求的实时传输协议RTP CMR消息中。
应理解,装置1900可以具体为上述实施例中的第一终端设备,并且可以用于执行上述方法实施例中与第一终端设备对应的各个步骤和/或流程。可 选地,该存储器1940可以包括只读存储器和随机存取存储器,并向处理器提供指令和数据。存储器的一部分还可以包括非易失性随机存取存储器。例如,存储器还可以存储设备类型的信息。该处理器1920可以用于执行存储器中存储的指令,并且该处理器执行该指令时,该处理器可以执行上述方法实施例中与第一终端设备对应的各个步骤和/或流程。
应理解,在本发明实施例中,该处理器可以是中央处理单元(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。结合本发明实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器执行存储器中的指令,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。
本领域普通技术人员可以意识到,结合本文中所公开的实施例中描述的各方法步骤和单元,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各实施例的步骤及组成。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。本领域普通技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的***、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的***、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个 ***,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或通信连接,也可以是电的,机械的或其它的形式连接。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,简称为“ROM”)、随机存取存储器(Random Access Memory,简称为“RAM”)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。

Claims (48)

  1. 一种用于调整编码速率的方法,其特征在于,包括:
    第一终端设备接收第二终端设备发送的第一上行编码速率调整请求消息,所述第一上行编码速率调整请求消息用于触发所述第一终端设备进行上行编码速率的调整,所述第一上行编码速率调整请求消息携带第一编码速率,所述第二终端设备为与所述第一终端设备进行通信的对端设备;
    在所述第一终端设备确定所述第一编码速率大于所述第一终端设备当前使用的上行编码速率时,所述第一终端设备向第一网络设备发送咨询消息,所述咨询消息用于触发与所述第一网络设备进行编码速率调整的协商,所述咨询消息携带所述第一编码速率,所述第一终端设备在所述第一网络设备的覆盖范围内。
  2. 根据权利要求1所述的方法,其特征在于,在所述第一终端设备向第一网络设备发送咨询消息之后,所述方法还包括:
    所述第一终端设备接收所述第一网络设备发送的响应消息,所述响应消息携带所述第一网络设备允许调整的参考编码速率;
    所述第一网络设备根据所述响应消息,判断是否需要进行编码速率的升速调整。
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一上行编码速率调整请求消息为实施控制协议RTCP消息或携带编码模式请求的实时传输协议RTP CMR消息。
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述咨询消息为无线资源控制RRC消息或媒体接入控制的控制单元MAC CE消息。
  5. 一种用于调整编码速率的方法,其特征在于,包括:
    第一网络设备接收第一终端设备发送的咨询消息,所述咨询消息携带与所述第一终端设备通信的第二终端设备所请求的第一编码速率,所述第一编码速率大于所述第一终端设备当前使用的上行编码速率,其中,所述第一终端设备在所述第一网络设备的覆盖范围内,所述第二终端设备为与所述第一终端设备进行通信的对端设备;
    所述第一网络设备根据当前网络状态和所述第一编码速率,确定所述第一网络设备允许调整的参考编码速率。
  6. 根据权利要求5所述的方法,其特征在于,所述第一网络设备根据 当前网络状态和所述第一编码速率,确定所述第一网络设备允许调整的参考编码速率,包括:
    若所述第一网络设备根据所述当前网络状态,确定接受所述第一编码速率,则所述第一网络设备将所述第一编码速率确定为所述参考编码速率;
    若所述第一网络设备根据所述当前网络状态,确定不接受所述第一编码速率,则所述第一网络设备将允许的最大编码速率确定为所述参考编码速率。
  7. 根据权利要求5或6所述的方法,其特征在于,在所述第一网络设备根据当前网络状态和所述第一编码速率,确定所述第一网络设备允许调整的参考编码速率之后,所述方法还包括:
    所述第一网络设备向所述第一终端设备发送响应消息,所述响应消息携带所述参考编码速率。
  8. 根据权利要求5至7中任一项所述的方法,其特征在于,所述咨询消息为无线资源控制RRC消息或媒体接入控制的控制单元MAC CE消息。
  9. 一种用于调整编码速率的方法,其特征在于,包括:
    第一终端设备接收第一网络设备根据当前网络状态发送的第一上行编码速率调整请求消息,所述第一上行编码速率调整请求消息用于触发所述第一终端设备进行上行编码速率的调整,所述第一编码速率调整请求消息携带第一编码速率,所述第一终端设备在所述第一网络设备的覆盖范围内;
    在所述第一终端设备确定所述第一编码速率大于所述第一终端设备当前使用的上行编码速率时,所述第一终端设备向所述第二终端设备发送咨询消息,所述咨询消息用于触发与所述第二终端设备进行上行编码速率调整的协商,所述咨询消息携带所述第一编码速率,所述第二终端设备为与所述第一终端设备进行通信的对端设备。
  10. 根据权利要求9所述的方法,其特征在于,在所述第一终端设备向所述第二终端设备发送咨询消息之后,所述方法还包括:
    所述第一终端设备接收所述第二终端设备发送的响应消息,所述响应消息携带所述第二终端设备允许调整的参考编码速率;
    所述第一终端设备根据所述响应消息,判断是否需要进行编码速率的升速调整。
  11. 根据权利要求9或10所述的方法,其特征在于,所述第一上行编 码速率调整请求消息为无线资源控制RRC消息或媒体接入控制的控制单元MAC CE消息。
  12. 根据权利要求9至11中任一项所述的方法,其特征在于,所述咨询消息为实施控制协议RTCP消息或携带编码模式请求的实时传输协议RTP CMR消息。
  13. 一种用于调整编码速率的方法,其特征在于,包括:
    第一终端设备接收第一网络设备发送的第一编码速率,所述第一终端设备在所述第一网络设备的覆盖范围内;
    所述第一终端设备接收第二终端设备发送的第二编码速率,所述第二终端设备为与所述第一终端设备进行通信的对端设备;
    所述第一终端设备根据所述第一编码速率和所述第二编码速率,判断是否需要进行编码速率的升速调整。
  14. 根据权利要求13所述的方法,其特征在于,所述第一终端设备接收第一网络设备发送的第一编码速率,包括:
    所述第一终端设备接收所述第一网络设备通过无线资源控制RRC消息或广播消息发送的所述第一编码速率,所述第一编码速率为所述第一网络设备根据网络负载情况确定的所述第一网络设备能够接受的编码速率的最大值;
    所述第一终端设备根据所述第一编码速率和所述第二编码速率,判断是否需要进行编码速率的升速调整,包括:
    在所述第一终端设备接收第二终端设备发送的第二编码速率之后,若所述第一终端设备确定所述第二编码速率大于所述第一终端设备当前使用的上行编码速率,则所述第一终端设备将所述第二编码速率与所述第一编码速率进行比较;
    若所述第二编码速率小于或者等于所述第一编码速率,则所述第一终端设备确定进行编码速率的升速调整。
  15. 根据权利要求14所述的方法,其特征在于,所述第一终端设备根据所述第一编码速率和所述第二编码速率,判断是否需要进行编码速率的升速调整,还包括:
    若所述第二编码速率大于所述第一编码速率,则所述第一终端设备拒绝进行编码速率的升速调整。
  16. 根据权利要求13至15中任一项所述的方法,其特征在于,所述第一终端设备接收第二终端设备发送的第二编码速率,包括:
    所述第一终端设备在上一次通信时接收所述第二终端设备发送的上行编码速率调整请求消息,所述上行编码速率调整请求消息携带所述第二编码速率;
    所述第一终端设备保存所述第二编码速率;
    所述第一终端设备根据所述第一编码速率和所述第二编码速率,判断是否需要进行编码速率的升速调整,包括:
    在所述第一终端设备接收第一网络设备发送的第一编码速率之后,若所述第一终端设备确定所述第一编码速率大于所述第一终端设备当前使用的上行编码速率,则所述第一终端设备将所述第一编码速率与所述第二编码速率进行比较;
    若所述第一编码速率小于或者等于所述第二编码速率,则所述第一终端设备确定进行编码速率的升速调整。
  17. 根据权利要求16所述的方法,其特征在于,所述第一终端设备根据所述第一编码速率和所述第二编码速率,判断是否需要进行编码速率的升速调整,还包括:
    若所述第一编码速率大于所述第二编码速率,则所述第一终端设备拒绝进行编码速率的升速调整。
  18. 根据权利要求13所述的方法,其特征在于,所述方法还包括:
    若所述第一终端设备先接收到所述第一编码速率,则所述第一终端设备在接收到所述第一上行编码速率调整请求消息时将所述第一编码速率与所述第一终端设备当前使用的上行编码速率进行比较;
    若所述第一编码速率大于所述第一终端设备当前使用的上行编码速率,则所述第一终端设备开启定时器,并在所述定时器超时之前等待所述第二上行编码速率调整请求消息;
    所述第一终端设备根据所述第一编码速率和所述第二编码速率,判断是否需要进行编码速率的升速调整,包括:
    若在所述定时器超时之前,所述第一终端设备接收到所述第二编码速率,则所述第一终端设备根据所述第一编码速率和所述第二编码速率,判断是否需要进行编码速率的升速调整。
  19. 根据权利要求18所述的方法,其特征在于,所述第一终端设备根据所述第一编码速率和所述第二编码速率,判断是否需要进行编码速率的升速调整,还包括:
    若在所述定时器超时之前,所述第一终端设备未接收到所述第二编码速率,则所述第一终端设备拒绝进行编码速率的升速调整。
  20. 根据权利要求13所述的方法,其特征在于,所述方法还包括:
    若所述第一终端设备先接收到所述第二编码速率,则所述第一终端设备在接收到所述第二编码速率时将所述第二编码速率与所述第一终端设备当前使用的上行编码速率进行比较;
    若所述第二编码速率大于所述第一终端设备当前使用的上行编码速率,则所述第一终端设备开启定时器,并在所述定时器超时之前等待所述第一编码速率;
    所述第一终端设备根据所述第一编码速率和所述第二编码速率,判断是否需要进行编码速率的升速调整,包括:
    若在所述定时器超时之前,所述第一终端设备接收到所述第一编码速率,则所述第一终端设备根据所述第一编码速率和所述第二编码速率,判断是否需要进行编码速率的升速调整。
  21. 根据权利要求20所述的方法,其特征在于,所述第一终端设备根据所述第一编码速率和所述第二编码速率,判断是否需要进行编码速率的升速调整,还包括:
    若在所述定时器超时之前,所述第一终端设备未接收到所述第一编码速率,则所述第一终端设备拒绝进行编码速率的升速调整。
  22. 根据权利要求13至21中任一项所述的方法,其特征在于,在所述第一终端设备根据所述第一编码速率和所述第二编码速率,判断是否需要进行编码速率的升速调整之后,所述方法还包括:
    所述第一终端设备进行编码速率的升速调整;或
    所述第一终端设备向所述第二终端设备发送响应消息,所述响应消息携带所述第一终端设备允许的参考编码速率。
  23. 根据权利要求13至22中任一项所述的方法,其特征在于,所述第一编码速率携带在为无线资源控制RRC消息或媒体接入控制的控制单元MAC CE消息中。
  24. 根据权利要求13至23中任一项所述的方法,其特征在于,所述第二编码速率携带在实施控制协议RTCP消息或携带编码模式请求的实时传输协议RTP CMR消息中。
  25. 一种用于调整编码速率的装置,其特征在于,包括:
    接收单元,用于接收第二终端设备发送的第一上行编码速率调整请求消息,所述第一上行编码速率调整请求消息用于触发所述装置进行上行编码速率的调整,所述第一上行编码速率调整请求消息携带第一编码速率,所述第二终端设备为与所述装置进行通信的对端设备;
    发送单元,用于在确定所述第一编码速率大于所述装置当前使用的上行编码速率时,向第一网络设备发送咨询消息,所述咨询消息用于触发与所述第一网络设备进行编码速率调整的协商,所述咨询消息携带所述第一编码速率,所述装置在所述第一网络设备的覆盖范围内。
  26. 根据权利要求25所述的装置,其特征在于,所述接收单元还用于:
    在所述向第一网络设备发送咨询消息之后,接收所述第一网络设备发送的响应消息,所述响应消息携带所述第一网络设备允许调整的参考编码速率;
    所述装置还包括:
    判断单元,用于根据所述响应消息,判断是否需要进行编码速率的升速调整。
  27. 根据权利要求25或26所述的装置,其特征在于,所述第一上行编码速率调整请求消息为实施控制协议RTCP消息或携带编码模式请求的实时传输协议RTP CMR消息。
  28. 根据权利要求25至27中任一项所述的装置,其特征在于,所述咨询消息为无线资源控制RRC消息或媒体接入控制的控制单元MAC CE消息。
  29. 一种用于调整编码速率的装置,其特征在于,包括:
    接收单元,用于接收第一终端设备发送的咨询消息,所述咨询消息携带与所述第一终端设备通信的第二终端设备所请求的第一编码速率,所述第一编码速率大于所述第一终端设备当前使用的上行编码速率,其中,所述第一终端设备在所述装置的覆盖范围内,所述第二终端设备为与所述第一终端设备进行通信的对端设备;
    确定单元,用于根据当前网络状态和所述第一编码速率,确定允许调整的参考编码速率。
  30. 根据权利要求29所述的装置,其特征在于,所述确定单元具体用于:
    若根据所述当前网络状态,确定接受所述第一编码速率,则将所述第一编码速率确定为所述参考编码速率;
    若根据所述当前网络状态,确定不接受所述第一编码速率,则将允许的最大编码速率确定为所述参考编码速率。
  31. 根据权利要求29或30所述的装置,其特征在于,所述装置还包括:
    发送单元,在根据当前网络状态和所述第一编码速率,确定允许调整的参考编码速率之后,向所述第一终端设备发送响应消息,所述响应消息携带所述参考编码速率。
  32. 根据权利要求29至31中任一项所述的装置,其特征在于,所述咨询消息为无线资源控制RRC消息或媒体接入控制的控制单元MAC CE消息。
  33. 一种用于调整编码速率的装置,其特征在于,包括:
    接收单元,用于接收第一网络设备根据当前网络状态发送的第一上行编码速率调整请求消息,所述第一上行编码速率调整请求消息用于触发所述装置进行上行编码速率的调整,所述第一编码速率调整请求消息携带第一编码速率,所述装置在所述第一网络设备的覆盖范围内;
    发送单元,用于在确定所述第一编码速率大于所述装置当前使用的上行编码速率时,向所述第二终端设备发送咨询消息,所述咨询消息用于触发与所述第二终端设备进行上行编码速率调整的协商,所述咨询消息携带所述第一编码速率,所述第二终端设备为与所述装置进行通信的对端设备。
  34. 根据权利要求33所述的装置,其特征在于,所述接收单元还用于:
    在所述向所述第二终端设备发送咨询消息之后,接收所述第二终端设备发送的响应消息,所述响应消息携带所述第二终端设备允许调整的参考编码速率;
    所述装置还包括:
    判断单元,用于根据所述响应消息,判断是否需要进行编码速率的升速调整。
  35. 根据权利要求33或34所述的装置,其特征在于,所述第一上行编码速率调整请求消息为无线资源控制RRC消息或媒体接入控制的控制单元MAC CE消息。
  36. 根据权利要求33至35中任一项所述的装置,其特征在于,所述咨询消息为实施控制协议RTCP消息或携带编码模式请求的实时传输协议RTP CMR消息。
  37. 一种用于调整编码速率的装置,其特征在于,包括:
    第一接收单元,用于接收第一网络设备发送的第一编码速率,其中,所述装置在所述第一网络设备的覆盖范围内;
    第二接收单元,用于接收第二终端设备发送的第二编码速率,所述第二终端设备为与所述装置进行通信的对端设备;
    判断单元,用于根据所述第一编码速率和所述第二编码速率,判断是否需要进行编码速率的升速调整。
  38. 根据权利要求37所述的装置,其特征在于,所述第一接收单元具体用于:
    接收所述第一网络设备通过无线资源控制RRC消息或广播消息发送的所述第一编码速率,所述第一编码速率为所述第一网络设备根据网络负载情况确定的所述第一网络设备能够接受的编码速率的最大值;
    所述判断单元具体用于:
    在所述接收第二终端设备发送的第二编码速率之后,若确定所述第二编码速率大于所述装置当前使用的上行编码速率,则将所述第二编码速率与所述第一编码速率进行比较;
    若所述第二编码速率小于或者等于所述第一编码速率,则确定进行编码速率的升速调整。
  39. 根据权利要求38所述的装置,其特征在于,所述判断单元具体还用于:
    若所述第二编码速率大于所述第一编码速率,则拒绝进行编码速率的升速调整。
  40. 根据权利要求37至39中任一项所述的装置,其特征在于,所述第二接收单元具体用于:
    在上一次通信时接收所述第二终端设备发送的上行编码速率调整请求 消息,所述上行编码速率调整请求消息携带所述第二编码速率;
    保存所述第二编码速率;
    所述判断单元具体用于:
    在所述接收第一网络设备发送的第一编码速率之后,若确定所述第一编码速率大于所述装置当前使用的上行编码速率,则将所述第一编码速率与所述第二编码速率进行比较;
    若所述第一编码速率小于或者等于所述第二编码速率,则确定进行编码速率的升速调整。
  41. 根据权利要求40所述的装置,其特征在于,所述判断单元具体还用于:
    若所述第一编码速率大于所述第二编码速率,则拒绝进行编码速率的升速调整。
  42. 根据权利要求37所述的装置,其特征在于,所述装置还包括:
    控制单元,用于在先接收到所述第一编码速率时,将所述第一编码速率与所述装置当前使用的上行编码速率进行比较;
    若所述第一编码速率大于所述装置当前使用的上行编码速率,则开启定时器,并在所述定时器超时之前等待所述第二上行编码速率调整请求消息;
    所述判断单元具体用于:
    若在所述定时器超时之前接收到所述第二编码速率,则根据所述第一编码速率和所述第二编码速率,判断是否需要进行编码速率的升速调整。
  43. 根据权利要求42所述的装置,其特征在于,所述判断单元具体用于:
    若在所述定时器超时之前未接收到所述第二编码速率,则拒绝进行编码速率的升速调整。
  44. 根据权利要求37所述的装置,其特征在于,所述控制单元还用于:
    在先接收到所述第二编码速率时,将所述第二编码速率与所述装置当前使用的上行编码速率进行比较;
    若所述第二编码速率大于所述装置当前使用的上行编码速率,则开启定时器,并在所述定时器超时之前等待所述第一编码速率;
    所述判断单元具体用于:
    若在所述定时器超时之前接收到所述第一编码速率,则根据所述第一编 码速率和所述第二编码速率,判断是否需要进行编码速率的升速调整。
  45. 根据权利要求44所述的装置,其特征在于,所述判断单元具体用于:
    若在所述定时器超时之前未接收到所述第一编码速率,则拒绝进行编码速率的升速调整。
  46. 根据权利要求37至45中任一项所述的装置,其特征在于,所述装置还包括:
    调整单元,用于在所述根据所述第一编码速率和所述第二编码速率,确定需要进行编码速率的升速调整之后,进行编码速率的升速调整;或
    发送单元,用于向所述第二终端设备发送响应消息,所述响应消息携带所述装置允许的参考编码速率。
  47. 根据权利要求37至46中任一项所述的装置,其特征在于,所述第一编码速率携带在为无线资源控制RRC消息或媒体接入控制的控制单元MAC CE消息中。
  48. 根据权利要求37至47中任一项所述的装置,其特征在于,所述第二编码速率携带在实施控制协议RTCP消息或携带编码模式请求的实时传输协议RTP CMR消息中。
PCT/CN2016/082011 2016-05-13 2016-05-13 用于调整编码速率的方法和装置 WO2017193368A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
PCT/CN2016/082011 WO2017193368A1 (zh) 2016-05-13 2016-05-13 用于调整编码速率的方法和装置
CN201680085604.8A CN109155943B (zh) 2016-05-13 2016-05-13 用于调整编码速率的方法和装置
EP16901323.2A EP3448085A4 (en) 2016-05-13 2016-05-13 METHOD AND DEVICE FOR ADJUSTING CODING FLOW
US16/188,306 US20190116216A1 (en) 2016-05-13 2018-11-13 Method and apparatus for adjusting encoding rate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/082011 WO2017193368A1 (zh) 2016-05-13 2016-05-13 用于调整编码速率的方法和装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/188,306 Continuation US20190116216A1 (en) 2016-05-13 2018-11-13 Method and apparatus for adjusting encoding rate

Publications (1)

Publication Number Publication Date
WO2017193368A1 true WO2017193368A1 (zh) 2017-11-16

Family

ID=60266933

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/082011 WO2017193368A1 (zh) 2016-05-13 2016-05-13 用于调整编码速率的方法和装置

Country Status (4)

Country Link
US (1) US20190116216A1 (zh)
EP (1) EP3448085A4 (zh)
CN (1) CN109155943B (zh)
WO (1) WO2017193368A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111356183A (zh) * 2018-12-24 2020-06-30 ***通信有限公司研究院 一种传输方法、网络设备及终端

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110996298A (zh) * 2019-12-25 2020-04-10 北京汽车集团越野车有限公司 一种通信速率调整***及汽车

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101015222A (zh) * 2004-09-06 2007-08-08 Ut斯达康通讯有限公司 Ims***中多媒体业务的动态速率控制***及方法
CN101212459A (zh) * 2006-12-28 2008-07-02 华为技术有限公司 ***体编码速率的方法、***和设备
CN101425836A (zh) * 2007-10-29 2009-05-06 华为技术有限公司 一种编码速率的控制方法和设备
CN104254109A (zh) * 2013-06-25 2014-12-31 华为技术有限公司 用户设备、基站、流媒体自适应传输***和方法

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6970427B2 (en) * 2003-08-12 2005-11-29 Nokia Corporation Method and apparatus for implicit TFC reduction and L1 error handling
KR100646799B1 (ko) * 2004-05-06 2006-11-24 삼성전자주식회사 이동통신 시스템에서 전송채널들의 레이트 매칭 파라미터 결정 방법 및 장치
CN1991977B (zh) * 2005-12-29 2011-06-08 Ut斯达康通讯有限公司 用于无线通信的语音编码速率确定方法
EP2164200B1 (en) * 2008-09-15 2018-01-03 Alcatel Lucent Speech rate control signalling and method thereof
CN101729196B (zh) * 2008-10-20 2013-04-17 上海华为技术有限公司 自适应调整语音编码速率的方法、装置及***
CN102667925B (zh) * 2009-10-28 2014-01-08 瑞典爱立信有限公司 针对无线信道速率改变的编解码器速率适配
CN102131241B (zh) * 2011-03-15 2013-09-11 上海华为技术有限公司 一种控制流媒体速率的方法、基站及***
CN102790997B (zh) * 2011-05-19 2017-05-10 中兴通讯股份有限公司 一种自适应多速率amr语音数据的传输方法及装置
CN102256314B (zh) * 2011-07-20 2014-03-05 上海华为技术有限公司 业务编码速率调整方法及通信节点
US9253238B2 (en) * 2013-09-30 2016-02-02 Apple Inc. Device-initiated codec rate change during a voice call
WO2015070455A1 (zh) * 2013-11-18 2015-05-21 华为技术有限公司 一种自适应多速率的编码速率调整方法和设备
JP6463041B2 (ja) * 2014-08-28 2019-01-30 キヤノン株式会社 画像処理装置、画像処理方法、及びプログラム

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101015222A (zh) * 2004-09-06 2007-08-08 Ut斯达康通讯有限公司 Ims***中多媒体业务的动态速率控制***及方法
CN101212459A (zh) * 2006-12-28 2008-07-02 华为技术有限公司 ***体编码速率的方法、***和设备
CN101425836A (zh) * 2007-10-29 2009-05-06 华为技术有限公司 一种编码速率的控制方法和设备
CN104254109A (zh) * 2013-06-25 2014-12-31 华为技术有限公司 用户设备、基站、流媒体自适应传输***和方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3448085A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111356183A (zh) * 2018-12-24 2020-06-30 ***通信有限公司研究院 一种传输方法、网络设备及终端

Also Published As

Publication number Publication date
EP3448085A4 (en) 2019-05-01
US20190116216A1 (en) 2019-04-18
CN109155943B (zh) 2022-05-17
CN109155943A (zh) 2019-01-04
EP3448085A1 (en) 2019-02-27

Similar Documents

Publication Publication Date Title
US20210345181A1 (en) Methods for Transmitting and Receiving Data in 5G NR Device Based on Data/Service Tagging from Application Processor
CN109644341B (zh) 用于通信的方法、装置、通信设备、无线电接入***和计算机可读介质
CN112020104B (zh) 用于背景数据传输的方法、通信装置和通信***
EP3651538B1 (en) Data transmission method, transmitting end device, and receiving end device
EP4195718A1 (en) Method for communication between user terminal and network, and terminal, network device and apparatus
US20230397020A1 (en) Method and apparatus for controlling data transmission, and storage medium
WO2018228558A1 (zh) 一种传输数据的方法、网络设备和终端设备
WO2015013924A1 (zh) 切换方法、基站和用户设备
WO2018126365A1 (zh) 信息传输的方法、终端设备和网络设备
US20220124500A1 (en) Communication method, terminal device and network device
JP2022502929A (ja) データ伝送制御方法、ネットワーク機器および記憶媒体
WO2018112850A1 (zh) 通信方法、终端设备和网络设备
WO2020034802A1 (zh) 一种激活pdu会话的方法及设备
WO2017193368A1 (zh) 用于调整编码速率的方法和装置
WO2019090492A1 (zh) 处理数据的方法和网络设备
WO2020098760A1 (zh) 消息发送及其控制方法及装置
WO2023000884A1 (zh) 多播会话处理方法、网络功能实体、装置及存储介质
WO2022152092A1 (zh) 数据传输控制方法和装置
WO2020233496A1 (zh) 安全会话方法和装置
WO2021147672A1 (zh) 会话处理方法及通信装置
WO2017177356A1 (zh) 数据传输的方法、基站和用户设备
WO2020061936A1 (zh) 一种信息处理方法、设备及存储介质
WO2020087546A1 (zh) 一种网络信息传输方法、获取方法、网络设备及终端设备
WO2018094617A1 (zh) 一种VoLTE业务处理方法及设备
WO2023020276A1 (zh) 组播广播业务数据传输方法、装置、设备以及存储介质

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2016901323

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2016901323

Country of ref document: EP

Effective date: 20181122

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16901323

Country of ref document: EP

Kind code of ref document: A1