CN106211293A - Control method, device and the mobile terminal of a kind of Wireless Fidelity function - Google Patents

Control method, device and the mobile terminal of a kind of Wireless Fidelity function Download PDF

Info

Publication number
CN106211293A
CN106211293A CN201610735557.9A CN201610735557A CN106211293A CN 106211293 A CN106211293 A CN 106211293A CN 201610735557 A CN201610735557 A CN 201610735557A CN 106211293 A CN106211293 A CN 106211293A
Authority
CN
China
Prior art keywords
access points
geographical position
terminal
signal
wireless fidelity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610735557.9A
Other languages
Chinese (zh)
Inventor
肖龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610735557.9A priority Critical patent/CN106211293A/en
Publication of CN106211293A publication Critical patent/CN106211293A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses control method, device and the mobile terminal of a kind of Wireless Fidelity function, wherein the method comprises determining that the geographical position of terminal;Obtaining geographical position and the signal cover presetting access points, this default access points is the access points allowing this terminal to access;If the geographical position according to this terminal and the geographical position of default access points, it is judged that this terminal in the signal cover of default access points, does not then close the Wireless Fidelity function of this terminal.Therefore, when the present invention is outside terminal judges goes out its signal cover being in default access points, by the way of controlling this terminal and closing its Wireless Fidelity function, can reduce terminal when the wireless signal of access points cannot be received because of scanning periphery access points produced by power consumption, i.e. reduce the power consumption of terminal.

Description

