Method and the device of the load in a kind of balance dispatching evolved base station
Technical field
The present invention relates to the resource allocation techniques in moving communicating field Long Term Evolution (LTE, Long Term Evolution) system, relate in particular to method and the device of the load in a kind of balance dispatching evolved base station (eNodeB).
Background technology
In LTE system, the priority of internet protocol voice technology (VoIP, Voice over Internet Protocol) business is higher than non-VoIP business, so while carrying out scheduling of resource, eNodeB is preferably VoIP business scheduling resource.When the VoIP traffic carrying capacity processed as eNodeB is more, may dispatch more resource for VoIP business.But the total resources of each scheduling are controlled the restriction of Channel Elements (CCE, Control Channel Element) resource, more VoIP business can take a large amount of CCE resources.So, when VoIP business in eNodeB is more, this eNodeB can be the more resource of VoIP business priority scheduling, the number of resources that can dispatch to non-VoIP business is reduced, may occur not having resource can dispatch the situation to non-VoIP business, thereby affect the experience of non-VoIP service-user.Further, the relative channel condition of this eNodeB better and the lighter adjacent eNodeB of load, but owing to the VoIP business of this eNodeB cannot being switched to adjacent eNodeB, thereby cause the resource of this adjacent eNodeB to make full use of, and then cannot improve the bandwidth resources utilance of system.
Visible, while in prior art being VoIP business scheduling resource, owing to not considering the actual service condition of resource in current eNodeB, thereby affect the experience of non-VoIP service-user, and the bandwidth resources utilance that cannot improve system.
Summary of the invention
In view of this, the object of the present invention is to provide method and the device of the load in a kind of balance dispatching eNodeB, guarantee the user's of non-VoIP business experience; And, the resource of adjacent eNodeB is made full use of, thereby improves the bandwidth resources utilance of system.
For achieving the above object, technical scheme of the present invention is achieved in that
The method that the invention provides the load in a kind of balance dispatching eNodeB, the method comprises:
Statistics detects the total throughout of VoIP business in duration, and calculates the total CCE resources occupation rate in described detection duration;
If judge, total CCE resources occupation rate is greater than preset decision threshold, and judges that the total throughout of VoIP business is greater than preset handoff threshold, is switched to selected eNodeB by the subsequent treatment that completes the VoIP business of calling out access process.
In such scheme, described statistics detects the total throughout of VoIP business in duration, comprise: determine and start after detection, open timer, the request message of the initiation VoIP business whether detection in real time receives, when detecting the request message of initiating VoIP business, add up and record throughput corresponding to VoIP business this time, when timer reaches detection duration, the throughput that all VoIP business of current record are corresponding adds up, and obtains the total throughout of VoIP business in preset detection duration.
In such scheme, total CCE resources occupation rate in the described detection duration of described calculating, comprise: determine and start after detection, open timer, the CCE resource of the current distribution of real time record, when timer reaches detection duration, the CCE resource of the current distribution of all records is added up, obtain detecting the CCE resource of having used in duration; Calculate and detect the ratio value that the CCE resource of having used in duration accounts for total CCE resource.
In such scheme, the total CCE resources occupation rate of described judgement is greater than preset decision threshold, and the total throughout of judging VoIP business is greater than preset handoff threshold, comprise: judge whether total CCE resources occupation rate is greater than preset decision threshold, whether the total throughout that if so, judges VoIP business is greater than preset handoff threshold; Otherwise, end process flow process.
In such scheme, described the subsequent treatment that completes the VoIP business of calling out access process is switched to selected eNodeB, comprise: eNodeB receives after the request message of initiating VoIP business, according to SIP, detect described VoIP business and whether complete calling access process, if complete, the subsequent treatment that this is completed to the VoIP business of calling out access process is switched to selected eNodeB.
In such scheme, described selected eNodeB, for: from adjacent eNodeB list, choose channel condition preferably or an eNodeB that idling-resource is maximum as selected eNodeB.
The present invention also provides the device of the load in a kind of balance dispatching eNodeB, and this device comprises: computing module, judge module and scheduler module; Wherein,
Computing module, for adding up the total throughout that detects VoIP business in duration, and calculates the total CCE resources occupation rate in described detection duration, and the total throughout of VoIP business and total CCE resources occupation rate are sent to judge module;
Judge module, for receiving total throughout and total CCE resources occupation rate of the VoIP business that computing module sends, if judge, total CCE resources occupation rate is greater than preset decision threshold, and the total throughout of judging VoIP business is greater than preset handoff threshold, notify scheduler module result of determination to switch for starting.
Scheduler module, when receiving that judge module is sent the result of determination that starts to switch, is switched to selected eNodeB by the subsequent treatment that completes the VoIP business of calling out access process.
In such scheme, described device also comprises: control module, for determining, start after detection, open timer, the request message of the initiation VoIP business whether detection in real time receives, when detecting the request message of initiating VoIP business, add up throughput corresponding to VoIP business this time, and this throughput corresponding to VoIP business sent to computing module, when timer reaches detection duration, notice computing module starts the total throughout that statistics detects VoIP business in duration;
Accordingly, described computing module, throughput corresponding to single VoIP business of also sending for receiving and preserve control module, and receive that the statistics that starts that control module is sent detects after the total throughout of VoIP business in duration, the throughput that all VoIP business of current record are corresponding adds up, and obtains detecting the total throughout of VoIP business in duration.
In such scheme, described control module, also starts after detection for determining, open timer, the CCE resource of the current distribution of notice computing module real time record, when timer reaches detection duration, notice computing module starts to calculate the total CCE resources occupation rate detecting in duration;
Accordingly, described computing module, also for receiving after the CCE resource of the current distribution of real time record that control module is sent, from scheduler module, obtain CCE resource the record of current distribution, receive that the calculating that starts that control module is sent detects after the total CCE resources occupation rate notice in duration, from scheduler module, obtain total CCE resource, the CCE resource that the current eNodeB of all records is distributed adds up, obtain detecting the CCE resource of having used in duration, calculate the ratio value that the CCE resource of having used accounts for total CCE resource;
Described scheduler module, is also used to computing module that CCE resource and total CCE resource of current distribution are provided.
In such scheme, described judge module, specifically for judging whether total CCE resources occupation rate is greater than preset decision threshold, if so, judges whether the total throughout of VoIP business is greater than preset handoff threshold, otherwise, do not operate.
In such scheme, described scheduler module, specifically for control module being detected, receive after the request message of initiating VoIP business, according to SIP, detect described VoIP business and whether complete calling access process, if complete, this subsequent treatment that completes the VoIP business of calling out access process in control module is switched to selected eNodeB;
Accordingly, described control module, also for the detection of receiving scheduling module, and is switched to selected eNodeB according to the operation of scheduler module by the subsequent treatment that completes the VoIP business of calling out access process.
In such scheme, described scheduler module, specifically for the adjacent eNodeB list from self preserves, choose channel condition preferably or an eNodeB that idling-resource is maximum as selected eNodeB.
Method and the device of the load in balance dispatching eNodeB provided by the present invention, can be greater than preset decision threshold in total CCE resources occupation rate, and when the total throughout of VoIP business is greater than preset handoff threshold, the subsequent treatment that completes the VoIP business of calling out access process is switched to selected eNodeB.So, can determine the resource service condition in current eNodeB according to the total throughout of VoIP business and total CCE resources occupation rate, the resource that allotment VoIP business is used, thereby, can guarantee to leave certain resource for non-VoIP business in current eNodeB, and then guarantee the user's of non-VoIP business experience; And, by the section processes operation in VoIP business is switched in selected eNodeB, the resource of this selected eNodeB can be made full use of, thereby improves the bandwidth resources utilance of system.
Accompanying drawing explanation
Fig. 1 is the method flow schematic diagram of the load in balance dispatching eNodeB of the present invention;
Fig. 2 is the installation composition structural representation of the load in balance dispatching eNodeB of the present invention.
Embodiment
Basic thought of the present invention is: statistics detects the total throughout of VoIP business in duration, and calculates the total CCE resources occupation rate in this detection duration; If judge, total CCE resources occupation rate is greater than preset decision threshold, and judges that the total throughout of VoIP business is greater than preset handoff threshold, is switched to selected eNodeB by the subsequent treatment that completes the VoIP business of calling out access process.
Below in conjunction with drawings and the specific embodiments, the present invention is further described in more detail.
The method of the load in a kind of balance dispatching eNodeB provided by the invention, as shown in Figure 1, comprises the following steps:
Step 101: statistics detects the total throughout of VoIP business in duration, and calculates the total CCE resources occupation rate in this detection duration.
Here, described detection duration is the one section duration preset according to actual conditions, such as can preset detection duration be 20 minutes;
The total throughout that described statistics detects VoIP business in duration is: determine and start after detection, open timer, the request message of the initiation VoIP business whether detection in real time receives, when the request message of initiating VoIP business being detected, add up and record throughput corresponding to VoIP business this time, when timer reaches detection duration, the throughput that all VoIP business of current record are corresponding adds up, and obtains the total throughout of VoIP business in preset detection duration.Wherein, describedly determine that start to detect can be for detecting according to the preset cycle of actual conditions, carry out one-time detection such as preset every two hours, also can be for controlling and start to detect by administrative staff; The request message of described initiation VoIP business is the message of regulation in prior art Session initiation Protocol (SIP, Session Initiation Protocol), does not repeat here; The function that the eNodeB that being retrieved as of the throughput that described this VoIP business is corresponding stipulated in prior art possesses, does not repeat here.
Total CCE resources occupation rate in this detection duration of described calculating comprises: determine and start after detection, open timer, the CCE resource that the current eNodeB of real time record distributes, when timer reaches detection duration, the CCE resource that eNodeB distributes the current eNodeB of all records adds up, and obtains detecting the CCE resource of having used in duration; Calculate and detect the ratio value that the CCE resource of having used in duration accounts for total CCE resource in this eNodeB, computing formula is:
wherein, CCENum_occupied is the CCE resource of using in described preset detection duration, and CCENum_total is total CCE resource in described preset detection time; Wherein, in the CCE resource that described eNodeB has been used and this eNodeB, the acquisition methods of total CCE resource is prior art.
Step 102: judge that whether total CCE resources occupation rate is greater than preset decision threshold, if so, performs step 103; Otherwise, end process flow process.
Here, described decision threshold is the ratio preset according to actual conditions, such as, can be predisposed to 90%.
Step 103: whether the total throughout that judges VoIP business is greater than preset handoff threshold, if so, performs step 104; Otherwise, end process flow process.
Here, described handoff threshold is the ratio preset according to actual conditions, such as, can be predisposed to 70%.
Step 104: the subsequent treatment that completes the VoIP business of calling out access process is switched to selected eNodeB.
Be specially: eNodeB detects self whether to receive the request message of initiating VoIP business in real time, if receive, according to SIP, detect this VoIP business and whether complete calling access process, if complete, the subsequent treatment that this is completed to the VoIP business of calling out access process is switched to selected eNodeB.
Here, describedly according to SIP, detect this VoIP business and whether complete that to call out access process be prior art, do not repeat here; The described subsequent treatment that completes the VoIP business of calling out access process is the processing to call, and eNodeB can carry out the operations such as CCE distribution for the call of this VoIP business, be prior art, does not repeat here.
Described selected eNodeB for from adjacent eNodeB list, choose channel condition preferably or an eNodeB that idling-resource is maximum as selected eNodeB; Described adjacent eNodeB list is the list that eNodeB maintains according to prior art, wherein records channel condition and the resource service condition of each adjacent eNodeB.
In addition, after above-mentioned steps 104 completes, eNodeB also can be according to the preset cycle, repeated execution of steps 101; Or after step 104 completes, eNodeB, according to administrative staff's operation, performs step 101.When total CCE resources occupation rate is not more than or when VoIP service resources occupancy is not more than preset handoff threshold, end process flow process, no longer switches to selected eNodeB by VoIP business.
The present invention proposes the device of the load in a kind of balance dispatching eNodeB, as shown in Figure 2, comprising: computing module 21, scheduler module 23 and judge module 22; Wherein,
Computing module 21, for adding up the total throughout that detects VoIP business in duration, and calculates the total CCE resources occupation rate in this detection duration, and the total throughout of VoIP business and total CCE resources occupation rate are sent to judge module 22;
Judge module 22, for receiving total throughout and total CCE resources occupation rate of the VoIP business that computing module 21 sends, if judge, total CCE resources occupation rate is greater than preset decision threshold, and the total throughout of judging VoIP business is greater than preset handoff threshold, notify scheduler module 23 result of determination to switch for starting.
Scheduler module 23, when receiving that judge module 22 is sent the result of determination that starts to switch, is switched to selected eNodeB by the subsequent treatment that completes the VoIP business of calling out access process.
Described device also comprises: control module 24, and for preserving according to the preset one section of duration of actual conditions as detecting duration, such as can preset detection duration be 20 minutes.
Described control module 24, also for determining, start after detection, open timer, the request message of the initiation VoIP business whether detection in real time receives, when the request message of initiating VoIP business being detected, add up throughput corresponding to VoIP business this time, this throughput corresponding to VoIP business sent to computing module 21, when timer reaches detection duration, notice computing module 21 starts the total throughout that statistics detects VoIP business in duration; Accordingly, described computing module 21, throughput corresponding to single VoIP business of also sending for receiving and preserve control module 24, and receive that the statistics that starts that control module 24 is sent detects after the total throughout of VoIP business in duration, the throughput that all VoIP business of current record are corresponding adds up, and obtains the total throughout of VoIP business in preset detection duration.
Described control module 24, specifically for determining and start to detect according to preset cycle of actual conditions, carries out one-time detection such as preset every two hours, or determines and start to detect according to administrative staff's control.
Described control module 24, also for determining, start, after detection, to open timer the CCE resource of the current distribution of notice computing module 21 real time record, when timer reaches detection duration, notice computing module 21 starts to calculate the total CCE resources occupation rate detecting in duration; Accordingly, described computing module 21, also for receiving after the CCE resource of the current distribution of real time record that control module 24 is sent, from scheduler module 23, obtain CCE resource the record of current distribution, and receive that the calculating that starts that control module 24 is sent detects after the total CCE resources occupation rate notice in duration, from scheduler module 23, obtain total CCE resource, the CCE resource that the current eNodeB of all records is distributed adds up, obtain detecting the CCE resource of having used in duration, calculate the ratio value that the CCE resource of having used accounts for total CCE resource; Described scheduler module 23, is also used to computing module 21 that CCE resource and total CCE resource of current distribution are provided;
Wherein, the computing formula that the CCE resource that described calculating has been used accounts for the ratio value of total CCE resource is:
wherein, CCENum_occupied is the CCE resource of using in described preset detection duration, and CCENum_total is total CCE resource in described preset detection time.
Described judge module 22, specifically for judging whether total CCE resources occupation rate is greater than preset decision threshold, if so, judges whether the total throughout of VoIP business is greater than preset handoff threshold, otherwise, do not operate.
Described judge module 22, specifically for judging whether the total throughout of VoIP business is greater than preset handoff threshold, if so, sends to scheduler module 23 result of determination that starts switching, otherwise, do not operate; Accordingly, described scheduler module 23, specifically for receiving after the result of determination that starts to switch that judge module 22 sends, whether real-time measure and control module 24 receives the request message of initiating VoIP business, if receive, according to SIP, detect this VoIP business and whether complete calling access process, if complete, the subsequent treatment that this is completed to the VoIP business of calling out access process is switched to selected eNodeB.
Described scheduler module 23, specifically for the adjacent eNodeB list for from self preserves, choose channel condition preferably or an eNodeB that idling-resource is maximum as selected eNodeB.
Said apparatus can be used as logical block and is arranged in eNodeB.
The above, be only preferred embodiment of the present invention, is not intended to limit protection scope of the present invention.