CN113630719A - Method, device, equipment and medium for identifying mobile wifi signal - Google Patents

Method, device, equipment and medium for identifying mobile wifi signal Download PDF

Info

Publication number
CN113630719A
CN113630719A CN202110900678.5A CN202110900678A CN113630719A CN 113630719 A CN113630719 A CN 113630719A CN 202110900678 A CN202110900678 A CN 202110900678A CN 113630719 A CN113630719 A CN 113630719A
Authority
CN
China
Prior art keywords
wifi
gps
library
signal
mobile
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110900678.5A
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.)
Hengonda Technology Co ltd
Original Assignee
Hengonda 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 Hengonda Technology Co ltd filed Critical Hengonda Technology Co ltd
Priority to CN202110900678.5A priority Critical patent/CN113630719A/en
Publication of CN113630719A publication Critical patent/CN113630719A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/33Services specially adapted for particular environments, situations or purposes for indoor environments, e.g. buildings

Landscapes

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

Abstract

The invention provides a method, a device, equipment and a medium for identifying a mobile wifi signal, wherein the method comprises the following steps: step 1, establishing a gps-wifi corresponding relation table for the latest n times; step 2, establishing and updating a local mobile wifi library; step 3, identifying the mobile wifi through a mobile wifi library; the mobile wifi library is convenient to establish at low cost.

Description

