Disclosure of Invention
The embodiment of the invention provides a resource scheduling method and a resource scheduling device, which solve the problem that the user experience is reduced if an uplink/downlink channel of a terminal is changed in the period of activating a VoIP service in the conventional SPS scheduling scheme.
The resource scheduling method provided by the embodiment of the invention is used for each terminal transmitting VoIP service, and comprises the following steps:
after a semi-persistent scheduling (SPS) resource used by the terminal for transmitting a VoIP service is activated, acquiring channel quality information of the terminal and/or information related to data transmission of the terminal in each set adjustment period;
after each adjustment period is finished, judging whether SPS resources used by the terminal need to be adjusted or not according to the channel quality information of the terminal and/or information related to data transmission of the terminal;
and if the SPS resource used by the terminal needs to be adjusted, adjusting the SPS resource used by the terminal, and notifying the adjusted SPS resource to the terminal.
In an implementation, as a first implementation manner, the acquiring, in each set adjustment period, channel quality information of the terminal includes: acquiring a Modulation Coding Scheme (MCS) grade corresponding to Channel Quality Indicator (CQI) information reported by the terminal in each set adjustment period;
after each adjustment period is finished, judging whether SPS resources used by the terminal need to be adjusted according to the channel quality information of the terminal, wherein the judging comprises the following steps: and after each adjustment period is finished, judging whether the SPS resources used by the terminal need to be adjusted or not according to the obtained MCS level and the MCS level of the SPS resources allocated by the terminal.
In this way, determining whether the SPS resource used by the terminal needs to be adjusted according to the obtained MCS level and the MCS level of the SPS resource allocated by the terminal includes:
when the absolute value of the difference value between the obtained MCS level and the MCS level of the SPS resource allocated to the terminal is not greater than the set offset, judging that the SPS resource used by the terminal does not need to be adjusted; or,
and when the absolute value of the difference value between the obtained MCS level and the MCS level of the SPS resource allocated to the terminal is greater than the offset, judging that the SPS resource used by the terminal needs to be adjusted.
Further, if it is determined that the SPS resource used by the terminal needs to be adjusted, adjusting the SPS resource used by the terminal includes:
when the difference value obtained by subtracting the MCS level of the SPS resources distributed by the terminal from the obtained MCS level is larger than the offset, determining to reduce the number of PRBs (physical resource blocks) distributed by the SPS resources used by the terminal; or,
and when the difference value obtained by subtracting the obtained MCS level from the MCS level of the SPS resources allocated by the terminal is larger than the offset, determining to increase the number of the Physical Resource Blocks (PRBs) allocated by the SPS resources used by the terminal.
Based on any of the above embodiments, as a second implementation manner, after each adjustment period is ended, determining whether to adjust SPS resources used by the terminal according to information related to data transmission of the terminal, where the determining includes:
after each adjustment period is finished, judging whether SPS resources used by the terminal need to be adjusted or not according to the information related to the terminal data transmission acquired in the adjustment period and the information related to the terminal data transmission acquired in the last adjustment period;
wherein the information related to the terminal data transmission comprises: the data transmission method comprises the steps of carrying out transmission on a VoIP service of the terminal according to a block error rate (BLER) of the carrier used for transmitting the VoIP service of the terminal, carrying out data transmission spectral efficiency of the carrier used for transmitting the VoIP service of the terminal, and/or carrying out effective data transmission ratio of the terminal, wherein the effective data transmission ratio is used for representing the proportion of effective VoIP data carried in a data packet correctly received by the terminal to total received data.
In this manner, determining whether to adjust SPS resources used by the terminal according to the information related to terminal data transmission acquired in the present adjustment period and the information related to terminal data transmission acquired in the previous adjustment period includes:
judging that the SPS resource used by the terminal does not need to be adjusted when the absolute value of the difference value between the information related to the terminal data transmission acquired in the adjustment period and the information related to the terminal data transmission acquired in the last adjustment period is not greater than the threshold corresponding to the information related to the terminal data transmission; or,
and when the absolute value of the difference value between the information related to the terminal data transmission acquired in the adjustment period and the information related to the terminal data transmission acquired in the last adjustment period is greater than the threshold corresponding to the information related to the terminal data transmission, judging that the SPS resource used by the terminal needs to be adjusted.
Further, if the information related to the terminal data transmission is a BLER of a bearer used for transmitting the VoIP service of the terminal, and it is determined that the SPS resource used by the terminal needs to be adjusted, adjusting the SPS resource used by the terminal includes:
when the difference value obtained by subtracting the BLER obtained in the last adjustment period from the BLER obtained in the present adjustment period is larger than the threshold value corresponding to the set BLER, determining to increase the number of Physical Resource Blocks (PRBs) distributed by SPS resources used by the terminal and to reduce the MCS level of the SPS resources used by the terminal at present; or,
and when the difference value obtained by subtracting the BLER obtained in the previous adjustment period from the BLER obtained in the previous adjustment period is larger than the threshold corresponding to the set BLER, determining to reduce the number of PRBs allocated to the SPS resources used by the terminal and up-regulating the MCS level of the SPS resources currently used by the terminal.
In this manner, if the information related to the terminal data transmission is the data transmission spectrum efficiency of the bearer used for transmitting the VoIP service of the terminal, and it is determined that the SPS resource used by the terminal needs to be adjusted, adjusting the SPS resource used by the terminal includes:
when the difference value obtained by subtracting the spectrum efficiency obtained in the last adjustment period from the spectrum efficiency obtained in the adjustment period is larger than the threshold corresponding to the set spectrum efficiency, determining the number of PRBs (resource blocks) distributed by SPS resources used by the terminal, and increasing the MCS level of the SPS resources currently used by the terminal; or,
and when the difference value obtained by subtracting the spectrum efficiency obtained in the previous adjustment period from the spectrum efficiency obtained in the previous adjustment period is larger than the threshold corresponding to the set spectrum efficiency, determining the number of PRBs allocated to the SPS resources used by the increased terminal and adjusting the MCS level of the SPS resources currently used by the terminal downwards.
In this manner, if the information related to the terminal data transmission is the effective data transmission ratio of the terminal, and it is determined that the SPS resource used by the terminal needs to be adjusted, adjusting the SPS resource used by the terminal includes:
when the difference value obtained by subtracting the effective data transmission rate obtained in the last adjustment period from the effective data transmission rate obtained in the adjustment period is larger than the threshold corresponding to the set effective data transmission rate, determining to reduce the number of PRBs allocated to SPS resources used by the terminal and increasing the MCS level of the SPS resources currently used by the terminal; or,
and when the difference value obtained by subtracting the effective data transmission rate obtained in the adjustment period from the effective data transmission rate obtained in the last adjustment period is larger than the threshold corresponding to the set effective data transmission rate, determining to increase the number of PRBs allocated to the SPS resources used by the terminal and adjusting the MCS level of the SPS resources currently used by the terminal downwards.
In the above two implementation manners, determining whether to adjust SPS resources used by the terminal according to the channel quality information of the terminal and information related to data transmission of the terminal, further includes:
and if the judgment result obtained according to the channel quality information of the terminal is different from the judgment result obtained according to the information related to the data transmission of the terminal, taking the judgment result obtained according to the channel quality information of the terminal as a final judgment result.
In a second implementation manner, determining whether to adjust SPS resources used by the terminal according to information related to data transmission of the terminal further includes:
if the judgment result obtained according to the BLER of the bearer for transmitting the VoIP service of the terminal is different from the judgment result of the spectral efficiency of data transmission according to the bearer for transmitting the VoIP service of the terminal and/or the judgment result of the effective data transmission ratio of the terminal, taking the judgment result obtained according to the BLER of the bearer for transmitting the VoIP service of the terminal as a final judgment result;
and if the judgment result of the data transmission spectrum efficiency according to the bearer for transmitting the VoIP service of the terminal is different from the judgment result of the effective data transmission ratio according to the terminal, taking the judgment result of the data transmission spectrum efficiency according to the bearer for transmitting the VoIP service of the terminal as a final judgment result.
Based on any of the above embodiments, if it is determined that the SPS resource used by the terminal needs to be adjusted, adjusting the SPS resource used by the terminal includes:
and if the SPS resource used by the terminal needs to be adjusted, adjusting the SPS resource used by the terminal according to the voice coding rate of the VoIP service transmitted by the terminal.
Based on any of the above embodiments, the method further comprises:
and determining SPS resources initially used by the terminal for transmitting the VoIP service according to the voice coding rate of the VoIP service transmitted by the terminal.
Based on the two embodiments, the voice coding rate of the VoIP service transmitted by the terminal is determined according to the following manner:
determining the voice coding rate of the VoIP service transmitted by the terminal according to the maximum bit rate MBR parameter corresponding to the load of the VoIP service transmitted by the terminal; and/or the presence of a gas in the gas,
and determining the voice coding rate of the VoIP service transmitted by the terminal according to the monitored size of the data packet of the uplink VoIP service and/or the downlink VoIP service of the terminal.
Further, determining a voice coding rate of the VoIP service transmitted by the terminal according to the monitored size of the data packet of the uplink VoIP service and/or the downlink VoIP service of the terminal, including:
in a set monitoring period, when the monitored size of a data packet of the uplink VoIP service and/or the downlink VoIP service of the terminal is smaller than a set threshold value, adding 1 to a first counter for counting AMR-NB; and/or when the monitored size of the data packet of the uplink VoIP service and/or the downlink VoIP service of the terminal is not smaller than the threshold value, adding 1 to a second counter for counting AMR-WB;
in the monitoring period, if the value of the first counter is not less than a set threshold value, determining that the voice coding rate of the VoIP service transmitted by the terminal is AMR-NB; or, if the value of the second counter is not less than the set threshold, determining that the voice coding rate of the VoIP service transmitted by the terminal is AMR-WB.
Further, determining a voice coding rate of the VoIP service transmitted by the terminal according to the monitored size of the data packet of the VoIP service of the terminal, including:
if the value of the first counter is smaller than the threshold value and the value of the second counter is smaller than the threshold value in the monitoring period, after the monitoring period is finished, the voice coding rate of the VoIP service transmitted by the terminal is determined according to the value of the first counter and the value of the second counter.
Further, after the monitoring period is ended, determining a voice coding rate of the VoIP service transmitted by the terminal according to the value of the first counter and the value of the second counter, including:
if the value of the first counter is greater than the value of the second counter, determining that the voice coding rate of the VoIP service transmitted by the terminal is AMR-NB; or,
and if the value of the first counter is not greater than the value of the second counter, determining that the voice coding rate of the VoIP service transmitted by the terminal is AMR-WB.
In implementation, determining a voice coding rate of the VoIP service transmitted by the terminal according to the MBR parameter corresponding to the bearer used for transmitting the VoIP service of the terminal and the size of the received data packet of the VoIP service of the terminal, further includes:
if the voice coding rate of the VoIP service transmitted by the terminal determined according to the MBR parameter corresponding to the bearer for transmitting the VoIP service of the terminal is different from the voice coding rate of the VoIP service transmitted by the terminal determined according to the size of the received data packet of the VoIP service of the terminal, the voice coding rate of the VoIP service transmitted by the terminal determined according to the MBR parameter corresponding to the bearer for transmitting the VoIP service of the terminal is used as the final voice coding rate of the VoIP service transmitted by the terminal.
The embodiment of the invention provides a resource scheduling device, which comprises:
the terminal comprises a first processing module, a second processing module and a third processing module, wherein the first processing module is used for acquiring channel quality information of each terminal and/or information related to data transmission of the terminal in each set adjusting period after SPS resources used by the terminal for transmitting VoIP services are activated;
a second processing module, configured to, for each terminal that transmits a VoIP service, after each adjustment period is completed, determine whether to adjust SPS resources used by the terminal according to channel quality information of the terminal and/or information related to data transmission of the terminal;
and the third processing module is used for adjusting the SPS resources used by the terminal and notifying the adjusted SPS resources to the terminal if the second processing module judges that the SPS resources used by the terminal need to be adjusted for each terminal transmitting the VoIP service.
In implementation, as a first implementation manner, the first processing module is specifically configured to: acquiring an MCS level corresponding to Channel Quality Indicator (CQI) information reported by the terminal in each set adjustment period;
the second processing module is specifically configured to: and after each adjustment period is finished, judging whether the SPS resources used by the terminal need to be adjusted or not according to the obtained MCS level and the MCS level of the SPS resources allocated by the terminal.
In this manner, the second processing module is specifically configured to: when the absolute value of the difference value between the obtained MCS level and the MCS level of the SPS resource allocated to the terminal is not greater than the set offset, judging that the SPS resource used by the terminal does not need to be adjusted; or when the absolute value of the difference value between the obtained MCS level and the MCS level of the SPS resource allocated to the terminal is greater than the set offset, judging that the SPS resource used by the terminal needs to be adjusted.
Further, the third processing module is specifically configured to: when the difference value obtained by subtracting the MCS level of the SPS resources distributed by the terminal from the obtained MCS level is larger than the offset, determining to reduce the number of PRBs (physical resource blocks) distributed by the SPS resources used by the terminal; or when the difference value obtained by subtracting the obtained MCS level from the MCS level of the SPS resources allocated by the terminal is larger than the offset, determining to increase the number of the Physical Resource Blocks (PRBs) allocated by the SPS resources used by the terminal.
Based on any one of the above embodiments, as a second implementation manner, the second processing module is further configured to:
after each adjustment period is finished, judging whether SPS resources used by the terminal need to be adjusted or not according to the information related to the terminal data transmission acquired in the adjustment period and the information related to the terminal data transmission acquired in the last adjustment period;
wherein the information related to the terminal data transmission comprises: the data transmission method comprises the steps of carrying out transmission on a VoIP service of the terminal according to a block error rate (BLER) of the carrier used for transmitting the VoIP service of the terminal, carrying out data transmission spectral efficiency of the carrier used for transmitting the VoIP service of the terminal, and/or carrying out effective data transmission ratio of the terminal, wherein the effective data transmission ratio is used for representing the proportion of effective VoIP data carried in a data packet correctly received by the terminal to total received data.
In this manner, the second processing module is specifically configured to: judging that the SPS resource used by the terminal does not need to be adjusted when the absolute value of the difference value between the information related to the terminal data transmission acquired in the adjustment period and the information related to the terminal data transmission acquired in the last adjustment period is not greater than the threshold corresponding to the information related to the terminal data transmission; or when the absolute value of the difference value between the information related to the terminal data transmission acquired in the current adjustment period and the information related to the terminal data transmission acquired in the last adjustment period is greater than the threshold corresponding to the information related to the terminal data transmission, determining that the SPS resource used by the terminal needs to be adjusted.
Further, if the information related to the terminal data transmission is a BLER of a bearer used for transmitting the VoIP service of the terminal, the third processing module is specifically configured to:
when the difference value obtained by subtracting the BLER obtained in the last adjustment period from the BLER obtained in the present adjustment period is larger than the threshold value corresponding to the set BLER, determining to increase the number of Physical Resource Blocks (PRBs) distributed by SPS resources used by the terminal and to reduce the MCS level of the SPS resources used by the terminal at present; or when the difference value obtained by subtracting the BLER obtained in the previous adjustment period from the BLER obtained in the previous adjustment period is larger than the threshold corresponding to the set BLER, determining to reduce the number of PRBs allocated to the SPS resources used by the terminal and increasing the MCS level of the SPS resources currently used by the terminal.
In this manner, if the information related to the terminal data transmission is data transmission spectrum efficiency of a bearer used for transmitting the VoIP service of the terminal, the third processing module is specifically configured to:
when the difference value obtained by subtracting the spectrum efficiency obtained in the last adjustment period from the spectrum efficiency obtained in the adjustment period is larger than the threshold corresponding to the set spectrum efficiency, determining the number of PRBs (resource blocks) distributed by SPS resources used by the terminal, and increasing the MCS level of the SPS resources currently used by the terminal; or when the difference obtained by subtracting the spectrum efficiency obtained in the previous adjustment period from the spectrum efficiency obtained in the previous adjustment period is larger than the threshold corresponding to the set spectrum efficiency, determining to increase the number of PRBs allocated to the SPS resources used by the terminal and to adjust the MCS level of the SPS resources currently used by the terminal downward.
In this manner, if the information related to the terminal data transmission is the effective data transmission ratio of the terminal, the third processing module is specifically configured to:
when the difference value obtained by subtracting the effective data transmission rate obtained in the last adjustment period from the effective data transmission rate obtained in the adjustment period is larger than the threshold corresponding to the set effective data transmission rate, determining to reduce the number of PRBs allocated to SPS resources used by the terminal and increasing the MCS level of the SPS resources currently used by the terminal; or, when the difference obtained by subtracting the effective data transmission rate obtained in the previous adjustment period from the effective data transmission rate obtained in the previous adjustment period is greater than the threshold corresponding to the set effective data transmission rate, determining to increase the number of PRBs allocated to SPS resources used by the terminal and to adjust the MCS level of the SPS resources currently used by the terminal downward.
Based on the two implementation manners, the second processing module is further configured to: and if the judgment result obtained according to the channel quality information of the terminal is different from the judgment result obtained according to the information related to the data transmission of the terminal, taking the judgment result obtained according to the channel quality information of the terminal as a final judgment result.
In a second implementation manner, the second processing module is specifically configured to: if the judgment result obtained according to the BLER of the bearer for transmitting the VoIP service of the terminal is different from the judgment result of the spectral efficiency of data transmission according to the bearer for transmitting the VoIP service of the terminal and/or the judgment result of the effective data transmission ratio of the terminal, taking the judgment result obtained according to the BLER of the bearer for transmitting the VoIP service of the terminal as a final judgment result;
and if the judgment result of the data transmission spectrum efficiency according to the bearer for transmitting the VoIP service of the terminal is different from the judgment result of the effective data transmission ratio according to the terminal, taking the judgment result of the data transmission spectrum efficiency according to the bearer for transmitting the VoIP service of the terminal as a final judgment result.
Based on any embodiment above, the third processing module is further configured to:
and if the second processing module determines that the SPS resources used by the terminal need to be adjusted, adjusting the SPS resources used by the terminal according to the voice coding rate of the VoIP service transmitted by the terminal.
Based on any embodiment above, the apparatus further comprises:
and the SPS resource initial configuration module is used for determining the SPS resource initially used by the terminal for transmitting the VoIP service according to the voice coding rate of the VoIP service transmitted by the terminal.
Based on the two embodiments, the third processing module or the SPS resource initial configuration module determines the speech coding rate of the VoIP service transmitted by the terminal according to the following manner:
determining the voice coding rate of the VoIP service transmitted by the terminal according to the maximum bit rate MBR parameter corresponding to the load of the VoIP service transmitted by the terminal; and/or determining the voice coding rate of the VoIP service transmitted by the terminal according to the monitored size of the data packet of the uplink VoIP service and/or the downlink VoIP service of the terminal.
Further, the third processing module or the SPS resource initial configuration module determines, according to the monitored size of the data packet of the uplink VoIP service and/or the downlink VoIP service of the terminal, a voice coding rate of the VoIP service transmitted by the terminal, including:
in a set monitoring period, when the monitored size of a data packet of the uplink VoIP service and/or the downlink VoIP service of the terminal is smaller than a set threshold value, adding 1 to a first counter for counting AMR-NB; and/or when the monitored size of the data packet of the uplink VoIP service and/or the downlink VoIP service of the terminal is not smaller than the threshold value, adding 1 to a second counter for AMR-WB; in the monitoring period, if the value of the first counter is not less than a set threshold value, determining that the voice coding rate of the VoIP service transmitted by the terminal is AMR-NB; or, if the value of the second counter is not less than the set threshold, determining that the voice coding rate of the VoIP service transmitted by the terminal is AMR-WB.
Further, the third processing module or the SPS resource initial configuration module determines, according to the monitored size of the data packet of the VoIP service of the terminal, a speech coding rate of the VoIP service transmitted by the terminal, including:
if the value of the first counter is smaller than the threshold value and the value of the second counter is smaller than the threshold value in the monitoring period, after the monitoring period is finished, the voice coding rate of the VoIP service transmitted by the terminal is determined according to the value of the first counter and the value of the second counter.
Further, after the monitoring period is ended, the third processing module or the SPS resource initial configuration module determines, according to the value of the first counter and the value of the second counter, a voice coding rate of the VoIP service transmitted by the terminal, including:
if the value of the first counter is larger than the value of the second counter, determining that the voice coding rate of the VoIP service transmitted by the terminal is AMR-NB; or, if the value of the first counter is not greater than the value of the second counter, determining that the voice coding rate of the VoIP service transmitted by the terminal is AMR-WB.
In implementation, the third processing module or the SPS resource initial configuration module determines a speech coding rate of the VoIP service transmitted by the terminal according to the MBR parameter corresponding to the bearer used for transmitting the VoIP service of the terminal and the size of the received data packet of the VoIP service of the terminal, and further includes:
if the voice coding rate of the VoIP service transmitted by the terminal determined according to the MBR parameter corresponding to the bearer for transmitting the VoIP service of the terminal is different from the voice coding rate of the VoIP service transmitted by the terminal determined according to the size of the received data packet of the VoIP service of the terminal, the voice coding rate of the VoIP service transmitted by the terminal determined according to the MBR parameter corresponding to the bearer for transmitting the VoIP service of the terminal is used as the final voice coding rate of the VoIP service transmitted by the terminal.
An embodiment of the present invention provides a base station, where the base station includes a transceiver and at least one processor connected to the transceiver, where:
the processor is configured for: for each terminal transmitting VoIP service, after SPS resources used by the terminal for transmitting the VoIP service are activated, acquiring channel quality information of the terminal and/or information related to data transmission of the terminal in each set adjustment period; after each adjustment period is finished, judging whether SPS resources used by the terminal need to be adjusted or not according to the channel quality information of the terminal and/or information related to data transmission of the terminal; and adjusting the SPS resources used by the terminal when judging that the SPS resources used by the terminal need to be adjusted.
The transceiver is configured to: and for each terminal transmitting the VoIP service, informing the terminal of the SPS resources adjusted by the processor.
In implementation, as a first implementation, the processor is configured to: acquiring an MCS level corresponding to Channel Quality Indicator (CQI) information reported by the terminal in each set adjustment period; and after each adjustment period is finished, judging whether the SPS resources used by the terminal need to be adjusted or not according to the obtained MCS level and the MCS level of the SPS resources allocated to the terminal.
In this manner, the processor is configured specifically to: when the absolute value of the difference value between the obtained MCS level and the MCS level of the SPS resource allocated to the terminal is not greater than the set offset, judging that the SPS resource used by the terminal does not need to be adjusted; or when the absolute value of the difference value between the obtained MCS level and the MCS level of the SPS resource allocated to the terminal is greater than the set offset, judging that the SPS resource used by the terminal needs to be adjusted.
In this manner, the processor is configured specifically to: when the difference value obtained by subtracting the MCS level of the SPS resources distributed by the terminal from the obtained MCS level is larger than the offset, determining to reduce the number of PRBs (physical resource blocks) distributed by the SPS resources used by the terminal; or when the difference value obtained by subtracting the obtained MCS level from the MCS level of the SPS resources allocated by the terminal is larger than the offset, determining to increase the number of the Physical Resource Blocks (PRBs) allocated by the SPS resources used by the terminal.
Based on any one of the embodiments above, as a second implementation manner, the processor is further configured to: after each adjustment period is finished, judging whether SPS resources used by the terminal need to be adjusted or not according to the information related to the terminal data transmission acquired in the adjustment period and the information related to the terminal data transmission acquired in the last adjustment period;
wherein, the information related to terminal data transmission comprises: the data transmission method comprises the steps of carrying out transmission of the effective data transmission ratio of the data packets, wherein the effective data transmission ratio is used for representing the proportion of effective VoIP data carried in the data packets correctly received by the terminal to total received data.
In this manner, the processor is configured specifically to: judging that the SPS resource used by the terminal does not need to be adjusted when the absolute value of the difference value between the information related to the terminal data transmission acquired in the adjustment period and the information related to the terminal data transmission acquired in the last adjustment period is not greater than the threshold corresponding to the information related to the terminal data transmission; or when the absolute value of the difference value between the information related to the terminal data transmission acquired in the current adjustment period and the information related to the terminal data transmission acquired in the last adjustment period is greater than the threshold corresponding to the information related to the terminal data transmission, determining that the SPS resource used by the terminal needs to be adjusted.
In this manner, if the information related to the terminal data transmission is a BLER of a bearer used for transmitting the VoIP service of the terminal, the processor is configured to specifically:
when the difference value obtained by subtracting the BLER obtained in the last adjustment period from the BLER obtained in the adjustment period is larger than the threshold value corresponding to the set BLER, determining to increase the number of PRBs allocated to SPS resources used by the terminal and adjusting the MCS level of the SPS resources used by the terminal at present; or when the difference value obtained by subtracting the BLER obtained in the previous adjustment period from the BLER obtained in the previous adjustment period is larger than the threshold corresponding to the set BLER, determining to reduce the number of PRBs allocated to the SPS resources used by the terminal and increasing the MCS level of the SPS resources currently used by the terminal.
In this manner, if the information related to the terminal data transmission is data transmission spectrum efficiency of a bearer used for transmitting the VoIP service of the terminal, the processor is configured to specifically:
when the difference value obtained by subtracting the spectrum efficiency obtained in the last adjustment period from the spectrum efficiency obtained in the adjustment period is larger than the threshold corresponding to the set spectrum efficiency, determining the number of PRBs (resource blocks) distributed by SPS resources used by the terminal, and increasing the MCS level of the SPS resources currently used by the terminal; or when the difference obtained by subtracting the spectrum efficiency obtained in the previous adjustment period from the spectrum efficiency obtained in the previous adjustment period is larger than the threshold corresponding to the set spectrum efficiency, determining to increase the number of PRBs allocated to the SPS resources used by the terminal and to adjust the MCS level of the SPS resources currently used by the terminal downward.
In this manner, if the information related to the terminal data transmission is the effective data transmission ratio of the terminal, the processor is configured to specifically:
when the difference value obtained by subtracting the effective data transmission rate obtained in the last adjustment period from the effective data transmission rate obtained in the adjustment period is larger than the threshold corresponding to the set effective data transmission rate, determining to reduce the number of PRBs allocated to SPS resources used by the terminal and increasing the MCS level of the SPS resources currently used by the terminal; or, when the difference obtained by subtracting the effective data transmission rate obtained in the previous adjustment period from the effective data transmission rate obtained in the previous adjustment period is greater than the threshold corresponding to the set effective data transmission rate, determining to increase the number of PRBs allocated to SPS resources used by the terminal and to adjust the MCS level of the SPS resources currently used by the terminal downward.
In this manner, the processor is configured specifically to: if the judgment result obtained according to the BLER of the bearer for transmitting the VoIP service of the terminal is different from the judgment result of the spectral efficiency of data transmission according to the bearer for transmitting the VoIP service of the terminal and/or the judgment result of the effective data transmission ratio of the terminal, taking the judgment result obtained according to the BLER of the bearer for transmitting the VoIP service of the terminal as a final judgment result; or,
and if the judgment result of the data transmission spectrum efficiency according to the bearer for transmitting the VoIP service of the terminal is different from the judgment result of the effective data transmission ratio according to the terminal, taking the judgment result of the data transmission spectrum efficiency according to the bearer for transmitting the VoIP service of the terminal as a final judgment result.
Based on the above two implementations, the processor is further configured to: and if the judgment result obtained according to the channel quality information of the terminal is different from the judgment result obtained according to the information related to the data transmission of the terminal, taking the judgment result obtained according to the channel quality information of the terminal as a final judgment result.
Based on any of the embodiments above, the processor is further configured to: and when determining that the SPS resources used by the terminal need to be adjusted, adjusting the SPS resources used by the terminal according to the voice coding rate of the VoIP service transmitted by the terminal.
Based on any of the embodiments above, the processor is further configured to: and determining SPS resources initially used by the terminal for transmitting the VoIP service according to the voice coding rate of the VoIP service transmitted by the terminal.
Based on the two embodiments described above, the processor is configured specifically to: determining a voice coding rate of the VoIP service transmitted by the terminal according to a maximum bit rate MBR parameter corresponding to a bearer used for transmitting the VoIP service of the terminal, which is specifically referred to in the first manner; and/or determining the voice coding rate of the VoIP service transmitted by the terminal according to the monitored size of the data packet of the uplink VoIP service and/or the downlink VoIP service of the terminal, which is specifically referred to in the above-mentioned mode two.
Further, the processor is configured specifically to: in a set monitoring period, when the size of a monitored data packet of an uplink VoIP service and/or a downlink VoIP service of a terminal is smaller than a set threshold value, adding 1 to a first counter for counting AMR-NB; and/or when the monitored size of the data packet of the uplink VoIP service and/or the downlink VoIP service of the terminal is not smaller than a set threshold value, adding 1 to a second counter for counting AMR-WB; in a monitoring period, if the value of the first counter is not less than a set threshold value, determining that the voice coding rate of the VoIP service transmitted by the terminal is AMR-NB; or, if the value of the second counter is not less than the set threshold, determining that the voice coding rate of the VoIP service transmitted by the terminal is AMR-WB.
Further, the processor is configured specifically to: if the value of the first counter is smaller than the threshold value and the value of the second counter is smaller than the threshold value in the monitoring period, after the monitoring period is finished, the voice coding rate of the VoIP service transmitted by the terminal is determined according to the value of the first counter and the value of the second counter.
Further, the processor is configured specifically to: if the value of the first counter is greater than the value of the second counter, determining that the voice coding rate of the VoIP service transmitted by the terminal is AMR-NB; or, if the value of the first counter is not greater than the value of the second counter, determining that the voice coding rate of the VoIP service transmitted by the terminal is AMR-WB.
In an implementation, the processor is further configured to: if the voice coding rate of the VoIP service transmitted by the terminal determined according to the MBR parameter corresponding to the bearer for transmitting the VoIP service of the terminal is different from the voice coding rate of the VoIP service transmitted by the terminal determined according to the size of the received data packet of the VoIP service of the terminal, the voice coding rate of the VoIP service transmitted by the terminal determined according to the MBR parameter corresponding to the bearer for transmitting the VoIP service of the terminal is used as the final voice coding rate of the VoIP service transmitted by the terminal.
The method and the device provided by the embodiment of the invention can flexibly adjust the SPS resources used by the terminal in the activation period of the SPS resources allocated by the terminal, thereby improving the user experience and increasing the user capacity.
Detailed Description
According to the method and the device, after each set adjustment period is finished, whether the SPS resources used by the terminal need to be adjusted or not is judged according to the channel quality information of the terminal and/or the information related to the data transmission of the terminal, and the adjusted SPS resources are notified to the terminal after the SPS resources used by the terminal are adjusted, so that the SPS resources used by the terminal can be adjusted flexibly in the activation period of the SPS resources allocated by the terminal, the user experience is improved, and the user capacity is increased.
The embodiments of the present invention will be described in further detail with reference to the drawings attached hereto. It is to be understood that the embodiments described herein are merely illustrative and explanatory of the invention and are not restrictive thereof.
Referring to fig. 2, a method for scheduling resources according to an embodiment of the present invention includes:
step 21, for each terminal transmitting the VoIP service, after the SPS resource used by the terminal for transmitting the VoIP service is activated, in each set adjustment period, acquiring the channel quality information of the terminal and/or information related to data transmission of the terminal.
In this step, the information related to the data transmission of the terminal includes, but is not limited to, at least one of the following information:
a Block Error Rate (BLER) of a bearer for transmitting VoIP traffic of the terminal;
data transmission spectrum efficiency for transmitting the bearer of the VoIP service of the terminal;
and the effective data transmission ratio of the terminal, wherein the effective data transmission ratio is used for indicating the proportion of the effective VoIP data carried in the data packet correctly received by the terminal to the total received data.
And step 22, after each set adjustment period is finished for each terminal transmitting the VoIP service, judging whether to adjust SPS resources used by the terminal according to the channel quality information of the terminal and/or information related to data transmission of the terminal.
In this step, the embodiment of the present invention may not perform the determination process at any time after the end of the set adjustment period.
And step 23, if the SPS resource used by the terminal needs to be adjusted is judged to be needed for each terminal transmitting the VoIP service, the SPS resource used by the terminal is adjusted, and the adjusted SPS resource is notified to the terminal.
In implementation, the main execution body of the method is a base station, and may also be other network entities.
The method provided by the embodiment of the invention can flexibly adjust the SPS resources used by the terminal in the activation period of the SPS resources allocated by the terminal, thereby improving the user experience and increasing the user capacity.
In implementation, as a preferred implementation manner, step 21 is specifically: for each terminal transmitting VoIP service, after SPS resources used by the terminal for transmitting the VoIP service are activated, starting a timer for adjusting the SPS resources, and acquiring channel quality information of the terminal and/or information related to data transmission of the terminal during the timing period of the timer;
correspondingly, step 22 specifically includes: and for each terminal transmitting the VoIP service, when the timer times out, judging whether the SPS resources used by the terminal need to be adjusted according to the acquired channel quality information of the terminal and/or the information related to the data transmission of the terminal.
In this preferred mode, the method further includes: and after judging that the SPS resources used by the terminal do not need to be adjusted or the adjustment of the SPS resources used by the terminal is completed, starting the timer again, and acquiring the channel quality information of the terminal and/or the information related to the data transmission of the terminal during the timing period of the timer.
The embodiment of the present invention is not limited to adopt the above preferred implementation manner, and step 21 and step 22 may also be realized in other manners, for example, step 21 specifically includes: for each terminal transmitting the VoIP service, starting from the activation time of the SPS resource after the last adjustment (if the current is the first adjustment, the SPS resource is activated for the first time), acquiring the channel quality information of the terminal and/or the information related to the data transmission of the terminal; correspondingly, step 22 specifically includes: and for each terminal transmitting the VoIP service, after the difference value between the current time and the activation time of the SPS resource which is adjusted last time by the terminal is larger than the set timestamp, judging whether the SPS resource used by the terminal needs to be adjusted according to the acquired channel quality information of the terminal and/or the information related to the data transmission of the terminal.
In implementation, in step 22, according to the channel quality information of the terminal and/or information related to data transmission of the terminal, it is determined whether SPS resources used by the terminal need to be adjusted, which specifically includes the following ways:
mode 1, only according to the channel quality information of the terminal, judge whether need to adjust the SPS resource that the terminal uses.
In this manner, step 21 specifically includes: for each terminal transmitting the VoIP service, in each set adjustment period, a Modulation and Coding Scheme (MCS) level (index) corresponding to Channel Quality Indicator (CQI) information reported by the terminal is obtained.
Correspondingly, step 22 specifically includes: after each adjustment period is finished for each terminal transmitting the VoIP service, whether the SPS resource used by the terminal needs to be adjusted is determined according to the obtained MCS level (marked as MCS _ index _ New) and the MCS level (marked as MCS _ index) of the SPS resource allocated by the terminal.
Further, according to the obtained MCS level and the MCS level of the SPS resource allocated to the terminal, determining whether the SPS resource used by the terminal needs to be adjusted, specifically including:
when the absolute value of the difference value between the obtained MCS level and the MCS level of the SPS resource allocated to the terminal is not greater than the set offset, judging that the SPS resource used by the terminal does not need to be adjusted;
or when the absolute value of the difference between the obtained MCS level and the MCS level of the SPS resource allocated to the terminal is greater than the offset, determining that the SPS resource used by the terminal needs to be adjusted.
In this manner, in step 23, when it is determined that the SPS resource used by the terminal needs to be adjusted, the adjusting the SPS resource used by the terminal specifically includes:
when the difference value obtained by subtracting the MCS level of the SPS Resource allocated by the terminal from the obtained MCS level is larger than the set offset, determining to reduce the number of Physical Resource Blocks (PRBs) allocated by the SPS Resource used by the terminal; or,
and when the difference value obtained by subtracting the obtained MCS level from the MCS level of the SPS resource allocated by the terminal is larger than the set offset, determining to increase the number of PRBs allocated to the SPS resource used by the terminal.
For example, it is assumed that the MCS level corresponding to the CQI reported by the terminal acquired in the adjustment period is MCS _ Index _ New; the MCS level of the SPS resource allocated to the terminal is MCS _ Index, and whether the SPS resource used by the terminal needs to be adjusted is determined as follows:
if abs (MCS _ Index _ New-MCS _ Index) is less than alfa _1, that is, the MCS level does not change much, then no operation is performed, that is, there is no need to adjust the SPS resource used by the terminal;
otherwise, if MCS _ Index _ New > MCS _ Index + alfa _1, it indicates that the number of PRBs allocated by SPS resources can be reduced; if MCS _ Index _ New < MCS _ Index-alfa _1, it indicates that the number of PRBs for SPS resource allocation needs to be increased.
In this manner, in step 23, notifying the adjusted SPS resource to the terminal includes: the adjusted SPS resource is indicated again by the content of UL grant (uplink scheduling) or DL assignment (downlink configuration) of "PDCCH with SPS-CRNTI NDI = 0", and the adjusted SPS resource and the obtained MCS level (i.e., MCS _ Index _ New) are carried in the UL grant or the DL assignment. Wherein, the PDCCH is an abbreviation of a Physical downlink control Channel (Physical downlink control Channel); the SPS-CRNTI is an abbreviation of Semi-Persistent Scheduling-CRNTI (SPS-CRNTI; Cell-Radio Network temporary identifier, C-RNTI); NDI is an abbreviation for New Data Indicator (New Data Indicator).
In this way, the CQI information reported by the terminal and acquired in the adjustment period may be a filtered smoothed value of at least one piece of CQI information in the adjustment period, or may be the CQI information reported the latest time from the arrival time of the adjustment period; preferably, the CQI reported by the terminal and acquired in the adjustment period may be a corrected value, and the correction influence on the SPS resource is not considered.
Mode 2, whether the SPS resource used by the terminal needs to be adjusted is determined only according to one of the information related to the data transmission of the terminal.
In this manner, step 22 specifically includes: and after each adjustment period is finished for each terminal transmitting the VoIP service, judging whether the SPS resources used by the terminal need to be adjusted or not according to the information related to the terminal data transmission acquired in the adjustment period and the information related to the terminal data transmission acquired in the last adjustment period.
Further, determining whether to adjust SPS resources used by the terminal according to the information related to terminal data transmission acquired in the adjustment period and the information related to terminal data transmission acquired in the previous adjustment period, includes:
judging that SPS resources used by the terminal do not need to be adjusted when the absolute value of the difference value between the information related to terminal data transmission acquired in the adjustment period and the information related to terminal data transmission acquired in the last adjustment period is not greater than the threshold corresponding to the information related to terminal data transmission;
or,
and when the absolute value of the difference value between the information related to the terminal data transmission acquired in the adjustment period and the information related to the terminal data transmission acquired in the last adjustment period is greater than the threshold value corresponding to the information related to the terminal data transmission, judging that the SPS resource used by the terminal needs to be adjusted.
In an implementation, the method further comprises:
in the mode 2a, the information related to the data transmission of the terminal is the BLER of the bearer used for transmitting the VoIP service of the terminal.
In this manner, step 22 specifically includes: and for each terminal transmitting the VoIP service, after each adjustment period is finished, judging whether SPS resources used by the terminal need to be adjusted or not according to the BLER obtained in the adjustment period and the BLER obtained in the last adjustment period.
Further, when the absolute value of the difference between the BLER obtained in the present adjustment period and the BLER obtained in the previous adjustment period is not greater than the threshold corresponding to the set BLER, it is determined that SPS resources used by the terminal do not need to be adjusted; or,
and when the absolute value of the difference value between the BLER acquired in the adjusting period and the BLER acquired in the last adjusting period is larger than the threshold corresponding to the set BLER, judging that the SPS resource used by the terminal needs to be adjusted.
Further, in step 23, when it is determined that the SPS resource used by the terminal needs to be adjusted, adjusting the SPS resource used by the terminal includes:
when the difference value obtained by subtracting the BLER obtained in the last adjustment period from the BLER obtained in the adjustment period is larger than the threshold value corresponding to the set BLER, determining to increase the number of PRBs allocated to SPS resources used by the terminal and adjusting the MCS level of the SPS resources used by the terminal at present; or,
and when the difference value obtained by subtracting the BLER obtained in the previous adjustment period from the BLER obtained in the previous adjustment period is larger than the threshold corresponding to the set BLER, determining the number of PRBs for reducing the SPS resource allocation used by the terminal and increasing the MCS level of the SPS resource currently used by the terminal.
For example, suppose that BLER of data transmission carried by the VoIP service obtained in the current adjustment period is BLER _ New, BLER of data transmission carried by the VoIP service obtained in the last adjustment period is BLER:
if the absolute value abs (BLER _ New-BLER) is less than or equal to alfa _2, namely the difference between the BLERs counted in the two adjustment periods is not large, no operation is performed;
otherwise, if BLER _ New > BLER + alfa _2, it indicates that the MSC level corresponding to the currently used SPS resource is too high, and needs to be adjusted downwards, and meanwhile, the number of PRBs allocated by the SPS resource needs to be increased; if BLER _ New < BLER-alfa _2, it indicates that the MSC level corresponding to the SPS resource currently used is too low, and needs to be adjusted upwards, and meanwhile, the number of PRBs allocated to the SPS resource can be reduced.
In this manner, preferably, the BLER obtained in the adjustment period is an average value of at least one BLER in the adjustment period.
In this way, the threshold corresponding to the BLER is a value greater than or equal to 0, the specific value precision depends on the statistical BLER precision and the residual BLER requirement of the VoIP service, and needs to be smaller than the residual BLER requirement of the VoIP service, and the preliminary suggestion may be in the order of 10-e 3.
It should be noted that, only data transmission BLER carried by the VoIP service under the currently allocated SPS resource is counted in the first adjustment period after the SPS resource of the terminal is activated, and no adjustment processing is performed; after each subsequent adjusting period is finished, comparing and judging the statistical result in the adjusting period with the statistical result in the previous adjusting period.
In this manner, in step 23, notifying the adjusted SPS resource to the terminal includes: and indicating the adjusted SPS resource again through the content of UL grant (uplink scheduling) or DL assignment (downlink configuration) of the PDCCH with SPS-CRNTI NDI =0, wherein the adjusted SPS resource and the adjusted MCS level are carried in the UL grant or the DL assignment.
In the mode 2b, the information related to the terminal data transmission is the data transmission spectrum efficiency of the bearer for transmitting the VoIP service of the terminal.
In this manner, step 22 specifically includes: and for each terminal transmitting the VoIP service, after each adjustment period is finished, judging whether the SPS resources used by the terminal need to be adjusted or not according to the spectral efficiency obtained in the adjustment period and the spectral efficiency obtained in the last adjustment period.
Further, when the absolute value of the difference between the spectral efficiency of data transmission acquired in the adjustment period and the spectral efficiency acquired in the previous adjustment period is not greater than the threshold corresponding to the spectral efficiency, it is determined that SPS resources used by the terminal do not need to be adjusted; or,
and when the absolute value of the difference value between the spectrum efficiency acquired in the adjustment period and the spectrum efficiency acquired in the last adjustment period is greater than the threshold corresponding to the spectrum efficiency, judging that the SPS resource used by the terminal needs to be adjusted.
Further, in step 23, when it is determined that the SPS resource used by the terminal needs to be adjusted, adjusting the SPS resource used by the terminal includes:
when the difference value obtained by subtracting the spectrum efficiency obtained in the last adjustment period from the spectrum efficiency obtained in the adjustment period is larger than the threshold corresponding to the set spectrum efficiency, determining the number of PRBs (resource blocks) distributed by SPS resources used by the terminal, and increasing the MCS level of the SPS resources currently used by the terminal; or,
and when the difference value obtained by subtracting the spectrum efficiency obtained in the previous adjustment period from the spectrum efficiency obtained in the previous adjustment period is larger than the threshold corresponding to the set spectrum efficiency, determining the number of PRBs allocated to the SPS resources used by the increased terminal and adjusting the MCS level of the SPS resources currently used by the terminal downwards.
For example, assuming that the data transmission spectrum efficiency of the VoIP service bearer acquired in the current adjustment period is eff _ New, and the data transmission spectrum efficiency of the VoIP service bearer acquired in the previous adjustment period is eff, then:
if the absolute value abs (eff _ New-eff) < alfa _3, that is, the spectral efficiency of data transmission counted by two adjustment periods is not very different, then do nothing;
otherwise, if eff _ New > eff + alfa _3, it is indicated that the grade of the MSC corresponding to the currently used SPS resource is too low, and it is necessary to perform up-regulation, and at the same time, it is necessary to reduce the number of PRBs allocated to the SPS resource; if eff _ New < eff-alfa _3, it indicates that the MSC level corresponding to the currently used SPS resource is too high, and needs to be adjusted downward, and at the same time, the number of PRBs allocated to the SPS resource may be increased.
In this manner, preferably, the spectral efficiency obtained in the adjustment period is an average value of results of at least one statistical spectral efficiency in the adjustment period.
It should be noted that, only the data transmission spectrum efficiency of the VoIP service bearer under the currently allocated SPS resource is counted in the first adjustment period after the SPS resource of the terminal is activated, and no adjustment processing is performed; after each subsequent adjusting period is finished, comparing and judging the statistical result in the adjusting period with the statistical result in the previous adjusting period.
In this way, the threshold corresponding to the spectral efficiency is a value greater than or equal to 0, the specific value precision depends on the precision of the statistical spectral efficiency and the precision requirement of the spectral efficiency expected by the VoIP service, and needs to be less than the precision of the spectral efficiency expected by the VoIP service, and the preliminary suggestion may be in the order of 10-e 3.
In this manner, in step 23, notifying the adjusted SPS resource to the terminal includes: and indicating the adjusted SPS resource again through the content of UL grant (uplink scheduling) or DL assignment (downlink configuration) of the PDCCH with SPS-CRNTI NDI =0, wherein the adjusted SPS resource and the adjusted MCS level are carried in the UL grant or the DL assignment.
Mode 2c, the information related to terminal data transmission is an effective data transmission ratio of the terminal, where the effective data transmission ratio is used to indicate a ratio of effective VoIP data carried in a data packet correctly received by the terminal to received total data, that is, the number of effective VoIP data bits carried in the correctly received data packet is divided by the number of bits of the data packet (that is, transport block size (TB size)).
In this manner, step 22 specifically includes: and for each terminal transmitting the VoIP service, after each adjustment period is finished, judging whether the SPS resources used by the terminal need to be adjusted or not according to the effective data transmission rate acquired in the adjustment period and the effective data transmission rate acquired in the last adjustment period.
Further, when the absolute value of the difference between the effective data transmission rate obtained in the adjustment period and the effective data transmission rate obtained in the previous adjustment period is not greater than the threshold corresponding to the set effective data transmission rate, it is determined that the SPS resource used by the terminal does not need to be adjusted; or,
and when the absolute value of the difference value between the effective data transmission rate acquired in the adjustment period and the effective data transmission rate acquired in the last adjustment period is greater than the threshold corresponding to the set effective data transmission rate, judging that the SPS resource used by the terminal needs to be adjusted.
Further, in step 23, when it is determined that the SPS resource used by the terminal needs to be adjusted, adjusting the SPS resource used by the terminal includes:
when the difference value obtained by subtracting the effective data transmission rate obtained in the last adjustment period from the effective data transmission rate obtained in the adjustment period is larger than the threshold corresponding to the set effective data transmission rate, determining to reduce the number of PRBs allocated to the SPS resources used by the terminal and increasing the MCS level of the SPS resources currently used by the terminal; or,
and when the difference value obtained by subtracting the effective data transmission rate obtained in the adjustment period from the effective data transmission rate obtained in the last adjustment period is larger than the threshold corresponding to the set effective data transmission rate, determining to increase the number of PRBs allocated to the SPS resources used by the terminal and adjusting the MCS level of the SPS resources currently used by the terminal downwards.
For example, assuming that the effective data transmission ratio of the VoIP service bearer acquired in the current adjustment period is ratio _ New, and the effective data transmission ratio of the VoIP service bearer acquired in the previous adjustment period is ratio, then:
if the absolute value abs (ratio _ New-ratio) is less than or equal to alfa _4, that is, the effective data transmission ratios of the two adjustment period statistics are not different, then do nothing;
otherwise, if ratio _ New > ratio + alfa _4, it indicates that the MSC level corresponding to the currently used SPS resource is too high, and needs to be adjusted downward, and at the same time, needs to increase the number of PRBs allocated to the SPS resource; if the ratio _ New < ratio-alfa _4 indicates that the MSC level corresponding to the currently used SPS resource is too low, the MSC level needs to be adjusted upwards, and meanwhile, the number of PRBs allocated to the SPS resource can be reduced.
In this manner, the effective data transmission rate obtained in the adjustment period is preferably an average value of results of at least one effective data transmission rate counted in the adjustment period.
It should be noted that, only the effective data transmission rate of the VoIP service bearer under the currently allocated SPS resource is counted in the first adjustment period after the SPS resource of the terminal is activated, and no adjustment is performed; after each subsequent adjusting period is finished, comparing and judging the statistical result in the adjusting period with the statistical result in the previous adjusting period.
In this way, the threshold corresponding to the effective data transmission ratio is a value greater than or equal to 0, the specific value precision depends on the precision of the statistical effective data transmission ratio, and the preliminary suggestion may be in the order of 10-e 3.
In this manner, in step 23, notifying the adjusted SPS resource to the terminal includes: and indicating the adjusted SPS resource again through the content of UL grant (uplink scheduling) or DL assignment (downlink configuration) of the PDCCH with SPS-CRNTI NDI =0, wherein the adjusted SPS resource and the adjusted MCS level are carried in the UL grant or the DL assignment.
Mode 3, determining whether to adjust SPS resources used by the terminal according to at least one of channel quality information of the terminal and information related to data transmission of the terminal.
In this manner, it is determined whether SPS resources used by the terminal need to be adjusted according to the channel quality information of the terminal, which is specifically described in the manner 1 and is not described herein again; for determining whether the SPS resource used by the terminal needs to be adjusted according to at least one of the information related to data transmission of the terminal, refer to the above description of the mode 2a to the mode 2c, which is not described herein again.
In this manner, if the determination result obtained from the channel quality information of the terminal is different from the determination result obtained from the information related to the data transmission of the terminal, the determination result obtained from the channel quality information of the terminal is taken as the final determination result. Namely: when the determination result conflicts, the priority of the determination result obtained from the channel quality information of the terminal is higher than the determination result obtained from the information related to the data transmission of the terminal.
And 4, judging whether the SPS resources used by the terminal need to be adjusted according to at least two kinds of information in the information related to the data transmission of the terminal.
In this manner, whether the SPS resource used by the terminal needs to be adjusted is determined according to at least one of the information related to data transmission of the terminal, which is specifically described in the foregoing reference to the descriptions of the manner 2a to the manner 2c, and is not described herein again.
In this way, if the determination result obtained according to the BLER of the bearer for transmitting the VoIP service of the terminal is different from the determination result according to the data transmission spectrum efficiency of the bearer for transmitting the VoIP service of the terminal and/or the determination result according to the effective data transmission ratio of the terminal, the determination result obtained according to the BLER of the bearer for transmitting the VoIP service of the terminal is used as a final determination result;
and if the judgment result of the data transmission spectrum efficiency according to the load of the VoIP service for transmitting the terminal is different from the judgment result of the effective data transmission ratio according to the terminal, taking the judgment result of the data transmission spectrum efficiency according to the load of the VoIP service for transmitting the terminal as a final judgment result.
In this mode, when a conflict occurs in the determination results, the determination result obtained in the mode 2a has a higher priority than the determination result obtained in the mode 2b, and the determination result obtained in the mode 2b has a higher priority than the determination result obtained in the mode 2 c.
Based on any of the above embodiments, in step 23, when it is determined that the SPS resource used by the terminal needs to be adjusted, adjusting the SPS resource used by the terminal includes:
and when determining that the SPS resources used by the terminal need to be adjusted, adjusting the SPS resources used by the terminal according to the voice coding rate of the VoIP service transmitted by the terminal.
In practice, the method further comprises: and determining SPS resources initially used by the terminal for transmitting the VoIP service according to the voice coding rate of the VoIP service transmitted by the terminal. That is, when SPS resources are initially allocated to a terminal, the SPS resources also need to be allocated to the terminal according to the voice coding rate of the VoIP service transmitted by the terminal.
Based on any embodiment, the voice coding rate of the VoIP service transmitted by the terminal is determined according to the following method:
in the first mode, the speech coding Rate of the VoIP service transmitted by the terminal is determined according to a Maximum Bit Rate (MBR) parameter corresponding to a bearer used for transmitting the VoIP service of the terminal.
In this way, the MBR parameter configured by the VoIP service bearer is directly judged. The method specifically comprises the following steps:
if the MBR is Adaptive Multi-rate-Wideband (AMR-WB) 23.85kbps, determining that the current VoIP service bearing coding mode of the terminal is AMR-WB;
and if the MBR is Adaptive Multi-rate-Narrow Band (AMR-NB) 12.2kbps, determining that the current VoIP service bearer coding mode of the terminal is AMR-NB.
And secondly, determining the voice coding rate of the VoIP service transmitted by the terminal according to the monitored size of the data packet of the uplink VoIP service and/or the downlink VoIP service of the terminal.
In this way, the detected data packets of the uplink VoIP service (i.e., the VoIP service transmitted by the terminal uplink) and the downlink VoIP service (i.e., the VoIP service transmitted to the terminal downlink for reception) may be counted together, or the data packets of the uplink VoIP service and the downlink VoIP service may be counted separately (i.e., counted separately in both uplink and downlink directions). For the way of separately counting two directions, as long as one direction determines the coding rate, the other direction also determines the same coding rate, that is, after the coding rate is determined, the counting process in the two directions can be stopped at the same time.
In the mode, in a set monitoring period (VoIPAMRModeCheckTime), when the size (size) of a monitored data packet of an uplink VoIP service and/or a downlink VoIP service of a terminal is smaller than a set threshold value, a first counter for counting AMR-NB is increased by 1; and/or when the monitored size of the data packet of the uplink VoIP service and/or the downlink VoIP service of the terminal is not smaller than the threshold value, adding 1 to a second counter for counting AMR-WB;
in the monitoring period, if the value of the first counter is not less than a set threshold value, determining that the voice coding rate of the VoIP service transmitted by the terminal is AMR-NB; or, if the value of the second counter is not less than the set threshold, determining that the voice coding rate of the VoIP service transmitted by the terminal is AMR-WB.
Further, if the value of the first counter is smaller than the set threshold and the value of the second counter is smaller than the set threshold in the monitoring period, after the monitoring period is ended, the voice coding rate of the VoIP service transmitted by the terminal is determined according to the value of the first counter and the value of the second counter.
Specifically, if the value of the first counter is greater than the value of the second counter, the voice coding rate of the VoIP service transmitted by the terminal is determined to be AMR-NB; or,
and if the value of the first counter is not greater than the value of the second counter, determining that the voice coding rate of the VoIP service transmitted by the terminal is AMR-WB.
For example, a VoIP service bearer coding rate recognition timer, VoIPAMRModeCheckTime, is started, and n1 detected AMR-NB packets (i.e., a first counter) and n2 detected AMR-WB packets (i.e., a second counter) are respectively initialized. Recording the size of the data packet received in the VoIP activation period as VoIP _ active _ packet _ size (for downlink, that is, the size of the data amount newly added each time corresponding to the buffer of the voice bearer). During the validity period of the VoIP service bearer coding rate identification timer VoIPAMM _ RModeCheckTime, executing the following judgment process:
if the packet size VoIP _ active _ packet _ size < VoIP mac mod packet size threshold (i.e. the set threshold) is received during the VoIP activation period, update n1 plus 1. Further, if n1 is greater than or equal to VoIPAMM media pack number, determining that VoIPAMM mode of VoIP service bearer coding is AMR-NB, terminating the VoIPAMM media code rate recognition timer, and resetting related recording variables; otherwise, no operation is performed, and the subsequent processing is continued.
If the packet size VoIP _ active _ packet _ size received in the VoIP activation period is greater than or equal to VoIP amarmodeppedcetsizetzethreshold, update n2 plus 1. Further, if n2 is greater than or equal to VoIPAMM media pack number, determining that VoIPAMM mode of VoIP service bearer coding is AMR-WB, terminating the VoIPAMM media code timer of VoIP service bearer coding rate identification, and resetting related recording variables; otherwise, no operation is performed, and the subsequent processing is continued.
When a VoIP service bearer coding rate recognition timer, times out, if n1< VoIP service bearer packing number, and n2< VoIP service bearer packing number, then the following judgment process is executed:
if n1> n2, determining that the VoIP service bearer coding mode is AMR-NB;
otherwise, if n1 is not more than n2, the VoIP service bearer coding mode is determined to be AMR-WB.
In an implementation, the first and second manners may be used separately (i.e., only the first or second manner is used to determine the voice coding rate of the VoIP service transmitted by the terminal), or may be used simultaneously (i.e., the first and second manners are used to determine the voice coding rate of the VoIP service transmitted by the terminal), and preferably, if the voice coding rate of the VoIP service transmitted by the terminal, determined according to the MBR parameter corresponding to the bearer used for transmitting the VoIP service of the terminal, is different from the voice coding rate of the VoIP service transmitted by the terminal, determined according to the size of the received data packet of the VoIP service of the terminal, the voice coding rate of the VoIP service transmitted by the terminal, determined according to the MBR parameter corresponding to the bearer used for transmitting the VoIP service of the terminal, is used as the final voice coding rate of the VoIP service transmitted by the terminal. That is, when the results obtained by the way one and the way two conflict, the priority of the results obtained by the way one is higher than that of the results obtained by the way two.
The above method process flow may be implemented by a software program, which may be stored in a storage medium, and when the stored software program is called, the above method steps are performed.
Based on the same inventive concept, an embodiment of the present invention further provides a resource scheduling apparatus, as shown in fig. 3, the apparatus includes:
a first processing module 31, configured to, for each terminal that transmits a VoIP service, acquire channel quality information of the terminal and/or information related to data transmission of the terminal in each set adjustment period after an SPS resource used by the terminal to transmit the VoIP service is activated;
a second processing module 32, configured to, for each terminal that transmits a VoIP service, after each adjustment period is finished, determine whether to adjust an SPS resource used by the terminal according to channel quality information of the terminal and/or information related to data transmission of the terminal;
a third processing module 33, configured to adjust, for each terminal that transmits the VoIP service, the SPS resource used by the terminal when the second processing module 32 determines that the SPS resource used by the terminal needs to be adjusted, and notify the terminal of the adjusted SPS resource.
The device provided by the embodiment of the invention can flexibly adjust the SPS resources used by the terminal in the activation period of the SPS resources allocated by the terminal, thereby improving the user experience and increasing the user capacity.
In implementation, the apparatus provided in the embodiments of the present invention may be integrated in a base station or other network devices, so as to implement adjustment of an SPS resource activation period allocated by a terminal; the device provided by the embodiment of the invention can also be a base station or other network equipment.
In implementation, as a preferred implementation manner, the first processing module 31 is specifically configured to: starting a timer for adjusting SPS resources after the SPS resources used by a terminal for transmitting VoIP service are activated, and acquiring channel quality information of the terminal and/or information related to data transmission of the terminal during the timing period of the timer; and the number of the first and second groups,
the second processing module 32 is specifically configured to: and when the timer is overtime, judging whether the SPS resources used by the terminal need to be adjusted or not according to the channel quality information of the terminal and/or the information related to the data transmission of the terminal.
Further, the second processing module 32 is further configured to: and after judging that the SPS resources used by the terminal do not need to be adjusted or the adjustment of the SPS resources used by the terminal is completed, starting the timer again, and acquiring the channel quality information of the terminal and/or the information related to the data transmission of the terminal during the timing period of the timer.
The embodiment of the present invention is not limited to adopt the above preferred implementation manner, and the first processing module 31 and the second processing module 32 may also be realized in other manners, for example, the first processing module 31 is specifically configured to: for each terminal transmitting the VoIP service, starting from the activation time of the SPS resource after the last adjustment (if the current is the first adjustment, the SPS resource is activated for the first time), acquiring the channel quality information of the terminal and/or the information related to the data transmission of the terminal; correspondingly, the second processing module 32 is specifically configured to: and for each terminal transmitting the VoIP service, after the difference value between the current time and the activation time of the SPS resource which is adjusted last time by the terminal is larger than the set timestamp, judging whether the SPS resource used by the terminal needs to be adjusted according to the acquired channel quality information of the terminal and/or the information related to the data transmission of the terminal.
Based on any one of the above embodiments, in implementation, as a first implementation manner (see the above manner 1 specifically), the first processing module 31 is specifically configured to: acquiring an MCS level corresponding to Channel Quality Indicator (CQI) information reported by the terminal in each set adjustment period; and the number of the first and second groups,
the second processing module 32 is specifically configured to: and after each adjustment period is finished, judging whether the SPS resources used by the terminal need to be adjusted or not according to the obtained MCS level and the MCS level of the SPS resources allocated by the terminal.
In this manner, the second processing module 32 is specifically configured to: when the absolute value of the difference value between the obtained MCS level and the MCS level of the SPS resource allocated to the terminal is not greater than the set offset, judging that the SPS resource used by the terminal does not need to be adjusted; or when the absolute value of the difference value between the obtained MCS level and the MCS level of the SPS resource allocated to the terminal is greater than the set offset, judging that the SPS resource used by the terminal needs to be adjusted.
In this manner, the third processing module 33 is specifically configured to: when the difference value obtained by subtracting the MCS level of the SPS resources distributed by the terminal from the obtained MCS level is larger than the offset, determining to reduce the number of PRBs (physical resource blocks) distributed by the SPS resources used by the terminal; or when the difference value obtained by subtracting the obtained MCS level from the MCS level of the SPS resources allocated by the terminal is larger than the offset, determining to increase the number of the Physical Resource Blocks (PRBs) allocated by the SPS resources used by the terminal.
Based on any of the above embodiments, as a second implementation manner (see the above manner 2 specifically), the second processing module 32 is further configured to:
after each adjustment period is finished, judging whether SPS resources used by the terminal need to be adjusted or not according to the information related to the terminal data transmission acquired in the adjustment period and the information related to the terminal data transmission acquired in the last adjustment period;
wherein, the information related to terminal data transmission comprises: the data transmission method comprises the steps of carrying out transmission of the effective data transmission ratio of the data packets, wherein the effective data transmission ratio is used for representing the proportion of effective VoIP data carried in the data packets correctly received by the terminal to total received data.
In this manner, the second processing module 32 is specifically configured to: judging that the SPS resource used by the terminal does not need to be adjusted when the absolute value of the difference value between the information related to the terminal data transmission acquired in the adjustment period and the information related to the terminal data transmission acquired in the last adjustment period is not greater than the threshold corresponding to the information related to the terminal data transmission; or when the absolute value of the difference value between the information related to the terminal data transmission acquired in the current adjustment period and the information related to the terminal data transmission acquired in the last adjustment period is greater than the threshold corresponding to the information related to the terminal data transmission, determining that the SPS resource used by the terminal needs to be adjusted.
In this manner, if the information related to the terminal data transmission is a BLER of a bearer used for transmitting the VoIP service of the terminal, the third processing module 33 is specifically configured to:
when the difference value obtained by subtracting the BLER obtained in the last adjustment period from the BLER obtained in the present adjustment period is larger than the threshold value corresponding to the set BLER, determining to increase the number of Physical Resource Blocks (PRBs) distributed by SPS resources used by the terminal and to reduce the MCS level of the SPS resources used by the terminal at present; or when the difference value obtained by subtracting the BLER obtained in the previous adjustment period from the BLER obtained in the previous adjustment period is larger than the threshold corresponding to the set BLER, determining to reduce the number of PRBs allocated to the SPS resources used by the terminal and increasing the MCS level of the SPS resources currently used by the terminal.
In this manner, if the information related to the terminal data transmission is data transmission spectrum efficiency of a bearer used for transmitting the VoIP service of the terminal, the third processing module 33 is specifically configured to:
when the difference value obtained by subtracting the spectrum efficiency obtained in the last adjustment period from the spectrum efficiency obtained in the adjustment period is larger than the threshold corresponding to the set spectrum efficiency, determining the number of PRBs (resource blocks) distributed by SPS resources used by the terminal, and increasing the MCS level of the SPS resources currently used by the terminal; or when the difference obtained by subtracting the spectrum efficiency obtained in the previous adjustment period from the spectrum efficiency obtained in the previous adjustment period is larger than the threshold corresponding to the set spectrum efficiency, determining to increase the number of PRBs allocated to the SPS resources used by the terminal and to adjust the MCS level of the SPS resources currently used by the terminal downward.
In this manner, if the information related to the terminal data transmission is the effective data transmission ratio of the terminal, the third processing module 33 is specifically configured to:
when the difference value obtained by subtracting the effective data transmission rate obtained in the last adjustment period from the effective data transmission rate obtained in the adjustment period is larger than the threshold corresponding to the set effective data transmission rate, determining to reduce the number of PRBs allocated to SPS resources used by the terminal and increasing the MCS level of the SPS resources currently used by the terminal; or, when the difference obtained by subtracting the effective data transmission rate obtained in the previous adjustment period from the effective data transmission rate obtained in the previous adjustment period is greater than the threshold corresponding to the set effective data transmission rate, determining to increase the number of PRBs allocated to SPS resources used by the terminal and to adjust the MCS level of the SPS resources currently used by the terminal downward.
In this manner, the second processing module 32 is specifically configured to: if the judgment result obtained according to the BLER of the bearer for transmitting the VoIP service of the terminal is different from the judgment result of the data transmission spectrum efficiency of the bearer for transmitting the VoIP service of the terminal and/or the judgment result of the effective data transmission ratio of the terminal, taking the judgment result obtained according to the BLER of the bearer for transmitting the VoIP service of the terminal as a final judgment result; or, if the determination result of the data transmission spectrum efficiency according to the bearer for transmitting the VoIP service of the terminal is different from the determination result of the effective data transmission ratio according to the terminal, taking the determination result of the data transmission spectrum efficiency according to the bearer for transmitting the VoIP service of the terminal as a final determination result.
Based on the above two implementation manners, the second processing module 32 is further configured to: and if the judgment result obtained according to the channel quality information of the terminal is different from the judgment result obtained according to the information related to the data transmission of the terminal, taking the judgment result obtained according to the channel quality information of the terminal as a final judgment result.
Based on any of the above embodiments, the third processing module 33 is further configured to: and when determining that the SPS resources used by the terminal need to be adjusted, adjusting the SPS resources used by the terminal according to the voice coding rate of the VoIP service transmitted by the terminal.
Based on any embodiment above, the apparatus further comprises: an SPS resource initial configuration module 30, configured to determine, according to a speech coding rate of the VoIP service transmitted by the terminal, an SPS resource initially used by the terminal for transmitting the VoIP service.
Based on the above two embodiments, the third processing module 33 or the SPS resource initial configuration module 30 determines the speech coding rate of the VoIP service transmitted by the terminal according to the following manner:
determining a voice coding rate of the VoIP service transmitted by the terminal according to a maximum bit rate MBR parameter corresponding to a bearer used for transmitting the VoIP service of the terminal, which is specifically referred to in the first manner; and/or determining the voice coding rate of the VoIP service transmitted by the terminal according to the monitored size of the data packet of the uplink VoIP service and/or the downlink VoIP service of the terminal, which is specifically referred to in the above-mentioned mode two.
Further, the third processing module 33 or the SPS resource initial configuration module 30 determines, according to the monitored size of the data packet of the uplink VoIP service and/or the downlink VoIP service of the terminal, a voice coding rate of the VoIP service transmitted by the terminal, including:
in a set monitoring period, when the monitored size of a data packet of the uplink VoIP service and/or the downlink VoIP service of the terminal is smaller than a set threshold value, adding 1 to a first counter for counting AMR-NB; and/or when the monitored size of the data packet of the uplink VoIP service and/or the downlink VoIP service of the terminal is not smaller than the threshold value, adding 1 to a second counter for counting AMR-WB; in the monitoring period, if the value of the first counter is not less than a set threshold value, determining that the voice coding rate of the VoIP service transmitted by the terminal is AMR-NB; or, if the value of the second counter is not less than the set threshold, determining that the voice coding rate of the VoIP service transmitted by the terminal is AMR-WB.
Further, the third processing module 33 or the SPS resource initial configuration module 30 determines, according to the monitored size of the data packet of the VoIP service of the terminal, a speech coding rate of the VoIP service transmitted by the terminal, including: if the value of the first counter is smaller than the threshold value and the value of the second counter is smaller than the threshold value in the monitoring period, after the monitoring period is finished, the voice coding rate of the VoIP service transmitted by the terminal is determined according to the value of the first counter and the value of the second counter.
Further, after the monitoring period is ended, the third processing module 33 or the SPS resource initial configuration module 30 determines, according to the value of the first counter and the value of the second counter, a voice coding rate of the VoIP service transmitted by the terminal, including: if the value of the first counter is greater than the value of the second counter, determining that the voice coding rate of the VoIP service transmitted by the terminal is AMR-NB; or, if the value of the first counter is not greater than the value of the second counter, determining that the voice coding rate of the VoIP service transmitted by the terminal is AMR-WB.
Based on the above manner, the third processing module 33 or the SPS resource initial configuration module 30 determines the voice coding rate of the VoIP service transmitted by the terminal according to the MBR parameter corresponding to the bearer used for transmitting the VoIP service of the terminal and the size of the received data packet of the VoIP service of the terminal, and further includes: if the voice coding rate of the VoIP service transmitted by the terminal determined according to the MBR parameter corresponding to the bearer for transmitting the VoIP service of the terminal is different from the voice coding rate of the VoIP service transmitted by the terminal determined according to the size of the data packet of the received VoIP service of the terminal, the voice coding rate of the VoIP service transmitted by the terminal determined according to the MBR parameter corresponding to the bearer for transmitting the VoIP service of the terminal is used as the final voice coding rate of the VoIP service transmitted by the terminal.
The structure and processing method of the base station according to the embodiment of the present invention will be described below with reference to a preferred hardware structure. Referring to fig. 4, the base station comprises a transceiver 41, and at least one processor 42 connected to the transceiver 41, wherein:
the processor 42 is configured for: for each terminal transmitting VoIP service, after SPS resources used by the terminal for transmitting the VoIP service are activated, acquiring channel quality information of the terminal and/or information related to data transmission of the terminal in each set adjustment period; after each adjustment period is finished, judging whether SPS resources used by the terminal need to be adjusted or not according to the channel quality information of the terminal and/or information related to data transmission of the terminal; and adjusting the SPS resources used by the terminal when judging that the SPS resources used by the terminal need to be adjusted.
The transceiver 41 is configured to: and informing the terminal of the SPS resources adjusted by the processor 42 for each terminal transmitting the VoIP service.
The base station provided by the embodiment of the invention can flexibly adjust the SPS resources used by the terminal in the activation period of the SPS resources allocated by the terminal, thereby improving the user experience and increasing the user capacity.
In implementation, as a preferred implementation, the processor 42 is configured specifically to: starting a timer for adjusting SPS resources after the SPS resources used by a terminal for transmitting VoIP service are activated, and acquiring channel quality information of the terminal and/or information related to data transmission of the terminal during the timing period of the timer; and when the timer is overtime, judging whether the SPS resources used by the terminal need to be adjusted according to the channel quality information of the terminal and/or the information related to the data transmission of the terminal.
Further, the processor 42 is also configured for: and after judging that the SPS resources used by the terminal do not need to be adjusted or the adjustment of the SPS resources used by the terminal is completed, starting the timer again, and acquiring the channel quality information of the terminal and/or the information related to the data transmission of the terminal during the timing period of the timer.
Embodiments of the present invention are not limited to the preferred implementation described above, and the processor 42 may also be implemented in other ways, for example, the processor 42 is configured to: for each terminal transmitting the VoIP service, starting from the activation time of the SPS resource after the last adjustment (if the current is the first adjustment, the SPS resource is activated for the first time), acquiring the channel quality information of the terminal and/or the information related to the data transmission of the terminal; and judging whether the SPS resources used by the terminal need to be adjusted or not according to the acquired channel quality information of the terminal and/or information related to data transmission of the terminal after the difference value between the current time and the activation time of the SPS resources adjusted last time by the terminal is larger than the set timestamp.
In implementation, as a first implementation manner (see, specifically, manner 1 above), the processor 42 is configured to: acquiring an MCS level corresponding to Channel Quality Indicator (CQI) information reported by the terminal in each set adjustment period; and after each adjustment period is finished, judging whether the SPS resources used by the terminal need to be adjusted or not according to the obtained MCS level and the MCS level of the SPS resources allocated to the terminal.
In this manner, the processor 42 is configured specifically to: when the absolute value of the difference value between the obtained MCS level and the MCS level of the SPS resource allocated to the terminal is not greater than the set offset, judging that the SPS resource used by the terminal does not need to be adjusted; or when the absolute value of the difference value between the obtained MCS level and the MCS level of the SPS resource allocated to the terminal is greater than the set offset, judging that the SPS resource used by the terminal needs to be adjusted.
In this manner, the processor 42 is configured specifically to: when the difference value obtained by subtracting the MCS level of the SPS resources distributed by the terminal from the obtained MCS level is larger than the offset, determining to reduce the number of PRBs (physical resource blocks) distributed by the SPS resources used by the terminal; or when the difference value obtained by subtracting the obtained MCS level from the MCS level of the SPS resources allocated by the terminal is larger than the offset, determining to increase the number of the Physical Resource Blocks (PRBs) allocated by the SPS resources used by the terminal.
As a second implementation manner (see, in particular, manner 2 above), based on any of the above embodiments, the processor 42 is further configured to: after each adjustment period is finished, judging whether SPS resources used by the terminal need to be adjusted or not according to the information related to the terminal data transmission acquired in the adjustment period and the information related to the terminal data transmission acquired in the last adjustment period;
wherein, the information related to terminal data transmission comprises: the data transmission method comprises the steps of carrying out transmission of the effective data transmission ratio of the data packets, wherein the effective data transmission ratio is used for representing the proportion of effective VoIP data carried in the data packets correctly received by the terminal to total received data.
In this manner, the processor 42 is configured specifically to: judging that the SPS resource used by the terminal does not need to be adjusted when the absolute value of the difference value between the information related to the terminal data transmission acquired in the adjustment period and the information related to the terminal data transmission acquired in the last adjustment period is not greater than the threshold corresponding to the information related to the terminal data transmission; or when the absolute value of the difference value between the information related to the terminal data transmission acquired in the current adjustment period and the information related to the terminal data transmission acquired in the last adjustment period is greater than the threshold corresponding to the information related to the terminal data transmission, determining that the SPS resource used by the terminal needs to be adjusted.
In this manner, if the information related to the terminal data transmission is a BLER of a bearer used for transmitting the VoIP service of the terminal, the processor 42 is configured to specifically:
when the difference value obtained by subtracting the BLER obtained in the last adjustment period from the BLER obtained in the adjustment period is larger than the threshold value corresponding to the set BLER, determining to increase the number of PRBs allocated to SPS resources used by the terminal and adjusting the MCS level of the SPS resources used by the terminal at present; or when the difference value obtained by subtracting the BLER obtained in the previous adjustment period from the BLER obtained in the previous adjustment period is larger than the threshold corresponding to the set BLER, determining to reduce the number of PRBs allocated to the SPS resources used by the terminal and increasing the MCS level of the SPS resources currently used by the terminal.
In this manner, if the information related to the terminal data transmission is data transmission spectrum efficiency of a bearer used for transmitting the VoIP service of the terminal, the processor 42 is configured to specifically:
when the difference value obtained by subtracting the spectrum efficiency obtained in the last adjustment period from the spectrum efficiency obtained in the adjustment period is larger than the threshold corresponding to the set spectrum efficiency, determining the number of PRBs (resource blocks) distributed by SPS resources used by the terminal, and increasing the MCS level of the SPS resources currently used by the terminal; or when the difference obtained by subtracting the spectrum efficiency obtained in the previous adjustment period from the spectrum efficiency obtained in the previous adjustment period is larger than the threshold corresponding to the set spectrum efficiency, determining to increase the number of PRBs allocated to the SPS resources used by the terminal and to adjust the MCS level of the SPS resources currently used by the terminal downward.
In this manner, if the information related to the terminal data transmission is the effective data transmission ratio of the terminal, the processor 42 is configured to specifically:
when the difference value obtained by subtracting the effective data transmission rate obtained in the last adjustment period from the effective data transmission rate obtained in the adjustment period is larger than the threshold corresponding to the set effective data transmission rate, determining to reduce the number of PRBs allocated to SPS resources used by the terminal and increasing the MCS level of the SPS resources currently used by the terminal; or, when the difference obtained by subtracting the effective data transmission rate obtained in the previous adjustment period from the effective data transmission rate obtained in the previous adjustment period is greater than the threshold corresponding to the set effective data transmission rate, determining to increase the number of PRBs allocated to SPS resources used by the terminal and to adjust the MCS level of the SPS resources currently used by the terminal downward.
In this manner, the processor 42 is configured specifically to: if the judgment result obtained according to the BLER of the bearer for transmitting the VoIP service of the terminal is different from the judgment result of the spectral efficiency of data transmission according to the bearer for transmitting the VoIP service of the terminal and/or the judgment result of the effective data transmission ratio of the terminal, taking the judgment result obtained according to the BLER of the bearer for transmitting the VoIP service of the terminal as a final judgment result; or,
and if the judgment result of the data transmission spectrum efficiency according to the bearer for transmitting the VoIP service of the terminal is different from the judgment result of the effective data transmission ratio according to the terminal, taking the judgment result of the data transmission spectrum efficiency according to the bearer for transmitting the VoIP service of the terminal as a final judgment result.
Based on the above two implementations, the processor 42 is further configured to: and if the judgment result obtained according to the channel quality information of the terminal is different from the judgment result obtained according to the information related to the data transmission of the terminal, taking the judgment result obtained according to the channel quality information of the terminal as a final judgment result.
Based on any of the above embodiments, the processor 42 is further configured to: and when determining that the SPS resources used by the terminal need to be adjusted, adjusting the SPS resources used by the terminal according to the voice coding rate of the VoIP service transmitted by the terminal.
Based on any of the above embodiments, the processor 42 is further configured to: and determining SPS resources initially used by the terminal for transmitting the VoIP service according to the voice coding rate of the VoIP service transmitted by the terminal.
Based on the two embodiments described above, the processor 42 is configured specifically to: determining a voice coding rate of the VoIP service transmitted by the terminal according to a maximum bit rate MBR parameter corresponding to a bearer used for transmitting the VoIP service of the terminal, which is specifically referred to in the first manner; and/or determining the voice coding rate of the VoIP service transmitted by the terminal according to the monitored size of the data packet of the uplink VoIP service and/or the downlink VoIP service of the terminal, which is specifically referred to in the above-mentioned mode two.
Further, the processor 42 is configured specifically for: in a set monitoring period, when the size of a monitored data packet of an uplink VoIP service and/or a downlink VoIP service of a terminal is smaller than a set threshold value, adding 1 to a first counter for counting AMR-NB; and/or when the monitored size of the data packet of the uplink VoIP service and/or the downlink VoIP service of the terminal is not smaller than a set threshold value, adding 1 to a second counter for counting AMR-WB; in a monitoring period, if the value of the first counter is not less than a set threshold value, determining that the voice coding rate of the VoIP service transmitted by the terminal is AMR-NB; or, if the value of the second counter is not less than the set threshold, determining that the voice coding rate of the VoIP service transmitted by the terminal is AMR-WB.
Further, the processor 42 is configured specifically for: if the value of the first counter is smaller than the threshold value and the value of the second counter is smaller than the threshold value in the monitoring period, after the monitoring period is finished, the voice coding rate of the VoIP service transmitted by the terminal is determined according to the value of the first counter and the value of the second counter.
Further, the processor 42 is configured specifically for: if the value of the first counter is greater than the value of the second counter, determining that the voice coding rate of the VoIP service transmitted by the terminal is AMR-NB; or, if the value of the first counter is not greater than the value of the second counter, determining that the voice coding rate of the VoIP service transmitted by the terminal is AMR-WB.
In the above manner, the processor 42 is further configured to: if the voice coding rate of the VoIP service transmitted by the terminal determined according to the MBR parameter corresponding to the bearer for transmitting the VoIP service of the terminal is different from the voice coding rate of the VoIP service transmitted by the terminal determined according to the size of the received data packet of the VoIP service of the terminal, the voice coding rate of the VoIP service transmitted by the terminal determined according to the MBR parameter corresponding to the bearer for transmitting the VoIP service of the terminal is used as the final voice coding rate of the VoIP service transmitted by the terminal.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.