CN105704665B - A kind of passive sniff localization method based on WiFi-MESH - Google Patents
A kind of passive sniff localization method based on WiFi-MESH Download PDFInfo
- Publication number
- CN105704665B CN105704665B CN201610040813.2A CN201610040813A CN105704665B CN 105704665 B CN105704665 B CN 105704665B CN 201610040813 A CN201610040813 A CN 201610040813A CN 105704665 B CN105704665 B CN 105704665B
- Authority
- CN
- China
- Prior art keywords
- subsystem
- data
- terminal
- mac address
- host
- 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.)
- Expired - Fee Related
Links
Classifications
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention provides a kind of passive sniff localization method based on WiFi MESH.The passive sniff positioning system includes data acquisition subsystem, data process subsystem, data transfer subsystem and host process subsystem;In the case where terminal opens Wi Fi, by designing a kind of system including wireless communication device, to realize the positioning when target terminal opens Wi Fi to purpose terminal, and remote management and remote data acquisition can be realized by the wired connection with host.It may be implemented to treat relatively being accurately positioned for positioning terminal by placement appropriate.This system has the function of wire communication and wireless monitor, can realize monitoring and positioning to large range of Wi Fi equipment.The system can realize that the search and positioning that multiple wireless terminals are carried out with multichannel, multichannel, good concealment can carry out whole day monitoring, on not influenced and will not being discovered by positioning terminal by positioning terminal.
Description
Technical field
The present invention relates to one kind based on Wi-Fi technology be used for positioning some known MAC Address (physical address, hardware address,
For defining the position of the network equipment) and open Wi-Fi terminal equipment, this equipment belongs to wireless telecom equipment, is related to
A kind of monitoring and processing method to Wi-Fi network.
Background technology
As technology develops, (one kind can be by PC, handheld device (such as pad, mobile phone) terminal with nothing by Wi-Fi
The technology that line mode interconnects) technology is widely used in daily life now.Its convenience wirelessly communicated with it is fast
The data transmission of speed become many people using the reasons why it and having directly facilitated its development and application.Determined based on Wi-Fi
Position technology often can only substantially determine the position of some terminal (i.e. by the position for determining the AP (wireless access point) of connection and letter
Number intensity speculate terminal location), and for certain special circumstances (such as to the positioning of crime one's share of expenses for a joint undertaking) party rule precision not
Foot and limitation are too strong (terminal is needed to access AP), if the terminal is not connect with particular network, can not achieve to specific
The positioning of terminal.And MAC Address is bound with user identity height, the term of validity is long, and each MAC Address whole world is unique, unless specially
Modification, otherwise will not change.Open the equipment of Wi-Fi in spite of carry out with the communication of AP, oneself can all be sent out and include
(mac frame is Probe Request messages when not connect with AP, is logical when being connect with AP the Wifi messages of the MAC Address of oneself
With frame, management frame, data frame etc., similarly hereinafter), it by reading and checking the MAC Address in message, can effectively search and rough
Terminal to be positioned is positioned, issue noted above is solved.This system has used second of principle, can solve in first method
Orientation problem (terminal to be positioned is only needed to open Wi-Fi or communicated with some AP) under failure, while can also make
For the compensation process of the first localization method, higher positioning accuracy can be obtained by being used in conjunction with it.
Invention content
Present invention solves the technical problem that be by terminal open Wi-Fi including:With any AP be not associated with or communicate or
Communicate etc. in any case with other equipment, by designing a kind of system including wireless communication device, to realize in mesh
Mark positioning to purpose terminal when terminal opens Wi-Fi, and can by with the wired connection of host realize remote management with it is remote
Number of passes is according to acquisition.It (is illustrated but not unique by appropriate place:Such as triangulation location) may be implemented to treat positioning terminal compared with
It is accurately positioned.This system has the function of wire communication and wireless monitor, can realize the monitoring to large range of Wi-Fi equipment
With positioning.
Technical scheme of the present invention:
A kind of passive sniff localization method based on WiFi-MESH, the system used in the passive sniff localization method are to include
Data acquisition subsystem, data process subsystem, data transfer subsystem and host process subsystem;
Data acquisition subsystem is mainly wireless network card, wireless network card is first tuned into promiscuous mode, then be set to
RFMON patterns (Radio Frequency monitor mode, frequency are monitored), are then established using original socket
SOCKET interfaces, for receiving the Wifi messages under the current Wifi environment that wireless network card obtains under RFMON patterns, data acquisition
The Wifi messages of acquisition are passed to data process subsystem by subsystem as initial data;
Data process subsystem includes Flash chip, RAM and master control, and master control is to run the processor of Openwrt;Start
When data process subsystem, first establishes and contacted with host process subsystem, then receiving host processing subsystem instructs, according to finger
Enable whether setting opens filtering:
If opening filtering, terminal MAC address to be positioned is received first, and terminal MAC address to be positioned write-in is located locally
MAC store files;Using the Wifi messages received from data acquisition subsystem as primary data information (pdi), to initial data
Information carries out unpacking and handles to obtain the MAC Address that 6 source addresses are the wireless terminal for sending this frame, by source address with it is undetermined
Position terminal MAC address is compared;If the two is identical, message, including this are sent to host process subsystem by wired
Node location, the time of discovery and terminal MAC address to be positioned;
If not opening filtering, directly by it is wired to host process subsystem send this node location, discovery time and
Terminal MAC address to be positioned;
If data process subsystem and host process subsystem disconnecting can not be connect, continues to attempt to connection and go forward side by side
Row off-line tracking, off-line tracking are that the MAC Address of the terminal to be positioned to local file is written is monitored, and are monitored undetermined
The write-in of the time instantly of monitoring, the MAC Address of terminal to be positioned and this node location is located locally after the terminal MAC address of position
Local offline record file is sent to host by offline record file after establishing connection with host process subsystem again
Processing subsystem is for host analysis;Do not opening filtering, by after unpacking is handled primary data information (pdi) obtain 6
Local offline record file is all written in source address, until connection is established;Then the data of collection are all sent at host
Manage subsystem;
Data transfer subsystem be by wired network interface by data process subsystem treated data transfer to host at
Manage subsystem;
Host process subsystem primarily determines the integration for the data information being collected into from data process subsystem to be positioned
The mobile route of terminal, multiple data acquisition subsystems, data process subsystem and data transfer subsystem composition branch out
Multiple communication coverage areas (BSA) are chained up by group (ESS) by distributed system, by analyzing from multiple data transfers
The data information that subsystem receives, by known data acquisition subsystem, data process subsystem and data transfer subsystem
The radius of clean-up monitors that the equipment radius of clean-up of terminal to be positioned is overlapped simultaneously with multiple other, determines communication coverage area
The approximate location (overlapping position in working range) of interior terminal to be measured.Operator it is only necessary to know that terminal to be positioned wireless network
The MAC Address of card realizes the real-time induction and positioning for treating positioning terminal.
Passive sniff positioning system is in scanning process if overtime phenomenon (5s, time are adjustable), this equipment occur for scanning
Included house dog can terminate the scanning of time-out, and carry out the scanning of next channel, effectively prevent seemingly-dead, improve stabilization
Property.This equipment is by realizing remote management and data acquisition transmission and terminal to be positioned to this equipment with the wired connection of host
The calculating of specific location.
Passive sniff positioning system can be widely used in positioning most of wireless device for using Wi-Fi network.
It is the solution of the present invention below:
Passive sniff positioning system includes three wireless network card, data processing section and network interface parts.The portion of data processing
The network processes chip divided is not less than the RAM of 32MB and not less than 4MB capacity using the CPU that can run Openwrt as master control
Flash chip is for the storage of program and temporary, the data around wireless network card monitoring of data.Master control obtains wireless network card prison
It carries out unpacking processing analysis, the acquisition that host can be by wired realization to data after the data heard.Multiple devices equipment group
At the triangulation location network of standard.Terminal to be positioned is located in positioning network, and opens WIFI.End to be positioned is inputted prior to host
The MAC Address at end, MAC Address is passed to each equipment by host by wired, after equipment obtains MAC Address to be positioned, if
It was found that the equipment appears in working region, then to host transmission data (including discovery time, terminal MAC to be positioned, this node
Position).Host by analyze and meanwhile obtain the terminal equipment data (including terminal MAC to be positioned and node location etc.) just
It is known that the terminal is located at the position of positioning network (see attached drawing 2).
The effect of product is with advantage:
1) search and positioning that multiple wireless terminals are carried out with multichannel, multichannel can be realized.
2) house dog is carried, the stand-by period is adjustable, prevents from scanning stuck, stability height.
3) mutiple antennas interface is reserved, debugging is easily installed.
4) operating voltage is low, and installation and debugging are safer.
5) system environments is the Openwrt based on linux kernel, and transplantability is stronger.
6) good concealment can carry out whole day monitoring, be examined by positioning terminal on not influenced and being not easy by positioning terminal
Feel.
Description of the drawings
Fig. 1 is the passive sniff positioning system structure figure the present invention is based on WiFi-MESH.
Fig. 2 is location algorithm schematic diagram.
Specific implementation mode
Case study on implementation is provided below according to attached drawing and in conjunction with solution
Embodiment:The chip of the data process subsystem of technical scheme of the present invention selects the AR7130 of Atheros, processing
Speed 300MHz, RAM use 32MB 16bit DDR, Flash chip to use the serial Flash of 4MB capacity.Ether there are one gathering around
Net network interface.
In this example, the triangulation location that system constitutes standard using three data process subsystems positions network.It is known each
An air message for surely capturing terminal to be positioned, each data process subsystem in 15m of data process subsystem exist
There is certain probability to capture the air message with positioning terminal in 15~25m, then captured completely more than 25m less than;Three data
Processing subsystem (being respectively A, B, C) constitutes the equilateral triangle that the length of side is 30m, is all connected with host by interchanger, data
Processing subsystem is placed at field.The MAC Address of this example terminal to be positioned is 45:36:A4:C7:EA:CD.
Terminal to be positioned opens WIFI, is positioned in positioning network, opens this system, opens filtering, the MAC Address of filtering
It is 45:36:A4:C7:EA:CD, other MAC Address are all rejected.It is found within the same time on host, the message that A is received
Far more than B, C, and the message time that B, C are received differs greatly (data are shown in the end of writing), it can thus be appreciated that terminal position to be positioned
In using A as the center of circle, radius is in the circle of 15m, and using B, C as the center of circle, radius is in the circle of 25m.Thus it can determine undetermined
The position of position terminal.
Claims (1)
1. a kind of passive sniff localization method based on WiFi-MESH, which is characterized in that should be smelt based on the passive of WiFi-MESH
The system visited used in localization method includes at data acquisition subsystem, data process subsystem, data transfer subsystem and host
Manage subsystem;
Data acquisition subsystem uses wireless network card, wireless network card is first tuned into promiscuous mode, then be set to RFMON moulds
Then formula establishes the SOCKET interfaces using original socket, for receive wireless network card under RFMON patterns obtain it is current
The Wifi messages of acquisition are passed to data processing by the Wifi messages under Wifi environment, data acquisition subsystem as initial data
Subsystem;
Data process subsystem includes Flash chip, RAM and master control, and master control is to run the processor of Openwrt;Log-on data
When processing subsystem, first establishes and contacted with host process subsystem, then receiving host processing subsystem instructs, and is set according to instruction
It is fixed whether to open filtering:
If opening filtering, terminal MAC address to be positioned is received first, and terminal MAC address to be positioned is written to the MAC being located locally
Store files;Using the Wifi messages received from data acquisition subsystem as primary data information (pdi), to primary data information (pdi)
It carries out unpacking and handles to obtain the MAC Address that 6 source addresses are the wireless terminal for sending this frame, by source address and end to be positioned
End MAC Address is compared;If the two is identical, message, including this node are sent to host process subsystem by wired
Position, the time of discovery and terminal MAC address to be positioned;
If not opening filtering, directly by it is wired to host process subsystem send received all terminals MAC Address,
The time of node location and discovery;
If data process subsystem and host process subsystem disconnecting can not be connect, continue to attempt to connect and carry out from
Line tracks, and off-line tracking is that the MAC Address of the terminal to be positioned to local file is written is monitored, and monitors end to be positioned
End MAC Address after by the time instantly of monitoring, the MAC Address of terminal to be positioned and this node location write-in be located locally it is offline
File is recorded, after establishing connection with host process subsystem again, local offline record file is sent to host process
Subsystem is for host analysis;Do not opening filtering, by after unpacking is handled primary data information (pdi) obtain 6 sources
Local offline record file is all written in location, until connection is established;Then the data of collection are all sent to host process
System;
Data transfer subsystem is to give data process subsystem treated data transfer to host process by wired network interface
System;
The integration for the data information being collected into from data process subsystem is primarily determined terminal to be positioned by host process subsystem
Mobile route, multiple data acquisition subsystems, data process subsystem and data transfer subsystem composition branch out group, will
Multiple communication coverage areas are chained up by distributed system, by analyzing the data received from multiple data transfer subsystems
Information, by the radius of clean-up of known data acquisition subsystem, data process subsystem and data transfer subsystem with it is multiple its
He monitors that the equipment radius of clean-up of terminal to be positioned overlaps simultaneously, determines the big of the terminal to be measured in communication coverage area
Cause position;Operator it is only necessary to know that the wireless network card of terminal to be positioned MAC Address, that is, realize treat the real-time of positioning terminal
Induction and positioning.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610040813.2A CN105704665B (en) | 2016-01-21 | 2016-01-21 | A kind of passive sniff localization method based on WiFi-MESH |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610040813.2A CN105704665B (en) | 2016-01-21 | 2016-01-21 | A kind of passive sniff localization method based on WiFi-MESH |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105704665A CN105704665A (en) | 2016-06-22 |
CN105704665B true CN105704665B (en) | 2018-10-16 |
Family
ID=56228328
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610040813.2A Expired - Fee Related CN105704665B (en) | 2016-01-21 | 2016-01-21 | A kind of passive sniff localization method based on WiFi-MESH |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105704665B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107743154B (en) * | 2017-10-18 | 2024-02-06 | 兴容(上海)信息技术股份有限公司 | Tracking and attendance system based on Wi-Fi intelligent terminal and method thereof |
CN109769297A (en) * | 2017-11-09 | 2019-05-17 | 深圳大学 | A kind of indoor orientation method merging multifrequency WIFI signal |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2552162A2 (en) * | 2011-07-29 | 2013-01-30 | Broadcom Corporation | WLAN-based positioning system |
CN103796308A (en) * | 2014-03-03 | 2014-05-14 | 成都西加云杉科技有限公司 | Method, device and system for positioning user terminal |
CN103889056A (en) * | 2014-04-16 | 2014-06-25 | 北京极科极客科技有限公司 | Method and system for tracking wireless terminal moving track |
CN104219317A (en) * | 2014-09-15 | 2014-12-17 | 浙江云微览网络科技股份有限公司 | Router, system and method for anti-theft tracking for mobile terminal on basis of location positioning |
WO2015098213A1 (en) * | 2013-12-26 | 2015-07-02 | ソニー株式会社 | Information processing apparatus, information processing method, target terminal, communication method, and program |
CN104822130A (en) * | 2015-03-09 | 2015-08-05 | 安徽云之迹信息技术有限公司 | Method and device for positioning Bluetooth bracelet and server |
CN104883734A (en) * | 2015-05-12 | 2015-09-02 | 北京邮电大学 | Indoor passive positioning method based on geographic fingerprints |
-
2016
- 2016-01-21 CN CN201610040813.2A patent/CN105704665B/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2552162A2 (en) * | 2011-07-29 | 2013-01-30 | Broadcom Corporation | WLAN-based positioning system |
WO2015098213A1 (en) * | 2013-12-26 | 2015-07-02 | ソニー株式会社 | Information processing apparatus, information processing method, target terminal, communication method, and program |
CN103796308A (en) * | 2014-03-03 | 2014-05-14 | 成都西加云杉科技有限公司 | Method, device and system for positioning user terminal |
CN103889056A (en) * | 2014-04-16 | 2014-06-25 | 北京极科极客科技有限公司 | Method and system for tracking wireless terminal moving track |
CN104219317A (en) * | 2014-09-15 | 2014-12-17 | 浙江云微览网络科技股份有限公司 | Router, system and method for anti-theft tracking for mobile terminal on basis of location positioning |
CN104822130A (en) * | 2015-03-09 | 2015-08-05 | 安徽云之迹信息技术有限公司 | Method and device for positioning Bluetooth bracelet and server |
CN104883734A (en) * | 2015-05-12 | 2015-09-02 | 北京邮电大学 | Indoor passive positioning method based on geographic fingerprints |
Also Published As
Publication number | Publication date |
---|---|
CN105704665A (en) | 2016-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102217358B (en) | Method and system for remotely detecting information of base station antenna | |
CN104038261B (en) | Location information management between multiple equipment and sharing method and relevant device | |
US20180301008A1 (en) | Method, server, system, and image capturing device for surveillance | |
US20180150481A1 (en) | Collection and provision method, device, system and server for vehicle image data | |
US20150147969A1 (en) | Data transmission method and data transmission apparatus | |
WO2021000485A1 (en) | Positioning method and apparatus, and storage medium and electronic device | |
CN102970771A (en) | Signal detection and acquisition method and system based on wireless sensor network | |
JP2012529797A (en) | Position information determination method, apparatus and system | |
CN104900036A (en) | Vehicle-mounted law enforcement data acquisition workstation and method for acquiring law enforcement data | |
CN205280712U (en) | Intelligence water quality monitoring system | |
CN105704665B (en) | A kind of passive sniff localization method based on WiFi-MESH | |
CN103024717A (en) | Wireless positioning system with active searching function and searching method of wireless positioning system | |
KR20150098702A (en) | Patrol Management System Using Near Field Communication | |
CN204612082U (en) | For point inspection device and the air-conditioner system of air-conditioner | |
CN205092974U (en) | WLAN access equipment | |
CN106332002A (en) | Terminal identifier identification-based monitoring method, apparatus and system, and mobile device | |
CN105050048A (en) | Network access point location information prompting method, terminal and server | |
CN105867348B (en) | The OBD device identification methods and system of range and type are asked based on data PID | |
CN105652858B (en) | OBD device identification methods and system based on request of data interval | |
CN104254124A (en) | Method and system for data acquisition | |
CN209928591U (en) | Based on network science and technology control early warning system | |
CN208462060U (en) | A kind of debugging apparatus of polysilicon power-supply system | |
CN103024533A (en) | Control memory (CM) broadband access rate detection method and system | |
CN110808845A (en) | MAC address information acquisition system and method based on WiFi equipment | |
CN108306932B (en) | Air conditioner socket data acquisition method and device based on wireless communication |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20181016 Termination date: 20220121 |
|
CF01 | Termination of patent right due to non-payment of annual fee |