A method, device and medium for adjusting speech coding and / or bit rate

By adjusting the voice encoding and/or code rate when the geographical clustering area of ​​the terminal changes, the user experience fluctuations and resource waste caused by frequent adjustments are solved, and stable user experience and resource utilization are achieved.

CN116597846BActive Publication Date: 2025-09-02CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310736293.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-20
Publication Date
2025-09-02
Estimated Expiration
2043-06-20

AI Technical Summary

Technical Problem

Existing voice coding and/or code rate adjustment methods cause fluctuations in user experience when frequently adjusted, and there are problems of signaling storms and waste of air interface resources.

Method used

Determine whether the geographical clustering area has changed based on the geographical location of the terminal. Only when the region changes, the voice encoding and/or code rate adjustment is triggered, and the target encoding and/or code rate scheme mapping table is used to obtain the target encoding and/or code rate scheme and make changes.

Benefits of technology

Frequent coding and/or code rate scheme adjustments are avoided, air interface overhead is reduced, user voice experience is ensured, signaling storms and resource waste are prevented.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116597846B_ABST
    Figure CN116597846B_ABST
Patent Text Reader

Abstract

The present invention provides a method, device and medium for adjusting speech coding and / or bit rate, the method comprising: determining whether the geographic clustering area corresponding to the terminal has changed based on the geographic location of the terminal; in response to the geographic clustering area corresponding to the terminal changing, obtaining the target coding and / or bit rate scheme corresponding to the changed current geographic clustering area based on a pre-constructed mapping table of geographic clustering areas and speech coding and / or bit rate schemes, and triggering the change of speech coding and / or bit rate based on the target coding and / or bit rate scheme; in response to the geographic clustering area corresponding to the terminal not changing, maintaining the current speech coding and / or bit rate unchanged. The method, device and medium can solve the problem that the existing speech coding and / or bit rate adjustment method does not take into account the obvious fluctuations in user experience caused by frequent adjustments, and that there is a risk of signaling storms and waste of air interface resources after the network starts adaptive adjustment on a large scale.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network technology, and in particular to a method, device and medium for adjusting speech coding and / or bit rate. Background Art

[0002] The voice communication solutions for 5G networks (VoNR) and 4G networks (Voice over Long-Term Evolution) are currently the primary communication methods used by operators to carry voice services. Both support adaptive adjustment of the voice coding rate.

[0003] However, although the existing voice coding and / or bit rate adjustment methods achieve adaptive adjustment of the bit rate, they do not take into account the obvious fluctuations in user experience that may be caused by frequent adjustments. In addition, when adaptive adjustment is enabled on a large scale in the network, there is a risk of signaling storms and the disadvantage of wasting air interface resources. Summary of the Invention

[0004] The technical problem to be solved by the present invention is to address the above-mentioned shortcomings of the existing technology and provide a method, device and medium for adjusting voice coding and / or bit rate, so as to solve the problem that the existing voice coding and / or bit rate adjustment method does not take into account the obvious fluctuations in user experience caused by frequent adjustments, and there is a risk of signaling storms and waste of air interface resources after the network enables adaptive adjustment on a large scale.

[0005] In a first aspect, the present invention provides a method for adjusting speech coding and / or bit rate, the method comprising:

[0006] Determine whether the geographical cluster area corresponding to the terminal has changed based on the terminal's geographical location;

[0007] In response to a change in the geographic cluster area corresponding to the terminal, obtaining a target coding and / or bit rate scheme corresponding to the changed current geographic cluster area according to a pre-constructed mapping table of geographic cluster areas and speech coding and / or bit rate schemes, and triggering a change in the speech coding and / or bit rate according to the target coding and / or bit rate scheme;

[0008] In response to the geographical cluster area corresponding to the terminal not being changed, the current speech coding and / or bit rate is kept unchanged.

[0009] Furthermore, before determining whether the geographical cluster area corresponding to the terminal has changed based on the geographical location of the terminal, the method further includes:

[0010] Perform rasterization on the local network area to obtain multiple geographic rasters;

[0011] Obtain voice quality indicators that affect the quality of Voice over New Radio (VoNR) and Voice over Long Term Evolution (VoLTE) within the local network area during the statistical period T, and assign them to corresponding geographic grids.

[0012] Calculating the average value of each voice quality index in the geographic grid, and using the averaged voice quality index in each geographic grid as sample data, and classifying the sample data using a preset clustering algorithm;

[0013] For each category, a preset mapping table of voice quality indicators, preferred mean opinion score (MOS) values, and preferred voice coding and / or bitrate solutions for VoNR and VoLTE is constructed based on historical data.

[0014] According to the preset mapping table, the geographic grid is clustered using a geographic clustering algorithm to find geographic areas with the same speech coding and / or bit rate scheme, and a mapping table of geographic cluster areas and speech coding schemes is obtained.

[0015] Furthermore, the voice quality indicators affecting the voice quality of new radio (VoNR) and long term evolution (VoLTE) voice bearer within the local network area within the statistical period T are obtained and fall into the corresponding geographic grid, specifically including:

[0016] Obtain wireless signaling trace data from the wireless side of 4G and 5G base stations within the local network area within the statistical period T;

