CN106060898A - WIFI connection control method and terminal - Google Patents

WIFI connection control method and terminal Download PDF

Info

Publication number
CN106060898A
CN106060898A CN201610571862.9A CN201610571862A CN106060898A CN 106060898 A CN106060898 A CN 106060898A CN 201610571862 A CN201610571862 A CN 201610571862A CN 106060898 A CN106060898 A CN 106060898A
Authority
CN
China
Prior art keywords
geographical position
terminal
wifi
data base
preset
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.)
Withdrawn
Application number
CN201610571862.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.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology Co 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201610571862.9A priority Critical patent/CN106060898A/en
Publication of CN106060898A publication Critical patent/CN106060898A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • H04W48/04Access restriction performed under specific conditions based on user or terminal location or mobility data, e.g. moving direction, speed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • 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

Abstract

The invention discloses a WIFI connection control method applied to a terminal. The method comprises the steps of obtaining a current geographical location; judging whether the current geographical location satisfies a preset condition or not; and turning off a WIFI connection switch or increasing a WIFI access point scanning time interval if the current geographical location satisfies the preset condition. The energy consumption can be reduced. The invention also discloses the terminal.

Description

A kind of WIFI connects control method and terminal
Technical field
The present invention relates to field of terminal, particularly relate to a kind of WIFI and connect control method and terminal.
Background technology
In prior art, the WIFI of mobile phone is often switched long opening by user, so facilitate user when family or work department, can With the WIFI hot spot from the upper correspondence that is dynamically connected, reduce and open the loaded down with trivial details of WIFI switch and scan hot spot and input password etc..
But, thus bring a problem, open WIFI switch for a long time can increase energy consumption.
Summary of the invention
The technical problem to be solved is, it is provided that a kind of WIFI that can reduce energy consumption connects control method.
Connect control method to solve above-mentioned a kind of WIFI, be applied to terminal, including:
Obtain current geographic position;
Judge whether described current geographic position meets pre-conditioned, the most then close WIFI connecting valve or increasing WIFI access point scanning time interval.
Wherein, described judge whether described current geographic position meets pre-conditioned including:
Judge that current geographic position is whether outside preset geographical position data base.
Wherein, described preset geographical position data base include following at least one:
The geographical position that in passing preset time period, the described terminal time of staying is the longest;
The geographical position that in passing preset time period, described terminal dwell times is most;
The geographical position being trusted.
Wherein, also include:
Judge that described current WIFI whether for manually selecting access, is the most then connect by the current WIFI access point connected Access point geographic location is set in described preset geographical position data base.
Wherein, described geographical position includes a little or with the some region for the center of circle with predeterminable range as radius.
In order to solve above-mentioned technical problem, the present invention also proposes a kind of terminal, including:
Acquiring unit, is used for obtaining current geographic position;
Processing unit, is used for judging whether described current geographic position meets pre-conditioned, the most then close WIFI and connect Switch or increasing WIFI access point scanning time interval.
Wherein, described judge whether current geographic position meets pre-conditioned including:
Judge that current geographic position is whether outside preset geographical position data base.
Wherein, described preset geographical position data base include following at least one:
The geographical position that in passing preset time period, the described terminal time of staying is the longest;
The geographical position that in passing preset time period, described terminal dwell times is most;
The geographical position being trusted.
Wherein, also include:
Judging unit, whether the current WIFI access point being used for judging to have connected is for manually selecting access, the most then by institute State current WIFI access point geographic location to be set in described preset geographical position data base.
Wherein, described geographical position includes a little or with the some region for the center of circle with predeterminable range as radius.
In the present invention, can close when terminal is in some strange regions (outside preset geographical position data base) WIFI switch or the increase trace interval to WIFI hot spot, so can reduce energy consumption.For closing WIFI switch Situation, it is also possible to reduce and be connected to some unsafe WIFI hot spot and cause the situation of risk.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of the embodiment of terminal of the present invention.
Detailed description of the invention
First, the basic ideas of the present invention are briefly illustrated.In order to realize reducing energy consumption, or even reduction is connected to some uneasinesses Full WIFI hot spot and the danger that causes, in the embodiment of the present invention, the geographical position at its place is judged by terminal, to determine Whether close WIFI switch or increase trace interval.And the judgement to geographical position, then often can go based on some Geographical position and the geographical position being trusted, the geographical position often gone e.g. company or individual in other, and the geography being trusted Position can be then that user had recognized that, certain coffee shop or the hotel etc. such as gone.
In a kind of WIFI of the present invention connects the embodiment of control method, it comprises the following steps:
First, current geographic position is obtained.
Current geographical position, refers to the position of present terminal, can be a coordinate points specifically, it is also possible to A coordinate range, its can by the alignment system carried in terminal come, such as GPS alignment system, BEI-DOU position system or Person carries out location etc. by base station.And terminal here, can be mobile terminal, such as mobile phone, panel computer, various intelligence are worn Wear equipment etc..
Then, it is judged that it is pre-conditioned whether described current geographic position meets, the most then close WIFI connecting valve or add Big WIFI access point scanning time interval.
Described pre-conditioned, in an embodiment of the invention, can be preset geographical position data base.In this data base Storage has geographic position data, and these geographic position datas can be coordinate points data one by one, it is also possible to is one by one The data of coordinate range.For coordinate range data, it can be the border circular areas centered by certain coordinate points.
For particular geographic location, geographic location, ground, the residence (coordinate points or coordinates regional) of user and office ground Geographic location (coordinate points or coordinates regional) can be arranged in described data base.Reason is, the two place is all User most frequently with the occasion of WIFI, thus WIFI hot spot is all to exist, and is safe and reliable.
In actual use, such as the geographical position on ground, residence or office ground adds the operation in data base, can by with Family is manually added, or automatically can also be added by terminal.For the situation automatically added, a feasible enforcement Under such as:
Terminal detects its time of staying connecting WIFI hot spot in a geographical position, and records this time.Then add up Within a period of time (such as one day, one week or one month etc.), stay time ranks the first and the geography of second (being not limited to this) Position, and this geographical position is arranged at described preset geographical position data base.
Or, terminal detect its within a period of time, connect the number of times of WIFI hot spot and the geographical position of correspondence, and record This number of times.Then statistics connects the number of times of WIFI hot spot, connects number of times and ranks the first and the WIFI hot spot of second (being not limited to this) Corresponding geographical position is arranged at described preset geographical position data base.
Or, user is manually entered WIFI hot spot (the being considered trusty) institute of password and successful connection by terminal automatically Described preset geographical position data base it is arranged in geographical position.
Or, whether terminal judges current WIFI hotspot is that user manually selects and accesses, the most then by the ground at its place Reason position adds described preset geographical position data base.
Meet described pre-conditioned after, close WIFI connecting valve to save energy consumption.WIFI hot spot can also be increased Trace interval, equally reduces energy consumption.
Below the scene in a reality is described, illustrates the present invention:
In the regularity living of user, family and company are the daily routines positions that it is main, thus in neutralization company of family WIFI hot spot is all that user often connects.Within a period of time, the WIFI hot spot that user typically connects duration the longest is all in In or company in, these WIFI hot spot are also reliable safety.User for convenience, is typically also and opens WIFI for a long time Switch, has so arrived in neutralization company of family and can be connected automatically in WIFI hot spot.
After user comes off duty and leaves company, ride public transportation means or go window-shopping or see a film or party etc. of having a meal, these processes Middle WIFI hot spot is always on, and this can increase energy consumption.Meanwhile, during these, also have a lot of WIFI hot spot open, when with During the WIFI hot spot switch open of family terminal, can be on scanning connects automatically.This can just carry out certain risk.
Therefore, when user hold during terminal is away from home or company to other place time, terminal can be automatically switched off WIFI switch.Or Person, increases trace interval, to reduce energy consumption.
The embodiment of terminal of the present invention described below, during be referred to Fig. 1, relevant part is referred to above The part being associated.Described terminal includes:
Acquiring unit, is used for obtaining current geographic position;As described above, geographical position can be a coordinate points or seat Mark region.
Processing unit, is used for judging whether described current geographic position meets pre-conditioned, the most then close WIFI and connect Switch or increasing WIFI access point scanning time interval.
Wherein, no matter close WIFI connecting valve or strengthening WIFI access point scanning time interval can reduce terminal Energy consumption.And for strengthening WIFI access point scanning time interval, it can reduce opens switch in switch closed mode Time with negotiation time of network side, thus the most just accelerate the speed accessing WIFI access point.
In an embodiment of the invention, described judge current geographic position whether meet pre-conditioned can use following Mode:
Judge that current geographic position is whether outside preset geographical position data base.Preset geographical position data base is deposited Storage can be concrete coordinate points, it is also possible to be coordinate range.When judging, in the case of for coordinate points, then judge to work as The coordinate in front geographical position is consistent with this coordinate points;In the case of for coordinates regional, then judge the seat of current geographic position Whether mark is within the scope of coordinates regional.
Described preset geographical position data base then can include following at least one:
The geographical position that in passing preset time period, the described terminal time of staying is the longest;Corresponding detailed description in detail is referred to Above corresponding part.
The geographical position that in passing preset time period, described terminal dwell times is most;Corresponding detailed description in detail is referred to Above corresponding part.
The geographical position being trusted.Corresponding detailed description in detail is referred to above corresponding part.
Also need to further illustrate, the geographical position being trusted its can be expressed by user by any form being or The geographical position at the WIFI access point place of implied recognition, or geographical position purely is not (with WIFI access point once Produce association).Thus, when arranging the geographical position being trusted, user can be configured with coordinates regional, such as with a certain The border circular areas that point is radius for the center of circle and certain distance;Or, user can be by means of map software, by map software Middle manual palpation draws a circle to approve certain region, and then changing coordinate range change corresponding to region can be as the geographical position being trusted.
In one embodiment of the invention, described terminal also includes:
Judging unit, whether the current WIFI access point being used for judging to have connected is for manually selecting access, the most then by institute State current WIFI access point geographic location to be set in described preset geographical position data base.
Manually selecting this behavior of access, indicate the behavior being to consider through user from side, default user has done One basic risk assessment, thus what terminal was regarded as being trusted, thus corresponding geographical position is added Described preset geographical position data base.
In an embodiment of the invention, described geographical position includes a little or to put for the center of circle with predeterminable range as radius Region.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, and the unit of foregoing description Specific works process, be referred to the corresponding process in preceding method embodiment, do not repeat them here.
In several embodiments provided herein, it should be understood that disclosed terminal and method, can be passed through it Its mode realizes.Such as, terminal embodiment described above is only schematically, such as, and the division of described unit, only Being only a kind of logic function to divide, actual can have other dividing mode, the most multiple unit or assembly to tie when realizing Close or be desirably integrated into another system, or some features can be ignored, or not performing.Another point, shown or discussed Coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or logical Letter connects, and can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme 's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated list Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit realizes and as independent production marketing or use using the form of SFU software functional unit Time, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part that in other words prior art contributed or this technical scheme completely or partially can be with the form of software product Embodying, this computer software product is stored in a storage medium, including some instructions with so that a computer Equipment (can be personal computer, server, or the network equipment etc.) performs the complete of method described in each embodiment of the present invention Portion or part steps.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The above, above example only in order to technical scheme to be described, is not intended to limit;Although with reference to front State embodiment the present invention has been described in detail, it will be understood by those within the art that: it still can be to front State the technical scheme described in each embodiment to modify, or wherein portion of techniques feature is carried out equivalent;And these Amendment or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. WIFI connects a control method, is applied to terminal, it is characterised in that including:
Obtain current geographic position;
Judge whether described current geographic position meets pre-conditioned, the most then close WIFI connecting valve or increasing WIFI connects Access point trace interval.
Method the most according to claim 1, it is characterised in that described judge that whether described current geographic position meets and preset Condition includes:
Judge that current geographic position is whether outside preset geographical position data base.
Method the most according to claim 2, it is characterised in that described preset geographical position data base include following in extremely Few one:
The geographical position that in passing preset time period, the described terminal time of staying is the longest;
The geographical position that in passing preset time period, described terminal dwell times is most;
The geographical position being trusted.
The most according to the method in any one of claims 1 to 3, it is characterised in that also include:
Whether the current WIFI access point that judgement has connected is for manually selecting access, the most then by described current WIFI access point Geographic location is set in described preset geographical position data base.
The most according to the method in any one of claims 1 to 3, it is characterised in that described geographical position includes a little or with point For the region with predeterminable range as radius, the center of circle.
6. a terminal, it is characterised in that including:
Acquiring unit, is used for obtaining current geographic position;
Processing unit, is used for judging whether described current geographic position meets pre-conditioned, the most then close WIFI connecting valve Or strengthen WIFI access point scanning time interval.
Terminal the most according to claim 6, it is characterised in that described to judge whether current geographic position meets pre-conditioned Including:
Judge that current geographic position is whether outside preset geographical position data base.
Terminal the most according to claim 7, it is characterised in that described preset geographical position data base include following in extremely Few one:
The geographical position that in passing preset time period, the described terminal time of staying is the longest;
The geographical position that in passing preset time period, described terminal dwell times is most;
The geographical position being trusted.
9. according to the terminal according to any one of claim 6 to 8, it is characterised in that also include:
Judging unit, for judging that the current WIFI access point connected whether for manually selecting access, is the most then worked as described Front WIFI access point geographic location is set in described preset geographical position data base.
10. according to the terminal according to any one of claim 6 to 8, it is characterised in that described geographical position includes a little or with point For the region with predeterminable range as radius, the center of circle.
CN201610571862.9A 2016-07-19 2016-07-19 WIFI connection control method and terminal Withdrawn CN106060898A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610571862.9A CN106060898A (en) 2016-07-19 2016-07-19 WIFI connection control method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610571862.9A CN106060898A (en) 2016-07-19 2016-07-19 WIFI connection control method and terminal

