CN105407497B - Indoor and outdoor judgment method and device - Google Patents

Indoor and outdoor judgment method and device Download PDF

Info

Publication number
CN105407497B
CN105407497B CN201510894539.0A CN201510894539A CN105407497B CN 105407497 B CN105407497 B CN 105407497B CN 201510894539 A CN201510894539 A CN 201510894539A CN 105407497 B CN105407497 B CN 105407497B
Authority
CN
China
Prior art keywords
hotspot
signal strength
setting
threshold value
mobile terminal
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.)
Active
Application number
CN201510894539.0A
Other languages
Chinese (zh)
Other versions
CN105407497A (en
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201510894539.0A priority Critical patent/CN105407497B/en
Publication of CN105407497A publication Critical patent/CN105407497A/en
Application granted granted Critical
Publication of CN105407497B publication Critical patent/CN105407497B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

The invention discloses a kind of indoor and outdoor judgment method and devices.This method comprises: obtaining the wireless fidelity Wi-Fi hotspot list that mobile terminal current search arrives, the Wi-Fi hotspot list includes the corresponding signal strength indication of Wi-Fi hotspot;According to the signal strength indication of the Wi-Fi hotspot in the Wi-Fi hotspot list, determine that mobile terminal is currently at indoor location or outdoor location.The present invention according to mobile terminal current search to Wi-Fi hotspot list in the signal strength indication of Wi-Fi hotspot judge the current indoor external position of mobile terminal, and no longer need to rely on light or GPS searches star, the accuracy of judging result is improved, and the electricity of mobile terminal can be saved.

Description

Indoor and outdoor judgment method and device
Technical field
The present embodiments relate to the communication technology more particularly to a kind of indoor and outdoor judgment method and devices.
Background technique
With the rapid development of communication technology, mobile terminal has obtained unprecedented development, correspondingly, mobile terminal Application function is also stronger and stronger, and into the application that mobile terminal provides, whether some locate using needs according to mobile terminal It is provided in indoor location, therefore, it is necessary to judge that mobile terminal is in indoor or outdoor.
In the prior art, star is searched dependent on light or GPS to the judgement of mobile terminal indoor and outdoor, is sentenced using light When disconnected, the cloudy day, night, accidentally block or it is unexpected against sunlight in the case where, judged even if outdoor as interior, It will lead to misjudgment;Star is searched using GPS unsuccessfully to be judged, also judges mistake sometimes, when such as searching star failure using GPS It may be to have enough time searching out not yet being judged as in interior, and power consumption is serious.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of indoor and outdoor judgment method and device, to improve the standard of judging result Exactness simultaneously saves electricity.
In a first aspect, the embodiment of the invention provides a kind of indoor and outdoor judgment methods, which comprises
The wireless fidelity Wi-Fi hotspot list that mobile terminal current search arrives is obtained, the Wi-Fi hotspot list includes WiFi The corresponding signal strength indication of hot spot;
According to the signal strength indication of the Wi-Fi hotspot in the Wi-Fi hotspot list, determine that mobile terminal is currently at interior Position or outdoor location.
Second aspect, the embodiment of the invention also provides a kind of indoor and outdoor judgment means, described device includes:
Wi-Fi hotspot obtains module, the Wi-Fi hotspot list arrived for obtaining mobile terminal current search, the WiFi heat Point list includes the corresponding signal strength indication of Wi-Fi hotspot;
Position determination module is determined and is moved for the signal strength indication according to the Wi-Fi hotspot in the Wi-Fi hotspot list Dynamic terminal is currently at indoor location or outdoor location.
The technical solution of the embodiment of the present invention, according to mobile terminal current search to Wi-Fi hotspot list in WiFi heat The signal strength indication of point judges the current indoor external position of mobile terminal, and no longer needs to rely on light or GPS searches star, mentions The high accuracy of judging result, and the electricity of mobile terminal can be saved.
Detailed description of the invention
Fig. 1 is a kind of flow chart for indoor and outdoor judgment method that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of indoor and outdoor judgment method provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow chart for indoor and outdoor judgment method that the embodiment of the present invention three provides;
Fig. 4 is a kind of structural schematic diagram for indoor and outdoor judgment means that the embodiment of the present invention four provides.
Specific 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 limiting the invention.It also should be noted that in order to just In description, only some but not all contents related to the present invention are shown in the drawings.
Embodiment one
Fig. 1 is a kind of flow chart for indoor and outdoor judgment method that the embodiment of the present invention one provides, and the present embodiment is applicable to Need to judge the case where mobile terminal is currently at indoor external position, this method can be executed by server, specifically include as Under:
S110, obtains the Wi-Fi hotspot list that mobile terminal current search arrives, and the Wi-Fi hotspot list includes WiFi heat The corresponding signal strength indication of point.
When user is surfed the Internet at home using mobile terminal, generally surfed the Internet using wireless router to save and move The mobile data flow of dynamic terminal, WiFi router is a WiFi (Wireless-Fidelity, Wireless Fidelity) hot spot, this When need to open the WiFi function of mobile terminal, after the WiFi function of mobile terminal is opened, can automatically search it is available nearby Wi-Fi hotspot, forms Wi-Fi hotspot list, includes that the corresponding signal of Wi-Fi hotspot that searches is strong in the Wi-Fi hotspot list Angle value.In general, mobile terminal to search to Wi-Fi hotspot list in have tens it is even up to a hundred around WiFi heat Point.
S120 determines that mobile terminal is currently located according to the signal strength indication of the Wi-Fi hotspot in the Wi-Fi hotspot list In indoor location or outdoor location.
Since a large amount of wireless router is all disposed indoors, outdoor wireless router signal is very weak, indoor Wireless router signal is possible to very strong (just near router), it is also possible to very weak (although in the building Ye, from this road It is far by device), as long as so observe mobile terminal to search to all Wi-Fi hotspots in, have enough strong signals WiFi heat Point, so that it may determine that the mobile terminal is currently at indoor location, it is on the contrary then think not judging.
Wherein, according to the signal strength indication of the Wi-Fi hotspot in the Wi-Fi hotspot list, determine that mobile terminal is currently located It is preferably included in indoor location or outdoor location:
If the signal strength indication of at least one Wi-Fi hotspot in the Wi-Fi hotspot list is greater than the Wi-Fi hotspot Preset signal strength threshold value, it is determined that mobile terminal is currently at indoor location.
Since the signal strength of each Wi-Fi hotspot transmitting is different, each Wi-Fi hotspot has a preset signals strong Spend threshold value.When mobile terminal to search to Wi-Fi hotspot list at least one Wi-Fi hotspot signal strength indication be greater than should When the preset signal strength threshold value of Wi-Fi hotspot, it can determine that mobile terminal is currently at indoor location.Wherein, each WiFi The signal that the signal strength and mobile terminal that the preset signal strength threshold value of hot spot can emit according to the Wi-Fi hotspot receive Intensity determines, can also by largely testing acquisition.
The technical solution of the present embodiment, the Wi-Fi hotspot list arrived by obtaining mobile terminal current search, the WiFi Hotspot list includes the corresponding signal strength indication of Wi-Fi hotspot, and the signal according to the Wi-Fi hotspot in the Wi-Fi hotspot list is strong Angle value determines that mobile terminal is currently at indoor location or outdoor location.The Wi-Fi hotspot column arrived according to mobile terminal to search The signal strength indication of Wi-Fi hotspot in table judges the indoor external position of mobile terminal, and no longer need to rely on light or GPS searches star, improves the accuracy of judging result, and can save the electricity of mobile terminal.
Embodiment two
Fig. 2 is a kind of flow chart of indoor and outdoor judgment method provided by Embodiment 2 of the present invention, and the present embodiment is by embodiment The signal strength indication according to the Wi-Fi hotspot in the Wi-Fi hotspot list in one, determines that mobile terminal is currently at indoor position If the signal strength indication for setting at least one Wi-Fi hotspot that still outdoor location is optimized in the Wi-Fi hotspot list is greater than The preset signal strength threshold value of the Wi-Fi hotspot, it is determined that mobile terminal is currently at indoor location, the Wi-Fi hotspot column It further preferably include MAC (Medium/Media Access Control, media access control) address of Wi-Fi hotspot in table, and Increase the content for searching for the preset signal strength threshold value of Wi-Fi hotspot in the database.It specifically includes as follows:
S210, obtains the Wi-Fi hotspot list that mobile terminal current search arrives, and the Wi-Fi hotspot list includes WiFi heat The corresponding signal strength indication of point.
S220 further includes the MAC Address of Wi-Fi hotspot in the Wi-Fi hotspot list, according in the Wi-Fi hotspot list Wi-Fi hotspot MAC Address, search for the preset signal strength threshold value of the Wi-Fi hotspot in the database.
It wherein, further include the MAC Address of Wi-Fi hotspot in the Wi-Fi hotspot list, for distinguishing corresponding WiFi heat Point.Stored in database the Wi-Fi hotspot got MAC Address and corresponding preset signal strength threshold value.By Wi-Fi hotspot Preset signal strength threshold value store into database be convenient for the subsequent preset signal strength threshold value to Wi-Fi hotspot lookup.
Many Wi-Fi hotspots are had in the Wi-Fi hotspot list, respectively according to the MAC Address of each Wi-Fi hotspot in number According to the preset signal strength threshold value for searching for the Wi-Fi hotspot in library, it can also only search in Wi-Fi hotspot list and believe in the database The preset signal strength threshold value of number bigger part Wi-Fi hotspot of intensity value.
S230, if the signal strength indication of at least one Wi-Fi hotspot in the Wi-Fi hotspot list is greater than the WiFi The preset signal strength threshold value of hot spot, it is determined that mobile terminal is currently at indoor location.
Relatively low Wi-Fi hotspot obvious for signal strength in Wi-Fi hotspot list, can not have to the Wi-Fi hotspot certainly The preset signal strength threshold value of body compares, the signal strength indication for the Wi-Fi hotspot for only needing contrast signal intensity bigger with should The preset signal strength threshold value of Wi-Fi hotspot itself, as long as there is the signal strength indication of a Wi-Fi hotspot to be greater than the Wi-Fi hotspot certainly The preset signal strength threshold value of body, so that it may determine that mobile terminal is currently at indoor location.
The technical solution of the present embodiment, after getting the Wi-Fi hotspot list that mobile terminal current search arrives, according to The MAC Address of Wi-Fi hotspot in the Wi-Fi hotspot searches for the preset signal strength threshold of the Wi-Fi hotspot in the database Value, if the signal strength indication of at least one Wi-Fi hotspot in the Wi-Fi hotspot list is greater than the default of the Wi-Fi hotspot Signal strength threshold, it is determined that mobile terminal is currently at indoor location, and relative to embodiment one, the present embodiment is by comparing The signal strength indication of Wi-Fi hotspot in Wi-Fi hotspot list and the preset signal strength threshold value of the Wi-Fi hotspot, to determine movement Terminal is currently at indoor location, further improves the accuracy of judging result.
Embodiment three
Fig. 3 is a kind of flow chart for indoor and outdoor judgment method that the embodiment of the present invention three provides, and the present embodiment is with embodiment Based on two, the content of the preset signal strength threshold value of determining Wi-Fi hotspot is increased.It specifically includes as follows:
S310, according to the mobile terminal to search in outdoor area to the Wi-Fi hotspot list in setting WiFi heat The signal strength indication of point determines the preset signal strength threshold value of the setting Wi-Fi hotspot.
The range of the signal strength indication of Wi-Fi hotspot is -100 to 0, in general indoor to be all greater than -60, and actually Some Wi-Fi hotspots are far from window, mobile terminal the outdoor Wi-Fi hotspot almost sweeping less than this Wi-Fi hotspot, but have from Window is for a long time, it is necessary to which very strong signal strength just can prove that current location indoors.Therefore, it is necessary to according to largely in room The signal strength indication for the setting Wi-Fi hotspot that the mobile terminal to search of exterior domain arrives, to determine the preset signals of setting Wi-Fi hotspot Intensity threshold.
Wherein, according to the mobile terminal to search in outdoor area to the Wi-Fi hotspot list in setting WiFi heat The signal strength indication of point determines that the preset signal strength threshold value of the setting Wi-Fi hotspot preferably includes:
Obtain the mobile terminal by searching the setting Wi-Fi hotspot when GPS positioning success;
The signal strength indication for the setting Wi-Fi hotspot that record mobile terminal to search arrives;
According to the signal strength indication of the setting Wi-Fi hotspot, the preset signal strength threshold of the setting Wi-Fi hotspot is determined Value.
If mobile terminal passes through GPS positioning success, it is determined that the mobile terminal is in outdoor area, and the mobile terminal When can search setting Wi-Fi hotspot again simultaneously, it is strong that the signal strength of the setting Wi-Fi hotspot can be used as determining preset signals Spend the foundation of threshold value.And pass through the signal strength of a large amount of mobile terminal to search of GPS positioning when successful to setting Wi-Fi hotspot Value, the signal strength indication of available a large amount of setting Wi-Fi hotspot, according to this all signal strength indication or portion therein Sub-signal intensity value can determine the signal strength indication of setting Wi-Fi hotspot.
S320 stores the MAC Address of the setting Wi-Fi hotspot and preset signal strength threshold value.
By the preset signal strength threshold value of the setting Wi-Fi hotspot determined and MAC Address storage into database, it is convenient for The preset signal strength threshold value of Wi-Fi hotspot is searched according to the MAC Address of Wi-Fi hotspot.
S330, obtains the Wi-Fi hotspot list that mobile terminal current search arrives, and the Wi-Fi hotspot list includes WiFi heat The corresponding signal strength indication of point.
S340 further includes the MAC Address of Wi-Fi hotspot in the Wi-Fi hotspot list, according in the Wi-Fi hotspot list Wi-Fi hotspot MAC Address, search for the preset signal strength threshold value of the Wi-Fi hotspot in the database.
S350, if the signal strength indication of at least one Wi-Fi hotspot in the Wi-Fi hotspot list is greater than the WiFi The preset signal strength threshold value of hot spot, it is determined that mobile terminal is currently at indoor location.
The technical solution of the present embodiment, relative to embodiment two, by according to the mobile terminal to search for being in outdoor area To Wi-Fi hotspot list in setting Wi-Fi hotspot signal strength indication, determine it is described setting Wi-Fi hotspot preset signals it is strong Threshold value is spent, and the MAC Address of the setting Wi-Fi hotspot and preset signal strength threshold value are stored, is being stored convenient for subsequent Data in search for the preset signal strength threshold value of Wi-Fi hotspot in Wi-Fi hotspot list, and according in outdoor area Mobile terminal to search to setting Wi-Fi hotspot signal strength indication come determine setting Wi-Fi hotspot preset signal strength threshold value, So that the preset signal strength threshold value of the Wi-Fi hotspot determined is more accurate, indoor external position judging result is further improved Accuracy.
Based on the above technical solution, according to the signal strength indication of the setting Wi-Fi hotspot, the setting is determined The preset signal strength threshold value of Wi-Fi hotspot preferably includes:
Using the maximum value in the signal strength indication of the setting Wi-Fi hotspot as the default letter of the setting Wi-Fi hotspot Number intensity threshold.
The signal strength indication for the setting Wi-Fi hotspot that mobile terminal to search when extracting through GPS positioning success arrives In maximum value, then the maximum value can be got as the mobile terminal of all outdoor areas near setting Wi-Fi hotspot Maximum signal strength indication, if the signal strength indication for the setting Wi-Fi hotspot that acquisition for mobile terminal arrives is also bigger than the maximum value, Then determine that mobile terminal is in indoor location, therefore can be strong as the preset signals of the setting Wi-Fi hotspot using the maximum value Spend threshold value.
The signal strength for the setting Wi-Fi hotspot that the mobile terminal of a certain moment outdoor area obtains in order to prevent is higher than room The signal strength for the setting Wi-Fi hotspot that the mobile terminal of inner region obtains can determine setting Wi-Fi hotspot by following manner Preset signal strength threshold value determine the setting Wi-Fi hotspot that is, according to the signal strength indication of the setting Wi-Fi hotspot Preset signal strength threshold value preferably includes:
The signal strength indication of the setting Wi-Fi hotspot is ranked up;
In the signal strength indication that sequence is completed, the signal strength indication in setting ratio is extracted;
According to the signal strength indication extracted, the preset signal strength threshold value of the setting Wi-Fi hotspot is determined.
It, can be according to signal strength of the ranking in preceding setting ratio (such as 5%) in the signal strength indication that sequence is completed Value sets the preset signal strength threshold value of Wi-Fi hotspot to determine, in this way can be to avoid the shifting of the outdoor area due to a certain moment The setting Wi-Fi hotspot that the mobile terminal that the signal strength for the setting Wi-Fi hotspot that dynamic terminal obtains is higher than room area obtains The case where signal strength, so as to obtain the preset signal strength threshold value for more accurately setting Wi-Fi hotspot.Wherein, according to It, can should when preset signal strength threshold value of signal strength indication of the ranking in preceding setting ratio to determine setting Wi-Fi hotspot Minimum value of the ranking in the signal strength indication in preceding setting ratio, can also be by ranking preceding as preset signal strength threshold value The median in signal strength indication in setting ratio, can also be by ranking in preceding setting ratio as preset signal strength threshold value Average value in interior signal strength indication is as preset signal strength threshold value, it is, of course, also possible to there is other to be set according to ranking preceding The method that signal strength indication in certainty ratio determines the preset signal strength threshold value of setting Wi-Fi hotspot.
Wherein, according to the signal strength indication extracted, the preset signal strength threshold value of the setting Wi-Fi hotspot, packet are determined It includes:
Using the minimum value in the signal strength indication extracted as the preset signal strength threshold value of the setting Wi-Fi hotspot; Or
The signal strength indication extracted is averaged, the average value is strong as the preset signals of the setting Wi-Fi hotspot Spend threshold value.
By practice have shown that, using above-mentioned indoor and outdoor judgment method, be in the judgement in indoor situation in mobile terminal As a result accuracy rate will not then be judged as interior in the case where mobile terminal is in outdoor 85% or more.
Example IV
Fig. 4 is a kind of structural schematic diagram for indoor and outdoor judgment means that the embodiment of the present invention four provides, as shown in figure 4, this Indoor and outdoor judgment means described in embodiment include: that Wi-Fi hotspot obtains module 410 and position determination module 420.
Wherein, Wi-Fi hotspot obtains module 410 and is used to obtain the Wi-Fi hotspot list that mobile terminal current search arrives, described Wi-Fi hotspot list includes the corresponding signal strength indication of Wi-Fi hotspot;
Position determination module 420 is used for the signal strength indication according to the Wi-Fi hotspot in the Wi-Fi hotspot list, determines Mobile terminal is currently at indoor location or outdoor location.
Preferably, position determination module is specifically used for:
If the signal strength indication of at least one Wi-Fi hotspot in the Wi-Fi hotspot list is greater than the Wi-Fi hotspot Preset signal strength threshold value, it is determined that mobile terminal is currently at indoor location.
It preferably, further include the MAC Address of Wi-Fi hotspot in the Wi-Fi hotspot list, which also wraps It includes:
Threshold search module, for the MAC Address according to the Wi-Fi hotspot in the Wi-Fi hotspot list, in the database Search for the preset signal strength threshold value of the Wi-Fi hotspot.
Preferably, the indoor and outdoor judgment means further include:
Threshold determination module, for before obtaining the Wi-Fi hotspot list arrived of mobile terminal current search, according to being in The mobile terminal to search of outdoor area to the Wi-Fi hotspot list in setting Wi-Fi hotspot signal strength indication, determine institute State the preset signal strength threshold value of setting Wi-Fi hotspot;
Threshold value memory module, for depositing the MAC Address of the setting Wi-Fi hotspot and preset signal strength threshold value Storage.
Preferably, the threshold determination module includes:
Acquisition for mobile terminal unit, for obtaining the shifting by searching the setting Wi-Fi hotspot when GPS positioning success Dynamic terminal;
Signal strength recording unit, for recording the signal strength for the setting Wi-Fi hotspot that mobile terminal to search arrives Value;
Threshold value determination unit determines the setting WiFi heat for the signal strength indication according to the setting Wi-Fi hotspot The preset signal strength threshold value of point.
Preferably, the threshold value determination unit is specifically used for:
Using the maximum value in the signal strength indication of the setting Wi-Fi hotspot as the default letter of the setting Wi-Fi hotspot Number intensity threshold.
Preferably, the threshold value determination unit includes:
Signal strength sorting subunit is ranked up for the signal strength indication to the setting Wi-Fi hotspot;
Signal strength extracts subelement, for extracting the signal in setting ratio in the signal strength indication that sequence is completed Intensity value;
Threshold value determines subelement, for determining the default of the setting Wi-Fi hotspot according to the signal strength indication extracted Signal strength threshold.
Preferably, the threshold value determines that subelement is specifically used for:
Using the minimum value in the signal strength indication extracted as the preset signal strength threshold value of the setting Wi-Fi hotspot; Or
The signal strength indication extracted is averaged, the average value is strong as the preset signals of the setting Wi-Fi hotspot Spend threshold value.
Method provided by any embodiment of the invention can be performed in the said goods, has the corresponding functional module of execution method And beneficial effect.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (8)

1. a kind of indoor and outdoor judgment method, which is characterized in that the described method includes:
Obtain the mobile terminal by searching setting Wi-Fi hotspot when GPS positioning success;
The signal strength indication for the setting Wi-Fi hotspot that record mobile terminal to search arrives;
The signal strength of the setting Wi-Fi hotspot is determined as the corresponding preset signal strength threshold value of the setting Wi-Fi hotspot;
The MAC Address of the setting Wi-Fi hotspot and preset signal strength threshold value are stored;
The wireless fidelity Wi-Fi hotspot list that mobile terminal current search arrives is obtained, the Wi-Fi hotspot list includes Wi-Fi hotspot The MAC address of corresponding signal strength indication and Wi-Fi hotspot;
According to the MAC Address of the Wi-Fi hotspot in the Wi-Fi hotspot list, the pre- of the Wi-Fi hotspot is searched in the database If signal strength threshold;
If the signal strength indication of at least one Wi-Fi hotspot in the Wi-Fi hotspot list is greater than and the Wi-Fi hotspot phase Corresponding preset signal strength threshold value, it is determined that mobile terminal is currently at indoor location.
2. the method according to claim 1, wherein according to the signal strength indication of the setting Wi-Fi hotspot, really Determining the preset signal strength threshold value for setting Wi-Fi hotspot includes:
Maximum value in the signal strength indication of the setting Wi-Fi hotspot is strong as the preset signals of the setting Wi-Fi hotspot Spend threshold value.
3. according to the method described in claim 2, it is characterized in that, according to the signal strength indication of the setting Wi-Fi hotspot, really Determining the preset signal strength threshold value for setting Wi-Fi hotspot includes:
The signal strength indication of the setting Wi-Fi hotspot is ranked up;
In the signal strength indication that sequence is completed, the signal strength indication in setting ratio is extracted;
According to the signal strength indication extracted, the preset signal strength threshold value of the setting Wi-Fi hotspot is determined.
4. according to the method described in claim 3, it is characterized in that, determining the setting according to the signal strength indication extracted The preset signal strength threshold value of Wi-Fi hotspot, comprising:
Using the minimum value in the signal strength indication extracted as the preset signal strength threshold value of the setting Wi-Fi hotspot;Or
The signal strength indication extracted is averaged, preset signal strength threshold of the average value as the setting Wi-Fi hotspot Value.
5. a kind of indoor and outdoor judgment means, which is characterized in that described device includes:
Acquisition for mobile terminal unit, for obtaining the mobile terminal by searching setting Wi-Fi hotspot when GPS positioning success;
Signal strength recording unit, for recording the signal strength indication for the setting Wi-Fi hotspot that mobile terminal to search arrives;
Threshold value determination unit, it is corresponding for the signal strength of the setting Wi-Fi hotspot to be determined as the setting Wi-Fi hotspot Preset signal strength threshold value;
Threshold value memory module, for storing the MAC Address of the setting Wi-Fi hotspot and preset signal strength threshold value;
Wi-Fi hotspot obtains module, the Wi-Fi hotspot list arrived for obtaining mobile terminal current search, the Wi-Fi hotspot column Table includes the MAC address of Wi-Fi hotspot corresponding signal strength indication and Wi-Fi hotspot;
Threshold search module is searched in the database for the MAC Address according to the Wi-Fi hotspot in the Wi-Fi hotspot list The preset signal strength threshold value of the Wi-Fi hotspot;
Position determination module, if specifically for the signal strength indication of at least one Wi-Fi hotspot in the Wi-Fi hotspot list Greater than the preset signal strength threshold value of the Wi-Fi hotspot, it is determined that mobile terminal is currently at indoor location.
6. device according to claim 5, which is characterized in that the threshold value determination unit is specifically used for:
Maximum value in the signal strength indication of the setting Wi-Fi hotspot is strong as the preset signals of the setting Wi-Fi hotspot Spend threshold value.
7. device according to claim 5, which is characterized in that the threshold value determination unit includes:
Signal strength sorting subunit is ranked up for the signal strength indication to the setting Wi-Fi hotspot;
Signal strength extracts subelement, for extracting the signal strength in setting ratio in the signal strength indication that sequence is completed Value;
Threshold value determines subelement, for determining the preset signals of the setting Wi-Fi hotspot according to the signal strength indication extracted Intensity threshold.
8. device according to claim 7, which is characterized in that the threshold value determines that subelement is specifically used for:
Using the minimum value in the signal strength indication extracted as the preset signal strength threshold value of the setting Wi-Fi hotspot;Or
The signal strength indication extracted is averaged, preset signal strength threshold of the average value as the setting Wi-Fi hotspot Value.
CN201510894539.0A 2015-12-08 2015-12-08 Indoor and outdoor judgment method and device Active CN105407497B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510894539.0A CN105407497B (en) 2015-12-08 2015-12-08 Indoor and outdoor judgment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510894539.0A CN105407497B (en) 2015-12-08 2015-12-08 Indoor and outdoor judgment method and device

Publications (2)

Publication Number Publication Date
CN105407497A CN105407497A (en) 2016-03-16
CN105407497B true CN105407497B (en) 2019-05-31

Family

ID=55472688

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510894539.0A Active CN105407497B (en) 2015-12-08 2015-12-08 Indoor and outdoor judgment method and device

Country Status (1)

Country Link
CN (1) CN105407497B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107733668B (en) * 2016-08-10 2022-07-12 上海市眼病防治中心 Method and system for improving outdoor activity detection accuracy rate and wearable device
CN106304153B (en) * 2016-09-29 2019-12-13 中国联合网络通信集团有限公司 method and device for determining indoor user
CN106550329B (en) * 2016-11-01 2019-09-20 北京百度网讯科技有限公司 The detection processing method and device of mobile terminal
CN106535130A (en) * 2016-11-30 2017-03-22 北京三快在线科技有限公司 Method, device and equipment for judging indoor and outdoor affiliation of mobile terminal and storage medium
JP6869462B2 (en) * 2017-02-15 2021-05-12 アイシン精機株式会社 Toilet system
CN106851781B (en) * 2017-02-23 2020-04-03 广州市梦享网络技术有限公司 Intelligent scene identification method based on Wi-Fi
CN108064024B (en) * 2017-12-13 2020-01-14 Oppo广东移动通信有限公司 Control method and device based on positioning module, storage medium and mobile terminal
CN108064023B (en) * 2017-12-13 2020-01-14 Oppo广东移动通信有限公司 Control method and device based on positioning module, storage medium and mobile terminal
CN108234686B (en) * 2017-12-20 2019-05-17 中国联合网络通信集团有限公司 A kind of method and apparatus that indoor and outdoor determines
CN109597110B (en) * 2018-11-08 2021-06-04 昂科信息技术(上海)股份有限公司 Cross-region equipment positioning method, system, device and medium
CN110047246A (en) * 2019-05-21 2019-07-23 高新兴物联科技有限公司 Alarm method, equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442331A (en) * 2013-08-07 2013-12-11 华为技术有限公司 Terminal equipment position determining method and terminal equipment
CN103856989A (en) * 2012-11-28 2014-06-11 中国电信股份有限公司 Method and system for positioning switching between indoor and outdoor, terminal and positioning application platform
CN104427613A (en) * 2013-08-29 2015-03-18 百度在线网络技术(北京)有限公司 Mobile terminal position determination method and device, and mobile terminal and system thereof
CN104869634A (en) * 2015-04-30 2015-08-26 百度在线网络技术(北京)有限公司 Method and device for correcting positioning result

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856989A (en) * 2012-11-28 2014-06-11 中国电信股份有限公司 Method and system for positioning switching between indoor and outdoor, terminal and positioning application platform
CN103442331A (en) * 2013-08-07 2013-12-11 华为技术有限公司 Terminal equipment position determining method and terminal equipment
CN104427613A (en) * 2013-08-29 2015-03-18 百度在线网络技术(北京)有限公司 Mobile terminal position determination method and device, and mobile terminal and system thereof
CN104869634A (en) * 2015-04-30 2015-08-26 百度在线网络技术(北京)有限公司 Method and device for correcting positioning result

Also Published As

Publication number Publication date
CN105407497A (en) 2016-03-16

Similar Documents

Publication Publication Date Title
CN105407497B (en) Indoor and outdoor judgment method and device
CN105682015B (en) A kind of method and apparatus for being used to set up wireless connection
US9210684B2 (en) Method, mobile device and computer-readable recording medium for location-aware application
CN106255188B (en) Localization method, device, equipment and system
US10425796B2 (en) Radio access technology searching method and apparatus for emergency call in terminal supporting a plurality of communication networks
CN103298142B (en) A kind of wireless network connecting method, system and terminal unit
CN103037476A (en) Control method for wireless network access and control device for wireless network access
CN106211078A (en) Localization method, device, equipment and system
CN107390245A (en) A kind of localization method, device, equipment and storage medium
CA2629471A1 (en) Apparatus, and associated method, for facilitating network selection using access technology indicator
CN104853411B (en) A kind of method for network access and mobile communication terminal
CN103686595A (en) State switching method and electronic equipment
CN104143265A (en) Method and system for locating parking space and Zigbee module
CN105636101A (en) Method and device for detecting wifi performance of set-top box
CN103906173A (en) Method for controlling mobile terminal
CN106028279A (en) Network registration method and device
CN105208629A (en) Automatic AP access method and device in WiFi communication
CN104837179A (en) Method and device for displaying wireless hotspot equipment producer information
CN104427587A (en) Connection method for wireless local area network access point, and mobile equipment
CN106488529A (en) A kind of method and device for accessing WIFI network
CN106597509B (en) A kind of localization method and device
EP4175350A1 (en) Signal strength measurement method, wireless gateway device and readable storage medium
CN104735687B (en) A kind of single verification service test method and device of standing
CN104507140A (en) Information processing method and electronic equipment
CN109429302B (en) Recovery method and device after off-line of multi-card 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
GR01 Patent grant
GR01 Patent grant