Method and apparatus for adjusting speech coding, electronic device, and storage medium
By notifying the UMTS system of shared frequency band occupancy in advance via the LTE network and adjusting the UMTS voice coding rate based on channel quality information, the problem of poor voice service quality in the UMTS system when the LTE system has high priority is solved, thus improving the voice service quality of the UMTS system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA UNITED NETWORK COMM GRP CO LTD
- Filing Date
- 2023-06-02
- Publication Date
- 2026-07-21
AI Technical Summary
In dynamic spectrum sharing, when the LTE system has a high priority and a large traffic volume, the UMTS system occupies the shared spectrum for a long time, resulting in poor voice service quality.
The LTE network notifies the UMTS network in advance whether it occupies the shared frequency band and adjusts the voice coding rate based on the corrected channel quality information. The correction of channel quality information and adjustment of coding rate are realized through the receiving and transmitting modules.
This reduces the impact of reduced time and frequency resources on UMTS system voice services and improves the quality of UMTS system voice services.
Smart Images

Figure CN116600304B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of wireless communication technology, and in particular to a method, apparatus, electronic device, and computer-readable storage medium for adjusting speech coding in dynamic spectrum sharing. Background Technology
[0002] Currently, in order to reduce the total amount of spectrum resources occupied by LTE (Long Term Evolution) systems and UMTS (Universal Mobile Telecommunications System), dynamic spectrum sharing between LTE and UMTS systems is adopted.
[0003] During dynamic spectrum sharing, if the LTE system has a higher priority than the UMTS system, the UMTS system may be able to use dedicated bandwidth for a long time when the LTE system has a large traffic volume. Due to the limited spectrum resources used, the voice service quality of the UMTS system is poor. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to address the above-mentioned shortcomings of the prior art by providing a method, apparatus, electronic device and computer-readable storage medium for adjusting voice coding in dynamic spectrum sharing, so as to at least solve the problem in the related art that the LTE system has high priority and occupies the shared spectrum for a long time when the traffic volume is large, resulting in poor voice service quality of the UMTS system.
[0005] In a first aspect, the present invention provides a method for adjusting voice coding in dynamic spectrum sharing, applied to a Universal Mobile Telecommunications System (UMTS) network. The method includes: receiving a notification from the Long Term Evolution (LTE) network at the current time regarding whether the shared frequency band will be occupied for the next first preset duration; in response to the notification indicating that the LTE network needs to occupy the shared frequency band for the next first preset duration, correcting channel quality information, and adjusting the voice coding rate based on the corrected channel quality information.
[0006] Preferably, the current time is spaced from the start time of the next first preset time by a second preset time.
[0007] The first preset duration is set to one audio frame length.
[0008] Preferably, the correction of channel quality information specifically includes: correcting the channel quality information according to the following formula:
[0009] C' = CK
[0010] Where C' is the corrected channel quality information, C is the channel quality information determined based on the channel data fed back by the terminal or base station, and K is the correction coefficient.
[0011] Preferably, the notification is whether the LTE network needs to occupy the shared frequency band for the next first preset duration, as determined by the resource utilization rate of the previous first preset duration.
[0012] Preferably, adjusting the speech coding rate based on the corrected channel quality information specifically includes:
[0013] Determine if C' is less than Y1;
[0014] In response to C' < Y1, the speech coding rate is adjusted to the coding rate corresponding to the first coding mode, where Y1 is the first threshold and the first coding mode corresponds to the lowest source coding rate and the highest channel coding rate.
[0015] Preferably, the method for adjusting the speech coding rate based on the corrected channel quality information further includes:
[0016] Determine whether C' is greater than or equal to Y1 and less than Y2;
[0017] In response to Y1≤C'<Y2, the speech coding rate is adjusted to the coding rate corresponding to the second coding mode, where Y2 is the second threshold.
[0018] Preferably, the method for adjusting the speech coding rate based on the corrected channel quality information further includes:
[0019] Determine whether C' is greater than or equal to Y2 and less than Y3;
[0020] In response to Y2≤C'<Y3, the speech coding rate is adjusted to the coding rate corresponding to the third coding mode, where Y3 is the third threshold;
[0021] Determine if C' is greater than or equal to Y3;
[0022] In response to Y3≤C', the speech coding rate is adjusted to the coding rate corresponding to the fourth coding mode.
[0023] Preferably, after receiving a notification from the LTE network at the current moment regarding whether the next first preset duration will occupy the shared frequency band, the method further includes: in response to the notification including that the LTE network will not occupy the shared frequency band in the next first preset duration, determining the voice coding rate based on channel quality information.
[0024] Preferably, determining the speech coding rate based on channel quality information specifically includes:
[0025] Determine the magnitude of the channel quality information relative to the acceleration or deceleration thresholds, respectively.
[0026] In response to C≥THR_i+HYST_i, the speech coding rate is determined to be the coding rate corresponding to the (i+1)th coding mode, where THR_i+HYST_i is the speed-up threshold corresponding to the i-th coding mode;
[0027] In response to C < THR_i-1, the speech coding rate is determined to be the coding rate corresponding to the (i-1)th coding mode, where THR_i-1 is the deceleration threshold corresponding to the i-th coding mode;
[0028] In response to THR_i-1≤C<THR_i+HYST_i, the speech coding rate is determined to be the coding rate corresponding to the i-th coding mode.
[0029] Secondly, the present invention also provides a method for adjusting voice coding in dynamic spectrum sharing, applied to a Long Term Evolution (LTE) network. The method includes: determining whether the next first preset duration will occupy a shared frequency band; sending a notification to the Universal Mobile Telecommunications System (UMTS) network regarding whether the next first preset duration will occupy a shared frequency band, so that the UMTS network responds to the notification including that the LTE network needs to occupy a shared frequency band in the next first preset duration, corrects channel quality information, and adjusts the voice coding rate based on the corrected channel quality information.
[0030] Preferably, the time when the notification of whether the next first preset duration occupies the shared frequency band is sent is separated from the start time of the next first preset duration by a second preset duration.
[0031] The first preset duration is set to one audio frame length.
[0032] Preferably, determining whether the next first preset duration occupies the shared frequency band specifically includes: determining whether the next first preset duration occupies the shared frequency band based on the resource utilization rate of the previous first preset duration.
[0033] Preferably, determining whether the next first preset duration occupies the shared frequency band based on the resource utilization rate of the previous first preset duration specifically includes: in response to the previous first preset duration occupying the shared frequency band and the average physical resource block occupancy rate being greater than or equal to a first threshold, or in response to the previous first preset duration not occupying the shared frequency band and the average physical resource block occupancy rate being greater than or equal to a second threshold, determining that the next first preset duration occupies the shared frequency band, wherein the first threshold is less than the second threshold.
[0034] Thirdly, the present invention also provides a speech coding adjustment device for dynamic spectrum sharing, applied to a Universal Mobile Telecommunications System (UMTS) network, the device comprising:
[0035] The receiving module is used to receive a notification from the Long Term Evolution (LTE) network at the current moment regarding whether the next first preset duration will occupy a shared frequency band.
[0036] The adjustment module, connected to the receiving module, is used to respond to the notification that the LTE network needs to occupy the shared frequency band in the next first preset duration, correct the channel quality information, and adjust the voice coding rate based on the corrected channel quality information.
[0037] Preferably, the current time is spaced from the start time of the next first preset time by a second preset time.
[0038] The first preset duration is set to one audio frame length.
[0039] Preferably, the adjustment module includes a correction unit.
[0040] The correction unit is used to correct the channel quality information according to the following formula:
[0041] C' = CK
[0042] Where C' is the corrected channel quality information, C is the channel quality information determined based on the channel data fed back by the terminal or base station, and K is the correction coefficient.
[0043] Fourthly, the present invention also provides a speech coding adjustment device for dynamic spectrum sharing, applied to a Long Term Evolution (LTE) network, the device comprising:
[0044] The determination module is used to determine whether the next first preset duration will occupy the shared frequency band.
[0045] The sending module, connected to the determining module, is used to send a notification to the Universal Mobile Telecommunication System (UMTS) network regarding whether the shared frequency band will be occupied in the next first preset duration, so that the UMTS network responds to the notification, including the requirement that the LTE network needs to occupy the shared frequency band in the next first preset duration, corrects the channel quality information, and adjusts the voice coding rate based on the corrected channel quality information.
[0046] Fifthly, the present invention also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to implement a method for adjusting speech coding in dynamic spectrum sharing as described in the first aspect, or a method for adjusting speech coding in dynamic spectrum sharing as described in the second aspect.
[0047] In a sixth aspect, the present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, it implements a method for adjusting speech coding in dynamic spectrum sharing as described in the first aspect, or a method for adjusting speech coding in dynamic spectrum sharing as described in the second aspect.
[0048] The present invention provides a method, apparatus, electronic device, and computer-readable storage medium for adjusting voice coding in dynamic spectrum sharing. By notifying the LTE system in advance whether to occupy the shared frequency band for the next preset duration, the UMTS system can correct the channel quality information in advance and adjust the voice coding rate based on the corrected channel quality information, thereby minimizing the impact of reduced time and frequency resources on the voice service of the UMTS system. Attached Figure Description
[0049] Figure 1 This is a flowchart illustrating a method for adjusting speech coding in dynamic spectrum sharing according to Embodiment 1 of the present invention.
[0050] Figure 2 This is a flowchart illustrating a method for adjusting speech coding in dynamic spectrum sharing according to Embodiment 2 of the present invention.
[0051] Figure 3 This is a schematic diagram of the structure of a speech coding adjustment device in dynamic spectrum sharing according to Embodiment 3 of the present invention;
[0052] Figure 4 This is a schematic diagram of the structure of a speech coding adjustment device in dynamic spectrum sharing according to Embodiment 4 of the present invention;
[0053] Figure 5 This is a schematic diagram of the structure of an electronic device according to Embodiment 5 of the present invention. Detailed Implementation
[0054] To enable those skilled in the art to better understand the technical solution of the present invention, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
[0055] It is understood that the specific embodiments and accompanying drawings described herein are merely for explaining the invention and are not intended to limit the invention.
[0056] It is understood that, without conflict, the various embodiments and features in the embodiments of the present invention can be combined with each other.
[0057] It is understood that, for ease of description, only the parts related to the present invention are shown in the accompanying drawings, while the parts unrelated to the present invention are not shown in the drawings.
[0058] It is understood that each unit or module involved in the embodiments of the present invention may correspond to only one entity structure, or may be composed of multiple entity structures, or multiple units or modules may be integrated into one entity structure.
[0059] It is understood that, without conflict, the functions and steps marked in the flowcharts and block diagrams of this invention may occur in a different order than that marked in the accompanying drawings.
[0060] It is understood that the flowcharts and block diagrams of this invention illustrate the possible architecture, functions, and operations of systems, apparatuses, devices, and methods according to various embodiments of this invention. Each block in the flowchart or block diagram may represent a unit, module, program segment, or code, containing executable instructions for implementing the specified function. Furthermore, each block or combination of blocks in the block diagram and flowchart can be implemented using a hardware-based system to achieve the specified function, or using a combination of hardware and computer instructions.
[0061] It is understood that the units and modules involved in the embodiments of the present invention can be implemented by software or by hardware. For example, the units and modules can be located in a processor.
[0062] Example 1:
[0063] like Figure 1 As shown, this embodiment provides a method for adjusting voice coding in dynamic spectrum sharing, applied to a Universal Mobile Telecommunications System (UMTS) network. The method includes:
[0064] Step 101: Receive a notification from the Long Term Evolution (LTE) network at the current moment regarding whether the next first preset duration will occupy a shared frequency band.
[0065] In this embodiment, the UMTS network and the LTE network are time-synchronized, meaning the start and end of each frame are synchronized. Both LTE and UMTS have 10ms per frame, with 10 time slots per LTE frame and 15 time slots per UMTS frame. The UMTS voice frame length is 20ms. The first preset duration is set to the length of one or more UMTS voice frames. Setting the first preset duration to the length of one voice frame (e.g., 20ms) allows the LTE network to use the UMTS voice frame length as the unit for requesting spectrum sharing resources. This ensures that the UMTS can adjust its voice coding rate in real time, minimizing the impact of reduced time and frequency resources on UMTS system voice services.
[0066] Optionally, before the UMTS network receives a notification from the LTE network at the current moment regarding whether the next first preset duration will occupy a shared frequency band, the LTE network determines whether the next first preset duration will occupy a shared frequency band based on the resource utilization rate of the previous first preset duration.
[0067] Specifically, in response to the previous first preset duration when the shared frequency band was occupied and the average physical resource block occupancy rate was greater than or equal to a first threshold, or in response to the previous first preset duration when the shared frequency band was not occupied and the average physical resource block occupancy rate was greater than or equal to a second threshold, the LTE network determines that it will occupy the shared frequency band for the next first preset duration, wherein the first threshold is less than the second threshold. For example, if the LTE network occupied the shared spectrum and the average physical resource block occupancy rate (rprb) was greater than or equal to R1 in the 20ms prior to the current moment, then the LTE network needs to occupy the shared frequency band for the next first preset duration. If the LTE network did not occupy the shared spectrum and rprb was greater than or equal to R2 in the 20ms prior to the current moment, then the LTE network needs to occupy the shared frequency band for the next first preset duration. rprb is the average physical resource block occupancy rate (rprb) of the previous 20ms, which is the average of the prb occupancy rates for each TTI (1ms). The prb occupancy rate for each TTI is calculated by dividing the number of prb occupied in that TTI by the number of prb available in that TTI. R1 is less than R2; for example, R1 is 80% and R2 is 90%. This embodiment determines whether the next first preset duration occupies the shared frequency band based on the resource utilization rate of the previous first preset duration. The determination method is simple and efficient, and the determination result is highly accurate.
[0068] Optionally, the current time is spaced from the start time of the next first preset time by a second preset time.
[0069] In this embodiment, the LTE network notifies the UMTS network in advance, with a second preset duration δ, every 20ms, whether it will occupy the shared frequency band in the next 20ms. The second preset duration δ is to reserve time for the necessary filtering processing of the UMTS network's coding adaptive function, ensuring that the UMTS network's coding adjustment takes effect when the LTE network occupies a voice frame with shared bandwidth, thereby guaranteeing the quality of voice services in the UMTS system.
[0070] Step 102: In response to the notification that the LTE network needs to occupy the shared frequency band for the next first preset duration, correct the channel quality information and adjust the voice coding rate based on the corrected channel quality information.
[0071] In this embodiment, the notification is whether the LTE network needs to occupy the shared frequency band for the next first preset duration, as determined by the resource utilization rate of the previous first preset duration.
[0072] Optionally, in response to the notification that the LTE network needs to occupy the shared frequency band for the next first preset duration, the UMTS network corrects the channel quality information, specifically including:
[0073] The UMTS network corrects channel quality information according to the following formula:
[0074] C'=CK (1)
[0075] Where C' is the corrected channel quality information, C is the channel quality information determined based on the channel data fed back by the terminal or base station, and K is the correction coefficient.
[0076] In this embodiment, K is a positive number. When the LTE network determines that the shared frequency band will be occupied in the next 20ms, the LTE cell will schedule the frequency resources of the shared frequency band as needed according to the service request during the next 20ms period, and notify the UMTS cell in advance for a second preset time period δ. The UMTS cell will set the flag indicating whether the shared frequency band for the next voice frame is occupied by LTE to 1. Different values of the flag indicating whether the shared frequency band for a certain voice frame is occupied by LTE correspond to different adaptive coding processes:
[0077] When the flag bit = 1, the channel quality information C is corrected according to formula (1); when the flag bit = 0, the channel quality information C does not need to be corrected.
[0078] Optionally, adjusting the speech coding rate based on the corrected channel quality information specifically includes:
[0079] Determine if C' is less than Y1;
[0080] In response to C' < Y1, the speech coding rate is adjusted to the coding rate corresponding to the first coding mode, where Y1 is the first threshold and the first coding mode corresponds to the lowest source coding rate and the highest channel coding rate.
[0081] In this embodiment, when the flag bit = 1, the voice coding rate is adjusted based on the corrected channel quality information. By correcting the channel quality information to obtain poorer channel quality information, and then determining the UMTS voice coding rate based on this corrected channel quality information, the UMTS network can use a lower source coding rate and a higher channel coding rate for the next voice frame when the LTE network occupies the shared spectrum for the next voice frame. This addresses the issue of degraded channel quality caused by reduced spectrum resources and improves the voice user experience.
[0082] Optionally, the method for adjusting the speech coding rate based on the corrected channel quality information further includes: determining whether C' is greater than or equal to Y1 and less than Y2; and adjusting the speech coding rate to the coding rate corresponding to the second coding mode in response to Y1≤C'<Y2, wherein Y2 is the second threshold.
[0083] In this embodiment, the source coding rate corresponding to the second coding mode is higher than the source coding rate corresponding to the first coding mode, the channel coding rate corresponding to the second coding mode is lower than the channel coding rate corresponding to the first coding mode, and so on.
[0084] Optionally, the method for adjusting the speech coding rate based on the corrected channel quality information further includes: determining whether C' is greater than or equal to Y2 and less than Y3; adjusting the speech coding rate to the coding rate corresponding to the third coding mode in response to Y2≤C'<Y3, wherein Y3 is the third threshold; determining whether C' is greater than or equal to Y3; and adjusting the speech coding rate to the coding rate corresponding to the fourth coding mode in response to Y3≤C'.
[0085] In this embodiment, the source coding rate and channel coding rate are different for different coding modes. The larger the coding mode, the higher the corresponding source coding rate and the lower the corresponding channel coding rate.
[0086] For example, the source coding rate of the first coding mode is 4.75 kb / s; the source coding rate of the second coding mode is 5.15 kb / s; the source coding rate of the third coding mode is 5.9 kb / s; the source coding rate of the fourth coding mode is 6.7 kb / s; the source coding rate of the fifth coding mode is 7.4 kb / s; the source coding rate of the sixth coding mode is 7.95 kb / s; the source coding rate of the seventh coding mode is 10.2 kb / s; and the source coding rate of the eighth coding mode is 12.2 kb / s. For example, when the flag bit = 1, the speech coding rate is adjusted based on the four judgment conditions of the following formula (2):
[0087] code_mode_target=code_mode_1, when C'<THY1;
[0088] code_mode_target=code_mode_2, when THY1≤C'<THY2;
[0089] code_mode_target=code_mode_3, when THY2≤C'<THY3;
[0090] code_mode_target=code_mode_4, when THY3≤C'. (2)
[0091] Where code_mode_target is the adjusted encoding mode, code_mode_i is the i-th encoding mode, and i takes the values 1, 2, 3, and 4. THY1, THY2, and THY3 are different thresholds.
[0092] Optionally, after receiving a notification from the LTE network at the current moment regarding whether the next first preset duration will occupy the shared frequency band, the method further includes: in response to the notification including that the LTE network will not occupy the shared frequency band in the next first preset duration, determining the voice coding rate based on channel quality information.
[0093] Specifically, the UMTS network determines the voice coding rate based on channel quality information, including:
[0094] Determine the magnitude of the channel quality information relative to the acceleration or deceleration thresholds, respectively.
[0095] In response to C≥THR_i+HYST_i, the speech coding rate is determined to be the coding rate corresponding to the (i+1)th coding mode, where THR_i+HYST_i is the speed-up threshold corresponding to the i-th coding mode;
[0096] In response to C < THR_i-1, the speech coding rate is determined to be the coding rate corresponding to the (i-1)th coding mode, where THR_i-1 is the deceleration threshold corresponding to the i-th coding mode;
[0097] In response to THR_i-1≤C<THR_i+HYST_i, the speech coding rate is determined to be the coding rate corresponding to the i-th coding mode.
[0098] In this embodiment, when the flag bit = 0, the speech coding rate is determined according to the following formula (3):
[0099] code_mode_target=code_mode_(i+1), when C≥THR_i+HYST_i;
[0100] code_mode_target=code_mode_(i-1), when C<THR_i-1;
[0101] code_mode_target = code_mode_i, other cases. (3)
[0102] The voice coding adjustment method in dynamic spectrum sharing of this embodiment uses the LTE system to notify in advance whether it will occupy the shared frequency band for the next preset duration. This allows the UMTS system to correct channel quality information in advance and adjust the voice coding rate based on the corrected channel quality information, minimizing the impact of reduced time and frequency resources on UMTS voice services. Specifically, the first preset duration is a voice frame length (e.g., 20ms), so that the LTE network uses the UMTS voice frame length as the unit for requesting spectrum sharing resources. This ensures that the UMTS adjusts the voice coding rate in real time, minimizing the impact of reduced time and frequency resources on UMTS voice services. Secondly, the method determines whether the LTE network will occupy the shared frequency band in the next preset duration based on the resource utilization rate of the LTE network in the previous first preset duration. This determination method is simple, efficient, and accurate. Furthermore, the second preset duration δ is used to allow time for the necessary filtering processing of the UMTS network's coding adaptive function, ensuring that the UMTS network's coding adjustment takes effect when the LTE network occupies a voice frame in the shared bandwidth, thereby guaranteeing the quality of UMTS voice services. Furthermore, by correcting the channel quality information to obtain poorer channel quality information, and then determining the UMTS voice coding rate based on the corrected channel quality information, the UMTS network can use a lower source coding rate and a higher channel coding rate for the next voice frame when the LTE network occupies the shared spectrum for the next voice frame. This addresses the problem of deteriorated channel quality caused by reduced spectrum resources and further improves the voice user experience.
[0103] Example 2:
[0104] like Figure 2 As shown, this embodiment provides a method for adjusting voice coding in dynamic spectrum sharing, applied to Long Term Evolution (LTE) networks. The method includes:
[0105] Step 201: The LTE network determines whether the next first preset duration will occupy the shared frequency band.
[0106] Step 202: The LTE network sends a notification to the UMTS network regarding whether the shared frequency band will be occupied for the next first preset duration, so that the UMTS network responds to the notification that the LTE network needs to occupy the shared frequency band for the next first preset duration, corrects the channel quality information, and adjusts the voice coding rate based on the corrected channel quality information.
[0107] Optionally, the time when the notification of whether the next first preset duration occupies the shared frequency band is sent is separated from the start time of the next first preset duration by a second preset duration. The first preset duration is a value of one voice frame length.
[0108] Optionally, determining whether the next first preset duration occupies the shared frequency band specifically includes: the LTE network determining whether the next first preset duration occupies the shared frequency band based on the resource utilization rate of the previous first preset duration.
[0109] Optionally, determining whether the shared frequency band will be occupied in the next first preset duration based on the resource utilization rate of the previous first preset duration specifically includes: in response to the previous first preset duration occupying the shared frequency band and the average physical resource block occupancy rate being greater than or equal to a first threshold, or in response to the previous first preset duration not occupying the shared frequency band and the average physical resource block occupancy rate being greater than or equal to a second threshold, the LTE network determines that the shared frequency band will be occupied in the next first preset duration, wherein the first threshold is less than the second threshold.
[0110] In the dynamic spectrum sharing method of this embodiment, the LTE network determines whether to use the shared frequency band based on the UMTS network voice frame as the time unit. If the LTE network uses the shared frequency band, the UMTS network corrects the channel quality information and uses a new coding rate determination formula (2) to make the next voice frame adopt a lower source coding rate and a higher channel coding rate in order to cope with the deterioration of channel quality caused by the reduction of spectrum resources, thereby improving the voice user experience.
[0111] Example 3:
[0112] like Figure 3 As shown, this embodiment provides a voice coding adjustment device for dynamic spectrum sharing, applied to a Universal Mobile Telecommunications System (UMTS) network. The device includes:
[0113] The receiving module 31 is used to receive a notification sent by the Long Term Evolution (LTE) network at the current moment regarding whether the next first preset duration will occupy the shared frequency band.
[0114] The adjustment module 32, connected to the receiving module 31, is used to respond to the notification that the LTE network needs to occupy the shared frequency band in the next first preset duration, correct the channel quality information, and adjust the voice coding rate based on the corrected channel quality information.
[0115] Optionally, the interval between the current time and the start time of the next first preset duration is a second preset duration. The first preset duration is a voice frame length.
[0116] Optionally, the adjustment module includes a correction unit 21.
[0117] Correction unit 21 is used to correct channel quality information according to the following formula:
[0118] C' = CK
[0119] Among them, C’ is the corrected channel quality information, C is the channel quality information determined according to the channel data fed back by the terminal or the base station, and K is the correction coefficient.
[0120] Optionally, the notification is whether the LTE network needs to occupy the shared frequency band in the next first preset duration determined according to the resource utilization rate in the previous first preset duration.
[0121] Optionally, the correction unit 21 is configured to determine whether C’ is less than Y1, and, in response to C’ < Y1, adjust the voice coding rate to the coding rate corresponding to the first coding mode, where Y1 is the first threshold, and the first coding mode corresponds to the lowest source coding rate and the highest channel coding rate.
[0122] Optionally, the correction unit 21 is further configured to determine whether C’ is greater than or equal to Y1 and less than Y2, and in response to Y1 ≤ C’ < Y2, adjust the voice coding rate to the coding rate corresponding to the second coding mode, where Y2 is the second threshold.
[0123] Optionally, the correction unit 21 is further configured to determine whether C’ is greater than or equal to Y2 and less than Y3, and in response to Y2 ≤ C’ < Y3, adjust the voice coding rate to the coding rate corresponding to the third coding mode, where Y3 is the third threshold, and is configured to determine whether C’ is greater than or equal to Y3, and in response to Y3 ≤ C’, adjust the voice coding rate to the coding rate corresponding to the fourth coding mode.
[0124] Optionally, the adjustment module further includes a determination unit 22.
[0125] The determination unit 22 is configured to, in response to the notification including that the LTE network does not occupy the shared frequency band in the next first preset duration, determine the voice coding rate based on the channel quality information.
[0126] Optionally, the determination unit 22 is configured to determine the magnitude relationship between the channel quality information and the speed-up threshold or the speed-down threshold respectively, and is further configured to, in response to C ≥ THR_i + HYST_i, determine the voice coding rate to be the coding rate corresponding to the (i + 1)th coding mode, where THR_i + HYST_i is the speed-up threshold corresponding to the ith coding mode.
[0127] The determination unit 22 is further configured to, in response to C < THR_i - 1, determine the voice coding rate to be the coding rate corresponding to the (i - 1)th coding mode, where THR_i - 1 is the speed-down threshold corresponding to the ith coding mode.
[0128] The determination unit 22 is further configured to, in response to THR_i - 1 ≤ C < THR_i + HYST_i, determine the voice coding rate to be the coding rate corresponding to the ith coding mode.
[0129] In this embodiment, the voice coding adjustment device in dynamic spectrum sharing uses the UMTS voice frame length unit as the resource usage application unit. When the LTE system occupies the voice of the shared bandwidth, it is used to adjust the UMTS voice coding rate to minimize the impact of time and frequency resource reduction on the voice service of the UMTS system.
[0130] Example 4:
[0131] like Figure 4 As shown, this embodiment provides a speech coding adjustment device for dynamic spectrum sharing, applied to a Long Term Evolution (LTE) network. The device includes:
[0132] The determination module 41 is used to determine whether the next first preset duration will occupy the shared frequency band.
[0133] The sending module 42, connected to the determining module 41, is used to send a notification to the Universal Mobile Telecommunication System (UMTS) network regarding whether the shared frequency band will be occupied in the next first preset duration, so that the UMTS network responds to the notification that the LTE network needs to occupy the shared frequency band in the next first preset duration, corrects the channel quality information, and adjusts the voice coding rate based on the corrected channel quality information.
[0134] Optionally, the time when the notification of whether the next first preset duration occupies the shared frequency band is sent is spaced apart from the start time of the next first preset duration by a second preset duration. The first preset duration is a voice frame length.
[0135] Optionally, the determining module is used to determine whether the shared frequency band will be occupied in the next first preset duration based on the resource utilization rate of the previous first preset duration.
[0136] Optionally, the determining module is specifically used to determine the next first preset duration for occupying the shared frequency band in response to the previous first preset duration when the shared frequency band was occupied and the average physical resource block occupancy rate was greater than or equal to a first threshold, or in response to the previous first preset duration when the shared frequency band was not occupied and the average physical resource block occupancy rate was greater than or equal to a second threshold, wherein the first threshold is less than the second threshold.
[0137] In this embodiment, the voice coding adjustment device in dynamic spectrum sharing determines whether to use the shared frequency band based on the UMTS voice frame as the time unit. If the LTE uses the shared frequency band, the UMTS corrects the channel quality information and uses a new coding rate determination formula (2) to make the next voice frame use a lower source coding rate and a higher channel coding rate in order to cope with the deterioration of channel quality caused by the reduction of spectrum resources and improve the voice user experience.
[0138] Example 5:
[0139] like Figure 5 As shown, this embodiment provides an electronic device, including a memory 51 and a processor 52. The memory 51 stores a computer program, and the processor 52 is configured to run the computer program to implement the speech coding adjustment method in dynamic spectrum sharing as described in Embodiment 1 or the speech coding adjustment method in dynamic spectrum sharing as described in Embodiment 2.
[0140] Example 6:
[0141] This embodiment provides a computer-readable storage medium storing a computer program thereon. When the computer program is executed by a processor, it implements the speech coding adjustment method in dynamic spectrum sharing as described in Embodiment 1 or the speech coding adjustment method in dynamic spectrum sharing as described in Embodiment 2.
[0142] In summary, the speech coding adjustment method, apparatus, electronic device, and computer-readable storage medium provided in this embodiment of the invention are used to notify the LTE system in advance whether it will occupy the shared frequency band for the next preset duration, so that the UMTS system can correct the channel quality information in advance and adjust the speech coding rate based on the corrected channel quality information, thereby minimizing the impact of time and frequency resource reduction on the UMTS system's voice service. Specifically, the first preset duration is a speech frame length (e.g., 20ms), so that the LTE network uses the UMTS speech frame length as the spectrum sharing resource usage application unit, which can ensure that the UMTS adjusts the speech coding rate in real time, minimizing the impact of time and frequency resource reduction on the UMTS system's voice service. Secondly, it is used to determine whether the LTE network will occupy the shared frequency band in the next first preset duration based on the resource utilization rate of the LTE network in the previous first preset duration. The determination method is simple, efficient, and the determination result is highly accurate. In addition, the second preset duration δ is used to reserve time for various necessary filtering processes of the UMTS network's coding adaptive function, ensuring that the UMTS network's coding adjustment takes effect when the LTE network occupies the shared bandwidth speech frame, thereby ensuring the quality of the UMTS system's voice service. Furthermore, it is used to obtain poor channel quality information by correcting the channel quality information, and then determine the UMTS voice coding rate based on the corrected channel quality information. This allows the UMTS network to use a lower source coding rate and a higher channel coding rate for the next voice frame when the LTE network occupies the shared spectrum for the next voice frame, in order to cope with the problem of deteriorated channel quality caused by reduced spectrum resources and further improve the voice user experience.
[0143] It is understood that the above embodiments are merely exemplary implementations used to illustrate the principles of the present invention, and the present invention is not limited thereto. For those skilled in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these 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 in dynamic spectrum sharing, characterized in that, The method, applied to a Universal Mobile Telecommunications System (UMTS) network, includes: Receive a notification from the Long Term Evolution (LTE) network at the current time regarding whether the next first preset duration will occupy a shared frequency band, wherein the current time is separated from the start time of the next first preset duration by a second preset duration; In response to the notification that the LTE network needs to occupy the shared frequency band for the next first preset duration, the channel quality information is corrected in advance, and the voice coding rate for the next first preset duration is adjusted based on the corrected channel quality information.
2. The method according to claim 1, characterized in that, The first preset duration is set to the length of one audio frame. The corrected channel quality information specifically includes: The channel quality information is corrected according to the following formula: in, This is the corrected channel quality information. This refers to channel quality information determined based on channel data fed back from the terminal or base station. This is a correction factor.
3. The method according to claim 2, characterized in that, The notification refers to whether the LTE network needs to occupy the shared frequency band for the next first preset duration, as determined by the resource utilization rate of the previous first preset duration. The adjustment of the speech coding rate based on the corrected channel quality information specifically includes: judge Is it less than ; In response to Adjust the speech coding rate to the coding rate corresponding to the first coding mode, where... The first threshold corresponds to the lowest source coding rate and the highest channel coding rate for the first coding mode.
4. The method according to claim 3, characterized in that, The adjustment of the speech coding rate based on the corrected channel quality information also includes: judge Is it greater than or equal to? and less than ; In response to Adjust the speech coding rate to the coding rate corresponding to the second coding mode, where... This is the second threshold.
5. The method according to claim 4, characterized in that, The adjustment of the speech coding rate based on the corrected channel quality information also includes: judge Is it greater than or equal to? and less than ; In response to Adjust the speech coding rate to the coding rate corresponding to the third coding mode, where... The third threshold; judge Is it greater than or equal to? ; In response to Adjust the speech coding rate to the coding rate corresponding to the fourth coding mode.
6. The method according to claim 2, characterized in that, After receiving the notification from the LTE network at the current moment regarding whether the next first preset duration will occupy the shared frequency band, the method further includes: In response to the notification that the LTE network will not occupy the shared frequency band for the next first preset duration, the voice coding rate is determined based on channel quality information.
7. The method according to claim 6, characterized in that, The determination of the speech coding rate based on channel quality information specifically includes: Determine the magnitude of the channel quality information relative to the acceleration or deceleration thresholds, respectively. In response to The speech coding rate is determined to be the (th) The coding rate corresponding to the coding mode, where, For the first Speed-up threshold corresponding to the encoding mode; In response to The speech coding rate is determined to be the (th) The coding rate corresponding to the coding mode, where, For the first The deceleration threshold corresponding to the encoding mode; In response to The speech coding rate is determined to be the first... The encoding rate corresponding to the encoding mode.
8. A method for adjusting speech coding in dynamic spectrum sharing, characterized in that, Applied to Long Term Evolution (LTE) networks, the method includes: Determine whether the next preset duration will occupy the shared frequency band; A notification is sent to the Universal Mobile Telecommunication System (UMTS) network regarding whether the shared frequency band will be occupied for the next first preset duration. In response to the notification, including the requirement that the LTE network will occupy the shared frequency band for the next first preset duration, the UMTS network corrects the channel quality information in advance and adjusts the voice coding rate for the next first preset duration based on the corrected channel quality information. The time interval between sending the notification regarding whether the shared frequency band will be occupied for the next first preset duration and the start time of the next first preset duration is a second preset duration.
9. The method according to claim 8, characterized in that, The first preset duration is set to the length of one audio frame. Determining whether the next first preset duration will occupy the shared frequency band specifically includes: The resource utilization rate of the previous first preset duration is used to determine whether the shared frequency band will be occupied in the next first preset duration.
10. The method according to claim 9, characterized in that, The step of determining whether the shared frequency band should be occupied in the next first preset duration based on the resource utilization rate of the previous first preset duration specifically includes: In response to the previous first preset duration of occupying the shared frequency band and the average physical resource block occupancy rate being greater than or equal to a first threshold, or in response to the previous first preset duration of not occupying the shared frequency band and the average physical resource block occupancy rate being greater than or equal to a second threshold, the next first preset duration of occupying the shared frequency band is determined, wherein the first threshold is less than the second threshold.
11. A speech coding adjustment device for dynamic spectrum sharing, characterized in that, The device, applied to a Universal Mobile Telecommunications System (UMTS) network, comprises: The receiving module is used to receive a notification sent by the Long Term Evolution (LTE) network at the current time regarding whether the next first preset duration occupies a shared frequency band, wherein the current time is spaced from the start time of the next first preset duration by a second preset duration. An adjustment module, connected to a receiving module, is used to respond to the notification that the LTE network needs to occupy a shared frequency band in the next first preset duration, to pre-correct the channel quality information, and to adjust the voice coding rate for the next first preset duration based on the corrected channel quality information.
12. The apparatus according to claim 11, characterized in that, The first preset duration is set to the length of one audio frame. The adjustment module includes a correction unit. The correction unit is used to correct the channel quality information according to the following formula: in, This is the corrected channel quality information. This refers to channel quality information determined based on channel data fed back from the terminal or base station. This is a correction factor.
13. A speech coding adjustment device for dynamic spectrum sharing, characterized in that, The device, used in Long Term Evolution (LTE) networks, includes: The determination module is used to determine whether the shared frequency band will be occupied during the next first preset duration. A sending module, connected to a determining module, is used to send a notification to the UMTS network regarding whether the shared frequency band will be occupied for the next first preset duration. This allows the UMTS network to respond to the notification, including the requirement that the LTE network will occupy the shared frequency band for the next first preset duration, by pre-correcting the channel quality information and adjusting the voice coding rate for the next first preset duration based on the corrected channel quality information. The time interval between sending the notification regarding whether the shared frequency band will be occupied for the next first preset duration and the start time of the next first preset duration is a second preset duration.
14. An electronic device, characterized in that, The device includes a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to implement a method for adjusting speech coding in dynamic spectrum sharing as described in any one of claims 1-7, or a method for adjusting speech coding in dynamic spectrum sharing as described in any one of claims 8-10.
15. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the method for adjusting speech coding in dynamic spectrum sharing as described in any one of claims 1-7, or the method for adjusting speech coding in dynamic spectrum sharing as described in any one of claims 8-10.