[0017] Extracting voice quality indicators and latitude and longitude location information that affect the quality of VoNR and VoLTE voices in the local network area from the Trace data;

[0018] Each voice quality indicator is marked in a corresponding geographic grid according to the latitude and longitude position information.

[0019] Furthermore, the voice quality indicator includes at least one of the following: power headroom report PHR, reference signal received power RSRP, channel quality indication CQI, synchronization signal reference signal received power SS-RSRP, synchronization signal signal to interference plus noise ratio SS-SINR, channel state information reference signal received power CSI-RSRP.

[0020] Furthermore, for each classification, a preset mapping table of voice quality indicators, better mean opinion score (MOS) values, and better voice coding and / or bitrate schemes for VoNR and VoLTE is constructed based on historical data, specifically including:

[0021] For each category, based on drive test and / or fixed-point test data, a speech coding and / or bit rate scheme having a MOS value greater than a preset threshold is obtained as a preferred speech coding scheme;

[0022] The preset mapping table is constructed according to the preferred speech coding scheme.

[0023] Furthermore, the terminal includes a calling terminal and a called terminal.

[0024] Furthermore, if the terminal is a calling terminal, triggering a change in speech coding and / or bit rate according to the target coding and / or bit rate scheme specifically includes:

[0025] Sending the target coding and / or bit rate scheme to the base station corresponding to the called terminal, so that the base station corresponding to the called terminal negotiates with the called terminal and returns the negotiated voice coding and / or bit rate scheme;

[0026] A voice coding and / or bit rate scheme adjustment command is issued to the calling terminal according to the negotiated voice coding and / or bit rate scheme.

[0027] Furthermore, if the terminal is a called terminal, triggering a change in speech coding and / or bit rate according to the target coding and / or bit rate scheme specifically includes:

[0028] Sending the target coding and / or bit rate scheme to the base station corresponding to the calling terminal, so that the base station corresponding to the calling terminal negotiates with the calling terminal and returns the negotiated voice coding and / or bit rate scheme;

[0029] A voice coding and / or bit rate scheme adjustment command is issued to the called terminal according to the negotiated voice coding and / or bit rate scheme.

[0030] In a second aspect, the present invention provides a device for adjusting speech coding and / or bit rate, comprising:

[0031] The region change judgment module is used to judge whether the geographical cluster region corresponding to the terminal has changed according to the geographical location of the terminal;

[0032] a speech coding adjustment module, connected to the region change determination module, configured to, in response to a change in the geographic cluster region corresponding to the terminal, obtain a target coding and / or bit rate scheme corresponding to the changed current geographic cluster region according to a pre-established mapping table of geographic cluster regions and speech coding and / or bit rate schemes, and trigger a change in the speech coding and / or bit rate according to the target coding and / or bit rate scheme;

[0033] The voice coding maintaining module is connected to the area change determination module and is used to maintain the current voice coding and / or bit rate unchanged in response to the geographical cluster area corresponding to the terminal not changing.

[0034] In a third aspect, the present invention provides a device for adjusting speech coding and / or bit rate, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to implement the speech coding and / or bit rate adjustment method described in the first aspect above.

[0035] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for adjusting the speech coding and / or bit rate described in the first aspect above is implemented.

[0036] The present invention provides a method, device and medium for adjusting speech coding and / or bit rate. First, it is determined whether the geographic clustering area corresponding to the terminal has changed based on the geographic location of the terminal; then, when the geographic clustering area corresponding to the terminal has changed, the target coding and / or bit rate scheme corresponding to the changed current geographic clustering area is obtained according to the pre-constructed mapping table of geographic clustering areas and speech coding and / or bit rate schemes, and the change of speech coding and / or bit rate is triggered according to the target coding and / or bit rate scheme; and when the geographic clustering area corresponding to the terminal has not changed, the current speech coding and / or bit rate is kept unchanged. The present application triggers the change of coding and / or bit rate only when the geographic clustering area of ​​the terminal has changed, thereby realizing the adjustment of speech coding and / or bit rate scheme based on the communication quality of the geographic location, avoiding frequent coding and / or bit rate scheme adjustments and signaling storms, reducing air interface overhead, and ensuring that the user's voice experience area is relatively optimal. This solves the problem that existing voice coding and / or bit rate adjustment methods do not take into account the obvious fluctuations in user experience that may be caused by frequent adjustments, and that there is a risk of signaling storms and waste of air interface resources after the network enables adaptive adjustment on a large scale. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 A schematic diagram of a media negotiation process between a calling party and a called party according to an embodiment of the present invention;

[0038] Figure 2 This is a flowchart of a method for adjusting speech coding and / or bit rate according to embodiment 1 of the present invention;

[0039] Figure 3 This is a schematic diagram of interaction for negotiation and adjustment of speech coding and / or bit rate according to an embodiment of the present invention;

[0040] Figure 4 This is a structural diagram of a device for adjusting speech coding and / or bit rate according to embodiment 2 of the present invention;

[0041] Figure 5 This is a structural diagram of a speech coding and / or bit rate adjustment device according to embodiment 3 of the present invention. DETAILED DESCRIPTION

[0042] In order to enable those skilled in the art to better understand the technical solutions of the present invention, the embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.

[0043] It should be understood that the specific embodiments and drawings described herein are only used to explain the present invention rather than to limit the present invention.

