CN107979865A - Method and device for connecting WiFi hotspot, mobile terminal and storage medium - Google Patents
Method and device for connecting WiFi hotspot, mobile terminal and storage medium Download PDFInfo
- Publication number
- CN107979865A CN107979865A CN201711401563.1A CN201711401563A CN107979865A CN 107979865 A CN107979865 A CN 107979865A CN 201711401563 A CN201711401563 A CN 201711401563A CN 107979865 A CN107979865 A CN 107979865A
- Authority
- CN
- China
- Prior art keywords
- hotspot
- password
- title
- current geographic
- geographic position
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 238000004321 preservation Methods 0.000 claims description 6
- 238000012790 confirmation Methods 0.000 claims description 4
- 238000004590 computer program Methods 0.000 claims description 2
- 230000015654 memory Effects 0.000 description 15
- 238000005516 engineering process Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 238000012544 monitoring process Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 239000000243 solution Substances 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000002347 injection Methods 0.000 description 4
- 239000007924 injection Substances 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/021—Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/20—Selecting an access point
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a method and a device for connecting a WiFi hotspot, a mobile terminal and a storage medium. The method comprises the following steps: acquiring the name and the password of the WiFi hotspot, and acquiring the corresponding current geographic position; acquiring the historical geographic position of the WiFi hotspot according to the name of the WiFi hotspot; determining a distance between the current geographic location and the historical geographic location; and when the distance is smaller than or equal to a preset distance threshold value, connecting the WiFi hotspot according to the password. The embodiment of the invention avoids the situation that the user information is leaked due to the fact that WiFi hotspots with the same name and password are searched for direct connection when the mobile terminal is located at different geographic positions, and improves the safety of the user information.
Description
Technical field
The present embodiments relate to radio network technique, more particularly to a kind of method, apparatus for connecting Wi-Fi hotspot, movement
Terminal and storage medium.
Background technology
With the development of mobile Internet, WiFi (Wireless Fidelity, Wireless Fidelity) signal is ubiquitous, example
Such as, user can be in installation wireless router as Wi-Fi hotspot, so as to connect the Wi-Fi hotspot by mobile terminal, and
Businessman can also provide free Wi-Fi hotspot for user's connection to attract clients, and also have some public Wi-Fi hotspots can be for user
It is directly connected to.
The Wi-Fi hotspot that user connected, mobile terminal can automatically save its title and password, search the WiFi next times
It can be directly connected to during hot spot.When the title and password of different Wi-Fi hotspots repeat, mobile terminal can be directly connected to, and so be had
All Internet datas of user may be caused to be intercepted by the Wi-Fi hotspot, cause the leakage of the personal information of user.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of method, apparatus for connecting Wi-Fi hotspot, mobile terminal and storage and is situated between
Matter, to improve the security of user information.
In a first aspect, an embodiment of the present invention provides it is a kind of connect Wi-Fi hotspot method, the described method includes:
The title and password of Wi-Fi hotspot are obtained, and obtains corresponding current geographic position;
According to the title of the Wi-Fi hotspot, the historical geography position of the Wi-Fi hotspot is obtained;
Determine the distance of the current geographic position and the historical geography position;
When the distance is less than or equal to pre-determined distance threshold value, the Wi-Fi hotspot is connected according to the password.
Second aspect, the embodiment of the present invention additionally provide a kind of device for connecting Wi-Fi hotspot, and described device includes:
Wi-Fi hotspot data obtaining module, for obtaining the title and password of Wi-Fi hotspot, and obtains corresponding current position
Manage position;
Historical position acquisition module, for the title according to the Wi-Fi hotspot, with obtaining the history of the Wi-Fi hotspot
Manage position;
Apart from determining module, for determining the distance of the current geographic position and the historical geography position;
First link block, for when the distance is less than or equal to pre-determined distance threshold value, being connected according to the password
The Wi-Fi hotspot.
The third aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, and the mobile terminal includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are performed by one or more of processors so that one or more of processing
The method that device realizes the connection Wi-Fi hotspot described in any embodiment of the present invention.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer-readable recording medium, are stored thereon with computer
Program, the method that the connection Wi-Fi hotspot described in any embodiment of the present invention is realized when which is executed by processor.
The technical solution of the embodiment of the present invention, by when obtaining the title and password of Wi-Fi hotspot, also obtaining corresponding
Current geographic position, and determine the distance between current geographic position and the historical geography position of the Wi-Fi hotspot, apart from small
When pre-determined distance threshold value, the Wi-Fi hotspot is connected according to corresponding password, avoids mobile terminal in not
It is directly connected to cause user information to be revealed with the Wi-Fi hotspot with same names and password is searched during geographical location,
Improve the security of user information.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the method for connection Wi-Fi hotspot that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of method for connecting Wi-Fi hotspot provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of structure diagram of the device for connection Wi-Fi hotspot that the embodiment of the present invention three provides;
Fig. 4 is a kind of structure diagram for mobile terminal that the embodiment of the present invention four provides.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just
It illustrate only part related to the present invention rather than full content in description, attached drawing.
Embodiment one
Fig. 1 is a kind of flow chart of the method for connection Wi-Fi hotspot that the embodiment of the present invention one provides, and the present embodiment can fit
The situation for the Wi-Fi hotspot for being again coupled to be successfully connected for mobile terminal, this method can be by the dresses of connection Wi-Fi hotspot
Put to perform, which can be realized by software and/or hardware, can generally be integrated in the mobile terminals such as mobile phone or tablet computer
In.This method specifically comprises the following steps:
Step 110, the title and password of Wi-Fi hotspot are obtained, and obtains corresponding current geographic position.
Detect user open WLAN (Wireless Local Area Networks, Wireless LAN) switch or
When detecting that the Wi-Fi hotspot searched changes, the title for the Wi-Fi hotspot that can be searched is obtained, and is based on searching
Wi-Fi hotspot name acquiring preserve corresponding password.And current geographic position is obtained based on location technology.Wherein, WiFi
Hot spot is possible to no password when belonging to public Wi-Fi hotspot, and the password got at this time is sky.Current geographic position can be with
Represented with latitude and longitude coordinates.
Wherein, WLAN is a kind of system carried out data transmission using radio-frequency technique, and the appearance of the technology compensate for wired
The deficiency of local area network, reaches the purpose of Network stretch so that Wireless LAN can allow user using simple access architecture
Through it, no cable, the unobstructed network without distance limitation are realized.WiFi technology is one and is based on 802.11 series standards of IEEE
The Wi-Fi communication technology brand, it is therefore an objective to improve the Wi-Fi product based on 802.11 standards of IEEE between it is mutual
The general character, is held by Wi-Fi Alliance (Wi-FiAlliance), and WiFi is exactly a kind of technology of Wireless Networking in simple terms.WiFi
It is exactly a trade mark of WLANA (Wireless Local Area Networks, WLAN alliance), which only ensures
It can be cooperated from each other using the commodity of the trade mark, it is not related with standard itself, but because WiFi mainly uses 802.11b
Agreement, therefore gradually custom calls 802.11b agreements to people with WiFi.For from inclusion relation, WiFi is the one of WLAN
A standard, WiFi are contained in WLAN, belong to a new technology using WLAN protocol.
Wherein, obtain corresponding current geographic position, it is optional including:
By GPS (Global Positioning System, global positioning system) positioning or base station location, determine
The current geographic position of the Wi-Fi hotspot.
Wherein, the current geographic position of the Wi-Fi hotspot is current residing for mobile terminal when getting the Wi-Fi hotspot
Geographical location.
GPS is the satellite navigation and location system established by the U.S., can be in the world using the system user
Realize round-the-clock, continuous, real-time three-dimensional navigation positioning and test the speed;In addition, high accuracy can also be carried out using the system user
Time Transmission and high-precision precision positioning.The whole system of GPS is by space segment, ground control segment and User Part institute
Composition.The space segment of GPS is made of 24 GPS operational satellites, these GPS operational satellites have collectively constituted gps satellite
Constellation, wherein 21 are the satellite available for navigation, 3 are movable backup satellite, this 24 satellite distributions are at 6 inclination angles
Run on 55 ° of track around the earth, every GPS operational satellites all send the signal for navigator fix.The control section of GPS by
The monitoring system being made of several tracking stations for being distributed in the whole world is formed, according to the difference of its effect, these tracking stations
It is divided into master station, monitoring station and injection station again.Master station has one, the Rodolfo Falcón of crolla more (Colorado) positioned at the U.S.
(Falcon) air base, its effect are that the ephemeris and satellite of satellite are calculated according to observation data of each monitoring station to GPS
Correction parameter of clock etc., and these data are injected into satellite by injection station;Meanwhile it is also controlled satellite,
Issue and instruct to satellite, when operational satellites break down, dispatch backup satellite, substitute the operational satellites work of failure;In addition,
Master station also has the function of monitoring station.Monitoring station has five, and in addition to master station, other four are located at Hawaii respectively
(Hawai i), A Songsen archipelagos (Ascension), repeatedly brother's gal West Asia (Diego Garcia), slips Garland (Kwajalein),
The effect of monitoring station is to receive satellite-signal, monitors the working status of satellite;Injection station has three, they are located at A Songsen respectively
Archipelago (Ascension), repeatedly brother's gal West Asia (Diego Garcia), slips Garland (Kwajalein), the effect of injection station be by
Satellite ephemeris and the correction of satellite clock that master station calculates etc. are injected into satellite.The User Part of GPS is by GPS receiver
Machine, data processing software and corresponding user equipment such as computer meteorologic instrument etc. are formed, its effect is to receive gps satellite
The signal sent, the work such as navigator fix are carried out using these signals.
Base station location is generally used for mobile phone user, and cellular base station positioning service, which is called, does mobile location-based service
(Location Based Service, LBS), it is to obtain movement eventually by the network (such as GSM nets) of telecommunications mobile operator
The positional information (latitude and longitude coordinates) of end subscriber, under the support of electronic map platform, provides one kind of respective service to the user
Value-added service.The general principles of base station location are:Mobile phone measures the down-bound pilot frequency signal of different base station, obtains different base station
(Time Difference of Arrival, reach the TOA (Time of Arrival, arrival moment) or TDOA of descending pilot frequency
Time difference), according to the measurement result and the coordinate of base station is combined, generally uses triangle formula algorithm for estimating, it becomes possible to calculate
The position of mobile phone.Actual location-estimation algorithm needs to consider the situation of (3 or more than the 3) positioning in more base stations, therefore
Algorithm is complicated very much.In general, the number of base stations of moving table measuring is more, measurement accuracy is higher, and positioning performance, which improves, to be got over
Substantially.
Step 120, according to the title of the Wi-Fi hotspot, the historical geography position of the Wi-Fi hotspot is obtained.
Wherein, mobile terminal after Wi-Fi hotspot is successfully connected every time, when preserving the title and password of the Wi-Fi hotspot
It is also corresponding to preserve the geographical location being presently in, historical geography position when which becomes subsequently to connect the Wi-Fi hotspot
Put.One Wi-Fi hotspot is possible to correspond to multiple historical geography positions, i.e. the title positioned at the Wi-Fi hotspot of different places is identical
When, which can correspond to multiple historical geography positions, and this distance of multiple historical geography positions between any two is more than
Pre-determined distance threshold value.
In the Wi-Fi hotspot of preservation and the correspondence of historical geography position, the title of the Wi-Fi hotspot is inquired about, is obtained
Take the corresponding historical geography position of title of the Wi-Fi hotspot inquired.Wherein, before historical geography position is described in connection
Residing geographical location during Wi-Fi hotspot, the representation of the historical geography position and the representation phase of current geographic position
Together, i.e., can also be represented with latitude and longitude coordinates.
Step 130, the distance of the current geographic position and the historical geography position is determined.
According to current geographic position and historical geography position, distance between the two is calculated.Corresponded in current Wi-Fi hotspot
During multiple historical geography positions, current geographic position and the distance of each historical geography position are calculated respectively.
Step 140, when the distance is less than or equal to pre-determined distance threshold value, the WiFi heat is connected according to the password
Point.
When the distance of current geographic position Yu historical geography position is less than or equal to pre-determined distance threshold value, illustrate current position
Reason position is in same place with historical geography position, and the Wi-Fi hotspot is connected according to corresponding password.In current Wi-Fi hotspot
During corresponding multiple historical geography positions, as long as current geographic position and a historical geography position among multiple historical geography positions
The distance put is less than or equal to pre-determined distance threshold value, just connects the Wi-Fi hotspot.
The technical solution of the present embodiment, it is corresponding current by when obtaining the title and password of Wi-Fi hotspot, also obtaining
Geographical location, and the distance between determine historical geography position of current geographic position and the Wi-Fi hotspot, be less than in distance or
During equal to pre-determined distance threshold value, the Wi-Fi hotspot, current geographic position and historical geography position are connected according to corresponding password
The distance between be less than or equal to pre-determined distance threshold value, illustrate that the position that mobile terminal is presently in is successfully connected this with history
It is identical the location of during Wi-Fi hotspot, searched so as to avoid mobile terminal when in diverse geographic location with identical
Title and the Wi-Fi hotspot of password are directly connected to the situation for causing user information to be revealed, and improve the security of user information.
Based on the above technical solutions, the title and password of Wi-Fi hotspot are obtained, including:
When searching Wi-Fi hotspot, the title of Wi-Fi hotspot of the title of the Wi-Fi hotspot searched with preserving is carried out
Matching;
If the title of Wi-Fi hotspot of the title of the Wi-Fi hotspot searched with preserving is identical, according to the WiFi of preservation
The corresponding password of name acquiring of hot spot.
Wherein, mobile terminal is after a Wi-Fi hotspot is successfully connected every time, can preserve the title of the Wi-Fi hotspot and right
The password answered.
When searching Wi-Fi hotspot, the title of the Wi-Fi hotspot can be directly obtained, by the title of the Wi-Fi hotspot with
The title of the Wi-Fi hotspot of preservation is matched, if identical, obtains the corresponding password of title of the Wi-Fi hotspot of the preservation
For the password of the Wi-Fi hotspot.
Embodiment two
Fig. 2 is a kind of flow chart of method for connecting Wi-Fi hotspot provided by Embodiment 2 of the present invention, and the present embodiment can fit
For connecting the situation of Wi-Fi hotspot, this method can be performed by the device of connection Wi-Fi hotspot, which can be by software
And/or hardware is realized, generally can be integrated in the mobile terminals such as mobile phone or tablet computer.This method specifically includes following step
Suddenly:
Step 210, the title and password of Wi-Fi hotspot are obtained, and obtains corresponding current geographic position.
Step 220, according to the title of the Wi-Fi hotspot, the historical geography position of the Wi-Fi hotspot is obtained.
Step 230, the distance of the current geographic position and the historical geography position is determined.
Step 240, when the distance is less than or equal to pre-determined distance threshold value, the WiFi heat is connected according to the password
Point.
Step 250, when the distance is more than pre-determined distance threshold value, user is prompted.
When current Wi-Fi hotspot corresponds to a historical geography position, if current geographic position and historical geography position
Distance is more than pre-determined distance threshold value, it is determined that current geographic position is in different places from historical geography position, i.e., with phase
Different places is in the Wi-Fi hotspot of title and same password, at this moment user is prompted, is determined by user current
The security of Wi-Fi hotspot.When current Wi-Fi hotspot corresponds to multiple historical geography positions, current geographic position and multiple history
When the distance of all historical geography positions among geographical location is all higher than pre-determined distance threshold value, user is prompted, by with
Family determines the security of current Wi-Fi hotspot.Exemplary, the content specifically prompted can be:Currently Wi-Fi hotspot is current
Geographical location is not inconsistent with historical geography position, and whether PLSCONFM connects.Certainly, it is only for illustrating, the content of prompting can also be
Other guide.
Step 260, if receiving the instruction that user confirms connection, the Wi-Fi hotspot is connected according to the password.
When user confirms that the Wi-Fi hotspot can connect, confirmation can be clicked on.If receiving user confirms connection
Instruction, then connect the Wi-Fi hotspot according to the password of the Wi-Fi hotspot.
Wherein, after prompting the user, it is also optional including:
If receiving the instruction that user cancels connection, cancel and connect the Wi-Fi hotspot, and by the Wi-Fi hotspot
The corresponding current geographic position of title add blacklist.
If receiving the instruction that user cancels connection, show that user thinks the Wi-Fi hotspot in current geographic position
It is unsafe, the corresponding current geographic position of the title of the Wi-Fi hotspot can be added blacklist, subsequently worked as described
When preceding geographical location searches again for the Wi-Fi hotspot of the title with the Wi-Fi hotspot, the Wi-Fi hotspot is not reconnected, is kept away
The leakage of user information is exempted from.
The technical solution of the present embodiment, passes through the current geographic position and the historical geography of the Wi-Fi hotspot in Wi-Fi hotspot
When the distance between position is more than pre-determined distance threshold value, user is prompted, if receiving the instruction that user confirms connection,
The Wi-Fi hotspot is then connected according to the password, is realized to there is same names and password in diverse geographic location
Wi-Fi hotspot prompts user, improves the security of user information.
Based on the above technical solutions, if the instruction of user's confirmation connection is being received, according to the password
After connecting the Wi-Fi hotspot, it is also optional including:
The title of the Wi-Fi hotspot and the correspondence of the current geographic position are added, and preserves the corresponding pass
System.
If receive user confirm connection instruction, it is determined that Wi-Fi hotspot described in current geographic position be safety
, then the corresponding addition current geographic position at the title of the Wi-Fi hotspot, and preserve, easy to subsequently search for
To the Wi-Fi hotspot title when, as historical geography position, as the reference subsequently connected.
Embodiment three
Fig. 3 be the embodiment of the present invention three provide a kind of connection Wi-Fi hotspot device structure diagram, the present embodiment
Be applicable to the situation of connection Wi-Fi hotspot, which can be realized by software and/or hardware, can generally be integrated in mobile phone or
In the mobile terminals such as tablet computer.As shown in figure 3, the device of the connection Wi-Fi hotspot described in the present embodiment includes:Wi-Fi hotspot
Data obtaining module 310, historical position acquisition module 320, apart from 330 and first link block 340 of determining module.
Wherein, Wi-Fi hotspot data obtaining module 310, for obtaining the title and password of Wi-Fi hotspot, and obtains correspondence
Current geographic position;
Historical position acquisition module 320, for the title according to the Wi-Fi hotspot, obtains the history of the Wi-Fi hotspot
Geographical location;
Apart from determining module 330, for determining the distance of the current geographic position and the historical geography position;
First link block 340, for when the distance is less than or equal to pre-determined distance threshold value, being connected according to the password
Connect the Wi-Fi hotspot.
Optionally, described device further includes:
Reminding module, for when the distance is more than pre-determined distance threshold value, prompting user;
Second link block, if confirming the instruction of connection for receiving user, according to password connection
Wi-Fi hotspot.
Optionally, described device further includes:
Current location add module, if for receiving the instruction of user's confirmation connection, connects according to the password
After connecing the Wi-Fi hotspot, the title of the Wi-Fi hotspot and the correspondence of the current geographic position are added, and preserve
The correspondence.
Optionally, the Wi-Fi hotspot data obtaining module includes:
Present location obtaining unit, for by GPS positioning or base station location, determining the current position of the Wi-Fi hotspot
Manage position.
Optionally, the Wi-Fi hotspot data obtaining module includes:
Name-matches unit, for when searching Wi-Fi hotspot, by the title of the Wi-Fi hotspot searched with preserving
The title of Wi-Fi hotspot is matched;
Password acquiring unit, if for the title and the title phase of the Wi-Fi hotspot preserved of the Wi-Fi hotspot searched
Together, then according to the corresponding password of name acquiring of the Wi-Fi hotspot of preservation.
The device of above-mentioned connection Wi-Fi hotspot can perform the side for the connection Wi-Fi hotspot that any embodiment of the present invention is provided
Method, possesses the corresponding function module of execution method and beneficial effect.Not ins and outs of detailed description in the present embodiment, can join
See the method for the connection Wi-Fi hotspot that any embodiment of the present invention provides.
Example IV
Fig. 4 is a kind of structure diagram for mobile terminal that the embodiment of the present invention four provides, as shown in figure 4, the movement is whole
End includes processor 410, memory 420, input unit 430 and output device 440;The quantity of processor 410 in mobile terminal
Can be one or more, in Fig. 4 by taking a processor 410 as an example;It is processor 410, memory 420 in mobile terminal, defeated
Enter device 430 to connect by bus or other modes with output device 440, in Fig. 4 exemplified by connecting by bus.
Memory 420 is used as a kind of computer-readable recording medium, and journey is can perform available for storage software program, computer
Sequence and module, if the corresponding programmed instruction/module of the method for the connection Wi-Fi hotspot in the embodiment of the present invention is (for example, connection
Wi-Fi hotspot data obtaining module 310, historical position acquisition module 320 in the device of Wi-Fi hotspot, apart from determining module 330
With the first link block 340).Processor 410 is stored in software program, instruction and module in memory 420 by operation,
So as to perform various function application and the data processing of mobile terminal, that is, the method for realizing above-mentioned connection Wi-Fi hotspot.
Memory 420 can mainly include storing program area and storage data field, wherein, storing program area can store operation system
Application program needed for system, at least one function;Storage data field can be stored uses created data according to mobile terminal
Deng.In addition, memory 420 can include high-speed random access memory, nonvolatile memory can also be included, for example, at least
One disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, memory 420 can
Further comprise that relative to the remotely located memory of processor 410, these remote memories network connection to shifting can be passed through
Dynamic terminal.The example of above-mentioned network includes but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Input unit 430 can be used for the numeral or character information for receiving input, and produces and set with the user of mobile terminal
Put and the input of key signals that function control is related.Output device 440 may include the display devices such as display screen.
Embodiment five
The embodiment of the present invention five also provides a kind of storage medium for including computer executable instructions, and the computer can be held
When being performed by computer processor for performing a kind of method for connecting Wi-Fi hotspot, this method includes for row instruction:
The title and password of Wi-Fi hotspot are obtained, and obtains corresponding current geographic position;
According to the title of the Wi-Fi hotspot, the historical geography position of the Wi-Fi hotspot is obtained;
Determine the distance of the current geographic position and the historical geography position;
When the distance is less than or equal to pre-determined distance threshold value, the Wi-Fi hotspot is connected according to the password.
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present invention is provided, its computer
The method operation that executable instruction is not limited to the described above, can also carry out the connection WiFi that any embodiment of the present invention is provided
Relevant operation in the method for hot spot.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention
It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but the former is more in many cases
Good embodiment.Based on such understanding, what technical scheme substantially in other words contributed the prior art
Part can be embodied in the form of software product, which can be stored in computer-readable recording medium
In, floppy disk, read-only storage (Read-Only Memory, ROM), random access memory (Random such as computer
Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set
Standby (can be personal computer, server, or network equipment etc.) performs the method described in each embodiment of the present invention.
It is worth noting that, in the embodiment of the device of above-mentioned connection Wi-Fi hotspot, included unit and module
Simply divided according to function logic, but be not limited to above-mentioned division, as long as corresponding function can be realized;
In addition, the specific name of each functional unit is also only to facilitate mutually distinguish, the protection domain being not intended to limit the invention.
Note that it above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
It can include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.
Claims (10)
- A kind of 1. method for connecting Wi-Fi hotspot, it is characterised in that the described method includes:The title and password of Wi-Fi hotspot are obtained, and obtains corresponding current geographic position;According to the title of the Wi-Fi hotspot, the historical geography position of the Wi-Fi hotspot is obtained;Determine the distance of the current geographic position and the historical geography position;When the distance is less than or equal to pre-determined distance threshold value, the Wi-Fi hotspot is connected according to the password.
- 2. according to the method described in claim 1, it is characterized in that, further include:When the distance is more than pre-determined distance threshold value, user is prompted;If receiving the instruction that user confirms connection, the Wi-Fi hotspot is connected according to the password.
- 3. if according to the method described in claim 2, it is characterized in that, receiving the instruction of user's confirmation connection, root After connecting the Wi-Fi hotspot according to the password, further include:The title of the Wi-Fi hotspot and the correspondence of the current geographic position are added, and preserves the correspondence.
- 4. according to the method described in claim 1, it is characterized in that, obtain corresponding current geographic position, including:By GPS positioning or base station location, the current geographic position of the Wi-Fi hotspot is determined.
- 5. according to the method described in claim 1, it is characterized in that, obtain Wi-Fi hotspot title and password, including:When searching Wi-Fi hotspot, by the title of the Wi-Fi hotspot searched and the title progress of the Wi-Fi hotspot preserved Match somebody with somebody;If the title of Wi-Fi hotspot of the title of the Wi-Fi hotspot searched with preserving is identical, according to the Wi-Fi hotspot of preservation The corresponding password of name acquiring.
- 6. a kind of device for connecting Wi-Fi hotspot, it is characterised in that described device includes:Wi-Fi hotspot data obtaining module, for obtaining the title and password of Wi-Fi hotspot, and obtains corresponding current geographic position Put;Historical position acquisition module, for the title according to the Wi-Fi hotspot, obtains the historical geography position of the Wi-Fi hotspot Put;Apart from determining module, for determining the distance of the current geographic position and the historical geography position;First link block, for when the distance is less than or equal to pre-determined distance threshold value, according to password connection Wi-Fi hotspot.
- 7. device according to claim 6, it is characterised in that further include:Reminding module, for when the distance is more than pre-determined distance threshold value, prompting user;Second link block, if confirming the instruction of connection for receiving user, the WiFi is connected according to the password Hot spot.
- 8. device according to claim 6, it is characterised in that the Wi-Fi hotspot data obtaining module includes:Present location obtaining unit, for by GPS positioning or base station location, determining the current geographic position of the Wi-Fi hotspot Put.
- 9. a kind of mobile terminal, it is characterised in that the mobile terminal includes:One or more processors;Storage device, for storing one or more programs,When one or more of programs are performed by one or more of processors so that one or more of processors are real The now method of the connection Wi-Fi hotspot as described in any in claim 1-5.
- 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor The method that the connection Wi-Fi hotspot as described in any in claim 1-5 is realized during execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711401563.1A CN107979865A (en) | 2017-12-22 | 2017-12-22 | Method and device for connecting WiFi hotspot, mobile terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711401563.1A CN107979865A (en) | 2017-12-22 | 2017-12-22 | Method and device for connecting WiFi hotspot, mobile terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107979865A true CN107979865A (en) | 2018-05-01 |
Family
ID=62007430
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711401563.1A Pending CN107979865A (en) | 2017-12-22 | 2017-12-22 | Method and device for connecting WiFi hotspot, mobile terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107979865A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109240101A (en) * | 2018-09-21 | 2019-01-18 | 深圳市华拓科技有限公司 | A kind of equipment long-range control method and control system |
CN110225455A (en) * | 2019-07-04 | 2019-09-10 | 长沙环康科技有限公司 | User's precise positioning method of intelligent rescue system and intelligent rescue system |
CN110392412A (en) * | 2019-07-23 | 2019-10-29 | 歌尔科技有限公司 | Network distribution method, device, equipment and medium for Internet of things equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104394579A (en) * | 2014-12-15 | 2015-03-04 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104507140A (en) * | 2014-12-22 | 2015-04-08 | 联想(北京)有限公司 | Information processing method and electronic equipment |
WO2015131562A1 (en) * | 2014-09-22 | 2015-09-11 | 中兴通讯股份有限公司 | Wifi connecting method and device |
-
2017
- 2017-12-22 CN CN201711401563.1A patent/CN107979865A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015131562A1 (en) * | 2014-09-22 | 2015-09-11 | 中兴通讯股份有限公司 | Wifi connecting method and device |
CN104394579A (en) * | 2014-12-15 | 2015-03-04 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104507140A (en) * | 2014-12-22 | 2015-04-08 | 联想(北京)有限公司 | Information processing method and electronic equipment |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109240101A (en) * | 2018-09-21 | 2019-01-18 | 深圳市华拓科技有限公司 | A kind of equipment long-range control method and control system |
CN110225455A (en) * | 2019-07-04 | 2019-09-10 | 长沙环康科技有限公司 | User's precise positioning method of intelligent rescue system and intelligent rescue system |
CN110392412A (en) * | 2019-07-23 | 2019-10-29 | 歌尔科技有限公司 | Network distribution method, device, equipment and medium for Internet of things equipment |
CN110392412B (en) * | 2019-07-23 | 2022-05-13 | 歌尔科技有限公司 | Network distribution method, device, equipment and medium for Internet of things equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107820204B (en) | High-precision positioning method and system for protecting user position privacy | |
Yassin et al. | A survey of positioning techniques and location based services in wireless networks | |
CN102257402B (en) | Calibrate after the deployment that wireless position is determined | |
US9549284B2 (en) | Apparatus and method for correcting location of base station | |
KR101387234B1 (en) | Self-positioning access points | |
CN102547978B (en) | Mobile radio network uses the method and apparatus that multiple mobile platform determines base station location | |
CN100534235C (en) | Method and system for validating mobile station location fix | |
US8743782B1 (en) | Automated method to determine position of Wi-Fi access point to enable location based services | |
CN107250829B (en) | Apparatus, system and method for checking health of radio model data | |
CN104918324A (en) | Positioning method selection control method and device | |
EP3028513B1 (en) | Assigning location information to wireless local area network access points | |
JP2010112869A (en) | Position estimation method in radio terminal, the radio terminal, and position estimation program | |
CN107979865A (en) | Method and device for connecting WiFi hotspot, mobile terminal and storage medium | |
WO2014022430A1 (en) | Wireless transmitter identity or positioning information partitioning | |
US8634846B2 (en) | Method and system for determining a location of a mobile device based on a plurality of location samples | |
CN107783164A (en) | The indoor and outdoor localization method and system of a kind of terminal device | |
CN107771408B (en) | Mobile terminal and positioning method thereof | |
TWI410662B (en) | Positioning method and system | |
CN102843766B (en) | Method and system for locating Home NodeB, method and system for updating location information | |
Huber | Background Positioning for Mobile devices-Android vs. iphone | |
KR100930002B1 (en) | How to build a virtual 데이터베이스 Cell database, server and system | |
US11012969B2 (en) | System and method for determining device location | |
CN104853431A (en) | Geographical location information positioning method and device | |
KR20150080817A (en) | Apparatus and method for loading radiomap database, and terminal device | |
CN103079164A (en) | Relation chain establishment method and relation chain establishment system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180501 |
|
RJ01 | Rejection of invention patent application after publication |