Control method, device and the mobile terminal of a kind of Wireless Fidelity function
Technical field
The invention belongs to communication technical field, particularly relate to control method, device and the movement of a kind of Wireless Fidelity function Terminal.
Background technology
Wireless Fidelity (Wireless Fidelity, hereinafter referred to as Wi-Fi) is that a kind of permission electronic equipment is connected to one The technology of WLAN (WLAN).In the environment having Wi-Fi wireless signal, support that the mobile terminal of Wi-Fi function is permissible Carry out Wi-Fi wireless Internet access, without the data network using mobile operator to provide, such that it is able to save network for user Flow.
When mobile terminal leaves the coverage of its access points connected (Access Point), Wi-Fi meeting Lose signal.In this case, the access points of mobile terminal meeting timing scan periphery, in order to be connected to the visit that can be accessed by Ask access point.When scanning access points, mobile terminal can periodically send request signal.But, according to the work of Wi-Fi Characteristic, transmitting power during mobile terminal transmission request signal is relatively big, and the power consumption causing mobile terminal is higher.
Summary of the invention
It is an object of the invention to provide control method, device and the mobile terminal of a kind of Wireless Fidelity function, it is intended to fall The power consumption of low terminal.
For solving above-mentioned technical problem, the present invention provides techniques below scheme:
A kind of control method of Wireless Fidelity function, including:
Determine the geographical position of terminal;
Obtaining geographical position and the signal cover presetting access points, described default access points is for allowing institute State the access points that terminal accesses;
If the geographical position according to described terminal and the geographical position of described default access points, it is judged that described terminal Not in the signal cover of described default access points, then close the Wireless Fidelity function of described terminal.
For solving above-mentioned technical problem, the present invention also provides for techniques below scheme:
A kind of control device of Wireless Fidelity function, including:
First determines unit, for determining the geographical position of terminal;
Acquiring unit, for obtaining geographical position and the signal cover of default access points, described default access Access point is the access points allowing described terminal to access;
Closing unit, if for the geographical position according to described terminal and the geographical position of described default access points, Judge that described terminal not in the signal cover of described default access points, then closes the Wireless Fidelity merit of described terminal Energy.
The present invention also provides for a kind of mobile terminal, and described mobile terminal includes memorizer, processor and one or more Program, the storage of the one or more program in which memory and is configured to be performed by described processor, one Or multiple program includes the instruction for following operation:
Determine the geographical position of mobile terminal;
Obtaining geographical position and the signal cover presetting access points, described default access points is for allowing institute State the access points that mobile terminal accesses;
If the geographical position according to described mobile terminal and the geographical position of described default access points, it is judged that described Mobile terminal in the signal cover of described default access points, does not then close the Wireless Fidelity merit of described mobile terminal Energy.
Relative to prior art, the control method of Wireless Fidelity function, device and the mobile terminal that the present invention provides, first The geographical position at its place is obtained by terminal.Secondly, terminal obtains geographical position and the signal covering thereof presetting access points Scope, this default access points is the access points allowing this terminal to access.Then, terminal is according to its place got Geographical position and the geographical position of default access points, it is judged that whether this terminal is positioned at the signal of default access points Coverage.If judging, this terminal not in the signal cover of default access points, then controls this terminal and closes it Wireless Fidelity function.Therefore, when the present invention is outside terminal judges goes out its signal cover being in default access points, By the way of controlling this terminal and closing its Wireless Fidelity function, terminal can be reduced in the nothing that cannot receive access points During line signal because of scanning periphery access points produced by power consumption, i.e. reduce the power consumption of terminal.
Accompanying drawing explanation
Below in conjunction with the accompanying drawings, by the detailed description of the invention of the present invention is described in detail, technical scheme will be made And beneficial effect is apparent.
Fig. 1 is the schematic flow sheet of the control method of the Wireless Fidelity function that first embodiment of the invention provides;
Fig. 2 is the schematic flow sheet of the control method of the Wireless Fidelity function that second embodiment of the invention provides;
The schematic diagram of the signal cover about default access points that Fig. 3 provides for second embodiment of the invention;
The structural representation controlling device of the Wireless Fidelity function that Fig. 4 provides for third embodiment of the invention;
Another structural representation controlling device of the Wireless Fidelity function that Fig. 5 provides for third embodiment of the invention;
The structural representation of the mobile terminal that Fig. 6 provides for fourth embodiment of the invention.
Detailed description of the invention
Refer to graphic, the most identical element numbers represents identical assembly, and the principle of the present invention is to be implemented in one Suitable computing environment illustrates.The following description is based on the illustrated specific embodiment of the invention, and it should be by It is considered as limiting other specific embodiment that the present invention is the most detailed herein.
Will be detailed below.
First embodiment
The control method of a kind of Wireless Fidelity function, comprises determining that the geographical position of terminal;Obtain and preset access points Geographical position and signal cover, this default access points be allow this terminal access access points;If according to The geographical position of this terminal and the geographical position of default access points, it is judged that this terminal is not at the letter of default access points Number coverage, then close the Wireless Fidelity function of this terminal.
Refer to the flow process signal that Fig. 1, Fig. 1 are the control methods of the Wireless Fidelity function that first embodiment of the invention provides Figure, idiographic flow may include that
In step S101, determine the geographical position of terminal.
It is understood that the executive agent of the embodiment of the present invention can be the terminal unit such as mobile phone, panel computer.
When terminal leaves the coverage of its access points connected, the Wi-Fi of terminal can lose signal.At this In the case of Zhong, terminal can periodically remove to scan the access points of periphery, in order to may be coupled to certain accessible access and connects Access point.When scanning access points, terminal can periodically send request signal.But, according to the operating characteristic of Wi-Fi, eventually Transmitting power during end transmission request signal is relatively big, and typically in 10 dBms (dBm) magnitude, this can cause the power consumption of terminal relatively High.
In order to solve the problems referred to above, in step S101 of the embodiment of the present invention, it is possible, firstly, to determined its institute by terminal Geographical position.
In a kind of possible embodiment, terminal can pass through global positioning system (Global Positioning System, be called for short GPS) or other alignment systems determine the geographical position at its place.Such as, when terminal it needs to be determined that its During the geographical position at place, terminal can open default map application software based on GPS technology, to obtain the ground at self place Reason position, etc., it is not specifically limited herein.
In step s 102, obtaining geographical position and the signal cover presetting access points, this default access connects Access point is the access points allowing this terminal to access.
Such as, after terminal gets the geographical position at self place, can obtain with triggering terminal to preset to access and access The geographical position of point and signal cover thereof.This default access points is the access points allowing this terminal to access.
Such as, default access points can be the one or more access points connected before this terminal.Such as, Can be defined as the access points being deployed in the place such as subscriber household or company connected before terminal in advance presetting visit Ask access point.
In a kind of possible embodiment, when user inputs the password of certain access points in terminal, and connect To (for being connected for the first time between this terminal with this access points) during this access points, this terminal can be triggered by this access Access point is defined as presetting access points, and obtains geographical position and the signal covering thereof of this default access points at this moment Scope.Then, the title of this default access points, password, geographical position and signal cover etc. can be believed by terminal Breath saves.Such as, these information above-mentioned can be saved in a default file by terminal.
Based on this, when obtaining the information such as geographical position and the signal cover of default access points when needs, this is eventually End just directly can read these information in default file.
In step s 103, if according to the geographical position of this terminal and the geographical position of default access points, it is judged that This terminal in the signal cover of default access points, does not then close the Wireless Fidelity function of this terminal.
Such as, after the geographical position getting default access points and signal cover thereof, terminal can be with base Geographical position and the geographical position of default access points in himself place, it is judged that whether this terminal is in is preset access The signal cover of access point.
If terminal judges goes out it not within the signal cover of default access points, this end the most now can be controlled End closes its Wireless Fidelity function, i.e. closes the Wi-Fi linkage function of this terminal.
Such as, under certain scene, in the T1 moment, the access points that the terminal of user is connected in user family (is preset and is visited Ask access point).And the T2 moment later, user is away from home and goes out shopping.Now, the ground at the terminal its place by getting The geographical position of the access points in reason position, and user family and signal cover, it is judged that this terminal has been moved off The signal cover of the access points in user family, then now this terminal can close its Wi-Fi linkage function, so that This terminal will not periodically remove to scan the access points of periphery.
It is understood that leave the signal cover of the access points that this terminal of all permissions accesses in terminal After, by the Wi-Fi linkage function closed a terminal, make this terminal will not the most periodically remove to scan the access points of periphery, from And the power consumption that terminal produces can be decreased because of scanning access points, i.e. reduce the power consumption of terminal.
From the foregoing, the control method of the Wireless Fidelity function of the present embodiment offer, first obtained its place by terminal Geographical position.Secondly, terminal obtains geographical position and the signal cover thereof presetting access points, and this default access connects Access point is the access points allowing this terminal to access.Then, terminal is according to the geographical position at its place got and pre- If the geographical position of access points, it is judged that whether this terminal is positioned at the signal cover of default access points.If judging Go out this terminal not in the signal cover of default access points, then control this terminal and close its Wireless Fidelity function.Cause This, when the present invention is outside terminal judges goes out its signal cover being in default access points, by controlling this terminal Close the mode of its Wireless Fidelity function, terminal can be reduced when the wireless signal of access points cannot be received because of scanning Power consumption produced by the access points of periphery, i.e. reduces the power consumption of terminal.
Second embodiment
According to the method described by first embodiment, below the control method of Wireless Fidelity function is made the most specifically Bright.
Refer to the flow process signal of the control method of the Wireless Fidelity function that Fig. 2, Fig. 2 provide for second embodiment of the invention Figure, idiographic flow may include that
In step s 201, terminal determines the geographical position at place.
Such as, this terminal can be mobile phone.
In a kind of possible embodiment, mobile phone can obtain the geographical position at its place according to prefixed time interval. Such as, mobile phone can call default map application based on GPS alignment system every 5 minutes, obtains once the geography at its place Position.
In step S202, terminal obtains geographical position and the signal cover presetting access points, and this is preset and visits Ask that access point is the access points allowing this terminal to access.
Such as, after mobile phone gets the geographical position at its place, mobile phone can be triggered and obtain default access points Geographical position and the signal cover of this default access points.This default access points is to allow this terminal to access Access points.Such as, what this default access points connected before can being mobile phone is deployed in the ground such as subscriber household, company One or more access points of point.
In a kind of possible embodiment, before step S201, terminal can determine default as follows Access points, and determine geographical position and the signal cover of this default access points:
When detecting that terminal is connected to be first connection between access points, and this terminal and this access points, It is defined as this access points presetting access points;
Obtain geographical position and the signal covering radius of this default access points;
Geographical position according to this default access points and signal covering radius, determine this default access points Signal cover.
Such as, when user inputs the password of first access points on mobile phone, and when being connected to first access points, permissible Thinking between mobile phone and first access points to be first connection, now first access points can be defined as presetting access by mobile phone Access point.That is, be first connection when detecting mobile phone to be connected between first access points, and mobile phone and first access points Time, first access points can be defined as presetting access points by mobile phone.It is then possible to trigger mobile phone to obtain first access access The geographical position of point and signal covering radius thereof, and according to the geographical position of first access points and signal covering radius thereof, really Make the signal cover of first access points.
In a kind of possible embodiment, if first access points is certainly with GPS module, and deposit in a storage module Contain the parameter of signal covering radius, then mobile phone can send one to first access points and be used for indicating acquisition first access to connect The geographical position of access point and the request of signal covering radius.First access points, after receiving above-mentioned request, can call GPS Module obtains the geographical position at self place.Then, first access points is by its geographical position and the letter of signal covering radius Breath is sent to mobile phone.Mobile phone after the information in the geographical position and signal covering radius that receive first access points, Ke Yiju This determines the signal cover of first access points, then these information is saved.Such as, first can be visited by mobile phone Ask that the information such as the title of access point, password, the geographical position at place and signal cover are saved in certain default file.
In alternatively possible embodiment, if first access points self is without GPS module, the most do not store pass Parameter in signal covering radius, then mobile phone can also obtain first access points in the following way and (i.e. preset and access Access point) geographical position and signal covering radius:
Obtain the signal intensity of the default access points that terminal receives and the geographical position corresponding with this signal intensity, And the first geographical position that signal intensity is corresponding time the strongest is defined as the geographical position of this default access points;
When Wireless Fidelity function terminal being detected is in opening, and terminal does not receives default access points During signal, obtain the second geographical position of terminal;
Calculate the distance values in this first geographical position and the second geographical position, and this distance values is defined as presets access connects The signal covering radius of access point.
Such as, mobile phone can obtain in real time its first access points received signal intensity and with this signal intensity Corresponding geographical position.Then, the first geographical position corresponding time the strongest for the signal intensity received can be defined as by mobile phone The geographical position of first access points.Such as, the moment being connected for the first time between mobile phone with first access points is T3, this moment hands The signal intensity of the first access points that machine receives is S3, and now the geographical position of mobile phone is P3, then mobile phone can first by P3 is defined as the geographical position of first access points.And the T4 reception that mobile phone is after t 3 to signal intensity be S4, right The geographical position answered is P4.If S4 is more than S3, then the geographical position of first access points can be adjusted to P4 by mobile phone.Therefore, In first connection procedure between mobile phone and first access points, the signal of the first access points that mobile phone can be received Geographical position corresponding when intensity is the strongest is defined as the geographical position of first access points.
And when mobile phone detects that its Wi-Fi linkage function is in opening, but do not receive first and access access During the signal put, it is believed that now mobile phone just leaves the signal cover of first access points, now can trigger hands Machine obtains the geographical position at its place, the i.e. second geographical position.Visit it is understood that the second geographical position may be considered first Ask the edge of the signal cover of access point, the position that namely wireless signal goes offline.
After getting the first geographical position and the second geographical position, mobile phone can calculate distance values therebetween. Such as, mobile phone can calculate the first geographical position and second geographical position plane on the map that default map application is used Air line distance value, and this plane and straight line distance value is defined as distance values therebetween.Then, mobile phone can be by this distance values It is defined as the signal covering radius of first access points.
It should be noted that in actual use, mobile phone is from first access points (presetting access points) often Also has a certain distance.Therefore, above-mentioned first geographical position that mobile phone gets not is the geography that first access points is real Position.So, mobile phone can be little according to the signal covering radius that above-mentioned first geographical position and the second geographical position are calculated In the signal covering radius that default access points is real.Therefore, in a kind of possible embodiment, mobile phone can also pass through Following steps determine the signal covering radius of default access points:
Calculate the distance values in the first geographical position and the second geographical position;
Calculate this distance values and predeterminable range offset and value;
This and value are defined as presetting the signal covering radius of access points.
Such as, after getting the first geographical position and the second geographical position, it is geographical that mobile phone can first calculate first Position and the distance values in the second geographical position.Then, mobile phone calculates this distance values and predeterminable range offset again and value, and will This and value are defined as presetting the signal covering radius of access points.
It should be noted that predeterminable range offset is for being used for substituting above-mentioned first geographical position and default access points The numerical value of the real distance between geographical position.This predeterminable range offset can be the fixed value set by manufacturer, Can also be by user according to self use demand sets itself.Such as, for being deployed in the access points of indoor, this is preset Compensated distance value could be arranged to 5 meters, 8 meters or 10 meters etc..And for being deployed in the access points of outdoor, this predeterminable range It is some larger that offset can also be arranged, such as 20 meters or 50 meters, etc..
In a kind of possible embodiment, after the signal covering radius determining default access points, permissible By with the geographical position of default access points as the center of circle, and the circle that its signal covering radius is radius is defined as this and presets and access The signal cover of access point.
In step S203, according to geographical position and the geographical position of default access points of this terminal, it is judged that this is eventually Whether end is in the signal cover of default access points.
Such as, get its geographical position at mobile phone, cover model with geographical position and the signal thereof of default access points After enclosing, mobile phone can be according to these information, it is judged that within whether mobile phone is in the signal cover of default access points.
In a kind of possible embodiment, can first determine the geographical position of mobile phone and the ground of default access points Whether plane and straight line distance value between reason position, then detect this plane and straight line distance value more than the letter presetting access points Signal covering radius number corresponding to coverage.If detecting, this plane and straight line distance value is more than the letter presetting access points Signal covering radius number corresponding to coverage, then it is believed that mobile phone is not in the signal cover of default access points Within, now enter step S204.If detecting, this plane and straight line distance value is not more than the signal covering presetting access points Signal covering radius corresponding to scope, then it is believed that within mobile phone is in the signal cover of default access points, Now enter step S205.
In step S204, if according to the geographical position of this terminal and the geographical position of default access points, it is judged that This terminal in the signal cover of default access points, does not then close the Wireless Fidelity function of this terminal.
Such as, mobile phone is according to its geographical position and the geographical position of default access points, it is judged that mobile phone is not in advance If within the signal cover of access points, then can trigger mobile phone and close its Wireless Fidelity function.Such as, mobile phone is controlled Wi-Fi linkage function enter closed mode.
In step S205, if according to the geographical position of this terminal and the geographical position of default access points, it is judged that This terminal is in the signal cover of default access points, then open the Wireless Fidelity function of this terminal.
Such as, mobile phone is according to its geographical position and the geographical position of default access points, it is judged that mobile phone is in pre- If within the signal cover of access points, then can trigger its Wireless Fidelity function of mobile phone open.Such as, mobile phone is controlled Wi-Fi linkage function enter opening.
In order to be more fully understood that the present embodiment, a specific example is set forth below and further describes.
Such as, mobile phone predefines out two default access points, is household interview access point and the public affairs of user respectively Department's access points, and the two is preset the geographical position of access points and signal cover is saved in default file In.The signal cover presetting access points is as the center of circle and default with the geographical position at default access points place The circle that signal covering radius is radius of access points.
Such as, mobile phone can call default map application based on GPS every 5 minutes, obtains once the geographical position at its place Put.Mobile phone is P5 in the geographical position that the T5 moment gets.Afterwards, mobile phone obtains two from default file and presets access access Point, i.e. household interview access point and the geographical position of company's access points and signal cover.If mobile phone is geographical based on it Position P5, and the geographical position of two default access points, it is judged that between mobile phone and two default access points Plane and straight line distance (i.e. plane and straight line distance on the map that default map application is used), is all higher than two and presets access The signal covering radius that the signal cover of access point is corresponding, then show that both the stayed out signal of front yard access points of mobile phone covers In the range of lid, the most not in the signal cover of company's access points, then now mobile phone can cut out its Wi-Fi connection Function, is closed as controlled the Wi-Fi linkage function of mobile phone.
If the T6 moment later, the geographical position P6 at its place that mobile phone gets is at the signal of company's access points In coverage, the most now can trigger mobile phone and open its Wi-Fi linkage function.
It is understood that the power of Wi-Fi transmitting signal is generally in 10dBm magnitude, and mobile phone is opened when GPS positions Power is generally in-100dBm magnitude.Therefore, power when GPS opened by mobile phone is much smaller than power when opening Wi-Fi.It addition, In the present embodiment, mobile phone can be to open GPS location according to prefixed time interval to obtain the geographical position at self place.Institute With, the power consumption of mobile phone can be less in this case.
The signal about default access points that seeing also Fig. 3, Fig. 3 provides for second embodiment of the invention covers The schematic diagram of scope.
As it can be seen, some A is the true geographical position presetting access points, some B is the default access that terminal receives Geographical position corresponding when the signal intensity of access point is the strongest, some C is the edge of the signal cover presetting access points, I.e. some C is in the position that the wireless signal of default access points just goes offline.Distance value BC between some B and some C is d, in advance If compensated distance value CD is loff, d and loffAnd value for b, i.e. BD=b.And BH=BD=b.
In a kind of possible embodiment, can be defined as the signal cover of access points connecing with this access The geographical position at access point place is the center of circle, and signal covering radius is the circle of radius.Based on this, it is assumed that preset access points Signal covering radius is a, i.e. AE=a, then the actual signal coverage presetting access points is exactly with an A as the center of circle, And the circle with a as radius.And the expected signal coverage of the default access points that terminal is by calculating out is with a B For the center of circle, and the circle with b as radius.
If sometime, terminal determines that the geographical position at self place is a F, and judges that a F is not in default visit Within asking the expected signal coverage of access point, then terminal can close its Wi-Fi linkage function, to avoid terminal cannot Periodically remove to scan the access points of periphery when receiving the signal of access points.If another moment later, eventually End determines that the geographical position at place is some G, and judges that a G is positioned at the expected signal coverage of default access points, Although now terminal not yet enters the actual signal coverage of default access points, but will soon in view of terminal possibility Enter into the actual signal coverage of default access points, so the Wi-Fi linkage function of terminal now can be opened.
It should be noted that in the present embodiment, positioning by GPS, mobile phone is visited with presetting by judging its geographical position Ask whether the air line distance between the geographical position of access point is more than the signal covering radius presetting access points, judge hands Whether machine is in the signal cover of default access points.And in alternatively possible embodiment, mobile phone is all right Simultaneously by GPS location and some sensors including baroceptor, accurately acquire mobile phone and preset visit Ask the three-dimensional localization of access point.Based on this, mobile phone can more accurately judge that out whether it enters default access points Signal cover.Such as, default access points is positioned at 20th floors of certain mansion, and its signal cover includes 17th floors to 23 Building.And the Stall of the Shi Zhedong mansion, position that mobile phone is currently located.So, now mobile phone judges that it is introduced into presetting access and connects The signal cover of access point.Therefore, mobile phone will not open its Wi-Fi linkage function.
From the foregoing, the control method of the Wireless Fidelity function of the present embodiment offer, first obtained its place by terminal Geographical position.Secondly, terminal obtains geographical position and the signal cover thereof presetting access points, and this default access connects Access point is the access points allowing this terminal to access.Then, terminal is according to the geographical position at its place got and pre- If the geographical position of access points, it is judged that whether this terminal is positioned at the signal cover of default access points.If judging Go out this terminal not in the signal cover of default access points, then control this terminal and close its Wireless Fidelity function.Cause This, when the present invention is outside terminal judges goes out its signal cover being in default access points, by controlling this terminal Close the mode of its Wireless Fidelity function, terminal can be reduced when the wireless signal of access points cannot be received because of scanning Power consumption produced by the access points of periphery, i.e. reduces the power consumption of terminal.
3rd embodiment
For ease of preferably implementing the control method of the Wireless Fidelity function that the embodiment of the present invention provides, the embodiment of the present invention Also provide for the device of a kind of control method based on above-mentioned Wireless Fidelity function.The wherein implication of noun and above-mentioned Wireless Fidelity merit Can control method in identical, implement the explanation that details is referred in embodiment of the method.
Refer to the structural representation controlling device of the Wireless Fidelity function that Fig. 4, Fig. 4 provide for third embodiment of the invention Figure, this device may include that first determines unit 301, acquiring unit 302, and closing unit 303.
First determines unit 301, for determining the geographical position of terminal.
Such as, terminal can trigger first determine that unit 301 determines the geographical position at its place according to prefixed time interval Put.
In a kind of possible embodiment, when it needs to be determined that during the geographical position at terminal place, first determines unit 301 Default map application software based on GPS technology can be called, obtain the geographical position at self place, etc., the most do not do and have Body limits.
Acquiring unit 302, for obtaining geographical position and the signal cover of default access points, described default visit Ask that access point is the access points allowing described terminal to access.
Such as, after determining, first, the geographical position that unit 301 determines its place, terminal can trigger acquiring unit 302 obtain geographical position and the signal cover presetting access points.This default access points connects for allowing this terminal The access points entered.
Such as, default access points can be the one or more access points connected before this terminal.Such as, Can be defined as the access points being deployed in the place such as subscriber household or company connected before terminal in advance presetting visit Ask access point.
Afterwards, terminal can based on the first geographical position determining terminal place that unit 301 gets, and obtain single The geographical position of the default access points that unit 302 gets, it is judged that whether this terminal is in the signal of default access points Coverage.
Closing unit 303, if for the geographical position according to described terminal and the geographical position of described default access points Put, it is judged that described terminal in the signal cover of described default access points, does not then close the wireless guarantor of described terminal True function.
Such as, if terminal geographical position based on the terminal place got, and the geographical position of default access points Put, it is judged that this terminal, not within the signal cover of default access points, the most now can trigger closing unit 303 Close the Wireless Fidelity function of this terminal, i.e. close the Wi-Fi linkage function of this terminal, connect as controlled the Wi-Fi of this terminal Function is closed.
It is understood that leave the signal cover of the access points that this terminal of all permissions accesses in terminal After, by the Wi-Fi linkage function closed a terminal, make this terminal will not the most periodically remove to scan the access points of periphery, from And decrease the power consumption that terminal produces because of scanning access points, i.e. reduce the power consumption of terminal.
See also the Wireless Fidelity function that Fig. 5, Fig. 5 provide for third embodiment of the invention controls another of device Structural representation, this device can also include: opens unit 304 and second and determines unit 305.
Open unit 304, if for the geographical position according to described terminal and the geographical position of described default access points Put, it is judged that described terminal is in the signal cover of described default access points, then open the wireless guarantor of described terminal True function.
Such as, if terminal geographical position based on the terminal place got, and the geographical position of default access points Put, it is judged that within this terminal is in the signal cover of default access points, the most now can trigger unlatching unit 304 Open the Wireless Fidelity function of this terminal, i.e. open the Wi-Fi linkage function of this terminal, connect as controlled the Wi-Fi of this terminal Function is in opening.
Second determines unit 305, for when detect that terminal is connected to access points, and described terminal and described access When being first connection between access point, it is defined as described access points presetting access points;Obtain described default access The geographical position of access point and signal covering radius;Geographical position according to described default access points and described signal Covering radius, determines the signal cover of described default access points.
Such as, when terminal detects that user inputs the password of access points in terminal, and it is connected to second access access During point, it is believed that be first connection between terminal and second access points, now the second of terminal determines that unit 305 can be by Second access points is defined as presetting access points.It is then possible to trigger second to determine that unit 305 obtains second access points Geographical position and signal covering radius, and according to the geographical position of second access points and signal covering radius thereof, determine Go out the signal cover of second access points.
Such as, in a kind of possible embodiment, second to determine that unit 305 can get in the following way default The geographical position of access points and signal covering radius:
Obtain the signal intensity of the default access points that terminal receives and the geographical position corresponding with described signal intensity Put, and the first geographical position corresponding time the strongest for described signal intensity is defined as the geographical position of described default access points Put;
When Wireless Fidelity function terminal being detected is in opening, and terminal does not receives default access points During signal, obtain the second geographical position of terminal;
Calculate the distance values in described first geographical position and the second geographical position, and be defined as described distance values presetting visit Ask the signal covering radius of access point.
Such as, second determine unit 305 can obtain in real time its second access points received signal intensity and The geographical position corresponding with this signal intensity.Then, second determines that unit 305 can be by time the strongest for the signal intensity that receives pair The first geographical position answered is defined as the geographical position of second access points.Such as, first between terminal and second access points The moment connected is T7, and the signal intensity of the second access points that this moment mobile phone receives is S7, now the geographical position of mobile phone It is set to P7, then P7 first can be defined as the geographical position of second access points by mobile phone.And the T8 moment that mobile phone is after T7 The signal intensity received is S8, and corresponding geographical position is P8.If S8 is more than S7, then terminal can be by second access points Geographical position is adjusted to P8.Therefore, in the first connection procedure between terminal and second access points, terminal can be received To the signal intensity of second access points the strongest time corresponding geographical position be defined as the geographical position of second access points.
And when terminal detects that its Wi-Fi linkage function is in opening, but do not receive second and access access During the signal of point, it is believed that now terminal just leaves the signal cover of second access points, now can trigger the Two determine that unit 305 obtains the geographical position at terminal place, the i.e. second geographical position.It is understood that the second geographical position May be considered the edge of the signal cover of second access points, the position that namely wireless signal goes offline.
After getting the first geographical position and the second geographical position, second determines that unit 305 can calculate the two it Between distance values.Such as, second determines that unit 305 can calculate the first geographical position and answer at default map with the second geographical position With the plane and straight line distance value on the map used, and this plane and straight line distance value is defined as distance values therebetween. Then, second determines that this distance values can be defined as the signal covering radius of second access points by unit 305.
It should be noted that it practice, second determines that above-mentioned first geographical position that unit 305 gets not is that second is visited Ask the geographical position that access point is real.So, second determines that unit 305 is according to the geographical position in above-mentioned first geographical position and second Putting the signal covering radius calculated can be less than the real signal covering radius of second access points.Therefore, can in one In the embodiment of energy, second determines that unit 305 can also determine that the signal of default access points covers as follows Lid radius:
Calculate the distance values in described first geographical position and the second geographical position;
Calculate described distance values and predeterminable range offset and value;
Described and value are defined as presetting the signal covering radius of access points.
Such as, after getting the first geographical position and the second geographical position, second determines that unit 305 can first calculate Go out the first geographical position and the distance values in the second geographical position.Then, second determines that unit 305 calculates this distance values again and presets Compensated distance value and value, and this and value are defined as the signal covering radius of default access points.It is understood that should Predeterminable range offset is for substituting the distance between the first geographical position and the true geographical position of default access points Numerical value.
From the foregoing, the control device of the Wireless Fidelity function of the present embodiment offer, first obtained its place by terminal Geographical position.Secondly, terminal obtains geographical position and the signal cover thereof presetting access points, and this default access connects Access point is the access points allowing this terminal to access.Then, terminal is according to the geographical position at its place got and pre- If the geographical position of access points, it is judged that whether this terminal is positioned at the signal cover of default access points.If judging Go out this terminal not in the signal cover of default access points, then control this terminal and close its Wireless Fidelity function.Cause This, when the present invention is outside terminal judges goes out its signal cover being in default access points, by controlling this terminal Close the mode of its Wireless Fidelity function, terminal can be reduced when the wireless signal of access points cannot be received because of scanning Power consumption produced by the access points of periphery, i.e. reduces the power consumption of terminal.
For the control device of the described Wireless Fidelity function of the embodiment of the present invention, its each functional module can be integrated in One processes in chip, it is also possible to be that modules is individually physically present, it is also possible to be that two or more modules are integrated in In one module.Above-mentioned integrated module both can realize to use the form of hardware, it would however also be possible to employ software function module realizes. If described integrated module is using the form realization of software function module and as independent production marketing or use, it is also possible to Being stored in a computer read/write memory medium, described storage medium is such as read only memory, disk or CD etc..
4th embodiment
In order to be more fully understood that the present invention, the present invention also provides for a kind of mobile terminal.
Refer to the structural representation of the mobile terminal that Fig. 6, Fig. 6 provide for fourth embodiment of the invention.Concrete, mobile Terminal 400 includes memorizer 410, processor 420 and one or more program.Described memorizer 410 and processor 420 pass through Bus 430 connects.The one or more program is stored in described memorizer 410 and is configured to by described processor 420 Performing, the one or more program includes for the following instruction operated:
Determine the geographical position of mobile terminal;
Obtaining geographical position and the signal cover presetting access points, described default access points is for allowing institute State the access points that mobile terminal accesses;
If the geographical position according to described mobile terminal and the geographical position of described default access points, it is judged that described Mobile terminal in the signal cover of described default access points, does not then close the Wireless Fidelity merit of described mobile terminal Energy.
Such as, mobile terminal 400 can call default map application based on GPS technology according to prefixed time interval, and The geographical position at mobile terminal place is got by this default map application.
Then, mobile terminal 400 obtains geographical position and the signal cover thereof presetting access points.This is preset and visits Ask that access point is the access points allowing mobile terminal 400 to access.
After the geographical position getting default access points and signal cover thereof, mobile terminal 400 is permissible Geographical position based on himself place and the geographical position of default access points, it is judged that self whether be in certain and preset The signal cover of access points.
If mobile terminal 400 judge self not within the signal cover of any one default access points, Then can trigger mobile terminal 400 and close its Wireless Fidelity function, i.e. close its Wi-Fi linkage function, as controlled mobile terminal The Wi-Fi linkage function of 400 is closed.
It is understood that leave the signal cover of its access points accessed of all permissions at mobile terminal After, by the Wi-Fi linkage function of turning-off mobile terminal, make this mobile terminal will not the most periodically go the access scanning periphery to connect Access point, such that it is able to reduce the power consumption that mobile terminal produces because of scanning access points, i.e. reduces the power consumption of terminal.
In a kind of possible embodiment, if mobile terminal 400 is judged self to be in certain default access points Signal cover within, then can trigger mobile terminal 400 and open its Wi-Fi linkage function, as control mobile terminal 400 Wi-Fi linkage function be in opening.
From the foregoing, the mobile terminal that the present embodiment provides, first by the geographical position at its place of acquisition for mobile terminal. Secondly, acquisition for mobile terminal presets geographical position and the signal cover thereof of access points, and this default access points is Allow the access points that this terminal accesses.Then, mobile terminal according to the geographical position at its place got and is preset The geographical position of access points, it is judged that whether this mobile terminal is positioned at the signal cover of default access points.If sentencing Break and this mobile terminal not in the signal cover of default access points, then control this mobile terminal and close its wireless guarantor True function.Therefore, the present invention is when mobile terminal judges that it is in outside the signal cover of default access points, logical Cross and control this mobile terminal and close the mode of its Wireless Fidelity function, mobile terminal can be reduced and access access cannot be being received Point wireless signal time because of scanning periphery access points produced by power consumption, i.e. reduce the power consumption of mobile terminal.
Control method, device and the mobile terminal of a kind of Wireless Fidelity function provided the embodiment of the present invention above enter Having gone and be discussed in detail, principle and the embodiment of the present invention are set forth by specific case used herein, above enforcement The explanation of example is only intended to help to understand method and the core concept thereof of the present invention;Simultaneously for those skilled in the art, depend on According to the thought of the present invention, the most all will change, in sum, this specification content Should not be construed as limitation of the present invention.