[0044] It is understood that, in the absence of conflict, the various embodiments of the present invention and the various features in the embodiments may be combined with each other.

[0045] It can be understood that, for the convenience of description, the drawings of the present invention only show parts related to the present invention, while parts unrelated to the present invention are not shown in the drawings.

[0046] It can be understood that each unit and module involved in the embodiments of the present invention may correspond to only one physical structure, or may be composed of multiple physical structures, or multiple units and modules may be integrated into one physical structure.

[0047] It can be understood that the terms "first", "second", etc. in the embodiments of the present invention are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.

[0048] It will be understood that, without conflict, the functions and steps marked in the flowcharts and block diagrams of the present invention may occur in an order different from that marked in the drawings.

[0049] It is understood that the flowcharts and block diagrams of the present invention illustrate the possible architectures, functions, and operations of the systems, devices, equipment, and methods according to various embodiments of the present invention. Each box in the flowchart or block diagram may represent a unit, module, program segment, or code, which contains executable instructions for implementing the specified functions. Moreover, each box or combination of boxes in the block diagram and flowchart may be implemented using a hardware-based system that implements the specified functions, or may be implemented using a combination of hardware and computer instructions.

[0050] It can be understood that the units and modules involved in the embodiments of the present invention can be implemented by software or hardware. For example, the units and modules can be located in a processor.

[0051] Application Overview

[0052] VoNR and VoLTE are the main communication methods currently used by operators to carry voice services, and both support adaptive adjustment of voice coding rates.

[0053] In VoLTE, the base station can adjust the calling and called party's voice coding rate (i.e., bitrate) by modifying the CMR (Codec Mode Request) field in the Real-time Transport Protocol (RTP). VoLTE voice service codecs primarily include AMR-NB (Adaptive Multi-rate–NarrowBand) and AMR-WB (Adaptive Multi-rate–Wideband). AMR-NB supports eight bitrate adjustments within the 4.75-12.2 kbit / s range, while AMR-WB supports nine bitrate adjustments within the 6.6-23.85 kbit / s range.

[0054] In VoNR mode, the base station can adjust the voice bit rate through the MAC Control Element (MAC Control Element). The base station pushes or the terminal actively queries the recommended bit rate to increase or decrease the bit rate. VoNR voice service codecs mainly include EVS (Enhance Voice Services) and AMR-WB. Among them, EVS has four different bandwidth coding methods: NB, WB, SWB, and FWB (narrowband, wideband, ultra-wideband, and full-band). For example, EVS-WB supports nine bit rate adjustments within the range of 9.6-128kbit / s.

[0055] During a voice call, the caller and the called party need to negotiate and reach an agreement on a voice coding and / or bit rate solution through a Session Description Protocol (SDP) message in a Session Initiation Protocol (SIP) message. Figure 1 FIG. 1 shows a schematic diagram of a media negotiation process between a calling party and a called party according to an embodiment of the present invention. The media type is also the encoding type, such as Figure 1 As shown, during a call, the terminal can implement active / passive adjustment of the bit rate according to the communication quality (such as channel quality, packet loss rate) and negotiate with the other end.

[0056] However, the wireless environment is complex and dynamically changing, so the quality of wireless communication is fluctuating. The rapid coding and / or bit rate adjustment based on the base station side is frequently adjusted, causing the terminal voice quality to change constantly and the user experience to fluctuate significantly (for example, after increasing the bit rate, it will fall back to the original low bit rate due to the deterioration of communication quality in a short period of time); and the current network does not have a large-scale adaptive bit rate adjustment. When most base station functions are turned on, the user terminal will be at risk of a core network signaling storm (caller and called party bit rate change / negotiation), and air interface resources will be wasted.

[0057] In response to the above technical problems, the idea of ​​the present application is to provide a method, device and medium for adjusting voice coding and / or bit rate, which triggers the change of coding and / or bit rate only when the geographical clustering area of ​​the terminal changes. When the geographical clustering area of ​​the terminal does not change, the current voice coding and / or bit rate remains unchanged, thereby realizing the adjustment of the voice coding and / or bit rate scheme based on the communication quality of the geographical location, avoiding frequent coding and / or bit rate scheme adjustments and signaling storms, reducing air interface overhead, and ensuring that the user voice experience area is relatively optimal.

[0058] After introducing the basic principles of the present application, various non-limiting embodiments of the present application will be described in detail with reference to the accompanying drawings.

[0059] Example 1:

[0060] This embodiment provides a method for adjusting speech coding and / or bit rate, such as Figure 2 As shown, the method includes:

[0061] Step S101: determining whether the geographical cluster area corresponding to the terminal has changed according to the geographical location of the terminal;

[0062] Step S102: In response to a change in the geographic cluster area corresponding to the terminal, obtaining a target coding and / or bitrate scheme corresponding to the changed current geographic cluster area according to a pre-constructed mapping table of geographic cluster areas and speech coding and / or bitrate schemes, and triggering a change in the speech coding and / or bitrate according to the target coding and / or bitrate scheme;

[0063] Step S103: In response to the geographical cluster area corresponding to the terminal not being changed, the current speech coding and / or bit rate is kept unchanged.

