A kind of wireless device trajectory analysis methods, devices and systems based on WIFI
Technical field
The invention belongs to positioning analysis field, particularly relate to a kind of trajectory analysis methods, devices and systems of the wireless device based on WIFI.
Background technology
Along with the development of the communication technology, people more and more can obtain data whenever and wherever possible easily.In each corner in city, be all furnished with wireless network access point (AP), AP allows wireless device, as smart mobile phone etc., is connected to the Internet by Wi-Fi communication mode.
In Wi-Fi network, AP access point regularly (usually every 100 milliseconds) can send BeaconFrame beacon frame, carrys out the existence of broadcast wireless networks.The MAC Address of AP is comprised in BeaconFrame beacon frame, (English full name is ServiceSetIdentifier to SSID, Chinese full name is service set), ESSID (English full name is ExtendedServiceSetIdentifier, and Chinese full name is extended service set identification) etc.Wireless device (mobile phone etc.) regularly sends probe request proberequest, seek to be connected with any of surrounding or certain specific AP access point, MAC Address and certain specific SSID (both a certain specific AP contact) of wireless device can be comprised in probe request proberequest frame, also can comprise Broadcast SSIDs (both all AP contacts).After AP contact receives probe requests thereby proberequest, wireless device proberesponse can be sent to, thus wireless device is connected in Wi-Fi network by AP contact.
The GPS position information technology of current acquisition wireless device, be generally by force GPS location data be placed on the network equipment letter frame in or Wi-FiAP (accesspoint) believe in frame, and in the Wi-Fi agreement (protocol) of standard: specify in IEEE802.11, do not allow to comprise GPS location in BeaconFrame frame and proberequest/response packet, therefore, need to revise on the hardware foundation of existing WIFI agreement and correspondence, the network among a small circle that this location technology can only be modified to WIFI agreement, and can not be applied to and extensively adopt standard agreement and standard hardware to carry out the pervasive network communicated, the scope of positioning analysis is restricted.
Summary of the invention
The object of the present invention is to provide a kind of wireless device trajectory analysis method based on WIFI, with solve prior art position based on WIFI network time, need amendment WIFI communication protocol and hardware device, be unfavorable for the problem to Wireless Telecom Equipment location on a large scale.
First aspect, embodiments provide a kind of wireless device trajectory analysis method based on WIFI, described method comprises:
By multiple personal device detection analysis node be arranged between wireless device and WIFI access point, intercept and capture the letter frame information between wireless device and WIFI access point;
The locating information of described personal device detection analysis node is obtained by the location receivers of described personal device detection analysis node;
By the locating information of described personal device detection analysis node, and the letter frame information that described personal device detection analysis node is intercepted and captured sends to personal device detection analysis server;
The identification information of the wireless device comprised according to described letter frame information by described personal device detection analysis server and temporal information, according to described identification information, temporal information and described locating information, generate the trace information of described wireless device.
In conjunction with first aspect, in the first possibility implementation of first aspect, described method also comprises:
Obtained identification information and the temporal information of WIFI access point by described personal device detection analysis server according to described letter frame information, according to described identification information and described temporal information, record the state recording of described WIFI access point.
In conjunction with first aspect, in the second possibility implementation of first aspect, in the described locating information by described personal device detection analysis node, and before the letter frame information intercepted and captured of described personal device detection analysis node sends to personal device detection analysis server step, described method also comprises:
From personal device detection analysis child node according to predetermined time interval, described letter frame information is sent to personal device detection analysis parent node, integrated by multistage personal device detection analysis parent node, wherein, described personal device detection analysis node comprises personal device detection analysis child node and personal device detection analysis parent node.
In conjunction with first aspect, in the third possibility implementation of first aspect, described by multiple personal device detection analysis node be arranged between wireless device and WIFI access point, the letter frame information step intercepted and captured between wireless device and WIFI access point also comprises:
The signal strength information of wireless device is obtained by described personal device detection analysis node;
According to the locating information of described personal device detection analysis node, and the signal strength information of described wireless device, determine the position of described wireless device.
In conjunction with the third possibility implementation of first aspect, in the 4th kind of possibility implementation of first aspect, the described locating information according to described personal device detection analysis node, and the signal strength information of described wireless device, determine that the position step of described wireless device specifically comprises:
When described wireless device is only found by a personal device detection analysis node, then determine the regional extent of described wireless device according to described signal strength information;
When described wireless device is found by multiple stage personal device detection analysis node simultaneously, then according to the described signal strength signal intensity of multiple stage personal device detection analysis node detection, described wireless device is accurately located.
Second aspect, embodiments provide a kind of wireless device track analyzing device based on WIFI, described device comprises:
Letter frame information acquiring unit, for by multiple personal device detection analysis node be arranged between wireless device and WIFI access point, intercepts and captures the letter frame information between wireless device and WIFI access point;
Locating information acquiring unit, for obtaining the locating information of described personal device detection analysis node by the location receivers of described personal device detection analysis node;
Transmitting element, for the locating information by described personal device detection analysis node, and the letter frame information that described personal device detection analysis node is intercepted and captured sends to personal device detection analysis server;
Trace information generation unit, for the identification information of wireless device that comprised according to described letter frame information by described personal device detection analysis server and temporal information, according to described identification information, temporal information and described locating information, generate the trace information of described wireless device.
In conjunction with second aspect, in the first possibility implementation of second aspect, described device also comprises:
Integral unit, for from personal device detection analysis node according to predetermined time interval, described letter frame information is sent to personal device detection analysis parent node, is integrated by multistage personal device detection analysis parent node.
In conjunction with second aspect, in the second possibility implementation of second aspect, described letter frame information acquiring unit also comprises:
Signal strength signal intensity obtains subelement, for being obtained the signal strength information of wireless device by described personal device detection analysis node;
Locator unit, for the locating information according to described personal device detection analysis node, and the signal strength information of described wireless device, determine the position of described wireless device.
In conjunction with the second possibility implementation of second aspect, in the third possibility implementation of second aspect, described locator unit specifically comprises:
First locating module, for only being found by a personal device detection analysis node when described wireless device, then determines the regional extent of described wireless device according to described signal strength information;
Second locating module, for being found by multiple stage personal device detection analysis node when described wireless device simultaneously, then accurately locates described wireless device according to the described signal strength signal intensity of multiple stage personal device detection analysis node detection.
The third aspect, embodiments provide a kind of wireless device trajectory analysis system based on WIFI, described system comprises individual detection analysis server and multiple stage personal device detection analysis node, described personal device detection analysis node comprises personal device detection analysis child node and personal device detection analysis parent node, described personal device detection analysis child node and personal device detection analysis parent node are distributed frame, a personal device detection analysis parent node connects multiple personal device detection analysis child node, wherein:
Described personal device detection analysis child node intercepts and captures the letter frame information between wireless device and WIFI access point, and the locating information of described personal device detection analysis child node is obtained by location receivers, by the locating information of described personal device detection analysis child node, and the letter frame information that described personal device detection analysis child node is intercepted and captured sends to personal device detection analysis parent node, layering is sent to described individual detection analysis server;
The identification information of the wireless device that described individual detection analysis server comprises according to described letter frame information according to described personal device detection analysis server and temporal information, according to described identification information, temporal information and described locating information, generate the trace information of described wireless device.
In the present invention, by arranging personal device detection analysis node between Wireless Telecom Equipment and WIFI access point, the letter frame information between wireless device and WIFI access point is obtained by described personal device detection analysis node, and obtain the locating information of described personal device detection analysis node, the identification information and temporal information that obtain described wireless device can be resolved by described letter frame information, generate the trace information of wireless device in conjunction with described locating information.The present invention, in existing WIFI agreement and access point hardware device basis, can realize the trajectory analysis of large-scale wireless device, is conducive to saving monitoring cost.
Accompanying drawing explanation
Fig. 1 is the realization flow figure of the wireless device trajectory analysis method based on WIFI that first embodiment of the invention provides;
Fig. 1 a is the structural representation of the personal device detection analysis node that the embodiment of the present invention provides;
Fig. 2 is the realization flow figure of the wireless device trajectory analysis method based on WIFI that second embodiment of the invention provides;
The wireless device trajectory analysis system configuration schematic diagram based on WIFI that Fig. 2 a provides for the embodiment of the present invention;
Fig. 3 is the realization flow figure of the wireless device trajectory analysis method based on WIFI that third embodiment of the invention provides;
The structural representation of the wireless device track analyzing device based on WIFI that Fig. 4 provides for fourth embodiment of the invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The object of the embodiment of the present invention is to provide a kind of wireless device trajectory analysis method based on WIFI, when the track of wireless device being monitored in prior art to solve, need to modify to communication protocol and communications hardware devices, monitoring cost is larger, and usually only for carrying out wireless device location among a small circle, under existing network environment, be difficult to realize the monitoring of large-scale wireless device.Below in conjunction with accompanying drawing, the present invention is specifically described.
Embodiment one:
Fig. 1 shows the realization flow of a kind of wireless device trajectory analysis method based on WIFI that first embodiment of the invention provides, and details are as follows:
In step S101, by multiple personal device detection analysis node be arranged between wireless device and WIFI access point, intercept and capture the letter frame information between wireless device and WIFI access point.
Concrete, the wireless device described in the embodiment of the present invention can be smart mobile phone, also can be other wireless communication terminal with WIFI communication mode, such as notebook computer, panel computer etc.
Described WIFI access point can be WIFI routing device or other WIFI hot spot, by described WIFI access point, the wireless device in the scope covered can be connected to local area network (LAN) or INTERNET network at described WIFI.
The detection analysis of personal device described in embodiment of the present invention node, as shown in Figure 1a, can comprise WIFI telecommunication circuit, gps signal receiver, memory.
Wherein, described WIFI telecommunication circuit can be used for the letter frame information monitored and intercept and capture between described WIFI access point and wireless device, comprise the proberequest probe requests thereby regularly sent by wireless device, and after receiving described proberequest probe requests thereby by WIFI access point, the proberesponse probe response sent, and in WIFI network, the BeaconFrame beacon frame that WIFI access point regularly sends, accurate according to predetermined agreement, described letter frame information is resolved, described beacon frame can be obtained, the identification information of the WIFI access point carried in probing response frame, the identification information of the wireless device in described probe request and probing response frame.
Described gps receiver, can be used for positioning described personal device detection analysis node, is understandable that, described GPS locator just wherein one comparatively preferred embodiment, other localization method can also be comprised, such as architecture etc.
Described memory is used for the letter frame information of detection to store, and according to the uplink time interval preset, described letter frame information is sent to personal device detection analysis server, or is uploaded to personal device detection analysis server via personal device detection analysis parent node.Such as can set the time interval of uploading is upload once in every 1 hour, can certainly be set to the time interval that other is longer or shorter.
The mode that letter frame information in described memory is uploaded, can be uploaded by WIFI telecommunication circuit, also can arrange ethernet interface circuit in described personal device detection analysis node, be uploaded by letter frame information by described interface circuit.
In step s 102, the locating information of described personal device detection analysis node is obtained by the location receivers of described personal device detection analysis node.
Concrete, the detection analysis of personal device described in embodiment of the present invention node, is generally fixedly mounted on each corner in city, can obtain a positional information after installing, and such as can obtain its positional information after powering on.
Certainly, be not limited to the mounting means of fixed position, such as detect current mobile WIFI, comprise mobile WIFI that mobile WIFI that bus is arranged or individual carry etc., by according to predetermined time interval, such as obtained one-time positioning information every 5 seconds.
In addition, in order to simplify the storage of locating information, for position change when the information of positioning records, As time goes on, for the recorded information of same position, only need end time start of record time.
In step s 103, by the locating information of described personal device detection analysis node, and the letter frame information that described personal device detection analysis node is intercepted and captured sends to personal device detection analysis server.
Concrete, the letter frame information that described personal device detection analysis node is intercepted and captured, for the letter frame information after parsing, such as can resolve the identification information that obtain wireless device by described letter frame information, or can also comprise the identification information of WIFI access point.
The identification information of described wireless device can be MAC Address, or also can be SSID or ESSID information etc.
In step S104, the identification information of the wireless device comprised according to described letter frame information by described personal device detection analysis server and temporal information, according to described identification information, temporal information and described locating information, generate the trace information of described wireless device.
The temporal information that described personal device Analysis server comprises according to the letter frame information received, the identification information of wireless device; and the locating information of described personal device Analysis server self; according to the track of time, track drafting can be carried out to described personal device Analysis server.
Soluble, if the position of WIFI access point is change, also its trace information can be drawn by the locating information of the identification information of the WIFI access point of acquisition, temporal information and personal device detection analysis node.
Described temporal information can be timestamp, represents the absolute time that current location is corresponding.
The present invention by arranging personal device detection analysis node between Wireless Telecom Equipment and WIFI access point, the letter frame information between wireless device and WIFI access point is obtained by described personal device detection analysis node, and obtain the locating information of described personal device detection analysis node, the identification information and temporal information that obtain described wireless device can be resolved by described letter frame information, generate the trace information of wireless device in conjunction with described locating information.The present invention, in existing WIFI agreement and access point hardware device basis, can realize the trajectory analysis of large-scale wireless device, is conducive to saving monitoring cost.
Embodiment two:
Fig. 2 shows the realization flow of the wireless device trajectory analysis method based on WIFI that second embodiment of the invention provides, and details are as follows:
In step s 201, by multiple personal device detection analysis node be arranged between wireless device and WIFI access point, intercept and capture the letter frame information between wireless device and WIFI access point.
In step S202, obtained the locating information of described personal device detection analysis node by the location receivers of described personal device detection analysis node.
In step S203, by the locating information of described personal device detection analysis node, and the letter frame information that described personal device detection analysis node is intercepted and captured sends to personal device detection analysis server.
In step S204, from personal device detection analysis child node according to predetermined time interval, described letter frame information is sent to personal device detection analysis parent node, integrated by multistage personal device detection analysis parent node, wherein, described personal device detection analysis node comprises personal device detection analysis child node and personal device detection analysis parent node.
In step S205, the identification information of the wireless device comprised according to described letter frame information by described personal device detection analysis server and temporal information, according to described identification information, temporal information and described locating information, generate the trace information of described wireless device.
This step S201-S203 and S205 is substantially identical with the step S101-S104 in embodiment one, and difference is, the embodiment of the present invention comprises the data of multistage personal device detection analysis node to detection and integrates.Below the step integrated is specifically described.
As shown in Figure 2 a, the detection analysis of personal device described in embodiment of the present invention node comprises personal device detection analysis child node and personal device detection analysis parent node, wherein, described personal device detection analysis node is distributed structure/architecture, comprise several ten thousand personal device detection analysis child nodes, wherein:
Described personal device detection analysis child node is for intercepting and capturing letter frame information, and the information that described personal device detection analysis parent node is used for personal device detection analysis child node sends is integrated.Such as the wireless device of same position transmission or the locating information of WIFI access point, only need to upgrade end time corresponding to this position, the memory space of data can be greatly reduced.
In addition, between the detection analysis child node of personal device described in the embodiment of the present invention and personal device detection analysis parent node, can be connected by the mode of WIFI, also can be established a communications link by Ethernet interface.
And, after described wireless device occurs from a personal device detection analysis child node, be transferred to an other personal device detection analysis child node to occur, integrated by the positional information of described personal device detection analysis parent node to described wireless device, continuity track record is carried out to the track of described wireless device.
The embodiment of the present invention, on the basis of embodiment one, is optimized detecting analytic system network further, while can reducing data space, is conducive to the burden alleviating personal device detection analysis server.
Embodiment three:
Fig. 3 shows the realization flow of the wireless device trajectory analysis method based on WIFI that third embodiment of the invention provides, and details are as follows:
In step S301, by multiple personal device detection analysis node be arranged between wireless device and WIFI access point, the letter frame information between intercepting and capturing wireless device and WIFI access point and the signal strength signal intensity of wireless device.
Concrete, the signal strength signal intensity of wireless device described in the embodiment of the present invention, can be obtained by a personal device detection analysis node, also can be obtained by multiple stage personal device detection analysis node, such as user holds wireless terminal when being positioned at the intersection of multiple stage personal device detection analysis node, then can be got the signal strength information of described wireless device by multiple stage personal device detection analysis node.
In step s 302, the locating information of described personal device detection analysis node is obtained by the location receivers of described personal device detection analysis node.
In step S303, by the locating information of described personal device detection analysis node, and letter frame information, information strength information that described personal device detection analysis node is intercepted and captured send to personal device detection analysis server.
In step s 304, the identification information of the wireless device comprised according to described letter frame information by described personal device detection analysis server and temporal information, according to described identification information, signal strength information, temporal information and described locating information, generate the trace information of described wireless device.
When obtaining described signal strength information by a personal device detection analysis node, can be R according to the distance of described signal strength information calculating wireless device and personal device detection analysis node, because the position of described personal device detection analysis node is determined, therefore, can determine that described wireless device be the distance of described personal device detection analysis node is the circumferential area of R.
If obtained the signal strength information of described wireless device by multiple stage personal device detection analysis node, then can adopt triangulation location algorithm, the position of the described wireless device of more accurate acquisition.
The embodiment of the present invention, according to the temporal information of the identification information of wireless device, positional information and correspondence, can position described wireless device at three dimensions.As long as wireless device is in the monitoring range of personal device detection analysis node, timestamp will constantly regularly be stored in described personal device detection analysis node.When this wireless device is positioned at outside this personal device detection analysis node, this personal device detection analysis node will stop receiving proberequest probe request.
If the positional information of wireless device, timestamp and identification information appear at another personal device detection analysis node, then illustrate that this wireless device has been come in the scope of this personal device detection analysis node.By timestamp and appear at different personal device detection analysis nodes, the movement locus obtaining described wireless device and the stop period at diverse location just can be inferred.
Embodiment four:
Fig. 4 shows the structural representation of the wireless device track analyzing device based on WIFI that fourth embodiment of the invention provides, and details are as follows:
Based on the wireless device track analyzing device of WIFI described in the embodiment of the present invention, comprising:
Letter frame information acquiring unit 401, for by multiple personal device detection analysis node be arranged between wireless device and WIFI access point, intercepts and captures the letter frame information between wireless device and WIFI access point;
Locating information acquiring unit 402, for obtaining the locating information of described personal device detection analysis node by the location receivers of described personal device detection analysis node;
Transmitting element 403, for the locating information by described personal device detection analysis node, and the letter frame information that described personal device detection analysis node is intercepted and captured sends to personal device detection analysis server;
Trace information generation unit 404, for the identification information of wireless device that comprised according to described letter frame information by described personal device detection analysis server and temporal information, according to described identification information, temporal information and described locating information, generate the trace information of described wireless device.
Preferably, described device also comprises:
Integral unit, for from personal device detection analysis node according to predetermined time interval, described letter frame information is sent to personal device detection analysis parent node, is integrated by multistage personal device detection analysis parent node.
Preferably, described letter frame information acquiring unit also comprises:
Signal strength signal intensity obtains subelement, for being obtained the signal strength information of wireless device by described personal device detection analysis node;
Locator unit, for the locating information according to described personal device detection analysis node, and the signal strength information of described wireless device, determine the position of described wireless device.
Preferably, described locator unit specifically comprises:
First locating module, for only being found by a personal device detection analysis node when described wireless device, then determines the regional extent of described wireless device according to described signal strength information;
Second locating module, for being found by multiple stage personal device detection analysis node when described wireless device simultaneously, then accurately locates described wireless device according to the described signal strength signal intensity of multiple stage personal device detection analysis node detection.
Based on the wireless device track analyzing device of WIFI described in the embodiment of the present invention, corresponding with the wireless device trajectory analysis method based on WIFI described in embodiment one to three, do not repeat at this.
In addition, the embodiment of the present invention additionally provides a kind of wireless device trajectory analysis system based on WIFI, described system comprises individual detection analysis server and multiple stage personal device detection analysis node, described personal device detection analysis node comprises personal device detection analysis child node and personal device detection analysis parent node, described personal device detection analysis child node and personal device detection analysis parent node are distributed frame, a personal device detection analysis parent node connects multiple personal device detection analysis child node, wherein:
Described personal device detection analysis child node intercepts and captures the letter frame information between wireless device and WIFI access point, and the locating information of described personal device detection analysis child node is obtained by location receivers, by the locating information of described personal device detection analysis child node, and the letter frame information that described personal device detection analysis child node is intercepted and captured sends to personal device detection analysis parent node, layering is sent to described individual detection analysis server;
The identification information of the wireless device that described individual detection analysis server comprises according to described letter frame information according to described personal device detection analysis server and temporal information, according to described identification information, temporal information and described locating information, generate the trace information of described wireless device.
Wherein, described personal device detection analysis child node and personal device detection analysis parent node are distributed setting, can carry out layering setting for inverted pyramid form.
Based on the wireless device trajectory analysis system based on WIFI described in the embodiment of the present invention, can accordingly for the wireless device trajectory analysis method based on WIFI described in embodiment one to three.
In several embodiment provided by the present invention, should be understood that, disclosed apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.