Embodiment
Functional overview
For the problem that carrier distribution method in the correlation technique exists, a kind of carrier frequency distribution algorithm of new support different user grade has been proposed: namely according to the different user grade, a user gradation weight is set, then carries out carrier frequency distribution according to the weighting number of users.
Weighting number of users computational methods are as follows:
Wherein, AwUsersNumber represents the weighting number of users of a carrier frequency, aw[n] expression user gradation be the weighted value of n, for example: aw[3] expression gold user weighted value; UsersNumber[n] represent to have distributed in this carrier frequency actual user's number that user gradation is n.As can be seen from the above equation: weighting number of users=actual user counts the weight of this user gradation of *; Then the weighting number of users of a carrier frequency equals the weighting number of users sum of each user gradation on this carrier frequency.
And in conjunction with above-mentioned algorithm a kind of carrier distribution method has been proposed also.
Concentrate in the available carrier frequencies of obtaining and to find out the minimum carrier frequency of weighting number of users as default carrier frequency to be allocated; And judged whether the recommendation carrier frequency; Recommend carrier frequency if exist, whether first judgement recommendation carrier frequency is included in the available carrier frequencies collection, then calculates the weighting number of users of recommending carrier frequency, calls out according to carrier frequency to keep thresholding and carrier balance thresholding to determine whether that selection recommendation carrier frequency is as carrier frequency to be allocated again; Distribute the carrier frequency that meets the demands.
Hereinafter also describe in conjunction with the embodiments the present invention in detail with reference to accompanying drawing.Need to prove that in the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
Fig. 1 is the flow chart according to the carrier distribution method of the embodiment of the invention.As shown in Figure 1, the carrier distribution method according to the embodiment of the invention comprises following processing (step S101-step S103):
Before execution in step S101, comprise following processing:
(1) obtains current and exhale configuration carrier frequency collection all under the residential quarter;
(2) judge whether given appointment carrier frequency collection of portable terminal;
(3) if the given appointment carrier frequency set of portable terminal need to be found out configuration carrier frequency collection and the common factor of specifying the carrier frequency collection under the current area;
(4) find out all carrier frequency of the CMDA frequency range of its support of satisfying mobile terminal reporting, thereby obtain to satisfy the appointment carrier frequency set that frequency range requires;
(5) at the concentrated normal carrier frequency of state that filters out of the carrier frequency that satisfies the requirement of terminal frequency range, obtain the available carrier frequencies collection;
Step S101: obtain the weighting number of users that available carrier frequencies is concentrated each carrier frequency, wherein, the weighting number of users of each carrier frequency is by the actual user's number that uses this carrier frequency and each actual user's classification;
Wherein, in step S101, obtain the weighting number of users AwUsersNumber that available carrier frequencies is concentrated each carrier frequency by following formula:
Wherein, aw[i] for active user's grade is the weighted value of i, UsersNumber[n] represent to have distributed in this carrier frequency actual user's number that user gradation is i, n is default highest ranking, i is active user's grade, 0≤i≤n.
Step S103: determining that available carrier frequencies is concentrated does not exist the recommendation carrier frequency, obtain that available carrier frequencies is concentrated the carrier frequency of weighting number of users minimum and with this carrier frequency as carrier frequency to be allocated.
Preferably, obtaining available carrier frequencies concentrates the carrier frequency of weighting number of users minimum to comprise following processing:
(1) each carrier frequency of concentrating for available carrier frequencies judges respectively whether the number of users of each carrier frequency carrying surpasses predetermined threshold;
(2) will be divided in above the carrier frequency of predetermined threshold critical overload carrier frequency and concentrate, and the carrier frequency that does not surpass predetermined threshold will be divided in normal carrier frequency concentrate;
(3) not in the situation of empty set at normal carrier frequency collection, choose the carrier frequency that normal carrier frequency is concentrated weighting number of users minimum.
Preferably, if normal carrier frequency collection is empty set, then can concentrates at critical overload carrier frequency and choose at random a carrier frequency as carrier frequency to be allocated.
Preferably, if exist to recommend carrier frequency, and this carrier frequency is in available carrier frequencies and concentrates, and can comprise following processing:
(1) obtains the weighting number of users of recommending carrier frequency;
(2) keep thresholding and carrier balance thresholding, recommend the weighting number of users of carrier frequency according to pre-configured calling, determine whether to select the recommendation carrier frequency as carrier frequency to be allocated.
Wherein, calling out maintenance thresholding and carrier balance thresholding is pre-configured parameter, and the introduction of these two parameters can referring to the document of patent No. CN200610164839.4, repeat no more herein.
Preferably, below satisfying, one of at least in the situation of formula, determine to select to recommend carrier frequency as carrier frequency to be allocated, otherwise the carrier frequency of selecting weighting number of users minimum is as carrier frequency to be allocated:
(1) the weighting number of users of recommendation carrier frequency<calling keeps thresholding;
(2) the weighting number of users of the carrier frequency of the weighting number of users of recommendation carrier frequency<weighting number of users minimum+carrier balance thresholding.
Preferably, behind user of the new adding of a carrier frequency, if the weighting number of users of this carrier frequency has exceeded the maximum weighted number of users that this carrier frequency can hold, then calculate the weighting number of users of this carrier frequency by the maximum weighted number of users, disregard the part that exceeds.
Fig. 2 is the flow chart according to preferred embodiment of the present invention carrier distribution method.As shown in Figure 2, comprise following processing (step S201-step S219) according to preferred embodiment of the present invention carrier distribution method:
Step S201: at first having obtained and having exhaled configuration carrier frequency all under the residential quarter, these carrier frequency information is that user's frequency range, carrier configuration situation and network planning according to reality on the Operation and Maintenance platform arranges;
Step S203: judge whether AT specifies PreferredChannel, under plurality of application scenes, portable terminal and base station negotiate go out PreferredChannel, in this case, can only carry out carrier frequency distribution in the PreferredChannel combination;
Step S205: if specify PreferredChannel, find out current area configuration carrier frequency and the common factor of specifying PreferredChannel;
Step S207: if do not specify PreferredChannel, the candidate carrier frequencies set is the set of current area configuration carrier frequency, otherwise is the carrier frequency set that 103 steps obtain;
Step S209: all carrier frequency of in the candidate carrier frequencies set, finding out the CMDA frequency range of its support of satisfying mobile terminal reporting;
Step S211: be met the carrier frequency set that frequency range requires;
Step S213: judge that one by one satisfying frequency range requires whether the carrier frequency state in the carrier frequency collection is normal, the normal available carrier frequencies collection of the state that filters out;
Step S215: in the available carrier frequencies collection, select the minimum carrier frequency of weighting number of users as default carrier frequency to be allocated; The below will be elaborated in accompanying drawing 2;
Step S217: judged whether the recommendation carrier frequency;
Step S219: if having, judge then and recommend carrier frequency whether to be included in the available carrier frequencies collection, then to calculate the weighting number of users of recommending carrier frequency calling keeps thresholding and carrier balance thresholding to determine whether select to recommend carrier frequency as carrier frequency to be allocated according to carrier frequency again.
Fig. 3 is the calculation flow chart of carrier frequency weighting number of users according to the preferred embodiment of the invention.As shown in Figure 3, this flow process comprises following processing (step S301-step S311):
Step S301: the normal available carrier frequencies collection of the state that obtains;
Step S303: judge one by one whether the carrier frequency in the available carrier frequencies collection transships, the available carrier frequencies collection is divided into normal carrier frequency collection and critical overload carrier frequency collection;
Step S305: calculate the weighting number of users of this carrier frequency, and record the minimum carrier frequency of weighting number of users;
Step S307: circulation execution in step 202, the normal carrier frequency collection of 203 rear acquisitions and critical overload carrier frequency collection;
Step S309: judge whether normal carrier frequency collection is empty;
Step S311: if normal carrier frequency collection is not empty, then the carrier frequency that the weighting number of users is minimum is as default carrier frequency to be allocated.
Fig. 4 is according to the preferred embodiment of the invention at the method flow diagram of recommending to select between carrier frequency and the minimum weighting number of users carrier frequency carrier frequency to be allocated.As shown in Figure 4, this flow process comprises following processing (step S401-step S409):
Step S401: obtain and call out the maintenance thresholding;
Step S403: calculate the weighting number of users of recommending carrier frequency
Step S405: judge whether the weighting number of users of recommending carrier frequency keeps the weighting number of users of thresholding or recommendation carrier frequency less than minimum carrier frequency weighting number of users+carrier balance thresholding less than calling
Step S407: if then select to recommend carrier frequency as carrier frequency to be allocated;
Step S409: otherwise select the minimum carrier frequency of weighting number of users as carrier frequency to be allocated.
By above-described embodiment, a kind of carrier distribution method is provided, can flexibly effectively at configuration carrier frequency collection, according to the user of different brackets, reasonably select the carrier frequency that can satisfy the different brackets customer requirements, and different brackets user mean allocation is arrived each carrier frequency.Not only can satisfy different user to network demand by this algorithm, also reach taking full advantage of and load sharing of resource simultaneously.
Fig. 5 is the structured flowchart according to the carrier frequency distribution device of the embodiment of the invention.Fig. 6 is the structured flowchart of carrier frequency distribution device according to the preferred embodiment of the invention.As shown in Figure 5, the carrier frequency distribution device according to the embodiment of the invention comprises: acquiring unit 50, allocation units 52 are described below in conjunction with Fig. 6.
Acquiring unit 50 is used for obtaining the weighting number of users that available carrier frequencies is concentrated each carrier frequency, and wherein, the weighting number of users of each carrier frequency is by the actual user's number that uses this carrier frequency and each actual user's classification;
Preferably, acquiring unit 50 obtains the weighting number of users AwUsersNumber that available carrier frequencies is concentrated each carrier frequency by following formula:
Wherein, aw[i] for active user's grade is the weighted value of i, UsersNumber[n] represent to have distributed in this carrier frequency actual user's number that user gradation is i, n is default highest ranking, i is active user's grade, 0≤i≤n.
Preferably, as shown in Figure 6, acquiring unit 50 comprises: judge module 500, diversity module 502, choose module 504, wherein, judge module 500 is used for each concentrated carrier frequency of available carrier frequencies, judges respectively whether the number of users of each carrier frequency carrying surpasses predetermined threshold; Diversity module 502 is used for being divided in above the carrier frequency of predetermined threshold critical overload carrier frequency and concentrates, and the carrier frequency that does not surpass predetermined threshold is divided in normal carrier frequency concentrates; Choose module 504, being used at normal carrier frequency collection is not in the situation of empty set, chooses the carrier frequency that normal carrier frequency is concentrated weighting number of users minimum.
Allocation units 52 are connected with acquiring unit 50, are used for concentrating in definite available carrier frequencies not existing in the situation of recommending carrier frequency, the carrier frequency that obtains the concentrated weighting number of users minimum of available carrier frequencies also with this carrier frequency as carrier frequency to be allocated.
Preferably, as shown in Figure 6, allocation units 52 also are used at the weighting number of users that keeps thresholding and carrier balance thresholding, recommendation carrier frequency according to pre-configured calling, determine whether to select to recommend carrier frequency as carrier frequency to be allocated.
Preferably, allocation units one of are used for below satisfying at least determining to select to recommend carrier frequency as carrier frequency to be allocated in the situation of formula, otherwise the carrier frequency of selecting weighting number of users minimum is as carrier frequency to be allocated:
Formula one: the weighting number of users of recommendation carrier frequency<calling keeps thresholding;
Formula two: the weighting number of users of the carrier frequency of the weighting number of users of recommendation carrier frequency<weighting number of users minimum+carrier balance thresholding.
The operation principle that each unit, each module combine in the said apparatus specifically can referring to the description of Fig. 1 to Fig. 4, repeat no more herein.
By above-described embodiment, provide a kind of carrier frequency distribution device.By mutually combining of each unit, each module in this device, can be effectively user's mean allocation of different brackets to each carrier frequency, reach taking full advantage of and load sharing of resource.
In sum, by the above embodiment of the present invention, the carrier distribution method that provides and device, can be flexibly and effectively at configuration carrier frequency collection, according to the user of different brackets, reasonably select the carrier frequency that can satisfy the different brackets customer requirements, and different brackets user mean allocation is arrived each carrier frequency.And, if concentrate in the situation that has the recommendation carrier frequency in patterns available, according to the weighting number of users of calling out maintenance thresholding and carrier balance thresholding, described recommendation carrier frequency, determine to select described recommendation carrier frequency or the carrier frequency of weighting number of users minimum as carrier frequency to be allocated.By above-mentioned pilot distribution method, not only can satisfy different user to network demand, also reached taking full advantage of and load sharing of resource simultaneously.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and be carried out by calculation element, perhaps they are made into respectively each integrated circuit modules, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.