Disclosure of Invention
Aiming at the problem that the HSDPA service quality and the R99 service quality cannot be considered simultaneously in the related technology, the invention provides a code resource allocation method, which can determine the number of code words needing to be allocated to the HSPDA service in limited resources on the premise of considering both the service quality and the service quality simultaneously, so that the quality of both the R99 service and the HSDPA service is optimal.
Aiming at the problem that the HSDPA service quality and the R99 service quality cannot be considered simultaneously in the related technology, the invention also provides a wireless network controller which can determine the number of code words needing to be allocated to the HSPDA service in limited resources on the premise of considering both the service quality and the service quality simultaneously, so that the quality of the R99 service and the HSDPA service is optimal.
The technical scheme of the invention is realized as follows:
a method of code resource allocation, comprising:
a radio network controller determines a codeword weight required by rate guarantee in a cell and a codeword weight required by non-guaranteed rate, wherein the codeword weight required by the rate guarantee refers to a codeword weight required by the rate guarantee of a first service and a codeword weight corresponding to a channel required by the rate guarantee of a second service, and the codeword weight required by the non-guaranteed rate refers to a codeword weight required by the non-guaranteed rate of the first service and a codeword weight corresponding to a channel required by the non-guaranteed rate of the second service;
the wireless network controller determines the channel balance number of the second service according to the code weight value required by the guaranteed rate or according to the code weight value required by the guaranteed rate and the code weight value required by the non-guaranteed rate;
and the wireless network controller adjusts the number of the high-speed physical downlink shared channels of the second service according to the channel balance number.
Preferably, the operation of the radio network controller adjusting the number of the high speed physical downlink shared channels of the second service according to the channel balance number is:
if the channel balance number is larger than the number of the established high-speed physical downlink shared channels in the cell, allocating idle code words in the cell to the second service;
and if the channel balance number is less than or equal to the number of the established high-speed physical downlink shared channels in the cell, allocating idle code words in the cell to the first service.
Wherein, the process of determining the channel balance number of the second service according to the codeword weight required by the guaranteed rate specifically includes:
and if the guaranteed rates of all the second services in the cell are equal to the maximum rate, determining the channel balance number of the second services according to the code word weight value corresponding to the channel required by the guaranteed rate of the second services in the guaranteed rate part.
Wherein, the operation of determining the channel balance number of the second service according to the codeword weight required by the guaranteed rate comprises:
and determining the number of the high-speed physical downlink shared channels required by the code word weight corresponding to the sum of the guaranteed rates of all the second services in the cell as the channel balance number of the second services.
Wherein, the processing for determining the channel balance number of the second service according to the codeword weight required by the guaranteed rate and the codeword weight required by the non-guaranteed rate specifically includes:
and if the guaranteed rate of any second service in the cell is not equal to the maximum rate, determining the channel balance number of the second service according to the code word weight value required by the guaranteed rate and the code word weight value required by the non-guaranteed rate.
Preferably, the codeword weight non gbrcodeweight required for the non-guaranteed rate is determined using the following formula:
non GBRCodeWeight-ComCodeWeight- (GBRCodeWeight1+ GBRCodeWeight2), where CodeWeight represents a codeword weight corresponding to a total codeword of a cell, ComCodeWeight represents a sum of codeword weights corresponding to all channels in the cell except for a high speed physical downlink shared channel and a DPCH, (GBRCodeWeight1+ GBRCodeWeight2) represents a codeword weight required for the guaranteed rate, GBRCodeWeight1 represents a codeword weight corresponding to a codeword required for the guaranteed rate of all first services in the cell, and GBRCodeWeight2 represents a codeword weight required for the guaranteed rate of all second services in the cell.
Preferably, the code word weight value non gbrcodeweight2 corresponding to the channel required by the guaranteed rate of the second service in the cell is determined according to the following formula:
non gbrcodeweight2 ═ non gbrcodeweight × k × dpaum 2/(dpaum 2+ Num1), where dpaum 2 represents the number of second services in the cell whose maximum rate is greater than the guaranteed rate, Num1 represents the number of first services in the cell whose maximum rate is greater than the guaranteed rate, k is the compensation coefficient of the first services, and 0< k < > 1.
Preferably, the channel balance number BalNum of the second service is determined according to the following formula:
BalNum ═ ceil (dpacodebight/32), where dpacodebight ═ nobgbrcodewedight 2+ gbrcodewedight 2, nobgbrcodewedight 2 represents the codeword weight corresponding to the channel required by the non-guaranteed rate of the second service in the cell, gbrcodewedght 2 represents the codeword weight corresponding to the codeword required by the sum of the guaranteed rates of all the second services in the cell, and ceil () represents rounding up.
Preferably, the codeword weight non gbrcodeweight1 required for the non-guaranteed rate of the first traffic in the cell is determined according to the following formula:
NonGBRCodeWeight1=NonGBRCodeWeight-NonGBRCodeWeight2。
preferably, the codeword weight value non gbrcodeweight1 required for non-GBR of the first traffic is greater than <math>
<mrow>
<mrow>
<mo>(</mo>
<munderover>
<mi>Σ</mi>
<mn>1</mn>
<mrow>
<mi>Num</mi>
<mn>1</mn>
</mrow>
</munderover>
<mi>MaxCodeWeigh</mi>
<msub>
<mi>t</mi>
<mi>i</mi>
</msub>
<mo>)</mo>
</mrow>
<mo>-</mo>
<mi>GBRCodeWeight</mi>
<msup>
<mn>1</mn>
<mo>′</mo>
</msup>
</mrow>
</math> In case of (2), change NonGBRCodeWeight1 to <math>
<mrow>
<mrow>
<mo>(</mo>
<munderover>
<mi>Σ</mi>
<mn>1</mn>
<mrow>
<mi>Num</mi>
<mn>1</mn>
</mrow>
</munderover>
<mi>MaxCodeWeigh</mi>
<msub>
<mi>t</mi>
<mi>i</mi>
</msub>
<mo>)</mo>
</mrow>
<mo>-</mo>
<mi>GBRCodeWeight</mi>
<msup>
<mn>1</mn>
<mo>′</mo>
</msup>
<mo>,</mo>
</mrow>
</math> Wherein, MaxCodeWeighti=min(CodeWeightForMBRi128), wherein codeweiightformbriAnd the gbrcodebight 1' represents the codeword weight value corresponding to the sum of the guaranteed rates of all first services with the maximum rate greater than the guaranteed rate in the cell and the required codeword.
Preferably, the codeword weight value non gbrcodeweight 2' required for the non-guaranteed rate of the second service is re-determined according to the following formula:
<math>
<mrow>
<mi>NonGBRCodeWeight</mi>
<msup>
<mn>2</mn>
<mo>,</mo>
</msup>
<mo>=</mo>
<mi>NonGBRCodeWeight</mi>
<mo>-</mo>
<mrow>
<mo>(</mo>
<munderover>
<mi>Σ</mi>
<mn>1</mn>
<mrow>
<mi>Num</mi>
<mn>1</mn>
</mrow>
</munderover>
<mi>MaxCodeWeigh</mi>
<msub>
<mi>t</mi>
<mi>i</mi>
</msub>
<mo>)</mo>
</mrow>
<mo>+</mo>
</mrow>
</math>
<math>
<mrow>
<msup>
<mrow>
<mi>GBRCodeWeight</mi>
<mn>1</mn>
</mrow>
<mo>′</mo>
</msup>
<mo>.</mo>
</mrow>
</math>
preferably, the channel balance number BalNum' of the second service is re-determined according to the following formula:
BalNum 'ceil (DpaCodeWeight/32), wherein DpaCodeWeight 2' + gbrcodeweweight 2.
If the radio network controller detects that the codeword weight corresponding to the current idle codeword of the cell is smaller than a preset first codeword weight threshold or the radio network controller applies for a new codeword for the first service, the operation of the radio network controller allocating the idle codewords in the cell according to the channel balance number and the number of high-speed physical downlink shared channels in the cell is as follows:
if the number of the established high-speed physical downlink shared channels in the cell is greater than the channel balance number, reducing the number of the established high-speed physical downlink shared channels;
if the number of the established high-speed physical downlink shared channels in the cell is less than or equal to the channel balance number, keeping the number of the established high-speed physical downlink shared channels unchanged;
wherein the first codeword weight threshold is a codeword weight margin threshold of the first service.
Further, still include:
the wireless network controller periodically detects the current idle code word of the cell; or,
and after the wireless network controller allocates the code words for the first service, detecting the current idle code words of the cell.
If the radio network controller applies for a new codeword for the first service and the current idle codeword of the cell is smaller than the new codeword, the operation of the radio network controller to allocate the idle codeword in the cell according to the channel balance number and the number of high-speed physical downlink shared channels in the cell is as follows:
if the number of the established high-speed physical downlink shared channels in the cell is greater than the channel balance number, reducing the number of the established high-speed physical downlink shared channels;
if the number of the established high-speed physical downlink shared channels in the cell is less than or equal to the channel balance number, keeping the number of the established high-speed physical downlink shared channels unchanged;
wherein the first codeword weight threshold is a codeword weight margin threshold of the first service.
Wherein, still include:
and if the number of the established high-speed physical downlink shared channels in the cell is less than the maximum threshold of the number of the high-speed physical downlink shared channels, and the current idle code word in the cell is less than a preset first code word weight threshold, increasing the number of the high-speed physical downlink shared channels in the cell.
The operation of the radio network controller for allocating the idle code words in the cell according to the channel balance number and the number of the high-speed physical downlink shared channels in the cell is as follows:
if the number of the increased high-speed physical downlink shared channels is larger than the channel balance number, keeping the number of the current high-speed physical downlink shared channels unchanged;
and if the number of the increased high-speed physical downlink shared channels is less than or equal to the balance number of the channels, triggering the first service to reduce the speed.
Further, still include:
and if the number of the established high-speed physical downlink shared channels in the cell is less than the maximum threshold of the number of the high-speed physical downlink shared channels, and the current idle code word in the cell is less than a preset second code word threshold, triggering the operation of establishing a new high-speed physical downlink shared channel by the wireless network controller.
Wherein, if the operation of establishing a new high speed physical downlink shared channel fails, the operation of the radio network controller allocating the idle code words in the cell according to the channel balance number and the number of the high speed physical downlink shared channels in the cell is as follows:
if the number of the established high-speed physical downlink shared channels is larger than the balance number of the channels, keeping the number of the current high-speed physical downlink shared channels unchanged;
and if the number of the established high-speed physical downlink shared channels is less than or equal to the balance number of the channels, triggering the first service to reduce the speed.
Wherein, the operation failure of establishing the new high-speed physical downlink shared channel refers to: the code words required by the new high speed physical downlink shared channel are blocked.
Preferably, the first service is a service for transmitting data by using a downlink dedicated physical channel, and the second service is a service for transmitting data by using a high-speed physical downlink shared channel.
A radio network controller is used for executing the method.
By means of the technical scheme, the channel balance number of the high-speed downlink packet access service is determined according to the code word weight value required under the conditions of the respective guaranteed rate and non-guaranteed rate of the R99 service and the HSDPA service, the number of the high-speed physical downlink shared channels of the high-speed downlink packet access service is further adjusted, the number of the code words required to be allocated to the HSPDA service in the limited resources can be determined according to the rate requirements of the R99 service and the HSDPA service on the premise of simultaneously considering the service quality of the R99 service and the HSDPA service, so that the quality of the R99 service and the HSDPA service is optimal, and the problem that the quality of the R99 service and the quality of the HSDPA service are difficultly considered in.
Detailed Description
With the increasingly sophisticated and wide application of High Speed Downlink Packet Access (HSDPA), it is necessary to consider how to obtain satisfactory effects of both HSDPA service and conventional R99 service while achieving normal communications of users. At present, when a cell allocates codewords for an R99 service and an HSDPA service, it will preferentially allocate codewords for the R99 service and allocate the remaining codewords to the HSDPA service, but if the R99 service needs more codewords, the HSDPA service will idle the codewords allocated to the service, and the cell will allocate the codewords idle by the HSDPA service to the R99 service, so as to meet the needs of the R99 service and ensure that the R99 service can operate normally, but this will result in a lower quality of the HSDPA service. Therefore, it is necessary to find a method for optimally configuring the number of High Speed Physical Downlink Shared channels (HS-PDSCHs) so that both the R99 service and the HSDPA service can obtain better services. Based on this, the invention provides a code resource allocation method, which determines the balance number of HS-PDSCH channels according to the channel statistics in a cell and adjusts the actual number of the HS-PDSCH channels according to the balance number.
Fig. 1 is a flowchart of steps of a code resource allocation method according to an embodiment of the present invention, as shown in fig. 1, including the following processes:
step S101, a radio Network Controller (WNC) determines a codeword weight required by a guaranteed rate in a cell and a codeword weight required by an unsecured rate, where the codeword weight required by the guaranteed rate refers to a codeword weight required by a guaranteed rate of a first service and a codeword weight corresponding to a channel required by a guaranteed rate of a second service, and the codeword weight required by the unsecured rate refers to a codeword weight required by an unsecured rate of the first service and a codeword weight corresponding to a channel required by an unsecured rate of the second service;
step S103, WNC determines the channel balance number of the second service according to the code weight value required by the guaranteed rate, or according to the code weight value required by the guaranteed rate and the code weight value required by the non-guaranteed rate;
step S105, WNC allocates idle code words in the cell according to the number of channel balance and the number of high-speed physical downlink shared channels in the cell, specifically, if the number of channel balance is greater than the number of high-speed physical downlink shared channels already established in the cell, the idle code words in the cell are allocated to a second service; and if the channel balance number is less than or equal to the number of the established high-speed physical downlink shared channels in the cell, allocating idle code words in the cell to the first service.
The invention determines the balancing number of HS-PDSCH channels according to the proportion of the number of the first services to the number of the second services in a cell, when the number of the HS-PDSCH channels is less than the balancing number, and the number of the HS-PDSCH channels needs to be increased, the HS-PDSCH channels can have higher priority to use idle code words than a downlink Dedicated Physical Channel (DPCH), and when the number of the HS-PDSCH channels exceeds the balancing number, the downlink DPCH channels have higher priority to use the idle code words.
For better explanation of the present invention, the first service is R99 service, and the second service is HSDPA service, and those skilled in the art will understand that the present invention can be implemented for other services that use DPCH channel to transmit data, and other services that use HS-PDSCH channel to transmit data.
The method shown in fig. 1 is described in detail below with reference to fig. 2.
Fig. 2 is a flowchart of a process of determining the balance number of HS-PDSCH channels according to an embodiment of the present invention, and as shown in fig. 2, the processing specifically includes:
step S201, statistics is performed on the following data:
firstly, counting the sum of the corresponding code word weights of all channels except HS-PDSCH channel and DPCH in the cell. For example, the following codeword weights ComCodeWeight used by each channel are counted respectively: a Primary Common Pilot Channel (P-CPICH for short), a Primary Common Control Physical Channel (S-CCPCH for short), a Secondary Common Control Physical Channel (AICH for short), a paging Indicator Channel (PICH for short), an Acquisition Indicator Channel (AICH for short), a HS-PDSCH Shared Control Channel (Shared Control Channel for HS-DSCH for short, HS-SCCH for short), a Fractional Dedicated Physical Channel (F-DPCH for short), an enhanced DCH Absolute Grant Channel (E-DCH Absolute Grant retransmission Channel, E-AGCH for short), an enhanced Relative Grant Channel (E-DCH for short, enhanced Relative Grant Channel (ARQ-Channel for short), an enhanced automatic request Channel (ARQ-RGCH for short), abbreviated as E-HGCH). The codeword weight value represents the number of codewords with spreading factor SF512 on the same code tree branch as the codeword, for example, a codeword with spreading factor a may have a weight value of 512/a. And counting the code word weights corresponding to all channels except the HS-PDSCH channel and the DPCH in the cell.
Secondly, each R99 service has a corresponding Maximum Rate (Maximum Bit Rate, abbreviated as MBR) and Guaranteed Rate (Guaranteed Bit Rate, abbreviated as GBR), and the sum of the code word weights already used by all R99 services with MBR equal to GBR in a cell is counted to be R99GBRCodeWeight 1.
Thirdly, counting the number R99Num of R99 services with MBR larger than GBR in a cell, and calculating code words needed by GBR of the R99 services according to a method specified in 3GPP25.212 protocol, and the sum of the weight values of the code words R99GBRCodeWeight 2.
Fourthly, counting the number HsdpaNum of HSDPA services with MBR larger than GBR in the cell.
Counting the sum of the GBRs of all HSDPA services in the cell, and calculating the number of HS-PDSCH channels required by the HsGBRSum and the sum of the weights of SF16 code words used by the HS-PDSCH channels, namely HsGBRCodeWeight, wherein the method for calculating the number of the HS-PDSCH channels required by the HsGBRSum can use the existing method in the prior art, and is not described herein again.
Step S202, according to the statistical result of step S201, judging whether R99Num and HsdpaNum are both 0, if yes, entering step S203, otherwise, entering step S204.
Step S203, if the hsdparn is 0, let the channel balance number HsBalNum of the HS-PDSCH channel equal to HsNumforGBR, and the procedure is ended.
Step S204, subtracting the sum of the codeword weights corresponding to all channels except the HS-PDSCH channel and the DPCH from the total weight of all codewords in the cell, and then subtracting the weight of the codeword required by the GBR rate of R99 and the HSDPA service to obtain the codeword weight non-gbrcodebight that can be used by the non-gbrcodebight of all R99 services and HSDPA services, that is, non-gbrcodebight 512-R99 gbrcodebight 1-R99 gbrcodebight 2-hsgbrcodebight.
Step S205, determining the code word weight HsNonGBRCodeWeight which can be used by the non-GBR rate of the HSDPA service according to the R99Num and the HsdpaNum: for example, hsnobgbrcodebight ═ nobgbrcodebight × k × HsdpaNum/(HsdpaNum + R99 Num).
Wherein k is a compensation coefficient of R99 service, and k is more than 0 and less than 1. Generally, when both the R99 service and the HSDPA service use SF16 codewords, the HSDPA service has higher throughput than the R99 service, and therefore, the compensation coefficient k may be set, so that the codeword weight assignment of the HSDPA service and the R99 service is more balanced.
Step S206, determining the non-GBR rate of the R99 service to make available a codeword weight value R99 non-gbrcodeweight, where R99 non-gbrcodeweight-non-gbrcodeweight.
Step S205 and step S206 determine that the non-GRB rates of the HSDPA service and the R99 service make available codeword weights, and then the available codeword weights may be adjusted according to the actual application for the non-GRB rates of the two services, where the specific adjustment process is step S207 to step S212.
In step S207, generally, the actual rate of the single R99 service does not exceed its MBR, because the rate size and the codeword corresponding to the rateThe spreading factor of the code word is inversely proportional to the codeword weight, so that the spreading factor of the codeword corresponding to the actual rate is equal to or greater than the spreading factor SFforMBR of the codeword corresponding to the MBR, the codeword weight of the codeword corresponding to the actual rate is equal to or less than the codeword weight CodeWeightforMBR of the codeword corresponding to the MBR, and the minimum spreading factor of the downlink dedicated physical channel allowed by the protocol is 4 (the codeword weight is 128). Therefore, the weight value of the codeword used by the single R99 service does not exceed the smaller value between codeweight mbr and 128, i.e., R99MaxCodeWeighti=min(CodeWeightForMBRi,128)。
Step S208, for all R99 services with MBR larger than GBR, calculating CodeWeightformMBRi and R99 MaxCoxComdeWeiighti of each R99 service, wherein i is 1-R99 Num.
Step S209, determine whether R99NonGBRCodeWeight is greater than <math>
<mrow>
<mrow>
<mo>(</mo>
<munderover>
<mi>Σ</mi>
<mn>1</mn>
<mrow>
<mi>R</mi>
<mn>99</mn>
<mi>Num</mi>
</mrow>
</munderover>
<mi>R</mi>
<mn>99</mn>
<mi>MaxCodeWeigh</mi>
<msub>
<mi>t</mi>
<mi>i</mi>
</msub>
<mo>)</mo>
</mrow>
<mo>-</mo>
<mi>R</mi>
<mn>99</mn>
<mi>GBRCodeWeight</mi>
<mn>2</mn>
<mo>,</mo>
</mrow>
</math> If the judgment result is yes, the process proceeds to step S210, otherwise, the process proceeds to step S211.
Step S210, if <math>
<mrow>
<mi>R</mi>
<mn>99</mn>
<mi>NonGBRCodeWeight</mi>
<mo>></mo>
<mrow>
<mo>(</mo>
<munderover>
<mi>Σ</mi>
<mn>1</mn>
<mrow>
<mi>R</mi>
<mn>99</mn>
<mi>Num</mi>
</mrow>
</munderover>
<mi>R</mi>
<mn>99</mn>
<mi>MaxCodeWeigh</mi>
<msub>
<mi>t</mi>
<mi>i</mi>
</msub>
<mo>)</mo>
</mrow>
<mo>-</mo>
<mi>R</mi>
<mn>99</mn>
<mi>GBRCodeWeight</mi>
<mn>2</mn>
<mo>,</mo>
</mrow>
</math> If the MBR is larger than the GBR, the R99 service is assigned excessive code weight values, and then the R99NonGBRCodeweight is assigned again to order
<math>
<mrow>
<mi>R</mi>
<mn>99</mn>
<mi>NonGBRCodeWeight</mi>
<mo>></mo>
<mrow>
<mo>(</mo>
<munderover>
<mi>Σ</mi>
<mn>1</mn>
<mrow>
<mi>R</mi>
<mn>99</mn>
<mi>Num</mi>
</mrow>
</munderover>
<mi>R</mi>
<mn>99</mn>
<mi>MaxCodeWeigh</mi>
<msub>
<mi>t</mi>
<mi>i</mi>
</msub>
<mo>)</mo>
</mrow>
<mo>-</mo>
<mi>R</mi>
<mn>99</mn>
<mi>GBRCodeWeight</mi>
<mn>2</mn>
<mo>,</mo>
</mrow>
</math>
And proceeds to step S212.
Step S211, if <math>
<mrow>
<mi>R</mi>
<mn>99</mn>
<mi>NonGBRCodeWeight</mi>
<mo>></mo>
<mrow>
<mo>(</mo>
<munderover>
<mi>Σ</mi>
<mn>1</mn>
<mrow>
<mi>R</mi>
<mn>99</mn>
<mi>Num</mi>
</mrow>
</munderover>
<mi>R</mi>
<mn>99</mn>
<mi>MaxCodeWeigh</mi>
<msub>
<mi>t</mi>
<mi>i</mi>
</msub>
<mo>)</mo>
</mrow>
<mo>-</mo>
<mi>R</mi>
<mn>99</mn>
<mi>GBRCodeWeight</mi>
<mn>2</mn>
<mo>,</mo>
</mrow>
</math> The value of R99 nobgbrcodebight is unchanged and the process proceeds to step S212.
Step S212, removing the codeword weight corresponding to the GRB rate of the R99 service from the codeword weight corresponding to the non-GRB rate, and allocating the remaining codeword weight to the codeword weight corresponding to the non-GBR of the HSDPA service, that is, hsnon-gbrcodeweight-R99 non-gbrcodeweight.
Step S213, the sum HsdpaCodeWeight of hsnobbrdecoweight and hsgbrcdecoweight represents the codeword weight that can be used by the HSDPA service, and reduces it to the number of SF16 codewords, i.e., the channel balance number of HS-PDSCH channels:
HsBalNum=ceil(HsdpaCodeWeight/32)
where ceil () represents rounding up.
Thus, according to the speed requirements of the R99 service and the HSDPA service, the number of code words needing to be allocated to the HSPDA service in the limited resources is determined on the premise of simultaneously considering the service quality of the two services, so that the quality of the R99 service and the quality of the HSDPA service are both optimal.
The following description is given with reference to specific examples to determine the channel balance number of the HS-PDSCH channel, assuming that the application scenario of the cell supporting the HSDPA is: the R99 service is: 2 AMR12.2kbps services, 4R 99 PS I/B services with 32kbps GBR/384 kbps MBR; the HSDPA service is as follows: 1 GBR and MBR are S type services of 700kbps, and 4 GBR are PS I/B type services of 32kbps/MBR of 2M; and, the code resource situation occupied by the downlink P-CPICH channel, P-CCPCH channel, AICH channel, PICH channel, S-CCPCH channel and HS-SCCH channel in the cell is shown in FIG. 3. According to the above scenario, the determination of the number of channel balances comprises the following processes:
step 1, counting the following data:
firstly, amr12.2kbps services are R99 services with the same MBR and GBR sizes, wherein 2 amr12.2kbps services require 2 spreading factor SF128 code words, the code word weight of each amr12.2kbps service is 512/128-4, and the sum of the code word weights of the two amr12.2kbps services is R99 gbrcodebight 1-4 + 4-8;
the GBRs of 4 services with GBR of 32kbps/MBR of 384kbps need 4 SF64 codewords, the codeword weight of each service is 512/64-8, and the sum of the codeword weights of the 4 services is R99 gbrcodebight 2-8 × 4-32;
thirdly, in order to satisfy the S-type service that 1 GBR and MBR are 700kbps, 1 HS-PDSCH channel is needed, and since the codeword spreading factor of the HS-PDSCH channel is SF16, the codeword weight of the HS-PDSCH channel is hsgbrcodebweight 512/16 ═ 32;
and fourthly, the sum of the weights corresponding to the code words occupied by the P-CPICH, the P-CCPCH, the AICH, the PICH, the S-CCPCH and the HS-SCCH channels is ComCodeWeight which is 24.
Through step 1, it is calculated that the code word weights that can be used by all R99 and HSDPA service GBR rates in the cell are: r99 gbrcodebight 1+ R99 gbrcodebight 2+ hsgbrcodebight + ComCodeWeight ═ 8+32+32+24 ═ 96.
In step 2, the code word weight non-gbrcodebight available for all R99 and HSDPA traffic non-GBR rate segments is 512- (R99 gbrcodebight 1+ R99 gbrcodebight 2+ hsgbrcodebight) — 512-96 ═ 416.
Step 3, the number R99Num of R99 services with MBR larger than GBR in the cell is 4; the HSDPA service quantity HsdpaNum of the MBR in the cell, which is larger than the guaranteed rate GBR, is 1;
step 4, the average throughput that a single HS-PDSCH channel can support is about 700kbps, and the R99 service rate occupying SF16 codeword is about 256kbps, so that the R99 service compensation coefficient k is 256/700-0.37, and thus, the available codeword weight allocated to the non-GBR part of the HSDPA service is:
HsNonGBRCodeWeight=NonGBRCodeWeight×k×HsdpaNum/(HsdpaNum+R99Num)=416×0.37×1/(4+1)=30.78
step 5, the available code word weight of the non-GBR part of the R99 service is:
R99NonGBRCodeWeight=NonGBRCodeWeight-HsNonGBRCodeWeight=416-30.78=385.22。
step 6, if R99MaxCodeWeighti is 64, then <math>
<mrow>
<mrow>
<mo>(</mo>
<munderover>
<mi>Σ</mi>
<mn>1</mn>
<mrow>
<mi>R</mi>
<mn>99</mn>
<mi>Num</mi>
</mrow>
</munderover>
<mi>R</mi>
<mn>99</mn>
<mi>MaxCodeWeigh</mi>
<msub>
<mi>t</mi>
<mi>i</mi>
</msub>
<mo>)</mo>
</mrow>
<mo>-</mo>
<mi>R</mi>
<mn>99</mn>
<mi>GBRCodeWeight</mi>
<mn>2</mn>
<mo>=</mo>
<mn>4</mn>
<mo>×</mo>
<mn>64</mn>
<mo>+</mo>
</mrow>
</math> Since R99NonGBRCodeWeight is greater than <math>
<mrow>
<mrow>
<mo>(</mo>
<munderover>
<mi>Σ</mi>
<mn>1</mn>
<mrow>
<mi>R</mi>
<mn>99</mn>
<mi>Num</mi>
</mrow>
</munderover>
<mi>R</mi>
<mn>99</mn>
<mi>MaxCodeWeigh</mi>
<msub>
<mi>t</mi>
<mi>i</mi>
</msub>
<mo>)</mo>
</mrow>
<mo>-</mo>
<mi>R</mi>
<mn>99</mn>
<mi>GBRCodeWeight</mi>
<mn>2</mn>
<mo>,</mo>
</mrow>
</math> Therefore, will <math>
<mrow>
<mrow>
<mo>(</mo>
<munderover>
<mi>Σ</mi>
<mn>1</mn>
<mrow>
<mi>R</mi>
<mn>99</mn>
<mi>Num</mi>
</mrow>
</munderover>
<mi>R</mi>
<mn>99</mn>
<mi>MaxCodeWeigh</mi>
<msub>
<mi>t</mi>
<mi>i</mi>
</msub>
<mo>)</mo>
</mrow>
<mo>-</mo>
<mi>R</mi>
<mn>99</mn>
<mi>GBRCodeWeight</mi>
<mn>2</mn>
</mrow>
</math> The value 224 of (a) is given to R99 nobgbrcodebight, let R99 nobgbrcodebight 224, and correspondingly, let hsnobgbrcodebight-224-416-192.
Step 7, the sum of hsnobgbrcodeweight and HsGBRCodeWeight is HsdpaCodeWeight, HsdpaCodeWeight + HsGBRCodeWeight is 192+32 is 224, and the balance number of HS-PDSCH channels is:
HsBalNum=ceil(HsdpaCodeWeight/32)=ceil(224/32)=7。
after determining the balanced number of HS-PDSCH channels, the following illustrates the way of allocating idle codewords in the cell by using the balanced number of HS-PDSCH channels and the actual number of HS-PDSCH channels of the cell.
Example 1
The WNC may periodically detect a current idle codeword of the cell, or after the WNC allocates a codeword for the R99 service, detect a current idle codeword of the cell, and if the WNC detects that a codeword weight corresponding to the current idle codeword in the cell is smaller than a preset DchCodeHy (i.e., the first threshold value mentioned above), where DchCodeHy is a codeword weight margin threshold set for the R99 service, the WNC may perform the following operations to adjust the number of HS-PDSCH channels:
if the number of the established HS-PDSCH channels in the cell (i.e., the HS-PDSCH channels actually existing in the cell) is greater than the channel balance number, the WNC may reduce the number of the established HS-PDSCH channels, for example, may reduce one HS-PDSCH channel or multiple HS-PDSCH channels, or reduce the number of the actual HS-PDSCH channels in the cell to be the same as the channel balance number, such as the number of the actual HS-PDSCH channels in the cell is 7, the channel balance number is 5, and the WNC may have two HS-PDSCH channels, so that the number of the actual HS-PDSCH channels in the cell is 5; and if the number of the established HS-PDSCH channels in the cell is less than or equal to the channel balance number, the WNC keeps the number of the established HS-PDSCH channels unchanged.
Example 2
After the WNC applies for a new codeword for the R99 service, the current idle codeword of the cell is detected, and if the current idle codeword cannot meet the requirement of the R99 service, the WNC performs the following operations to adjust the number of HS-PDSCH channels:
if the number of the established HS-PDSCH channels in the cell (i.e., the HS-PDSCH channels actually existing in the cell) is greater than the channel balance number, the WNC may reduce the number of the established HS-PDSCH channels, for example, may reduce one HS-PDSCH channel or multiple HS-PDSCH channels, or reduce the number of the actual HS-PDSCH channels in the cell to be the same as the channel balance number, such as the number of the actual HS-PDSCH channels in the cell is 7, the channel balance number is 5, the WNC may reduce two HS-PDSCH channels, so that the number of the actual HS-PDSCH channels in the cell is 5; and if the number of the established HS-PDSCH channels in the cell is less than or equal to the channel balance number, the WNC keeps the number of the established HS-PDSCH channels unchanged.
Example 3
The WNC will periodically detect the number of HS-PDSCH channels, if the number of HS-PDSCH channels already established in the cell is less than the maximum value that can be reached by the current number of HS-PDSCH channels (i.e., the above-mentioned maximum threshold for the number of HS-PDSCH channels), and the current idle codeword weight in the cell is less than (DchCodeHy +32), the WNC will trigger the operation of the HS-PDSCH channel in the newly created cell, and the specific number of increases can be determined as needed, wherein, the maximum value calculation method of the HS-PDSCH channel number can be realized by the method of the prior art, and will not be described in detail herein, at this time, the WNC triggers the operation of establishing a new HS-PDSCH channel, if the operation of establishing a new HS-PDSCH channel fails, for example, the SF16 codeword required for establishing the new HS-PDSCH channel is blocked by the DPCH channel used by the R99 service, the WNC performs the following operations to adjust the number of HS-PDSCH channels:
if the number of the established HS-PDSCH channels is larger than the balance number of the channels, keeping the number of the current HS-PDSCH channels unchanged;
and triggering R99 service to reduce speed if the number of the established HS-PDSCH channels is less than or equal to the balance number of the channels.
Mode 4:
the WNC may periodically detect the number of HS-PDSCH channels, and if the number of HS-PDSCH channels already established in the cell is less than the maximum value that the current number of HS-PDSCH channels can reach (i.e., the above-mentioned maximum threshold for the number of HS-PDSCH channels), and the current idle codeword weight in the cell is less than DchCodeHy +32, the WNC may increase the number of HS-PDSCH channels in the cell, and the specifically increased number may be determined as needed, wherein the method for calculating the maximum value of the number of HS-PDSCH channels may be implemented by a method in the prior art, which is not described herein again, and at this time, the WNC may perform the following operations to adjust the number of HS-PDSCH channels:
if the number of the increased HS-PDSCH channels is larger than the balance number of the channels, the WNC keeps the number of the current HS-PDSCH channels unchanged;
if the number of the increased HS-PDSCH channels is less than or equal to the channel balance number, WNC triggers R99 traffic to slow down.
Fig. 4 is a block diagram of a radio network controller according to the present invention, as shown in fig. 4, including:
a first weight determining module 401, configured to determine a codeword weight required for ensuring a rate in a cell, where the codeword weight required for ensuring the rate refers to a codeword weight required for ensuring the rate of an R99 service and a codeword weight corresponding to a channel required for ensuring the rate of a high-speed downlink packet access service;
a second weight determining module 402, configured to determine a codeword weight required by an unsecured rate in a cell, where the codeword weight required by the unsecured rate refers to a codeword weight required by an unsecured rate of an R99 service and a codeword weight corresponding to a channel required by an unsecured rate of a high speed downlink packet access service;
a balance number determining module 403, configured to determine a channel balance number of the high-speed downlink packet access service according to the codeword weight required for guaranteeing the rate, or according to the codeword weight required for guaranteeing the rate and the codeword weight required for not guaranteeing the rate;
and a code word allocating module 404, configured to allocate idle code words in the cell according to the channel balance number and the number of the high speed physical downlink shared channels in the cell.
Fig. 4 is a device corresponding to the foregoing method, and the working process and working principle of the device have been described in detail in the method section, and are not repeated herein, and reference may be made to the description of the corresponding section in the method.
In summary, the present invention provides a method for determining a channel balance number of a high speed downlink packet access service according to a codeword weight required by a guaranteed rate and a non-guaranteed rate of an R99 service and a codeword weight corresponding to a channel required by a guaranteed rate and a non-guaranteed rate of a high speed downlink packet access service, and further adjusting the number of HS-PDSCH channels of the high speed downlink packet access service, which can determine the number of codewords required to be allocated to an HSPDA service in a limited resource on the premise of considering service quality of both the R99 service and the HSDPA service according to the rate requirements of the R99 service, so that the quality of both the R99 service and the HSDPA service is optimal, and the problem that it is difficult to consider both the R99 service quality and the HSDPA service quality in the related art is solved.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.