WO2017166973A1 - 编码方式配置方法及装置 - Google Patents
编码方式配置方法及装置 Download PDFInfo
- Publication number
- WO2017166973A1 WO2017166973A1 PCT/CN2017/075359 CN2017075359W WO2017166973A1 WO 2017166973 A1 WO2017166973 A1 WO 2017166973A1 CN 2017075359 W CN2017075359 W CN 2017075359W WO 2017166973 A1 WO2017166973 A1 WO 2017166973A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- coding
- base station
- encoding
- configuration
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/0247—Traffic management, e.g. flow control or congestion control based on conditions of the access network or the infrastructure network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0823—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/0289—Congestion control
Definitions
- the embodiments of the present invention relate to the field of communications, and in particular, to a coding method and apparatus.
- Voice over LTE (VoLTE) based on the Internet Protocol Multimedia Subsystem and Video over LTE (Video over LTE, referred to as ViLTE) is the most basic service business for mobile terminals.
- the main coding modes supported by speech coding include Adaptive Multi-Rate (AMR), Adaptive Multi-Rate-Wide Band (AMR-WB), and Enhanced Voice Services (Enhanced Voice Services). , referred to as EVS).
- AMR Adaptive Multi-Rate
- AMR-WB Adaptive Multi-Rate-Wide Band
- EVS Enhanced Voice Services
- Different encoding modes support different encoding rates, such as AMR minimum support of 4.5kbps and maximum support of 12.2kbps.
- the encoding rate of the video is described in the H264 protocol and is divided into different levels, with a minimum support of 64 kbps and a maximum of 240 Mbps.
- Different coding rates reflect different sensory experiences for the user.
- the larger the coding rate the larger the bandwidth of the required LTE system, and because the video call is a two-way service, and the common time division Long Term Evolution (TD-LTE) system, the uplink available sub-subs
- TD-LTE time division Long Term Evolution
- the video appears blurred, stuck, mosaic, image stops, etc. It causes a large waste of system resources, and does not provide high user service.
- Time Division Duplex (TDD) ratio 2 when the video rate exceeds 1Mbps, the terminal can only stay in the terminal. The center of the cell can guarantee the user experience, and moving to the far point of the cell slightly, the video image will be blurred.
- the LTE system allows the terminal (User Equipment, UE for short) to perform the configuration negotiation of the encoding mode (codec) at the sending and receiving ends during the start of the call establishment and the call.
- the UE can trigger the configuration of the call codec according to the quality of the call. process. Due to this codec
- the negotiation is triggered by the UE, and the UE cannot accurately know the overall status of the current network, such as whether the network is congested, etc., which may cause a decrease in the user experience. For example, if the current signal quality of the UE is good and the request is to increase the codec level, the UE improves. After the codec level, network congestion may occur, which not only affects the UE that triggers the codec change, but also generates a higher packet loss rate for other UEs, resulting in deterioration of the user experience.
- FIG. 1 is a flowchart of a coding mode configuration method according to the related art. As shown in FIG. 1, the process includes the following steps:
- Step S101 The first terminal determines a set of coding modes to be adopted.
- Step S102 The set is sent to the core network entity (Core Network 1, referred to as CN1) corresponding to the first terminal by using a request message (INVITE).
- Core Network 1 Core Network 1, referred to as CN1
- ISVITE request message
- Step S103 CN1 checks that the set conforms to the local communication policy and the subscription information of the first terminal.
- Step S104 The set is sent to the core network entity CN2 corresponding to the second terminal by using an INVITE message.
- Step S105 CN2 checks that the set conforms to the local communication policy and the subscription information of the first terminal.
- Step S106 The set is sent to the second terminal by using an INVITE message.
- Step S107 The second terminal obtains a universal coding set supported by both parties of the communication according to the coding manner of the first terminal.
- Step S108 Step S110: Select a set of coding modes supported by the user, and send the set to the first terminal by using a Session Description Protocol Answer (SDP Answer).
- SDP Answer Session Description Protocol Answer
- Step S111 The first terminal determines, according to the feedback of the second terminal, an encoding mode to be used for the communication.
- Step S112 - Step S114 Sending to the second terminal by using a process description protocol proposal message (SDP offer).
- SDP offer a process description protocol proposal message
- the embodiment of the invention provides a method and a device for configuring a coding mode, so as to solve at least the problem of network congestion caused by the configuration of the coding mode initiated by the terminal in the related art.
- a coding mode configuration method including: acquiring coding capability indication information of a first terminal in a coverage of a base station, where the coding capability indication information is used to identify the first The coding capability of the terminal; detecting the network state of the base station; and configuring the coding mode for the first terminal according to the detected network state and the coding capability indication information.
- the obtaining the coding capability indication information of the first terminal in the coverage of the base station includes: sending an encoding capability request to the first terminal, where the coding capability request is used to request to acquire the The coding capability indication information of the first terminal, the coding capability indication information of the first terminal sent by the first terminal, or the coding capability indication information reported by the first terminal.
- the coding capability request carries at least one of the following: a data radio bearer DRB identifier, an identifier of an encoding manner, and an identifier of a coding rate.
- the acquiring the coding capability indication information that is reported by the first terminal includes: acquiring, by the first terminal, the coding capability indication information that is carried by the first terminal and carries a general coding set and a bearer identifier corresponding to the universal coding set.
- the bearer identifier corresponding to the universal code set and the universal code set is used to identify the coding capability of the first terminal, and the bearer identifier corresponding to the universal code set and the universal code set is And obtaining, by the first terminal and the second terminal, a communication connection between the second terminal and the first terminal.
- the method before the acquiring the coding capability indication information reported by the first terminal, the method further includes: sending, by using a system message, a first indication message to the first terminal, where the first indication message Instructing the base station to support encoding of the first terminal Line configuration.
- configuring the coding manner for the first terminal according to the network status and the coding capability indication information includes: determining whether the network status meets a predetermined condition; and the case where the network status satisfies the predetermined condition And selecting, according to the coding manner indicated by the coding capability indication information, the first coding mode as the coding mode configured for the first terminal; and/or, if the network state does not satisfy the predetermined condition
- the second coding mode is selected as the coding mode configured for the first terminal; wherein the coding rate of the first coding mode is higher than the coding mode
- a second coding mode where the control message is sent to the first terminal, where the control message carries the coding rate of the coding mode configured for the first terminal.
- determining whether the network status meets the predetermined condition includes: determining whether a packet loss rate of the first terminal is lower than a preset packet loss rate; determining whether a data packet delay of the first terminal is Determining whether the signal quality of the first terminal is higher than a preset signal quality; wherein, if the determination result is no, determining that the network state does not satisfy the predetermined condition.
- the method further includes: receiving a second indication message sent by the first terminal, where The second indication message is used to indicate the configuration result obtained by the first terminal according to the coding mode configured for the first terminal, and the configuration result includes one of the following: the configuration succeeds, the configuration fails, The configuration is rejected, and the configuration is not rejected; the correspondence between the coding mode configured by the first terminal and the configuration result is recorded.
- the method further includes: according to the network state, the coding capability indication information, and the corresponding Relationship, updating the coding mode for the first terminal.
- updating the coding manner for the first terminal according to the network status and the coding capability indication information and the corresponding relationship includes: selecting, according to the network status, the coding capability indication information
- the configuration result is that the configuration is successful or the configuration is not rejected.
- the absolute coding mode is used as the coding mode updated for the first terminal.
- the method further includes: receiving a feedback message sent by the first terminal, where The feedback message is used to indicate that the first terminal receives the encoding mode configured for the first terminal.
- the coding capability indication information carries at least one of the following: an identifier of an encoding mode supported by the first terminal, an identifier of a coding rate supported by the first terminal, and a wireless data established by the first terminal.
- control message carries at least one of the following: an identifier of the data radio bearer DRB, an identifier of the configured coding mode, an identifier of the configured coding rate, a level of the added coding rate, and a level of the reduced coding rate.
- a coding mode configuration method including: transmitting, to a base station, coding capability indication information of a first terminal in a coverage of the base station; and acquiring, by the base station, the coding according to the coding
- the capability indication information and the network status detected by the base station are coding modes configured by the first terminal.
- the sending the coding capability indication information of the first terminal to the base station includes: receiving an encoding capability request sent by the base station, where the coding capability request is used to request to acquire the first terminal And the coding capability indication information; the coding capability indication information of the first terminal is sent to the base station; or the coding capability indication information of the first terminal is reported to the base station.
- the coding capability request carries at least one of the following: a data radio bearer DRB identifier, an identifier of an encoding manner, and an identifier of a coding rate.
- the reporting the coding capability indication information of the first terminal to the base station includes: negotiating an encoding manner with the second terminal, and obtaining a universal coding set and a bearer identifier corresponding to the universal coding set, where the The bearer identifier corresponding to the universal code set and the universal code set is used to identify the coding capability of the first terminal, and the second terminal and the first terminal And establishing, by the base station, the coding capability indication information that carries the universal code set and the bearer identifier corresponding to the universal code set.
- the method further includes: receiving, by the base station, a first indication message sent by using a system message, where the first The indication message is used to indicate that the base station supports configuring the coding mode of the first terminal.
- the obtaining the coding mode configured for the first terminal includes: receiving a control message sent by the base station, where the control message carries the coding mode configured for the first terminal.
- control message carries at least one of the following: an identifier of the data radio bearer DRB, an identifier of the configured coding mode, an identifier of the configured coding rate, a level of the added coding rate, and a level of the reduced coding rate.
- the method further includes: configuring, according to the coding mode configured for the first terminal, an encoding mode of the first terminal; Sending a second indication message to the base station, where the second indication message is used to indicate a configuration result obtained by the first terminal according to the coding mode configured for the first terminal, where the configuration
- the results include one of the following: configuration success, configuration failure, configuration denied, and the configuration was not rejected.
- the coding manner of the first terminal is configured according to the coding mode configured for the first terminal, according to the coding mode configured for the first terminal and the information of the first terminal.
- a transmission state determining whether to configure an encoding mode of the first terminal; and determining to configure an encoding mode of the first terminal, configuring an encoding mode of the first terminal.
- determining whether to configure the coding mode of the first terminal according to the coding mode configured for the first terminal and the information transmission state of the first terminal includes: determining one of the following: Whether the packet loss rate of the first terminal is lower than the first preset threshold, whether the data packet delay of the first terminal is lower than a second preset threshold, and whether the signal quality of the first terminal is higher than the third pre-predetermined Setting a threshold; if the determination result is yes, determining to configure the first terminal The coding mode is determined. If the determination result is no, it is determined that the coding mode of the first terminal is not configured.
- the method further includes: sending a feedback message to the base station, where the feedback message is used to indicate that the first terminal receives The encoding mode configured for the first terminal.
- the coding capability indication information carries at least one of the following: an identifier of an encoding mode supported by the first terminal, an identifier of a coding rate supported by the first terminal, and a wireless data established by the first terminal.
- an encoding mode configuration apparatus including: a first acquiring module, configured to acquire coding capability indication information of a first terminal in a coverage of a base station, where the coding capability The indication information is used to identify the coding capability of the first terminal; the detection module is configured to detect a network state of the base station; and the first configuration module is configured to: according to the detected network state and the coding capability indication information, The encoding mode is configured for the first terminal.
- the device further includes: a first receiving module, configured to receive a second indication message sent by the first terminal, where the second indication message is used to indicate that the first terminal is according to the
- the configuration result obtained by configuring the coding mode of the first terminal, the configuration result includes one of the following: the configuration succeeds, the configuration fails, the configuration is rejected, the configuration is not rejected, and the recording module is set to record as Corresponding relationship between the coding mode of the first terminal and the configuration result.
- the device further includes: an update module, configured to update the coding mode for the first terminal according to the network status, the coding capability indication information, and the correspondence.
- an update module configured to update the coding mode for the first terminal according to the network status, the coding capability indication information, and the correspondence.
- the device further includes: a second receiving module, configured to receive a feedback message sent by the first terminal, where the feedback message is used to indicate that the first terminal receives the first terminal The encoding method of the configuration.
- a second receiving module configured to receive a feedback message sent by the first terminal, where the feedback message is used to indicate that the first terminal receives the first terminal The encoding method of the configuration.
- an encoding mode configuration apparatus is further provided.
- the first sending module is configured to send the coding capability indication information of the first terminal in the coverage of the base station to the base station
- the second acquiring module is configured to acquire, according to the coding capability indication information, the
- the network status detected by the base station is an encoding mode configured by the first terminal.
- the device further includes: a second configuration module, configured to configure an encoding mode of the first terminal according to the encoding mode configured for the first terminal; and a second sending module, configured to The base station sends a second indication message, where the second indication message is used to indicate a configuration result obtained by the first terminal according to the coding mode configured for the first terminal, where the configuration result includes One of the following: the configuration was successful, the configuration failed, the configuration was rejected, and the configuration was not rejected.
- a second configuration module configured to configure an encoding mode of the first terminal according to the encoding mode configured for the first terminal
- a second sending module configured to The base station sends a second indication message, where the second indication message is used to indicate a configuration result obtained by the first terminal according to the coding mode configured for the first terminal, where the configuration result includes One of the following: the configuration was successful, the configuration failed, the configuration was rejected, and the configuration was not rejected.
- the device further includes: a third sending module, configured to send a feedback message to the base station, where the feedback message is used to indicate that the first terminal receives the configuration configured for the first terminal The coding method.
- a third sending module configured to send a feedback message to the base station, where the feedback message is used to indicate that the first terminal receives the configuration configured for the first terminal The coding method.
- a computer storage medium is further provided, and the computer storage medium may store an execution instruction, where the execution instruction is used to execute the coding mode configuration method in the foregoing embodiment.
- the coding capability indication information of the first terminal in the coverage of the base station is obtained, where the coding capability indication information is used to identify the coding capability of the first terminal; the network state of the base station is detected; and the network state is detected according to the detected
- the coding capability indication information is used to configure the coding mode of the first terminal, that is, the coding capability of the first terminal is obtained by acquiring the coding capability indication information of the first terminal in the coverage of the base station, and the network state of the base station is performed.
- the coding mode with a higher coding rate in the range of the coding capability of the first terminal is configured for the terminal, so that the coding mode of the first terminal satisfies the network state detected by the current base station, and the coding mode initiated by the terminal in the related art is solved.
- the problem of network congestion caused by the configuration, the dynamic adjustment of the coding side is realized. And reduce network congestion effect.
- the coding mode is configured for the first terminal according to the coding capability of the first terminal and the network state detected by the base station, and the first terminal can configure the coding mode to the configured coding mode, so that The coding mode of the first terminal is consistent with the coding capability of the first terminal and the network state detected by the base station, thereby improving the success rate of the coding mode of the first terminal.
- FIG. 1 is a flowchart of a coding mode configuration method according to the related art
- FIG. 2 is a flowchart of an optional coding mode configuration method according to an embodiment of the present invention.
- FIG. 3 is a flowchart of another optional coding mode configuration method according to an embodiment of the present invention.
- FIG. 4 is a flowchart of a coding mode configuration method according to an alternative embodiment of the present invention.
- FIG. 5 is a flowchart of another coding mode configuration method according to an alternative embodiment of the present invention.
- FIG. 6 is a structural block diagram of an optional coding mode configuration apparatus according to an embodiment of the present invention.
- FIG. 7 is a structural block diagram of another optional coding mode configuration apparatus according to an embodiment of the present invention.
- FIG. 8 is a structural block diagram of still another optional coding mode configuration apparatus according to an embodiment of the present invention.
- FIG. 9 is a structural block diagram of still another optional coding mode configuration apparatus according to an embodiment of the present invention.
- FIG. 10 is a structural block diagram of still another optional coding mode configuration apparatus according to an embodiment of the present invention.
- FIG. 11 is a block diagram showing still another optional coding mode configuration apparatus according to an embodiment of the present invention. block diagram;
- FIG. 12 is a structural block diagram of still another optional coding mode configuration apparatus according to an embodiment of the present invention.
- FIG. 13 is a structural block diagram of still another optional coding mode configuration apparatus according to an embodiment of the present invention.
- FIG. 14 is a structural block diagram of still another optional coding mode configuration apparatus according to an embodiment of the present invention.
- FIG. 15 is a structural block diagram of still another optional coding mode configuration apparatus according to an embodiment of the present invention.
- 16 is a structural block diagram of still another optional coding mode configuration apparatus according to an embodiment of the present invention.
- FIG. 17 is a structural block diagram of still another optional coding mode configuration apparatus according to an embodiment of the present invention.
- FIG. 18 is a structural block diagram of still another optional coding mode configuration apparatus according to an embodiment of the present invention.
- FIG. 19 is a structural block diagram of still another optional coding mode configuration apparatus according to an embodiment of the present invention.
- FIG. 20 is a structural block diagram of still another optional coding mode configuration apparatus according to an embodiment of the present invention.
- FIG. 2 is a flowchart of an optional coding mode configuration method according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
- Step S202 acquiring coding capability indication information of the first terminal in the coverage of the base station, where the coding capability indication information is used to identify the coding capability of the first terminal;
- Step S204 detecting a network status of the base station
- Step S206 configuring an encoding mode for the first terminal according to the detected network state and the coding capability indication information.
- the foregoing coding mode configuration method may be, but is not limited to, applied to a scenario in which an encoding mode of the terminal is configured.
- the modified target encoding mode is configured when the encoding mode is modified by the receiving end.
- the foregoing coding mode configuration method may be, but is not limited to, applied to a core network entity or a network element, such as a base station, a server, a router, a switch, or the like.
- a base station is taken as an example for description and description.
- the coding mode configured for the first terminal is selected and configured to the first terminal. For example, when the network state is good, the coding rate of the terminal is configured in the coding capability of the first terminal. High coding mode, so that the coding mode of the first terminal satisfies the network state detected by the current base station, solves the problem of network congestion caused by the configuration of the terminal initiated coding mode in the related art, realizes dynamic adjustment coding mode, and reduces network Congestion effect.
- the coding mode is configured for the first terminal according to the coding capability of the first terminal and the network state detected by the base station, and the first terminal may encode the coding mode.
- the mode is configured to be configured in an encoding manner, so that the coding mode of the first terminal is consistent with the coding capability of the first terminal and the network state detected by the base station, thereby improving the success rate of the coding mode of the first terminal.
- the manner of acquiring the coding capability of the first terminal may be, but not limited to, triggering the first terminal to feed back the coding capability by sending the coding capability request to the first terminal, or obtaining the coding actively reported by the first terminal. ability.
- an optional encoding of the first terminal is provided by sending an encoding capability request to the first terminal to trigger the first terminal to feed back its encoding capability to obtain the encoding capability of the first terminal. ability.
- the base station may send an encoding capability request message to the first terminal, requesting the first terminal to report its encoding capability.
- the base station may, but is not limited to, carry an encoding capability request indication requestCodec in the UECapabilityEnquiry message.
- the first terminal After receiving the coding capability request message sent by the base station, the first terminal reports the coding capability supported by the base station to the base station.
- the first terminal may, but is not limited to, carry the capability indication supportedCodecList in the UECapabilityInformation message.
- an optional first terminal is required to actively report its coding capability to acquire the coding capability of the first terminal.
- the first terminal and the second terminal of the communication peer negotiate the coding mode to be used in establishing the service communication.
- the first terminal reports the coding mode supported by each service negotiated by the base station.
- the first terminal may, but is not limited to, indicate a set of coding modes supported by each Data Radio Bearer (DRB) in the SupportCodecInfo message.
- DRB Data Radio Bearer
- the detected network status of the base station may be, but is not limited to, the transmission rate of information in the network of the base station, the coding rate of each coding mode in the network of the base station, the blocking rate of the network of the base station, and the loss of the network of the base station. Packet rate, resource utilization in the network of the base station, and the like.
- the coding capability indication information may be, but is not limited to, a coding mode supported by each communication service of the first terminal and/or a coding rate corresponding to each coding mode, and a first terminal.
- the coding capability indication information may be, but is not limited to, carrying at least one of the following: an identifier of an encoding mode supported by the first terminal, an identifier of a coding rate supported by the first terminal, and a data radio bearer DRB established by the first terminal.
- the manner of acquiring the coding capability of the first terminal may be, but is not limited to, sending an encoding capability request for requesting acquisition of the coding capability indication information of the first terminal to the first terminal, and receiving the first The coding capability indication information of the first terminal sent by the terminal. Or, but not limited to, acquiring the coding capability indication information reported by the first terminal.
- the base station requests to obtain the coding capability indication information of the first terminal, and the first terminal reports information related to the coding capability of the first terminal according to the indication of the coding capability indication information, where the information related to the coding capability may be, but not limited to, the following At least one of the information: the coding mode identifier supported by the first terminal; the identifier of the coding rate supported by the first terminal; the identifier of the available coding mode of the DRB established by the first terminal; and the identifier of the available coding rate of the DRB established by the first terminal .
- the first terminal may, but is not limited to, actively report information related to the coding capability of the first terminal when the coding mode needs to be configured, and the information related to the coding capability may include, but is not limited to, at least one of the following information: the first terminal The identifier of the encoding mode supported by the first terminal; the identifier of the available encoding mode of the DRB established by the first terminal; and the identifier of the available encoding rate of the DRB established by the first terminal.
- the coding capability of the first terminal can be obtained in different manners.
- the network state of the base station is good, for example, when the information transmission rate in the current network is higher than a certain preset value, the network state of the base station is considered to be good, and the first terminal is requested by the request.
- the coding capability is configured to configure a coding mode with a higher coding rate for the first terminal to improve the communication quality of the first terminal.
- the network state of the first terminal is good, for example, when the information transmission rate of the current first terminal is higher than a certain preset value, it is considered to be
- the first terminal has a good network state, and the first terminal is configured with a coding rate with a higher coding rate to improve the communication quality of the first terminal.
- the coding mode configured for the first terminal considers both the coding capability of the first terminal and the network state of the base station, and solves the problem of network congestion caused by the configuration of the terminal-initiated coding mode in the related art, and implements dynamic adjustment. Encoding method to reduce the effect of network congestion.
- the coding mode is configured for the first terminal according to the coding capability of the first terminal and the network state detected by the base station, and the first terminal can configure the coding mode to the configured coding mode, so that The coding mode of the first terminal is consistent with the coding capability of the first terminal and the network state detected by the base station, thereby improving the success rate of the coding mode of the first terminal.
- the coding capability request may be, but is not limited to, carrying at least one of the following: a data radio bearer DRB identifier, an identifier of the coding mode, and an identifier of the coding rate.
- the method may include, but is not limited to, acquiring the universal coding set and the universal coding reported by the first terminal.
- the coding capability indication information of the corresponding bearer identifier is set, where the bearer identifier corresponding to the universal code set and the universal code set is used to identify the coding capability of the first terminal, and the bearer identifier corresponding to the universal code set and the universal code set is used by the first terminal.
- the first terminal After obtaining the universal coding set in the initial coding negotiation process with the second terminal of the communication peer end, the first terminal sends the bearer identifier corresponding to the universal code set and the universal code set to the base station.
- the first terminal can negotiate the coding mode of each service and/or the coding rate corresponding to each coding mode when the two terminals communicate with the second terminal of the communication peer.
- the coding mode is configured for the first terminal
- the coding capability of the first terminal and the second terminal and the network state detected by the base station can be considered at the same time, so that the coding mode configured for the first terminal can obtain the first terminal and the second terminal. Support, thereby improving the encoding of the first terminal in configuring its communication with the second terminal The success rate in the mode.
- the method may be, but is not limited to, sending, by using a system message, the first terminal, to indicate that the base station supports the coding mode of the first terminal.
- the first indication message For example, the base station may, but is not limited to, notify the first terminal by using a system message (such as a codecChangeSupport indication message in the System Information Block 2 (SIB2) message), and the base station supports the change of the coding mode.
- SIB2 System Information Block 2
- the first terminal can be informed that the base station supports the first terminal configuration coding mode, and when the first terminal needs to configure the coding mode, the first terminal can report the coding capability to the base station.
- the coding mode may be configured for the first terminal by using the following manner, and the network state may be determined whether the predetermined condition is met, and the coding capability indication information is obtained if the network state meets the predetermined condition. Selecting, by the indicated coding mode, the first coding mode as the coding mode configured for the first terminal, and/or, if the network state does not satisfy the predetermined condition, selecting the second coding mode indicated by the coding capability indication information The coding mode is used as the coding mode configured for the first terminal, where the coding rate of the first coding mode is higher than the coding rate of the second coding mode, and then the control message carrying the coding mode configured for the first terminal is sent to the first terminal. .
- the predetermined condition for determining the quality of the network state detected by the base station may be a network information transmission rate detected by the base station.
- it may be, but is not limited to, determining whether the network status meets a predetermined condition by at least one of: determining whether the packet loss rate of the first terminal is lower than a preset packet loss rate; determining whether the data packet delay of the first terminal is low. Determining the delay of the preset data packet; determining whether the signal quality of the first terminal is higher than the preset signal quality; wherein, in the case that the determination result is yes, determining that the network state satisfies the predetermined condition, and determining that the result is negative, determining The network status does not satisfy the predetermined condition.
- the packet loss rate, the data packet delay, and the signal quality are taken as an example to describe how to determine the network state. The manner in which the present invention determines the network state is not limited thereto, and details are not described herein again.
- the quality of the network state can be determined according to whether the network state meets a predetermined condition.
- a coding mode with a relatively high coding rate is configured for the first terminal, and then the control information is configured for the first terminal.
- the encoding mode is sent to the first terminal.
- the coding mode in the first terminal coding capability range is configured for the first terminal according to the quality of the network state detected by the base station, and the problem of network congestion caused by the configuration of the terminal initiated coding mode in the related art is solved, and the dynamic adjustment is realized. Encoding method to reduce the effect of network congestion.
- the coding mode is configured for the first terminal according to the coding capability of the first terminal and the network state detected by the base station, and the first terminal can configure the coding mode to the configured coding mode, so that The coding mode of the first terminal is consistent with the coding capability of the first terminal and the network state detected by the base station, thereby improving the success rate of the coding mode of the first terminal.
- control message may be, but is not limited to, carrying at least one of the following: an identifier of the data radio bearer DRB, an identifier of the configured coding mode, an identifier of the configured coding rate, an increased coding rate level, and a reduced coding rate. The level.
- the first terminal may be configured according to the coding mode configured for the first terminal, and send the configuration result to the base station, where the base station may receive the second terminal sent by the first terminal to indicate the configuration result.
- the configuration result may include, but is not limited to, one of the following: the configuration succeeds, the configuration fails, the configuration is rejected, and the configuration is not rejected; wherein the configuration is rejected, the configuration indicating that the coding mode is configured by the second terminal of the communication peer Reject, it can also indicate that the configuration of the encoding mode is rejected by the first terminal.
- the base station can record the correspondence between the coding mode configured by the first terminal and the configuration result.
- the first terminal may select a coding mode and a coding rate configured by the base station to perform a subsequent negotiation process.
- the first terminal may trigger the configuration process of the coding mode according to the configuration of the base station.
- the base station may receive the configuration result of the coding mode sent by the first terminal, where the configuration result may be: a notification that the coding is successfully configured; a notification that the coding failure is configured; and an indication that the second terminal of the first terminal and/or the communication terminal rejects the coding configuration; The first terminal and/or the second terminal of the communication peer are not rejected An indication of the absolute encoding configuration.
- the base station can record the configuration result of the coding mode.
- the configuration of the failed or rejected coding mode can no longer be triggered.
- the coding mode may be updated for the first terminal according to the network state, the coding capability indication information, and the foregoing correspondence.
- the encoding mode for updating the first terminal may be, but is not limited to, selecting an encoding mode whose configuration result is configured successfully or configured to be rejected from the encoding capability indication information according to the network state as the encoding mode updated for the first terminal. It is also possible that when the coding mode is configured for the first terminal again, the coding mode in which the configuration result in the correspondence is a configuration failure may not be configured for the first terminal.
- the coding mode of the configuration may be updated for the first terminal according to the configuration result of the coding mode configured for the first terminal, thereby avoiding the coding mode that the configuration result of the first terminal is configured to be failed, and the coding mode configuration is improved. Success rate.
- the method may be, but is not limited to, being sent by the first terminal, to indicate that the first terminal receives the first terminal.
- the feedback message of the coding mode is configured. If the base station receives the feedback message, it is determined that the first terminal has received the coding mode configured for the first terminal. In an optional example, if the base station does not receive the feedback message, it may be, but is not limited to, that the first terminal does not receive the coding mode configured for the first terminal, and the base station may send the first terminal to the first terminal again.
- the configured coding mode can be sent until the feedback message of the first terminal is received. To ensure that the first terminal can receive the coding mode configured for it, thereby improving the success rate of the configuration coding mode.
- the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
- the technical solution of the present invention which is essential or contributes to the related art, may be embodied in the form of a software product stored in a storage medium (eg, ROM/RAM, disk, CD-ROM includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
- a storage medium eg, ROM/RAM, disk, CD-ROM includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
- FIG. 3 is a flowchart of another optional coding mode configuration method according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps:
- Step S302 Send, to the base station, coding capability indication information of the first terminal in the coverage of the base station;
- Step S304 Acquire an encoding manner configured by the base station according to the encoding capability indication information and the network state detected by the base station.
- the foregoing coding mode configuration method may be, but is not limited to, applied to a scenario in which an encoding mode of the terminal is configured.
- the modified target encoding mode is configured when the encoding is modified by the receiving end.
- the foregoing coding mode configuration method may be, but is not limited to, being applied to a terminal.
- the terminal may be, but not limited to, a mobile phone, a tablet computer, a notebook computer, a desktop computer, a smart wearable device, or the like.
- the coding capability indication information of the first terminal in the coverage of the base station is sent to the base station to provide the base station with the coding capability of the first terminal, and the base station obtains the coding of the first terminal according to the detected network state of the base station.
- the encoding mode configured for the first terminal is selected in the coding mode supported by the capability. For example, if the network state is good, the coding rate of the first terminal configured by the base station for the first terminal is higher.
- the coding mode is such that the coding mode of the first terminal satisfies the network state detected by the current base station, and the problem of network congestion caused by the configuration of the terminal initiated coding mode in the related art is solved, and dynamic adjustment is realized. Encoding method to reduce the effect of network congestion.
- the base station may obtain the coding mode configured by the base station according to the coding capability of the first terminal and the network state detected by the base station, and the first terminal may configure the coding mode as the base station configuration.
- the coding mode of the first terminal is consistent with the coding capability of the first terminal and the network state detected by the base station, thereby improving the success rate of the coding mode of the first terminal.
- the method for transmitting the coding capability indication information to the base station may be: receiving the coding capability of the first terminal triggered by the coding capability request sent by the base station, or actively reporting the coding capability of the first terminal.
- an optional method for transmitting coding capability indication information to the base station is provided by means of receiving a coding capability request sent by the base station to feedback the coding capability of the first terminal.
- an encoding capability request message sent by the base station for requesting the first terminal to report its encoding capability may be received.
- the coding capability request indication requestCodec carried in the UECapabilityEnquiry message sent by the base station may be, but is not limited to, received.
- the coding capability supported by the first terminal is reported to the base station. For example, it may be, but is not limited to, sending a capability indication supportedCodecList carried in the UECapabilityInformation message.
- an optional manner in which the first terminal actively reports its coding capability is sent to the base station to send coding capability indication information.
- the first terminal and the second terminal of the opposite end can negotiate the coding mode to be used in establishing a service communication.
- the first terminal may report the coded mode supported by each service to the base station. For example, it may be, but is not limited to, sending a set of encoding modes supported by each DRB in the SupportCodecInfo message.
- the network status of the base station detected by the base station may be, but is not limited to, the transmission rate of information in the network of the base station, the coding rate of each coding mode in the network of the base station, and the network of the base station.
- the coding capability indication information may be, but is not limited to, a coding mode supported by each communication service of the first terminal and/or a coding rate corresponding to each coding mode, and the first terminal and the second terminal of the communication peer end together A supported coding scheme and/or a set of coding rates corresponding to each coding mode.
- the coding capability indication information may be, but is not limited to, carrying at least one of the following: an identifier of an encoding mode supported by the first terminal, an identifier of a coding rate supported by the first terminal, and a data radio bearer DRB established by the first terminal.
- the manner of sending the coding capability indication information of the first terminal to the base station may be, but is not limited to, receiving an encoding capability request sent by the base station for requesting acquisition of the coding capability indication information of the first terminal, and then The coding capability indication information of the first terminal is sent to the base station; or the coding capability indication information of the first terminal is actively reported to the base station.
- the information that the base station requests to obtain the coding capability indication information of the first terminal may be received, and then the information related to the coding capability of the first terminal is reported according to the indication of the coding capability indication information, and the information may be, but not limited to, the following information. At least one of: an encoding mode identifier supported by the first terminal; an identifier of the encoding rate supported by the first terminal; an identifier of an available encoding mode of the DRB established by the first terminal; and an identifier of an available encoding rate of the DRB established by the first terminal.
- the second method may be, but is not limited to, the information about the coding capability of the first terminal being actively reported when the first terminal needs to be configured with the coding mode.
- the information may be, but is not limited to, at least one of the following information: the coding mode supported by the first terminal.
- the coding capability indication information of the first terminal may be sent to the base station in different manners.
- the network state of the base station is good, for example, when the information transmission rate in the current network is higher than a certain preset value, the network state of the base station is considered to be good, and the obtained base station is sent by using the base station.
- the method of obtaining the request for the coding capability of the first terminal is the first
- the encoding mode with a higher encoding rate of the terminal configuration improves the communication quality of the first terminal.
- the network state of the first terminal is good, for example, when the information transmission rate of the current first terminal is higher than a certain preset value, the network state of the first terminal is considered to be good.
- the first terminal actively reports the coding capability of the first terminal to obtain a coding mode with a higher coding rate configured for the first terminal, so as to improve the communication quality of the first terminal.
- the coding mode configured for the first terminal considers both the coding capability of the first terminal and the network state of the base station, and solves the problem of network congestion caused by the configuration of the terminal-initiated coding mode in the related art, and implements dynamic adjustment. Encoding method to reduce the effect of network congestion.
- the coding mode is configured for the first terminal according to the coding capability of the first terminal and the network state detected by the base station, and the first terminal can configure the coding mode to the configured coding mode, so that The coding mode of the first terminal is consistent with the coding capability of the first terminal and the network state detected by the base station, thereby improving the success rate of the coding mode of the first terminal.
- the coding capability request may be, but is not limited to, carrying at least one of the following: a data radio bearer DRB identifier, an identifier of the coding mode, and an identifier of the coding rate.
- the information may be, but is not limited to, negotiate with the second terminal of the communication peer.
- the general coding set for identifying the coding capability of the first terminal and the bearer identifier corresponding to the universal coding set are obtained, and the coding capability indication information carrying the bearer identifier corresponding to the universal coding set and the universal coding set is reported to the base station.
- the first terminal After obtaining the universal coding set in the initial coding negotiation process with the second terminal of the communication peer end, the first terminal sends the bearer identifier corresponding to the universal code set and the universal code set to the base station.
- the first terminal can negotiate the coding mode of each service and/or the coding rate corresponding to each coding mode when the two terminals communicate with the second terminal of the communication peer.
- the base station configures the coding mode for the first terminal
- the coding capability of the first terminal and the second terminal and the network state detected by the base station can be considered at the same time, so that the coding mode configured for the first terminal can obtain the first terminal.
- the support of the second terminal thereby improving the success rate of the first terminal when configuring its coding mode for communicating with the second terminal.
- the first indication that the base station sends, by using the system message, the base station to support the coding mode of the first terminal is received.
- the configuration of the coding mode supported by the base station of the first terminal may be notified to the receiving base station through a system message (such as a codecChangeSupport indication message in the System Information Block 2 (SIB2) message).
- SIB2 System Information Block 2
- the coding mode configured by the base station to be the first terminal may be acquired by receiving the control message that is sent by the base station and carrying the coding mode configured for the first terminal.
- control message may be, but is not limited to, carrying at least one of: an identifier of the data radio bearer DRB, an identifier of the configured coding mode, an identifier of the configured coding rate, a level of the increased coding rate, and a reduced coding rate. grade.
- the coding mode of the first terminal may be configured according to the coding mode configured for the first terminal, and the coding for indicating that the first terminal is configured according to the first terminal is sent to the base station.
- a second indication message of the configuration result obtained after the configuration is performed.
- the configuration result includes one of the following: the configuration succeeds, the configuration fails, the configuration is rejected, and the configuration is not rejected.
- the first terminal may select a coding mode and a coding rate configured by the base station to perform a subsequent negotiation process.
- the first terminal may trigger the configuration process of the coding mode according to the configuration of the base station.
- the first terminal may send the configuration result of the coding mode to the base station, where the configuration result may be: a notification that the coding is successfully configured; a notification that the coding failure is configured; and an indication that the second terminal of the first terminal and/or the communication peer rejects the coding configuration; The first terminal and/or the second terminal of the communication peer does not refuse to compile An indication of the code configuration.
- the base station can record the configuration result of the coding mode.
- the configuration of the failed coding mode can no longer be triggered.
- the coding mode of the configuration may be updated for the first terminal according to the configuration result of the coding mode configured for the first terminal, thereby avoiding the coding mode in which the configuration result of the first terminal is configured to be failed, and the success rate of the coding mode configuration is improved.
- step S304 determining whether to configure the coding mode of the first terminal according to the coding mode configured for the first terminal and the information transmission state of the first terminal, and determining to configure the coding mode of the first terminal In this case, the encoding mode of the first terminal is configured.
- the first terminal may be, but is not limited to, determining whether to configure the current coding mode as the coding mode configured by the base station according to its own communication quality, and the communication quality of the first terminal may be the information of the first terminal in the current coding mode.
- the transmission rate if the current coding mode has met the communication requirements of the first terminal, the first terminal may choose not to configure the coding mode.
- the first terminal may choose to configure the coding mode to be a coding mode configured by the base station, so as to improve the coding mode.
- the communication quality of a terminal determining whether to configure the current coding mode as the coding mode configured by the base station according to its own communication quality, and the communication quality of the first terminal may be the information of the first terminal in the current coding mode.
- the transmission rate if the current coding mode has met the communication requirements of the first terminal, the first terminal may choose not to configure the coding mode.
- the first terminal may choose to configure the coding mode to be a coding mode configured by the base station, so as
- determining whether to configure the coding mode of the first terminal according to the coding mode configured for the first terminal and the information transmission state of the first terminal may be, but is not limited to, determining, by determining one of the following, the data packet of the first terminal. Whether the packet loss rate is lower than the first preset threshold, whether the data packet delay of the first terminal is lower than the second preset threshold, and whether the signal quality of the first terminal is higher than a third preset threshold, where the judgment result is In the case of the first terminal, the coding mode of the first terminal may be determined. If the determination result is negative, the coding mode of the first terminal may not be configured.
- the network may be sent to the base station to indicate that the first terminal receives the first The feedback message of the coding mode configured by the terminal, if the base station receives the feedback message, determines that the first terminal has received the coding mode configured for the first terminal.
- the base station may but not The base station may send the coding mode configured for the first terminal to the first terminal again, and may send the signal to the base station to receive the feedback message of the first terminal. To ensure that the first terminal can receive the coding mode configured for it, thereby improving the success rate of the configuration coding mode.
- the present invention also provides an optional embodiment.
- the coding mode of the terminal during the call cannot be changed by the network control, and the signal quality and congestion of the entire network cannot be considered, which may result in user experience. decline.
- the base station takes eNB1 as an example
- the first terminal takes UE1 as an example
- the second terminal takes UE2 as an example
- the control message takes control signaling as an example.
- FIG. 4 is a flowchart of a coding mode configuration method according to an optional embodiment of the present invention. As shown in FIG. 4, the process includes the following steps:
- Step S401 The eNB1 sends an encoding capability request, and requests the UE1 to report its coding capability.
- the sent UECapabilityEnquiry message carries a requestCodec capability request indication.
- Step S402 After receiving the coding capability request of the eNB1, the UE1 reports all the coding capabilities supported by the UE1 to the eNB1. For example, the received UECapabilityInformation message carries a supportedCodecList capability indication.
- Step S403 The eNB1 determines, according to the information about the transmission state of the voice or video service of the UE1 and the current load on the network side, the coding mode that the UE1 should currently adopt.
- Step S404 According to the determination of step S403, the eNB1 sends control signaling to change the current coding mode of the UE1.
- the coding mode (codec) used to indicate a certain DRB identifier (DRB_ID) is sent in the RRCConnectionReconfiguration message.
- Step S405 The UE1 feeds back to the base station to receive the coding mode configured by the eNB1. For example, the UE sends the RRCConnectionReconfigurationComplete message to indicate that the UE1 receives the coding mode configured by the base station.
- Step S406 The UE1 determines whether to change the coding mode according to the coding mode configured by the eNB1 and the network state of the UE1 itself.
- Step S407 The UE1 initiates and communicates the encoding mode configuration process of the UE2 of the opposite end.
- Step S408 The UE1 notifies the eNB1 of the result of the coding configuration, and the result may be: the configuration is successful; the configuration fails; and the UE1 and/or the UE2 reject the configuration request of the eNB1.
- the eNB1 configuration result is notified by sending a CodecChangeStatus message.
- FIG. 5 is a flowchart of another coding mode configuration method according to an alternative embodiment of the present invention. As shown in FIG. 5, the process includes the following steps:
- Step S501 The eNB1 notifies the UE1 by using a system message, which supports the configuration of the coding mode of the UE1.
- a system message which supports the configuration of the coding mode of the UE1.
- the configuration of the coding mode of UE1 is supported by eNB1 by codecChangeSupport in the SIB2 (SystemInformationBlock2) message.
- SIB2 SystemInformationBlock2
- the process of the eNB1 transmitting the system message to the UE1 may be completed when the eNB1 performs system configuration on the UE1, and is indicated by a broken line in FIG.
- Step S502 The UE1 and the UE2 of the communication peer negotiate the coding mode to be used in establishing the service communication.
- Step S503 The UE1 reports the coding mode supported by each service negotiated by the eNB1. For example: Sending a SupportCodecInfo message indicates a set of encoding modes supported by each DRB.
- Step S504 The eNB1 configures the coding mode currently used by the UE1 according to the transmission state of the voice or video service of the UE1 and the current load on the network side.
- Step S505 According to the determination of step S504, the eNB1 sends control signaling to configure the current coding mode of the UE1.
- the coding mode (codec) that can be adopted by a certain DRB identifier (DRB_ID) is indicated in the transmitted RRCConnectionReconfiguration message.
- Step S506 The UE1 feeds back the coding mode configured by the eNB1 for the UE1. For example, the UE1 receives the coding mode configured by the eNB1 for the UE1 by transmitting the RRCConnectionReconfigurationComplete message.
- Step S507 The UE1 determines whether to perform the coding mode configuration according to the coding mode configured by the eNB1 and the information transmission state of the UE1 itself.
- Step S508 The UE1 initiates and communicates the encoding mode configuration process of the UE2 of the opposite end.
- Step S509 The UE1 notifies the eNB1 of the result of the coding configuration, and the configuration result may be, but is not limited to, that the configuration is successful; the configuration fails; and the UE1 and/or the UE2 reject the configuration request of the eNB1. For example, send a CodecChangeStatus message carrying the configuration result.
- the base station can dynamically adjust the coding mode of the voice and video services according to the capabilities of the terminal, thereby improving the user experience while reducing communication congestion.
- the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
- the technical solution of the present invention in essence or the contribution to the related art can be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM).
- the instructions include a number of instructions for causing a terminal device (which may be a cell phone, computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.
- an encoding mode configuration device is also provided, which is used to implement the foregoing embodiments and preferred embodiments, and has not been described again.
- the term “module” may implement a combination of software and/or hardware of a predetermined function.
- the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
- FIG. 6 is a structural block diagram of an optional coding mode configuration apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus includes:
- the first obtaining module 62 is configured to obtain the coding capability indication information of the first terminal in the coverage of the base station, where the coding capability indication information is used to identify the coding capability of the first terminal;
- the detecting module 64 is coupled to the first obtaining module 62, and configured to detect a network state of the base station;
- the first configuration module 66 is coupled to the detection module 64 and configured to configure the coding mode for the first terminal according to the detected network status and the coding capability indication information.
- the foregoing coding mode configuration apparatus may be, but is not limited to, applied to a scenario in which an encoding mode of the terminal is configured.
- the modified target encoding mode is configured when the encoding is modified by the receiving end.
- the foregoing coding mode configuration apparatus may be, but is not limited to, applied to a core network entity or a network element, such as a base station, a server, a router, a switch, or the like.
- a base station is taken as an example for description and description.
- the first obtaining module 62 acquires the coding capability indication information of the first terminal in the coverage of the base station to obtain the coding capability of the first terminal, and the detection module 64 detects the network state of the base station, and then the first configuration module 66
- the coding mode configured for the first terminal may be selected from the coding mode supported by the coding capability of the first terminal according to the network state of the base station, and configured to the first terminal, for example, the detection module 64 detects that the network state is good.
- the first configuration module 66 configures the coding mode with a higher coding rate in the range of the coding capability of the first terminal acquired by the first acquisition module 62, so that the coding mode of the first terminal satisfies the detection detected by the current base station.
- the network state solves the problem of network congestion caused by the configuration of the terminal-initiated coding mode in the related art, realizes dynamic adjustment of the coding mode, and reduces the effect of network congestion.
- the coding mode is configured for the first terminal according to the coding capability of the first terminal and the network state detected by the base station, and the first terminal can configure the coding mode to the configured coding mode, so that The coding mode of the first terminal is consistent with the coding capability of the first terminal and the network state detected by the base station, thereby improving the success rate of the coding mode of the first terminal.
- the manner in which the first acquiring module 62 acquires the encoding capability of the first terminal may be, but is not limited to, triggering the first terminal to feed back the encoding request by sending the encoding capability request to the first terminal.
- the coding capability may also be an acquisition coding capability that is actively reported by the first terminal.
- the optional first obtaining module 62 obtains the encoding capability of the first terminal by sending the encoding capability request to the first terminal to trigger the first terminal to feed back its encoding capability.
- the coding capability of the first terminal is not limited to the encoding capability of the first terminal.
- the first acquiring module 62 of the base station may send an encoding capability request message to the first terminal, requesting the first terminal to report its encoding capability.
- the first acquisition module 62 of the base station may, but is not limited to, carry the coding capability request indication requestCodec in the UECapabilityEnquiry message.
- the first terminal After receiving the coding capability request message sent by the base station, the first terminal reports the coding capability supported by the first terminal to the first acquisition module 62 of the base station.
- the first terminal may, but is not limited to, carry the capability indication supportedCodecList in the UECapabilityInformation message.
- the optional first obtaining module 62 obtains the encoding capability of the first terminal by acquiring the encoding capability of the first terminal.
- the first terminal and the second terminal of the communication peer negotiate the coding mode to be used in establishing the service communication.
- the first terminal reports the coding mode of the service support to the first acquisition module 62 of the base station.
- the first terminal may, but is not limited to, indicate a set of coding modes supported by each DRB in a SupportCodecInfo message.
- the network status of the base station detected by the detecting module 64 may be, but is not limited to, the transmission rate of information in the network of the base station, the coding rate of each coding mode in the network of the base station, the blocking rate of the network of the base station, and the base station.
- the packet loss rate of the network the resource utilization rate in the network of the base station, and the like.
- the coding capability indication information may be, but is not limited to, a coding mode supported by each communication service of the first terminal and/or a coding rate corresponding to each coding mode, and the first terminal is shared with the second terminal of the communication peer end thereof.
- the coding capability indication information may be, but is not limited to, carrying at least one of the following: The identifier of the coding mode supported by the first terminal, the identifier of the coding rate supported by the first terminal, the identifier of the available coding mode of the data radio bearer DRB established by the first terminal, and the identifier of the available coding rate of the DRB established by the first terminal.
- FIG. 7 is a structural block diagram of another optional coding mode configuration apparatus according to an embodiment of the present invention.
- the first acquisition module 62 includes:
- the first sending unit 72 is configured to send an encoding capability request to the first terminal, where the encoding capability request is used to request to acquire the encoding capability indication information of the first terminal; 2) the first receiving unit 74 is coupled to the first sending The unit 72 is configured to receive the coding capability indication information of the first terminal sent by the first terminal; or
- the obtaining unit 76 is configured to obtain the coding capability indication information reported by the first terminal.
- the first sending unit 72 requests to obtain the coding capability indication information of the first terminal, and the first receiving unit 74 receives the information related to the coding capability of the first terminal that is reported by the first terminal according to the indication of the coding capability indication information, where
- the encoding capability related information may include, but is not limited to, at least one of the following information: an encoding mode identifier supported by the first terminal; an identifier of the encoding rate supported by the first terminal; and an identifier of an available encoding mode of the DRB established by the first terminal; The identifier of the available coding rate of the DRB established by a terminal.
- the first terminal may, but is not limited to, actively report information related to the coding capability of the first terminal when the coding mode needs to be configured, and the information related to the coding capability may include, but is not limited to, at least one of the following information: the first terminal The identifier of the encoding mode supported by the first terminal; the identifier of the available encoding mode of the DRB established by the first terminal; and the identifier of the available encoding rate of the DRB established by the first terminal.
- the first obtaining module 62 can acquire the encoding capability of the first terminal in different manners.
- the network state of the base station is good, for example, when the information transmission rate in the current network is higher than a certain preset value, the network state of the base station is considered to be good, and the first sending unit 72 passes the request.
- the manner of obtaining the coding capability of the first terminal is received by the first receiving unit 74 to configure a coding mode with a higher coding rate for the first terminal, so as to improve the communication quality of the first terminal.
- the network state of the first terminal is good
- the network state of the first terminal is considered to be good, and the manner in which the first terminal actively reports its coding capability is acquired by the obtaining unit 76 as the first terminal.
- a coding mode with a higher coding rate is configured to improve the communication quality of the first terminal.
- the coding mode configured for the first terminal considers both the coding capability of the first terminal and the network state of the base station, and solves the problem of network congestion caused by the configuration of the terminal-initiated coding mode in the related art, and implements dynamic adjustment. Encoding method to reduce the effect of network congestion.
- the coding mode is configured for the first terminal according to the coding capability of the first terminal and the network state detected by the base station, and the first terminal can configure the coding mode to the configured coding mode, so that The coding mode of the first terminal is consistent with the coding capability of the first terminal and the network state detected by the base station, thereby improving the success rate of the coding mode of the first terminal.
- the coding capability request may be, but is not limited to, carrying at least one of the following: a data radio bearer DRB identifier, an identifier of the coding mode, and an identifier of the coding rate.
- the obtaining unit 76 is configured to: obtain, by the first terminal, the coding capability indication information that carries the bearer identifier corresponding to the universal code set and the universal code set, where the bearer identifier corresponding to the universal code set and the universal code set is used.
- the coding capability of the first terminal is identified, and the bearer identifier corresponding to the universal code set and the universal code set is obtained by the first terminal and the second terminal in a negotiated coding manner, and a communication connection is established between the second terminal and the first terminal.
- the first terminal After obtaining the universal coding set in the initial coding negotiation process with the second terminal of the communication peer end, the first terminal sends the bearer identifier corresponding to the universal code set and the universal code set to the acquiring unit 76.
- the first terminal may negotiate the coding mode of each service and/or the coding rate corresponding to each coding mode when the two terminals communicate with the second terminal of the communication peer.
- the coding mode is configured for the first terminal
- the coding capability of the first terminal and the second terminal and the network state detected by the base station can be considered at the same time, so that the coding mode configured for the first terminal can obtain the first terminal and the second terminal. Support, thereby improving the success rate of the first terminal when configuring its coding mode for communicating with the second terminal.
- FIG. 8 is a structural block diagram of still another optional coding mode configuration apparatus according to an embodiment of the present invention. As shown in FIG. 8, the first acquisition module 62 further includes:
- the second sending unit 82 is coupled to the obtaining unit 76, and is configured to send a first indication message to the first terminal by using a system message, where the first indication message is used to indicate that the base station supports configuring the encoding mode of the first terminal.
- the second sending unit 82 may, but is not limited to, notify the first terminal by using a system message (such as a codecChangeSupport indication message in the System Information Block 2 (SIB2) message), and the base station supports the change of the coding mode.
- a system message such as a codecChangeSupport indication message in the System Information Block 2 (SIB2) message
- SIB2 System Information Block 2
- the first terminal can be informed that the base station supports the first terminal configuration coding mode, and when the first terminal needs to configure the coding mode, the first terminal can report the coding capability to the base station.
- FIG. 9 is a structural block diagram of still another optional coding mode configuration apparatus according to an embodiment of the present invention.
- the first configuration module 66 includes:
- the determining unit 92 is configured to determine whether the network status satisfies a predetermined condition
- the selecting unit 94 is coupled to the determining unit 92, and configured to select the first encoding mode from the encoding mode indicated by the encoding capability indication information as the encoding mode configured for the first terminal, if the network state satisfies the predetermined condition; And/or, in a case that the network state does not satisfy the predetermined condition, selecting the second coding mode from the coding mode indicated by the coding capability indication information as the coding mode configured for the first terminal; wherein, the coding rate of the first coding mode a coding rate higher than the second coding mode;
- the third sending unit 96 is coupled to the selecting unit 94 and configured to send a control message to the first terminal, where the control message carries the encoding mode configured for the first terminal.
- the predetermined condition that the determining unit 92 is set to determine the quality of the network state detected by the base station may be the network information transmission rate detected by the base station.
- the determining unit 92 may be configured to determine, by at least one of the following, whether the network status meets a predetermined condition: determining whether the packet loss rate of the first terminal is lower than a preset packet loss rate; determining the first terminal Whether the packet delay is lower than the preset packet delay; determining whether the signal quality of the first terminal is higher than the preset signal quality; wherein, if the judgment result is no, Make sure the network status does not meet the predetermined conditions.
- the packet loss rate, the data packet delay, and the signal quality are taken as an example to describe how to determine the network state. The manner in which the present invention determines the network state is not limited thereto, and details are not described herein again.
- the first configuration module 66 can determine the quality of the network state according to whether the network state meets a predetermined condition. When the network is relatively good, configure a coding mode with a relatively high coding rate for the first terminal, and then the control information will be The coding mode of the first terminal configuration is sent to the first terminal.
- the coding mode in the first terminal coding capability range is configured for the first terminal according to the quality of the network state detected by the base station, and the problem of network congestion caused by the configuration of the terminal initiated coding mode in the related art is solved, and the dynamic adjustment is realized. Encoding method to reduce the effect of network congestion.
- the coding mode is configured for the first terminal according to the coding capability of the first terminal and the network state detected by the base station, and the first terminal can configure the coding mode to the configured coding mode, so that The coding mode of the first terminal is consistent with the coding capability of the first terminal and the network state detected by the base station, thereby improving the success rate of the coding mode of the first terminal.
- FIG. 10 is a structural block diagram of still another optional coding mode configuration apparatus according to an embodiment of the present invention. As shown in FIG. 10, optionally, the foregoing apparatus further includes:
- the first receiving module 102 is coupled to the first configuration module 66, and configured to receive the second indication message sent by the first terminal, where the second indication message is used to indicate that the first terminal is configured according to the encoding mode configured for the first terminal.
- the configuration result includes one of the following: the configuration succeeds, the configuration fails, the configuration is rejected, and the configuration is not rejected.
- the recording module 104 is coupled to the first receiving module 102 and configured to record the correspondence between the encoding mode configured by the first terminal and the configuration result.
- the first terminal may select a coding mode and a coding rate configured by the base station to perform a subsequent negotiation process.
- the first terminal may trigger the configuration process of the coding mode according to the configuration of the base station.
- the first receiving module 102 can receive the configuration result of the encoding mode sent by the first terminal, where
- the configuration result may be: a notification that the encoding is successful; a notification that the encoding fails; the first terminal and/or the second terminal of the communication peer rejects the indication of the encoding configuration; the second terminal of the first terminal and/or the communication peer does not reject the encoding.
- Configuration instructions may be: a notification that the encoding is successful; a notification that the encoding fails; the first terminal and/or the second terminal of the communication peer rejects the indication of the encoding configuration; the second terminal of the first terminal and/or the communication peer does not reject the encoding.
- the recording module 104 can record the configuration result of the encoding mode. When the encoding mode is subsequently triggered, the configuration of the failed or rejected encoding mode can no longer be triggered.
- FIG. 11 is a structural block diagram of still another optional coding mode configuration apparatus according to an embodiment of the present invention. As shown in FIG. 11, optionally, the foregoing apparatus further includes:
- the update module 112 is coupled to the recording module 104 and configured to update the encoding mode for the first terminal according to the network status, the encoding capability indication information, and the corresponding relationship.
- the updating module 112 is configured to select, according to the network status, an encoding manner that is configured as a configuration success or a configuration is not rejected, as an encoding manner that is updated for the first terminal.
- the encoding mode for the first terminal may be, but is not limited to, the encoding mode selected as the configuration success or the configuration is rejected by the update module 112 from the encoding capability indication information according to the network status. It is also possible that when the coding mode is configured for the first terminal again, the coding mode in which the configuration result is a configuration failure or the configuration is rejected may not be configured for the first terminal.
- the update module 112 may further update the configured coding mode of the first terminal according to the configuration result of the coding mode configured for the first terminal, thereby avoiding the coding mode that is configured as the configuration failure for the first terminal, and improving the coding.
- the success rate of the mode configuration may be further updated.
- FIG. 12 is a structural block diagram of still another optional coding mode configuration apparatus according to an embodiment of the present invention. As shown in FIG. 12, the device further includes:
- the second receiving module 122 is coupled to the first configuration module 66 and configured to receive the feedback message sent by the first terminal, where the feedback message is used to indicate that the first terminal receives the encoding mode configured for the first terminal.
- the method in order to determine whether the first terminal receives the coding mode configured for the first terminal, the method may be, but is not limited to, being sent by the first terminal to indicate that the first terminal receives the first mode.
- the feedback message of the encoding mode configured by the terminal if the second receiving module 122 receives the feedback message, determines that the first terminal has received the encoding mode configured for the first terminal.
- the second receiving module 122 may be, but is not limited to, that the first terminal does not receive the encoding mode configured for the first terminal, and the first configuration module 66 may The first terminal sends the encoding mode configured for the first terminal, and the first configuration module 66 can send the feedback message to the first terminal. To ensure that the first terminal can receive the coding mode configured for it, thereby improving the success rate of the configuration coding mode.
- each of the above modules may be implemented by software or hardware.
- the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
- an encoding mode configuration device is also provided, which is used to implement the foregoing embodiments and preferred embodiments, and has not been described again.
- the term “module” may implement a combination of software and/or hardware of a predetermined function.
- the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
- FIG. 13 is a structural block diagram of still another optional coding mode configuration apparatus according to an embodiment of the present invention. As shown in FIG. 13, the apparatus includes:
- the first sending module 132 is configured to send, to the base station, coding capability indication information of the first terminal in the coverage of the base station;
- the second obtaining module 134 is coupled to the first sending module 132, and configured to acquire an encoding manner configured by the base station according to the encoding capability indication information and the network state detected by the base station.
- the foregoing coding mode configuration apparatus may be, but is not limited to, applied to a scenario in which an encoding mode of the terminal is configured.
- it may be, but is not limited to, a scenario in which the terminal performs the configuration negotiation of the coding mode at the start and the end of the call establishment in the LTE system, and may also be In the LTE system, when the terminal performs a modification in the coding mode during the call, the modified target coding mode is configured.
- the foregoing coding mode configuration apparatus may be, but is not limited to, being applied to a terminal.
- the terminal may be, but not limited to, a mobile phone, a tablet computer, a notebook computer, a desktop computer, a smart wearable device, or the like.
- the first sending module 132 sends the coding capability indication information of the first terminal in the coverage of the base station to the base station to provide the coding capability of the first terminal to the base station, and the second acquisition module 134 acquires the base station according to the detection.
- the network state of the base station is selected from the coding mode supported by the coding capability of the first terminal, and is configured by the coding mode of the first terminal. For example, if the network state is good, the second acquisition module 134 acquires the base station as the first terminal.
- the coding mode with a higher coding rate in the range of the coding capability of the first terminal is configured, so that the coding mode of the first terminal satisfies the network state detected by the current base station, and the configuration of the coding mode initiated by the terminal in the related art is solved.
- the problem of network congestion is to dynamically adjust the coding mode and reduce the effect of network congestion.
- the base station may obtain the coding mode configured by the base station according to the coding capability of the first terminal and the network state detected by the base station, and the first terminal may configure the coding mode as the base station configuration.
- the coding mode of the first terminal is consistent with the coding capability of the first terminal and the network state detected by the base station, thereby improving the success rate of the coding mode of the first terminal.
- the manner in which the first sending module 132 sends the encoding capability indication information to the base station may be that the encoding capability of the first terminal is triggered by receiving the encoding capability request sent by the base station, or may be actively reported to the first terminal. Coding ability.
- the optional first sending module 132 sends the encoding capability indication information to the base station by receiving the encoding capability request sent by the base station to feedback the encoding capability of the first terminal.
- an encoding capability request message sent by the base station for requesting the first terminal to report its encoding capability may be received.
- the coding capability request indication requestCodec carried in the UECapabilityEnquiry message sent by the base station may be, but is not limited to, received.
- the first sending module 132 After receiving the coding capability request message sent by the base station, the first sending module 132 reports the coding capability supported by the first terminal to the base station. For example, it may be, but is not limited to, sending a capability indication supportedCodecList carried in the UECapabilityInformation message.
- an optional first sending module 132 is configured to send the encoding capability indication information to the base station in a manner that actively reports its encoding capability.
- the first terminal and the second terminal of the opposite end can negotiate the coding mode to be used in establishing a service communication.
- the first sending module 132 can report the coded mode supported by each service to the base station. For example, it may be, but is not limited to, sending a set of encoding modes supported by each DRB in the SupportCodecInfo message.
- the network status of the base station detected by the base station may be, but is not limited to, the transmission rate of information in the network of the base station, the coding rate of each coding mode in the network of the base station, the blocking rate of the network of the base station, and the network of the base station. Packet loss rate, resource utilization in the network of the base station, and the like.
- the coding capability indication information may be, but is not limited to, a coding mode supported by each communication service of the first terminal and/or a coding rate corresponding to each coding mode, and the first terminal and the second terminal of the communication peer end together A supported coding scheme and/or a set of coding rates corresponding to each coding mode.
- the coding capability indication information may be, but is not limited to, carrying at least one of the following: an identifier of an encoding mode supported by the first terminal, an identifier of a coding rate supported by the first terminal, and a data radio bearer DRB established by the first terminal.
- FIG. 14 is a structural block diagram of still another optional coding mode configuration apparatus according to an embodiment of the present invention.
- the first sending module 132 includes:
- the second receiving unit 142 is configured to receive an encoding capability request sent by the base station, where the encoding capability request is used to request to acquire the encoding capability indication information of the first terminal; and 2) the fourth sending unit 144 is coupled to the second receiving unit. 142. Set, to send, to the base station, coding capability indication information of the first terminal; or
- the reporting unit 146 is configured to report the coding capability indication information of the first terminal to the base station.
- the first sending module 132 may, but is not limited to, report the coding capability indication information of the first terminal in different manners.
- the second receiving unit 142 may receive a message that the base station requests to obtain the coding capability indication information of the first terminal, and then report the information related to the coding capability of the first terminal by the fourth sending unit 144 according to the indication of the coding capability indication information.
- the information may be, but is not limited to, at least one of the following information: an encoding mode identifier supported by the first terminal; an identifier of the encoding rate supported by the first terminal; an identifier of an available encoding mode of the DRB established by the first terminal; The identity of the available coding rate of the established DRB.
- the information about the coding capability of the first terminal may be reported by the reporting unit 146.
- the information may be, but is not limited to, at least one of the following information: the first terminal.
- the first sending module 132 may send the coding capability indication information of the first terminal to the base station in different manners.
- the network state of the base station is good, for example, when the information transmission rate in the current network is higher than a certain preset value, the network state of the base station is considered to be better, and the second receiving unit 142 receives the network state.
- the request sent by the base station to obtain the coding capability of the first terminal, and the fourth sending unit 144 sends the coding capability of the first terminal to the base station in a manner that the coding rate of the first terminal is configured to be higher, so as to improve the first The communication quality of the terminal.
- the network state of the first terminal is good, for example, when the information transmission rate of the current first terminal is higher than a certain preset value, the network state of the first terminal is considered to be good.
- the reporting unit 146 actively reports the encoding capability of the first terminal to obtain a coding mode with a higher encoding rate configured by the first terminal, so as to improve the communication quality of the first terminal.
- the coding mode configured for the first terminal considers both the coding capability of the first terminal and the network state of the base station, and solves the problem of network congestion caused by the configuration of the terminal-initiated coding mode in the related art, and implements dynamic adjustment. Encoding method to reduce the effect of network congestion.
- the coding mode is configured for the first terminal according to the coding capability of the first terminal and the network state detected by the base station, and the first terminal can configure the coding mode to the configured coding mode, so that The coding mode of the first terminal is consistent with the coding capability of the first terminal and the network state detected by the base station, thereby improving the success rate of the coding mode of the first terminal.
- the coding capability request may be, but is not limited to, carrying at least one of the following: a data radio bearer DRB identifier, an identifier of the coding mode, and an identifier of the coding rate.
- FIG. 15 is a structural block diagram of still another optional coding mode configuration apparatus according to an embodiment of the present invention.
- the reporting unit 146 includes:
- the negotiation sub-unit 152 is configured to negotiate the coding mode with the second terminal, and obtain a bearer identifier corresponding to the universal code set and the universal code set, where the bearer identifier corresponding to the universal code set and the universal code set is used to identify the first terminal. Encoding capability, a communication connection is established between the second terminal and the first terminal;
- the reporting sub-unit 154 is coupled to the negotiation sub-unit 152 and configured to report to the base station the coding capability indication information carrying the bearer identifier corresponding to the universal coding set and the universal coding set.
- the reporting sub-unit 154 sends the bearer identifier corresponding to the universal code set and the universal code set to the base station.
- the first terminal may negotiate the coding mode of each service and/or the coding rate corresponding to each coding mode when the two terminals of the communication peer communicate with the second terminal of the communication peer by the negotiation sub-unit 152, and the negotiation is performed by the reporting sub-unit 154.
- the result obtained is reported to the base station.
- the base station configures the coding mode for the first terminal
- the coding capability of the first terminal and the second terminal and the network state detected by the base station can be considered at the same time, so that the coding mode configured for the first terminal can obtain the first terminal and the second terminal.
- the support of the terminal thereby improving the success rate of the first terminal when configuring its coding mode for communicating with the second terminal.
- FIG. 16 is a structural block diagram of still another optional coding mode configuration apparatus according to an embodiment of the present invention. As shown in FIG. 16, the reporting unit 146 further includes:
- the receiving sub-unit 162 is coupled to the negotiating sub-unit 152, and configured to receive the first indication message sent by the base station by using the system message, where the first indication message is used to indicate that the base station supports the configuration of the encoding mode of the first terminal.
- the receiving sub-unit 162 may, but is not limited to, the receiving base station notifying the base station of the first terminal to support the coding mode configuration by using a system message (such as a codecChangeSupport indication message in the System Information Block 2 (SIB2) message).
- SIB2 System Information Block 2
- the receiving the receiving unit 162 can receive the first indication message carried in the system message sent by the base station, so that the first terminal knows that the base station supports the first terminal configuration coding mode, and when the first terminal needs to configure the coding mode, Report the coding capability to the base station.
- the second obtaining module 134 is configured to: receive a control message sent by the base station, where the control message carries an encoding manner configured for the first terminal.
- control message may be, but is not limited to, carrying at least one of: an identifier of the data radio bearer DRB, an identifier of the configured coding mode, an identifier of the configured coding rate, a level of the increased coding rate, and a reduced coding rate. grade.
- FIG. 17 is a structural block diagram of still another optional coding mode configuration apparatus according to an embodiment of the present invention. As shown in FIG. 17, the device further includes:
- a second configuration module 172 coupled to the second obtaining module 134, configured to configure an encoding mode of the first terminal according to an encoding manner configured for the first terminal;
- the second sending module 174 is coupled to the second configuration module 172, and configured to send a second indication message to the base station, where the second indication message is used to indicate that the first terminal is configured according to the encoding mode configured for the first terminal.
- the obtained configuration result includes one of the following: the configuration succeeds, the configuration fails, the configuration is rejected, and the configuration is not rejected.
- the first terminal may select a coding mode and a coding rate configured by the base station to perform a subsequent negotiation process.
- the first terminal may trigger the configuration process of the coding mode by the second configuration module 172 according to the configuration of the base station.
- the first terminal may send the configuration result of the coding mode to the base station by using the second sending module 174, where the configuration result may be: a notification that the coding is successfully configured; a notification that the coding failure is configured;
- the second terminal of a terminal and/or the communication peer rejects the indication of the coding configuration; the first terminal and/or the second terminal of the communication peer does not reject the indication of the coding configuration.
- the base station can record the configuration result of the coding mode.
- the configuration of the failed coding mode can no longer be triggered.
- the coding mode of the configuration may be updated for the first terminal according to the configuration result of the coding mode configured for the first terminal, thereby avoiding the coding mode in which the configuration result of the first terminal is configured to be failed, and the success rate of the coding mode configuration is improved.
- FIG. 18 is a structural block diagram of still another optional coding mode configuration apparatus according to an embodiment of the present invention.
- the second configuration module 172 includes:
- a determining unit 182 configured to determine whether to configure an encoding mode of the first terminal according to an encoding manner configured for the first terminal and an information transmission state of the first terminal;
- the configuration unit 184 is coupled to the determining unit 182, and configured to configure the encoding mode of the first terminal in the case of determining the encoding mode of the first terminal.
- FIG. 19 is a structural block diagram of still another optional coding mode configuration apparatus according to an embodiment of the present invention.
- the determining unit 182 includes:
- the determining sub-unit 192 is configured to determine one of the following: whether the packet loss rate of the first terminal is lower than the first preset threshold, whether the packet delay of the first terminal is lower than the second preset threshold, and the first Whether the signal quality of the terminal is higher than a third preset threshold;
- the first terminal may be, but is not limited to, determining whether the current coding mode is configured as an encoding mode configured by the base station according to its own communication quality, and the communication quality of the first terminal may be the current coding mode of the first terminal. If the determining sub-unit 194 determines that the current encoding mode has met the communication requirements of the first terminal, the first terminal may choose not to configure the encoding mode. Alternatively, if the determining sub-unit 192 determines that the current communication quality of the first terminal is good, the coding rate of the coding mode of the first terminal may be mentioned. High, then the determining sub-unit 194 can determine to configure the encoding mode to the encoding mode configured by the base station to improve the communication quality of the first terminal.
- the determining sub-unit 192 determines whether to configure the encoding mode of the first terminal according to the encoding mode configured for the first terminal and the information transmission state of the first terminal, and may determine one of the following: the data packet of the first terminal is lost. Whether the packet rate is lower than the first preset threshold, whether the data packet delay of the first terminal is lower than the second preset threshold, and whether the signal quality of the first terminal is higher than a third preset threshold, wherein the determination result is yes. In this case, the determining subunit 194 may determine the encoding mode of the first terminal, and if the determination result is no, the determining subunit 194 may determine that the encoding mode of the first terminal is not configured.
- FIG. 20 is a structural block diagram of still another optional coding mode configuration apparatus according to an embodiment of the present invention. As shown in FIG. 20, optionally, the apparatus further includes:
- the third sending module 202 is coupled to the second obtaining module 134 and configured to send a feedback message to the base station, where the feedback message is used to indicate that the first terminal receives the encoding mode configured for the first terminal.
- the third sending module 202 may send, by the third sending module 202, the base station to send the first terminal to receive the first The feedback message of the coding mode configured by the terminal, if the base station receives the feedback message, determines that the first terminal has received the coding mode configured for the first terminal. In an optional example, if the base station does not receive the feedback message, the base station may, but is not limited to, consider that the first terminal does not receive the coding mode configured for the first terminal, and the base station may send the first terminal to the first terminal again.
- the coding mode of the terminal configuration may be sent to the base station before receiving the feedback message of the first terminal. To ensure that the first terminal can receive the coding mode configured for it, thereby improving the success rate of the configuration coding mode.
- each of the above modules may be implemented by software or hardware.
- the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
- Embodiments of the present invention also provide a storage medium.
- the foregoing storage medium may be configured to store program code for performing the following steps:
- the coding capability indication information of the first terminal in the coverage of the base station is obtained, where the coding capability indication information is used to identify the coding capability of the first terminal.
- the storage medium is further arranged to store program code for performing the following steps:
- the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
- ROM Read-Only Memory
- RAM Random Access Memory
- a mobile hard disk e.g., a hard disk
- magnetic memory e.g., a hard disk
- modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. Perform the steps shown or described, or separate them into individual integrated circuit modules, or multiple of them Blocks or steps are made in a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
- the coding capability indication information of the first terminal in the coverage of the base station is obtained, where the coding capability indication information is used to identify the coding capability of the first terminal; the network state of the base station is detected; according to the detected network
- the state and coding capability indication information is a manner in which the coding mode is configured for the first terminal, that is, the coding capability of the first terminal is obtained by acquiring the coding capability indication information of the first terminal in the coverage of the base station, and the network state of the base station is obtained. Performing the detection, and then selecting the coding mode configured for the first terminal from the coding mode supported by the coding capability of the first terminal according to the network state of the base station, and configuring the coding mode for the first terminal to achieve better network state.
- the coding mode with a higher coding rate in the range of the coding capability of the first terminal is configured for the terminal, so that the coding mode of the first terminal satisfies the network state detected by the current base station, and the coding initiated by the terminal in the related art is solved.
- the problem of network congestion caused by the configuration of the mode realizes the dynamic adjustment of the coding side. And reduce network congestion effect.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明实施例提供了一种编码方式配置方法及装置。其中,该方法包括:获取基站的覆盖范围内第一终端的编码能力指示信息,其中,编码能力指示信息用于标识第一终端的编码能力;检测基站的网络状态;根据检测到的网络状态及编码能力指示信息,为第一终端配置编码方式。通过本发明实施例,解决了相关技术中由终端发起编码方式的配置导致的网络阻塞的问题,实现了动态调整编码方式,减少网络拥塞的效果。
Description
本发明实施例涉及通信领域,具体而言,涉及一种编码方式配置方法及装置。
在长期演进(Long Term Evolution,简称为LTE)系统下,基于互联网协议多媒体子系统的语音业务(Voice over LTE,简称为VoLTE)和基于互联网协议多媒体子系统的视频业务(Video over LTE,简称为ViLTE)是手机终端最基本的服务业务。语音编码主要支持的编码方式包括自适应多速率(Adaptive Multi-Rate,简称为AMR),宽带自适应多速率(Adaptive Multi-Rate-WideBand,简称为AMR-WB),增强语音服务(Enhanced Voice Services,简称为EVS)等。不同编码方式支持不同的编码速率,如AMR最小支持4.5kbps,最大支持12.2kbps。视频的编码速率参考H264协议中描述,分为不同的等级(level),最小支持64kbps,最大可以到240Mbps。
不同的编码速率,体现给使用者会有不同的感官体验。但是,编码速率越大,要求的LTE系统带宽就越大,又因为视频通话是双向业务,而常见的分时长期演进(Time Division Long Term Evolution,简称为TD-LTE)系统下,上行可用子帧过少,当采用较高视频编码速率时,因为资源受限,会导致调度不及时,出现弃包,体现在用户来看,就是视频出现模糊,卡顿,马赛克,图像停止等现象,不但对系统资源造成了较大的浪费,同时也没有提供较高的用户服务,在时分双工(Time Division Duplex,简称为TDD)配比2下,当视频速率超过1Mbps时,终端只能呆在小区的中心才能保障用户体验,稍微移动到小区远点,视频图像就会卡顿模糊严重。
LTE系统允许终端(User Equipment,简称为UE)在通话建立的开始阶段和通话过程中,在发送和接收端进行编码方式(codec)的配置协商,UE根据自己的通话质量可以触发通话codec的配置过程。由于这种codec
的协商是由UE触发的,而UE无法准确的知道当前网络的总体状态,如网络是否拥塞等,可能反而会导致用户体验的下降,如UE当前信号质量很好而请求提高codec等级,而提高codec等级后有可能会导致网络拥塞,不但会对触发codec变化的UE产生影响,而且也会对其他UE产生更高的丢包率,导致用户体验的恶化。
图1是根据相关技术的编码方式配置方法的流程图,如图1所示,该流程包括如下步骤:
步骤S101:第一终端确定要采用的编码方式集合。
步骤S102:将该集合通过请求消息(INVITE)发送给第一终端对应的核心网实体(Core Network 1,简称为CN1)。
步骤S103:CN1检查该集合符合本地通信策略以及第一终端的签约信息。
步骤S104:将该集合通过INVITE消息发送给第二终端对应的核心网实体CN2。
步骤S105:CN2检查该集合符合本地通信策略以及第一终端的签约信息。
步骤S106:将该集合通过INVITE消息发送给第二终端。
步骤S107:第二终端根据第一终端的编码方式集合,获得该通信的双方共同支持的通用编码集合。
步骤S108-步骤S110:选择自己支持的编码方式集合,并通过进程描述协议应答消息(Session Description Protocol Answer,简称为SDP Answer)发送给第一终端。
步骤S111:第一终端根据第二终端的反馈,确定该通信要采用的编码方式。
步骤S112-步骤S114:通过进程描述协议提议消息(SDP offer)发送给第二终端。
针对相关技术中由终端发起编码方式的配置导致的网络阻塞的问题,目前尚未提出有效的解决方案。
发明内容
本发明实施例提供了一种编码方式配置方法及装置,以至少解决相关技术中由终端发起编码方式的配置导致的网络阻塞的问题。
根据本发明实施例的一个方面,提供了一种编码方式配置方法,包括:获取基站的覆盖范围内第一终端的编码能力指示信息,其中,所述编码能力指示信息用于标识所述第一终端的编码能力;检测所述基站的网络状态;根据检测到的所述网络状态及所述编码能力指示信息,为所述第一终端配置编码方式。
可选地,获取所述基站的覆盖范围内所述第一终端的所述编码能力指示信息包括:向所述第一终端发送编码能力请求,其中,所述编码能力请求用于请求获取所述第一终端的所述编码能力指示信息;接收所述第一终端发送的所述第一终端的所述编码能力指示信息;或者获取所述第一终端上报的所述编码能力指示信息。
可选地,所述编码能力请求携带有以下至少之一:数据无线承载DRB标识、编码方式的标识、编码速率的标识。
可选地,获取所述第一终端上报的所述编码能力指示信息包括:获取所述第一终端上报的携带有通用编码集合和所述通用编码集合对应的承载标识的所述编码能力指示信息;其中,所述通用编码集合和所述通用编码集合对应的所述承载标识用于标识所述第一终端的编码能力,所述通用编码集合和所述通用编码集合对应的所述承载标识是由所述第一终端与第二终端协商编码方式得到的,所述第二终端与所述第一终端之间建立了通信连接。
可选地,在获取所述第一终端上报的所述编码能力指示信息之前,所述方法还包括:通过系统消息向所述第一终端发送第一指示消息,其中,所述第一指示消息用于指示所述基站支持对所述第一终端的编码方式进
行配置。
可选地,根据所述网络状态及所述编码能力指示信息,为所述第一终端配置编码方式包括:判断所述网络状态是否满足预定条件;在所述网络状态满足所述预定条件的情况下,从所述编码能力指示信息所指示的编码方式中选择第一编码方式作为为所述第一终端配置的所述编码方式;和/或,在所述网络状态不满足所述预定条件的情况下,从所述编码能力指示信息所指示的编码方式中选择第二编码方式作为为所述第一终端配置的所述编码方式;其中,所述第一编码方式的编码速率高于所述第二编码方式;向所述第一终端发送控制消息,其中,所述控制消息中携带有为所述第一终端配置的所述编码方式的编码速率。
可选地,判断所述网络状态是否满足所述预定条件包括以下之一:判断所述第一终端的丢包率是否低于预设丢包率;判断所述第一终端的数据包延迟是否低于预设数据包延迟;判断所述第一终端的信号质量是否高于预设信号质量;其中,在判断结果为否的情况下,确定所述网络状态不满足所述预定条件。
可选地,在根据所述网络状态及所述编码能力指示信息,为所述第一终端配置编码方式之后,所述方法还包括:接收所述第一终端发送的第二指示消息,其中,所述第二指示消息用于指示所述第一终端根据为所述第一终端配置的所述编码方式进行配置后得到的配置结果,所述配置结果包括以下之一:配置成功、配置失败、配置被拒绝、所述配置未被拒绝;记录为所述第一终端配置的所述编码方式与所述配置结果的对应关系。
可选地,在记录为所述第一终端配置的所述编码方式与所述配置结果的对应关系之后,所述方法还包括:根据所述网络状态、所述编码能力指示信息及所述对应关系,为所述第一终端更新编码方式。
可选地,根据所述网络状态及所述编码能力指示信息及所述对应关系,为所述第一终端更新所述编码方式包括:根据所述网络状态,从所述编码能力指示信息中选择所述配置结果为所述配置成功或者所述配置未被拒
绝的编码方式作为为所述第一终端更新的所述编码方式。
可选地,在根据所述网络状态及所述编码能力指示信息,为所述第一终端配置编码方式之后,所述方法还包括:接收所述第一终端发送的反馈消息,其中,所述反馈消息用于指示所述第一终端接收到为所述第一终端配置的所述编码方式。
可选地,所述编码能力指示信息携带有以下至少之一:所述第一终端支持的编码方式的标识、所述第一终端支持的编码速率的标识、所述第一终端建立的数据无线承载DRB的可用编码方式的标识、所述第一终端建立的DRB的可用编码速率的标识。
可选地,所述控制消息携带有以下至少之一:数据无线承载DRB的标识、配置的编码方式的标识、配置的编码速率的标识、增加的编码速率的等级、降低的编码速率的等级。
根据本发明实施例的另一方面,还提供了一种编码方式配置方法,包括:向基站发送所述基站的覆盖范围内的第一终端的编码能力指示信息;获取所述基站根据所述编码能力指示信息以及所述基站检测到的网络状态为所述第一终端配置的编码方式。
可选地,向所述基站发送所述第一终端的所述编码能力指示信息包括:接收所述基站发送的编码能力请求,其中,所述编码能力请求用于请求获取所述第一终端的所述编码能力指示信息;向所述基站发送所述第一终端的所述编码能力指示信息;或者向所述基站上报所述第一终端的所述编码能力指示信息。
可选地,所述编码能力请求携带有以下至少之一:数据无线承载DRB标识、编码方式的标识、编码速率的标识。
可选地,向所述基站上报所述第一终端的所述编码能力指示信息包括:与第二终端协商编码方式,得到通用编码集合和所述通用编码集合对应的承载标识,其中,所述通用编码集合和所述通用编码集合对应的所述承载标识用于标识所述第一终端的编码能力,所述第二终端与所述第一终端之
间建立了通信连接;向所述基站上报携带有所述通用编码集合和所述通用编码集合对应的所述承载标识的所述编码能力指示信息。
可选地,在向所述基站上报所述第一终端的所述编码能力指示信息之前,所述方法还包括:接收所述基站通过系统消息发送的第一指示消息,其中,所述第一指示消息用于指示所述基站支持对所述第一终端的编码方式进行配置。
可选地,获取为所述第一终端配置的所述编码方式包括:接收所述基站发送的控制消息,其中,所述控制消息中携带有为所述第一终端配置的所述编码方式。
可选地,所述控制消息携带有以下至少之一:数据无线承载DRB的标识、配置的编码方式的标识、配置的编码速率的标识、增加的编码速率的等级、降低的编码速率的等级。
可选地,在获取为所述第一终端配置的所述编码方式之后,所述方法还包括:根据为所述第一终端配置的所述编码方式,配置所述第一终端的编码方式;向所述基站发送第二指示消息,其中,所述第二指示消息用于指示所述第一终端根据为所述第一终端配置的所述编码方式进行配置后得到的配置结果,所述配置结果包括以下之一:配置成功、配置失败、配置被拒绝、所述配置未被拒绝。
可选地,根据为所述第一终端配置的所述编码方式,配置所述第一终端的编码方式包括:根据为所述第一终端配置的所述编码方式以及所述第一终端的信息传输状态,确定是否配置所述第一终端的编码方式;在确定配置所述第一终端的编码方式的情况下,配置所述第一终端的编码方式。
可选地,根据为所述第一终端配置的所述编码方式以及所述第一终端的所述信息传输状态,确定是否配置所述第一终端的编码方式包括:判断以下之一:所述第一终端的数据包丢包率是否低于第一预设阈值、所述第一终端的数据包延迟是否低于第二预设阈值、所述第一终端的信号质量是否高于第三预设阈值;在判断结果为是的情况下,确定配置所述第一终端
的编码方式;在判断结果为否的情况下,确定不配置所述第一终端的编码方式。
可选地,在获取为所述第一终端配置的所述编码方式之后,所述方法还包括:向所述基站发送反馈消息,其中,所述反馈消息用于指示所述第一终端接收到为所述第一终端配置的所述编码方式。
可选地,所述编码能力指示信息携带有以下至少之一:所述第一终端支持的编码方式的标识、所述第一终端支持的编码速率的标识、所述第一终端建立的数据无线承载DRB的可用编码方式的标识、所述第一终端建立的DRB的可用编码速率的标识。
根据本发明实施例的另一方面,还提供了一种编码方式配置装置,包括:第一获取模块,设置为获取基站的覆盖范围内第一终端的编码能力指示信息,其中,所述编码能力指示信息用于标识所述第一终端的编码能力;检测模块,设置为检测所述基站的网络状态;第一配置模块,设置为根据检测到的所述网络状态及所述编码能力指示信息,为所述第一终端配置编码方式。
可选地,所述装置还包括:第一接收模块,设置为接收所述第一终端发送的第二指示消息,其中,所述第二指示消息用于指示所述第一终端根据为所述第一终端配置的所述编码方式进行配置后得到的配置结果,所述配置结果包括以下之一:配置成功、配置失败、配置被拒绝、所述配置未被拒绝;记录模块,设置为记录为所述第一终端配置的所述编码方式与所述配置结果的对应关系。
可选地,所述装置还包括:更新模块,设置为根据所述网络状态、所述编码能力指示信息及所述对应关系,为所述第一终端更新编码方式。
可选地,所述装置还包括:第二接收模块,设置为接收所述第一终端发送的反馈消息,其中,所述反馈消息用于指示所述第一终端接收到为所述第一终端配置的所述编码方式。
根据本发明实施例的另一方面,还提供了一种编码方式配置装置,包
括:第一发送模块,设置为向基站发送所述基站的覆盖范围内的第一终端的编码能力指示信息;第二获取模块,设置为获取所述基站根据所述编码能力指示信息以及所述基站检测到的网络状态为所述第一终端配置的编码方式。
可选地,所述装置还包括:第二配置模块,设置为根据为所述第一终端配置的所述编码方式,配置所述第一终端的编码方式;第二发送模块,设置为向所述基站发送第二指示消息,其中,所述第二指示消息用于指示所述第一终端根据为所述第一终端配置的所述编码方式进行配置后得到的配置结果,所述配置结果包括以下之一:配置成功、配置失败、配置被拒绝、所述配置未被拒绝。
可选地,所述装置还包括:第三发送模块,设置为向所述基站发送反馈消息,其中,所述反馈消息用于指示所述第一终端接收到为所述第一终端配置的所述编码方式。
在本发明实施例中,还提供了一种计算机存储介质,该计算机存储介质可以存储有执行指令,该执行指令用于执行上述实施例中的编码方式配置方法。
通过本发明实施例,采用获取基站的覆盖范围内第一终端的编码能力指示信息,其中,编码能力指示信息用于标识第一终端的编码能力;检测基站的网络状态;根据检测到的网络状态及编码能力指示信息,为第一终端配置编码方式的方式,也就是说,通过获取基站的覆盖范围内第一终端的编码能力指示信息获取第一终端的编码能力,并对基站的网络状态进行检测,然后可以根据基站的网络状态从第一终端的编码能力支持的编码方式中选择出为第一终端配置的编码方式,并将其配置给第一终端,以实现在网络状态较好的情况下,为终端配置在第一终端的编码能力的范围内编码速率较高的编码方式,从而使第一终端的编码方式满足当前基站检测到的网络状态,解决了相关技术中由终端发起编码方式的配置导致的网络阻塞的问题,实现了动态调整编码方式,减少网络拥塞的效果。
进一步,在第一终端配置其编码方式时,根据第一终端的编码能力和基站检测的网络状态,为第一终端配置编码方式,第一终端可以将其编码方式配置为配置的编码方式,使第一终端的编码方式既符合第一终端的编码能力,又适应于基站检测到的网络状态,从而提高了第一终端配置其编码方式的成功率。
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据相关技术的编码方式配置方法的流程图;
图2是根据本发明实施例的一种可选的编码方式配置方法的流程图;
图3是根据本发明实施例的另一种可选的编码方式配置方法的流程图;
图4是根据本发明可选实施例的一种编码方式配置方法的流程图;
图5是根据本发明可选实施例的另一种编码方式配置方法的流程图;
图6是根据本发明实施例的一种可选的编码方式配置装置的结构框图;
图7是根据本发明实施例的另一种可选的编码方式配置装置的结构框图;
图8是根据本发明实施例的又一种可选的编码方式配置装置的结构框图;
图9是根据本发明实施例的又一种可选的编码方式配置装置的结构框图;
图10是根据本发明实施例的又一种可选的编码方式配置装置的结构框图;
图11是根据本发明实施例的又一种可选的编码方式配置装置的结构
框图;
图12是根据本发明实施例的又一种可选的编码方式配置装置的结构框图;
图13是根据本发明实施例的又一种可选的编码方式配置装置的结构框图;
图14是根据本发明实施例的又一种可选的编码方式配置装置的结构框图;
图15是根据本发明实施例的又一种可选的编码方式配置装置的结构框图;
图16是根据本发明实施例的又一种可选的编码方式配置装置的结构框图;
图17是根据本发明实施例的又一种可选的编码方式配置装置的结构框图;
图18是根据本发明实施例的又一种可选的编码方式配置装置的结构框图;
图19是根据本发明实施例的又一种可选的编码方式配置装置的结构框图;
图20是根据本发明实施例的又一种可选的编码方式配置装置的结构框图。
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
实施例1
在本实施例中提供了一种编码方式配置方法,图2是根据本发明实施例的一种可选的编码方式配置方法的流程图,如图2所示,该流程包括如下步骤:
步骤S202,获取基站的覆盖范围内第一终端的编码能力指示信息,其中,编码能力指示信息用于标识第一终端的编码能力;
步骤S204,检测基站的网络状态;
步骤S206,根据检测到的网络状态及编码能力指示信息,为第一终端配置编码方式。
可选地,上述编码方式配置方法可以但不限于应用于配置终端的编码方式的场景中。例如:可以但不限于是在LTE系统中终端在通话建立的开始和过程中,在发送和接收端进行编码方式的配置协商的场景,还可以是在LTE系统中终端在通话过程中,在发送和接收端进行编码方式修改时,对修改的目标编码方式进行配置的场景。
可选地,上述编码方式配置方法可以但不限于应用于核心网实体或网元,例如:基站、服务器、路由器、交换机等。在本实施例中,以基站为例进行说明和描述。
通过上述步骤,获取基站的覆盖范围内第一终端的编码能力指示信息获取第一终端的编码能力,并对基站的网络状态进行检测,然后可以根据基站的网络状态从第一终端的编码能力支持的编码方式中选择出为第一终端配置的编码方式,并将其配置给第一终端,例如在网络状态较好的情况下,为终端配置在第一终端的编码能力的范围内编码速率较高的编码方式,从而使第一终端的编码方式满足当前基站检测到的网络状态,解决了相关技术中由终端发起编码方式的配置导致的网络阻塞的问题,实现了动态调整编码方式,减少网络拥塞的效果。
进一步,在第一终端配置其编码方式时,根据第一终端的编码能力和基站检测的网络状态,为第一终端配置编码方式,第一终端可以将其编码
方式配置为配置的编码方式,使第一终端的编码方式既符合第一终端的编码能力,又适应于基站检测到的网络状态,从而提高了第一终端配置其编码方式的成功率。
在本实施例中,获取第一终端的编码能力的方式可以但不限于是通过向第一终端发送编码能力请求来触发第一终端反馈其编码能力,也可以是获取第一终端主动上报的编码能力。
在本实施例的一个示例中,提供了一种可选的通过向第一终端发送编码能力请求来触发第一终端反馈其编码能力来获取第一终端的编码能力的方式获取第一终端的编码能力。
在本示例中,基站可以向第一终端发送编码能力请求消息,请求第一终端上报其编码能力。例如:基站可以但不限于在UECapabilityEnquiry消息中携带编码能力请求指示requestCodec。
第一终端接收到基站发送的编码能力请求消息后,将其支持的编码能力上报给基站。例如:第一终端可以但不限于在UECapabilityInformation消息中携带能力指示supportedCodecList)。
在本实施例的另一个示例中,提供了一种可选的第一终端主动上报其编码能力的方式获取第一终端的编码能力。
在本示例中,第一终端和通信对端的第二终端在建立业务通信的过程中协商要采用的编码方式。
第一终端上报给基站协商过的各个业务支持的编码方式。例如:第一终端可以但不限于在SupportCodecInfo消息中指示每个数据无线承载(Data Radio Bearer,简称为DRB)支持的编码方式的集合。
在本实施例中,检测到的基站的网络状态可以但不限于是基站的网络中信息的传输速率、基站的网络中各编码方式的编码速率、基站的网络的阻塞率、基站的网络的丢包率、基站的网络中的资源利用率等。
在本实施例中,编码能力指示信息可以但不限于是第一终端的各个通信业务支持的编码方式和/或各个编码方式对应的编码速率的集合、第一终
端与其通信对端的第二终端共同支持的编码方式和/或各个编码方式对应的编码速率的集合。
在本实施例中,编码能力指示信息可以但不限于携带有以下至少之一:第一终端支持的编码方式的标识、第一终端支持的编码速率的标识、第一终端建立的数据无线承载DRB的可用编码方式的标识、第一终端建立的DRB的可用编码速率的标识。
可选地,在上述步骤S202中,获取第一终端的编码能力的方式可以但不限于是向第一终端发送用于请求获取第一终端的编码能力指示信息的编码能力请求,再接收第一终端发送的第一终端的编码能力指示信息。或者可以但不限于是获取第一终端上报的编码能力指示信息。
例如:方式一,基站请求获得第一终端的编码能力指示信息,第一终端根据编码能力指示信息的指示上报与第一终端编码能力相关的信息,该编码能力相关的信息可以但不限于包括以下信息的至少之一:第一终端支持的编码方式标识;第一终端支持的编码速率的标识;第一终端建立的DRB的可用编码方式的标识;第一终端建立的DRB的可用编码速率的标识。
方式二,第一终端可以但不限于在需要配置编码方式时,主动上报与第一终端的编码能力相关的信息,该编码能力相关的信息可以但不限于包括以下信息至少之一:第一终端支持的编码方式标识;第一终端支持的编码速率的标识;第一终端建立的DRB的可用编码方式的标识;第一终端建立的DRB的可用编码速率的标识。
通过上述步骤,可以通过不同的方式获取第一终端的编码能力。一方面,可以是在基站的网络状态较好的情况下,例如:将当前网络中的信息传输速率高于某一预设值时认为是基站的网络状态较好,通过请求获取第一终端的编码能力的方式为第一终端配置编码速率较高的编码方式,以提高第一终端的通信质量。另一方面,可以是在第一终端的网络状态较好的情况下,例如:将当前第一终端的信息传输速率高于某一预设值时认为是
第一终端的网络状态较好,通过第一终端主动上报其编码能力的方式为第一终端配置编码速率较高的编码方式,以提高第一终端的通信质量。同时,为第一终端配置的编码方式既考虑到了第一终端的编码能力又考虑到了基站的网络状态,解决了相关技术中由终端发起编码方式的配置导致的网络阻塞的问题,实现了动态调整编码方式,减少网络拥塞的效果。
进一步,在第一终端配置其编码方式时,根据第一终端的编码能力和基站检测的网络状态,为第一终端配置编码方式,第一终端可以将其编码方式配置为配置的编码方式,使第一终端的编码方式既符合第一终端的编码能力,又适应于基站检测到的网络状态,从而提高了第一终端配置其编码方式的成功率。
可选地,编码能力请求可以但不限于携带有以下至少之一:数据无线承载DRB标识、编码方式的标识、编码速率的标识。
可选地,在上述步骤S202中,如果采用获取第一终端上报的编码能力指示信息的方式获取第一终端的编码能力,可以但不限于获取第一终端上报的携带有通用编码集合和通用编码集合对应的承载标识的编码能力指示信息,其中,通用编码集合和通用编码集合对应的承载标识用于标识第一终端的编码能力,通用编码集合和通用编码集合对应的承载标识是由第一终端与第二终端协商编码方式得到的,第二终端与第一终端之间建立了通信连接。
例如:第一终端在与通信对端的第二终端进行初始编码协商过程中获得通用编码集合后,将该通用编码集合和通用编码集合对应的承载标识发送给基站。
通过上述步骤,第一终端可以与通信对端的第二终端协商二者进行通信时各业务的编码方式和/或各编码方式对应的编码速率。在为第一终端配置编码方式时,可以同时考虑到第一终端和第二终端的编码能力以及基站检测到的网络状态,使为第一终端配置的编码方式能够得到第一终端和第二终端的支持,从而提高了第一终端在配置其与第二终端进行通信的编码
方式时的成功率。
可选地,在上述步骤S202中,在获取第一终端上报的编码能力指示信息之前,可以但不限于通过系统消息向第一终端发送用于指示基站支持对第一终端的编码方式进行配置的第一指示消息。例如:基站可以但不限于通过系统消息(如在系统信息块2(System Information Block 2,简称为SIB2)消息中的codecChangeSupport指示消息)通知第一终端,基站支持编码方式的变更。通过上述步骤,可以使第一终端知晓基站支持第一终端配置编码方式,在第一终端需要配置编码方式时,可以主动向基站上报其编码能力。
可选地,在上述步骤S206中,可以但不限于通过以下方式为第一终端配置编码方式,可以判断网络状态是否满足预定条件,并在网络状态满足预定条件的情况下,从编码能力指示信息所指示的编码方式中选择第一编码方式作为为第一终端配置的编码方式,和/或,在网络状态不满足预定条件的情况下,从编码能力指示信息所指示的编码方式中选择第二编码方式作为为第一终端配置的编码方式,其中,第一编码方式的编码速率高于第二编码方式的编码速率,再向第一终端发送携带有为第一终端配置的编码方式的控制消息。
例如:在一个示例中,用于判断基站检测的网络状态的质量的预定条件可以是基站检测的网络信息传输速率。
在本示例中,可以但不限于通过以下至少之一来判断网络状态是否满足预定条件:判断第一终端的丢包率是否低于预设丢包率;判断第一终端的数据包延迟是否低于预设数据包延迟;判断第一终端的信号质量是否高于预设信号质量;其中,在判断结果为是的情况下,确定网络状态满足预定条件,在判断结果为否的情况下,确定网络状态不满足预定条件。需要说明的是,在本发明的实施例中,以丢包率、数据包延迟和信号质量为例,描述如何判断网络状态,本发明判断网络状态的方式不限于此,在此不再赘述。
通过上述步骤,可以根据网络状态是否满足预定条件判断网络状态的质量,在网络相对较好时,为第一终端配置编码速率相对较高的编码方式,再通过控制信息将为第一终端配置的编码方式发送给第一终端。实现了根据基站检测到的网络状态的质量为第一终端配置第一终端编码能力范围内的编码方式,解决了相关技术中由终端发起编码方式的配置导致的网络阻塞的问题,实现了动态调整编码方式,减少网络拥塞的效果。
进一步,在第一终端配置其编码方式时,根据第一终端的编码能力和基站检测的网络状态,为第一终端配置编码方式,第一终端可以将其编码方式配置为配置的编码方式,使第一终端的编码方式既符合第一终端的编码能力,又适应于基站检测到的网络状态,从而提高了第一终端配置其编码方式的成功率。
可选地,上述控制消息可以但不限于携带有以下至少之一:数据无线承载DRB的标识、配置的编码方式的标识、配置的编码速率的标识、增加的编码速率的等级、降低的编码速率的等级。
可选地,在上述步骤S206之后,第一终端可以根据为第一终端配置的编码方式进行配置并将配置结果发送给基站,基站可以接收第一终端发送的用于指示该配置结果的第二指示消息,该配置结果可以但不限于包括以下之一:配置成功、配置失败、配置被拒绝、所述配置未被拒绝;其中,配置被拒绝可以表示编码方式的配置被通信对端的第二终端拒绝,也可以表示编码方式的配置被第一终端拒绝。基站可以记录为第一终端配置的编码方式与配置结果的对应关系。
例如:如果第一终端在初始编码方式的协商过程中,第一终端可以选择基站配置的编码方式和编码速率进行后续的协商过程。或者,第一终端可以根据基站的配置触发编码方式的配置过程。
基站可以接收第一终端发送的编码方式的配置结果,该配置结果可以是:配置编码成功的通知;配置编码失败的通知;第一终端和/或通信对端的第二终端拒绝编码配置的指示;第一终端和/或通信对端的第二终端未拒
绝编码配置的指示。
基站可以记录编码方式的配置结果,在后续触发编码方式配置的时候,可以不再触发失败或者被拒绝的编码方式的配置。
可选地,在记录为第一终端配置的编码方式与配置结果的对应关系之后,还可以根据网络状态、编码能力指示信息及上述的对应关系,为第一终端更新编码方式。
例如:为第一终端更新编码方式可以但不限于是根据网络状态,从编码能力指示信息中选择配置结果为配置成功或者配置被拒绝的编码方式作为为第一终端更新的编码方式。还可以是当再次为第一终端配置编码方式时,可以不为第一终端配置对应关系中配置结果为配置失败的编码方式。
通过上述步骤,还可以根据为第一终端配置的编码方式的配置结果为第一终端更新配置的编码方式,从而避免了为第一终端配置结果为配置失败的编码方式,提高了编码方式配置的成功率。
可选地,在上述步骤S206之后,为了确定第一终端是否接收到了为其配置的编码方式,可以但不限于由第一终端发送用于指示所述第一终端接收到为所述第一终端配置的所述编码方式的反馈消息,如果基站接收到了该反馈消息,则确定第一终端已经接收到为第一终端配置的编码方式。在一个可选的示例中,如果基站没有接收到该反馈消息,则可以但不限于认为第一终端没有接收到为第一终端配置的编码方式,基站可以再次向第一终端发送为第一终端配置的编码方式,可以发送到接收到第一终端的反馈消息为止。以确保第一终端可以接收到为其配置的编码方式,从而提高配置编码方式的成功率。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如
ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
实施例2
在本实施例中提供了一种编码方式配置方法,图3是根据本发明实施例的另一种可选的编码方式配置方法的流程图,如图3所示,该流程包括如下步骤:
步骤S302,向基站发送基站的覆盖范围内的第一终端的编码能力指示信息;
步骤S304,获取基站根据编码能力指示信息以及基站检测到的网络状态为第一终端配置的编码方式。
可选地,上述编码方式配置方法可以但不限于应用于配置终端的编码方式的场景中。例如:可以但不限于是在LTE系统中终端在通话建立的开始和过程中,在发送和接收端进行编码方式的配置协商的场景,还可以是在LTE系统中终端在通话过程中,在发送和接收端进行编码方式的修改时,对修改的目标编码方式进行配置的场景。
可选地,上述编码方式配置方法可以但不限于应用于终端,例如:终端可以但不限于是手机、平板电脑、笔记本电脑、台式电脑、智能穿戴设备等。
通过上述步骤,向基站发送在基站的覆盖范围内的第一终端的编码能力指示信息来向基站提供第一终端的编码能力,并获取基站根据检测到的基站的网络状态从第一终端的编码能力支持的编码方式中选择出的为第一终端配置的编码方式,例如在网络状态较好的情况下,获取基站为第一终端配置的在第一终端的编码能力的范围内编码速率较高的编码方式,从而使第一终端的编码方式满足当前基站检测到的网络状态,解决了相关技术中由终端发起编码方式的配置导致的网络阻塞的问题,实现了动态调整
编码方式,减少网络拥塞的效果。
进一步,在第一终端配置其编码方式时,可以获取基站根据第一终端的编码能力和基站检测的网络状态,为第一终端配置的编码方式,第一终端可以将其编码方式配置为基站配置的编码方式,使第一终端的编码方式既符合第一终端的编码能力,又适应于基站检测到的网络状态,从而提高了第一终端配置其编码方式的成功率。
在本实施例中,向基站发送编码能力指示信息的方式可以是通过接收基站发送的编码能力请求来触发的反馈第一终端的编码能力,也可以是主动向上报第一终端的编码能力。
在本实施例的一个示例中,提供了一种可选的通过接收基站发送的编码能力请求来触发的反馈第一终端的编码能力的方式向基站发送编码能力指示信息。
在本示例中,可以接收基站发送的用于请求第一终端上报其编码能力的编码能力请求消息。例如:可以但不限于接收基站发送的在UECapabilityEnquiry消息中携带的编码能力请求指示requestCodec。
接收到基站发送的编码能力请求消息后,将第一终端支持的编码能力上报给基站。例如:可以但不限于发送在UECapabilityInformation消息中携带的能力指示supportedCodecList)。
在本实施例的另一个示例中,提供了一种可选的第一终端主动上报其编码能力的方式向基站发送编码能力指示信息。
在本示例中,第一终端可以和对端的第二终端在建立业务通信的过程中协商要采用的编码方式。
第一终端可以将协商过的各个业务支持的编码方式上报给基站。例如:可以但不限于发送在SupportCodecInfo消息中指示每个DRB支持的编码方式的集合。
在本实施例中,基站检测到的基站的网络状态可以但不限于是基站的网络中信息的传输速率、基站的网络中各编码方式的编码速率、基站的网
络的阻塞率、基站的网络的丢包率、基站的网络中的资源利用率等。
在本实施例中,编码能力指示信息可以但不限于是第一终端的各个通信业务支持的编码方式和/或各个编码方式对应的编码速率的集合、第一终端与通信对端的第二终端共同支持的编码方式和/或各个编码方式对应的编码速率的集合。
在本实施例中,编码能力指示信息可以但不限于携带有以下至少之一:第一终端支持的编码方式的标识、第一终端支持的编码速率的标识、第一终端建立的数据无线承载DRB的可用编码方式的标识、第一终端建立的DRB的可用编码速率的标识。
可选地,在上述步骤S302中,向基站发送第一终端的编码能力指示信息的方式可以但不限于是接收基站发送的用于请求获取第一终端的编码能力指示信息的编码能力请求,再向基站发送第一终端的编码能力指示信息;或者可以是向基站主动上报第一终端的编码能力指示信息。
例如:方式一,可以接收基站请求获得第一终端的编码能力指示信息的消息,然后根据编码能力指示信息的指示上报与第一终端编码能力相关的信息,该信息可以但不限于包括以下信息的至少之一:第一终端支持的编码方式标识;第一终端支持的编码速率的标识;第一终端建立的DRB的可用编码方式的标识;第一终端建立的DRB的可用编码速率的标识。
方式二,可以但不限于在第一终端需要配置编码方式时,主动上报与第一终端的编码能力相关的信息,该信息可以但不限于包括以下信息至少之一:第一终端支持的编码方式标识;第一终端支持的编码速率的标识;第一终端建立的DRB的可用编码方式的标识;第一终端建立的DRB的可用编码速率的标识。
通过上述步骤,可以通过不同的方式向基站发送第一终端的编码能力指示信息。一方面,可以是在基站的网络状态较好的情况下,例如:将当前网络中的信息传输速率高于某一预设值时认为是基站的网络状态较好,获取到基站通过发送用于获取第一终端的编码能力的请求的方式为第一
终端配置的编码速率较高的编码方式,以提高第一终端的通信质量。另一方面,可以是在第一终端的网络状态较好的情况下,例如:将当前第一终端的信息传输速率高于某一预设值时认为是第一终端的网络状态较好,通过第一终端主动上报其编码能力的方式获取为第一终端配置的编码速率较高的编码方式,以提高第一终端的通信质量。同时,为第一终端配置的编码方式既考虑到了第一终端的编码能力又考虑到了基站的网络状态,解决了相关技术中由终端发起编码方式的配置导致的网络阻塞的问题,实现了动态调整编码方式,减少网络拥塞的效果。
进一步,在第一终端配置其编码方式时,根据第一终端的编码能力和基站检测的网络状态,为第一终端配置编码方式,第一终端可以将其编码方式配置为配置的编码方式,使第一终端的编码方式既符合第一终端的编码能力,又适应于基站检测到的网络状态,从而提高了第一终端配置其编码方式的成功率。
可选地,编码能力请求可以但不限于携带有以下至少之一:数据无线承载DRB标识、编码方式的标识、编码速率的标识。
可选地,以向基站主动上报第一终端的编码能力指示信息的方式向基站发送基站的覆盖范围内的第一终端的编码能力指示信息时,可以但不限于与通信对端的第二终端协商编码方式,得到用于标识第一终端的编码能力的通用编码集合和通用编码集合对应的承载标识,并向基站上报携带有通用编码集合和通用编码集合对应的承载标识的编码能力指示信息。
例如:第一终端在与通信对端的第二终端进行初始编码协商过程中获得通用编码集合后,将该通用编码集合和通用编码集合对应的承载标识发送给基站。
通过上述步骤,第一终端可以与通信对端的第二终端协商二者进行通信时各业务的编码方式和/或各编码方式对应的编码速率。在基站为第一终端配置编码方式时,可以同时考虑到第一终端和第二终端的编码能力以及基站检测到的网络状态,使为第一终端配置的编码方式能够得到第一终端
和第二终端的支持,从而提高了第一终端在配置其与第二终端进行通信的编码方式时的成功率。
可选地,在上述步骤S302中,在向基站上报第一终端的编码能力指示信息之前,可以接收基站通过系统消息发送的用于指示基站支持对第一终端的编码方式进行配置的第一指示消息。例如:可以但不限于接收基站通过系统消息(如在系统信息块2(System Information Block 2,简称为SIB2)消息中的codecChangeSupport指示消息)通知第一终端的基站支持编码方式的配置。通过上述步骤,可以使第一终端知晓基站支持第一终端配置编码方式,在第一终端需要配置编码方式时,可以主动向基站上报其编码能力。
可选地,在上述步骤S304中,可以但不限于通过接收基站发送的携带有为第一终端配置的编码方式的控制消息来获取基站为第一终端配置的编码方式。
可选地,控制消息可以但不限于携带有以下至少之一:数据无线承载DRB的标识、配置的编码方式的标识、配置的编码速率的标识、增加的编码速率的等级、降低的编码速率的等级。
可选地,在上述步骤S304之后,可以但不限于根据为第一终端配置的编码方式,配置第一终端的编码方式,并向基站发送用于指示第一终端根据为第一终端配置的编码方式进行配置后得到的配置结果的第二指示消息,配置结果包括以下之一:配置成功、配置失败、配置被拒绝、所述配置未被拒绝。
例如:如果第一终端在初始编码方式的协商过程中,第一终端可以选择基站配置的编码方式和编码速率进行后续的协商过程。或者,第一终端可以根据基站的配置触发编码方式的配置过程。
第一终端可以将编码方式的配置结果发送给基站,该配置结果可以是:配置编码成功的通知;配置编码失败的通知;第一终端和/或通信对端的第二终端拒绝编码配置的指示;第一终端和/或通信对端的第二终端未拒绝编
码配置的指示。
通过上述步骤,基站可以记录编码方式的配置结果,在后续触发编码方式配置的时候,可以不再触发失败的编码方式的配置。还可以根据为第一终端配置的编码方式的配置结果为第一终端更新配置的编码方式,从而避免了为第一终端配置结果为配置失败的编码方式,提高了编码方式配置的成功率。
可选地,在上述步骤S304之后,可以根据为第一终端配置的编码方式以及第一终端的信息传输状态,确定是否配置第一终端的编码方式,并在确定配置第一终端的编码方式的情况下,配置第一终端的编码方式。
例如:第一终端可以但不限于根据其自身的通信质量判断是否将当前的编码方式配置为基站为其配置的编码方式,其自身的通信质量可以是第一终端在当前的编码方式下的信息传输速率,如果当前的编码方式已经满足了第一终端的通信要求,那么第一终端可以选择不配置编码方式。或者还可以是如果第一终端当前的通信质量较好,表示第一终端的编码方式的编码速率可以提高,那么第一终端可以选择将编码方式配置成基站为其配置的编码方式,以提高第一终端的通信质量。
在一个示例中,根据为第一终端配置的编码方式以及第一终端的信息传输状态,确定是否配置第一终端的编码方式可以但不限于通过判断以下之一来确定,第一终端的数据包丢包率是否低于第一预设阈值、第一终端的数据包延迟是否低于第二预设阈值、第一终端的信号质量是否高于第三预设阈值,其中,在判断结果为是的情况下,可以确定配置第一终端的编码方式,在判断结果为否的情况下,可以确定不配置第一终端的编码方式。
可选地,在上述步骤S304之后,为了使基站得知第一终端是否接收到了为其配置的编码方式,可以但不限于向基站发送用于指示所述第一终端接收到为所述第一终端配置的所述编码方式的反馈消息,如果基站接收到了该反馈消息,则确定第一终端已经接收到为第一终端配置的编码方式。在一个可选的示例中,如果基站没有接收到该反馈消息,则基站可以但不
限于认为第一终端没有接收到为第一终端配置的编码方式,基站可以再次向第一终端发送为第一终端配置的编码方式,可以发送到基站接收到第一终端的反馈消息为止。以确保第一终端可以接收到为其配置的编码方式,从而提高配置编码方式的成功率。
本发明还提供了一个可选实施例,由于在相关技术中,终端在通话过程中的编码方式无法通过网络控制触发更改,无法考虑到网络整体的信号质量和拥塞情况,从而可能导致用户体验的下降。在本可选实施例中,基站以eNB1为例,第一终端以UE1为例,第二终端以UE2为例,控制消息以控制信令为例。
在本可选实施例中提供了一种编码方式配置方法,在该方法中,通过基站直接请求获取终端的编码能力。图4是根据本发明可选实施例的一种编码方式配置方法的流程图,如图4所示,该流程包括如下步骤:
步骤S401:eNB1发送编码能力请求,请求UE1上报其编码能力。例如:发送的UECapabilityEnquiry消息中携带有requestCodec能力请求指示。
步骤S402:UE1接收到eNB1的编码能力请求后,将其支持的全部的编码能力上报给eNB1。例如:接收的UECapabilityInformation消息中携带有supportedCodecList能力指示。
步骤S403:eNB1根据UE1的语音或视频业务的传输状态以及网络侧的当前负荷等信息,判断调整UE1当前应该采用的编码方式。
步骤S404:根据步骤S403的判断,eNB1发送控制信令更改UE1当前的编码方式。例如:发送RRCConnectionReconfiguration消息中指示某个DRB标识(DRB_ID)采用的编码方式(codec)。
步骤S405:UE1向基站反馈接收到eNB1为其配置的编码方式。例如:通过发送RRCConnectionReconfigurationComplete消息指示UE1接收到基站为其配置的编码方式。
步骤S406:UE1根据eNB1为其配置的编码方式以及UE1自身的网络状态,判断是否进行编码方式更改。
步骤S407:UE1发起和通信对端的UE2的编码方式配置过程。
步骤S408:UE1将编码配置的结果通知eNB1,结果可以是:配置成功;配置失败;UE1和/或UE2拒绝eNB1的配置请求。例如:通过发送CodecChangeStatus消息通知eNB1配置结果。
在本可选实施例中还提供了另一种编码方式配置方法,在该方法中,通过终端主动上报其编码能力获取终端的编码能力。图5是根据本发明可选实施例的另一种编码方式配置方法的流程图,如图5所示,该流程包括如下步骤:
步骤S501:eNB1通过系统消息通知UE1,其支持UE1的编码方式的配置。例如:通过在SIB2(SystemInformationBlock2)消息中的codecChangeSupport指示eNB1支持UE1的编码方式的配置。需要说明的是,eNB1向UE1发送系统消息的过程,可以在eNB1对UE1进行系统配置时完成,在图5中用虚线表示。
步骤S502:UE1和通信对端的UE2在建立业务通信的过程中协商要采用的编码方式。
步骤S503:UE1上报给eNB1协商过的各个业务支持的编码方式。例如:发送SupportCodecInfo消息指示每个DRB支持的编码方式的集合。
步骤S504:eNB1根据UE1的语音或视频业务的传输状态以及网络侧的当前负荷等信息,为UE1配置当前应该采用的编码方式。
步骤S505:根据步骤S504的判断,eNB1发送控制信令配置UE1当前的编码方式。例如:在发送的RRCConnectionReconfiguration消息中指示某个DRB标识(DRB_ID)可以采用的编码方式(codec)。
步骤S506:UE1反馈接收到eNB1为UE1配置的编码方式。例如:通过发送RRCConnectionReconfigurationComplete消息反馈UE1接收到eNB1为UE1配置的编码方式。
步骤S507:UE1根据eNB1为其配置的编码方式以及UE1自身检的信息传输状态判断是否进行编码方式的配置。
步骤S508:UE1发起和通信对端的UE2的编码方式配置过程。
步骤S509:UE1将编码配置的结果通知eNB1,配置结果可以但不限于是:配置成功;配置失败;UE1和/或UE2拒绝eNB1的配置请求。例如:发送携带有配置结果的CodecChangeStatus消息。
可见,采用本可选实施例提供的方法,基站可以根据终端的能力动态的调整语音和视频业务的编码方式,在减少通信拥塞的同时提高了用户体验。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
实施例3
在本实施例中还提供了一种编码方式配置装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图6是根据本发明实施例的一种可选的编码方式配置装置的结构框图,如图6所示,该装置包括:
1)第一获取模块62,设置为获取基站的覆盖范围内第一终端的编码能力指示信息,其中,编码能力指示信息用于标识第一终端的编码能力;
2)检测模块64,耦合至第一获取模块62,设置为检测基站的网络状态;
3)第一配置模块66,耦合至检测模块64,设置为根据检测到的网络状态及编码能力指示信息,为第一终端配置编码方式。
可选地,上述编码方式配置装置可以但不限于应用于配置终端的编码方式的场景中。例如:可以但不限于是在LTE系统中终端在通话建立的开始和过程中,在发送和接收端进行编码方式的配置协商的场景,还可以是在LTE系统中终端在通话过程中,在发送和接收端进行编码方式的修改时,对修改的目标编码方式进行配置的场景。
可选地,上述编码方式配置装置可以但不限于应用于核心网实体或网元,例如:基站、服务器、路由器、交换机等。在本实施例中,以基站为例进行说明和描述。
通过上述装置,第一获取模块62获取基站的覆盖范围内第一终端的编码能力指示信息获取第一终端的编码能力,并由检测模块64对基站的网络状态进行检测,然后第一配置模块66可以根据基站的网络状态从第一终端的编码能力支持的编码方式中选择出为第一终端配置的编码方式,并将其配置给第一终端,例如在检测模块64检测到网络状态较好的情况下,第一配置模块66为终端配置在第一获取模块62获取的第一终端的编码能力的范围内编码速率较高的编码方式,从而使第一终端的编码方式满足当前基站检测到的网络状态,解决了相关技术中由终端发起编码方式的配置导致的网络阻塞的问题,实现了动态调整编码方式,减少网络拥塞的效果。
进一步,在第一终端配置其编码方式时,根据第一终端的编码能力和基站检测的网络状态,为第一终端配置编码方式,第一终端可以将其编码方式配置为配置的编码方式,使第一终端的编码方式既符合第一终端的编码能力,又适应于基站检测到的网络状态,从而提高了第一终端配置其编码方式的成功率。
在本实施例中,第一获取模块62获取第一终端的编码能力的方式可以但不限于是通过向第一终端发送编码能力请求来触发第一终端反馈其
编码能力,也可以是获取第一终端主动上报的编码能力。
在本实施例的一个示例中,提供了一种可选的第一获取模块62通过向第一终端发送编码能力请求来触发第一终端反馈其编码能力来获取第一终端的编码能力的方式获取第一终端的编码能力。
在本示例中,基站的第一获取模块62可以向第一终端发送编码能力请求消息,请求第一终端上报其编码能力。例如:基站的第一获取模块62可以但不限于在UECapabilityEnquiry消息中携带编码能力请求指示requestCodec。
第一终端接收到基站发送的编码能力请求消息后,将其支持的编码能力上报给基站的第一获取模块62。例如:第一终端可以但不限于在UECapabilityInformation消息中携带能力指示supportedCodecList)。
在本实施例的另一个示例中,提供了一种可选的第一获取模块62获取第一终端主动上报其编码能力的方式获取第一终端的编码能力。
在本示例中,第一终端和通信对端的第二终端在建立业务通信的过程中协商要采用的编码方式。
第一终端将协商过的各个业务支持的编码方式上报给基站的第一获取模块62。例如:第一终端可以但不限于在SupportCodecInfo消息中指示每个DRB支持的编码方式的集合。
在本实施例中,检测模块64检测到的基站的网络状态可以但不限于是基站的网络中信息的传输速率、基站的网络中各编码方式的编码速率、基站的网络的阻塞率、基站的网络的丢包率、基站的网络中的资源利用率等。
在本实施例中,编码能力指示信息可以但不限于是第一终端的各个通信业务支持的编码方式和/或各个编码方式对应的编码速率的集合、第一终端与其通信对端的第二终端共同支持的编码方式和/或各个编码方式对应的编码速率的集合。
在本实施例中,编码能力指示信息可以但不限于携带有以下至少之一:
第一终端支持的编码方式的标识、第一终端支持的编码速率的标识、第一终端建立的数据无线承载DRB的可用编码方式的标识、第一终端建立的DRB的可用编码速率的标识。
图7是根据本发明实施例的另一种可选的编码方式配置装置的结构框图,如图7所示,可选地,第一获取模块62包括:
1)第一发送单元72,设置为向第一终端发送编码能力请求,其中,编码能力请求用于请求获取第一终端的编码能力指示信息;2)第一接收单元74,耦合至第一发送单元72,设置为接收第一终端发送的第一终端的编码能力指示信息;或者
3)获取单元76,设置为获取第一终端上报的编码能力指示信息。
例如:方式一,第一发送单元72请求获得第一终端的编码能力指示信息,第一接收单元74接收第一终端根据编码能力指示信息的指示上报的与第一终端编码能力相关的信息,该编码能力相关的信息可以但不限于包括以下信息的至少之一:第一终端支持的编码方式标识;第一终端支持的编码速率的标识;第一终端建立的DRB的可用编码方式的标识;第一终端建立的DRB的可用编码速率的标识。
方式二,第一终端可以但不限于在需要配置编码方式时,主动上报与第一终端的编码能力相关的信息,该编码能力相关的信息可以但不限于包括以下信息至少之一:第一终端支持的编码方式标识;第一终端支持的编码速率的标识;第一终端建立的DRB的可用编码方式的标识;第一终端建立的DRB的可用编码速率的标识。
通过上述装置,第一获取模块62可以通过不同的方式获取第一终端的编码能力。一方面,可以是在基站的网络状态较好的情况下,例如:将当前网络中的信息传输速率高于某一预设值时认为是基站的网络状态较好,第一发送单元72通过请求获取第一终端的编码能力的方式由第一接收单元74接收为第一终端配置编码速率较高的编码方式,以提高第一终端的通信质量。另一方面,可以是在第一终端的网络状态较好的情况下,
例如:将当前第一终端的信息传输速率高于某一预设值时认为是第一终端的网络状态较好,通过第一终端主动上报其编码能力的方式由获取单元76获取为第一终端配置编码速率较高的编码方式,以提高第一终端的通信质量。同时,为第一终端配置的编码方式既考虑到了第一终端的编码能力又考虑到了基站的网络状态,解决了相关技术中由终端发起编码方式的配置导致的网络阻塞的问题,实现了动态调整编码方式,减少网络拥塞的效果。
进一步,在第一终端配置其编码方式时,根据第一终端的编码能力和基站检测的网络状态,为第一终端配置编码方式,第一终端可以将其编码方式配置为配置的编码方式,使第一终端的编码方式既符合第一终端的编码能力,又适应于基站检测到的网络状态,从而提高了第一终端配置其编码方式的成功率。
可选地,编码能力请求可以但不限于携带有以下至少之一:数据无线承载DRB标识、编码方式的标识、编码速率的标识。
可选地,获取单元76设置为:获取第一终端上报的携带有通用编码集合和通用编码集合对应的承载标识的编码能力指示信息;其中,通用编码集合和通用编码集合对应的承载标识用于标识第一终端的编码能力,通用编码集合和通用编码集合对应的承载标识是由第一终端与第二终端协商编码方式得到的,第二终端与第一终端之间建立了通信连接。
例如:第一终端在与通信对端的第二终端进行初始编码协商过程中获得通用编码集合后,将该通用编码集合和通用编码集合对应的承载标识发送给获取单元76。
通过上述装置,第一终端可以与通信对端的第二终端协商二者进行通信时各业务的编码方式和/或各编码方式对应的编码速率。在为第一终端配置编码方式时,可以同时考虑到第一终端和第二终端的编码能力以及基站检测到的网络状态,使为第一终端配置的编码方式能够得到第一终端和第二终端的支持,从而提高了第一终端在配置其与第二终端进行通信的编码方式时的成功率。
图8是根据本发明实施例的又一种可选的编码方式配置装置的结构框图,如图8所示,可选地,第一获取模块62还包括:
第二发送单元82,耦合至获取单元76,设置为通过系统消息向第一终端发送第一指示消息,其中,第一指示消息用于指示基站支持对第一终端的编码方式进行配置。
例如:第二发送单元82可以但不限于通过系统消息(如在系统信息块2(System Information Block 2,简称为SIB2)消息中的codecChangeSupport指示消息)通知第一终端,基站支持编码方式的变更。通过上述步骤,可以使第一终端知晓基站支持第一终端配置编码方式,在第一终端需要配置编码方式时,可以主动向基站上报其编码能力。
图9是根据本发明实施例的又一种可选的编码方式配置装置的结构框图,如图9所示,可选地,第一配置模块66包括:
1)判断单元92,设置为判断网络状态是否满足预定条件;
2)选择单元94,耦合至判断单元92,设置为在网络状态满足预定条件的情况下,从编码能力指示信息所指示的编码方式中选择第一编码方式作为为第一终端配置的编码方式;和/或,在网络状态不满足预定条件的情况下,从编码能力指示信息所指示的编码方式中选择第二编码方式作为为第一终端配置的编码方式;其中,第一编码方式的编码速率高于第二编码方式的编码速率;
3)第三发送单元96,耦合至选择单元94,设置为向第一终端发送控制消息,其中,控制消息中携带有为第一终端配置的编码方式。
例如:在一个示例中,判断单元92设置为判断基站检测的网络状态的质量的预定条件可以是基站检测的网络信息传输速率。
在本示例中,判断单元92可以但不限于设置为通过以下至少之一来判断网络状态是否满足预定条件:判断第一终端的丢包率是否低于预设丢包率;判断第一终端的数据包延迟是否低于预设数据包延迟;判断第一终端的信号质量是否高于预设信号质量;其中,在判断结果为否的情况下,
确定网络状态不满足预定条件。需要说明的是,在本发明的实施例中,以丢包率、数据包延迟和信号质量为例,描述如何判断网络状态,本发明判断网络状态的方式不限于此,在此不再赘述。
通过上述装置,第一配置模块66可以根据网络状态是否满足预定条件判断网络状态的质量,在网络相对较好时,为第一终端配置编码速率相对较高的编码方式,再通过控制信息将为第一终端配置的编码方式发送给第一终端。实现了根据基站检测到的网络状态的质量为第一终端配置第一终端编码能力范围内的编码方式,解决了相关技术中由终端发起编码方式的配置导致的网络阻塞的问题,实现了动态调整编码方式,减少网络拥塞的效果。
进一步,在第一终端配置其编码方式时,根据第一终端的编码能力和基站检测的网络状态,为第一终端配置编码方式,第一终端可以将其编码方式配置为配置的编码方式,使第一终端的编码方式既符合第一终端的编码能力,又适应于基站检测到的网络状态,从而提高了第一终端配置其编码方式的成功率。
图10是根据本发明实施例的又一种可选的编码方式配置装置的结构框图,如图10所示,可选地,上述装置还包括:
1)第一接收模块102,耦合至第一配置模块66,设置为接收第一终端发送的第二指示消息,其中,第二指示消息用于指示第一终端根据为第一终端配置的编码方式进行配置后得到的配置结果,配置结果包括以下之一:配置成功、配置失败、配置被拒绝、所述配置未被拒绝;
2)记录模块104,耦合至第一接收模块102,设置为记录为第一终端配置的编码方式与配置结果的对应关系。
例如:如果第一终端在初始编码方式的协商过程中,第一终端可以选择基站配置的编码方式和编码速率进行后续的协商过程。或者,第一终端可以根据基站的配置触发编码方式的配置过程。
第一接收模块102可以接收第一终端发送的编码方式的配置结果,该
配置结果可以是:配置编码成功的通知;配置编码失败的通知;第一终端和/或通信对端的第二终端拒绝编码配置的指示;第一终端和/或通信对端的第二终端未拒绝编码配置的指示。
记录模块104可以记录编码方式的配置结果,在后续触发编码方式配置的时候,可以不再触发失败或者被拒绝的编码方式的配置。
图11是根据本发明实施例的又一种可选的编码方式配置装置的结构框图,如图11所示,可选地,上述装置还包括:
更新模块112,耦合至记录模块104,设置为根据网络状态、编码能力指示信息及对应关系,为第一终端更新编码方式。
可选地,更新模块112设置为:根据网络状态,从编码能力指示信息中选择配置结果为配置成功或者配置未被拒绝的编码方式作为为第一终端更新的编码方式。
例如:为第一终端更新编码方式可以但不限于是根据网络状态,由更新模块112从编码能力指示信息中选择配置结果为配置成功或者配置被拒绝的编码方式作为为第一终端更新的编码方式。还可以是当再次为第一终端配置编码方式时,可以不为第一终端配置对应关系中配置结果为配置失败或者配置被拒绝的编码方式。
通过上述装置,更新模块112还可以根据为第一终端配置的编码方式的配置结果为第一终端更新配置的编码方式,从而避免了为第一终端配置结果为配置失败的编码方式,提高了编码方式配置的成功率。
图12是根据本发明实施例的又一种可选的编码方式配置装置的结构框图,如图12所示,可选地,装置还包括:
第二接收模块122,耦合至第一配置模块66,设置为接收第一终端发送的反馈消息,其中,反馈消息用于指示第一终端接收到为第一终端配置的编码方式。
通过上述装置,为了确定第一终端是否接收到了为其配置的编码方式,可以但不限于由第一终端发送用于指示所述第一终端接收到为所述第一
终端配置的所述编码方式的反馈消息,如果第二接收模块122接收到了该反馈消息,则确定第一终端已经接收到为第一终端配置的编码方式。在一个可选的示例中,如果第二接收模块122没有接收到该反馈消息,则可以但不限于认为第一终端没有接收到为第一终端配置的编码方式,第一配置模块66可以再次向第一终端发送为第一终端配置的编码方式,第一配置模块66可以发送到接收到第一终端的反馈消息为止。以确保第一终端可以接收到为其配置的编码方式,从而提高配置编码方式的成功率。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。
实施例4
在本实施例中还提供了一种编码方式配置装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图13是根据本发明实施例的又一种可选的编码方式配置装置的结构框图,如图13所示,该装置包括:
1)第一发送模块132,设置为向基站发送基站的覆盖范围内的第一终端的编码能力指示信息;
2)第二获取模块134,耦合至第一发送模块132,设置为获取基站根据编码能力指示信息以及基站检测到的网络状态为第一终端配置的编码方式。
可选地,上述编码方式配置装置可以但不限于应用于配置终端的编码方式的场景中。例如:可以但不限于是在LTE系统中终端在通话建立的开始和过程中,在发送和接收端进行编码方式的配置协商的场景,还可以是
在LTE系统中终端在通话过程中,在发送和接收端进行编码方式的修改时,对修改的目标编码方式进行配置的场景。
可选地,上述编码方式配置装置可以但不限于应用于终端,例如:终端可以但不限于是手机、平板电脑、笔记本电脑、台式电脑、智能穿戴设备等。
通过上述装置,第一发送模块132向基站发送在基站的覆盖范围内的第一终端的编码能力指示信息来向基站提供第一终端的编码能力,并由第二获取模块134获取基站根据检测到的基站的网络状态从第一终端的编码能力支持的编码方式中选择出的为第一终端配置的编码方式,例如在网络状态较好的情况下,第二获取模块134获取基站为第一终端配置的在第一终端的编码能力的范围内编码速率较高的编码方式,从而使第一终端的编码方式满足当前基站检测到的网络状态,解决了相关技术中由终端发起编码方式的配置导致的网络阻塞的问题,实现了动态调整编码方式,减少网络拥塞的效果。进一步,在第一终端配置其编码方式时,可以获取基站根据第一终端的编码能力和基站检测的网络状态,为第一终端配置的编码方式,第一终端可以将其编码方式配置为基站配置的编码方式,使第一终端的编码方式既符合第一终端的编码能力,又适应于基站检测到的网络状态,从而提高了第一终端配置其编码方式的成功率。
在本实施例中,第一发送模块132向基站发送编码能力指示信息的方式可以是通过接收基站发送的编码能力请求来触发的反馈第一终端的编码能力,也可以是主动向上报第一终端的编码能力。
在本实施例的一个示例中,提供了一种可选的第一发送模块132通过接收基站发送的编码能力请求来触发的反馈第一终端的编码能力的方式向基站发送编码能力指示信息。
在本示例中,可以接收基站发送的用于请求第一终端上报其编码能力的编码能力请求消息。例如:可以但不限于接收基站发送的在UECapabilityEnquiry消息中携带的编码能力请求指示requestCodec。
接收到基站发送的编码能力请求消息后,第一发送模块132将第一终端支持的编码能力上报给基站。例如:可以但不限于发送在UECapabilityInformation消息中携带的能力指示supportedCodecList)。
在本实施例的另一个示例中,提供了一种可选的第一发送模块132主动上报其编码能力的方式向基站发送编码能力指示信息。
在本示例中,第一终端可以和对端的第二终端在建立业务通信的过程中协商要采用的编码方式。
第一发送模块132可以将协商过的各个业务支持的编码方式上报给基站。例如:可以但不限于发送在SupportCodecInfo消息中指示每个DRB支持的编码方式的集合。
在本实施例中,基站检测到的基站的网络状态可以但不限于是基站的网络中信息的传输速率、基站的网络中各编码方式的编码速率、基站的网络的阻塞率、基站的网络的丢包率、基站的网络中的资源利用率等。
在本实施例中,编码能力指示信息可以但不限于是第一终端的各个通信业务支持的编码方式和/或各个编码方式对应的编码速率的集合、第一终端与通信对端的第二终端共同支持的编码方式和/或各个编码方式对应的编码速率的集合。
在本实施例中,编码能力指示信息可以但不限于携带有以下至少之一:第一终端支持的编码方式的标识、第一终端支持的编码速率的标识、第一终端建立的数据无线承载DRB的可用编码方式的标识、第一终端建立的DRB的可用编码速率的标识。
图14是根据本发明实施例的又一种可选的编码方式配置装置的结构框图,如图14所示,可选地,第一发送模块132包括:
1)第二接收单元142,设置为接收基站发送的编码能力请求,其中,编码能力请求用于请求获取第一终端的编码能力指示信息;2)第四发送单元144,耦合至第二接收单元142,设置为向基站发送第一终端的编码能力指示信息;或者
3)上报单元146,设置为向基站上报第一终端的编码能力指示信息。
在本实施例中,第一发送模块132可以但不限于通过不同的方式上报第一终端的编码能力指示信息。
例如:方式一,第二接收单元142可以接收基站请求获得第一终端的编码能力指示信息的消息,然后根据编码能力指示信息的指示由第四发送单元144上报与第一终端编码能力相关的信息,该信息可以但不限于包括以下信息的至少之一:第一终端支持的编码方式标识;第一终端支持的编码速率的标识;第一终端建立的DRB的可用编码方式的标识;第一终端建立的DRB的可用编码速率的标识。
方式二,可以但不限于在第一终端需要配置编码方式时,由上报单元146主动上报与第一终端的编码能力相关的信息,该信息可以但不限于包括以下信息至少之一:第一终端支持的编码方式标识;第一终端支持的编码速率的标识;第一终端建立的DRB的可用编码方式的标识;第一终端建立的DRB的可用编码速率的标识。
通过上述装置,第一发送模块132可以通过不同的方式向基站发送第一终端的编码能力指示信息。一方面,可以是在基站的网络状态较好的情况下,例如:将当前网络中的信息传输速率高于某一预设值时认为是基站的网络状态较好,第二接收单元142接收到基站发送的用于获取第一终端的编码能力的请求,第四发送单元144将第一终端的编码能力发送给基站的方式为第一终端配置的编码速率较高的编码方式,以提高第一终端的通信质量。另一方面,可以是在第一终端的网络状态较好的情况下,例如:将当前第一终端的信息传输速率高于某一预设值时认为是第一终端的网络状态较好,通过上报单元146主动上报其编码能力的方式获取为第一终端配置的编码速率较高的编码方式,以提高第一终端的通信质量。同时,为第一终端配置的编码方式既考虑到了第一终端的编码能力又考虑到了基站的网络状态,解决了相关技术中由终端发起编码方式的配置导致的网络阻塞的问题,实现了动态调整编码方式,减少网络拥塞的效果。
进一步,在第一终端配置其编码方式时,根据第一终端的编码能力和基站检测的网络状态,为第一终端配置编码方式,第一终端可以将其编码方式配置为配置的编码方式,使第一终端的编码方式既符合第一终端的编码能力,又适应于基站检测到的网络状态,从而提高了第一终端配置其编码方式的成功率。
可选地,编码能力请求可以但不限于携带有以下至少之一:数据无线承载DRB标识、编码方式的标识、编码速率的标识。
图15是根据本发明实施例的又一种可选的编码方式配置装置的结构框图,如图15所示,可选地,上报单元146包括:
1)协商子单元152,设置为与第二终端协商编码方式,得到通用编码集合和通用编码集合对应的承载标识,其中,通用编码集合和通用编码集合对应的承载标识用于标识第一终端的编码能力,第二终端与第一终端之间建立了通信连接;
2)上报子单元154,耦合至协商子单元152,设置为向基站上报携带有通用编码集合和通用编码集合对应的承载标识的编码能力指示信息。
例如:第一终端的协商子单元152在与通信对端的第二终端进行初始编码协商过程中获得通用编码集合后,上报子单元154将该通用编码集合和通用编码集合对应的承载标识发送给基站。
通过上述装置,第一终端可以通过协商子单元152与通信对端的第二终端协商二者进行通信时各业务的编码方式和/或各编码方式对应的编码速率,并由上报子单元154将协商得到的结果上报给基站。在基站为第一终端配置编码方式时,可以同时考虑到第一终端和第二终端的编码能力以及基站检测到的网络状态,使为第一终端配置的编码方式能够得到第一终端和第二终端的支持,从而提高了第一终端在配置其与第二终端进行通信的编码方式时的成功率。
图16是根据本发明实施例的又一种可选的编码方式配置装置的结构框图,如图16所示,可选地,上报单元146还包括:
1)接收子单元162,耦合至协商子单元152,设置为接收基站通过系统消息发送的第一指示消息,其中,第一指示消息用于指示基站支持对第一终端的编码方式进行配置。
例如:接收子单元162可以但不限于接收基站通过系统消息(如在系统信息块2(System Information Block 2,简称为SIB2)消息中的codecChangeSupport指示消息)通知第一终端的基站支持编码方式的配置。通过上述步骤,可以通过接收子单元162接收基站发送的系统消息中携带的第一指示消息,使第一终端知晓基站支持第一终端配置编码方式,在第一终端需要配置编码方式时,可以主动向基站上报其编码能力。
可选地,第二获取模块134设置为:接收基站发送的控制消息,其中,控制消息中携带有为第一终端配置的编码方式。
可选地,控制消息可以但不限于携带有以下至少之一:数据无线承载DRB的标识、配置的编码方式的标识、配置的编码速率的标识、增加的编码速率的等级、降低的编码速率的等级。
图17是根据本发明实施例的又一种可选的编码方式配置装置的结构框图,如图17所示,可选地,上述装置还包括:
1)第二配置模块172,耦合至第二获取模块134,设置为根据为第一终端配置的编码方式,配置第一终端的编码方式;
2)第二发送模块174,耦合至第二配置模块172,设置为向基站发送第二指示消息,其中,第二指示消息用于指示第一终端根据为第一终端配置的编码方式进行配置后得到的配置结果,配置结果包括以下之一:配置成功、配置失败、配置被拒绝、所述配置未被拒绝。
例如:如果第一终端在初始编码方式的协商过程中,第一终端可以选择基站配置的编码方式和编码速率进行后续的协商过程。或者,第一终端可以由第二配置模块172根据基站的配置触发编码方式的配置过程。
第一终端可以通过第二发送模块174将编码方式的配置结果发送给基站,该配置结果可以是:配置编码成功的通知;配置编码失败的通知;第
一终端和/或通信对端的第二终端拒绝编码配置的指示;第一终端和/或通信对端的第二终端未拒绝编码配置的指示。
通过上述装置,基站可以记录编码方式的配置结果,在后续触发编码方式配置的时候,可以不再触发失败的编码方式的配置。还可以根据为第一终端配置的编码方式的配置结果为第一终端更新配置的编码方式,从而避免了为第一终端配置结果为配置失败的编码方式,提高了编码方式配置的成功率。
图18是根据本发明实施例的又一种可选的编码方式配置装置的结构框图,如图18所示,可选地,第二配置模块172包括:
1)确定单元182,设置为根据为第一终端配置的编码方式以及第一终端的信息传输状态,确定是否配置第一终端的编码方式;
2)配置单元184,耦合至确定单元182,设置为在确定配置第一终端的编码方式的情况下,配置第一终端的编码方式。
图19是根据本发明实施例的又一种可选的编码方式配置装置的结构框图,如图19所示,可选地,确定单元182包括:
1)判断子单元192,设置为判断以下之一:第一终端的数据包丢包率是否低于第一预设阈值、第一终端的数据包延迟是否低于第二预设阈值、第一终端的信号质量是否高于第三预设阈值;
2)确定子单元194,耦合至判断子单元192,设置为在判断结果为是的情况下,确定配置第一终端的编码方式;在判断结果为否的情况下,确定不配置第一终端的编码方式。
第一终端可以但不限于通过判断子单元192根据其自身的通信质量判断是否将当前的编码方式配置为基站为其配置的编码方式,其自身的通信质量可以是第一终端在当前的编码方式下的信息传输速率,如果确定子单元194确定当前的编码方式已经满足了第一终端的通信要求,那么第一终端可以选择不配置编码方式。或者还可以是如果判断子单元192判断出第一终端当前的通信质量较好,表示第一终端的编码方式的编码速率可以提
高,那么确定子单元194可以确定将编码方式配置成基站为其配置的编码方式,以提高第一终端的通信质量。
在一个示例中,判断子单元192根据为第一终端配置的编码方式以及第一终端的信息传输状态,判断是否配置第一终端的编码方式可以是判断以下之一:第一终端的数据包丢包率是否低于第一预设阈值、第一终端的数据包延迟是否低于第二预设阈值、第一终端的信号质量是否高于第三预设阈值,其中,在判断结果为是的情况下,确定子单元194可以确定配置第一终端的编码方式,在判断结果为否的情况下,确定子单元194可以确定不配置第一终端的编码方式。
图20是根据本发明实施例的又一种可选的编码方式配置装置的结构框图,如图20所示,可选地,装置还包括:
第三发送模块202,耦合至第二获取模块134,设置为向基站发送反馈消息,其中,反馈消息用于指示第一终端接收到为第一终端配置的编码方式。
通过上述装置,为了使基站得知第一终端是否接收到了为其配置的编码方式,可以但不限于由第三发送模块202向基站发送用于指示所述第一终端接收到为所述第一终端配置的所述编码方式的反馈消息,如果基站接收到了该反馈消息,则确定第一终端已经接收到为第一终端配置的编码方式。在一个可选的示例中,如果基站没有接收到该反馈消息,则基站可以但不限于认为第一终端没有接收到为第一终端配置的编码方式,基站可以再次向第一终端发送为第一终端配置的编码方式,可以发送到基站接收到第一终端的反馈消息为止。以确保第一终端可以接收到为其配置的编码方式,从而提高配置编码方式的成功率。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。
实施例5
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:
S11,获取基站的覆盖范围内第一终端的编码能力指示信息,其中,编码能力指示信息用于标识第一终端的编码能力;
S12,检测基站的网络状态;
S13,根据检测到的网络状态及编码能力指示信息,为第一终端配置编码方式。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:
S21,向基站发送基站的覆盖范围内的第一终端的编码能力指示信息;
S22,获取基站根据编码能力指示信息以及基站检测到的网络状态为第一终端配置的编码方式。
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模
块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
在本发明实施例中,采用获取基站的覆盖范围内第一终端的编码能力指示信息,其中,编码能力指示信息用于标识第一终端的编码能力;检测基站的网络状态;根据检测到的网络状态及编码能力指示信息,为第一终端配置编码方式的方式,也就是说,通过获取基站的覆盖范围内第一终端的编码能力指示信息获取第一终端的编码能力,并对基站的网络状态进行检测,然后可以根据基站的网络状态从第一终端的编码能力支持的编码方式中选择出为第一终端配置的编码方式,并将其配置给第一终端,以实现在网络状态较好的情况下,为终端配置在第一终端的编码能力的范围内编码速率较高的编码方式,从而使第一终端的编码方式满足当前基站检测到的网络状态,解决了相关技术中由终端发起编码方式的配置导致的网络阻塞的问题,实现了动态调整编码方式,减少网络拥塞的效果。
Claims (32)
- 一种编码方式配置方法,包括:获取基站的覆盖范围内第一终端的编码能力指示信息,其中,所述编码能力指示信息用于标识所述第一终端的编码能力;检测所述基站的网络状态;根据检测到的所述网络状态及所述编码能力指示信息,为所述第一终端配置编码方式。
- 根据权利要求1所述的方法,其中,获取所述基站的覆盖范围内所述第一终端的所述编码能力指示信息包括:向所述第一终端发送编码能力请求,其中,所述编码能力请求用于请求获取所述第一终端的所述编码能力指示信息;接收所述第一终端发送的所述第一终端的所述编码能力指示信息;或者获取所述第一终端上报的所述编码能力指示信息。
- 根据权利要求2所述的方法,其中,所述编码能力请求携带有以下至少之一:数据无线承载DRB标识、编码方式的标识、编码速率的标识。
- 根据权利要求2所述的方法,其中,获取所述第一终端上报的所述编码能力指示信息包括:获取所述第一终端上报的携带有通用编码集合和所述通用编码集合对应的承载标识的所述编码能力指示信息;其中,所述通用编码集合和所述通用编码集合对应的所述承载标识用于标识所述第一终端的编码能力,所述通用编码集合和所述通用编码集合对应的所述承载标识是由所述第一终端与第二终端协商编 码方式得到的,所述第二终端与所述第一终端之间建立了通信连接。
- 根据权利要求2所述的方法,其中,在获取所述第一终端上报的所述编码能力指示信息之前,所述方法还包括:通过系统消息向所述第一终端发送第一指示消息,其中,所述第一指示消息用于指示所述基站支持对所述第一终端的编码方式进行配置。
- 根据权利要求1所述的方法,其中,根据所述网络状态及所述编码能力指示信息,为所述第一终端配置编码方式包括:判断所述网络状态是否满足预定条件;在所述网络状态满足所述预定条件的情况下,从所述编码能力指示信息所指示的编码方式中选择第一编码方式作为为所述第一终端配置的所述编码方式;和/或,在所述网络状态不满足所述预定条件的情况下,从所述编码能力指示信息所指示的编码方式中选择第二编码方式作为为所述第一终端配置的所述编码方式;其中,所述第一编码方式的编码速率高于所述第二编码方式;向所述第一终端发送控制消息,其中,所述控制消息中携带有为所述第一终端配置的所述编码方式。
- 根据权利要求6所述的方法,其中,判断所述网络状态是否满足所述预定条件包括以下之一:判断所述第一终端的丢包率是否低于预设丢包率;判断所述第一终端的数据包延迟是否低于预设数据包延迟;判断所述第一终端的信号质量是否高于预设信号质量;其中,在判断结果为是的情况下,确定所述网络状态满足所述预定条件;在判断结果为否的情况下,确定所述网络状态不满足所述预定条件。
- 根据权利要求1所述的方法,其中,在根据所述网络状态及所述编码能力指示信息,为所述第一终端配置编码方式之后,所述方法还包括:接收所述第一终端发送的第二指示消息,其中,所述第二指示消息用于指示所述第一终端根据为所述第一终端配置的所述编码方式进行配置后得到的配置结果,所述配置结果包括以下之一:配置成功、配置失败、配置被拒绝、所述配置未被拒绝;记录为所述第一终端配置的所述编码方式与所述配置结果的对应关系。
- 根据权利要求8所述的方法,其中,在记录为所述第一终端配置的所述编码方式与所述配置结果的对应关系之后,所述方法还包括:根据所述网络状态、所述编码能力指示信息及所述对应关系,为所述第一终端更新编码方式。
- 根据权利要求9所述的方法,其中,根据所述网络状态及所述编码能力指示信息及所述对应关系,为所述第一终端更新所述编码方式包括:根据所述网络状态,从所述编码能力指示信息中选择所述配置结果为所述配置成功或者所述配置未被拒绝的编码方式作为为所述第一终端更新的所述编码方式。
- 根据权利要求1所述的方法,其中,在根据所述网络状态及 所述编码能力指示信息,为所述第一终端配置编码方式之后,所述方法还包括:接收所述第一终端发送的反馈消息,其中,所述反馈消息用于指示所述第一终端接收到为所述第一终端配置的所述编码方式。
- 根据权利要求1至11中任一项所述的方法,其中,所述编码能力指示信息携带有以下至少之一:所述第一终端支持的编码方式的标识、所述第一终端支持的编码速率的标识、所述第一终端建立的数据无线承载DRB的可用编码方式的标识、所述第一终端建立的DRB的可用编码速率的标识。
- 根据权利要求6或7所述的方法,其中,所述控制消息携带有以下至少之一:数据无线承载DRB的标识、配置的编码方式的标识、配置的编码速率的标识、增加的编码速率的等级、降低的编码速率的等级。
- 一种编码方式配置方法,包括:向基站发送所述基站的覆盖范围内的第一终端的编码能力指示信息;获取所述基站根据所述编码能力指示信息以及所述基站检测到的网络状态为所述第一终端配置的编码方式。
- 根据权利要求14所述的方法,其中,向所述基站发送所述第一终端的所述编码能力指示信息包括:接收所述基站发送的编码能力请求,其中,所述编码能力请求用于请求获取所述第一终端的所述编码能力指示信息;向所述基站发送所述第一终端的所述编码能力指示信息;或者向所述基站上报所述第一终端的所述编码能力指示信息。
- 根据权利要求15所述的方法,其中,所述编码能力请求携带有以下至少之一:数据无线承载DRB标识、编码方式的标识、编码速率的标识。
- 根据权利要求15所述的方法,其中,向所述基站上报所述第一终端的所述编码能力指示信息包括:与第二终端协商编码方式,得到通用编码集合和所述通用编码集合对应的承载标识,其中,所述通用编码集合和所述通用编码集合对应的所述承载标识用于标识所述第一终端的编码能力,所述第二终端与所述第一终端之间建立了通信连接;向所述基站上报携带有所述通用编码集合和所述通用编码集合对应的所述承载标识的所述编码能力指示信息。
- 根据权利要求15所述的方法,其中,在向所述基站上报所述第一终端的所述编码能力指示信息之前,所述方法还包括:接收所述基站通过系统消息发送的第一指示消息,其中,所述第一指示消息用于指示所述基站支持对所述第一终端的编码方式进行配置。
- 根据权利要求14所述的方法,其中,获取为所述第一终端配置的所述编码方式包括:接收所述基站发送的控制消息,其中,所述控制消息中携带有为所述第一终端配置的所述编码方式。
- 根据权利要求19所述的方法,其中,所述控制消息携带有以下至少之一:数据无线承载DRB的标识、配置的编码方式的标识、 配置的编码速率的标识、增加的编码速率的等级、降低的编码速率的等级。
- 根据权利要求14所述的方法,其中,在获取为所述第一终端配置的所述编码方式之后,所述方法还包括:根据为所述第一终端配置的所述编码方式,配置所述第一终端的编码方式;向所述基站发送第二指示消息,其中,所述第二指示消息用于指示所述第一终端根据为所述第一终端配置的所述编码方式进行配置后得到的配置结果,所述配置结果包括以下之一:配置成功、配置失败、配置被拒绝、所述配置未被拒绝。
- 根据权利要求21所述的方法,其中,根据为所述第一终端配置的所述编码方式,配置所述第一终端的编码方式包括:根据为所述第一终端配置的所述编码方式以及所述第一终端的信息传输状态,确定是否配置所述第一终端的编码方式;在确定配置所述第一终端的编码方式的情况下,配置所述第一终端的编码方式。
- 根据权利要求22所述的方法,其中,根据为所述第一终端配置的所述编码方式以及所述第一终端的所述信息传输状态,确定是否配置所述第一终端的编码方式包括:判断以下之一:所述第一终端的数据包丢包率是否低于第一预设阈值、所述第一终端的数据包延迟是否低于第二预设阈值、所述第一终端的信号质量是否高于第三预设阈值;在判断结果为是的情况下,确定配置所述第一终端的编码方式; 在判断结果为否的情况下,确定不配置所述第一终端的编码方式。
- 根据权利要求14所述的方法,其中,在获取为所述第一终端配置的所述编码方式之后,所述方法还包括:向所述基站发送反馈消息,其中,所述反馈消息用于指示所述第一终端接收到为所述第一终端配置的所述编码方式。
- 根据权利要求14至24中任一项所述的方法,其中,所述编码能力指示信息携带有以下至少之一:所述第一终端支持的编码方式的标识、所述第一终端支持的编码速率的标识、所述第一终端建立的数据无线承载DRB的可用编码方式的标识、所述第一终端建立的DRB的可用编码速率的标识。
- 一种编码方式配置装置,包括:第一获取模块,用于获取基站的覆盖范围内第一终端的编码能力指示信息,其中,所述编码能力指示信息用于标识所述第一终端的编码能力;检测模块,用于检测所述基站的网络状态;第一配置模块,用于根据检测到的所述网络状态及所述编码能力指示信息,为所述第一终端配置编码方式。
- 根据权利要求26所述的装置,其中,所述装置还包括:第一接收模块,用于接收所述第一终端发送的第二指示消息,其中,所述第二指示消息用于指示所述第一终端根据为所述第一终端配置的所述编码方式进行配置后得到的配置结果,所述配置结果包括以下之一:配置成功、配置失败、配置被拒绝、所述配置未被拒绝;记录模块,用于记录为所述第一终端配置的所述编码方式与所述 配置结果的对应关系。
- 根据权利要求27所述的装置,其中,所述装置还包括:更新模块,用于根据所述网络状态、所述编码能力指示信息及所述对应关系,为所述第一终端更新编码方式。
- 根据权利要求26所述的装置,其中,所述装置还包括:第二接收模块,用于接收所述第一终端发送的反馈消息,其中,所述反馈消息用于指示所述第一终端接收到为所述第一终端配置的所述编码方式。
- 一种编码方式配置装置,包括:第一发送模块,设置为向基站发送所述基站的覆盖范围内的第一终端的编码能力指示信息;第二获取模块,设置为获取所述基站根据所述编码能力指示信息以及所述基站检测到的网络状态为所述第一终端配置的编码方式。
- 根据权利要求30所述的装置,其中,所述装置还包括:第二配置模块,设置为根据为所述第一终端配置的所述编码方式,配置所述第一终端的编码方式;第二发送模块,设置为向所述基站发送第二指示消息,其中,所述第二指示消息用于指示所述第一终端根据为所述第一终端配置的所述编码方式进行配置后得到的配置结果,所述配置结果包括以下之一:配置成功、配置失败、配置被拒绝、所述配置未被拒绝。
- 根据权利要求30所述的装置,其中,所述装置还包括:第三发送模块,设置为向所述基站发送反馈消息,其中,所述反 馈消息用于指示所述第一终端接收到为所述第一终端配置的所述编码方式。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610188550.XA CN107241762A (zh) | 2016-03-29 | 2016-03-29 | 编码方式配置方法及装置 |
CN201610188550.X | 2016-03-29 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017166973A1 true WO2017166973A1 (zh) | 2017-10-05 |
Family
ID=59963432
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/075359 WO2017166973A1 (zh) | 2016-03-29 | 2017-03-01 | 编码方式配置方法及装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107241762A (zh) |
WO (1) | WO2017166973A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109922533A (zh) * | 2019-04-04 | 2019-06-21 | 海能达通信股份有限公司 | 数据传输方法、多播协调实体设备、基站设备及eMBMS系统 |
CN112153643A (zh) * | 2019-06-27 | 2020-12-29 | 深圳清华大学研究院 | 一种全域编码通讯路由系统与方法 |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110225352B (zh) * | 2019-06-27 | 2021-03-05 | 深圳市云语科技有限公司 | 一种基于能力协商的云游戏视频编解码选择方法 |
CN113472479B (zh) * | 2020-03-31 | 2022-11-22 | 维沃移动通信有限公司 | 一种传输处理方法及设备 |
CN115623469A (zh) * | 2021-07-15 | 2023-01-17 | 华为技术有限公司 | 一种网络编码功能的配置方法以及相关装置 |
CN117158031B (zh) * | 2022-03-31 | 2024-04-23 | 北京小米移动软件有限公司 | 能力确定方法、上报方法、装置、设备及存储介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1728598A (zh) * | 2004-07-31 | 2006-02-01 | 西门子(中国)有限公司 | 一种语音移动通信过程中调整编码速率的方法 |
CN101626598A (zh) * | 2009-07-23 | 2010-01-13 | 华为技术有限公司 | 传输资源管理的方法和系统 |
CN102665242A (zh) * | 2012-05-28 | 2012-09-12 | 鼎桥通信技术有限公司 | 初始接入时选择amr语音编码速率的方法及设备 |
US20130077661A1 (en) * | 2003-08-08 | 2013-03-28 | Eric A. Jacobsen | Base station and method for channel coding and link adaptation |
US8837317B1 (en) * | 2012-08-27 | 2014-09-16 | Sprint Spectrum L.P. | Managing codec consistency across a communication session |
CN105337697A (zh) * | 2015-10-12 | 2016-02-17 | 国网信息通信产业集团有限公司 | 一种适用于配网自动化的电力无线通信方法、装置及系统 |
-
2016
- 2016-03-29 CN CN201610188550.XA patent/CN107241762A/zh active Pending
-
2017
- 2017-03-01 WO PCT/CN2017/075359 patent/WO2017166973A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130077661A1 (en) * | 2003-08-08 | 2013-03-28 | Eric A. Jacobsen | Base station and method for channel coding and link adaptation |
CN1728598A (zh) * | 2004-07-31 | 2006-02-01 | 西门子(中国)有限公司 | 一种语音移动通信过程中调整编码速率的方法 |
CN101626598A (zh) * | 2009-07-23 | 2010-01-13 | 华为技术有限公司 | 传输资源管理的方法和系统 |
CN102665242A (zh) * | 2012-05-28 | 2012-09-12 | 鼎桥通信技术有限公司 | 初始接入时选择amr语音编码速率的方法及设备 |
US8837317B1 (en) * | 2012-08-27 | 2014-09-16 | Sprint Spectrum L.P. | Managing codec consistency across a communication session |
CN105337697A (zh) * | 2015-10-12 | 2016-02-17 | 国网信息通信产业集团有限公司 | 一种适用于配网自动化的电力无线通信方法、装置及系统 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109922533A (zh) * | 2019-04-04 | 2019-06-21 | 海能达通信股份有限公司 | 数据传输方法、多播协调实体设备、基站设备及eMBMS系统 |
CN109922533B (zh) * | 2019-04-04 | 2022-07-22 | 海能达通信股份有限公司 | 数据传输方法、多播协调实体设备、基站设备及eMBMS系统 |
CN112153643A (zh) * | 2019-06-27 | 2020-12-29 | 深圳清华大学研究院 | 一种全域编码通讯路由系统与方法 |
CN112153643B (zh) * | 2019-06-27 | 2022-07-08 | 深圳清华大学研究院 | 一种全域编码通讯路由系统与方法 |
Also Published As
Publication number | Publication date |
---|---|
CN107241762A (zh) | 2017-10-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017166973A1 (zh) | 编码方式配置方法及装置 | |
US10264047B2 (en) | Dynamic codec negotiation | |
US10880221B2 (en) | System and method for adapting an application source rate to a load condition | |
KR102099650B1 (ko) | 이동통신 네트워크의 혼잡 상황 제어 방법 및 장치 | |
US11930391B2 (en) | Wireless communications apparatus and methods | |
KR102279880B1 (ko) | 무선 통신 시스템에서 베어러의 비트레이트를 동적으로 운영하는 방법 및 장치 | |
US11228936B2 (en) | Service communication method and device | |
JP6781857B1 (ja) | Ran補助のレートアダプテーションのためのフィードバック | |
US9980152B2 (en) | Method of indication of available radio resources | |
US11533266B2 (en) | Rate adjustment techniques | |
JP2020511032A (ja) | コーデックレートアダプテーションのためのビットレート要求の無線状態トリガ | |
RU2721829C1 (ru) | Способ и устройство настройки услуги | |
US20190394763A1 (en) | Method and apparatus for controlling downlink or uplink transmission | |
KR20230066413A (ko) | 핸드오버 프로세스 기반 메시지 전송 방법 및 장치, 디바이스, 및 매체 | |
WO2016197295A1 (zh) | 多媒体业务的方法、处理装置及通信设备 | |
WO2016075848A1 (ja) | 制御装置、無線通信デバイス、及びこれらの方法 | |
WO2017167224A1 (zh) | 调整视频编码速率的方法及装置 | |
CN107404363B (zh) | 一种语音码率的调整方法、系统、终端和网络侧设备 | |
US10764336B1 (en) | Controlling timing of dedicated-bearer setup based on base station load | |
CN108039934B (zh) | 无线通信系统中执行编解码速率调配的装置及方法 | |
CN109076400A (zh) | 用于确定业务通信的编解码模式集的方法和装置 | |
US20200077281A1 (en) | Robustness-adaptive access network | |
WO2017128835A1 (zh) | 一种优化通信码率方法及装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17773004 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17773004 Country of ref document: EP Kind code of ref document: A1 |