Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Fig. 1 is a kind of step flow chart of method for searching network provided in an embodiment of the present invention, as shown in Figure 1, this method can be with
Applied to mobile terminal, this method may include:
Step 101, receive search net request in the case where, based on it is preset it is N number of it is to be selected search frequency point search net adapt to
Degree selects M first search frequency point from N number of search frequency point to be selected.
In the embodiment of the present invention, this search net request can be user by triggering mobile terminal search net function to it is mobile eventually
What end was sent, it is that net, etc. is searched in CSFB call that this, which searches net request, which can serve to indicate that mobile terminal carries out registration and searches net,.Specifically
, user can realize that net function is searched in triggering by control mobile terminal-opening, be also possible to by clicking mobile terminal
It is connected to the network button, control mobile terminal is connected to the network to realize triggering, and certainly, user can also touch in other ways
Hair, the embodiment of the present invention are not construed as limiting this.
Further, N number of search frequency point to be selected can be in the resident place of mobile terminal signal quality be greater than it is default
The frequency point of quality threshold, wherein N is positive integer, the occurrence of N can be it is preset, for example, N can be 20, further
Ground, the resident place can meet the place of preset condition for the resident frequency, wherein the preset condition may include: resident frequency
Secondary default resident frequency threshold value, the resident duration of being greater than is greater than at least one of default resident duration threshold value.In the embodiment of the present invention, with
The preferable frequency point of signal quality is as search frequency point to be selected in the resident place of mobile terminal, it is ensured that each search frequency point to be selected
Utility value all with higher, and then net efficiency can be searched to avoid reduction.
Further, with the influence of extraneous factor, the signal quality of each search frequency point to be selected and user wait for this
The service condition of choosing search frequency point may change, in this way, the utility value of search frequency point to be selected may change,
Therefore, in order to guarantee to search the success rate of net, in the embodiment of the present invention, terminal receive search net request in the case where, can be with base
M first search frequency point is selected to carry out searching net from search frequency point to be selected in the net fitness of searching of search frequency point to be selected, it is exemplary,
Each search frequency point to be selected can successively be calculated searches net fitness, and selection searches net fitness and searches net fitness threshold value greater than default
Search frequency point to be selected as first search frequency point, to guarantee to search net success rate, wherein M is the positive integer less than or equal to N, M
Occurrence can be the number searched net fitness and be greater than the default search frequency point to be selected for searching net fitness threshold value.
Step 102 is based on the M first search frequency point, successively carries out searching net operation.
In the embodiment of the present invention, mobile terminal can successively carry out searching net based on each first search frequency point, until being based on
One of first search frequency point is connected to network, then can stop searching net operation, certainly, if mobile terminal is based on preferentially searching
Rope frequency point is not attached to network, then can continue to search net operation based on other frequency points.
In conclusion a kind of method for searching network provided in an embodiment of the present invention, receive search net request in the case where, it is mobile
Terminal can search net fitness based on preset N number of search frequency point to be selected, select M preferentially to search from N number of search frequency point to be selected
Rope frequency point is then based on M first search frequency point, successively carries out searching net operation, wherein search frequency point to be selected is mobile terminal
Signal quality is greater than the frequency point of predetermined quality threshold in resident place.In the embodiment of the present invention, resided in place with mobile terminal
The preferable frequency point of signal quality can avoid the occurrence of the lower frequency point of utility value as search frequency point to be selected, and net effect is searched in reduction
The problem of rate, while selecting M first search frequency point to carry out searching net from this N number of search frequency point to be selected based on net fitness is searched,
It can guarantee the network that is connected to of more high probability, improve the success rate for searching net.
Fig. 2 is the step flow chart of another method for searching network provided in an embodiment of the present invention, as shown in Fig. 2, this method can
To be applied to mobile terminal, this method may include:
Step 201, receive search net request in the case where, for each search frequency point to be selected, obtain described to be selected search
The signal quality and history of rope frequency point use parameter.
In this step, the history of search frequency point to be selected may include that mobile terminal utilizes the search frequency point to be selected using parameter
The history connection number or history for connecting network connect duration, and the signal quality of search frequency point to be selected can be signal strength
(Reference Signal Receiving Power, RSRP), signal receiving quality (Reference Signal
Receiving Quality, RSRQ), signal-to-noise ratio (Signal-Noise Ratio, SNR) or received signal intensity instruction
(Received Signal Strength Indication, RSSI).Specifically, mobile terminal is obtaining search frequency point to be selected
Signal quality when, can be determined by real-time detection this it is to be selected search frequency point signal quality, certainly, mobile terminal can also
The signal quality of search frequency point to be selected is periodically detected and stored, in this way, mobile terminal can be true by way of reading
The signal quality of fixed search frequency point to be selected.Further, mobile terminal uses parameter in the history for obtaining search frequency point to be selected
When, it can obtain from history linkage record and be connected using the history connection number or history of the search frequency point connection network to be selected
Duration, correspondingly, in practical application, mobile terminal can every time be based on search frequency point to be selected connection network after, update to
The history connection number and history of choosing search frequency point connection network connect duration.
Step 202 uses parameter based on the signal quality and the history, and calculate the search frequency point to be selected searches net
Fitness.
In this step, the fitness of the search frequency point to be selected can be used with the signal quality and history of search frequency point to be selected
Parameter is directly proportional, in this way, the fitness of the search frequency point to be selected can embody the utility value of the search frequency point to be selected, Jin Erke
To guarantee to select bid value is higher preferentially to search net frequency point based on net fitness is searched.
Further, net fitness is searched using what parameter calculated search frequency point to be selected based on signal quality and history, it can be with
Allow the net fitness of searching being calculated accurately to embody the utility value of the search frequency point to be selected, and then guarantees be based on
The first search frequency point of net fitness selection is searched when carrying out searching net, can more high probability be connected to network, net is searched in raising
Success rate.
Specifically, mobile terminal can calculate search frequency point to be selected according to following formula (1) when net fitness is searched in calculating
Search net fitness:
Wherein, net fitness is searched in α expression, and R indicates that signal quality, T indicate that history uses parameter, A1For the first default adjusting
Parameter, B1For the second default adjustment parameter, C1Adjustment parameter, D are preset for third1For the 4th default adjustment parameter, E1It is pre- for the 5th
If adjustment parameter, A1、B1、C1、D1And E1Occurrence, can be pre-selected according to actual needs, exemplary, A1It can be with
For 120, B1It can be 100, C1It can be 1, D1It can be 2, E1It can be 0.5, with A1For 120, B1For 100, C1For 1, D1For 2,
E1For 0.5, first part's expression signal quality of the formula (1) searches net fitness component, generally, the common real net of R
Range is [- 70dbm, -120dbm], and therefore, the range of first part is generally between [0,0.5], second of the formula (1)
It is divided into history and searches net fitness component using parameter, and may range from of T [1, infinitely great), therefore, the range of second part
Generally [0.25,0.5) between, and as history uses the increase of parameter, the amplification for searching net fitness of second part can become
It is small.Since the difference of the order of magnitude of the order of magnitude and T of R is often larger, in the embodiment of the present invention, it can use formula
(1) it calculates and searches net fitness, the magnitude differences between R and T are eliminated by adjustment factor, and then can guarantee that R and T can be right
The contribution that net fitness makes respective degrees is searched, so that calculated net fitness of searching is more representative, it can more rationally
Really reflect the utility value to be selected for searching net frequency point.
Further, in practical application, signal quality of the search frequency point to be selected in its corresponding resident place is best, this
Sample, it is closer at a distance from the resident place corresponding with search frequency point to be selected of the position of mobile terminal, then be based on should be to for mobile terminal
The success rate of choosing search frequency point connection network and the quality of network connection are often better, therefore, in the embodiment of the present invention, calculate
When searching net fitness, mobile terminal can also first obtain working as the corresponding resident place of search frequency point to be selected and the mobile terminal
Then net fitness is searched according to following formula (2) calculating search frequency point to be selected in the distance between front position:
Wherein, R be the signal quality, T be the history the use of parameter, S is the distance, A2 is the 6th default to adjust
Parameter, B2 is the 7th default adjustment parameter, C2 is the 8th default adjustment parameter, D2 is the 9th default adjustment parameter, E2 is the tenth
Default adjustment parameter, F are pre-determined distance coefficient, and the occurrence of A2, B2, C2, D2, E2 and F can be pre- according to actual needs
First select, it is exemplary, A2 can for 120, B2 can be 100, C2 can be 1, D2 can be 2, E2 can be that 0.5, F can be with
It with A2 is 120, B2 100, C2 1, D2 2, E2 are 0.5 to be correspondingly for any value in numberical range [- 1,0]
Example, what the first part of the formula (2) indicated signal quality searches net fitness component, generally, the common real net range of R be [-
70dbm, -120dbm], therefore, for the range of first part generally between [0,0.5], the second part of the formula (2) is history
Net fitness component is searched using parameter, and may range from of T [1, infinitely great), therefore, the range of second part generally exists
[0.25,0.5) between, and as history uses the increase of parameter, second part, which is brought, to be searched the amplification of net fitness and can become smaller, should
The Part III of formula (2) is that distance searches net fitness component, the corresponding resident place of search frequency point to be selected and mobile terminal
The distance between current location it is closer, then the search frequency point to be selected to search net fitness bigger.
It in the embodiment of the present invention, is calculated using formula (2) and searches net fitness, can eliminated between R and T by adjustment factor
Magnitude differences, and then can guarantee R and T can contribution to searching net fitness and making respective degrees so that calculated
It searches that net fitness is more representative, more rationally can really reflect the utility value to be selected for searching net frequency point, while
Distance factor is added when searching net fitness in calculating, when so that being based on searching net fitness selection first search frequency point in subsequent step,
It is capable of the choosing apart from closer, the higher first search frequency point of utility value of more high probability, and then can be improved based on preferential
Search frequency point is connected to the quality of network probability and connected network.
Step 203 searches net fitness based on preset N number of search frequency point to be selected, from N number of search frequency point to be selected
In, select M first search frequency point.
In this step, mobile terminal can will search net fitness and be greater than the default search frequency point to be selected for searching net fitness threshold value
It is determined as first search frequency point, wherein this is default to search net fitness threshold value and can be and be set according to actual conditions, and the present invention is real
It applies example and this is not construed as limiting.Certainly, mobile terminal can also be selected based on other modes, for example, with each search frequency to be selected
Point searches net fitness alternatively probability, then selects predetermined number search frequency point to be selected.In the embodiment of the present invention, pass through choosing
It selects and searches net fitness and be greater than the default search frequency point to be selected for searching net fitness threshold value as preferentially searching net frequency point, it is ensured that be used for
Progress preferentially searches the preferential of net operation and searches net frequency point specifically higher utility value, and then utility first search frequency point carries out
When searching net, can more high probability be connected to network, improve the success rate for searching net.
Step 204 is based on the M first search frequency point, successively carries out searching net operation.
Specifically, mobile terminal can be realized by following sub-steps (1)~sub-step (2) based on M first search frequency
Point successively carries out searching net operation:
Sub-step (1): each signal quality for preferentially searching net frequency point is obtained.
In this step, by taking the signal quality is preferentially to search the signal strength of net frequency point as an example, correspondingly, mobile terminal can be with
It is exemplary based on each signal strength preferentially searched net frequency point real-time detection and each preferentially search net frequency point, it can be based on each excellent
It first searches net frequency point and carries out reception test, using the intensity of the signal received as the signal strength for preferentially searching net frequency point.Certainly, should
Signal quality may be RSRQ, SNR, RSSI, etc., and the embodiment of the present invention is not construed as limiting this.
Sub-step (2): based on it is each it is described preferentially search the signal quality of net frequency point, according to signal quality from high to low suitable
Sequence, successively it is each it is described preferentially search net frequency point, search for and described preferentially search the corresponding cell of net frequency point.
Since the signal quality for preferentially searching net frequency point is better, then mobile terminal is based on this, preferentially searching net frequency point is connected to net
The probability of network is bigger, and therefore, in this step, mobile terminal can be successively based on according to the sequence of signal quality from high to low
It each preferentially searches net frequency point and searches for this and preferentially search the corresponding cell of net frequency point, in this way, carrying out searching net based on sequence from high to low
Operation, can enable mobile terminal faster search attachable cell, and then be connected to network faster.Wherein, cell
Indicate the set of base station, there is fixed frequency point/frequency range in each base station.Correspondingly, it carries out searching after net operation, is searching first
In the case where cell, connection is established with first community.Specifically, the first community can be based on preferentially searching net frequency point and search
Cell, then mobile terminal can be sent out based on preferentially searching net frequency point and searching first community to the first community
Registration request is sent, in order to establish connection with the first community, realizes connection network.If the registration request passes through, move
Dynamic terminal and the first community establish connection, if the registration request does not pass through, mobile terminal can continue through other
It preferentially searches net frequency point to continue to search for, and sends registration request.
Step 205, with preferentially searching the corresponding cell of net frequency point described in one of them and establishing connection, will be described
It preferentially searches net frequency point and adjusts the first place into sequence composed by N number of search frequency point to be selected, or, in the company with the cell
When connecing duration and reaching preset duration threshold value, searching net frequency point adjusts the first place into the sequence by described preferentially.
It is exemplary, it is assumed that sequence composed by N number of search frequency point to be selected is (C1, C2, H1, H2, K1, K2), is therefrom selected
First search frequency point be H1 and C1, mobile terminal cell corresponding with H1 establishes connection, then mobile terminal can be by H1
It adjusts to the first place composed by this N number of search frequency point to be selected in sequence, correspondingly, the search frequency point to be selected before H1 originally
Position successively move back one, the position of the search frequency point to be selected after H1 remained unchanged originally, at this point, N number of search to be selected
Sequence composed by frequency point is (H1, C1, C2, H2, K1, K2).During the present invention is implemented, if mobile terminal searches net frequency point with preferential
Corresponding cell establishes connection, it may be considered that the first search frequency point utility value with higher, mobile terminal are excellent at this
The success rate for first searching net frequency point connection network is larger, therefore, this can preferentially be searched to the first place that net frequency point is adjusted in sequence, this
Sample constantly updates the position for the search frequency point to be selected for including in sequence based on utility value, so that can be based in subsequent step
The position of search frequency point to be selected in the sequence, eliminates the lower frequency point of utility value.
Certainly, a timer also can be set in mobile terminal, establishes connection in mobile terminal cell corresponding with H1
When, using the connection duration of timer statistics and the cell, when the connection duration of mobile terminal and the cell reaches default
When long threshold value, then H1 adjusted to the first place composed by this N number of search frequency point to be selected in sequence, wherein the preset duration threshold
Value can be to be arranged according to the actual situation, for example, the preset duration threshold value can be half an hour or 1 hour, the present invention is real
It applies example and this is not construed as limiting.This way it is possible to avoid stablizing for the corresponding first search frequency point of the cell connected is poor, avoid by
The bad first search frequency point of quality of connection is adjusted to first place.
Step 206, with it is each it is described preferentially search the corresponding cell of net frequency point and do not set up connection in the case where, will be except every
It is a it is described preferentially search frequency point except net frequency point alternately frequency point, and be based on each alternative frequency point, successively carry out searching net operation.
It is exemplary, it is assumed that all frequency points for including in network are A1, A2, B1, B2, C1, C2, H1, H2, K1, K2, and movement is eventually
Cell corresponding with H1 and the corresponding cell of C1 is held not to set up connection, then mobile terminal can be by the institute in addition to H1 and C1
Some frequency points: alternately frequency point successively carries out searching net behaviour based on each alternative frequency point by A1, A2, B1, B2, C2, H2, K1, K2
Make, to guarantee that mobile terminal is connectable on network.
Step 207, in the case where cell corresponding with one of them alternative frequency point establishes connection, by the alternative frequency point
The first place into the sequence is adjusted, or, when the connection duration with the cell reaches the preset duration threshold value, it will be described
Alternative frequency point adjusts the first place into the sequence.
It is exemplary, it is assumed that mobile terminal cell corresponding with A2 establishes connection, then mobile terminal can pass through insertion
Mode, A2 is adjusted to the first places composed by this multiple search frequency point to be selected in sequence, accordingly, due to before A2 not
In the sequence composed by this multiple search frequency point to be selected, therefore, in sequence composed by this multiple search frequency point to be selected
Other it is to be selected search frequency points positions successively move back with for, at this point, sequence composed by multiple search frequency points to be selected for (A2, C1,
C2,H1,H2,K1,K2).Certainly, a timer also can be set in mobile terminal, builds in mobile terminal cell corresponding with A2
When having stood connection, using the connection duration of timer statistics and the cell, it is up in mobile terminal and the connection of the cell
When to preset duration threshold value, then A2 is inserted into the first places in this multiple search frequency point to be selected.This way it is possible to avoid matter will be connected
Measure the first place that bad alternative search frequency point is added to sequence.
Step 208, in the sequence it is to be selected search frequency point number be greater than predetermined number threshold value in the case where, then from institute
It states the search frequency point to be selected in sequence positioned at last bit to start, to the first sequence, successively be deleted in the sequence according to by last bit
Search frequency point to be selected, until the sequence in it is to be selected search frequency point number be not more than the predetermined number threshold value.
In this step, which can be is arranged according to the actual situation, for example, the predetermined number threshold value can
Think 20, when excessive due to the number of search frequency point to be selected, will lead to and the efficiency for preferentially searching net is carried out based on search frequency point to be selected
It is lower, in the embodiment of the present invention, mobile terminal is adjusted by will establish first search frequency point corresponding to the cell of connection to sequence
Column are the first, and alternative search frequency point corresponding to the cell for establishing connection is adjusted to sequence first place, in this way, newly-increased is attachable
Idle search frequency point can be added in sequence as search frequency point to be selected, and the search frequency point being of little use either breaks down not
Available search frequency point can also be eliminated to the back of sequence.
Further, mobile terminal can in the sequence it is to be selected search frequency point number be greater than predetermined number threshold value when, from end
The search frequency point to be selected of position starts, search frequency point to be selected in deletion sequence, in the embodiment of the present invention, by constantly updating to be selected search
The position to be selected for searching for frequency point in sequence composed by rope frequency point, and the search frequency point to be selected of last bit in sequence delete and is washed in a pan
It eliminates, guarantees that the number for the search frequency point to be selected for including in sequence will not be too many, ensure that and search net efficiency, while also ensuring sequence
In include search frequency point utility value with higher to be selected, and then guarantee mobile terminal be based on search frequency point to be selected connection net
The success rate of network.For example, it is assumed that the corresponding cell of H1 is all split in addition to then H1 will be washed in a pan with the continuous renewal of sequence
It eliminates.
In conclusion it is provided in an embodiment of the present invention another kind method for searching network, receive search net request in the case where, move
What dynamic terminal can calculate search frequency point to be selected searches net fitness, and based on net fitness selection first search frequency point is searched, then base
It successively carries out searching net operation in each first search frequency point, wherein to be selected search in the resident place that frequency point is mobile terminal is believed
Number quality is greater than the frequency point of predetermined quality threshold, resides the preferable frequency point of signal quality in place as to be selected using mobile terminal and searches
Rope frequency point can search net efficiency to avoid reduction, while select first search frequency from search frequency point to be selected based on net fitness is searched
Point carries out searching net, it is ensured that more high probability is connected to network, improves the success rate for searching net, further, mobile terminal is also
Preferentially net frequency point can be searched by connect cell is corresponding, or the corresponding of connected cell alternative searched net frequency point and adjusted to N number of
First place in sequence composed by search frequency point to be selected carries out dynamic adjustment to sequence, and can be from the search to be selected frequency of last bit
Point start to be deleted, guarantee sequence in it is to be selected search frequency point number be not more than predetermined number threshold value, in this way, by dynamic adjust
It is whole to delete search frequency point to be selected, it is ensured that the number of search frequency point to be selected will not be too many, and then guarantees to search net efficiency, while
Guarantee the search frequency point utility value with higher to be selected for including in sequence, and then guarantees that mobile terminal is based on search frequency to be selected
The success rate of point connection network.
Fig. 3 is a kind of block diagram of mobile terminal provided in an embodiment of the present invention, as shown in figure 3, the mobile terminal 30 can be with
Include:
Selecting module 301, for receive search net request in the case where, based on preset N number of search frequency point to be selected
Net fitness is searched, from N number of search frequency point to be selected, selects M first search frequency point.
First searches net module 302, for being based on the M first search frequency point, successively carries out searching net operation.
Wherein, the search frequency point to be selected is that signal strength is greater than preset strength threshold in the resident place of the mobile terminal
The frequency point of value;N, M is positive integer, and N >=M.
In conclusion mobile terminal provided in an embodiment of the present invention can be realized mobile terminal in the embodiment of the method for Fig. 1
The each process realized, to avoid repeating, which is not described herein again.Mobile terminal provided in an embodiment of the present invention can receive
In the case where searching net request, net fitness is searched based on preset N number of search frequency point to be selected, is selected from N number of search frequency point to be selected
M first search frequency point is selected, M first search frequency point is then based on, successively carries out searching net operation, wherein search frequency point to be selected
It is the frequency point that signal quality is greater than predetermined quality threshold in the resident place of mobile terminal.In the embodiment of the present invention, with mobile whole
Hold the preferable frequency point of signal quality in resident place that can avoid the occurrence of the lower frequency of utility value as search frequency point to be selected
The problem of point, net efficiency is searched in reduction, while M first search is selected from this N number of search frequency point to be selected based on net fitness is searched
Frequency point carries out searching net, it is ensured that more high probability is connected to network, improves the success rate for searching net.
Fig. 4 is the block diagram of another mobile terminal provided in an embodiment of the present invention, as shown in figure 4, the device 40 can wrap
It includes:
Selecting module 401, for receive search net request in the case where, based on preset N number of search frequency point to be selected
Net fitness is searched, from N number of search frequency point to be selected, selects M first search frequency point.
First searches net module 402, for being based on the M first search frequency point, successively carries out searching net operation.
Wherein, the search frequency point to be selected is that signal strength is greater than preset strength threshold in the resident place of the mobile terminal
The frequency point of value;N, M is positive integer, and N >=M.
Optionally, the signal quality and history for searching net fitness and the search frequency point to be selected of the search frequency point to be selected
It is directly proportional using parameter.
The resident place is the place for meeting preset condition, wherein the preset condition, which includes at least one of the following:, stays
The frequency is stayed to be greater than default resident frequency threshold value, resident duration is greater than default resident duration threshold value.
Optionally, the mobile terminal 40 further include:
Obtain module 403, for for each search frequency point to be selected, obtain the search frequency point to be selected signal quality and
History uses parameter.
Computing module 404 calculates the search frequency to be selected for using parameter based on the signal quality and the history
Point searches net fitness.
Wherein, the history using parameter include by it is described it is to be selected search frequency point connect network history connect number or
History connects duration.
Optionally, the computing module, is used for:
According to formulaCalculate the search frequency point to be selected searches net fitness.
Wherein, R is the signal quality, T be the history using parameter, A1 is the first default adjustment parameter, B1
Two default adjustment parameters, C1 are that third presets adjustment parameter, D1 is the 4th default adjustment parameter, E1 is that the 5th default adjust is joined
Number.
Optionally, the computing module, is used for:
Obtain the distance between the current location in the search frequency point to be selected corresponding resident place and the mobile terminal.
According to formulaCalculate the search frequency point to be selected searches net fitness.
Wherein, R be the signal quality, T be the history the use of parameter, S is the distance, A2 is the 6th default to adjust
Parameter, B2 is the 7th default adjustment parameter, C2 is the 8th default adjustment parameter, D2 is the 9th default adjustment parameter, E2 is the tenth
Default adjustment parameter, F are pre-determined distance coefficient.
Optionally, described first net module 402 is searched, is used for:
Obtain each signal quality for preferentially searching net frequency point.
Successively existed based on each signal quality for preferentially searching net frequency point according to the sequence of signal quality from high to low
It is each it is described preferentially search net frequency point, search for and described preferentially search the corresponding cell of net frequency point.
It is described to be based on the M first search frequency point, it successively carries out searching after net operation, further includes:
In the case where searching first community, connection is established with the first community.
Optionally, the mobile terminal 40 further include:
The first adjustment module, for the case where cell corresponding with net frequency point is preferentially searched described in one of them establishes connection
Under, the net frequency point of preferentially searching is adjusted to the first place composed by N number of search frequency point to be selected in sequence, alternatively, with
When the connection duration of the cell reaches preset duration threshold value, preferentially searches net frequency point by described and adjust the head into the sequence
Position.
Optionally, the mobile terminal 40 further include:
Second searches net module, for described preferentially searching the case where corresponding cell of net frequency point does not set up connection with each
Under, by except it is each it is described preferentially search net frequency point in addition to frequency point alternately frequency point, and be based on each alternative frequency point, successively carry out
Search net operation.
Optionally, the mobile terminal 40 further include:
Second adjustment module, in the case where cell corresponding with alternative frequency point described in one of them establishes connection,
The alternative frequency point is adjusted into the first place into the sequence, alternatively, reaching described default in the connection duration with the cell
When duration threshold value, the alternative frequency point is adjusted to the first place into the sequence.
Removing module, in the case that the number for search frequency point to be selected in the sequence is greater than predetermined number threshold value,
The search frequency point to be selected for being located at last bit since the sequence, to the first sequence, the sequence is successively deleted according to by last bit
Search frequency point to be selected in column, up to the number of search frequency point to be selected in the sequence is less than or equal to the predetermined number threshold
Value.
Optionally, the selecting module 401, is used for:
Net fitness will be searched and be determined as first search frequency point greater than the default search frequency point to be selected for searching net fitness threshold value.
In conclusion mobile terminal provided in an embodiment of the present invention can be realized mobile terminal in the embodiment of the method for Fig. 2
The each process realized, to avoid repeating, which is not described herein again.Wherein, receive search net request in the case where, mobile terminal
Search frequency point to be selected can be calculated searches net fitness, and based on net fitness selection first search frequency point is searched, is then based on each
First search frequency point successively carries out searching net operation, wherein search frequency point to be selected is signal quality in the resident place of mobile terminal
Greater than the frequency point of predetermined quality threshold, the preferable frequency point of signal quality in place is resided as search frequency to be selected using mobile terminal
Point, can search net efficiency to avoid reduction, at the same based on search net fitness selected from search frequency point to be selected first search frequency point into
It goes and searches net, it is ensured that more high probability is connected to network, improves the success rate for searching net, and further, mobile terminal can also incite somebody to action
Connected cell is corresponding preferentially to search net frequency point, or the corresponding of connect cell alternative searched net frequency point and adjusted to N number of to be selected
The first place in sequence composed by frequency point is searched for, dynamic adjustment is carried out to sequence, and can hold from the search frequency point to be selected of last bit
Beginning deleted, guarantee sequence in it is to be selected search frequency point number be not more than predetermined number threshold value, in this way, by dynamic adjustment delete
Except search frequency point to be selected, it is ensured that the number of search frequency point to be selected will not be too many, and then guarantees to search net efficiency, while also guaranteeing
The search frequency point utility value with higher to be selected for including in sequence, and then guarantee that mobile terminal is connected based on search frequency point to be selected
Connect the success rate of network.
A kind of hardware structural diagram of Fig. 5 mobile terminal of each embodiment to realize the present invention,
The mobile terminal 500 includes but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, defeated
Enter unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor
The components such as 510 and power supply 511.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 5 is not constituted pair
The restriction of mobile terminal, mobile terminal may include perhaps combining certain components or not than illustrating more or fewer components
Same component layout.In embodiments of the present invention, mobile terminal includes but is not limited to mobile phone, tablet computer, laptop, the palm
Upper computer, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 510, for receive search net request in the case where, be based on preset N number of search frequency point to be selected
Search net fitness, from N number of search frequency point to be selected, select M first search frequency point;
Processor 510 successively carries out searching net operation for being based on the M first search frequency point;
Wherein, the search frequency point to be selected is that signal quality is greater than preset quality threshold in the resident place of the mobile terminal
The frequency point of value;N, M is positive integer, and N >=M.
In conclusion mobile terminal can receive search net request in the case where, be based on preset N number of search frequency point to be selected
Search net fitness, from N number of search frequency point to be selected select M first search frequency point, be then based on M first search frequency point,
It successively carries out searching net operation, wherein search frequency point to be selected is that signal quality is greater than preset quality in the resident place of mobile terminal
The frequency point of threshold value.In the embodiment of the present invention, the preferable frequency point of signal quality in place is resided as search to be selected using mobile terminal
The problem of frequency point, can avoid the occurrence of the lower frequency point of utility value, and net efficiency is searched in reduction, at the same based on search net fitness from this
M first search frequency point is selected to carry out searching net in N number of search frequency point to be selected, it is ensured that more high probability is connected to network, mentions
Height searches the success rate of net.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 501 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set
Standby communication.
Mobile terminal provides wireless broadband internet by network module 502 for user and accesses, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be received by radio frequency unit 501 or network module 502 or in memory 509
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also be provided and be moved
The relevant audio output of specific function that dynamic terminal 500 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 503 includes loudspeaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include graphics processor
(Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 506.Through graphics processor 5041, treated that picture frame can be deposited
Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike
Wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 501 is converted in the case where telephone calling model.
Mobile terminal 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 5061, and proximity sensor can close when mobile terminal 500 is moved in one's ear
Display panel 5061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 506 can wrap
Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 507 include touch panel 5071 and
Other input equipments 5072.Touch panel 5071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 5071 or in touch panel 5071
Neighbouring operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area
It manages the order that device 510 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments
5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it
On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touching
The type for touching event provides corresponding visual output on display panel 5061.Although in Fig. 5, touch panel 5071 and display
Panel 5061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments
In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of mobile terminal, it is specific this
Place is without limitation.
Interface unit 508 is the interface that external device (ED) is connect with mobile terminal 500.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in mobile terminal 500 or can be used in 500 He of mobile terminal
Data are transmitted between external device (ED).
Memory 509 can be used for storing software program and various data.Memory 509 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 509, and calls and is stored in storage
Data in device 509 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511
Can be logically contiguous by power-supply management system and processor 510, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 510, and memory 509 is stored in
On memory 509 and the computer program that can run on the processor 510, the computer program are executed by processor 510
Each process of the above-mentioned method for searching network embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here no longer
It repeats.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned method for searching network embodiment when being executed by processor, and can reach
Identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium is deposited Ru read-only
Reservoir (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM),
Magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within protection of the invention.