[0064] In this embodiment, the terminals include a calling terminal and a called terminal. In order to avoid frequent adjustments to the coding and / or bit rate schemes, reduce air interface overhead, and ensure that the user voice experience area is relatively optimal, the change of the voice coding and / or bit rate method is triggered only when the geographical clustering area of ​​the location of either the calling or the called party changes. When the geographical clustering area where the calling or the called party is located remains unchanged, the current voice coding and / or bit rate remains unchanged.

[0065] Optionally, before determining, based on the geographical location of the terminal, whether the geographical cluster area corresponding to the terminal has changed, the method further includes:

[0066] Perform rasterization on the local network area to obtain multiple geographic rasters;

[0067] Obtain voice quality indicators that affect the quality of Voice over New Radio (VoNR) and Voice over Long Term Evolution (VoLTE) within the local network area during the statistical period T, and assign them to corresponding geographic grids.

[0068] Calculating the average value of each voice quality index in the geographic grid, and using the averaged voice quality index in each geographic grid as sample data, and classifying the sample data using a preset clustering algorithm;

[0069] For each category, a preset mapping table of voice quality indicators, optimal MOS (Mean Opinion Score) values, and optimal voice coding and / or bitrate schemes for VoNR and VoLTE is constructed based on historical data.

[0070] According to the preset mapping table, the geographic grid is clustered using a geographic clustering algorithm to find geographic areas with the same speech coding and / or bit rate scheme, and a mapping table of geographic cluster areas and speech coding schemes is obtained.

[0071] In this embodiment, the local network can be represented as the scope of a district, county, or city. The local network area is rasterized, and the geographic grid size accuracy is L (L is the grid area). The geographic grid can be square or rectangular, or a road grid (a road with a length of L meters).

[0072] Optionally, obtaining voice quality indicators that affect the voice quality of Voice over New Radio (VoNR) and Voice over Long Term Evolution (VoLTE) within a local network area within a statistical period T and assigning them to corresponding geographic grids specifically includes:

[0073] Obtain Trace (wireless signaling) data from the wireless side of 4G and 5G base stations within the local network area within the statistical period T;

[0074] Extracting voice quality indicators and latitude and longitude location information that affect the quality of VoNR and VoLTE voices in the local network area from the Trace data;

[0075] Each voice quality indicator is marked in a corresponding geographic grid according to the latitude and longitude position information.

[0076] In this embodiment, trace data is collected by the base station side, such as the signaling data of the Uu, X2 and S1-MME interfaces of the 4G base station (eNodeB), and the signaling data of the Uu, Xg, and Ng interfaces of the 5G base station (gNodeB). The trace data includes interface signaling data of the interaction between the base station and the terminal, the base station and the base station, and the base station and the core network.

[0077] In this embodiment, the voice quality indicator includes at least one of the following: PHR (Power Headroom Report), RSRP (Reference Signal Receiving Power), CQI (Channel Quality Indicator), SS-RSRP (Synchronization Signal-Reference Signal Received Power), SS-SINR (Synchronization Signal-Signal to Interference plus Noise Ratio), and CSI-RSRP (Channel State Information Reference Signal Received Power). RSRP, PHR, and CQI are voice quality indicators in 4G, while SS-RSRP, PHR, SS-SINR, CSI-RSRP, and CQI are voice quality indicators in 5G.

[0078] In this embodiment, the preset clustering algorithm may be a K-means (k-means clustering algorithm), an AP (Affinity Propagation) algorithm, or the like. The base station uses the preset clustering algorithm to classify the indicator sample data of each geographic grid (e.g., K-Means can specify the number of classifications), wherein 4G and 5G voice services can be classified separately.

[0079] Optionally, for each classification, constructing a preset mapping table of voice quality indicators, better mean opinion score (MOS) values, and better voice coding and / or bit rate schemes for VoNR and VoLTE based on historical data specifically includes:

[0080] For each category, based on drive test and / or fixed-point test data, a speech coding and / or bit rate scheme having a MOS value greater than a preset threshold is obtained as a preferred speech coding scheme;

[0081] The preset mapping table is constructed according to the preferred speech coding scheme.

[0082] In this embodiment, for each classification, the base station constructs a preset mapping table of voice quality indicators, optimal MOS values, and preferred voice coding schemes for VoNR and VoLTE based on historical data (such as drive tests and fixed-point tests). The preset mapping table is periodically updated and maintained by professional network management data processing equipment and distributed to each base station. The scheme with the highest MOS value under different coding schemes (coding mode, bit rate) is preset as the corresponding coding and / or bit rate scheme. Taking a single RSRP voice quality indicator as an example, the preset mapping table can be shown in Table 1, where each row represents a type (corresponding to a classification), and each region corresponds to a row in the preset mapping table, that is, to a class.

[0083] Table 1: Preset mapping table

[0084] RSRP (dbm) MOS average AMR-WB recommended bitrate (kbit / s) [VoLTE] -90 to -95 4.0 23.85 -115 to -120 3.8 12.65

