Background technology
At present, second generation mobile communication system (2G) is with global system for mobile communications (Global System forMobil Communications, GSM)/GPRS (GPRS) standard, the mobile communication system that is the GSM/GPRS standard is main, and 3-G (Generation Three mobile communication system) (3G) inserts (Time Division-Synchronous CDMA with TD SDMA, TD-SCDMA) mobile communication system of standard and Wideband Code Division Multiple Access (WCDMA) (Wide band CDMA, WCDMA) these two kinds of standards of mobile communication system are main, and the mobile communication system of TD-SCDMA standard is unique support time division duplex (TimeDivision Duplex, TDD) 3G mobile communication system of mode.The portable terminal of existing support TD-SCDMA standard has been realized the indispensable function of TD-SCDMA standard preferably, but in order to realize seamlessly transitting of 2G and 3G, need terminal can support TD-SCDMA and the distinct standard of GSM/GPRS two covers simultaneously, promptly realize dual-mode terminal.
As shown in Figure 1, be the existing structural representation of supporting the dual-mode terminal of TD-SCDMA and GSM/GPRS standard simultaneously, wherein, in TD-SCDMA pattern side complete upper-layer protocol function and physical layer function are arranged, can in the TD-SCDMA network, finish corresponding function, GSM/GPRS pattern side also has complete upper-layer protocol function and physical layer function, and the terminal Access Layer of two standards uses the Non-Access Stratum module jointly.
Although the terminal Access Layer of two standards uses the Non-Access Stratum module jointly, the standard of the terminal Access Layer of two standards is different.Transmit the cell information of some relevant the other side's patterns between the terminal Access Layer of two standards mutually, be used for carrying out the sub-district gravity treatment according to described information.For example, when carrying out the sub-district gravity treatment, or according to the regulation of present 3GPP standard, as long as there is higher signal quality received power the sub-district of certain standard of support (TD-SCDMA or GSM/GPRS), with regard to gravity treatment in the sub-district of this standard of support; Just according to the thresholding of setting in advance, if support the received power of the current area of a certain standard to be higher than this thresholding, even another supports the neighbor cell of another standard that higher received power is arranged so, terminal also rests on current sub-district, can reduce the frequent switching between the sub-district of supporting various criterion so to a certain extent.
But there is following shortcoming in existing dual-mode terminal:
1) there is not tangible tendentiousness in existing dual-mode terminal to the network selection of 2G or 3G, and the network of 3G is reused;
2) in the applied environment of the 2G of reality and 3G network coexistence, various situations can appear, for example the 2G network is not necessarily supported the information notice to the adjacent sub-district of other 3G standards, make terminal to carry out the full frequency band search to the adjacent sub-district of 3G standard continually, so that switch to 3G network, thereby cause power dissipation from the 2G network;
3) though detecting the cell signal quality of certain standard, terminal reached certain requirement, but because the unusual existence of disturbing can not normally reside in the sub-district of this standard, so need constantly carry out the sub-district gravity treatment, thereby cause the frequent tense working state that is in of terminal, waste its limited energy, shortened stand-by time.
Summary of the invention
The objective of the invention is to, a kind of dual-mode terminal is provided.
Another object of the present invention is to, provide a kind of dual-mode terminal to select the method for residing network.
Dual-mode terminal of the present invention, the Access Layer module that comprises two kinds of patterns, wherein, also comprise the control judge module, described control judge module is used for sending to the first pattern Access Layer module message of search first mode cell after start, and receive resident first mode cell success or the failure that the first pattern Access Layer module is sent, when receiving the resident first mode cell failure, send the message of search second mode cell to the second pattern Access Layer module, and receive resident second mode cell success or the failure that the second pattern Access Layer module is sent; When receiving the resident second mode cell failure, notifying the first pattern Access Layer module and the second pattern Access Layer module that terminal is set is limited-service;
The described first pattern Access Layer module, be used to receive the message of search first mode cell that described control judge module sends, carry out Cell searching according to described message, when resident first mode cell of success, enter the first mode cell idle pulley, and send the message of the resident first mode cell success to the control judge module, can not be successfully resident during first mode cell, send the resident first mode cell failure to controlling judge module;
The described second pattern Access Layer module, be used to receive the message that described control judge module sends search second mode cell, carry out Cell searching according to described message, when resident second mode cell of success, enter the second mode cell idle pulley, and send the message of the resident second mode cell success to the control judge module, can not be successfully resident during second mode cell, send the resident second mode cell failure to controlling judge module.
Dual-mode terminal of the present invention is selected the method for residing network, wherein, comprises the following steps:
Terminal judges whether can search first mode cell and success is resident, if then enter the first mode cell idle pulley; Otherwise terminal judges whether can search second mode cell and success is resident, if then enter the second mode cell idle pulley, otherwise terminal only provides limited service.
The invention has the beneficial effects as follows: the method according to dual-mode terminal of the present invention and selection residing network thereof, make terminal be more prone to reside in the 3G sub-district, help the evolution of system; By timer is set, make that terminal just begins the full frequency band search cell, avoids power consumption too much when having only timer expiry; And and by the threshold value memory is set, threshold value is dynamically adjusted, and the threshold value interval is set both can have guaranteed to find within a certain period of time and be fit to resident 3G sub-district, the number of times of attempting 3G sub-district gravity treatment be can effectively reduce again, thereby power saving and the purpose of improving systematic function realized to greatest extent.
Embodiment
Below, 2~10 describe dual-mode terminals of the present invention in detail and select the method for residing network in conjunction with the accompanying drawings.
Dual-mode terminal of the present invention, be on the basis of existing dual-mode terminal, further to comprise the control judge module, as shown in Figure 2, described control judge module is arranged between the first pattern Access Layer module and the second pattern Access Layer module, be used for after start, sending the message of search first mode cell to the first pattern Access Layer module, and receive resident first mode cell success or the failure that the first pattern Access Layer module is sent, when receiving the resident failure that the first pattern Access Layer module is sent, send the message of search second mode cell to the second pattern Access Layer module, and receive resident second mode cell success or the failure that the second pattern Access Layer module is sent, when receiving the resident failure that the second pattern Access Layer module is sent, it is limited (promptly to notify the first pattern Access Layer module and the second pattern Access Layer module that Terminal Service is set, regulation according to existing protocol, terminal will reside in arbitrary cells in first pattern or second pattern, can only accept limited services such as urgent call).The described first pattern Access Layer module, be used to receive the message of search first mode cell that described control judge module sends, carry out Cell searching according to described message, when resident first mode cell of success, enter the first mode cell idle pulley, and send the message of the resident first mode cell success to the control judge module, can not be successfully resident during first mode cell, send the resident first mode cell failure to controlling judge module; The described second pattern Access Layer module, be used to receive the message that described control judge module sends search second mode cell, carry out Cell searching according to described message, when resident second mode cell of success, enter the second mode cell idle pulley, and send the message of the resident second mode cell success to the control judge module, can not be successfully resident during second mode cell, send the resident second mode cell failure to controlling judge module.
In addition, when terminal enters the second mode cell idle pulley: the described second pattern Access Layer module, be further used for full range and measure first mode cell, when the signal quality of determining first mode cell that existence is measured is higher than first mode cell of predetermined threshold value, send the message that determines whether resident first mode cell of energy success to the first pattern Access Layer module, and, be used to respond the message that full range that the first pattern Access Layer module sends is measured first mode cell.The described first pattern Access Layer module, be further used for receiving the message that the second pattern Access Layer module is sent, when determining successfully resident first mode cell, make terminal enter the first mode cell idle pulley, in that determine can not be successfully resident during first mode cell, measure the message of first mode cell to second pattern Access Layer module transmission full range.
In addition, based on as previously mentioned, when terminal enters the second mode cell idle pulley, the second pattern Access Layer module, in the time of can being further used in the system message of determining second pattern, comprising the first mode cell information, according to corresponding first mode cell of the described first mode cell information monitoring, and when in determining the system message of second pattern, not comprising the described first mode cell information, need to determine full range to measure first mode cell.
In addition, based on as mentioned above, as shown in Figure 3, dual-mode terminal of the present invention may further include timer, described timer is used for when exceeding the scheduled time, send message to the second pattern Access Layer module, the described second pattern Access Layer module begins full range according to described message and measures first mode cell.The described second pattern Access Layer module is further used for the message that after receiving the time exceeded message that described timer sends full range is measured first mode cell.
In addition, the described second pattern Access Layer module is further used for when it does not comprise the first mode cell information, notice control judge module.The control judge module is further used for starting described timer when terminal enters the second mode cell idle pulley; Control judge module or be further used for receiving that the second pattern Access Layer module starts described timer when determining not comprise the first mode cell notification of information in the system message of second pattern; When the described second pattern Access Layer module was further used for not comprising the first mode cell information in the system message of second pattern, notice control judge module started described timer.
Wherein, the described first mode cell information comprises first mode cell tabulation with specific frequency.
In addition, as shown in Figure 4, dual-mode terminal of the present invention can further comprise the threshold value memory comprising on the basis that control judge module, described threshold value memory is used for the threshold value that the first pattern Access Layer module is sent is stored, and described threshold value is sent to the second pattern Access Layer module; And described control judge module is further used for after the message of the resident first mode cell success that receives the transmission of the first pattern Access Layer module, sends the message that reduces threshold value to the first pattern Access Layer module; And/or after the resident first mode cell failure that receives the transmission of the first pattern Access Layer module, send the message that improves threshold value to the first pattern Access Layer module.The first pattern Access Layer module is further used for adjusting the threshold value of storing in the threshold value memory according to reduction of receiving or raising threshold value message.
Wherein, comprise default thresholding maximum Ptmax and threshold minimum Ptmin in the described threshold value memory, be used for guaranteeing this threshold value between described thresholding maximum and minimum value when dynamically changing described threshold value, the dynamic change that is about to described threshold value is controlled in the preset range.
Preferably, based on as previously mentioned, as shown in Figure 5, dual-mode terminal of the present invention, can further comprise aforesaid threshold value memory on the basis of timer comprising, perhaps further comprise aforesaid timer on the basis that comprises the thresholding memory, at this, the present invention is not described in detail.
Below, describe the method that the present invention supports the terminal selection residing network of double mode standard in detail, this method comprises the following steps:
Step 1: terminal judges whether can search first mode cell and success is resident, if then enter the first mode cell idle pulley; Otherwise, execution in step 2;
Step 2: terminal judges whether can search second mode cell and success is resident, if then enter the second mode cell idle pulley, otherwise terminal only provides limited service.
Wherein, the described first mode cell idle pulley comprises: terminal can receive the message of Web broadcast, can initiate calling (if call setup success to another user, just enter talking state or data transmission state), also can receive paging request (, also entering talking state or data transmission state) if request is accepted from another user; When not conversing or during transfer of data, terminal is regularly kept in touch with the network of first pattern, is notified to the network of first pattern with the change with the terminal present position.
Wherein, when terminal enters the sub-district idle pulley of normal second pattern, as shown in Figure 6, when terminal enters the sub-district idle pulley of second pattern, can comprise the following steps:
Step 25: terminal begins full range and measures first mode cell, and execution in step 26;
Step 26: whether terminal judges exists received signal quality to be higher than first mode cell of predetermined threshold value, if then execution in step 27, otherwise, execution in step 25;
Step 27: whether terminal judges can be successfully resident during first mode cell, if, then enter the first mode cell idle pulley, otherwise, step 25 returned.
In addition, as shown in Figure 7, before described step 25, may further include the following step:
Step 21: whether comprise the first mode cell information in the system message of terminal judges second pattern, if then execution in step 22; Otherwise, execution in step 25;
Step 22: terminal is according to the described first mode cell information monitoring, first mode cell, and execution in step 26 then.
Perhaps, before described step 25, also can comprise the following steps: the starting terminal timer, and judge whether timer is overtime, if then execution in step 25; Otherwise terminal continues to judge whether timer is overtime.
In addition, as shown in Figure 8, when in the system message of terminal judges second pattern, not comprising the first mode cell information, can comprise the following steps:
Step 23: starting terminal timer, and execution in step 24;
Step 24: whether the terminal judges timer is overtime, if then execution in step 25; Otherwise, return step 24.
In addition, based on the implementation method of dual-mode terminal of the present invention shown in Figure 7, as shown in Figure 9, after step 27, may further include the following step:
Step 28: if judge resident first mode cell of energy success, then described threshold value is reduced and storage, terminal enters the first mode cell idle pulley then;
Step 29: if judge resident first mode cell that fails, then described threshold value is improved and storage, return step 21 then.
Preferable, based on the implementation method of dual-mode terminal of the present invention shown in Figure 8, as shown in figure 10, after step 27, may further include the following step:
Step 28: if judge resident first mode cell of energy success, then described threshold value is reduced and storage, terminal enters the first mode cell idle pulley then;
Step 29: described threshold value is improved and storage, return step 21 then.
As previously mentioned, the threshold value of storing in the threshold value memory of setting of the present invention is dynamic change, be because: the power level that detects first mode cell in terminal has reached under the situation of threshold value, terminal is initiated the trial of resident first mode cell, but but fail normally to reside in first mode cell, this illustrates that in fact the signal quality of detected first mode cell of terminal should be inadequately, therefore need the each PT of raising value, till terminal can be normally resident, thereby avoid terminal reaching the trial of always initiating nonsensical resident first mode cell under the situation of threshold ones; In contrast, the power level that detects first mode cell in terminal has reached under the situation of threshold value, terminal has been initiated the trial of resident first mode cell, and be easy to resident success, the signal quality of detected first mode cell of this explanation terminal is very good, there is no need the threshold value that keeps so high, the difficulty that the too high meeting of threshold value causes terminal to initiate resident first mode cell strengthens, this is not inconsistent with the principle of tending to resident first mode cell more, therefore need constantly to reduce the PT value, be beneficial to the trial of resident first mode cell of the easier initiation of terminal.
In addition, the purpose that threshold value interval (thresholding maximum and minimum value promptly are set) is set is: if some rugged environment causes terminal always can't successfully reside in first mode cell, threshold value PT can be by the unconfined high value that increases to like this, if and this moment, rugged environment suddenly disappeared, threshold value still is in high value, under the situation of this wealthy family limit value, the power of first mode cell that terminal measures is difficult to reach described numerical value, thereby cause in fact the terminal can resident first mode cell, but can't not carry out the trial of resident first mode cell owing to reach described threshold value, therefore, set the thresholding maximum and can reduce the risk that this situation is brought; Relative with it, if unusual good wireless environment, terminal is easy to reside in first mode cell, the PT value then constantly is lowered, if and some interference appear suddenly in this moment, threshold value still is in very low numerical value, under the situation of this threshold ones, the power of first mode cell that terminal measures is easy to reach this numerical value, so terminal is always in the trial of carrying out resident first mode cell, and because the existence of disturbing, terminal can't be normally resident, need threshold value to be adjusted to the normal level that terminal can be resident, therefore, set threshold minimum and can reduce the needed time of this adjustment through considerable time.
Here, it is to be noted, two kinds of patterns of the present invention can be present 2G, 2.5G and 3G any two combination (for example, first pattern can be the TD-CDMA pattern in the 3G system, second pattern can be the GSM pattern in the 2G system), also can be the combination of two kinds of different 2G standards or 2.5G standard or 3G standard etc.
In sum, the method according to dual-mode terminal of the present invention and selection residing network thereof makes terminal be more prone to reside in first mode cell (for example 3G sub-district), helps the evolution of system; By timer is set, has reduced to a great extent because of full range and measured the spent electric weight of first mode cell; And by the threshold value memory is set, threshold value is dynamically adjusted, and the threshold value interval is set had both guaranteed that terminal finds within a certain period of time and be fit to the first resident mode cell, can effectively reduce the number of times of attempting the first mode cell gravity treatment again, for system design and performance optimization bring convenience.
More than describing is to make things convenient for those of ordinary skills to understand the present invention; to the detailed description that the present invention carried out; but can expect; in the scope that does not break away from claim of the present invention and contained, can also make other variation and modification, these variations and revising all in protection scope of the present invention.