A kind of method for distributing resources of downgoing channelized codes
Technical field
The present invention relates to the wireless link synchronization reprovision process of Iub mouth in Wideband Code Division Multiple Access (WCDMA) (the Wideband Code Division Multiple Access) system, specifically, relate to method for distributing resources of downgoing channelized codes in the wireless link synchronization reprovision process of Iub mouth.
Background technology
In the WCDMA system, adopt the spreading code of Orthogonal Variable Spreading Factor OVSF (OVSF) that down channel is carried out spread spectrum.In 3gpp, the spreading code that claims this Orthogonal Variable Spreading Factor OVSF is a channel code.Channel code can represent with a code tree, as shown in Figure 1.A sign indicating number on the code tree can be expressed as Cch, SF, and k, wherein SF is a spreading factor, k represents the numbering of sign indicating number.On channelization code tree, mutually orthogonal between each sign indicating number of same SF, the sign indicating number in different SF and the different code tree branch is also mutually orthogonal, but the sign indicating number of different SF is non-orthogonal in the same code tree branch.Owing in the WCDMA system, utilize the orthogonality of channel code to distinguish different down channels, therefore, after a sign indicating number is assigned with, the sign indicating number node of the lower floor's low speed in its place code tree branch and upper strata sign indicating number node at a high speed can not be assigned with again, promptly get clogged, as shown in Figure 2.Because these characteristics of downgoing channelized codes make downgoing channelized codes become a kind of limited resource, if unreasonable distribution will reduce power system capacity, so the distribution of downgoing channelized codes and management are the core contents of code resource management in the WCDMA system.
The wireless link synchronization reprovision process of WCDMA Iub mouth as shown in Figure 3.Radio network controller (RNC) sends wireless link reconfigured preparation message RADIO LINKRECONFIGURATION PREPARE to base station node B, the new configuration of notice Node B.After Node B is ready to resource, send wireless link reconfigured ready message RADIO LINKRECONFIGURATION READY to RNC.RNC sends wireless link reconfigured submission message RADIO LINK RECONFIGURATION COMMIT to Node B, confirms that this reprovision comes into force.After the submission, new radio link configuration comes into effect.If downgoing channelized codes changes in this process, RNC need distribute new downgoing channelized codes resource for new configuration, and simultaneously before new radio link configuration comes into force, the used downgoing channelized codes resource of old radio link configuration still keeps.In period, same user need take new and old two cover sign indicating number resources, causes serious waste at this section.If at this moment user applies downgoing channelized codes resource is arranged again, might not have idle sign indicating number resource and fail.
Summary of the invention
Technical problem to be solved by this invention provides a kind of method for distributing resources of downgoing channelized codes, reduces the blocking rate of code table, improves the utilance of sign indicating number resource, thereby improves the down channel capacity.
For solving the problems of the technologies described above, it is as follows to the invention provides scheme:
A kind of method for distributing resources of downgoing channelized codes comprises the steps:
Step 1: judge the size of the spreading factor of the spreading factor of new channel code and old channel code, if the spreading factor of new channel code is greater than the spreading factor of old channel code, execution in step two, otherwise, execution in step three;
Step 2: directly first sign indicating number on the spreading factor of the new channel code in the code tree branch of old sign indicating number is distributed, the state that this yard is set is for distributing, the state of old sign indicating number is set to blocked state, and revises the state of other yard in this code tree branch, and the distribution of described new sign indicating number finishes;
Step 3: judge on the subcode tree of the sign indicating number on the spreading factor of channel code new in old sign indicating number code tree branch except that the sign indicating number of old sign indicating number whether all be the free time, if then execution in step four, otherwise, execution in step five;
Step 4: distribute the sign indicating number of this yard for new configuration, for distributing, the state of old sign indicating number is set to blocked state, and revises the state of other yard in this code tree branch with its status modifier, and the distribution of described new sign indicating number finishes;
Step 5: the sign indicating number of the idle condition on the spreading factor of seeking a new channel code on the code tree is distributed to new configuration, and revises the state of other yard in this code tree branch, and the distribution of described new sign indicating number finishes.
Further, in the method for distributing resources of downgoing channelized codes of the present invention, the state of other yard is made amendment according to non-orthogonal obstruction principle in the described modification code tree branch.
Described non-orthogonal obstruction principle is meant that after a sign indicating number is assigned with the sign indicating number node of the lower floor's low speed in its place code tree branch and upper strata sign indicating number node at a high speed will get clogged.
In the method for distributing resources of downgoing channelized codes of the present invention, described step 5 after distributing to new configuration code, discharges old sign indicating number.
Compared with prior art, the invention has the advantages that:
Even the sign indicating number resource that the present invention has utilized new and old two cover configurations to use is non-orthogonal, can not influence these characteristics of normal course of communications yet, in the wireless link synchronization reprovision process of Iub mouth, by distribute the sign indicating number in the same code tree branch for same user, the allocation of downlink channelization code resource has improved the utilance of sign indicating number resource and the capacity of down channel.
Technical problem to be solved by this invention, technical scheme and beneficial effect will be in conjunction with the embodiments, are further described with reference to accompanying drawing.
Description of drawings
Fig. 1 is the channel code tree structure diagram.
Fig. 2 is channelization code allocation and blocks schematic diagram.
Fig. 3 is an Iub mouth wireless link synchronization reprovision process.
Fig. 4 is the flow chart of the method for the invention.
Fig. 5 is the distribution schematic diagram of SF_NEW>SF_OLD, the situation before a represents to distribute, the situation after b represents to distribute.
Fig. 6 is the distribution schematic diagram of SF_NEW<SF_OLD, the situation before a represents to distribute, the situation after b represents to distribute.
Fig. 7 is the distribution schematic diagram of SF_NEW<SF_OLD, the situation before a represents to distribute, the situation after b represents to distribute.
Embodiment
With reference to Fig. 4, be the flow chart of the method for the invention.
A kind of method for distributing resources of downgoing channelized codes comprises the steps:
1, judge the size of the spreading factor SF_OLD of the spreading factor SF_NEW of new channel code and old channel code, if SF_NEW>SF_OLD, then execution in step 2, otherwise execution in step 3;
2, the sign indicating number that directly in the code tree branch of old sign indicating number, distributes first SF_NEW, the state that this yard is set is for distributing, and the state of old sign indicating number is set to blocked state, and revises the state of other yard in this code tree branch, and the distribution of described new sign indicating number finishes;
Here, the state of revising other yard in this code tree branch is made amendment by non-orthogonal obstruction principle.Described non-orthogonal obstruction principle is meant that after a sign indicating number is assigned with the sign indicating number node of the lower floor's low speed in its place code tree branch and upper strata sign indicating number node at a high speed will get clogged.
3, judge on the subcode tree of the sign indicating number on the SF_NEW in old sign indicating number code tree branch except that the sign indicating number of old sign indicating number whether all be the free time, if then execution in step 4, otherwise, execution in step 5;
4, distribute the sign indicating number of this yard for new configuration, for distributing, the state of old sign indicating number is set to blocked state, and revises the state of other yard in this code tree branch with its status modifier, and the distribution of described new sign indicating number finishes;
Here, the state of revising other yard in this code tree branch is also made amendment by non-orthogonal obstruction principle.
5, the sign indicating number of seeking the idle condition of a SF_NEW on code tree is distributed to new configuration, and revises the state of other yard in this code tree branch, and the distribution of described new sign indicating number finishes.
Here, the state of revising other yard in this code tree branch is also made amendment by non-orthogonal obstruction principle; In step 5, after distributing to new configuration code, discharge old sign indicating number.
In the method for distributing resources of downgoing channelized codes of the present invention, described non-orthogonal obstruction principle is meant that after a sign indicating number is assigned with the sign indicating number node of the lower floor's low speed in its place code tree branch and upper strata sign indicating number node at a high speed will get clogged.
Enforcement below in conjunction with Fig. 5,6,7 pairs of the method for the invention describes in further detail.
First kind of situation, as shown in Figure 5, SF_NEW>SF_OLD, direct sign indicating number from old code tree first SF_NEW of distribution of branch, with its status modifier for distributing, the state of old sign indicating number is set to blocked state, and by non-orthogonal obstruction principle the state of other each yards in this code tree branch is set, and state is seen Fig. 5 a, Fig. 5 b respectively before and after distributing.
Second kind of situation, as shown in Figure 6, SF_NEW<SF_OLD, and on the subcode tree of the sign indicating number of SF_NEW, except old sign indicating number, other sign indicating number does not all have to distribute in the code tree branch of old sign indicating number, the sign indicating number that then directly distributes this SF_NEW, for distributing, the state of old sign indicating number is set to blocked state, and the state of other yard in this code tree branch is set by non-orthogonal obstruction principle with its status modifier.State is seen Fig. 6 a, Fig. 6 b respectively before and after distributing.
The third situation, as shown in Figure 7, SF_NEW<SF_OLD, and on the subcode tree of the sign indicating number of SF_NEW, except old sign indicating number, also have other sign indicating number to be assigned with in the code tree branch of old sign indicating number, the sign indicating number that then can not distribute this SF_NEW, sign indicating number that need to seek the idle condition of a new SF_NEW distributes, and discharges true form simultaneously, and the state of other yard in the corresponding code tree branch is set.State is seen Fig. 7 a, Fig. 7 b respectively before and after distributing.
A kind of method for distributing resources of downgoing channelized codes of the present invention, be not restricted to listed utilization in specification and the execution mode, it can be applied to various suitable the present invention's field fully, for those skilled in the art, can easily realize additional advantage and make amendment, therefore under the situation of the spirit and scope of the universal that does not deviate from claim and equivalency range and limited, the examples shown that the present invention is not limited to specific details, representational equipment and illustrates here and describe.