[0085] In this embodiment, the geographic clustering algorithm can be DBSCAN (Density-Based Spatial Clustering of Applications with Noise). The base station uses DBSCAN for grid clustering to find geographic areas with the same coding method and bit rate. It can distinguish between VoLTE and VoNR, obtain the boundaries of the geographic clustering areas, and obtain the mapping table between the geographic clustering areas and the speech coding scheme. Currently, VoLTE terminals basically support AMR-WB, and VoNR terminals support AMR-WB and EVS-SWB. The mapping table between the geographic clustering areas and the speech coding scheme is maintained by the network management and periodically pushed to the base station for updating.

[0086] Optionally, if the terminal is a calling terminal, triggering a change in speech coding and / or bit rate according to the target coding and / or bit rate scheme specifically includes:

[0087] Sending the target coding and / or bit rate scheme to the base station corresponding to the called terminal, so that the base station corresponding to the called terminal negotiates with the called terminal and returns the negotiated voice coding and / or bit rate scheme;

[0088] A voice coding and / or bit rate scheme adjustment command is issued to the calling terminal according to the negotiated voice coding and / or bit rate scheme.

[0089] Correspondingly, if the terminal is the called terminal, triggering a change in speech coding and / or bit rate according to the target coding and / or bit rate scheme specifically includes:

[0090] Sending the target coding and / or bit rate scheme to the base station corresponding to the calling terminal, so that the base station corresponding to the calling terminal negotiates with the calling terminal and returns the negotiated voice coding and / or bit rate scheme;

[0091] A voice coding and / or bit rate scheme adjustment command is issued to the called terminal according to the negotiated voice coding and / or bit rate scheme.

[0092] In this embodiment, when a change in voice coding and / or bitrate is triggered, the calling and called parties respectively obtain the recommended VoLTE and VoNR coding and / or bitrate schemes in the area from their respective service base stations. Then, the service base stations of both parties begin to negotiate the coding and / or bitrate schemes to reach an agreement on the coding and / or bitrate schemes of the calling and called parties (a smaller bitrate is selected in the coding and / or bitrate schemes of the calling and called parties). If the calling or called party does not update the geographic clustering area, the coding and / or bitrate scheme is not adjusted. If the geographic clustering area is changed after the location of the calling or called party, the coding and / or bitrate adjustment is triggered again. The location of the calling and called terminals can be determined by the latitude and longitude information in the periodically reported MR data, and the geographic clustering area where the terminals are located can be determined by the ray method.

[0093] Specifically, refer to Figure 3 , shows an interactive diagram of negotiation and adjustment of speech coding and / or bit rate according to an embodiment of the present invention. Taking the change of the geographical clustering area of ​​the calling UE as an example, in this embodiment, the following steps are included:

[0094] (1) The calling UE reports the coding schemes supported by the terminal;

[0095] (2) The called UE reports the coding schemes supported by the terminal;

[0096] (3) The calling UE submits periodic measurement reports, which carry location information;

[0097] (4) The calling service base station queries the geographical cluster area table and queries the recommended coding scheme when the location area of ​​the calling UE changes;

[0098] Specifically, the geographic clustering area table includes all geographic clustering areas in the geographic clustering area and voice coding and / or bit rate scheme mapping table. When the calling service base station determines that the geographic clustering area of ​​the calling UE has changed based on the location area of ​​the calling UE, the voice coding and / or bit rate scheme corresponding to the changed current geographic clustering area in the geographic clustering area and voice coding and / or bit rate scheme mapping table is queried and used as the recommended coding scheme, wherein the coding scheme includes voice coding and bit rate.

[0099] (5) The calling service base station informs the called service base station that the calling party has changed the coding scheme;

[0100] (6) The called party's serving base station obtains the new coding scheme of the calling party and negotiates with the current coding scheme of the called party (downward matching);

[0101] (7) The called serving base station informs the calling serving base station of the negotiated coding scheme;

[0102] (8) The calling serving base station sends a coding scheme adjustment command to the calling UE;

[0103] (9) The called serving base station sends a coding scheme adjustment command to the called UE.

[0104] It should be noted that encoding adjustments typically involve configuring the encoding method and bitrate. The encoding scheme is determined through negotiation between the caller and the callee. Generally, a encoding scheme supported by both parties is selected. However, different encoding schemes can be selected. The core network's session border controller completes the codec conversion between the caller and the callee. Different encoding methods correspond to different bitrates. For example, the nine bitrates of AMR-WB and the eight bitrates of AMR-NB do not all have the same bitrate. The encoding method corresponding to the lowest bitrate can be determined to see if it is supported by both parties. If so, that encoding method is selected. If one party does not support it, the other party selects the encoding scheme closest to that bitrate, and the core network completes the codec conversion.

[0105] In a specific embodiment, the method for adjusting speech coding and / or bit rate may include the following steps:

[0106] (1) The local network area is rasterized. The geographic grid size accuracy is L (L is the grid area). The grid can be square or rectangular, or a road grid (a road with a length of L meters).

[0107] (2) Obtain the wireless side trace data of 4G and 5G base stations in the local network area within the statistical period T, extract the voice quality indicators (such as PHR, RSRP, CQI, SS-RSRP, SS-SINR, CSI-RSRP, etc.) and latitude and longitude location information from the trace data that can represent the voice quality, put the voice quality indicators into the geographic grid, and calculate the average value of each voice quality indicator in the geographic grid.

[0108] (3) Use clustering algorithms (such as K-Means and AP algorithms) to classify the indicator sample data of each geographic grid (for example, K-Means can specify the number of categories), among which 4G and 5G voice services can be classified separately.