Claims (11)

1. the control method of a Wireless Fidelity function, it is characterised in that described method includes:
Determine the geographical position of terminal;
Obtaining geographical position and the signal cover presetting access points, described default access points is for allowing described end Terminate into access points;
If the geographical position according to described terminal and the geographical position of described default access points, it is judged that described terminal does not exists The signal cover of described default access points, then close the Wireless Fidelity function of described terminal.
The control method of Wireless Fidelity function the most according to claim 1, it is characterised in that access obtaining to preset to access After the geographical position of point and the step of signal cover, also include:
If the geographical position according to described terminal and the geographical position of described default access points, it is judged that described terminal is in The signal cover of described default access points, then open the Wireless Fidelity function of described terminal.
The control method of Wireless Fidelity function the most according to claim 2, it is characterised in that in the geographical position determining terminal Before the step put, also include:
When detecting that terminal is connected to be first connection between access points, and described terminal and described access points, It is defined as described access points presetting access points;
Obtain geographical position and the signal covering radius of described default access points;
Geographical position according to described default access points and described signal covering radius, determine that described default access is accessed The signal cover of point.
The control method of Wireless Fidelity function the most according to claim 3, it is characterised in that the described default visit of described acquisition Ask geographical position and the signal covering radius of access point, including:
Obtain the signal intensity of the default access points that terminal receives and the geographical position corresponding with described signal intensity, and The first geographical position corresponding time the strongest for described signal intensity is defined as the geographical position of described default access points;
When Wireless Fidelity function terminal being detected is in opening, and terminal does not receives the signal of default access points Time, obtain the second geographical position of terminal;
Calculate the distance values in described first geographical position and the second geographical position, and described distance values is defined as presets access connects The signal covering radius of access point.
The control method of Wireless Fidelity function the most according to claim 4, it is characterised in that described first ground of described calculating Reason position and the distance values in the second geographical position, and described distance values is defined as presetting the signal covering half of access points Footpath, including:
Calculate the distance values in described first geographical position and the second geographical position;
Calculate described distance values and predeterminable range offset and value;
Described and value are defined as presetting the signal covering radius of access points.
6. the control device of a Wireless Fidelity function, it is characterised in that described device includes:
First determines unit, for determining the geographical position of terminal;
Acquiring unit, for obtaining geographical position and the signal cover of default access points, described default access is accessed The access points that point accesses for allowing described terminal;
Closing unit, if for the geographical position according to described terminal and the geographical position of described default access points, it is judged that Go out described terminal not in the signal cover of described default access points, then close the Wireless Fidelity function of described terminal.
The control device of Wireless Fidelity function the most according to claim 6, it is characterised in that described device also includes:
Open unit, if for the geographical position according to described terminal and the geographical position of described default access points, it is judged that Go out described terminal and be in the signal cover of described default access points, then open the Wireless Fidelity function of described terminal.
The control device of Wireless Fidelity function the most according to claim 7, it is characterised in that described device also includes: the Two determine unit, are used for
When detecting that terminal is connected to be first connection between access points, and described terminal and described access points, It is defined as described access points presetting access points;
Obtain geographical position and the signal covering radius of described default access points;
Geographical position according to described default access points and described signal covering radius, determine that described default access is accessed The signal cover of point.
The control device of Wireless Fidelity function the most according to claim 8, it is characterised in that described second determines that unit is used In:
Obtain the signal intensity of the default access points that terminal receives and the geographical position corresponding with described signal intensity, and The first geographical position corresponding time the strongest for described signal intensity is defined as the geographical position of described default access points;
When Wireless Fidelity function terminal being detected is in opening, and terminal does not receives the signal of default access points Time, obtain the second geographical position of terminal;
Calculate the distance values in described first geographical position and the second geographical position, and described distance values is defined as presets access connects The signal covering radius of access point.
The control device of Wireless Fidelity function the most according to claim 9, it is characterised in that described second determines unit For:
Calculate the distance values in described first geographical position and the second geographical position;
Calculate described distance values and predeterminable range offset and value;
Described and value are defined as presetting the signal covering radius of access points.
11. 1 kinds of mobile terminals, it is characterised in that described mobile terminal includes memorizer, processor and one or more journey Sequence, the storage of the one or more program in which memory and be configured to be performed by described processor, one or Multiple programs include for the following instruction operated:
Determine the geographical position of mobile terminal;
Obtaining geographical position and the signal cover presetting access points, described default access points is for allowing described shifting The access points that dynamic terminal accesses;
If the geographical position according to described mobile terminal and the geographical position of described default access points, it is judged that described movement Terminal in the signal cover of described default access points, does not then close the Wireless Fidelity function of described mobile terminal.
CN201610735557.9A 2016-08-26 2016-08-26 Control method, device and the mobile terminal of a kind of Wireless Fidelity function Pending CN106211293A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610735557.9A CN106211293A (en) 2016-08-26 2016-08-26 Control method, device and the mobile terminal of a kind of Wireless Fidelity function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610735557.9A CN106211293A (en) 2016-08-26 2016-08-26 Control method, device and the mobile terminal of a kind of Wireless Fidelity function