Publications (1)

Publication Number Publication Date
CN106060898A true CN106060898A (en) 2016-10-26

Family

ID=57188676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610571862.9A Withdrawn CN106060898A (en) 2016-07-19 2016-07-19 WIFI connection control method and terminal

Country Status (1)

Country Link
CN (1) CN106060898A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106507299A (en) * 2016-10-31 2017-03-15 乐视控股(北京)有限公司 A kind of networking control method of terminal, device and electronic equipment
CN107124751A (en) * 2017-04-26 2017-09-01 努比亚技术有限公司 A kind of terminal and terminal control method
CN108696914A (en) * 2018-05-28 2018-10-23 北京小米移动软件有限公司 Scan the method, apparatus and storage medium of smart machine
CN109547931A (en) * 2019-01-14 2019-03-29 浙江每日互动网络科技股份有限公司 Determine the server in mobile terminal location
CN110418292A (en) * 2019-07-31 2019-11-05 青岛海信移动通信技术股份有限公司 A kind of method and apparatus adjusting WLAN sweep spacing
CN110708739A (en) * 2019-10-21 2020-01-17 中国联合网络通信集团有限公司 Network connection method, device and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103582076A (en) * 2012-08-07 2014-02-12 中兴通讯股份有限公司 WLAN WifiTrak control method and device
CN104380808A (en) * 2012-06-29 2015-02-25 微软公司 Determining availability of an access network
CN104394513A (en) * 2014-12-18 2015-03-04 中科创达软件股份有限公司 Control method and device for mobile terminal to access wireless network
CN104968027A (en) * 2015-05-29 2015-10-07 努比亚技术有限公司 Wi-Fi control method and apparatus
CN105636089A (en) * 2015-04-23 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Access control method and access control device for wireless local area network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104380808A (en) * 2012-06-29 2015-02-25 微软公司 Determining availability of an access network
CN103582076A (en) * 2012-08-07 2014-02-12 中兴通讯股份有限公司 WLAN WifiTrak control method and device
CN104394513A (en) * 2014-12-18 2015-03-04 中科创达软件股份有限公司 Control method and device for mobile terminal to access wireless network
CN105636089A (en) * 2015-04-23 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Access control method and access control device for wireless local area network
CN104968027A (en) * 2015-05-29 2015-10-07 努比亚技术有限公司 Wi-Fi control method and apparatus

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106507299A (en) * 2016-10-31 2017-03-15 乐视控股(北京)有限公司 A kind of networking control method of terminal, device and electronic equipment
CN107124751A (en) * 2017-04-26 2017-09-01 努比亚技术有限公司 A kind of terminal and terminal control method
CN108696914A (en) * 2018-05-28 2018-10-23 北京小米移动软件有限公司 Scan the method, apparatus and storage medium of smart machine
CN108696914B (en) * 2018-05-28 2020-06-02 北京小米移动软件有限公司 Method and device for scanning intelligent equipment and storage medium
CN109547931A (en) * 2019-01-14 2019-03-29 浙江每日互动网络科技股份有限公司 Determine the server in mobile terminal location
CN109547931B (en) * 2019-01-14 2020-11-24 每日互动股份有限公司 Server for determining location of mobile terminal
CN110418292A (en) * 2019-07-31 2019-11-05 青岛海信移动通信技术股份有限公司 A kind of method and apparatus adjusting WLAN sweep spacing
CN110708739A (en) * 2019-10-21 2020-01-17 中国联合网络通信集团有限公司 Network connection method, device and system