[0109] (4) For each category, based on historical data (such as drive tests and fixed-point tests), a preset mapping table is constructed that lists voice quality indicators, optimal MOS values, and optimal voice coding schemes for VoNR and VoLTE. This preset mapping table is periodically updated and maintained by professional network management data processing equipment and distributed to each base station. The scheme with the highest MOS value under different coding schemes (coding mode and bit rate) is preset as the corresponding coding and / or bit rate scheme.

[0110] (5) Use the geographic clustering algorithm (DBSCAN) to perform grid clustering, identify geographic regions with the same coding method and bit rate, distinguish between VoLTE and VoNR, obtain the boundaries of the geographic cluster regions, and obtain a mapping table between the geographic cluster regions and the speech coding scheme. Currently, most VoLTE terminals support AMR-WB, while VoNR terminals support AMR-WB and EVS-SWB. The mapping table between the geographic cluster regions and the speech coding scheme is maintained by the network management and periodically pushed to the base station for update.

[0111] (6) When the voice coding and / or bit rate change is triggered, the calling and called parties obtain the recommended VoLTE and VoNR coding and / or bit rate schemes in the area from their respective service base stations, and then the service base stations of both parties start to negotiate the coding and / or bit rate schemes to make the calling and called parties reach an agreement on the coding and / or bit rate schemes (the calling and called parties select the smaller bit rate in the coding and / or bit rate schemes). If the calling or called party does not update the geographical clustering area, the coding and / or bit rate scheme will not be adjusted. If the location of the calling or called party changes the geographical clustering area, the coding and / or bit rate adjustment will be triggered again. Among them, the location of the calling and called terminals can be determined by the latitude and longitude information in the periodically reported MR data, and the geographical clustering area where the terminals are located can be determined by the ray method.

[0112] The method for adjusting the voice coding and / or bit rate provided by the embodiment of the present invention first determines whether the geographical clustering area corresponding to the terminal has changed based on the geographical location of the terminal; then, when the geographical clustering area corresponding to the terminal has changed, the target coding and / or bit rate scheme corresponding to the changed current geographical clustering area is obtained according to the pre-constructed mapping table of geographical clustering areas and voice coding and / or bit rate schemes, and the change of the voice coding and / or bit rate is triggered according to the target coding and / or bit rate scheme; and when the geographical clustering area corresponding to the terminal has not changed, the current voice coding and / or bit rate is kept unchanged. The present application triggers the change of coding and / or bit rate only when the geographical clustering area of ​​the terminal has changed, realizes the adjustment of the voice coding and / or bit rate scheme based on the communication quality of the geographical location, avoids frequent coding and / or bit rate scheme adjustments and signaling storms, can reduce air interface overhead, and can ensure that the user's voice experience area is relatively optimal. This solves the problem that existing voice coding and / or bit rate adjustment methods do not take into account the obvious fluctuations in user experience that may be caused by frequent adjustments, and that there is a risk of signaling storms and waste of air interface resources after the network enables adaptive adjustment on a large scale.

[0113] Example 2:

[0114] like Figure 4 As shown, this embodiment provides a speech coding and / or bit rate adjustment device, which is used to perform the above-mentioned speech coding and / or bit rate adjustment method, and the device includes:

[0115] The region change judgment module 11 is used to judge whether the geographical cluster region corresponding to the terminal has changed according to the geographical location of the terminal;

[0116] The speech coding adjustment module 12 is connected to the region change judgment module 11 and is configured to, in response to a change in the geographic cluster region corresponding to the terminal, obtain a target coding and / or bit rate scheme corresponding to the changed current geographic cluster region according to a pre-established mapping table of geographic cluster regions and speech coding and / or bit rate schemes, and trigger a change in the speech coding and / or bit rate according to the target coding and / or bit rate scheme;

[0117] The speech coding maintaining module 13 is connected to the area change determining module 11 and is configured to maintain the current speech coding and / or bit rate unchanged in response to the geographical cluster area corresponding to the terminal not being changed.

[0118] Optionally, the device further comprises:

[0119] The rasterization module is used to perform rasterization processing on the local network area to obtain multiple geographic grids;

[0120] A statistical processing module is used to obtain voice quality indicators that affect the voice quality of new radio (VoNR) and long-term evolution (VoLTE) within the local network area within a statistical period T, and to place them in corresponding geographic grids;

[0121] A classification module is used to calculate the average value of each voice quality index in the geographic grid, and use the voice quality index obtained by calculating the average value in each geographic grid as sample data, and classify the sample data using a preset clustering algorithm;

[0122] A construction module is used to construct, for each classification, a preset mapping table of voice quality indicators, better mean opinion score (MOS) values, and better voice coding and / or bit rate schemes for VoNR and VoLTE based on historical data;

[0123] The geographic clustering module is used to cluster the geographic grid using a geographic clustering algorithm according to the preset mapping table, find geographic areas with the same speech coding and / or bit rate scheme, and obtain the geographic clustering area and speech coding scheme mapping table.

[0124] Optionally, the statistical processing module specifically includes:

[0125] A data acquisition unit is used to acquire wireless signaling trace data of the wireless side of 4G and 5G base stations in the local network area within a statistical period T;