Publications (1)

Publication Number Publication Date
CN106211293A true CN106211293A (en) 2016-12-07

Family

ID=57526761

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610735557.9A Pending CN106211293A (en) 2016-08-26 2016-08-26 Control method, device and the mobile terminal of a kind of Wireless Fidelity function

Country Status (1)

Country Link
CN (1) CN106211293A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106793015A (en) * 2017-02-20 2017-05-31 广东欧珀移动通信有限公司 A kind of Wireless Fidelity Wi Fi connection methods and mobile terminal
CN106851690A (en) * 2017-02-28 2017-06-13 广东欧珀移动通信有限公司 wireless network scanning method, device and computer equipment
CN108024210A (en) * 2017-12-28 2018-05-11 上海传英信息技术有限公司 The wireless network control method and wireless network control system of a kind of intelligent terminal
CN109862515A (en) * 2019-01-24 2019-06-07 南京泛在地理信息产业研究院有限公司 Terminal based on geographical location connects control device and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546950A (en) * 2013-10-30 2014-01-29 深圳Tcl新技术有限公司 Method and device for automatically turning on and turning off WiFi module of wireless router
EP2852227A1 (en) * 2012-12-24 2015-03-25 Huawei Device Co., Ltd. Method and apparatus for controlling wireless fidelity device in terminal, and terminal
US20150319697A1 (en) * 2010-12-22 2015-11-05 Samsung Electronics Co., Ltd Apparatus and method for reducing power consumption in portable terminal
CN105744474A (en) * 2014-12-08 2016-07-06 深圳市腾讯计算机***有限公司 Method of controlling terminal device mobile data network state change, and terminal
CN105898845A (en) * 2015-12-08 2016-08-24 乐视移动智能信息技术(北京)有限公司 Mobile terminal WIFI state switching method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150319697A1 (en) * 2010-12-22 2015-11-05 Samsung Electronics Co., Ltd Apparatus and method for reducing power consumption in portable terminal
EP2852227A1 (en) * 2012-12-24 2015-03-25 Huawei Device Co., Ltd. Method and apparatus for controlling wireless fidelity device in terminal, and terminal
CN103546950A (en) * 2013-10-30 2014-01-29 深圳Tcl新技术有限公司 Method and device for automatically turning on and turning off WiFi module of wireless router
CN105744474A (en) * 2014-12-08 2016-07-06 深圳市腾讯计算机***有限公司 Method of controlling terminal device mobile data network state change, and terminal
CN105898845A (en) * 2015-12-08 2016-08-24 乐视移动智能信息技术(北京)有限公司 Mobile terminal WIFI state switching method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106793015A (en) * 2017-02-20 2017-05-31 广东欧珀移动通信有限公司 A kind of Wireless Fidelity Wi Fi connection methods and mobile terminal
CN106851690A (en) * 2017-02-28 2017-06-13 广东欧珀移动通信有限公司 wireless network scanning method, device and computer equipment
CN108024210A (en) * 2017-12-28 2018-05-11 上海传英信息技术有限公司 The wireless network control method and wireless network control system of a kind of intelligent terminal
CN108024210B (en) * 2017-12-28 2021-01-19 上海传英信息技术有限公司 Wireless network control method and wireless network control system of intelligent terminal
CN109862515A (en) * 2019-01-24 2019-06-07 南京泛在地理信息产业研究院有限公司 Terminal based on geographical location connects control device and method

