Summary of the invention
The purpose of this invention is to provide a kind of method that under the weak signal complex environment, improves calling speed and call successful rate, make weak signal environment in more complicated, promptly only exist one or in a few strong signal base station, great majority under the situation of weak signal base station, can determine fast and attempt, improve calling speed and call successful rate than the strong basis station.
For solving the problems of the technologies described above, the inventive method, a kind of PHS mobile phone improves the method for calling speed and success rate, comprises the steps:
Step 1: baseband processor judges that candidate base station counts N1 and whether set the base station greater than weak signal environment and count N2: if setting the base station number is N1=N2, promptly limits maximum N2 candidate base station, and continuation step 2;
Step 2: baseband processor judges whether described candidate base station tabulation is empty: if change step 5; If not, promptly described candidate base station tabulation is non-NULL, continues step 3;
Step 3: baseband processor is in described candidate base station tabulation, and selecting the strongest base station of signal strength signal intensity is standby base station, carries out link setup by radio-frequency module, continues step 4;
Step 4:, then change step 6 as the link setup success; As the link setup failure, then step 2 is returned in baseband processor this base station of deletion in described candidate base station tabulation, proceeds link setup and attempts;
Step 5: the increase of baseband processor number of retries once judges whether then the call blocking timer: if then change 6; If not, the candidate base station of then resetting tabulation is returned step 2 for the determined initial list of step 1;
Step 6: finish.
Also comprise preorder step 0 before the described step 1: baseband processor judges whether cell phone is in weak signal environment: if continue step 1; If not, promptly be assumed to the proper network environment, then do not limit the candidate base station number, change step 2.
Judge whether to belong to weak signal environment in the described preorder step, may further comprise the steps:
Preorder step 0.1: set weak signal threshold value TH1;
Preorder step 0.2: the tabulation of baseband processor traversal candidate base station, if base station RSSI is higher than setting threshold TH1, then count;
Preorder step 0.3: whether baseband processor judges count value greater than setting threshold N3, if then be judged to be weak signal environment; If not, then be judged to be home.
Described step 1 also comprises: baseband processor is set candidate base station tabulation number of retries N4; And corresponding steps 5 is: the number of retries increase once, whether then baseband processor judges whether to reach retry limit times N 4 or call blocking timer: if then change step 6; If not, the candidate base station of then resetting tabulation is returned step 2 for the determined initial list of step 1.
Wherein, N4>=2.
Described candidate base station is to arrange according to signal is strong and weak, when selecting strong basis station, promptly is arranged in primary base station in the selective listing.
Related N1, N2, N3, N4 or TH1 are stored in the non-volatile random access memory (Non-Volatile Random Access Memory is called for short NVRAM) for modification.
The invention has the beneficial effects as follows, pass through the inventive method, has only strong signal base station in or a few around, when the network environment of a plurality of weak signals base station is arranged, the PHS mobile phone at first identifies this particular network situation, take the non-strategy of traversal fully then, ignore numerous weak signals base station, promptly in the calling timer duration of setting, adopt to concentrate and attempt a few selected base station, dwindle range of choice, shorten candidate base station tabulation, it is low to have avoided attempting on the weak signal base station link setup probability of success, exhale the logical time long, and situation overweight because of temporary transient offered load or that short trouble causes attempting the link setup failure.
As mentioned above, strong signal base station during this method is attempted by staggering the time increases call completion ratio, reduces and exhales the logical time, thereby make the PHS mobile phone adapt to current network condition, solve the PHS mobile phone because the call completion ratio that complicated weak signal environment causes is low and exhale logical long problem of time.
Embodiment
The invention provides the method that a kind of PHS mobile phone improves calling speed and call completion ratio, this method can adapt to current network condition, make the PHS mobile phone can discern weak signal environment, and in the calling timer duration of setting, attempt short candidate base station tabulation, thereby improve calling speed and call successful rate.
With a preferred embodiment the inventive method is described further below, in this example, is assumed to a kind of weak signal network environment, idiographic flow is called out shown in speed and the success rate handling process schematic diagram as the raising of Fig. 1 the inventive method, may further comprise the steps:
Step 1: mobile phone makes a call, and sets the call blocking timer duration;
For the call blocking timer duration, especially for the caller situation, can set according to actual conditions, if wish to increase the trial time, bigger timer duration can be set, otherwise, be set to short timer duration.In this example, be set at 90s.
Step 2: mobile phone is looked for the anastomose bundle, obtains qualified available candidate base station tabulation, and quantity is N1;
Obtain the tabulation that can connect the base station by radio-frequency module, delete the base station of wherein non-PHS mobile phone operator and be in the base station that the state of being under an embargo etc. can't use because of registration reject, all the other base stations are pressed the power of signal and are arranged, and in this example, final gained candidate base station tabulation is:
Table 1: candidate base station tabulation
CS1 |
CS2 |
CS3 |
CS4 |
CS5 |
CS6 |
CS7 |
CS8 |
41 |
32 |
31 |
31 |
31 |
30 |
30 |
30 |
CS9 |
CS10 |
CS11 |
CS12 |
CS13 |
CS14 |
CS15 |
CS16 |
28 |
26 |
26 |
21 |
19 |
18 |
18 |
17 |
CSn represents n base station in the table, and the numeral of next line correspondence is RSSI (Received Signal Strength Indication, the received signal volume unit is db μ V, hereinafter to be referred as the RSSI) value of this base station.
As shown in table 1, candidate list base station number: N1=16.
Step 3: baseband processor judges whether that cell phone is in weak signal environment, if change step 4; If not, promptly be assumed to the proper network environment, then do not limit the candidate base station number, change step 5;
Baseband processor is judged weak signal environment, realizes by following steps:
Step 3.1: set weak signal threshold value TH1;
Step 3.2: the tabulation of traversal candidate base station, if the base station RSSI value that receives by peripheral hardware is higher than setting threshold TH1, counting;
Step 3.3: whether judge count value greater than setting threshold N3, if then be judged to be weak signal environment; If not, then be judged to be home.
Concrete implementation detail as shown in Figure 2, wherein i is in order to the counter of traversal base station in the step 3.2; Count1 is a qualified base station counting.
In this example, TH1=32 is set, N3=4.Promptly the base station of signal strength signal intensity RSSI>32 is counted, if counting then is judged to be weak signal environment less than N3.Can be got by table 1, count results is 1.Because of 1<4=N3, so be judged to be weak signal environment in this example, its implication is for having only strong signal base station in a few, all the other are the weak signal base station, and often have a plurality of weak signals base station, for example in this example, the weak signal base station of 15 RSSI<=32 is arranged.
Step 4: baseband processor judges that candidate base station counts N1 and whether set the base station greater than weak signal environment and count N2, if setting the base station number is N1=N2, promptly limits maximum N2 candidate base station, all the other candidate base stations will not considered, commentaries on classics step 5; If not, then directly change step 5;
Being provided with of parameter N 2 can be set according to actual needs, and its implication is under weak signal environment, attempts N2 base station at most, and all the other more will be excluded outside the candidate base station tabulation base station of weak signal.Attempt more candidate base station tabulation if desired, can select bigger N2 value, on the contrary desirable big N2 value.In this example, N2=4 is set, is i.e. in the candidate base station tabulation 4 base stations is arranged at most, choose 4 base stations that signal is the strongest in the table 1 and form the real candidate station list, that is:
Table 2: real candidate station list
?CS1 |
CS2 |
CS3 |
CS4 |
?41 |
32 |
31 |
31 |
Step 5: set candidate base station tabulation number of retries N4, initial retry time counter count is 0, changes step 6;
Being provided with of parameter N 4 can be set according to actual needs, and in the call blocking timer duration of determining, N4 can be set to N4 back of candidate base station tabulation retry and actual call restriction timer duration basically identical usually.For example this example supposes that the call blocking timer duration is 90s, and the table number is N2=4 in the selected candidate base station, for example can be provided with N4=4 time.In calling out timer duration, number of attempt is many more, and calling probability can increase.
Step 6: judge whether described candidate base station tabulation is empty: if change step 9; If not, promptly described candidate base station tabulation is non-NULL, changes step 7;
Step 7: in described candidate base station tabulation, selecting first base station is standby base station, is that mobile phone carries out link setup by radio-frequency module;
Step 8:, then change step 10 as the link setup success; As the link setup failure, then step 6 is returned in this base station of deletion in described candidate base station tabulation, proceeds link setup and attempts;
Step 9: the retry counter counting adds 1, judges whether number of retries reaches retry limit times N 4, if perhaps the call blocking timer then then changes 10; If not, the real candidate station list of the candidate base station of then resetting tabulation for determining in the step 4 returns step 6.
Step 10: finish.
Each parameter N 1 of above mentioning, N2, N3, N4, TH1 can be kept in the non-volatile random access memory (Non-Volatile Random AccessMemory is called for short NVRAM) of PHS mobile phone, each parameter can be revised according to actual conditions, to adapt to different network condition and demand.
It is overweight that temporary transient load has appearred in hypothetical network, the strong overweight or short trouble of signal base station CS1 short-time load in promptly wherein unique one, and this moment, the PHS mobile phone was initiated a calling procedure, at this moment in link setup on the strong signal base station CS1 will fail, like this, by common strategy, can travel through all the tabulation base stations in the candidate base station in proper order, here suppose the equal link setup failure in weak signal base station of RSSI<=32, then this calling will travel through 16 all base stations, to a base station, the time of attempting can be assumed to 4*1.2=4.8s usually, about 5s, used so total duration is 16*5=80s, to lock in time of each base station etc., the time can be longer, and final call failure when adding link re-establishment.
If adopt method of the present invention, the PHS mobile phone will consider that this example is weak signal environment, therefore only attempts the strongest preceding 4 base stations of signal, CS1-CS4 this moment.Like this, before the class, overweight because of strong signal base station CS1 load among wherein unique, attempting for the first time equally can the link setup failure, because of the candidate base station tabulation is defined as maximum 4, thereby attempt all candidate base station used time of tabulation and be about 4*5=20s, will greatly reduce, and, when attempting for the second time, suppose that the CS1 load is overweight and recover that then this time calling out will success, thereby has avoided call failure.
Being preferred embodiment of the present invention only in sum, is not to be used for limiting practical range of the present invention.Be that all equivalences of doing according to the content of the application's claim change and modification, all should be technology category of the present invention.