[0126] An extraction unit is used to extract voice quality indicators and latitude and longitude location information that affect the quality of VoNR and VoLTE voice in the local network area from the trace data;

[0127] The marking unit is used to mark each voice quality indicator into a corresponding geographic grid according to the latitude and longitude position information.

[0128] Optionally, the voice quality indicator includes at least one of the following: power headroom report PHR, reference signal received power RSRP, channel quality indication CQI, synchronization signal reference signal received power SS-RSRP, synchronization signal signal to interference plus noise ratio SS-SINR, channel state information reference signal received power CSI-RSRP.

[0129] Optionally, the building blocks specifically include:

[0130] A preferred solution acquisition unit, configured to acquire, for each category, a speech coding and / or bit rate solution having a MOS value greater than a preset threshold based on drive test and / or fixed-point test data as a preferred speech coding solution;

[0131] A construction unit is used to construct the preset mapping table according to the preferred speech coding scheme.

[0132] Optionally, the terminal includes a calling terminal and a called terminal.

[0133] Optionally, if the terminal is a calling terminal, the voice coding adjustment module 12 includes:

[0134] The first sending unit is configured to send the target coding and / or bit rate scheme to the base station corresponding to the called terminal, so that the base station corresponding to the called terminal negotiates with the called terminal and returns the negotiated voice coding and / or bit rate scheme;

[0135] The first adjustment unit is configured to send a voice coding and / or bit rate scheme adjustment command to the calling terminal according to the negotiated voice coding and / or bit rate scheme.

[0136] Optionally, if the terminal is a called terminal, the voice coding adjustment module 12 includes:

[0137] A second sending unit is configured to send the target coding and / or bit rate scheme to the base station corresponding to the calling terminal, so that the base station corresponding to the calling terminal negotiates with the calling terminal and returns the negotiated voice coding and / or bit rate scheme;

[0138] The second adjusting unit is configured to send a voice coding and / or bit rate scheme adjustment command to the called terminal according to the negotiated voice coding and / or bit rate scheme.

[0139] Example 3:

[0140] refer to Figure 5 This embodiment provides a device for adjusting speech coding and / or bit rate, including a memory 21 and a processor 22. The memory 21 stores a computer program, and the processor 22 is configured to run the computer program to execute the speech coding and / or bit rate adjustment method in Example 1.

[0141] The memory 21 is connected to the processor 22 . The memory 21 may be a flash memory, a read-only memory, or other memory. The processor 22 may be a central processing unit or a single-chip microcomputer.

[0142] Example 4:

[0143] This embodiment provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for adjusting speech coding and / or bit rate in the above-mentioned embodiment 1 is implemented.

[0144] The computer-readable storage medium includes volatile or non-volatile, removable or non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, computer program modules or other data). Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable read only memory), flash memory or other memory technology, CD-ROM (Compact Disc Read-Only Memory), digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer.

[0145] In summary, the voice coding and / or bit rate adjustment method, device and medium provided by the embodiment of the present invention first determine whether the geographical clustering area corresponding to the terminal has changed based on the geographical location of the terminal; then, when the geographical clustering area corresponding to the terminal has changed, the target coding and / or bit rate scheme corresponding to the changed current geographical clustering area is obtained according to the pre-constructed mapping table of geographical clustering areas and voice coding and / or bit rate schemes, and the change of the voice coding and / or bit rate is triggered according to the target coding and / or bit rate scheme; and when the geographical clustering area corresponding to the terminal has not changed, the current voice coding and / or bit rate is kept unchanged. The present application triggers the change of coding and / or bit rate only when the geographical clustering area of ​​the terminal has changed, realizes the adjustment of the voice coding and / or bit rate scheme based on the communication quality of the geographical location, avoids frequent coding and / or bit rate scheme adjustments and signaling storms, can reduce air interface overhead, and can ensure that the user's voice experience area is relatively optimal. This solves the problem that existing voice coding and / or bit rate adjustment methods do not take into account the obvious fluctuations in user experience that may be caused by frequent adjustments, and that there is a risk of signaling storms and waste of air interface resources after the network enables adaptive adjustment on a large scale.

[0146] It will be understood that the above embodiments are merely exemplary embodiments for illustrating the principles of the present invention, and the present invention is not limited thereto. Those skilled in the art will appreciate that various modifications and improvements can be made without departing from the spirit and substance of the present invention, and such modifications and improvements are also considered to be within the scope of protection of the present invention.

Claims