Method, device, equipment and medium for identifying mobile wifi signal
Technical Field
The invention relates to the technical field of computers, in particular to a method, a device, equipment and a medium for identifying a mobile wifi signal.
Background
The development of the society enables people to use various positioning requirements more and more, and the requirements of indoor positioning technologies based on Bluetooth, wifi, LBS and the like are more and more extensive besides outdoor gps positioning; in the aspect of indoor positioning, wifi signals are popularized and are higher than the positioning accuracy of LBS, so that the wifi signals become the most main method of indoor positioning; however, due to the popularization of mobile WIFI (mobile WIFI hotspot) and great interference to WIFI positioning, how to identify and remove the acquired invalid mobile WIFI data becomes a difficult problem to be solved;
the existing known method is that a large number of mobile wifi libraries are established on a server side to identify mobile wifi signals in a manner similar to the way of high-grade/Baidu and the like, the identification system is high in construction cost and needs the support of a large number of data acquisition terminals, and terminal equipment needs to transmit data to the server for inquiry judgment when identifying whether a certain wifi is the mobile wifi; the method has great defects in the aspects of system construction difficulty, construction conditions and equipment query convenience.
Disclosure of Invention
The invention aims to provide a method, a device, equipment and a medium for identifying a mobile wifi signal, which are convenient for establishing a mobile wifi library at low cost.
In a first aspect, the present invention provides a method for identifying a mobile wifi signal, comprising:
step 1, establishing a gps-wifi corresponding relation table for the latest n times;
step 2, establishing and updating a local mobile wifi library;
and 3, identifying the mobile wifi through the mobile wifi library.
Further, the step 1 is further specifically: forming a gps-wifi list corresponding relation by the gps coordinate and the wifi signal obtained this time according to the gps coordinate information obtained in the positioning process, and updating the gps-wifi list corresponding relation into a gps-wifi corresponding relation table of the latest n times; and the relation table comprises the mac address and the signal intensity of wifi.
Further, the step 2 is further specifically: when the gps-wifi corresponding relation table is updated, acquiring the latest gps-wifi corresponding relation, and calculating the distance between the new gps coordinate and the gps coordinates in the latest n gps-wifi corresponding relations; when the gps distance of the two points is larger than the set distance, comparing the wifi signal corresponding to the new gps coordinate with wifi in the stored wifi list, if the same wifi-mac exists and the signal difference of the two points is smaller than the set threshold value; if the wifi signal is mobile wifi, updating the mac of the wifi signal to a local mobile wifi library; the local mobile wifi library is stored in a hash table mode; and if the local mobile wifi library does not exist, the local mobile wifi library is not updated.
Further, the step 3 is further specifically: obtaining the mac of each current wifi, and performing hash lookup in a local mobile wifi library; if the mac of the corresponding wifi is found, the mobile wifi is obtained; otherwise, the wifi is fixed.
In a second aspect, the present invention provides an apparatus for recognizing a mobile wifi signal, comprising:
the relation table module is used for establishing a gps-wifi corresponding relation table for the latest n times;
the wifi library module is used for establishing and updating a local mobile wifi library;
and the identification module identifies the mobile wifi through the mobile wifi library.
Further, the relationship table module is further specifically: forming a gps-wifi list corresponding relation by the gps coordinate and the wifi signal obtained this time according to the gps coordinate information obtained in the positioning process, and updating the gps-wifi list corresponding relation into a gps-wifi corresponding relation table of the latest n times; and the relation table comprises the mac address and the signal intensity of wifi.
Further, wifi library module further specifically is: when the gps-wifi corresponding relation table is updated, acquiring the latest gps-wifi corresponding relation, and calculating the distance between the new gps coordinate and the gps coordinates in the latest n gps-wifi corresponding relations; when the gps distance of the two points is larger than the set distance, comparing the wifi signal corresponding to the new gps coordinate with wifi in the stored wifi list, if the same wifi-mac exists and the signal difference of the two points is smaller than the set threshold value; if the wifi signal is mobile wifi, updating the mac of the wifi signal to a local mobile wifi library; the local mobile wifi library is stored in a hash table mode; and if the local mobile wifi library does not exist, the local mobile wifi library is not updated.
Further, the identification module is further specifically: obtaining the mac of each current wifi, and performing hash lookup in a local mobile wifi library; if the mac of the corresponding wifi is found, the mobile wifi is obtained; otherwise, the wifi is fixed.
In a third aspect, the present invention provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of the first aspect when executing the program.
In a fourth aspect, the invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the method of the first aspect.
One or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:
compared with the existing mode of storing a large amount of mobile wifi data at the server end, the implementation cost of the invention is very low due to the regional reason of the equipment (for example, the equipment can only be used in certain fixed regions, only 6.3M equipment storage space is needed according to the requirement of storing 100w pieces of mobile wifi data), and no additional development and construction cost of the server is needed.
According to the invention, the identification method of the whole wifi mobile data is directly realized at the equipment end, a service platform does not need to be developed, all mobile wifi data volumes in the whole country do not need to be considered, only various mobile wifi data volumes encountered in the mobile process when the equipment is used need to be considered, and the basic realization difficulty is much lower.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
The invention will be further described with reference to the following examples with reference to the accompanying drawings.
FIG. 1 is a flow chart of a method of identifying mobile wifi signals of the present invention;
FIG. 2 is a flow chart of establishing a gps-wifi correspondence table in the present invention;
FIG. 3 is a flow chart of updating a mobile wifi library in the present invention;
FIG. 4 is a schematic diagram of hash storage according to the present invention;
FIG. 5 is a hash store diagram according to the present invention;
fig. 6 is a flow chart of mobile wifi determination in the present invention.
Detailed Description
In order to solve the defects of the existing mobile wifi identification method in the aspects of system construction difficulty, construction conditions and equipment query convenience, the invention provides a low-cost and easily-realized solution method for establishing a mobile wifi identification library locally, and the realization idea is as follows:
1. the equipment establishes a gps-wifi corresponding relation table for the latest n times: when the device acquires the gps coordinate information in the positioning process, forming a gps-wifi list corresponding relation by the gps coordinate and a plurality of wifi signals (mac address + signal strength) acquired this time, and updating the gps-wifi list into a gps-wifi corresponding relation table of the latest n times (for example, when the n is 500, 500 latest gps coordinates and wifi signal lists corresponding to each gps coordinate position are stored);
2. the equipment maintains a mobile wifi library: when the device acquires the gps coordinate information in the positioning process, acquiring the current gps-wifi corresponding relation, and calculating the distance by using the new gps coordinate and gps in the latest n gps-wifi corresponding relations; when the gps distance of the two points is greater than 200 meters, enabling wifi in the current wifi list to be searched in the stored wifi list one by one, and if the wifi-mac corresponding to the two points is found and the signal difference of the two points is less than 70dbm (when the signal difference of the wifi of the two points is less than 70dbm, the distance is within 150 m); the fact that the same wifi is found in two different places is shown, the wifi is the mobile wifi, and the mac of the wifi signal is updated to a mobile wifi library; the local mobile wifi library is stored in a hash table mode, so that subsequent retrieval and identification operations are facilitated;
3. when the device acquires the wifi signal and judges whether the wifi signal is the mobile wifi, performing hash lookup in a mobile wifi library maintained locally through the mac of the wifi; if the mac of the corresponding wifi is found, the mac indicates that the mobile wifi signal is a known mobile wifi signal, and if the mac is not found, the mac indicates that the mobile wifi signal is not determined whether the mobile wifi signal is a mobile wifi signal, so that the mobile wifi signal which cannot be used for positioning can be filtered out in advance when wifi is positioned.
As shown in fig. 1, the method of the present invention comprises the steps of:
a. the equipment establishes a gps-wifi corresponding relation table for the latest n times: when the device acquires the gps coordinate information in the positioning process, forming a gps-wifi list corresponding relation by the gps coordinate and a plurality of wifi signals (mac address + signal strength) acquired this time, and updating the gps-wifi list into a gps-wifi corresponding relation table of the latest n times (for example, when the n is 500, 500 latest gps coordinates and wifi signal lists corresponding to each gps coordinate position are stored);
b. the equipment maintains a mobile wifi library: when the device acquires the gps coordinate information in the positioning process, acquiring the current gps-wifi corresponding relation, and calculating the distance by using the new gps coordinate and gps in the latest n gps-wifi corresponding relations; when the gps distance of the two points is greater than 200 meters, enabling wifi in the current wifi list to be searched in the stored wifi list one by one, and if the wifi-mac corresponding to the two points is found and the signal difference of the two points is less than 70dbm (when the signal difference of the wifi of the two points is less than 70dbm, the distance is within 150 m); the fact that the same wifi is found in two different places is shown, the wifi is the mobile wifi, and the mac of the wifi signal is updated to a mobile wifi library; the local mobile wifi library is stored in a hash table mode, so that subsequent retrieval and identification operations are facilitated;
c. when the device acquires the wifi signal and judges whether the wifi signal is the mobile wifi, performing hash lookup in a mobile wifi library maintained locally through the mac of the wifi; if the mac of the corresponding wifi is found, the mac indicates that the mobile wifi signal is a known mobile wifi signal, and if the mac is not found, the mac indicates that the mobile wifi signal is not determined whether the mobile wifi signal is a mobile wifi signal, so that the mobile wifi signal which cannot be used for positioning can be filtered out in advance when wifi is positioned.
2. The equipment establishes a gps-wifi corresponding relation table for the latest n times:
when the device acquires the gps coordinate information in the positioning process, forming a gps-wifi list corresponding relation by the gps coordinate and a plurality of wifi signals (mac address + signal strength) acquired this time, and updating the gps-wifi list into a gps-wifi corresponding relation table of the latest n times (for example, when the n is 500, 500 latest gps coordinates and wifi signal lists corresponding to each gps coordinate position are stored);
as shown in fig. 2, the specific implementation is as follows:
firstly, a gps-wifi list is obtained, a key-value pair is generated, and then the key-value pair is stored in a specified gps-wifi corresponding relation table in a (annular storage) FIFO mode.
An example of a specific gps-value pair is as follows:
if gps coordinate data is acquired as (longitude, latitude): 119.256383, 26.105022
The wifi signal list is as follows (wifi-mac! Signal Strength # wifi-mac! Signal Strength): 54: a7:03: a3:62: ff! 53# d0:76: e7: f0: cc: fa! 62# e0: e0: fc:03: cc: fd! 33# e0: e0: fc:03: cc: f 9! 21# e0: e0: fc:03: cc: f 8! 38# cc:2d:21: a3:01: 98! 52#6a: db:54:5d: a5:9 f! 21# bc:3f:8f:08:04:8 c! 35# d4:83:04:81:48: cc! 28#44:97:5a:1e: cf: ec! -36
When the key-value relation is converted into the key-value relation to be stored, the following conversion is carried out:
GPS generates key: the coordinates x100000 are converted into a shape, and then the shape is stored into 4 bytes of data, and an 8-byte key is generated together, specifically: (119.256383, 26.105022)
Each x100000 is converted into 4 bytes (11925638, 2610502)
The 8 bytes key stored in the combined way (00B5F8860027D546)
Wifi list generation value-storing wifi generation 7 bytes value data of each group (mac address takes 6 bytes, signal strength takes 1 byte), as the following raw data: 54: a7:03: a3:62: ff! 53# d0:76: e7: f0: cc: fa! 62# e0: e0: fc:03: cc: fd! 33# e0: e0: fc:03: cc: f 9! 21# e0: e0: fc:03: cc: f 8! 38# cc:2d:21: a3:01: 98! 52#6a: db:54:5d: a5:9 f! 21# bc:3f:8f:08:04:8 c! 35# d4:83:04:81:48: cc! 28#44:97:5a:1e: cf: ec! -36
Value data is generated by rule as follows: 54A703A362FFCBD076E7F0CCFAC2E 0FC03CCFDDFE0E0FC03CCF9EBE0E0FC03CCF8DACC2D21A30198CC6ADB545DA59FEBBC3F8F08048CDDD483048148CCE444975A1ECFECDC
C. The key-value relationship table generated by the above example is:
key:00B5F8860027D546
value:54A703A362FFCBD076E7F0CCFAC2E0E0FC03CCFDDFE0E0FC03CCF9EBE0E0FC03CCF8DACC2D21A30198CC6ADB545DA59FEBBC3F8F08048CDDD483048148CCE444975A1ECFECDC
the occupied storage space is as follows: key is 8 bytes, value is: n × 7(N is the number of wifi acquired this time, and 7 is 7 bytes for each wifi).
3. The equipment maintains a mobile wifi library:
as shown in fig. 3, when the device acquires the gps coordinate information during the positioning process, the current gps-wifi correspondence is acquired, and the distance is calculated by using the new gps coordinate and gps in the latest n stored gps-wifi correspondences; when the gps distance between the two points is greater than 200 meters, enabling wifi in the current wifi list to be searched in the stored wifi list one by one, and if the same wifi-mac is found and the signal difference of the two points is less than 70dbm (when the signal difference of the wifi of the two points is less than 70dbm, the distance is within 150 m); the fact that the same wifi is found in two different places is shown, the wifi is the mobile wifi, and the mac of the wifi signal is updated to a mobile wifi library; the local mobile wifi library is stored in a hash table mode, so that subsequent retrieval and identification operations are facilitated;
the method for saving the mobile wifi by the Hash table comprises the following steps:
as shown in FIG. 4, it is assumed that the saved data can be stored directly in a flash block or in a single file, and the storage space is pre-allocated in the following manner:
as shown in fig. 5, the specific implementation is described as follows:
A. save data exemplary description:
a save allocation unit: the mac address data of each wifi is 6 bytes, then each 100 data storage units are taken as a hash table distribution unit, and each distribution unit is 600 bytes;
a hash function: if the data are distributed into 1003 storage blocks, the hash function can be designed into 'converting 6-byte mac address of wifi into 32-bit int residual 1003', and mapping wifi into 1003 hash linked lists;
actual data store (mobile wifi save total plan): assuming that we need to store 100w of wifi number, the required byte number is 600w bytes, and the number of bytes transferred to the storage unit is 1w, considering the pre-allocated un-stored full data (if each hash map has minimum 500 wifi storage capacity pre-allocated, the pre-allocation needs to occupy (1003 × 500)/1024 — 490 KB); the corresponding data requires:
600w bytes + pre-allocated 490KB (600 × 10000)/1024+ (1003 × 500)/1024 × 5859KB +490KB is about 6.3MB
Hash header allocation (Hash function data storage address table)
Assuming that each hash map can store a minimum of 5 allocation units (500 wifi) and a maximum of 100 allocation units (10000 wifi), the part of data occupies 100 allocation units per mapping unit of the firmware, and occupies 100 × 1003 storage addresses, and each address occupies 2 bytes in an indexing manner, and then the part needs to: 2 × 100 × 1003 about 196KB or so
B. The storage of each hash map is implemented:
when the whole storage space allocation is initialized, allocating M (5 here) storage allocation units for each hash mapping of 1003 storage mappings; if a hash memory map is not enough to be used, judging whether the hash memory map exceeds the maximum number N (100 in the example here) of storable units; if the hash mapping does not reach N maximum and the total data storage pool has allocable free space, directly allocating a new storage unit, and if the hash mapping exceeds N storage units or no space in the data storage pool can be allocated, starting to perform circular coverage from the earliest allocated storage unit again (realizing FIFO coverage in a ring storage mode);
5. whether equipment discerns a certain wifi signal through removing the wifi storehouse is for removing wifi:
as shown in fig. 6, when the device acquires the wifi signal and determines whether the wifi signal is mobile wifi, a hash lookup is performed in a mobile wifi library maintained locally through a mac of the wifi; if the mac of the corresponding wifi is found, the mac indicates that the mobile wifi signal is a known mobile wifi signal, and if the mac is not found, the mac indicates that the mobile wifi signal is not determined whether the mobile wifi signal is a mobile wifi signal, so that the mobile wifi signal which cannot be used for positioning can be filtered out in advance when wifi is positioned.
Example one
As shown in fig. 1, the present embodiment provides a method for identifying a mobile wifi signal, including:
step 1, according to the gps coordinate information acquired in the positioning process, forming a gps-wifi list corresponding relation by the gps coordinate and the wifi signal acquired this time, and updating the gps-wifi list corresponding relation into a gps-wifi corresponding relation table of the latest n times; the relation table comprises a mac address and signal intensity of wifi;
step 2, when the gps-wifi corresponding relation table is updated, obtaining the latest gps-wifi corresponding relation, and calculating the distance between the new gps coordinate and the gps coordinate in the latest n gps-wifi corresponding relations; when the gps distance of the two points is larger than the set distance, comparing the wifi signal corresponding to the new gps coordinate with wifi in the stored wifi list, if the same wifi-mac exists and the signal difference of the two points is smaller than the set threshold value; if the wifi signal is mobile wifi, updating the mac of the wifi signal to a local mobile wifi library; the local mobile wifi library is stored in a hash table mode; if the mobile wifi library does not exist, updating the local mobile wifi library is not carried out;
step 3, hash searching is carried out in a local mobile wifi library by acquiring the mac of each current wifi; if the mac of the corresponding wifi is found, the mobile wifi is obtained; otherwise, the wifi is fixed.
Based on the same inventive concept, the application also provides a device corresponding to the method in the first embodiment, which is detailed in the second embodiment.
Example two
In this embodiment, an apparatus for recognizing a mobile wifi signal is provided, including:
the relation table module is used for forming a gps-wifi list corresponding relation between the gps coordinate and the wifi signal acquired this time according to the gps coordinate information acquired in the positioning process, and updating the gps-wifi list corresponding relation into the gps-wifi corresponding relation table of the latest n times; the relation table comprises a mac address and signal intensity of wifi;
the wifi library module is used for acquiring the latest gps-wifi corresponding relation when the gps-wifi corresponding relation table is updated, and calculating the distance between the new gps coordinate and the gps coordinate in the latest n gps-wifi corresponding relations; when the gps distance of the two points is larger than the set distance, comparing the wifi signal corresponding to the new gps coordinate with wifi in the stored wifi list, if the same wifi-mac exists and the signal difference of the two points is smaller than the set threshold value; if the wifi signal is mobile wifi, updating the mac of the wifi signal to a local mobile wifi library; the local mobile wifi library is stored in a hash table mode; if the mobile wifi library does not exist, updating the local mobile wifi library is not carried out;
the identification module is used for performing hash lookup in a local mobile wifi library by acquiring the mac of each current wifi; if the mac of the corresponding wifi is found, the mobile wifi is obtained; otherwise, the wifi is fixed.
Since the apparatus described in the second embodiment of the present invention is an apparatus used for implementing the method of the first embodiment of the present invention, based on the method described in the first embodiment of the present invention, a person skilled in the art can understand the specific structure and the deformation of the apparatus, and thus the details are not described herein. All the devices adopted in the method of the first embodiment of the present invention belong to the protection scope of the present invention.
Based on the same inventive concept, the application provides an electronic device embodiment corresponding to the first embodiment, which is detailed in the third embodiment.
EXAMPLE III
The embodiment provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, any one of the embodiments may be implemented.
Since the electronic device described in this embodiment is a device used for implementing the method in the first embodiment of the present application, based on the method described in the first embodiment of the present application, a specific implementation of the electronic device in this embodiment and various variations thereof can be understood by those skilled in the art, and therefore, how to implement the method in the first embodiment of the present application by the electronic device is not described in detail herein. The equipment used by those skilled in the art to implement the methods in the embodiments of the present application is within the scope of the present application.
Based on the same inventive concept, the application provides a storage medium corresponding to the fourth embodiment, which is described in detail in the fourth embodiment.
Example four
The present embodiment provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, any one of the first embodiment can be implemented.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Although specific embodiments of the invention have been described above, it will be understood by those skilled in the art that the specific embodiments described are illustrative only and are not limiting upon the scope of the invention, and that equivalent modifications and variations can be made by those skilled in the art without departing from the spirit of the invention, which is to be limited only by the appended claims.

Claims (10)

1. A method for identifying a mobile wifi signal is characterized in that: the method comprises the following steps:
step 1, establishing a gps-wifi corresponding relation table for the latest n times;
step 2, establishing and updating a local mobile wifi library;
and 3, identifying the mobile wifi through the mobile wifi library.
2. The method for recognizing the mobile wifi signal of claim 1, characterized by: the step 1 is further specifically as follows: forming a gps-wifi list corresponding relation by the gps coordinate and the wifi signal obtained this time according to the gps coordinate information obtained in the positioning process, and updating the gps-wifi list corresponding relation into a gps-wifi corresponding relation table of the latest n times; and the relation table comprises the mac address and the signal intensity of wifi.
3. The method for recognizing the mobile wifi signal of claim 2, characterized by: the step 2 is further specifically as follows: when the gps-wifi corresponding relation table is updated, acquiring the latest gps-wifi corresponding relation, and calculating the distance between the new gps coordinate and the gps coordinates in the latest n gps-wifi corresponding relations; when the gps distance of the two points is larger than the set distance, comparing the wifi signal corresponding to the new gps coordinate with wifi in the stored wifi list, if the same wifi-mac exists and the signal difference of the two points is smaller than the set threshold value; if the wifi signal is mobile wifi, updating the mac of the wifi signal to a local mobile wifi library; the local mobile wifi library is stored in a hash table mode; and if the local mobile wifi library does not exist, the local mobile wifi library is not updated.
4. The method for recognizing the mobile wifi signal of claim 3, characterized by: the step 3 is further specifically as follows: obtaining the mac of each current wifi, and performing hash lookup in a local mobile wifi library; if the mac of the corresponding wifi is found, the mobile wifi is obtained; otherwise, the wifi is fixed.
5. The utility model provides a device of wifi signal is removed in discernment which characterized in that: the method comprises the following steps:
the relation table module is used for establishing a gps-wifi corresponding relation table for the latest n times;
the wifi library module is used for establishing and updating a local mobile wifi library;
and the identification module identifies the mobile wifi through the mobile wifi library.
6. The device for identifying the mobile wifi signal of claim 5, characterized in that: the relationship table module is further specifically: forming a gps-wifi list corresponding relation by the gps coordinate and the wifi signal obtained this time according to the gps coordinate information obtained in the positioning process, and updating the gps-wifi list corresponding relation into a gps-wifi corresponding relation table of the latest n times; and the relation table comprises the mac address and the signal intensity of wifi.
7. The device for identifying the mobile wifi signal of claim 6, wherein: the wifi library module further specifically is: when the gps-wifi corresponding relation table is updated, acquiring the latest gps-wifi corresponding relation, and calculating the distance between the new gps coordinate and the gps coordinates in the latest n gps-wifi corresponding relations; when the gps distance of the two points is larger than the set distance, comparing the wifi signal corresponding to the new gps coordinate with wifi in the stored wifi list, if the same wifi-mac exists and the signal difference of the two points is smaller than the set threshold value; if the wifi signal is mobile wifi, updating the mac of the wifi signal to a local mobile wifi library; the local mobile wifi library is stored in a hash table mode; and if the local mobile wifi library does not exist, the local mobile wifi library is not updated.
8. The device for recognizing the wifi signal of the claim 7, characterized in that: the identification module is further specifically: obtaining the mac of each current wifi, and performing hash lookup in a local mobile wifi library; if the mac of the corresponding wifi is found, the mobile wifi is obtained; otherwise, the wifi is fixed.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 4 when executing the program.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 4.
CN202110900678.5A 2021-08-06 2021-08-06 Method, device, equipment and medium for identifying mobile wifi signal Pending CN113630719A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110900678.5A CN113630719A (en) 2021-08-06 2021-08-06 Method, device, equipment and medium for identifying mobile wifi signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110900678.5A CN113630719A (en) 2021-08-06 2021-08-06 Method, device, equipment and medium for identifying mobile wifi signal

Publications (1)

Publication Number Publication Date
CN113630719A true CN113630719A (en) 2021-11-09

Family

ID=78383074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110900678.5A Pending CN113630719A (en) 2021-08-06 2021-08-06 Method, device, equipment and medium for identifying mobile wifi signal

Country Status (1)

Country Link
CN (1) CN113630719A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060095348A1 (en) * 2004-10-29 2006-05-04 Skyhook Wireless, Inc. Server for updating location beacon database
US20070167174A1 (en) * 2006-01-19 2007-07-19 Halcrow Michael A On-device mapping of WIFI hotspots via direct connection of WIFI-enabled and GPS-enabled mobile devices
US20130072227A1 (en) * 2004-10-29 2013-03-21 Skyhook Wireless, Inc. Continuous Data Optimization of Moved Access Points in Positioning Systems
CN104540218A (en) * 2014-12-23 2015-04-22 厦门雅迅网络股份有限公司 Effective filtering method for WIFI signals
WO2017193357A1 (en) * 2016-05-13 2017-11-16 深圳市沃特沃德股份有限公司 Method and system for searching for pet using mobile wifi hotspot
CN107436443A (en) * 2016-05-25 2017-12-05 高德信息技术有限公司 A kind of positional information output intent and device
CN107678051A (en) * 2016-08-01 2018-02-09 华为技术服务有限公司 The method and relevant device of a kind of positioning
US20180084520A1 (en) * 2016-09-22 2018-03-22 Ipass Inc. Apparatus and Method for Identifying a Moving WiFi Access Point and Managing Connections Therewith
CN107884793A (en) * 2016-09-29 2018-04-06 厦门雅迅网络股份有限公司 A kind of GPS drift datas filter method, system and terminal
CN108200643A (en) * 2017-12-29 2018-06-22 北京奇宝科技有限公司 A kind of method, apparatus of positioning intelligent terminal
CN110636445A (en) * 2019-10-16 2019-12-31 腾讯科技(深圳)有限公司 WIFI-based indoor positioning method, device, equipment and medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060095348A1 (en) * 2004-10-29 2006-05-04 Skyhook Wireless, Inc. Server for updating location beacon database
US20130072227A1 (en) * 2004-10-29 2013-03-21 Skyhook Wireless, Inc. Continuous Data Optimization of Moved Access Points in Positioning Systems
US20070167174A1 (en) * 2006-01-19 2007-07-19 Halcrow Michael A On-device mapping of WIFI hotspots via direct connection of WIFI-enabled and GPS-enabled mobile devices
CN104540218A (en) * 2014-12-23 2015-04-22 厦门雅迅网络股份有限公司 Effective filtering method for WIFI signals
WO2017193357A1 (en) * 2016-05-13 2017-11-16 深圳市沃特沃德股份有限公司 Method and system for searching for pet using mobile wifi hotspot
CN107436443A (en) * 2016-05-25 2017-12-05 高德信息技术有限公司 A kind of positional information output intent and device
CN107678051A (en) * 2016-08-01 2018-02-09 华为技术服务有限公司 The method and relevant device of a kind of positioning
US20180084520A1 (en) * 2016-09-22 2018-03-22 Ipass Inc. Apparatus and Method for Identifying a Moving WiFi Access Point and Managing Connections Therewith
CN107884793A (en) * 2016-09-29 2018-04-06 厦门雅迅网络股份有限公司 A kind of GPS drift datas filter method, system and terminal
CN108200643A (en) * 2017-12-29 2018-06-22 北京奇宝科技有限公司 A kind of method, apparatus of positioning intelligent terminal
CN110636445A (en) * 2019-10-16 2019-12-31 腾讯科技(深圳)有限公司 WIFI-based indoor positioning method, device, equipment and medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
宓恬;: "基于移动WiFi的公交车辆客流检测系统研究" *
曹礼玉: "基于室内外定位的电子学生证设备开发" *

Similar Documents

Publication Publication Date Title
CN110447277B (en) Fingerprint positioning method and related equipment
US20190364493A1 (en) Method for Wireless Fidelity Connection and Related Products
KR20170018015A (en) Method, apparatus and system for implementing location based services
CN105373595B (en) data self-classification storage method and terminal
CN103200676B (en) The method for building up of fingerprint base and device
CN111090268B (en) Data acquisition method and device based on thread division and data acquisition equipment
CA2851744A1 (en) Method, system and apparatus for collecting location information
CN106649633B (en) Desktop folder naming method and system
CN112422711B (en) Resource allocation method and device, electronic equipment and storage medium
CN110460983A (en) Bluetooth title searching method, device, electronic equipment and storage medium
CN104539750A (en) IP locating method and device
CN107567071B (en) Method and equipment for inquiring wireless hotspot
CN104239316B (en) Search the method and device of object
CN112269842A (en) Information processing method and device, storage medium and computer equipment
CN112732528B (en) Index acquisition method, system, equipment and storage medium based on IT operation and maintenance monitoring
CN112650692A (en) Heap memory allocation method, device and storage medium
CN113630719A (en) Method, device, equipment and medium for identifying mobile wifi signal
WO2020181819A1 (en) Intelligent scheduling method and apparatus, computer device and storage medium
CN109842482B (en) Information synchronization method, system and terminal equipment
CN111565356A (en) Base station position detection method and device
CN108228610B (en) Method and equipment for storing and updating wireless access point data
CN113852913B (en) Low-power-consumption indoor and outdoor positioning method and device based on mobile wifi identification
CN109800229B (en) Data access method and related equipment
CN111372187A (en) Method, device and equipment for determining position of base station and storage medium
CN112995900B (en) SIM card distribution method, device, server and computer readable storage medium

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