Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method and mobile terminal of reading routing information of home cells, can control mobile terminal and from home cell, read required routing iinformation, assists macrocell to carry out the decision of handover decisions.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of method that the invention provides reading routing information of home cells, arranges timer, and the method also comprises:
Mobile terminal is searched for home cell in the adjacent macro cell of current macrocell; Described mobile terminal, in the timing range of described timer, reads required routing iinformation from the home cell searching.
Wherein, described required routing iinformation at least comprises the unique identification of home cell.
When described mobile terminal to search arrives home cell, the method also comprises: open described timer.
Described search home cell, specifically comprises:
Mobile terminal, according to each centre carrier frequency of mobile communication system under it and the physical layer identifications scope of preallocated home cell, is searched for home cell in the adjacent macro cell of current macrocell.
Before described mobile terminal reads required routing iinformation, the method also comprises:
Judge that whether current macrocell is identical with the centre carrier frequency of the home cell searching, and when centre carrier frequency is identical, described mobile terminal reads required routing iinformation;
When centre carrier frequency is different, judge whether described mobile terminal has enough free time, and when having enough free time, described mobile terminal reads required routing iinformation; When there is no enough free time, described mobile terminal is to current macrocell application measurement clearance, and the measurement clearance that mobile terminal distributes according to current macrocell, reads required routing iinformation; Or described mobile terminal does not first read required routing iinformation.
When mobile terminal described timer then before or to constantly, while reading all required routing iinformations, the method also comprises: described mobile terminal reports current macrocell by all required routing iinformation reading, and stops described timer;
When mobile terminal arrives constantly at timer, while not reading all required routing iinformations, the method also comprises: described mobile terminal reports current macrocell by the part routing iinformation having read, or mobile terminal does not report routing iinformation to current macrocell.
The present invention also provides a kind of mobile terminal, comprising:
Timer units, for arranging timer;
Data search unit, searches for home cell for the neighbor cell at current macrocell;
Data-reading unit, in the timing range of described timer, from described data search unit searches to home cell read required routing iinformation.
Wherein, described timer units, also for when described data search unit searches arrives home cell, opening timing device.
In addition, this mobile terminal also comprises:
Data processing unit, before reading required routing iinformation in data-reading unit, judges that whether current macrocell is identical with the centre carrier frequency of home cell; Also, for when described centre carrier frequency is different, judge whether mobile terminal has enough free time, and when mobile terminal does not have enough free time, to current macrocell, obtain measurement clearance.
Accordingly, described data-reading unit, also when judging that at described data processing unit the centre carrier frequency of current macrocell and home cell is identical; Or judge when mobile terminal has enough free time; Or while getting measurement clearance, read required routing iinformation; Also, for when judging that described mobile terminal does not have enough free time, do not read required routing iinformation.
In the present invention, condition when to mobile terminal reading routing information of home cells judges, whether whether as whether identical with the centre carrier frequency of home cell in current macrocell, current mobile terminal have the traffic of enough free time, current mobile terminal larger etc., can control mobile terminal and rationally, effectively read required routing iinformation.
In addition, the present invention is also by control the time that mobile terminal reads routing iinformation with timer, with guarantee mobile terminal can be in time, normally carry out the switching of community.Meanwhile, the routing iinformation of the home cell that current macrocell reads according to mobile terminal just can find target home cell exactly, makes correct handover decisions.
Embodiment
Below in conjunction with the drawings and specific embodiments, the technical solution of the present invention is further elaborated.
The present invention proposes a kind of method of carrying out reading routing information of home cells by controlling mobile terminal, as shown in Figure 1, specifically comprise:
Step 101, mobile terminal searches home cell in the adjacent macro cell of current macrocell, and opening timing device.
When mobile terminal needs switching cell, can automatically to the adjacent macro cell of current macrocell, search for.In the present invention, the frequency information that mobile terminal issues by mobile communication system, as each centre carrier frequency and physical layer identifications are searched for the home cell in adjacent macro cell.
Mobile terminal can be according to each centre carrier frequency of mobile communication system under it, neighbor cell is searched for, whether when mobile terminal searches community in certain centre carrier frequency, by the physical layer identifications of this community, can judge this community is home cell.
Preferably, can set in advance the scope of the physical layer identifications of home cell in current region, supposing the system is that current region has distributed 510 physical layer identifications, binary number representation with 9, in current region, the scope of cell physical layer identifiers is: 000000000~111111110, can set the home cell that front 50 physical layer identifications are distributed in current region uses, the macrocell that remaining physical layer identifications is all distributed in current region is used, in this region, the physical layer identifications scope of home cell is: 000000000~000110010, the physical layer identifications reading when terminal is within the scope of this time, can judge that this community is as home cell.
In addition, because mobile terminal is to search for home cell according to the centre carrier frequency of system, therefore, when terminal searches home cell in certain centre carrier frequency, this centre carrier frequency is the frequency of this home cell.
When mobile terminal searches home cell in adjacent macrocell, open default timer.Preferably, can be initial value of set timer, the initial value of this timer can be set as required by system, and is handed down to mobile terminal by broadcast channel, and mobile terminal can carry out countdown according to this initial value, until timer is then; Also can be set timer timing length, initial value be 0, when starting timing, according to initial value, adds timing, until arrive timing length.The timing mode that can certainly have other.
Step 102, judges that whether home cell is identical with the centre carrier frequency of current macrocell, if not, and execution step 103; If so, execution step 106.
When mobile terminal to search arrives home cell, also obtain its centre carrier frequency of cicada, then judge that whether the centre carrier frequency of this home cell and the centre carrier frequency of current community of living in be identical, judge that whether the centre carrier frequency of home cell is identical with the centre carrier frequency of the current use of mobile terminal, if it is not identical, mobile terminal is if remove at this moment to read the routing iinformation of home cell so, mobile terminal must first stop current communication, adjust the receiver frequency of himself, vacate a period of time and remove specially to read routing iinformation, can have a strong impact on the communication quality of mobile terminal like this, therefore when the centre carrier frequency of home cell is different with the centre carrier frequency of current community of living in, execution step 103, first judge whether mobile terminal has enough free time, if identical, perform step 106, mobile terminal can directly read routing iinformation from the broadcast channel of home cell.Wherein, the centre carrier frequency of current macrocell is handed down to mobile terminal by base station when mobile terminal enters current macrocell.
It is pointed out that step 102 is optional.In the situation that there is no step 102, mobile terminal to search, after home cell opening timing device, directly reads required routing iinformation, or execution step 103, and whether judge that mobile terminal is current has enough free time.
Step 103, judges whether mobile terminal has enough free time, if not, performs step 104; If so, perform step 106.
Because the routing iinformation of home cell is to send with certain cycle period on its broadcast channel, so want to read all routing iinformations in this home cell, mobile terminal at least needs the time of a cycle period, suppose that the cycle period of setting is 10s, mobile terminal at least needs the time of 10s just can read all routing iinformations in this home cell.
In addition, when mobile terminal is in disconnected reiving/transmitting state or mobile terminal is current while there is no the traffic, just have certain free time not go to receive and send data, can utilize this period of free time to read routing iinformation.
When mobile terminal is during in disconnected reiving/transmitting state, preferably, system can be set the time of mobile terminal in disconnected reiving/transmitting state as required, as 60s, and be set in used for mobile terminal in this period and how long receive and send data, as 40s, so remaining time mobile terminal is idle condition, not carrying out reception and the transmission of any data, is free time, as 20s during this period of time.Mobile terminal comparison this period of free time and need to read all routing iinformations the minimum time, be the cycle period that home cell sends routing iinformation, as 10s, if free time is greater than cycle period, think that mobile terminal has enough free time to read routing iinformation, execution step 106, mobile terminal can be adjusted the frequency of self receiver within this period of free time, make it frequency with home cell identical after, read the routing iinformation of home cell; If free time is less than cycle period, think that mobile terminal does not have enough free time, performs step 104.
It is pointed out that step 103 is optional.In the situation that there is no step 103, mobile terminal, after searching home cell opening timing device, directly reads required routing iinformation; Or mobile terminal is when the centre carrier frequency of judging current macrocell and home cell is different, and required routing iinformation is not read in selection.
Step 104, judges whether the current traffic of mobile terminal is more than or equal to default threshold value, if so, returns to execution step 103; Otherwise, execution step 105.
When mobile terminal does not have enough free time to read routing iinformation, judge whether the current traffic of mobile terminal is greater than default threshold value: nbit/s, and wherein, the value of n is set as required by system.When if the current traffic of mobile terminal is more than or equal to threshold value, think that the current traffic of mobile terminal is larger, mobile terminal does not first read routing iinformation, waits for enough free time, returns to execution step 103; When if the current traffic of mobile terminal is less than threshold value, think that the current traffic of mobile terminal is smaller, can first read routing iinformation, perform step 105.
It is pointed out that step 104 is optional.When judging that mobile terminal is current and there is no enough free time, mobile terminal can be selected first not read routing iinformation, reads after by the time having enough free time again; Or execution step 105, to current macrocell application measurement clearance.
Step 105, mobile terminal is to current macrocell application measurement clearance; Macrocell returns to response.
When mobile terminal does not have enough free time, can read routing iinformation to current macrocell application measurement clearance; Or there is no enough free time when mobile terminal, and the current traffic is when smaller, to current macrocell application measurement clearance.Current macrocell is that mobile terminal distributes measurement clearance, and returns to mobile terminal the response that distributes measurement clearance.This step is optional, and mobile terminal is not when there is no enough free time, or the current traffic hour, can directly select not read required routing iinformation.
Step 106, reads the routing iinformation of home cell.
Identical with the centre carrier frequency of current macrocell when home cell, or mobile terminal has enough free time, or current macrocell is while returning to mobile terminal the response that distributes measurement clearance, and mobile terminal starts to read required routing iinformation.
Preferably, the entry of the routing iinformation that mobile terminal need to read can be set as required by system, and the entry of this required routing iinformation is handed down to mobile terminal by broadcast channel, then mobile terminal reads corresponding routing iinformation according to the entry of this required routing iinformation to the broadcast channel of home cell.Wherein, required routing iinformation at least should comprise the unique identification of this home cell, as overall identification etc.
Whether then step 107, judge timer, if not, returns to step 106, continues to read routing iinformation; If so, perform step 108.
Such as: mobile terminal carries out countdown according to the initial value of timer, and when this initial value is 0, timer is then.The mode that timer is set that can certainly have other.
Step 108, reports current macrocell by the routing iinformation reading.
Timer then after, mobile terminal stops reading routing iinformation, and the routing iinformation reading is reported to current macrocell.Timer does not arrive constantly, continues to read routing iinformation; If timer then before, mobile terminal has just read all routing iinformations, to current macrocell, reports at once, and stops timer.
Because the routing iinformation of home cell is to send with certain cycle period on its broadcast channel, and mobile terminal not necessarily has time enough to remove to read routing iinformation, so mobile terminal arrives constantly at timer, differ and read surely required all routing iinformations, now, mobile terminal can report current macrocell by a part of routing iinformation reading as required, or choosing does not report.If mobile terminal has read required all routing iinformations, report current macrocell.Preferably, mobile terminal is set the current routing iinformation entry having read required routing iinformation entry with current macrocell is compared, and just can learn whether mobile terminal has read all required routing iinformations.In addition, in the flow process shown in Fig. 1, if timer then, no matter whether mobile terminal starts to read routing iinformation, all to stop at once reading routing iinformation.
The time that it is pointed out that timer unlatching also can be arranged in step 106, when mobile terminal starts to read routing iinformation, and opening timing device.Can certainly be as required by the set of time of opening timing device in other steps.
Setting due to timer, can control the time of mobile terminal reading routing information of home cells, when even mobile terminal does not read all required routing iinformations, also to carry out the switching of community, because if carry out not in time the switching of community, can cause mobile terminal to go offline, have influence on the communication of mobile terminal.When mobile terminal does not read required routing iinformation or only reads a part in timer time, mobile terminal can also be switched to adjacent macrocell, because know neighbouring relations each other between macrocell, can not have influence on the communication of mobile terminal.
In order to realize the above-mentioned method that reads routing iinformation, the present invention also provides a kind of mobile terminal, and as shown in Figure 2, this mobile terminal comprises: timer units 10, data search unit 20 and data-reading unit 30, wherein,
Timer units 10, for arranging timer;
Data search unit 20, searches for home cell for the neighbor cell at current macrocell;
Data-reading unit 30, in the timing range of timer, reads required routing iinformation from data search unit 20 home cell searching.
Wherein, timer units 10, also when searching home cell in data search unit 20, opening timing device.
Mobile terminal of the present invention can also comprise: data processing unit 40, before reading required routing iinformation in data-reading unit 30, judges that whether current macrocell is identical with the centre carrier frequency of home cell; Also, for when centre carrier frequency is different, judge whether mobile terminal has enough free time, and when mobile terminal does not have enough free time, to current macrocell, obtain measurement clearance.
Accordingly, data-reading unit 30, also when judging that at data processing unit 40 centre carrier frequency of current macrocell and home cell is identical; Or judge when mobile terminal has enough free time; Or while getting measurement clearance, read required routing iinformation; Also, for when judging that mobile terminal does not have enough free time, do not read required routing iinformation.
The above, be only preferred embodiment of the present invention, is not intended to limit protection scope of the present invention.