1. A method for adjusting speech coding and / or bit rate, characterized in that: The method comprises: Determine whether the geographical cluster area corresponding to the terminal has changed based on the terminal's geographical location; In response to a change in the geographic cluster area corresponding to the terminal, obtaining a target coding and / or bit rate scheme corresponding to the changed current geographic cluster area according to a pre-constructed mapping table of geographic cluster areas and speech coding and / or bit rate schemes, and triggering a change in the speech coding and / or bit rate according to the target coding and / or bit rate scheme; In response to no change in the geographical cluster area corresponding to the terminal, maintaining the current speech coding and / or bit rate unchanged; Before determining whether the geographical cluster area corresponding to the terminal has changed based on the geographical location of the terminal, the method further includes: Perform rasterization on the local network area to obtain multiple geographic rasters; Obtain voice quality indicators that affect the quality of Voice over New Radio (VoNR) and Voice over Long Term Evolution (VoLTE) within the local network area during the statistical period T, and assign them to corresponding geographic grids. Calculating the average value of each voice quality index in the geographic grid, and using the averaged voice quality index in each geographic grid as sample data, and classifying the sample data using a preset clustering algorithm; For each category, a preset mapping table of voice quality indicators, preferred mean opinion score (MOS) values, and preferred voice coding and / or bitrate solutions for VoNR and VoLTE is constructed based on historical data. According to the preset mapping table, the geographic grid is clustered using a geographic clustering algorithm to find geographic areas with the same speech coding and / or bit rate scheme, and a mapping table of geographic cluster areas and speech coding schemes is obtained.

2. The method according to claim 1, characterized in that The acquisition of voice quality indicators affecting the voice quality of new radio (VoNR) and long term evolution (VoLTE) voice bearers within the local network area within the statistical period T and falling into the corresponding geographic grid specifically includes: Obtain wireless signaling trace data from the wireless side of 4G and 5G base stations within the local network area within the statistical period T; Extracting voice quality indicators and latitude and longitude location information that affect the quality of VoNR and VoLTE voices in the local network area from the Trace data; Each voice quality indicator is marked in a corresponding geographic grid according to the latitude and longitude position information.

3. The method according to claim 1, characterized in that The voice quality indicator includes at least one of the following: power headroom report PHR, reference signal received power RSRP, channel quality indicator CQI, synchronization signal reference signal received power SS-RSRP, synchronization signal signal to interference plus noise ratio SS-SINR, channel state information reference signal received power CSI-RSRP.

4. The method according to claim 1, wherein For each category, a preset mapping table of voice quality indicators, better mean opinion score (MOS) values, and better voice coding and / or bit rate schemes for VoNR and VoLTE is constructed based on historical data, specifically including: For each category, based on drive test and / or fixed-point test data, a speech coding and / or bit rate scheme having a MOS value greater than a preset threshold is obtained as a preferred speech coding scheme; The preset mapping table is constructed according to the preferred speech coding scheme.

5. The method according to claim 4, characterized in that The terminals include a calling terminal and a called terminal.

6. The method according to claim 5, characterized in that If the terminal is a calling terminal, triggering a change in speech coding and / or bit rate according to the target coding and / or bit rate scheme specifically includes: Sending the target coding and / or bit rate scheme to the base station corresponding to the called terminal, so that the base station corresponding to the called terminal negotiates with the called terminal and returns the negotiated voice coding and / or bit rate scheme; A voice coding and / or bit rate scheme adjustment command is issued to the calling terminal according to the negotiated voice coding and / or bit rate scheme.

7. The method according to claim 5, characterized in that If the terminal is the called terminal, triggering a change in speech coding and / or bit rate according to the target coding and / or bit rate scheme specifically includes: Sending the target coding and / or bit rate scheme to the base station corresponding to the calling terminal, so that the base station corresponding to the calling terminal negotiates with the calling terminal and returns the negotiated voice coding and / or bit rate scheme; A voice coding and / or bit rate scheme adjustment command is issued to the called terminal according to the negotiated voice coding and / or bit rate scheme.

8. A device for adjusting speech coding and / or bit rate, characterized in that: include: The region change judgment module is used to judge whether the geographical cluster region corresponding to the terminal has changed according to the geographical location of the terminal; a speech coding adjustment module, connected to the region change determination module, configured to, in response to a change in the geographic cluster region corresponding to the terminal, obtain a target coding and / or bit rate scheme corresponding to the changed current geographic cluster region according to a pre-established mapping table of geographic cluster regions and speech coding and / or bit rate schemes, and trigger a change in the speech coding and / or bit rate according to the target coding and / or bit rate scheme; a voice coding maintaining module, connected to the region change determining module, configured to maintain the current voice coding and / or bit rate unchanged in response to the geographical cluster region corresponding to the terminal not changing; The device further comprises: The rasterization module is used to perform rasterization processing on the local network area to obtain multiple geographic grids; A statistical processing module is used to obtain voice quality indicators that affect the voice quality of new radio (VoNR) and long-term evolution (VoLTE) within the local network area within a statistical period T, and to place them in corresponding geographic grids; A classification module is used to calculate the average value of each voice quality index in the geographic grid, and use the voice quality index obtained by calculating the average value in each geographic grid as sample data, and classify the sample data using a preset clustering algorithm; A construction module is used to construct, for each classification, a preset mapping table of voice quality indicators, better mean opinion score (MOS) values, and better voice coding and / or bit rate schemes for VoNR and VoLTE based on historical data; The geographic clustering module is used to cluster the geographic grid using a geographic clustering algorithm according to the preset mapping table, find geographic areas with the same speech coding and / or bit rate scheme, and obtain the geographic clustering area and speech coding scheme mapping table.

9. A device for adjusting speech coding and / or bit rate, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to implement the method for adjusting speech coding and / or bit rate according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for adjusting speech coding and / or bit rate according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Voice quality evaluation method and device, equipment and storage medium

    CN115273899A

  • Method of regulating modulation code according to area

    CN1414715A