Similar Documents

Publication Publication Date Title
CN107192390B (en) Localization method, device and the terminal device of shared vehicle
CN106211293A (en) Control method, device and the mobile terminal of a kind of Wireless Fidelity function
Pei et al. Using inquiry-based Bluetooth RSSI probability distributions for indoor positioning
CN106134224B (en) Reduce overlapping geographical fence
US9503856B2 (en) Method for determining wireless device location based on proximate sensor devices
CN103298142B (en) A kind of wireless network connecting method, system and terminal unit
US20060176849A1 (en) Geographical localisation service
CN101790126A (en) Mobile communication terminal with limitative function and realizing method thereof
CN102869073A (en) Method for processing wireless hotspot information and method for automatically accessing wireless hotspot
CN102714885A (en) Method and apparatus for automatically connecting short range wireless network in portable terminal
BRPI0609646A2 (en) methods for generating a representative profile of a region around a mobile radio terminal, for determining if a mobile radio terminal is within a predefined region, for controlling system performance, transition region size and the predefined region size in a system and a communications load on the radio communications network, to define a region within a radio communications network, to translate a zone, to define a region in a radio communications network radio and to operate a service, system, and, readable by machine
EP2852227A1 (en) Method and apparatus for controlling wireless fidelity device in terminal, and terminal
CN106793080A (en) It is a kind of based on hotspot can localization method offline
CN110366096A (en) A kind of indoor scene recognition methods and device
CN107634886A (en) Control method, control terminal and the readable storage medium storing program for executing of intelligent home device
CN106028279A (en) Network registration method and device
CN109379776A (en) A kind of Internet of Things localization method, device and calculate equipment
CN108008423A (en) Control method, device, storage medium and mobile terminal based on locating module
CN103982983A (en) Method and system for adjusting running parameters of air conditioner
CN104066150A (en) Method and device for accessing WiFi network
CN108289281A (en) Method, apparatus, electronic equipment and the storage medium that location information is shared
CN110070652A (en) A kind of access control method, system, electronic equipment and storage medium
CN108307393A (en) Network flow resource sharing method, device, system and storage medium
KR101342593B1 (en) Apparatus and method for providing indoor-outdoor map information using mobile terminal
CN105282830A (en) Network access method and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161207

RJ01 Rejection of invention patent application after publication