Embodiment
The embodiment of the invention provides a kind of equipment of the core network jamming control method and device, when equipment of the core network takes place when congested, can more accurately determine the ratio of refusing to exhale and carry out the whole network congested control that links; When realizing congested control, can provide as much as possible service for the user.
In order to realize congested control, at first need corresponding load factor to be set for equipment of the core network to equipment of the core network.Different equipments of the core network is owing to its function difference, and the factor that influences its load is different, for example:
For core net circuit domain equipment, the principal element of influence load comprises: caller number of call attempts in the unit interval, called number of call attempts in unit interval, transmitting short message by mobile terminal quantity in unit interval, portable terminal receives number of short in unit interval, position update times in unit interval, interior intelligent call number of times of unit interval etc.;
For core network packet-domain SGSN equipment, the principal element that influences load comprises: routing update number of times in the SGSN unit interval, and PDP activates number of times in the SGSN unit interval, interior switching times of SGSN unit interval etc.;
For core network IMS domain equipment, the principal element of influence load comprises: the unit interval inner multimedia is called out the caller number of call attempts, the unit interval inner multimedia is called out called number of call attempts, quantity sent SMS message in unit interval, receive number of short in unit interval, interior user's times of registration of unit interval etc.
The total load amount of equipment of the core network be its each load factor corresponding load and value.The load of calculating equipment of the core network can adopt various computational methods of the prior art.Be example each load factor is provided with corresponding stressor respectively below, that is:
In the embodiment of the invention, with the following open load that characterizes equipment of the core network:
R=A+F (V1, V2, V3, V4......) formula (1)
In the formula (1): the load when A represents equipment of the core network idle running, i.e. the zero load of equipment load, the equipment difference of different model is bigger, but the equipment difference of same model is little; Vi is the factor that influences load (R), and according to the difference that influences of each factor pair load (R) generation, load can be represented with n unit linear equation: R=A+ Σ (Vi*Ni), Σ (Vi*Ni) can represent the influence of various load factor to load.
Generally speaking, the load of equipment of the core network can characterize with the cpu load amount of equipment, for example: the utilance of CPU (or occupancy); Perhaps the load of internal bus (utilance or occupancy etc.) characterizes.Because the difference of equipment of the core network type, the present invention does not limit the concrete parameter that characterizes the equipment of the core network load.
With the cpu load amount is example:
For core net circuit domain equipment, for example: CPU-LOAD (per hour average load)=A+V1* (caller number of call attempts/hour)+V2* (called number of call attempts/hour)+V3* (position update times/hour)+V4* (short message send out number of times/hour)+V5* (short message receive number of times/hour);
For core network packet-domain SGSN equipment, for example: CPU-LOAD (per hour average load)=A+V1* (the routing update number of times/hour)+V2* (PDP activation number of times/hour)+V3* (switching times/hour);
For core network IMS domain equipment, for example: CPU-LOAD (per hour average load)=A+V1* (multimedia call caller number of call attempts/hour)+V2* (the called number of call attempts of multimedia call/hour)+V3* (user's times of registration/hour)+V4* (short message send out number of times/hour)+V5* (short message receive number of times/hour).
Because CPU-LOAD (per hour average load) can be known from the network management system of managing this equipment of the core network, and the caller number of call attempts/hour, the position update times/hour, PDP activation number of times/hour, short message is received number of times/hour grade and is respectively the unit interval call volume of each load factor correspondence of equipment of the core network, also can from the network management system of managing this equipment of the core network, know, therefore, can be according to the load historical record of equipment of the core network, and the unit interval call volume historical record of each load factor correspondence, determine the unloaded load A of equipment of the core network and each stressor Vi.Be specially:
According to the load factor quantity N of equipment of the core network correspondence, obtain N+1 load historical record of this equipment of the core network; And obtain and each bar load same period of historical record, corresponding unit interval call volume historical record with each load factor of this equipment of the core network; Equal according to the load of equipment of the core network unit interval call volume that unloaded load adds each load factor correspondence and corresponding stressor product and value, obtain N+1 equation; To this N+1 equation simultaneous solution, just can determine N the stressor of N load factor correspondence of this equipment of the core network and the unloaded load of this equipment of the core network.
With above-mentioned core net circuit domain equipment is example:
CPU-LOAD (per hour average load)=A+V1* (caller number of call attempts/hour)+V2* (called number of call attempts/hour)+V3* (position update times/hour)+V4* (short message send out number of times/hour)+V5* (short message receive number of times/hour); Have five load factors, therefore, need obtain 6 load historical records of this core net circuit domain equipment, and obtain and each bar load same period of historical record, corresponding unit interval call volume historical record with each load factor of this equipment of the core network, generate 6 equatioies, suppose as follows:
R1=A+V1*A1+V2*B1+V3*C1+V4*D1+V5*E1;
R2=A+V1*A2+V2*B2+V3*C2+V4*D2+V5*E2;
R3=A+V1*A3+V2*B3+V3*C3+V4*D3+V5*E3;
R4=A+V1*A4+V2*B4+V3*C4+V4*D4+V5*E4;
R5=A+V1*A5+V2*B5+V3*C5+V4*D5+V5*E5;
R6=A+V1*A6+V2*B6+V3*C6+V4*D6+V5*E6;
In above-mentioned 6 equatioies, R1, R2, R3, R4, R5, R6 are 6 cpu load amount historical records of this equipment of the core network of obtaining;
In above-mentioned 6 equatioies, A1, A2, A3, A4, A5, A6 are respectively the corresponding unit interval call volume historical record of load factor 6 same periods of load historical record, this equipment of the core network (caller number of call attempts/hour);
In above-mentioned 6 equatioies, B1, B2, B3, B4, B5, B6 are respectively the corresponding unit interval call volume historical record of load factor 6 same periods of load historical record, this equipment of the core network (called number of call attempts/hour);
In above-mentioned 6 equatioies, C1, C2, C3, C4, C5, C6 are respectively the corresponding unit interval call volume historical record of load factor 6 same periods of load historical record, this equipment of the core network (position update times/hour);
In above-mentioned 6 equatioies, D1, D2, D3, D4, D5, D6 are respectively the corresponding unit interval call volume historical record of load factor 6 same periods of load historical record, this equipment of the core network (short message send out number of times/hour);
In above-mentioned 6 equatioies, E1, E2, E3, E4, E5, E6 are respectively the corresponding unit interval call volume historical record of load factor 6 same periods of load historical record, this equipment of the core network (short message receive number of times/hour);
To above-mentioned 6 equation simultaneous solutions, just can obtain the unloaded load A and each stressor V1, V2, V3, V4, V5 of this equipment of the core network.
In the practical application, can also revise above-mentioned unloaded load and each stressor of determining.Concrete modification method can adopt various data fitting method of the prior art, as adopting polynomial curve least square fitting etc.The main method of data fitting method is to gather a plurality of (number of times of N+1 the parameter correspondence of finding the solution much larger than needs) load historical record; And obtain the same period corresponding unit interval call volume historical record corresponding with each load factor of this equipment of the core network with each bar load historical record, unloaded load A and each stressor V1, V2, V3, V4, V5 are revised, thereby make that to multiply by the equipment of the core network total load amount that corresponding load factor unit interval call volume calculates according to unloaded load A and each stressor Vi approaching as far as possible with the equipment of the core network total load that collects.The most frequently used data fitting method comprises the polynomial curve least square fitting at present.
After having obtained the unloaded load and each stressor of equipment of the core network, just can adopt the present invention's flow process shown in Figure 1, equipment of the core network is carried out congested control.Specifically comprise:
The current load of step S101, detection equipment of the core network.
Step S102, judge that whether the current load of equipment of the core network surpasses setting threshold, if surpass setting threshold, goes to step S101; When the current load of equipment of the core network surpasses setting threshold, carry out the following step.
Step S103, in each load factor of equipment of the core network, determine the overload factor that needs control.
Step S104, obtain the unit interval call volume of the current period correspondence of each load factor of this equipment of the core network.
Step S105, calculate the load of the current period correspondence of all the other load factors except that the overload factor of determining in each load factor; With the load upper limit that this equipment of the core network is set, deduct the load of the current period correspondence of all the other load factors that calculates and the unloaded load of this equipment of the core network, obtain the load of the current period correspondence of overload factor;
With above-mentioned employing stressor calculated load amount is example, the product of the unit interval call volume that the load of the current period correspondence of all the other load factors equals the current period correspondence of all the other each load factors and corresponding stressor and value;
Step S106, calculate the maximum unit time call volume of the current period correspondence of overload factor;
With above-mentioned employing stressor is example, the concrete grammar of the maximum unit time call volume of the current period correspondence of calculated load factor is: use the stressor of the load of the current period correspondence of overload factor divided by overload factor correspondence, obtain the maximum unit time call volume of the current period correspondence of overload factor;
Step S107, calculate overload factor correspondence refuse to exhale ratio;
Be example still with above-mentioned employing stressor, calculate overload factor correspondence refuse exhale the ratio concrete grammar to be: the ratio that calculates the maximum unit time call volume of the current period correspondence of the overload factor unit interval call volume corresponding with the current period of overload factor of obtaining, deduct this ratio with 1, obtain refusing to exhale ratio;
Step S108, with the overload factor and calculate refuse the equipment of the core network that the ratio of exhaling is notified to this equipment of the core network and/or adjacency;
The equipment of the core network of step S109, the equipment of the core network that obtains notifying and/or adjacency is refused to exhale according to refusing the ratio of exhaling to the calling of overload factor correspondence.
In the said method provided by the invention, need to detect the current load (as obtain its current C PU load by the network management system of equipment of the core network) of equipment of the core network, and with the load threshold ratio of setting, current load represents that this equipment of the core network load is normal during less than the load threshold value set; When current load surpasses the load threshold value of setting, represent that the load of this equipment of the core network is bigger, need to start congested control.
As previously mentioned, because the load factor of equipment of the core network is more, when starting congested control, at first need to determine the overload factor of needs control.For example: preestablish the load control strategy,, determine the overload factor according to the load control strategy of setting.The load control strategy can be provided with and revise flexibly, for example:
1) sets by the period.
For core net circuit domain equipment, at ordinary times or festivals or holidays, need be according at ordinary times or the ratio of the festivals or holidays position success rate of new business more that guarantees audio call, note and user; Under disaster scenarios it such as earthquake, only require to guarantee the success rate of audio call and position renewal, when congested control, can not consider the transmission success rate of note etc., be about to note as the overload factor, controlled;
For the core network IMS domain, at ordinary times or festivals or holidays, need according at ordinary times or the ratio of festivals or holidays guarantee that multimedia call, note and user register professional success rate; Under disaster scenarios it such as earthquake, only require to guarantee multimedia call and user registration success rate, when congested control, can not consider the transmission success rate of note etc., be about to note as the overload factor, controlled;
For core network packet-domain, at ordinary times or festivals or holidays, need according at ordinary times or the ratio of festivals or holidays guarantee that PDP activates and the success rate of routing update; Under disaster scenarios it such as earthquake, can not guarantee the equipment of packet domain.
2) determine according to the unit interval call volume historical record of each load factor.
Obtain unit interval call volume historical record apart from current time each load factor in nearer a period of time, if the recent unit interval call volume historical record of some (or a plurality of) load factor is obviously higher (as apparently higher than at ordinary times assembly average, or the maximum statistical value before being higher than surpasses setting threshold), then with this (or a plurality of) load factor as the overload factor.
Refuse to exhale ratio for what comparatively accurately determine overload factor correspondence, the present invention need obtain the unit interval call volume of the current period correspondence of each load factor of this equipment of the core network, and carries out above-mentioned steps S105, obtains the load of the current period correspondence of overload factor; Execution in step S106 obtains the maximum unit time call volume of the current period correspondence of overload factor; Refuse to exhale ratio by what step S107 calculated overload factor correspondence; And with the overload factor and calculate refuse the equipment of the core network that the ratio of exhaling is notified to this equipment of the core network and/or adjacency; The equipment of the core network that obtains notifying and/or the equipment of the core network of adjacency are refused to exhale according to refusing the ratio of exhaling to the calling of overload factor correspondence.Thereby realized the congested control that links of the whole network to this equipment of the core network.And owing to refuse the ratio of exhaling is to determine according to the load upper limit that unit interval call volume and this equipment of the core network of each load factor correspondence of current period are set, therefore, refuse to exhale according to the ratio of exhaling of refusing that calculates, can effectively carry out congested control according to the actual load situation of current this equipment of the core network of period, again can be under the situation of the load upper limit that is no more than this equipment of the core network, for the user provides service, fully effectively utilize the equipment of the core network resource to greatest extent.
Above-mentioned only is a preferred embodiment of the present invention, in the above-described embodiments, is to determine according to the unit interval call volume and the corresponding stressor thereof of load factor for the calculating of load.In the reality, the calculating of load can also be adopted other multiple account form, and the present invention does not limit this.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, this program can be stored in the computer read/write memory medium, as: ROM/RAM, magnetic disc, CD etc.
Based on same inventive concept, the embodiment of the invention also provides a kind of equipment of the core network congestion control device, and its structural representation comprises as shown in Figure 2:
Whether detection module 22 is used to detect the load of equipment of the core network above setting threshold;
Overload factor determination module 23 is used for the equipment of the core network of detection module 22 detected load above setting threshold determined the overload factor that needs control;
Data acquisition module 24 is used to obtain the unit interval call volume of the current period correspondence of each load factor of equipment of the core network;
Refuse to exhale ratio computing module 25, be used for calculating the load of all the other load factors current period correspondence of each load factor except that the overload factor of equipment of the core network; And
According to the load upper limit of the equipment of the core network of setting, the load of the current period correspondence of all the other load factors and the unloaded load of equipment of the core network obtain the load of the current period correspondence of overload factor; And
Determine the maximum unit time call volume of the current period correspondence of overload factor according to the load of the current period correspondence of overload factor; And
The unit interval call volume of the current period correspondence of obtaining according to the maximum unit time call volume and the data acquisition module 24 of the current period correspondence of overload factor of overload factor is determined and is refused to exhale ratio;
Congested control command sending module 26 is used for the overload factor that overload factor determination module 23 is determined and refuses to exhale that ratio computing module 25 calculates refuses to exhale ratio, is notified to the equipment of the core network of this equipment of the core network and/or adjacency; Indicate of the calling of the equipment of the core network of this equipment of the core network and/or adjacency, refuse to exhale according to refusing the ratio of exhaling to overload factor correspondence.
Among one embodiment, the equipment of the core network congestion control device also comprises:
Parameter determination module 21, be used for load historical record according to equipment of the core network, and the unit interval call volume historical record of each load factor correspondence of equipment of the core network, determine the unloaded load of this equipment of the core network and the stressor corresponding with each load factor;
Data acquisition module 24 also is used to obtain the load historical record of equipment of the core network and the unit interval call volume historical record of each load factor correspondence of equipment of the core network;
Refuse to exhale ratio computing module 25, specifically be used for calculating equipment of the core network all the other load factors current period correspondence of each load factor except that the overload factor unit interval call volume and corresponding stressor product and value, obtain the load of the current period correspondence of all the other load factors; And
The load upper limit with this equipment of the core network of setting deducts the load of the current period correspondence of all the other load factors and the unloaded load of equipment of the core network, obtains the load of the current period correspondence of overload factor; And
With the load of the current period correspondence of overload factor stressor, obtain the maximum unit time call volume of the current period correspondence of overload factor divided by overload factor correspondence; And
Calculate the ratio of the maximum unit time call volume of the current period correspondence of the overload factor unit interval call volume corresponding, deduct the ratio that calculates with 1, obtain refusing to exhale ratio with the current period of overload factor of obtaining.
Among one embodiment, the equipment of the core network congestion control device also comprises:
Correcting module 27, the stressor and the unloaded load that are used for parameter determination module 21 is determined are revised by the data fitting processing.
Among one embodiment, the equipment of the core network congestion control device also comprises:
Load control strategy memory module 28 is used to store default load control strategy;
Overload factor determination module 23 according to the load control strategy of storage in this load control strategy memory module 28, is determined the overload factor that needs control.
Among one embodiment, above-mentioned parameter determination module 21 further comprises:
Record acquiring unit 211, be used for load factor quantity N according to the equipment of the core network correspondence, from data acquisition module 24, obtain N+1 load historical record of equipment of the core network, and obtain the corresponding unit interval call volume historical record of each load factor described same period of load historical record with each bar, this equipment of the core network;
Parameter calculation unit 212, be used for load according to equipment of the core network equal unit interval call volume that unloaded load adds each load factor correspondence and corresponding stressor product and value, obtain N+1 equation; To N+1 equation simultaneous solution, determine the stressor and the unloaded load of N load factor correspondence of this equipment of the core network.
In sum, equipment of the core network jamming control method and device that the above embodiment of the present invention provides, by equipment of the core network being provided with its each load factor, and determine the stressor of each load factor correspondence, equal according to the load of equipment of the core network unit interval call volume that unloaded load adds each load factor correspondence and corresponding stressor product and value, when the load that detects equipment of the core network surpasses setting threshold, in each load factor of this equipment of the core network, determine the overload factor that needs control earlier; What calculate overload factor correspondence refuses to exhale ratio; With the overload factor determined and calculate refuse the equipment of the core network that the ratio of exhaling is notified to this equipment of the core network and/or adjacency; By the calling to overload factor correspondence of the equipment of the core network of equipment of the core network and/or adjacency, the ratio of exhaling of refusing as per advice refuses to exhale, and realizes the whole network congested control that links.Owing to refuse the ratio of exhaling is to determine according to the load upper limit that unit interval call volume and this equipment of the core network of each load factor correspondence of current period are set, therefore, refuse to exhale according to the ratio of exhaling of refusing that calculates, can effectively carry out congested control according to the actual load situation of current this equipment of the core network of period, again can be under the situation of the load upper limit that is no more than this equipment of the core network, for the user provides service, fully effectively utilize the equipment of the core network resource to greatest extent.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.