Summary of the invention
The embodiment of the present invention provides a kind of Wireless Fidelity WIFI method for network access and terminal equipment, can reduce unnecessary connection and switch, and comparatively stable network is provided, and reduces because of the frequent power consumption causing of switching.
First aspect, the embodiment of the present invention provides a kind of Wireless Fidelity WIFI method for network access, comprising:
Terminal equipment is when WIFI signal being detected, whether the translational speed of determining terminal equipment is less than or equal to the first predetermined threshold value, and whether the Strength Changes value of determining described WIFI signal in Preset Time is less than or equal to the second predetermined threshold value, wherein, described Strength Changes value is described WIFI signal maximum and minimum value poor in described Preset Time;
If described translational speed is less than or equal to the first predetermined threshold value and described Strength Changes value is less than or equal to the second predetermined threshold value, described terminal equipment accesses the affiliated access point of described WIFI signal.
In the possible implementation of the first, according to first aspect, also comprise:
If described translational speed is greater than the first predetermined threshold value, and/or described Strength Changes value is greater than the second predetermined threshold value, and described terminal equipment keeps current network connection state.
In the possible implementation of the second, in conjunction with first aspect and the possible implementation of the first, if described translational speed is less than or equal to the first predetermined threshold value and described Strength Changes value is less than or equal to the second predetermined threshold value, before described terminal equipment accesses the affiliated access point of described WIFI signal, also comprise:
Described terminal equipment obtains the intensity level of the WIFI signal after variation;
Access point under the described WIFI signal of described access, comprising:
If the intensity level of the WIFI signal after described variation is more than or equal to the 3rd predetermined threshold value, described terminal equipment accesses the affiliated access point of described WIFI signal.
In the third possible implementation, the implementation possible according to the second, also comprises:
If the intensity level of the WIFI signal after described variation is less than the 3rd predetermined threshold value, described terminal equipment keeps current network connection state.
Second aspect, a kind of terminal equipment that the embodiment of the present invention provides, described terminal equipment, for Wireless Fidelity WIFI network insertion, comprising:
Comparing unit, for when detecting unit detects Wireless Fidelity WIFI signal, whether the translational speed of determining terminal equipment is less than or equal to the first predetermined threshold value, and whether the Strength Changes value of determining described WIFI signal in Preset Time is less than or equal to the second predetermined threshold value, wherein, described Strength Changes value is described WIFI signal maximum and minimum value poor in described Preset Time;
Processing unit, if be less than or equal to the first predetermined threshold value and described Strength Changes value is less than or equal to the second predetermined threshold value for described translational speed, accesses the access point under described WIFI signal.
In the possible implementation of the first, according to second aspect, described processing unit, if be also greater than the first predetermined threshold value for described translational speed, and/or described Strength Changes value is greater than the second predetermined threshold value, keeps current network connection state.
In the possible implementation of the second, in conjunction with second aspect and the possible implementation of the first, also comprise:
Acquiring unit, for obtaining the intensity level of the WIFI signal after variation;
Described processing unit, if be also more than or equal to the 3rd predetermined threshold value for the intensity level of the WIFI signal after described variation, accesses the access point under described WIFI signal.
In the third possible implementation, the implementation possible according to the second, described processing unit, if be also less than the 3rd predetermined threshold value for the intensity level of the WIFI signal after described variation, keeps current network connection state.
Wireless Fidelity WIFI method for network access and terminal equipment that the embodiment of the present invention provides.Terminal equipment is when WIFI signal being detected, whether the translational speed of determining terminal equipment is less than or equal to the first predetermined threshold value, and whether the Strength Changes value of determining WIFI signal in Preset Time is less than or equal to the second predetermined threshold value, wherein, Strength Changes value is WIFI signal maximum and minimum value poor in Preset Time; If translational speed is less than or equal to the first predetermined threshold value and Strength Changes value is less than or equal to the second predetermined threshold value, terminal equipment accesses the affiliated access point of WIFI signal.So, terminal equipment can be by self translational speed and the access point that judges whether to be switched to this WIFI of the signal strength signal intensity in WIFI coverage of living in, when needs access, just carry out the operation of switching access WIFI from other network, thereby reducing unnecessary connection switches, and then comparatively stable network is provided, and reduce because of the frequent power consumption causing of switching.。
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The term using is in embodiments of the present invention only for the object of describing specific embodiment, but not is intended to limit the present invention." a kind of " of the singulative using in the embodiment of the present invention and appended claims, " described " and " being somebody's turn to do " are also intended to comprise most forms, unless context clearly represents other implications.It is also understood that term "and/or" used herein refer to and comprise one or more projects of listing that are associated any or all may combine.
Although should be appreciated that and may adopt in embodiments of the present invention term first, second, third, etc. to describe various predetermined threshold value, these predetermined threshold value should not be limited to these terms.These terms are only used for predetermined threshold value to be distinguished from each other out.For example, in the situation that not departing from embodiment of the present invention scope, the first predetermined threshold value also can be called as the second predetermined threshold value, and similarly, the second predetermined threshold value also can be called as the first predetermined threshold value.
Depend on linguistic context, as used in this word " if " can be construed as into " ... time " or " when ... time " or " in response to determine " or " in response to detecting ".Similarly, depend on linguistic context, phrase " if determine " or " if detect, translational speed is less than or equal to the first default thresholding and Strength Changes value is less than or equal to the second default thresholding " can be construed as " when definite " or " in response to determining " or " when detecting translational speed and be less than or equal to the first default thresholding and Strength Changes value and be less than or equal to the second default thresholding " or " be less than or equal to the first default thresholding and Strength Changes value and be less than or equal to second and preset thresholding in response to detecting translational speed ".
The present invention can be applied to support the terminal equipment of WIFI internet and 3G network, or support WIFI network and LTE network terminal equipment, or support the terminal equipment of WIFI internet and 3G network and LTE network, particularly, above-mentioned terminal equipment can be smart mobile phone, panel computer, mobile WIFI router etc.
Fig. 1 is the flow chart of Wireless Fidelity WIFI method for network access embodiment provided by the invention, and as shown in Figure 1, the method comprises:
S101, terminal equipment, when WIFI signal being detected, determine whether the translational speed of terminal equipment is less than or equal to the first predetermined threshold value, and determine whether the Strength Changes value of WIFI signal in Preset Time is less than or equal to the second predetermined threshold value.
For instance, terminal equipment can utilize acceleration sensor to obtain acceleration, determines the translational speed of terminal according to acceleration, as, acceleration is 0 o'clock, terminal equipment, in relatively static state, can be determined translational speed according to initial velocity; Or, can also utilize velocity transducer to obtain the translational speed of terminal, as utilize velocity transducer directly to obtain the translational speed of terminal equipment; Again or, according to information interaction, determine the translational speed of terminal equipment, if terminal equipment is in 3G network, when carrying out information interaction with the base station of 3G network deployment, because base station can detect the particular location of terminal equipment, and carrying this each positional information in the information sending to terminal equipment, terminal equipment can be determined displacement according to the information receiving, and according to the time point of receiving information, calculates the translational speed of terminal equipment.
Further, in concrete implementation procedure, can be also that acceleration transducer or velocity transducer coordinate the transducer of other functions to realize together, with above-mentioned, be not exemplified as restriction.
For instance, Strength Changes value is the poor of the maximum of WIFI signal strength signal intensity of WIFI access point in Preset Time and minimum value, if Preset Time is 3 seconds that detect after the WIFI signal of WIFI access point, WIFI signal maximum in these 3 seconds is 10dBm, minimum value is 2dBm, and the Strength Changes value of WIFI signal strength signal intensity is 8dB, wherein, dBm is a unit that represents power absolute value, and computing formula is: 10lg performance number/1mW; DB is the unit of signal strength signal intensity, and for representing a relative value, Shi Yigechun digit, when the power that calculates A, can calculate by formula 10lg A/B during large or little how many dB than B.The Strength Changes value of the WIFI signal of WIFI access point of the present invention is not exemplified as restriction with above-mentioned, the maximum of the WIFI signal strength signal intensity of WIFI access point can be also 10dB, the minimum value of the WIFI signal strength signal intensity of WIFI access point can be also 2dB, the computational methods of signal strength signal intensity and applicable unit thereof are prior art, no longer launch explanation, only illustrate herein, do not do any restriction.
Further, the technical scheme of the embodiment of the present invention is by determining the translational speed of terminal equipment, in conjunction with current detection, arrive WIFI signal intensity simultaneously, carry out comprehensive judgement and then selectivity access WIFI network, and unlike in prior art scheme, for the switching of WIFI and 3G, WIFI and LTE, be all to adopt the principle that WIFI priority access is set.Can more intelligent, the rational user for use terminal equipment providing services on the Internet of the embodiment of the present invention.
For instance, whether terminal equipment can automatic detection have WIFI signal, at the WIFI signal that enters into a WIFI access point, cover region time, terminal equipment detects the WIFI signal of this WIFI access point, now, terminal equipment determines whether the translational speed of terminal equipment is less than or equal to the first predetermined threshold value, the first predetermined threshold value can be determined according to the average speed of travel of the user with terminal equipment of historical statistics, as, the average speed of travel of user of the use terminal equipment of historical statistics is 5km/h or 5~7m/s, terminal equipment can save as the first predetermined threshold value into 5km/h or 5~7m/s.And whether the Strength Changes value of determining the WIFI signal of WIFI access point in Preset Time is while being less than or equal to the second predetermined threshold value, can be to cover edge to center according to the WIFI signal of the WIFI access point of statistics, or the average travel time of user of the use terminal equipment at center to edge determines Preset Time, and determine the second predetermined threshold value according to the signal difference that the WIFI signal of the WIFI access point of statistics covers center to edge.As, when being greater than the above-mentioned speed of travel 5~7m/s, user on average just can run to edge from the WIFI signal covering center of WIFI access point at 2s, and the changing value of signal is 5dBm, like this, just the second predetermined threshold value can be set as to 5dBm, Preset Time is set to 2s.Certainly, the second predetermined threshold value also can set in advance by other means, does not limit in embodiments of the present invention.
Further, terminal equipment is when the translational speed of determining terminal equipment is less than or equal to 5m/s, if the Strength Changes value of WIFI signal is greater than 5dBm in 2s, terminal equipment accesses the affiliated WIFI access point of this WIFI signal, but the next 2s changing value of WIFI signal of receiving due to terminal equipment may be less than 5dBm, therefore, terminal equipment can carry out every 2s interval sampling once, to guarantee the using user of this terminal equipment wouldn't need to switch to other networks after having accessed this WIFI.
If S102, terminal equipment determine that translational speed is less than or equal to the first predetermined threshold value and Strength Changes value is less than or equal to the second predetermined threshold value, access the affiliated WIFI access point of WIFI signal.
For instance, if terminal equipment translational speed is less than or equal to the first predetermined threshold value and Strength Changes value is less than or equal to the second predetermined threshold value, terminal equipment accesses the affiliated access point of WIFI signal, as translational speed is less than 3m/s and the first predetermined threshold value is 5m/s, the pad value of signal or yield value are 1dBm, the second predetermined threshold value is set as 5dBm, determine user's low-speed running in the WIFI of this WIFI access point signal coverage areas, access WIFI access point can not cause high frequency to switch, so the WIFI access point under terminal equipment access WIFI signal.
The Wireless Fidelity WIFI method for network access that the embodiment of the present invention provides.Terminal equipment is when WIFI signal being detected, whether the translational speed of determining terminal equipment is less than or equal to the first predetermined threshold value, and whether the Strength Changes value of determining WIFI signal in Preset Time is less than or equal to the second predetermined threshold value, wherein, Strength Changes value is WIFI signal maximum and minimum value poor in Preset Time; If translational speed is less than or equal to the first predetermined threshold value and Strength Changes value is less than or equal to the second predetermined threshold value, terminal equipment accesses the affiliated access point of WIFI signal.So, terminal equipment can be by self translational speed and the access point that judges whether to be switched to this WIFI of the signal strength signal intensity in WIFI coverage of living in, when needs access, just carry out the operation of switching access WIFI from other network, thereby reducing unnecessary connection switches, and then comparatively stable network is provided, and reduce because of the frequent power consumption causing of switching.
Fig. 2 is the flow chart of another method for connecting network embodiment provided by the invention, the present embodiment be take smart mobile phone that terminal equipment be to support WIFI and 3G function or support WIFI and LTE function and is described as example, but with this, do not do any restriction, as shown in Figure 2, the method comprises:
S201, smart mobile phone obtain the translational speed of smart mobile phone.
Further, smart mobile phone can determine that whether user is in normal condition according to the translational speed obtaining, if translational speed is normal speed left and right, be defined as normal condition, this normal speed is the average speed of travel of user of the use terminal equipment of historical statistics, smart mobile phone can be defined as performing step S202 under normal condition, and smart mobile phone also can not carry out the judgement of normal condition and directly carry out S202.
S202, smart mobile phone, when WIFI signal being detected, determine whether the translational speed of smart mobile phone is less than or equal to the first predetermined threshold value, and determine whether the Strength Changes value of WIFI signal in Preset Time is less than or equal to the second predetermined threshold value.
It should be noted that, the Strength Changes value of WIFI signal has been launched explanation in the above-described embodiments, does not repeat them here.
Further, if the Strength Changes value of WIFI signal is less than or equal to the second predetermined threshold value in Preset Time, perform step S203, if be that the Strength Changes value that the definite translational speed of smart mobile phone is less than or equal to the first predetermined threshold value and WIFI signal is less than or equal to the second predetermined threshold value, perform step S203; If not, execution step S206, even translational speed is greater than the first predetermined threshold value, and/or Strength Changes value is greater than the second predetermined threshold value, performs step S206.
It should be noted that, if the Strength Changes value that definite translational speed is less than or equal to the first predetermined threshold value and WIFI signal is less than or equal to the second predetermined threshold value, can determine that user can be detained a period of time in the WIFI of WIFI access point signal coverage areas, but not WIFI signal coverage areas by this WIFI access point rapidly, so smart mobile phone access this WIFI access point WIFI signal coverage areas WIFI access point.The first predetermined threshold value, Preset Time and the second predetermined threshold value all illustrate in the above-described embodiments, do not repeat them here.
Further, if translational speed is greater than the first predetermined threshold value, and/or, Strength Changes value is greater than the second predetermined threshold value, the overlay area of the WIFI signal of the WIFI access point that explanation is used the user of this smart mobile phone to speed away to detect, therefore do not access the access point of this WIFI, but continue to keep being connected with current network.
For instance, smart mobile phone may detect at the overlay area and two time points of overlay area that soon leave the WIFI signal of WIFI access point that enter the WIFI signal of WIFI access point the Strength Changes value of signal, at this time, although the changing value of intensity is less than the second predetermined threshold value, but because translational speed is greater than the first predetermined threshold value, user will leave the overlay area of the WIFI signal of WIFI access point at once, so do not access WIFI access point.
The user of smart mobile phone may be sitting in the overlay area that has entered the WIFI signal of this WIFI access point on the car at the uniform velocity travelling, at this moment, although translational speed is 0m/s, be less than the first predetermined threshold value, but Strength Changes value is large to such an extent as to be greater than the second predetermined threshold value, so this time user is also the overlay area that is about to leave the WIFI signal of this WIFI access point, does not therefore access WIFI access point.
If the user of smart mobile phone passes by fast, or the overlay area of running the WIFI signal of this WIFI access point at a high speed, in so most situation, translational speed is to be greater than the first predetermined threshold value and change in signal strength value is greater than the second predetermined threshold value, at this moment, also can determine that user is also the overlay area that is about to leave the WIFI signal of this WIFI access point, does not therefore access WIFI access point.
S203, smart mobile phone obtain the intensity level of the WIFI signal after variation.
Further, comparatively stable if smart mobile phone can access the intensity level of the WIFI signal after variation, can obtain in the short period, as the intensity level of the mean value of the intensity level in 30ms as WIFI signal.If the changes in intensity values of signal is larger, wait for the intensity level that obtains again this WIFI signal after stablizing.
S204, smart mobile phone determine whether the intensity level of the WIFI signal after changing is more than or equal to the 3rd predetermined threshold value.
Further, if smart mobile phone is determined the intensity level of the WIFI signal after changing, be more than or equal to the 3rd predetermined threshold value, perform step S205, if smart mobile phone is determined the intensity level of the WIFI signal after changing, be less than the 3rd predetermined threshold value, perform step S206.
Further, the 3rd predetermined threshold value can be that the minimum access signal strength signal intensity of access point under the WIFI signal obtaining according to statistics is set, as 100dBm etc.
Again further, if smart mobile phone is the overlay area in the WIFI of a plurality of WIFI access points signal simultaneously, the access point of take under the most stable WIFI signal of WIFI signal strength signal intensity maximum or WIFI signal is target access, when meeting above-mentioned each threshold value condition, access this target access.
Further, the 3rd predetermined threshold value is that the minimum access signal strength signal intensity of the access point under the WIFI signal obtaining according to statistics is set as mentioned above, as 100dBm etc., if lower than this signal strength signal intensity, after smart mobile phone access, also cannot enjoy service or service quality that this network provides very poor, so in this case, smart mobile phone is still used original network connection state.
Access point under S205, smart mobile phone access WIFI signal.
It should be noted that, for keeping connecting smooth excessiveness, in access point process under access WIFI signal, 3G or LTE keep connection status always, until access point just can disconnect 3G or LTE after returning to response message indication and WIFI successful connection, if the response message that access point returns indication and WIFI connection failure keep being connected of 3G or LIE always.
S206, smart mobile phone keep current network connection state.
For instance, current network connection state, can be smart mobile phone and another WIFI access point connection status; Or, be smart mobile phone and 3G network connection status; Again or, smart mobile phone and LTE network connection state.
The Wireless Fidelity WIFI method for network access that the embodiment of the present invention provides.Terminal equipment is when WIFI signal being detected, whether the translational speed of determining terminal equipment is less than or equal to the first predetermined threshold value, and whether the Strength Changes value of determining WIFI signal in Preset Time is less than or equal to the second predetermined threshold value, wherein, Strength Changes value is WIFI signal maximum and minimum value poor in Preset Time; If translational speed is less than or equal to the first predetermined threshold value and Strength Changes value is less than or equal to the second predetermined threshold value, terminal equipment accesses the affiliated access point of WIFI signal.So, terminal equipment can be by self translational speed and the access point that judges whether to be switched to this WIFI of the signal strength signal intensity in WIFI coverage of living in, when needs access, just carry out the operation of switching access WIFI from other network, thereby reducing unnecessary connection switches, and then comparatively stable network is provided, and reduce because of the frequent power consumption causing of switching.
Fig. 3 is the structural representation of terminal equipment embodiment provided by the invention, and as shown in Figure 3, terminal equipment 30 comprises for Wireless Fidelity WIFI network insertion: detecting unit 301, comparing unit 302 and processing unit 303.
Detecting unit 301, for the regular or lasting WIFI signal that detects.
Comparing unit 302, for when detecting unit 301 detects WIFI signal, whether the translational speed of determining terminal equipment is less than or equal to the first predetermined threshold value, and whether the Strength Changes value of determining WIFI signal in Preset Time is less than or equal to the second predetermined threshold value, wherein, described Strength Changes value is described WIFI signal maximum and minimum value poor in described Preset Time.
Processing unit 303, if be less than or equal to the first predetermined threshold value and Strength Changes value is less than or equal to the second predetermined threshold value for translational speed, accesses the access point under WIFI signal.
Further, if processing unit 303 is also greater than the first predetermined threshold value for translational speed, keep current network connection state; Or Strength Changes value is greater than the second predetermined threshold value, keep current network connection state; Or translational speed is greater than the first predetermined threshold value and Strength Changes value is greater than the second predetermined threshold value, keep current network connection state.It should be noted that, Preset Time, the first predetermined threshold value and the second predetermined threshold value are described in said method embodiment, do not repeat them here.
Fig. 4 is the structural representation of another embodiment of terminal equipment provided by the invention, and as shown in Figure 4, terminal equipment 30, on the basis of the structure of terminal equipment shown in Fig. 3, further, can also comprise: acquiring unit 304.
Acquiring unit 304, for obtaining the intensity level of the WIFI signal after variation.
Processing unit 303, if be also more than or equal to the 3rd predetermined threshold value for the intensity level of the WIFI signal after changing, accesses the access point under WIFI signal; If the intensity level of the WIFI signal after changing is less than the 3rd predetermined threshold value, keep current network connection state.
It should be noted that, the 3rd predetermined threshold value is described in said method embodiment, does not repeat them here.
For instance, current network connection state can be the connection status with WIFI access point; Or, 3G network connection status; Or, LTE network connection state.
Again further, acquiring unit 304, can also be for obtaining the translational speed of terminal equipment.
For instance, acquiring unit 304 can, for utilizing acceleration sensor to obtain acceleration, be determined the translational speed of terminal according to acceleration; Or, utilize velocity transducer to obtain the translational speed of terminal.
The terminal equipment 30 of the present embodiment, all can be for the technical scheme of embodiment of the method shown in execution graph 1 or Fig. 2, and it realizes principle and technique effect is similar, repeats no more herein.
The terminal equipment that the embodiment of the present invention provides, be applicable to Wireless Fidelity WIFI network insertion, terminal equipment is when WIFI signal being detected, whether the translational speed of determining terminal equipment is less than or equal to the first predetermined threshold value, and whether the Strength Changes value of determining WIFI signal in Preset Time is less than or equal to the second predetermined threshold value, wherein, Strength Changes value is WIFI signal maximum and minimum value poor in Preset Time; If translational speed is less than or equal to the first predetermined threshold value and Strength Changes value is less than or equal to the second predetermined threshold value, terminal equipment accesses the affiliated access point of WIFI signal.So, terminal equipment can be by self translational speed and the access point that judges whether to be switched to this WIFI of the signal strength signal intensity in WIFI coverage of living in, when needs access, just carry out the operation of switching access WIFI from other network, thereby reducing unnecessary connection switches, and then comparatively stable network is provided, and reduce because of the frequent power consumption causing of switching.
Fig. 5 is the structural representation of another terminal equipment embodiment provided by the invention, as shown in Figure 5, with terminal equipment 40, is specifically described, and terminal equipment 40 can be mobile phone or panel computer.It should be understood that graphic terminal equipment 40 is only an example, terminal equipment 40 can have than more that cross or still less the parts shown in figure, can combine two or more parts, or can have different component configuration.Various parts shown in figure can be realized in the combination of hardware, software or hardware and software that comprises one or more signals processing and/or application-specific integrated circuit (ASIC).This terminal equipment 40 comprises: WIFI module 401 and processor 402.
WIFI module 401, for the regular or lasting WIFI signal that detects
Processor 402, for when WIFI module 401 detects WIFI signal, whether the translational speed of determining terminal equipment terminal equipment is less than or equal to the first predetermined threshold value, and determines whether the Strength Changes value of WIFI signal in Preset Time is less than or equal to the second predetermined threshold value.
If processor 402 determines that translational speed is less than or equal to the first predetermined threshold value and Strength Changes value is less than or equal to the second predetermined threshold value, make the affiliated access point of WIFI module 401 access WIFI signals.If processor 402 determines that translational speed is greater than the first predetermined threshold value, and/or Strength Changes value is greater than the second predetermined threshold value, makes mobile device keep current network connection state.It should be noted that, Preset Time, the first predetermined threshold value and the second predetermined threshold value, Strength Changes value are all described in said method embodiment, do not repeat them here.
For instance, processor 402 can be central processing unit etc.Further, WIFI module 401 is also for obtaining the intensity level of the WIFI signal after variation.If the intensity level of the WIFI signal after changing is more than or equal to the 3rd predetermined threshold value, access the affiliated access point of WIFI signal; If the intensity level of the WIFI signal after changing is less than the 3rd predetermined threshold value, keep current network connection state.
For instance, current network connection state can be and being connected of WIFI access point; Or, 3G network connection status; Or, LTE network connection state.
It should be noted that, the 3rd predetermined threshold value is described in said method embodiment, does not repeat them here.
Again further, Fig. 6 is the structural representation of another embodiment of terminal equipment provided by the invention, and as shown in Figure 6, terminal equipment 40 also comprises: transducer 403.
Transducer 403, can be for obtaining the translational speed of terminal equipment.
For instance, transducer 403 can be acceleration sensor, to obtain acceleration and to make processor 402 determine the translational speed of terminal 4 according to acceleration; Or transducer 403 can be also velocity transducer, to obtain the translational speed of terminal.
The terminal equipment 40 of the present embodiment, all can be for the technical scheme of embodiment of the method shown in execution graph 1 or Fig. 2, and it realizes principle and technique effect is similar, repeats no more herein.
Further, above-mentioned WIFI module 401, processor 402, relevant to transducer 403 data, processor 402 can obtain the data that transducer 403 or WIFI module 401 are obtained, and also can control WIFI module 401 and WIFI access etc.
The terminal equipment that the embodiment of the present invention provides, be applicable to Wireless Fidelity WIFI network insertion, terminal equipment is when WIFI signal being detected, whether the translational speed of determining terminal equipment is less than or equal to the first predetermined threshold value, and whether the Strength Changes value of determining WIFI signal in Preset Time is less than or equal to the second predetermined threshold value, wherein, Strength Changes value is WIFI signal maximum and minimum value poor in Preset Time; If translational speed is less than or equal to the first predetermined threshold value and Strength Changes value is less than or equal to the second predetermined threshold value, terminal equipment accesses the affiliated access point of WIFI signal.So, terminal equipment can be by self terminal equipment translational speed and the access point that judges whether to be switched to this WIFI of the signal strength signal intensity in WIFI coverage of living in, when needs access, just carry out the operation of switching access WIFI from other network, thereby reducing unnecessary connection switches, and then comparatively stable network is provided, and reduce because of the frequent power consumption causing of switching.One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each embodiment of the method can complete by the relevant hardware of program command.Aforesaid program can be stored in a computer read/write memory medium.This program, when carrying out, is carried out the step that comprises above-mentioned each embodiment of the method; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
Finally it should be noted that: each embodiment, only in order to technical scheme of the present invention to be described, is not intended to limit above; Although the present invention is had been described in detail with reference to aforementioned each embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or some or all of technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.