Background technology
In 3G (Third Generation) Moblie (3G) and the following mobile communication that strengthens, the data service especially application of high-speed downlink grouped data business (browsing and business such as download, video request program as wireless Internet) becomes more and more widely with important, will greatly enrich the life of mobile phone users.Therefore, introduced high speed downlink packet access (high speed downlink packet access is called for short HSDPA) technology in the R5 version of WCDMA technology to support downlink grouped data business at a high speed.
In the data service of WCDMA technology Release99 version is handled, the packet scheduling function is by radio network controller (Radio Network Controller, be called for short RNC) finish, can introduce bigger time delay like this, the situation of the wireless channel that becomes when packet scheduling is adapted to.And packet scheduling can obtain the state information of channel more fast more near air interface, thereby can be according to channel situation and fading characteristic, change modulation and coding (MCS) mode, thereby finish self adaptation, the fast packet scheduling of link, reduce the propagation delay time of system, improve the performance of network; Can make simultaneously user terminal (UserEquipment is called for short UE) obtain more reliable business and higher data rate, make operator can support lower every bit expense.Therefore, in the HSDPA technology of WCDMA technology R5 version, adopted WCDMA system base-station (NodeB) to finish packet scheduling and corresponding the processing.
It is high speed descending sharing channel (High Speed DownlinkShared Channel that HSDPA has introduced a new transmission channel, abbreviation HS-DSCH) comes bearing data service, at each Transmission Time Interval (TTI), base station node B is distributed to one or more users to finish transfer of data according to the situation of each UE with HS-DSCH.
Be the transfer of data of finishing HS-DSCH and configuration, distribution and the management of HSDPA related physical channel, it is high speed medium access control (MediumAccess Control-High Speed that the HSDPA technology has increased a new functional entity in the NodeB side, be called for short MAC-hs) entity, to finish the relevant media access control sublayer operation of HS-DSCH, promptly between the user and, mix the processing that retransmits (HARQ), feedback information automatically and flow control operation accordingly etc. with indoor processed and scheduling, Adaptive Modulation and Coding (AMC).
In NodeB, the MAC-hs entity can be divided into following several functional module: packet scheduling and processed module, medium access key-course dedicated channel protocol Data Unit (Medium Access ControlDedicated Channel Protocol Data Unit is called for short MAC-d PDU) data assembling module, HARQ entity, flow-control module.
Packet scheduling and processed module are responsible for finishing all HSDPA users' HS-DSCH resource management, comprise the foundation of owner priority formation (PQ), the management of state, the transmission sequence (TSN) of data and the processing of sliding window etc.When user's face was received FP (Frame Protocol) frame, the FP subsystem was understood according to the wherein entrained MAC-d stream and the information of priority, MAC-d PDU is put among the corresponding PQ goes.At each TTI (2ms), packet scheduling and processed module are according to the feedback information of HSDPA user uplink signaling channel, the selection scheduling algorithm calculates each user's priority and upgrades the corresponding information of user, determines user's dispatching sequence then according to user's priority.
According to the scheduling of packet scheduling module, MAC-d PDU data assembling module is assembled into a MAC-hs PDU to the one or more MAC-d PDU among the PQ of this UE, and adds header in front, to mark information such as corresponding PQ and TSN.
The corresponding HARQ entity of each HSDPA UE can comprise maximum 8 HARQ processes in each HARQ entity, a HARQ process of each HARQ process and UE side is corresponding.NodeB one side HARQ adopts multichannel SAW (stop etc.) mode to move, the ACK/NACK information that HARQ returns according to UE, and the transmission of determination data piece or re-transmission, and the notice physical layer is handled accordingly.
The quantity of the MAC-d PDU that flow-control module sends by management RNC side, it is excessive and cause the phenomenon of data congestion to avoid HS-DSCH to go up flow, can reduce the re-transmission of data transmission delay and packet like this.The flow control function of HSDPA is realized in the MAC-hs of NodeB entity, be the dispatching algorithm service, its direct purpose be the MAC-d flow data of Radio Link control (RLC) layer of the form indication RNC by the capacity allocation control frame in the transmission rule of Iub interface (interface between NodeB and the RNC), making has enough data to send at Uu interface (interface between UE and the NodeB) in the Subscriber Queue buffer memory.
Particularly, as shown in Figure 1, RNC indicates the storage condition of HSDPA data at RNC by sending the requests for capacity control frame to NodeB, and requires NodeB to respond the capacity allocation control frame to distribute this HSDPA user's data transmission capacity; NodeB informs the speed of the operable HSDPA data flow transmission of RNC and the time that this speed exists by the capacity allocation control frame.NodeB also can initiatively send the requests for capacity control frame to RNC according to the requirement of oneself.
The form of the capacity allocation control frame that NodeB sends as shown in Figure 2, wherein each parameter declaration is as follows:
1, Congestion Status: congestion state;
2, CmCH-PI: priority indication;
3, Maximum MAC-d PDU Length: the maximum of the size of the MAC-d PDU that indication RNC allows when sending data.Its computing formula is: MAC-d Pdu Length=MAX (Pdu
Size1, Pdu
Size2... Pdu
Sizen);
4, HS-DSCH Credits (hereinafter referred Credits): indicate in an effective HS-DSCH time interval (HS-DSCH Interval), the number of the MAC-d PDU that the RNC side sends, its computing formula is:
Wherein IubBw represents the Iub interface bandwidth after traffic-shaped;
5, HS-DSCH Interval (hereinafter referred Interval): the time interval that Credits MAC-d PDU of indication RNC transmission HS-DSCH can use for NodeB.Its concrete value is relevant with the realization mechanism of equipment manufacturers, and its granularity is 10ms, and span is [0-2550] ms;
6, HS-DSCH Repetition Period: number effective period of indicating continuous HS-DSCH Interval;
7, Spare Extension: do not use, can add new information later on and support back compatible.
The flow-control module of MAC-hs entity by regulating NodeB the MAC-hs entity and the flow between the MAC-dflow of RNC, itself and the ability of eating dishes without rice or wine on the Uu mouth are complementary, avoided congested and data-bag lost re-transmission situation occurs on the Iub mouth.The quality of the Flow Control strategy of MAC-hs greatly affects the height of HSDPA service feature.
In the prior art, the MAC-hs entity of NodeB calculates as follows and generates and send the capacity allocation control frame:
1, formation bandwidth preassignment: allocate the Iub bandwidth in advance for each formation according to established principle.Factors such as the grade of for example can opening an account according to type of service (stream business, speech business etc.), the professional user UE of application of each Subscriber Queue are each Subscriber Queue preassignment Iub bandwidth;
2, Iub traffic-shaped: above-mentioned formation bandwidth preassignment has just been considered each attribute of type of service merely, and does not consider the available Iub bandwidth on NodeB and the RNC Iub interface.Therefore the Iub traffic-shaped is exactly that each Subscriber Queue preassignment bandwidth sum is controlled within the available HSDPA Iub bandwidth, can carry out bandwidth reduction in case of necessity and handle;
3, the capacity allocation control frame generates and sends: behind the Iub traffic-shaped, determined the Iub allocated bandwidth result of individual queue, send the capacity allocation control frame according to certain principle to RNC, in the prior art, this principle be the bandwidth of after traffic-shaped, distributing to the user with the difference of the bandwidth of preceding primary distribution above certain ratio value β, and HS-DSCH Credits quantization method is in the capacity allocation control frame: when the HS-DSCH Credits that calculates is not that integer and this Subscriber Queue corresponding service type require configuration to guarantee bit rate (Guarantee Bit Rate, be called for short GBR), the then HS-DSCH Credits quantification that will round up; If this Subscriber Queue does not dispose GBR, then HS-DSCH Credits will round quantification downwards, and its computing formula is:
In the prior art, when in the RNC side rlc layer metadata cache outgoing data being arranged, RNC at first sends the requests for capacity control frame to NodeB, wishes to wait that the data of sending out can send as early as possible, after NodeB receives the requests for capacity control frame, calculate generation and send the capacity allocation control frame by above-mentioned steps.
Correspondingly, as shown in Figure 3, the device of the flow control that is used for high-speed downlink grouped data that comprises among the existing NodeB comprises: formation bandwidth preassignment module is used for allocating the Iub bandwidth according to established principle in advance for each formation; Iub traffic-shaped module is connected with formation bandwidth preassignment module, is used for each Subscriber Queue preassignment bandwidth sum is controlled within the available HSDPA Iub bandwidth; Capacity allocation control frame parameter calculating module is connected with Iub traffic-shaped module, is used for the parameter of calculated capacity distribution control frame as stated above; Capacity allocation control frame sending module is connected with capacity allocation control frame parameter calculating module, is used for sending the capacity allocation control frame that generates to RNC.
Above-mentioned the deficiencies in the prior art part is: NodeB is when reporting the assignment of traffic control frame, to in the assignment of traffic control frame, be used in reference to the Parameter H S-DSCH Credits that is shown in the MAC-d PDU number that the RNC side sends in the HS-DSCH Interval time interval and done downward rounding operation (when not disposing GBR), therefore can occur after HS-DSCH Credits is less than certain value, before and after during twice traffic-shaped bandwidth values distributed surpassed preset proportional value β, therefore need report the assignment of traffic control frame, but, the Credits of twice of front and back cause the Credits value identical downwards because being to round, thereby the assignment of traffic control frame parameter that sends to RNC is identical, thereby the uncontrollability that causes the Iub port band width, increased the probability that Iub mouth data congestion incident takes place, can not use the bandwidth resources of Iub mouth in optimization ground, and also cause reporting invalid assignment of traffic control frame.
Embodiment
Below in conjunction with drawings and Examples, technical scheme of the present invention is described in further detail.
Basic design of the present invention is: at NodeB in the prior art when reporting the assignment of traffic control frame, the result of calculation that assignment of traffic control frame middle finger is shown in the Parameter H S-DSCH Credits of the MAC-d PDU number that the RNC side sends in the HS-DSCH Interval time interval is done downward rounding operation (when not disposing GBR) all the time, therefore the uncontrollability that causes the Iub port band width, increased the probability that Iub mouth data congestion incident takes place, can not use to optimization the defective of the bandwidth resources of Iub mouth, a global variable is set in NodeB preserves total accumulated value of the allocated bandwidth deviation in previous all flow control cycles, and after existing calculating Subscriber Queue capacity corresponding is distributed the step of the parameter in the control frame, set up the operation that the Credits parameter in the capacity allocation control frame is adjusted, whether the value according to this global variable is adjusted Credits CALCULATION OF PARAMETERS result up or down less than zero deciding, thereby can be with the benchmark of previous allocated bandwidth deviation as this allocated bandwidth, effectively this Credits result of calculation is adjusted, avoided all the time Credits being rounded downwards in the prior art and do not considered the uncontrollability that Iub port band width that previous allocated bandwidth deviation caused distributes, the reasonable distribution of control Iub port band width, the probability of reduction Iub mouth generation data congestion.Wherein, if the value of this global variable equals zero, if then do not exceed actual bandwidth in order to guarantee that fully the Iub port band width distributes, then Credits CALCULATION OF PARAMETERS result should be rounded downwards, if in order to make full use of the bandwidth of Iub mouth, then Credits CALCULATION OF PARAMETERS result should be rounded up.
Further, at in the prior art when HS-DSCH Credits less than certain the value after, before and after during twice traffic-shaped bandwidth values distributed surpassed preset proportional value β, but the Credits that front and back are twice is to round downwards and causes the Credits value identical, thereby the assignment of traffic control frame parameter that sends to RNC is identical, thereby cause reporting the defective of invalid assignment of traffic control frame, whether the parameter that also can judge the current capacity allocation control frame that will send before NodeB reports the capacity allocation control frame earlier is identical with the parameter of the capacity allocation control frame that sent last time, just report during HS-DSCH Credits parameter change in the capacity allocation control frame to RNC, thereby avoid reporting in the prior art defective of invalid capacity allocation control frame, reduce the frequency that reports of invalid allocated bandwidth control frame, reduce waste the transport layer transfer resource.
Conceive based on foregoing invention, the embodiment of the invention provides a kind of flow control methods of high-speed downlink grouped data, as shown in Figure 4, comprise: in each flow control cycle, after each Subscriber Queue is carried out preassignment of formation bandwidth and Iub traffic-shaped, calculate the parameter in this Subscriber Queue capacity corresponding distribution control frame; Value with previous total allocated bandwidth deviation is kept in the global variable in advance, if the value of described global variable is less than zero then this Subscriber Queue capacity corresponding is distributed the Credits CALCULATION OF PARAMETERS result of the control frame value of back as this Credits parameter that round up, if the value of described global variable is greater than zero then this Credits CALCULATION OF PARAMETERS result is rounded the value of back as this Credits parameter downwards, this Credits CALCULATION OF PARAMETERS result rounded up or down the value of back if the value of described global variable equals zero as this Credits parameter; Calculate this allocated bandwidth deviation then and preserve, with the value preservation of back that add up of the value of the value of this local variable and described global variable as this global variable as the value of the local variable of this default Subscriber Queue correspondence.
Preferably, also can comprise after preserving as the value of this global variable in described value and the value of the described global variable back of adding up with this local variable: the base station sends to radio network controller with this Subscriber Queue capacity corresponding distribution control frame.
In order to overcome the defective that reports invalid assignment of traffic control frame in the prior art, reduce the frequency that reports of invalid allocated bandwidth control frame, reduction is to the waste of transport layer transfer resource, also can comprise following operation in the described value with this local variable and the value of the described global variable back of adding up after preserving as the value of this global variable: the base station sends to radio network controller with the current capacity allocation control frame that will send when the parameter of the capacity allocation control frame of the parameter of the current capacity allocation control frame that will send and transmission last time is identical.By setting up aforesaid operations, just report during HS-DSCH Credits parameter change in the capacity allocation control frame, thereby avoided reporting in the prior art defective of invalid capacity allocation control frame to RNC.
Preferably, for the Iub bandwidth that makes the Subscriber Queue that has disposed assurance bit rate (GBR) preferentially is guaranteed as far as possible, each Subscriber Queue is carried out also can comprise before preassignment of formation bandwidth and the Iub traffic-shaped in each flow control cycle described: the Subscriber Queue that participates in flow control is sorted, the Subscriber Queue that disposes GBR is come the front, the Subscriber Queue that does not dispose GBR is come the back.Thereby make the Subscriber Queue that disposes GBR preferentially obtain the assurance of Iub bandwidth; And the needed Iub bandwidth of the Subscriber Queue that does not dispose GBR will be guaranteed as far as possible.
The global variable of the allocated bandwidth deviation that described record is total need carry out initialization operation when using for the first time, promptly described in each flow control cycle each Subscriber Queue is carried out preassignment of formation bandwidth and Iub traffic-shaped before, also can be included in the initialization operation in first flow control cycle, specifically comprise: in first flow control cycle, after first Subscriber Queue carried out preassignment of formation bandwidth and Iub traffic-shaped and calculate this Subscriber Queue capacity corresponding distributing parameter in control frame, calculate this allocated bandwidth deviation and preserve as the value of the local variable of this Subscriber Queue correspondence and the value of described global variable.By the value of the described global variable of aforesaid operations initialization, and preserved the value of local variable that is used to write down this allocated bandwidth deviation of described first Subscriber Queue correspondence.
Because the described global variable of bad control is positive and negative, always adjusts upward in the time of might adjusting first Credits parameter that has disposed the Subscriber Queue correspondence of GBR in each flow control cycle.Therefore, for the Credits parameter of first GBR Subscriber Queue correspondence of guaranteeing each flow control cycle is unlikely to all to make progress quantification at every turn, therefore the adjustment to the Credits parameter also can be optimized further, i.e. each flow control cycle after first flow control cycle, the base station is after carrying out preassignment of formation bandwidth and Iub traffic-shaped to described first Subscriber Queue (promptly having disposed the Subscriber Queue of GBR) and calculate this Subscriber Queue capacity corresponding to distribute parameter in control frame, can carry out following operation: if the value of the described local variable of this Subscriber Queue correspondence is less than zero then distribute the Credits CALCULATION OF PARAMETERS result of control frame to round up the back as the value of this Credits parameter this Subscriber Queue capacity corresponding, if the value of the described local variable of this Subscriber Queue correspondence is greater than zero then this Credits CALCULATION OF PARAMETERS result is rounded the value of back as this Credits parameter downwards; This Credits CALCULATION OF PARAMETERS result rounded up or down the value of back if the value of the described local variable of this Subscriber Queue correspondence equals zero as this Credits parameter; Calculate this allocated bandwidth deviation and as the value of the described local variable of this Subscriber Queue correspondence, the value of the value of this local variable and the described global variable back of adding up is preserved as the value of this global variable.Wherein, if the value of this local variable equals zero, if then do not exceed actual bandwidth in order to guarantee that fully the Iub port band width distributes, then Credits CALCULATION OF PARAMETERS result should be rounded downwards, if in order to make full use of the bandwidth of Iub mouth, then Credits CALCULATION OF PARAMETERS result should be rounded up.
Pass through aforesaid operations, to described first Subscriber Queue in each flow control cycle, according to the record of this Subscriber Queue correspondence the local variable of allocated bandwidth deviate last time adjust the value of this Credits parameter, thereby can according to the deviation of the previous allocated bandwidth of this Subscriber Queue to this Subscriber Queue this time allocated bandwidth finely tune.Adjust the combination of Credits parameter according to local variable according to global variable adjustment Credits parameter and certain customers' formation by the overall user formation, optimize the distribution of Iub port band width further, greatly reduced the uncontrollability that the Iub port band width distributes.
Preferably, can be kept in Frame Protocol (FP) attribute list by the described local variable that each Subscriber Queue is corresponding respectively.
Schematic flow sheet referring to the embodiment one of the flow control methods of high-speed downlink grouped data of the present invention shown in Figure 5, this schematic flow sheet is the handling process schematic diagram of each Subscriber Queue correspondence in each flow control cycle, the base station each flow control cycle to each Subscriber Queue, after at first in step 101, carrying out preassignment of formation bandwidth and Iub traffic-shaped, calculate the parameter in this Subscriber Queue capacity corresponding distribution control frame; Whether the value of judging the global variable of preserving in advance, be used to indicate total allocated bandwidth deviation then in step 102 is less than zero (hereinafter can be designated as SumIubDelta with this global variable), be that then execution in step 103 is about to this Subscriber Queue capacity corresponding and distributes the Credits CALCULATION OF PARAMETERS result of control frame to round up the back as the value of this Credits parameter, execution in step 105 then; Otherwise execution in step 104 is about to this Credits CALCULATION OF PARAMETERS result and rounds the value of back as this Credits parameter downwards, and execution in step 105 then; In step 105, calculate the value of the local variable (hereinafter can be designated as UserDelta) of this default Subscriber Queue correspondence of this allocated bandwidth deviation and conduct and preserve; In step 106, the value of the value of this local variable and the described global variable back of adding up is preserved as the value of this global variable; In step 107, the base station distributes control frame to send to radio network controller this Subscriber Queue capacity corresponding at last.Wherein said allocated bandwidth deviation is meant that the result of calculation of Credits (is formula
Result of calculation) and its according to said method to the Credits parameter adjust the back gained value between deviate.
Method of adjustment to the Credita parameter in the foregoing description one is with formulae express:
Wherein, as indicated above, the Iub interface bandwidth of IubBw indication after traffic-shaped, the time interval that Credits MAC-d PDU of IntervalRNC transmission HS-DSCH can use for NodeB, the maximum of the size of the MAC-d PDU that MAC-d PDULength indication RNC allows when sending data, above-mentioned parameter is the parameter of calculating the capacity allocation control frame that obtains.Described global variable is designated as SumIubDelta, and local variable is designated as UserDelta, and then step 106 is with formulae express:
SumIubDelta=SumIubDelta+UserDelta
In the foregoing description one, by being set, a global variable preserves total accumulated value of the allocated bandwidth deviation in previous all flow control cycles, and after existing calculating Subscriber Queue capacity corresponding is distributed the step of the parameter in the control frame, set up the operation that the Credits parameter in the capacity allocation control frame is adjusted, whether Credits CALCULATION OF PARAMETERS result is adjusted up or down less than zero deciding according to the value of this global variable.As indicated above, the Credits parameter is to be used in reference to be shown in the effective HS-DSCH time interval (HS-DSCH Interval), the number of the MAC-d PDU that the RNC side sends has been done downward rounding operation to the result of calculation of HS-DSCH Credits in the prior art.And in the foregoing description one, decide result of calculation to round up or down according to the total allocated bandwidth deviate that had before added up to Credits, thereby can be with the benchmark of previous allocated bandwidth deviation as this allocated bandwidth, effectively this Credits result of calculation is adjusted, avoided all the time Credits being rounded downwards in the prior art and do not considered the uncontrollability that Iub port band width that previous allocated bandwidth deviation caused distributes, controlled the reasonable distribution of Iub port band width, reduce the probability of Iub mouth generation data congestion, improved the service quality of entire system.
Further, in order to overcome the defective that reports invalid assignment of traffic control frame in the prior art, in the embodiment two of the flow control methods of high-speed downlink grouped data of the present invention, as shown in Figure 6, be with the difference of the foregoing description one, also comprised following operation before step 107: the base station judges whether the parameter of the current capacity allocation control frame that will send is identical with the parameter of the capacity allocation control frame that sent last time, is then to finish in step 107a, otherwise execution in step 107.Present embodiment two just reports to RNC during by the HS-DSCH Credits parameter change in the capacity allocation control frame, thereby avoided reporting in the prior art defective of invalid capacity allocation control frame, reduced the frequency that reports of invalid allocated bandwidth control frame, reduced waste the transport layer transfer resource.
Further, for the global variable that provides in the foregoing description one is carried out initialization, in the embodiment three of the flow control methods of high-speed downlink grouped data of the present invention, as shown in Figure 7, be with the difference of the foregoing description one, before step 101, also comprise following operation: in step 100, the Subscriber Queue that participates in flow control is sorted, come the front, the Subscriber Queue that does not dispose GBR is come the back with disposing the Subscriber Queue that guarantees bit rate; In step 100a, in first flow control cycle, the base station is carried out preassignment of formation bandwidth and Iub traffic-shaped to first Subscriber Queue and is calculated this Subscriber Queue capacity corresponding and distribute parameter in control frame; Then in step 100b, calculate this allocated bandwidth deviation and preserve as the value of the local variable of this Subscriber Queue correspondence and the value of described global variable; In step 100c, distribute control frame to send to radio network controller this Subscriber Queue capacity corresponding; Then for the formation execution in step 101 of remaining Subscriber Queue and follow-up flow control cycle.
In present embodiment three, to remaining each Subscriber Queue in first flow control cycle, after the base station carries out preassignment of formation bandwidth and Iub traffic-shaped to this Subscriber Queue and calculates this Subscriber Queue capacity corresponding distributing parameter in control frame, whether the value of judging described global variable is less than zero, be then this Subscriber Queue capacity corresponding to be distributed the Credits CALCULATION OF PARAMETERS result of control frame to round up the back, otherwise this Credits CALCULATION OF PARAMETERS result is rounded the value of back as this Credits parameter downwards as the value of this Credits parameter; Calculate this allocated bandwidth deviation and preserve as the value of the local variable of this Subscriber Queue correspondence, the value of the value of this local variable and the described global variable back of adding up is preserved as the value of this global variable, finish after distributing control frame to send to radio network controller this Subscriber Queue capacity corresponding then.
For the Iub bandwidth that makes the Subscriber Queue that has disposed assurance bit rate (GBR) preferentially is guaranteed as far as possible, in present embodiment three, each Subscriber Queue is carried out comprised the operation that Subscriber Queue is sorted before preassignment of formation bandwidth and the Iub traffic-shaped in each flow control cycle, specifically comprise: the Subscriber Queue that participates in flow control is sorted, the Subscriber Queue that disposes GBR is come the front, the Subscriber Queue that does not dispose GBR is come the back.Thereby make the Subscriber Queue that disposes GBR preferentially obtain the assurance of Iub bandwidth; And the needed Iub bandwidth of the Subscriber Queue that does not dispose GBR will be guaranteed as far as possible.
Similarly, for the global variable that provides in the foregoing description two is carried out initialization, schematic flow sheet referring to the embodiment four of the flow control methods of high-speed downlink grouped data of the present invention shown in Figure 8, be with the difference of the foregoing description two, before step 101, also comprise following operation: in step 100a, in first flow control cycle, the base station is carried out preassignment of formation bandwidth and Iub traffic-shaped to first Subscriber Queue and is calculated this Subscriber Queue capacity corresponding and distribute parameter in control frame; Then in step 100b, calculate this allocated bandwidth deviation and preserve as the value of the local variable of this Subscriber Queue correspondence and the value of described global variable; In step 100c, distribute control frame to send to radio network controller this Subscriber Queue capacity corresponding; Then for the formation execution in step 101 of remaining Subscriber Queue and follow-up flow control cycle.
Because the described global variable of bad control is positive and negative, always adjusts upward in the time of might adjusting first Credits parameter that has disposed the Subscriber Queue correspondence of GBR in each flow control cycle.Therefore, for the Credits parameter of first GBR Subscriber Queue correspondence of guaranteeing each flow control cycle is unlikely to all to make progress quantification at every turn, adjustment to the Credits parameter in the technique scheme also can be optimized further, schematic flow sheet referring to the embodiment five of the flow control methods of high-speed downlink grouped data of the present invention shown in Figure 9, be with the difference of the foregoing description three, initialization operation finish be execution in step 100c after, to the Subscriber Queue in each follow-up flow control cycle, after execution in step 101, also carry out following operation: in step 101a, judge whether Subscriber Queue to be processed is first Subscriber Queue after the arrangement in the step 100, otherwise execution in step 102, be that then execution in step 101b judges that promptly the value of described local variable (being designated as UserDelta) of this Subscriber Queue correspondence is whether less than zero, be that then execution in step 101c is about to this Subscriber Queue capacity corresponding and distributes the Credits CALCULATION OF PARAMETERS result of control frame to round up the back as execution in step 105 after the value of this Credits parameter, round the back downwards as execution in step 105 after the value of this Credits parameter otherwise execution in step 101d is about to this Credits CALCULATION OF PARAMETERS result.Aforesaid operations is with formulae express:
In the foregoing description five, by to described first Subscriber Queue (having disposed GBR) in each flow control cycle, according to the record of this Subscriber Queue correspondence the local variable of allocated bandwidth deviate last time adjust the value of this Credits parameter, thereby the Credits parameter that can guarantee first GBR Subscriber Queue correspondence in each flow control cycle is unlikely to all to make progress quantification at every turn.
Similarly, in order further among the optimization embodiment four adjustment of Credits parameter to be operated, schematic flow sheet referring to the embodiment six of the flow control methods of high-speed downlink grouped data of the present invention shown in Figure 10, be with the difference of the foregoing description four, initialization operation finish be execution in step 100c after, to the Subscriber Queue in each follow-up flow control cycle, after execution in step 101, also carry out following operation: in step 101a, judge whether Subscriber Queue to be processed is described first Subscriber Queue, otherwise execution in step 102, be that then execution in step 101b judges that promptly the value of described local variable of this Subscriber Queue correspondence is whether less than zero, be that then execution in step 101c is about to this Subscriber Queue capacity corresponding and distributes the Credits CALCULATION OF PARAMETERS result of control frame to round up the back as execution in step 105 after the value of this Credits parameter, round the back downwards as execution in step 105 after the value of this Credits parameter otherwise execution in step 101d is about to this Credits CALCULATION OF PARAMETERS result.
Conceive based on foregoing invention, the embodiment of the invention also provides a kind of one flow control device for group data, comprise formation bandwidth preassignment module, Iub traffic-shaped module and capacity allocation control frame parameter calculating module, also comprise: global variable is preserved module, is used to preserve the global variable of the total allocated bandwidth deviation of indication; Parameter adjustment module, preserving module with capacity allocation control frame parameter calculating module and global variable is connected, be used for: the Credits CALCULATION OF PARAMETERS result to the capacity allocation control frame adjusts according to the value of described global variable, if the value of this global variable is less than zero then Credits CALCULATION OF PARAMETERS result is rounded up the back as the value of this Credits parameter, if be not less than zero then Credits CALCULATION OF PARAMETERS result is rounded the value of back as this Credits parameter downwards; And calculate this allocated bandwidth deviation value as the local variable of this default Subscriber Queue correspondence, the value of the value of this local variable and the described global variable back of adding up is saved in the described global variable preservation module as the value of this global variable.
Preferably, in order to overcome the defective that reports invalid assignment of traffic control frame in the prior art, reduce the frequency that reports of invalid allocated bandwidth control frame, reduction is to the waste of transport layer transfer resource, described capacity allocation control frame sending module also can comprise the transmission pretreatment module, be connected with described capacity allocation control frame parameter calculating module, be used for: receive the capacity allocation control frame that capacity allocation control frame parameter calculating module disposes, and whether the parameter of judging this capacity allocation control frame is identical with the parameter of the capacity allocation control frame that sent last time, be then to abandon this capacity allocation control frame, otherwise this capacity allocation control frame is sent to radio network controller.By setting up the transmission pretreatment module, just report during HS-DSCH Credits parameter change in the capacity allocation control frame, thereby avoided reporting in the prior art defective of invalid capacity allocation control frame to RNC.
For the global variable to the total allocated bandwidth deviation of described record carries out initialization operation when using for the first time, also can comprise in the above-mentioned one flow control device for group data: local variable is preserved module, is used to preserve the local variable of the indication allocated bandwidth deviation of each Subscriber Queue correspondence; Initialization module, with described capacity allocation control frame parameter calculating module, global variable is preserved module, local variable is preserved module, and capacity allocation control frame sending module connects, be used for: in first flow control cycle, to first Subscriber Queue, after this formation capacity corresponding that receives the transmission of capacity allocation control frame parameter calculating module is distributed the parameter of control frame, when the Credits parameter that calculates is not that integer and this Subscriber Queue corresponding service type require configuration to guarantee bit rate, quantification then rounds up the Credits parameter, calculate this allocated bandwidth deviation then and be saved in local variable and preserve in the module as the value of the local variable of this Subscriber Queue correspondence, and the value of this allocated bandwidth deviation is saved in global variable as the value of described global variable preserves in the module, and this capacity allocation control frame is sent to radio network controller via capacity allocation control frame sending module.
In addition, in order to realize that first Subscriber Queue in each flow control cycle is adjusted according to the local variable of the indication allocated bandwidth last time deviation of this Subscriber Queue correspondence, described parameter adjustment module in the said apparatus also can be preserved module with described local variable and is connected, be used for after calculating this allocated bandwidth deviation and value, being saved in local variable and preserve module, and described parameter adjustment module is adjusted the Credits parameter of being calculated according to the value of this local variable first Subscriber Queue in each flow control cycle as the described local variable of this Subscriber Queue correspondence.Described local variable preservation module can be the local variable that described local variable is kept in the Frame Protocol attribute list and preserves module.
Referring to the structural representation of the embodiment one of one flow control device for group data of the present invention shown in Figure 12, this device comprises formation bandwidth preassignment module 1, is used for allocating the Iub bandwidth according to established principle in advance for each formation; Iub traffic-shaped module 2 is connected with formation bandwidth preassignment module 1, is used for each Subscriber Queue preassignment bandwidth sum is controlled within the available HSDPA Iub bandwidth; Capacity allocation control frame parameter calculating module 3 is connected with Iub traffic-shaped module 2, is used for the parameter of calculated capacity distribution control frame as stated above; Capacity allocation control frame sending module 4 is connected with capacity allocation control frame parameter calculating module 3, is used for sending the capacity allocation control frame that generates to RNC; Global variable is preserved module 5, is used to preserve the global variable of the total allocated bandwidth deviation of indication; Parameter adjustment module 6, preserving module 5 with capacity allocation control frame parameter calculating module 3 and global variable is connected, be used for: the Credits CALCULATION OF PARAMETERS result to the capacity allocation control frame adjusts according to the value of described global variable, if the value of this global variable is less than zero then Credits CALCULATION OF PARAMETERS result is rounded up the back as the value of this Credits parameter, if be not less than zero then Credits CALCULATION OF PARAMETERS result is rounded the value of back as this Credits parameter downwards; And calculate this allocated bandwidth deviation value as the local variable of this default Subscriber Queue correspondence, the value of the value of this local variable and the described global variable back of adding up is saved in the global variable preservation module 5 as the value of this global variable.
In present embodiment one, preserve module to preserve the described global variable that is used to indicate total allocated bandwidth deviation by setting up global variable in the volume control device in existing base station, and set up parameter adjustment module and be used for adjusting according to the value of described global variable Credits CALCULATION OF PARAMETERS result to the capacity allocation control frame, thereby the value by the previous allocated bandwidth deviation that adds up instructs this allocated bandwidth, and come this allocated bandwidth is adjusted by the selection that rounds up or down, avoided all the time Credits being rounded downwards in the prior art and do not considered the uncontrollability that Iub port band width that previous allocated bandwidth deviation caused distributes, controlled the reasonable distribution of Iub port band width, reduce the probability of Iub mouth generation data congestion, improved the service quality of entire system.
Further, in order to overcome the defective that reports invalid assignment of traffic control frame in the prior art, as shown in figure 13, in one flow control device for group data embodiment two of the present invention, be with the difference of one flow control device for group data embodiment one of the present invention: capacity allocation control frame sending module 4 also comprise send pretreatment module 4 ', be connected with capacity allocation control frame parameter calculating module 3, be used for: receive the capacity allocation control frame that capacity allocation control frame parameter calculating module 3 disposes, and whether the parameter of judging this capacity allocation control frame is identical with the parameter of the capacity allocation control frame that sent last time, be then to abandon this capacity allocation control frame, otherwise this capacity allocation control frame is sent to radio network controller.
As shown in figure 14, in one flow control device for group data embodiment three of the present invention, be that with the difference of one flow control device for group data embodiment one of the present invention this device comprises that also local variable preserves module 7, be used to preserve the local variable of the indication allocated bandwidth deviation of each Subscriber Queue correspondence; Initialization module 8, with capacity allocation control frame parameter calculating module 3, global variable is preserved module 5, local variable is preserved module 7, and capacity allocation control frame sending module 4 connects, be used for: in first flow control cycle, to first Subscriber Queue, after this formation capacity corresponding that receives 3 transmissions of capacity allocation control frame parameter calculating module is distributed the parameter of control frame, calculate this allocated bandwidth deviation and be saved in local variable and preserve in the module 7 as the value of the local variable of this Subscriber Queue correspondence, and the value of this allocated bandwidth deviation is saved in global variable as the value of described global variable preserves in the module 5, then this capacity allocation control frame is sent to radio network controller via capacity allocation control frame sending module 4.
Similarly, structural representation referring to one flow control device for group data embodiment of the present invention four shown in Figure 15, be that with the difference of one flow control device for group data embodiment two of the present invention this device comprises that also local variable preserves module 7, be used to preserve the local variable of the indication allocated bandwidth deviation of each Subscriber Queue correspondence; Initialization module 8, with capacity allocation control frame parameter calculating module 3, global variable is preserved module 5, local variable is preserved module 7, and capacity allocation control frame sending module 4 connects, be used for: in first flow control cycle, to first Subscriber Queue, after this formation capacity corresponding that receives the transmission of capacity allocation control frame parameter calculating module is distributed the parameter of control frame, when the Credits parameter that calculates is not that integer and this Subscriber Queue corresponding service type require configuration to guarantee bit rate, quantification then rounds up the Credits parameter, calculate this allocated bandwidth deviation then and be saved in local variable and preserve in the module as the value of the local variable of this Subscriber Queue correspondence, and the value of this allocated bandwidth deviation is saved in global variable as the value of described global variable preserves in the module, and this capacity allocation control frame is sent to radio network controller via capacity allocation control frame sending module.
In order to realize that first Subscriber Queue in each flow control cycle among the one flow control device for group data embodiment three of the present invention is adjusted according to the local variable of the indication allocated bandwidth last time deviation of this Subscriber Queue correspondence, structural representation referring to one flow control device for group data embodiment of the present invention five shown in Figure 16, be with the difference of one flow control device for group data embodiment three of the present invention, parameter adjustment module 6 is also preserved module 7 with local variable and is connected, is used for being saved in local variable preservation module 7 after calculating this allocated bandwidth deviation and the value as the described local variable of this Subscriber Queue correspondence.
Similarly, in order to realize that first Subscriber Queue in each flow control cycle among the one flow control device for group data embodiment four of the present invention is adjusted according to the local variable of the indication allocated bandwidth last time deviation of this Subscriber Queue correspondence, structural representation referring to one flow control device for group data embodiment of the present invention six shown in Figure 17, be with the difference of one flow control device for group data embodiment four of the present invention, parameter adjustment module 6 is also preserved module 7 with local variable and is connected, be used for after calculating this allocated bandwidth deviation and value, being saved in local variable and preserve module 7, and parameter adjustment module 6 is adjusted the Credits parameter of being calculated according to the value of this local variable first Subscriber Queue in each flow control cycle as the described local variable of this Subscriber Queue correspondence.
Above embodiment is only in order to illustrating technical scheme of the present invention, but not the present invention is made restrictive sense.Although the present invention is had been described in detail with reference to above-mentioned preferred embodiment, those of ordinary skill in the art is to be understood that: it still can make amendment or be equal to replacement technical scheme of the present invention, and this modification or be equal to the spirit and scope that replacement does not break away from technical solution of the present invention.