A kind of multi-network mode switching method and communication device thereof
Technical field
The present invention relates to the mobile communication technology field, relate in particular to a kind of multi-network mode switching method and communication device thereof.
Background technology
Along with the surge of mobile subscriber's quantity, mobile communication network load is increasing, causes communicating terminal to occur easily being similar to when communication going offline, cross-talk, speech quality are bad, be difficult to phenomenon such as online, thereby makes telecommunication service quality be subjected to very big influence.At this situation, a kind of bimodulus communicating terminal of supporting the second generation (2G, the Second Generation) network and the third generation (3G, the Third Generation) network has simultaneously appearred.
As the quite ripe second generation network of technology, global system for mobile communications (GSM, GlobalSystem for Mobile Communication) can provide the local call function easily, the application of third generation network then can demonstrate fully the advantage of its high speed data transfer, as adopt TD SDMA to insert (TD-SCDMA, Time Division-Synchronous Code Division MultipleAccess) technology and constantly expand high-speed data service.
Fig. 1 is that the bimodulus communicating terminal with two kinds of network schemers of support GSM/TD-SCDMA is the system block diagram of example in the prior art, comprise the signal 101 of eating dishes without rice or wine among the figure, the 2G network schemer module 102 of bimodulus communicating terminal, the 3G network mode module 103 of bimodulus communicating terminal, network schemer switching judging module 104 and network schemer switching executing module 105.Wherein, the 2G network schemer module 102 of bimodulus communicating terminal specifically comprises gsm service module 1021 and TD-SCDMA measurement module 1022, and the 3G network mode module 103 of bimodulus communicating terminal comprises TD-SCDMA business module 1031 and GSM measurement module 1032.The signal that signal 101 receives when working for the bimodulus communicating terminal of eating dishes without rice or wine.
In 2G network schemer module 102, gsm service module 1021 is used to realize gsm service; TD-SCDMA measurement module 1022 is used for the setting measurement cycle, when receiving the measuring command of gsm service module 1021 transmissions, carrying out the across a network pattern measures, to obtain received signal intensity indication (RSSI, the Receive Signal Strength Idicator) value of received signal under the TD-SCDMA network schemer.
In 3G network mode module 103, TD-SCDMA business module 1031 is used to realize the TD-SCDMA business; GSM measurement module 1032 is used for the setting measurement cycle, when receiving the measuring command of TD-SCDMA business module 1031, carries out the across a network pattern and measures, to obtain the RSSI value of received signal under the measure GSM network schemer.
Wherein, network schemer switching judging module 104 is used at the optimum switching time point of switching judging in the cycle, RSSI value and predetermined network schemer handoff threshold according to measured another kind of network schemer judge whether carry out switching, and when needs are carried out switching, send signalisation network schemer switching executing module 105 and carry out the network schemers switching.Described switching executing module 105 is used to receive the execution signal that network schemer switching judging module 104 is sent, with communicating terminal from the current network mode switch to another kind of network schemer.
At present, the bimodulus communicating terminal does not still have ripe market application product, and some concrete steps that are in the dual-mode terminal network mode switching method of development phase are:
Step 1 preestablishes a measuring period, this measuring period the signal of another network schemer is measured.
Step 2 is that benchmark is set a switching cycle with the measuring period, sets a handoff threshold in addition, judges switching condition with this switching cycle by network schemer switching judging module.
Be operated in the bimodulus communicating terminal under a kind of network schemer, when receiving measuring command, carry out the measurement of across a network pattern by measurement module signal to another network schemer in switching cycle, to obtain the RSSI value of another network schemer received signal.Finish at switching cycle, when promptly switching time arrives, measured RSSI value and predefined handoff threshold value compared,
Step 3, the network schemer switching executing module is carried out subsequent operation according to judged result.
If measured RSSI value greater than described handoff threshold value, then thinks to meet switching condition, carry out switching, otherwise think and do not meet switching condition from the current network pattern to another network schemer, do not carry out switching, continue to operate under original network schemer.
Based on said method, there is the place of many deficiencies in the network schemer handoff procedure of existing bimodulus communicating terminal.
At first, in the prior art, because communicating terminal is the RSSI value that detects when being operated in a kind of network schemer under the another kind of network schemer, therefore in order to reduce system burden and complexity, that generally will set measuring period in the prior art is long, such as 10 minutes, in addition longer.Like this, just make the bimodulus communicating terminal have bigger delay for the detection of network coverage situation, the response speed of bimodulus communicating terminal is slower.
Secondly, in the prior art, the switching judging cycle is fixed, usually after finishing the back or finish several predetermined measuring periods 1 measuring period.In this manner, performance of handoffs is constant because switching cycle is fixed, and therefore the variation for network condition lacks adaptability.And, as long as the received signal strength signal intensity in measuring period is greater than predetermined network schemer handoff threshold, then carry out and switch, if the measured signal bigger glitch that is intensity, as network test with test signal that car sent, then can cause erroneous judgement, therefore this mode is subjected to the influence of glitch easily, phenomenons such as terminal periodic call drop appear, influenced the stability of current business, and having reduced the QoS (QoS, Quality of Service) of terminal network schemer of living in, this makes the blindness of communicating terminal switch and becomes unacceptable.
In addition, in the prior art, employing be the switchover policy of fixing.As long as, then carrying out network schemer greater than a predefined handoff threshold, the RSSI value of measured received signal switches.Though this mode is simple, yet because 2G and 3G network pattern are lacked necessary differentiation, and do not consider the network schemer distribution situation of communicating terminal, thereby in 2G and the staggered zone that covers of 3G, too frequent switching repeatedly easily, cause the waste of power consumption, influence the standby performance of bimodulus communicating terminal, also traffic affecting stability.Simultaneously, this mode does not make full use of 3G network yet, and therefore the high characteristics of performance 3G network communication speed are unfavorable for the stable of 3G business and further expand.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of multi-network mode communication device and changing method thereof, solve the problem that mistake is switched and table tennis switches of multi-network mode communication device under the complex network coverage condition, guarantee the professional stability and the validity of switching.
In addition, the present invention also provides a kind of multi-network mode switching method, may further comprise the steps:
A) preestablish measurement period T
m, switching judging cycle and switching mark initial value;
B) in each measurement period T
mInterior to the measurement of scheduled measurement frequency execution across a network pattern, obtain the received signal strength indicator value under other network schemer outside the network schemer of living in;
C) measure residence time, set penalty factor according at least one item in two of current switching mark value and the residence times, according to penalty factor to received signal the RSSI of strength indicator value revise;
D) judge on the cycle that in switching judging whether revised received signal strength indicator value is more than or equal to network schemer handoff threshold RSSI
GateIf then carry out and switch.
This method step c) setting penalty factor described in is specially: utilize following formula to set the comprehensive penalty factor P of corresponding frequency:
P=P
1+ P
2, P
1Be the penalty factor of this frequency of setting according to the switching mark value, P
1Penalty factor for this frequency of setting according to the last residence time.
This method step c) utilize following formula to set the penalty factor P of corresponding frequency according to the switching mark value in
1,
P
1(T
j)=(1-g_GSM2TDD_Handover_Flg)*N
1T*T
m
P
1(G
k)=(1-g_TDD2GSM_Handover_Flg)*N
1G*T
m
In the formula, T
jBe in handoff procedure last time, satisfy handoff threshold, trigger and switch to second kind of network schemer, belong to the set H of the frequency of second kind of network schemer from first kind of network schemer
T, G
kBe in handoff procedure last time, satisfy handoff threshold, trigger and switch to first kind of network schemer, belong to the set H of the frequency of first kind of network schemer from second kind of network schemer
G, g_TDD2GSM_Handover_Flg is the switching mark value of switching to second kind of network schemer from first kind of network schemer, g_GSM2TDD_Handove_Flg is the switching mark value of switching to first kind of network schemer from second kind of network schemer, N
1TFor switching to the punishment value that second kind of network schemer set, N from first kind of network schemer at blindness
1GFor switching to the punishment value that first kind of network schemer set, N from the TD-SCDMA network schemer at blindness
1G>N
1TFor not belonging to set H
TAnd H
GFrequency, penalty factor P
1Be set at 0.
In this method, if from the handover success of first kind of network schemer to the second kind of network schemer, then described g_TDD2GSM_Handover_Flg value equals 1; If failure, then described g_TDD2GSM_Handover_Flg value equals 0; If from the handover success of second kind of network schemer to the first kind of network schemer, then described g_GSM2TDD_Handover_Flg value equals 1; If failure, then described g_GSM2TDD_Handover_Flg value equals 0.
This method step d) described execution switching comprises that further upgrading the switching mark value according to switching result gathers H with the punishment frequency
TAnd H
G
This method step c) utilize following formula to set the penalty factor P of corresponding frequency according to the last residence time in
2,
P
2=(N
2T-N
j)*T
m
Or P
2=(N
2G-N
k) * T
m
In the formula, N
jExpression the last time resides in second kind of network schemer and frequency is T
jTime, N
kExpression the last time resides in first kind of network schemer and frequency is G
kTime, N
2TAnd N
2GBe predefined constant, N
2G>N
2TFor not resident frequency of the last time, penalty factor P
2Be set at 0.
This method described according to penalty factor to received signal the RSSI of strength indicator value revise to take a step forward and comprise the penalty factor that upgrades each predetermined measurement frequency, referring to formula
P(i)(N)=max(0,P(i)(N-1)-T
m)
In the formula, P (i) (N) is illustrated in the penalty factor P (i) of frequency i on the N time measurement point, and P (i) (N-1) is illustrated in the penalty factor P (i) of frequency i on the N-1 time measurement point; I represents the frequency of any one second kind of network schemer, perhaps the frequency of any one first kind of network schemer.
In this method, utilize following formula according to penalty factor to received signal strength indicator value revise:
RSSI(i)(N)=RSSI(i)-K*P(i)(N)
In the formula, this measured value of frequency i is measured in RSSI (i) expression, P (i) (N) for this measure in the penalty factor of measurement frequency i, constant K is in order to transform different dimensions, to make penalty factor and RSSI have identical physical significance, the unit of K is dBm/T
m
The present invention also provides a kind of multi-network mode communication device, comprise: network schemer measurement module, network schemer switching judging module and network schemer switching executing module, it is characterized in that, further comprise: set the switching mark module, set penalty factor module and RSSI correcting module;
The network schemer measurement module is used for setting measurement cycle and network schemer handoff threshold initial value RSSI
Ini, carry out the across a network pattern and measure, install received signal strength indicator value under other network schemer outside the network schemer of living in to obtain this;
Set the switching mark module and be used to set the switching mark initial value, and switch whether successfully change the switching mark value according to each network schemer;
Set the penalty factor module according at least one penalty factor of setting corresponding frequency in two of switching mark and the last residence times;
The RSSI correcting module is used at each measurement point all frequencies being upgraded penalty factor; According to the RSSI value of upgrading each frequency that back penalty factor correction measures;
Network schemer switching judging module is used for revised RSSI value and the network schemer handoff threshold of being scheduled to are compared judgement, and whether decision carries out switching;
The network schemer switching executing module is used to carry out network schemer to be switched, with communicating terminal from the current network mode switch to another kind of network schemer.
This device further comprises upgrading punishes the frequency collection modules, is used for after carrying out switching behaviour, according to handover success and handoff failure, upgrades and punishes the frequency set.
From above as can be seen, a kind of multi-network mode communication device provided by the invention and changing method thereof, the general frame of employing and main flow and prior art difference are little, thereby have reduced the realization cost as much as possible.In the network schemer handoff procedure, according to the last handover success situation, be the frequency point setting penalty factor that causes mistake to be switched, reduce the probability that these frequencies cause mistake to be switched once more in follow-up judgement, improve success rate for switching; The residence time that statistics is the last is the other penalty factor of frequency point setting that causes frequent table tennis to switch, and reduces the probability of meaningless switching, improves the resident and professional stability of network; On each measuring period, upgrade penalty term, make penalty factor effective in finite time, and decay along with increasing progressively of time, meet the time attenuation characteristic of general causal system; For two kinds of network G SM and TD-SCDMA, required constant in the independent setting penalty term embodies the preferential 3G network development strategy of TD-SCDMA, brings certain flexibility also for simultaneously operator, manufacturer and user; And the setting of the nonnegativity of penalty factor has avoided the meaning of penalty can not change as time passes, guarantees that whole proposal can not produce mistake along with the increase of measuring number of times; From the engineering practice effect, this method can effectively avoid being not suitable for resident " glitch " influence to the stability of a system; At the covering edge of two kinds of networks, this method can solve the problem that network table tennis switches well, guarantees the stability of each business.
Description of drawings
Fig. 1 is the structured flowchart of double-mode communication equipment in the prior art;
Fig. 2 is the structured flowchart of double-mode communication equipment in the specific embodiments of the invention;
Fig. 3 is a double-mode communication equipment changing method flow chart in the specific embodiments of the invention.
Embodiment
Thinking of the present invention is to be penalty of each frequency design, and this penalty of initial time is invalid; Add up nearest residence time of each frequency and switching mark; According to the penalty that the switching mark and the residence time of frequency is provided with this frequency, on each measuring period, upgrade penalty, this penalty is successively decreased along with the increase of measuring number of times, decays to initial condition in limited measuring period; On the basis of penalty, revise measurement result; Compare with revised measurement result and default thresholding, judge whether to trigger switching behavior; In switching judging constantly, to using penalty factor the measurement result of each frequency is revised, and compared with default handoff threshold, whether decision triggers switching behavior.
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
The system block diagram of bimodulus communicating terminal of the present invention is referring to shown in Figure 2, comprise 2G network schemer module 202,3G network mode module 203, setting switching mark module 204, set penalty factor module 205, RSSI correcting module 206, network schemer switching judging module 207, network schemer switching executing module 208 and upgrade frequency collection modules 209, wherein 2G network schemer module 202 specifically comprises gsm service module 2021 and TD-SCDMA measurement module 2022, and 3G network mode module 203 comprises TD-SCDMA business module 2031 and GSM measurement module 2032.The signal that signal 101 receives when working for double-mode communication equipment of eating dishes without rice or wine.
In 2G network schemer module 202, gsm service module 2021 is used to realize gsm service; TD-SCDMA measurement module 2022 is used for when receiving the measuring command of gsm service module 2032 transmissions, carrying out the across a network pattern measures, to obtain received signal intensity indication (RSSI, the Receive Signal Strength Idicator) value of received signal under the TD-SCDMA network schemer.
In 3G network mode module 203, TD-SCDMA business module 2031 is used to realize the TD-SCDMA business; GSM measurement module 2032 is used for when receiving the measuring command of TD-SCDMA business module 2031, carries out the across a network pattern and measures, to obtain the RSSI value of received signal under the measure GSM network schemer.
Set switching mark module 204 and be used to set two switching mark, write down each network schemer and whether successfully switch.
Set penalty factor module 205 and set the penalty factor P of corresponding frequency according to switching mark
1, and set the penalty factor P of corresponding frequency according to the last residence time
2, pass through P
1And/or P
2Determine comprehensive penalty factor P (i).
RSSI correcting module 206 is used at each measurement point all frequencies being upgraded comprehensive penalty factor P (i); According to the RSSI value of upgrading each frequency that back penalty factor correction measures.
Network schemer switching judging module 207 is used for revised RSSI value and the network schemer handoff threshold of being scheduled to are compared judgement, and whether decision carries out switching.
Network schemer switching executing module 208 is used to carry out network schemer to be switched, with communicating terminal from the current network mode switch to another kind of network schemer.
Upgrade punishment frequency collection modules 209 and be used for after the mode switch operation,, the punishment frequency is upgraded according to the handover operation success or not.
The concrete implementation step of network mode switching method is referring to shown in Figure 3 among the present invention:
Step 301 is set across a network pattern measuring period and switching judging cycle.
The across a network pattern is specially the bimodulus communicating terminal that is operated under a kind of network schemer measuring period, in the cycle to another network schemer is measured, abbreviates measurement period T as
m, set T usually
m=5 minutes.
In order to adapt to different network schemer distribution situations, switching judging period T
a1. set according to formula:
T
a=N*T
m ①
Wherein, N is that span is the natural number of [1,10].
Step 302 is carried out the across a network pattern and is measured.
A measurement period T
mIn, the bimodulus communicating terminal receives the order that need measure another network schemer, and receives the signal of tested network schemer at one's leisure on the crack, measure R SSI value and with its storage.
Step 303 judges whether current measurement is to measure the first time that enters this network schemer, if then enter step 308; Otherwise, enter step 304.
Whether step 304 is set two switching mark, write down each network schemer and switch successful.
Whether the switching that switching mark g_GSM2TDD_Handover_Flg is used to write down from the GSM network schemer to the TD-SCDMA network schemer is successful.
Whether the switching that switching mark g_TDD2GSM_Handover_Flg is used to write down from the TD-SCDMA network schemer to the GSM network schemer is successful.
Step 305 is set the penalty factor P of corresponding frequency according to switching mark
1
P
1(T
j)=(1-g_GSM2TDD_Handover_Flg)*N
1T*T
m ④
P
1(G
k)=(1-g_TDD2GSM_Handover_Flg)*N
1G*T
m ⑤
Wherein, T
jBe in handoff procedure last time, satisfy handoff threshold, trigger and switch to the TD-SCDMA network schemer, belong to all frequencies of TD-SCDMA network schemer from the GSM network schemer.H
TBe T
jThe set of forming; G
kBe in handoff procedure last time, satisfy handoff threshold, trigger and switch to the GSM network schemer, belong to all frequencies of GSM network schemer from the TD-SCDMA network schemer.H
GBe G
kThe set of forming;
N
1TBe at blindly switching to the TD-SCDMA network schemer and the punishment value set, N from the GSM network schemer
1TBe positive integer, span is [3,6]; N
1GBe at blindly switching to the GSM network schemer and the punishment value set, N from the TD-SCDMA network schemer
1GBe positive integer, span is [3,6].In order to embody the preferential strategy of 3G developing stage TD-SCDMA network schemer, set N
1G>N
1T, promptly be greater than the punishment value that blindly switches to the TD-SCDMA network schemer for blindly returning the punishment value that switches to the GSM network schemer.
In addition, on physical significance, P
1It is penalty factor for the frequency that causes blindly switching.For not belonging to H
TAnd H
GFrequency, penalty factor P
1Be set at 0.
Step 306 is set the penalty factor P of corresponding frequency according to the last residence time
2
P
2(T
j)=(N
2T-N
j)*T
m ⑥
P
2(G
k)=(N
2G-N
k)*T
m ⑦
Wherein, N
jExpression the last time resides in the TD-SCDMA network schemer and frequency is T
jTime; N
kExpression the last time resides in the GSM network schemer and frequency is G
kTime.N
2TAnd N
2GBe predefined constant, span is [3,6].In order to embody the preferential strategy of 3G developing stage TD-SCDMA network schemer, set N equally
2G>N
2TIn addition, for not resident frequency of the last time, penalty factor P
2Be set at 0.
Step 307 is calculated the comprehensive penalty factor P (i) of each frequency.
P(i)=P
1(i)+P
2(i) ⑧
In the formula, i represents the frequency T of any one TD-SCDMA network schemer
jThe perhaps frequency G of GSM network schemer
k
Step 308, on each measurement point, all frequencies are upgraded comprehensive penalty factor:
P(i)(N)=max(0,P(i)(N-1)-T
m)
Wherein, P (i) (N) is illustrated in the penalty factor of frequency i on the N time measurement point, and P (i) (N-1) is illustrated in the penalty factor of frequency i on the N-1 time measurement point; I represents the frequency T of any one TD-SCDMA network schemer
jThe perhaps frequency G of GSM network schemer
kIn engineering practice, only need to keep a nearest result of calculation, adopt the renewal of the method realization penalty factor of recurrence.
And max (0, P (i) (N-1)-T
m) employing, be in order to guarantee the non-negative characteristic of penalty factor.That is to say that some frequencies are owing to causing judging by accident or instantaneous resident reason has obtained punishment, along with the recursion of time, the penalty term of this frequency can be decremented to 0 gradually, but can not produce the effect of " awards ", thereby the meaning of assurance penalty is constant.
Step 309, each measures the measurement result value of frequency according to the penalty factor correction after upgrading.
RSSI(i)(N)=RSSI(i)-K*P(i)(N) ⑨
Wherein RSSI (i) represent all measure frequency i when time measured value, P (i) (N) during this is measured about measuring the penalty term of frequency i, the purpose of constant K is in order to transform different dimensions, to make penalty term and RSSI have identical physical significance.According to engineering experience, the span of K fixes on [1dBm/T
m, 5dBm/T
m].Like this, the rssi measurement result that each measures frequency just can revise by penalty factor.
Step 310 is in switching judging in the cycle, revised RSSI_Mod of all frequencies and handoff threshold RSSI
GateCompare judgement, if the pairing RSSI_Mod of terminal frequency of living in is more than or equal to RSSI
Gate, then enter step 11; Otherwise, return step 2.
Whether step 311 and step 312 are carried out handover operation, successful according to carrying out handover operation, upgrade punishment frequency set H
TAnd H
G, be specially:
If terminal switches to TD-SCDMA network failure, H from the GSM network
TFor the switching judging cycle is gone up all RSSI_Mod more than or equal to RSSI
GateThe set formed of TD-SCDMA frequency; Otherwise, H
TBe empty set; If terminal switches to GSM network failure, H from the TD-SCDMA network
GFor the switching judging cycle is gone up all RSSI_Mod more than or equal to RSSI
GateThe set formed of GSM frequency; Otherwise, H
GBe empty set.The effect of upgrading the set of punishment frequency is all measurement frequencies are divided into high frequency of handover success rate and the low frequency of handover success rate, for the high frequency of handover success rate, when carrying out switching judging, do not need to revise with penalty factor more next time; And for the low frequency of handover success rate, when carrying out switching judging, still need to revise with penalty factor next time.
In the present embodiment, described network schemer switching is meant that the terminal that is in a certain frequency under some network schemers switches to a certain frequency under another network schemer.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.