Similar Documents

Publication Publication Date Title
CN106060898A (en) WIFI connection control method and terminal
CN102421088B (en) Multi-card multi-standby terminal and synchronous method thereof and device
CN106470115B (en) Security configuration method, related device and system
CN112383877B (en) Electronic device, service subscription method of service area and related product
CN103841550A (en) Method and device for identifying multi-card user
US20130288657A1 (en) Communication device and method for switching phone numbers using the same
CN104244253B (en) The method and apparatus for recognizing pseudo-base station
CN104883657B (en) A kind of virtual card management method and device
CN104618858B (en) Intelligent control method for information push by using bus card
CN106686601A (en) Pseudo base station protection method and device
CN105447044A (en) Method and device for determining user relationship
CN103916922A (en) Communication terminal and user card switching method thereof
CN103596172A (en) User information protection method, device and system
CN104270802A (en) Method used for access to network through preferred operator of smart phone
CN108076479A (en) Multi-card mobile terminal and its business switch method, device
CN105915440A (en) Mail recognition method and device
CN102857982B (en) Access processing method and device
McGee The urban future of Vietnam
CN107466021A (en) Method, mobile communication terminal, server and the computer-readable recording medium of netsurfing
CN106211268A (en) District staying method, the update method of service cell information list and mobile terminal
CN107241769A (en) Switching method and system based on multipoint cooperative in cordless communication network
CN105959996A (en) Wireless terminal network searching method and device
CN106131786A (en) The acquisition methods of additional population data and device
CN107920383A (en) Hotspot connection method, mobile terminal and computer-readable recording medium
CN105430698B (en) Access network switch method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20161026